Mailinglist Archive: yast-commit (815 mails)

< Previous Next >
[yast-commit] r39902 - in /trunk/yast2: VERSION library/packages/src/PackageCallbacksInit.ycp package/yast2.changes yast2.spec.in
  • From: lslezak@xxxxxxxxxxxxxxxx
  • Date: Thu, 02 Aug 2007 12:56:04 -0000
  • Message-id: <20070802125605.1197AB58CB@xxxxxxxxxxxxxxxx>
Author: lslezak
Date: Thu Aug  2 14:56:04 2007
New Revision: 39902

URL: http://svn.opensuse.org/viewcvs/yast?rev=39902&view=rev
Log:
- register download callbacks (#292629)
- 2.15.45

Modified:
    trunk/yast2/VERSION
    trunk/yast2/library/packages/src/PackageCallbacksInit.ycp
    trunk/yast2/package/yast2.changes
    trunk/yast2/yast2.spec.in

Modified: trunk/yast2/VERSION
URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/VERSION?rev=39902&r1=39901&r2=39902&view=diff
==============================================================================
--- trunk/yast2/VERSION (original)
+++ trunk/yast2/VERSION Thu Aug  2 14:56:04 2007
@@ -1 +1 @@
-2.15.44
+2.15.45

Modified: trunk/yast2/library/packages/src/PackageCallbacksInit.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/library/packages/src/PackageCallbacksInit.ycp?rev=39902&r1=39901&r2=39902&view=diff
==============================================================================
--- trunk/yast2/library/packages/src/PackageCallbacksInit.ycp (original)
+++ trunk/yast2/library/packages/src/PackageCallbacksInit.ycp Thu Aug  2 14:56:04 2007
@@ -50,6 +50,24 @@
     Pkg::CallbackDoneScanDb ("");
 }
 
+global void SetDownloadCallbacks ()
+{
+    Pkg::CallbackInitDownload ("PackageCallbacks::InitDownload");
+    Pkg::CallbackStartDownload ("PackageCallbacks::StartDownload");
+    Pkg::CallbackProgressDownload ("PackageCallbacks::ProgressDownload");
+    Pkg::CallbackDoneDownload ("PackageCallbacks::DoneDownload");
+    Pkg::CallbackDestDownload ("PackageCallbacks::DestDownload");
+}
+
+global void ResetDownloadCallbacks ()
+{
+    Pkg::CallbackInitDownload ("");
+    Pkg::CallbackStartDownload ("");
+    Pkg::CallbackProgressDownload ("");
+    Pkg::CallbackDoneDownload ("");
+    Pkg::CallbackDestDownload ("");
+}
+
 
 /**
  * Register package manager callbacks
@@ -127,6 +145,8 @@
     SetScriptCallbacks();
 
     SetScanDBCallbacks();
+
+    SetDownloadCallbacks();
 }
 
 /* EOF */

Modified: trunk/yast2/package/yast2.changes
URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/package/yast2.changes?rev=39902&r1=39901&r2=39902&view=diff
==============================================================================
--- trunk/yast2/package/yast2.changes (original)
+++ trunk/yast2/package/yast2.changes Thu Aug  2 14:56:04 2007
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Thu Aug  2 14:54:01 CEST 2007 - lslezak@xxxxxxx
+
+- register download callbacks (#292629)
+- 2.15.45
+
+-------------------------------------------------------------------
 Mon Jul 30 13:08:04 CEST 2007 - jsrain@xxxxxxx
 
 - install bigsmp kernel regardless the memory size (Fate #159006)

Modified: trunk/yast2/yast2.spec.in
URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/yast2.spec.in?rev=39902&r1=39901&r2=39902&view=diff
==============================================================================
--- trunk/yast2/yast2.spec.in (original)
+++ trunk/yast2/yast2.spec.in Thu Aug  2 14:56:04 2007
@@ -6,8 +6,8 @@
 BuildRequires: perl-XML-Writer update-desktop-files yast2-devtools yast2-pkg-bindings yast2-testsuite yast2-perl-bindings
 # SCR::RegisterNewAgents()
 Requires:       yast2-core >= 2.15.4
-# Pkg::CallbackProgressReport*()
-Requires:      yast2-pkg-bindings >= 2.15.30
+# Pkg::CallbackInitDownload()
+Requires:      yast2-pkg-bindings >= 2.15.39
 Requires:      yast2_ui yast2_theme
 # For Cron Agent, Module
 Requires:       perl-Config-Crontab

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages