[yast-commit] r62721 - in /trunk/yast2: VERSION library/packages/src/PackageCallbacks.ycp package/yast2.changes yast2.spec.in
Author: lslezak Date: Tue Nov 2 16:09:53 2010 New Revision: 62721 URL: http://svn.opensuse.org/viewcvs/yast?rev=62721&view=rev Log: - updated to match the changed StartPackage callback signature - 2.20.2 Modified: trunk/yast2/VERSION trunk/yast2/library/packages/src/PackageCallbacks.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=62721&r1=62720&... ============================================================================== --- trunk/yast2/VERSION (original) +++ trunk/yast2/VERSION Tue Nov 2 16:09:53 2010 @@ -1 +1 @@ -2.20.1 +2.20.2 Modified: trunk/yast2/library/packages/src/PackageCallbacks.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/library/packages/src/Packag... ============================================================================== --- trunk/yast2/library/packages/src/PackageCallbacks.ycp (original) +++ trunk/yast2/library/packages/src/PackageCallbacks.ycp Tue Nov 2 16:09:53 2010 @@ -475,23 +475,13 @@ /** * At start of package install. */ - global void StartPackage (string name, string summary, integer + global void StartPackage (string name, string location, string summary, integer installsize, boolean is_delete) { if (!enable_asterix_package) return; - list<string> parsed_path = splitstring(name, "/"); - - if (size(parsed_path) > 0) - { - _package_name = parsed_path[size(parsed_path) - 1]:""; - } - else - { - _package_name = name; - } - + _package_name = name; _package_size = installsize; _deleting_package = is_delete; string sz = String::FormatSizeWithPrecision (installsize, 2, false); @@ -2973,7 +2963,7 @@ string DummyDoneProvide (integer error, string reason, string name) {y2debug("Empty DoneProvide callback, returning 'I'");return "I";} -void DummyStartPackage (string name, string summary, integer installsize, boolean is_delete) {y2debug("Empty StartPackage callback");} +void DummyStartPackage (string name, string location, string summary, integer installsize, boolean is_delete) {y2debug("Empty StartPackage callback");} string DummyDonePackage (integer error, string reason) {y2debug("Empty DonePackage callback, returning 'I'");return "I";} Modified: trunk/yast2/package/yast2.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/package/yast2.changes?rev=6... ============================================================================== --- trunk/yast2/package/yast2.changes (original) +++ trunk/yast2/package/yast2.changes Tue Nov 2 16:09:53 2010 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue Nov 2 15:09:00 UTC 2010 - lslezak@suse.cz + +- updated to match the changed StartPackage callback signature +- 2.20.2 + +------------------------------------------------------------------- Mon Oct 18 15:04:37 UTC 2010 - lslezak@suse.cz - don't display extra error popup when a download fails, the error Modified: trunk/yast2/yast2.spec.in URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/yast2.spec.in?rev=62721&r1=... ============================================================================== --- trunk/yast2/yast2.spec.in (original) +++ trunk/yast2/yast2.spec.in Tue Nov 2 16:09:53 2010 @@ -7,7 +7,7 @@ BuildRequires: perl-XML-Writer update-desktop-files yast2-devtools yast2-testsuite yast2-perl-bindings # Needed already in build time -BuildRequires: yast2-pkg-bindings >= 2.17.32 yast2-core >= 2.18.12 yast2-ycp-ui-bindings >= 2.18.4 +BuildRequires: yast2-pkg-bindings >= 2.20.3 yast2-core >= 2.18.12 yast2-ycp-ui-bindings >= 2.18.4 # pre-requires for filling the sysconfig template (sysconfig.yast2) PreReq: %fillup_prereq @@ -18,8 +18,8 @@ # new UI::OpenContextMenu Requires: yast2-ycp-ui-bindings >= 2.18.4 -# Pkg::Get(Set)SolverFlags() -Requires: yast2-pkg-bindings >= 2.17.32 +# changed StartPackage callback signature +Requires: yast2-pkg-bindings >= 2.20.3 Requires: yast2_ui yast2-branding # For Cron Agent, Module Requires: perl-Config-Crontab -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
lslezak@svn2.opensuse.org