Hello community,
here is the log from the commit of package yast2-pkg-bindings
checked in at Sat Apr 15 11:44:21 CEST 2006.
--------
--- yast2-pkg-bindings/yast2-pkg-bindings.changes 2006-04-13 13:21:50.000000000 +0200
+++ STABLE/yast2-pkg-bindings/yast2-pkg-bindings.changes 2006-04-14 16:55:37.000000000 +0200
@@ -1,0 +2,11 @@
+Fri Apr 14 16:07:19 CEST 2006 - visnov@suse.cz
+
+- Adapt for new digest callbacks in ZYPP
+- 2.13.59
+
+-------------------------------------------------------------------
+Thu Apr 13 15:51:18 CEST 2006 - lslezak@suse.cz
+
+- Pkg::ResolvableProperties - return patch specific values
+
+-------------------------------------------------------------------
Old:
----
yast2-pkg-bindings-2.13.58.tar.bz2
New:
----
yast2-pkg-bindings-2.13.59.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-pkg-bindings.spec ++++++
--- /var/tmp/diff_new_pack.y4A5kR/_old 2006-04-15 11:44:12.000000000 +0200
+++ /var/tmp/diff_new_pack.y4A5kR/_new 2006-04-15 11:44:12.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-pkg-bindings (Version 2.13.58)
+# spec file for package yast2-pkg-bindings (Version 2.13.59)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,12 +11,12 @@
# norootforbuild
Name: yast2-pkg-bindings
-Version: 2.13.58
+Version: 2.13.59
Release: 1
License: GPL
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-pkg-bindings-2.13.58.tar.bz2
+Source0: yast2-pkg-bindings-2.13.59.tar.bz2
prefix: /usr
BuildRequires: blocxx-devel boost boost-devel dbus-1-devel docbook-xsl-stylesheets doxygen gcc-c++ hal-devel libgcrypt-devel libxcrypt-devel libxslt libzypp libzypp-devel perl-XML-Writer rpm-devel sgml-skel yast2-core-devel yast2-devtools
Summary: YaST2 Package Manager Access
@@ -36,7 +36,7 @@
Stanislav Visnovsky
%prep
-%setup -n yast2-pkg-bindings-2.13.58
+%setup -n yast2-pkg-bindings-2.13.59
%build
%{prefix}/bin/y2tool y2autoconf
@@ -67,6 +67,11 @@
%doc %{prefix}/share/doc/packages/yast2-pkg-bindings
%changelog -n yast2-pkg-bindings
+* Fri Apr 14 2006 - visnov@suse.cz
+- Adapt for new digest callbacks in ZYPP
+- 2.13.59
+* Thu Apr 13 2006 - lslezak@suse.cz
+- Pkg::ResolvableProperties - return patch specific values
* Thu Apr 13 2006 - lslezak@suse.cz
- fixed disk usage counting - non-root dirs should not contain
/ at the beginning (#163199)
++++++ yast2-pkg-bindings-2.13.58.tar.bz2 -> yast2-pkg-bindings-2.13.59.tar.bz2 ++++++
++++ 17084 lines of diff (skipped)
++++ retrying with extended exclude list
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-pkg-bindings-2.13.58/VERSION new/yast2-pkg-bindings-2.13.59/VERSION
--- old/yast2-pkg-bindings-2.13.58/VERSION 2006-04-13 10:45:52.000000000 +0200
+++ new/yast2-pkg-bindings-2.13.59/VERSION 2006-04-14 16:53:55.000000000 +0200
@@ -1 +1 @@
-2.13.58
+2.13.59
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-pkg-bindings-2.13.58/src/Callbacks.cc new/yast2-pkg-bindings-2.13.59/src/Callbacks.cc
--- old/yast2-pkg-bindings-2.13.58/src/Callbacks.cc 2006-04-12 09:00:04.000000000 +0200
+++ new/yast2-pkg-bindings-2.13.59/src/Callbacks.cc 2006-04-14 16:03:49.000000000 +0200
@@ -33,6 +33,7 @@
#include
#include
#include
+#include
#include
// FIXME: do this nicer, source create use this to avoid user feedback
@@ -815,6 +816,29 @@
};
///////////////////////////////////////////////////////////////////
+ // DigestReport handler
+ ///////////////////////////////////////////////////////////////////
+ struct DigestReceive : public Recipient, public zypp::callback::ReceiveReportzypp::DigestReport
+ {
+ DigestReceive( RecipientCtl & construct_r ) : Recipient( construct_r ) {}
+
+ virtual bool askUserToAcceptNoDigest( const zypp::Pathname &file )
+ {
+ CB callback( ycpcb( YCPCallbacks::CB_AcceptFileWithoutChecksum) );
+
+ if (callback._set)
+ {
+ callback.addStr(file.asString());
+
+ return callback.evaluateBool();
+ }
+
+ return zypp::DigestReport::askUserToAcceptNoDigest(file);
+ }
+ };
+
+
+ ///////////////////////////////////////////////////////////////////
// KeyRingReport handler
///////////////////////////////////////////////////////////////////
struct KeyRingReceive : public Recipient, public zypp::callback::ReceiveReportzypp::KeyRingReport
@@ -868,20 +892,6 @@
return zypp::KeyRingReport::askUserToAcceptUnsignedFile(file);
}
-
- virtual bool askUserToAcceptFileWithoutChecksum( const zypp::Pathname &file )
- {
- CB callback( ycpcb( YCPCallbacks::CB_AcceptFileWithoutChecksum) );
-
- if (callback._set)
- {
- callback.addStr(file.asString());
-
- return callback.evaluateBool();
- }
-
- return zypp::KeyRingReport::askUserToAcceptFileWithoutChecksum(file);
- }
virtual bool askUserToAcceptVerificationFailed( const zypp::Pathname &file,
const std::string &keyid, const std::string &keyname )
@@ -966,7 +976,10 @@
// resolvable report
ZyppRecipients::ResolvableReport _resolvableReport;
-
+
+ // digest callback
+ ZyppRecipients::DigestReceive _digestReceive;
+
// key ring callback
ZyppRecipients::KeyRingReceive _keyRingReceive;
@@ -987,6 +1000,7 @@
, _sourceRefreshReceive( *this )
, _createSourceReceive( *this )
, _resolvableReport( *this )
+ , _digestReceive( *this )
, _keyRingReceive( *this )
, _keyRingSignal( *this )
{
@@ -1001,6 +1015,7 @@
_sourceRefreshReceive.connect();
_createSourceReceive.connect();
_resolvableReport.connect();
+ _digestReceive.connect();
_keyRingReceive.connect();
_keyRingSignal.connect();
}
@@ -1018,6 +1033,7 @@
_sourceRefreshReceive.disconnect();
_createSourceReceive.disconnect();
_resolvableReport.disconnect();
+ _digestReceive.disconnect();
_keyRingReceive.disconnect();
_keyRingSignal.disconnect();
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-pkg-bindings-2.13.58/src/Resolvable.cc new/yast2-pkg-bindings-2.13.59/src/Resolvable.cc
--- old/yast2-pkg-bindings-2.13.58/src/Resolvable.cc 2006-04-13 10:32:11.000000000 +0200
+++ new/yast2-pkg-bindings-2.13.59/src/Resolvable.cc 2006-04-14 14:47:39.000000000 +0200
@@ -411,6 +411,16 @@
info->add(YCPString("script"), YCPString(pattern->script().asString()));
}
+ // patch specific info
+ if ( req_kind == "patch" )
+ {
+ zypp::Patch::constPtr patch_ptr = boost::dynamic_pointer_cast<const zypp::Patch>(it->resolvable());
+
+ info->add(YCPString("interactive"), YCPBoolean(patch_ptr->interactive()));
+ info->add(YCPString("reboot_needed"), YCPBoolean(patch_ptr->reboot_needed()));
+ info->add(YCPString("affects_pkg_manager"), YCPBoolean(patch_ptr->affects_pkg_manager()));
+ }
+
// dependency info
if (dependencies)
{
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...