Hello community,
here is the log from the commit of package yast2-pkg-bindings for openSUSE:Factory
checked in at Fri Jun 5 23:03:14 CEST 2009.
--------
--- yast2-pkg-bindings/yast2-pkg-bindings.changes 2009-06-03 11:37:45.000000000 +0200
+++ yast2-pkg-bindings/yast2-pkg-bindings.changes 2009-06-05 13:03:36.000000000 +0200
@@ -1,0 +2,6 @@
+Thu Jun 4 15:21:20 CEST 2009 - ma@suse.de
+
+- Remove more use of deprecated methods.
+- 2.18.6
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-pkg-bindings-2.18.5.tar.bz2
New:
----
yast2-pkg-bindings-2.18.6.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-pkg-bindings-devel-doc.spec ++++++
--- /var/tmp/diff_new_pack.Vi1886/_old 2009-06-05 23:02:51.000000000 +0200
+++ /var/tmp/diff_new_pack.Vi1886/_new 2009-06-05 23:02:51.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-pkg-bindings-devel-doc (Version 2.18.5)
+# spec file for package yast2-pkg-bindings-devel-doc (Version 2.18.6)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,12 +19,12 @@
Name: yast2-pkg-bindings-devel-doc
-Version: 2.18.5
+Version: 2.18.6
Release: 1
License: GPL v2 or later
Group: Documentation/HTML
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-pkg-bindings-2.18.5.tar.bz2
+Source0: yast2-pkg-bindings-2.18.6.tar.bz2
Prefix: %_prefix
# same as in the main package (because we use the same configure.in.in)
BuildRequires: blocxx-devel docbook-xsl-stylesheets doxygen gcc-c++ libgcrypt-devel libxcrypt-devel libxslt libzypp-devel perl-XML-Writer sgml-skel yast2-core-devel yast2-devtools
@@ -45,7 +45,7 @@
Ladislav Slez�k
%prep
-%setup -n yast2-pkg-bindings-2.18.5
+%setup -n yast2-pkg-bindings-2.18.6
# build only documentation, ignore all other directories
echo "doc" > SUBDIRS
++++++ yast2-pkg-bindings.spec ++++++
--- /var/tmp/diff_new_pack.Vi1886/_old 2009-06-05 23:02:51.000000000 +0200
+++ /var/tmp/diff_new_pack.Vi1886/_new 2009-06-05 23:02:51.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-pkg-bindings (Version 2.18.5)
+# spec file for package yast2-pkg-bindings (Version 2.18.6)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,17 +19,17 @@
Name: yast2-pkg-bindings
-Version: 2.18.5
+Version: 2.18.6
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-pkg-bindings-2.18.5.tar.bz2
+Source0: yast2-pkg-bindings-2.18.6.tar.bz2
Prefix: /usr
BuildRequires: blocxx-devel docbook-xsl-stylesheets doxygen gcc-c++ libgcrypt-devel libxcrypt-devel libxslt perl-XML-Writer sgml-skel yast2-core-devel yast2-devtools
-BuildRequires: libzypp-devel >= 5.24.7
+BuildRequires: libzypp-devel >= 6.6.0
# new GPG callbacks
-Requires: libzypp >= 5.24.7
+Requires: libzypp >= 6.6.0
Summary: YaST2 - Package Manager Access
%description
@@ -47,7 +47,7 @@
Stanislav Visnovsky
%prep
-%setup -n yast2-pkg-bindings-2.18.5
+%setup -n yast2-pkg-bindings-2.18.6
# build only the library, ignore documentation (it is in devel-doc package)
echo "src" > SUBDIRS
@@ -79,6 +79,9 @@
%{_libdir}/YaST2/plugin/libpy2Pkg.so
%doc %{prefix}/share/doc/packages/yast2-pkg-bindings
%changelog
+* Thu Jun 04 2009 ma@suse.de
+- Remove more use of deprecated methods.
+- 2.18.6
* Wed May 27 2009 ma@suse.de
- Remove use of deprecated Package::filenames.
- 2.18.5
++++++ yast2-pkg-bindings-2.18.5.tar.bz2 -> yast2-pkg-bindings-2.18.6.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-pkg-bindings-2.18.5/configure new/yast2-pkg-bindings-2.18.6/configure
--- old/yast2-pkg-bindings-2.18.5/configure 2009-06-03 11:34:39.000000000 +0200
+++ new/yast2-pkg-bindings-2.18.6/configure 2009-06-05 12:35:09.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.63 for yast2-pkg-bindings 2.18.4.
+# Generated by GNU Autoconf 2.63 for yast2-pkg-bindings 2.18.6.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -745,8 +745,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-pkg-bindings'
PACKAGE_TARNAME='yast2-pkg-bindings'
-PACKAGE_VERSION='2.18.4'
-PACKAGE_STRING='yast2-pkg-bindings 2.18.4'
+PACKAGE_VERSION='2.18.6'
+PACKAGE_STRING='yast2-pkg-bindings 2.18.6'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -1536,7 +1536,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures yast2-pkg-bindings 2.18.4 to adapt to many kinds of systems.
+\`configure' configures yast2-pkg-bindings 2.18.6 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1608,7 +1608,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-pkg-bindings 2.18.4:";;
+ short | recursive ) echo "Configuration of yast2-pkg-bindings 2.18.6:";;
esac
cat <<\_ACEOF
@@ -1720,7 +1720,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2-pkg-bindings configure 2.18.4
+yast2-pkg-bindings configure 2.18.6
generated by GNU Autoconf 2.63
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1734,7 +1734,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by yast2-pkg-bindings $as_me 2.18.4, which was
+It was created by yast2-pkg-bindings $as_me 2.18.6, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ $0 $@
@@ -2581,7 +2581,7 @@
# Define the identity of the package.
PACKAGE='yast2-pkg-bindings'
- VERSION='2.18.4'
+ VERSION='2.18.6'
cat >>confdefs.h <<_ACEOF
@@ -2805,7 +2805,7 @@
-VERSION="2.18.4"
+VERSION="2.18.6"
RPMNAME="yast2-pkg-bindings"
MAINTAINER="Ladislav Slezák "
@@ -17213,7 +17213,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by yast2-pkg-bindings $as_me 2.18.4, which was
+This file was extended by yast2-pkg-bindings $as_me 2.18.6, which was
generated by GNU Autoconf 2.63. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -17276,7 +17276,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_version="\\
-yast2-pkg-bindings config.status 2.18.4
+yast2-pkg-bindings config.status 2.18.6
configured by $0, generated by GNU Autoconf 2.63,
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-pkg-bindings-2.18.5/configure.in new/yast2-pkg-bindings-2.18.6/configure.in
--- old/yast2-pkg-bindings-2.18.5/configure.in 2009-06-03 11:34:29.000000000 +0200
+++ new/yast2-pkg-bindings-2.18.6/configure.in 2009-06-05 12:34:53.000000000 +0200
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.18.5 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-pkg-bindings, 2.18.4, http://bugs.opensuse.org/, yast2-pkg-bindings)
+AC_INIT(yast2-pkg-bindings, 2.18.6, http://bugs.opensuse.org/, yast2-pkg-bindings)
dnl Check for presence of file 'RPMNAME'
AC_CONFIG_SRCDIR([RPMNAME])
@@ -18,7 +18,7 @@
AM_INIT_AUTOMAKE(tar-ustar -Wno-portability)
dnl Important YaST2 variables
-VERSION="2.18.4"
+VERSION="2.18.6"
RPMNAME="yast2-pkg-bindings"
MAINTAINER="Ladislav Slezák "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-pkg-bindings-2.18.5/pkg-bindings.pot new/yast2-pkg-bindings-2.18.6/pkg-bindings.pot
--- old/yast2-pkg-bindings-2.18.5/pkg-bindings.pot 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-pkg-bindings-2.18.6/pkg-bindings.pot 2008-11-26 12:36:29.000000000 +0100
@@ -0,0 +1,168 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR SuSE Linux Products GmbH, Nuernberg
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR , YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008-11-26 12:36+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME \n"
+"Language-Team: LANGUAGE \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: src/GPGMap.cc:54
+msgid "Never"
+msgstr ""
+
+#. help text
+#: src/HelpTexts.h:36
+msgid "<P><BIG><B>Loading Available Packages</B></BIG></P><P>Loading available objects from the configured repositories is in progress. This may take a while...</P>"
+msgstr ""
+
+#. help text
+#: src/HelpTexts.h:42
+msgid "<P><BIG><B>Loading Installed Packages</B></BIG></P><P>The package manager is reading installed packages...</P>"
+msgstr ""
+
+#. help text
+#: src/HelpTexts.h:47
+msgid "<P><BIG><B>Registering a New Repository</B></BIG></P><P>A new repository is being registered. The package manager is reading the list of available packages in the repository...</P>"
+msgstr ""
+
+#: src/HelpTexts.h:52
+msgid "<P><BIG><B>Saving Repositories</B></BIG></P><P>The package manager is updating configured repositories...</P>"
+msgstr ""
+
+#: src/HelpTexts.h:55
+msgid "<P><BIG><B>Refreshing the Repository</B></BIG></P><P>The package manager is updating the repository content...</P>"
+msgstr ""
+
+#. error message
+#: src/Package.cc:657
+msgid "The package cannot be selected to install."
+msgstr ""
+
+#. error message
+#: src/Package.cc:663
+msgid "The package is not available."
+msgstr ""
+
+#. still not initialized, throw an exception
+#. translators: this is an error message
+#: src/PkgFunctions.cc:119
+msgid "Cannot connect to the package manager"
+msgstr ""
+
+#: src/Source_Callbacks.cc:129
+msgid "Refreshing repository "
+msgstr ""
+
+#: src/Source_Callbacks.cc:150
+msgid "Probing repository "
+msgstr ""
+
+#: src/Source_Create.cc:52
+msgid "Scanning products in "
+msgstr ""
+
+#: src/Source_Create.cc:605
+msgid "Search Available Products"
+msgstr ""
+
+#: src/Source_Create.cc:610
+msgid "Probe Source Type"
+msgstr ""
+
+#: src/Source_Create.cc:613
+msgid "Download Descriptions"
+msgstr ""
+
+#: src/Source_Create.cc:614 src/Source_Download.cc:385 src/Source_Load.cc:167
+#: src/Source_Load.cc:457
+msgid "Rebuild Cache"
+msgstr ""
+
+#: src/Source_Create.cc:618 src/Source_Load.cc:168 src/Source_Load.cc:458
+#: src/Source_Set.cc:76
+msgid "Load Data"
+msgstr ""
+
+#: src/Source_Create.cc:621
+msgid "Adding the Repository..."
+msgstr ""
+
+#: src/Source_Download.cc:56 src/Source_Download.cc:305
+msgid "Downloading "
+msgstr ""
+
+#. stages: "download", "build cache"
+#: src/Source_Download.cc:384
+msgid "Refresh Metadata"
+msgstr ""
+
+#. 3 steps per repository (download, cache rebuild, load resolvables)
+#: src/Source_Download.cc:392
+msgid "Refreshing Repository..."
+msgstr ""
+
+#. error message (followed by detailed description)
+#: src/Source_Installation.cc:71
+msgid "Error: Cannot copy the cache to the target directory\n"
+msgstr ""
+
+#. error message (followed by directory name)
+#: src/Source_Installation.cc:105
+msgid "Cannot create directory "
+msgstr ""
+
+#. error message
+#: src/Source_Installation.cc:135
+msgid "Copying failed"
+msgstr ""
+
+#: src/Source_Load.cc:166 src/Source_Load.cc:456
+msgid "Refresh Sources"
+msgstr ""
+
+#. 3 steps per repository (download, cache rebuild, load resolvables)
+#: src/Source_Load.cc:173 src/Source_Load.cc:461 src/Source_Set.cc:83
+#: src/Target_Load.cc:62 src/Target_Load.cc:178
+msgid "Loading the Package Manager..."
+msgstr ""
+
+#: src/Source_Load.cc:455
+msgid "Load Sources"
+msgstr ""
+
+#. TODO: improve the error message
+#: src/Source_Misc.cc:70
+msgid "Cannot find source"
+msgstr ""
+
+#: src/Source_Save.cc:128
+msgid "Remove Repositories"
+msgstr ""
+
+#. stages: "download", "build cache"
+#: src/Source_Save.cc:133
+msgid "Save Repositories"
+msgstr ""
+
+#. start the process
+#: src/Source_Save.cc:141
+msgid "Saving Repositories..."
+msgstr ""
+
+#: src/Target_Load.cc:58
+msgid "Initialize the Target System"
+msgstr ""
+
+#: src/Target_Load.cc:59 src/Target_Load.cc:174
+msgid "Read Installed Packages"
+msgstr ""
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-pkg-bindings-2.18.5/src/Callbacks.cc new/yast2-pkg-bindings-2.18.6/src/Callbacks.cc
--- old/yast2-pkg-bindings-2.18.5/src/Callbacks.cc 2009-06-03 11:32:38.000000000 +0200
+++ new/yast2-pkg-bindings-2.18.6/src/Callbacks.cc 2009-06-05 12:34:28.000000000 +0200
@@ -1035,7 +1035,7 @@
if (!ycp_val.isNull() && ycp_val->isString())
{
// set the entered username
- auth_data.setUserName(ycp_val->asString()->value());
+ auth_data.setUsername(ycp_val->asString()->value());
}
else
{
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-pkg-bindings-2.18.5/src/Locks.cc new/yast2-pkg-bindings-2.18.6/src/Locks.cc
--- old/yast2-pkg-bindings-2.18.5/src/Locks.cc 2009-06-03 11:32:38.000000000 +0200
+++ new/yast2-pkg-bindings-2.18.6/src/Locks.cc 2009-06-05 13:01:58.000000000 +0200
@@ -19,7 +19,7 @@
*/
/*
- File: $Id: Locks.cc 57028 2009-04-29 10:58:09Z lslezak $
+ File: $Id: Locks.cc 57458 2009-06-05 11:01:57Z lslezak $
Author: Ladislav Slezák
Namespace: Pkg
Summary: Functions for accessing locks in the package manager
@@ -43,12 +43,6 @@
// UINT_MAX
#include <climits>
-// SEARCH_* constants (SEARCH_STRING, SEARCH_SUBSTRING,...)
-extern "C"
-{
-#include "satsolver/repo.h"
-}
-
/**
* @builtin AddLock
@@ -57,7 +51,7 @@
* Add a new lock to the package manager. Input parameter is a map $[ "kind" : list<string>,
* "install_status":string, "repo_id":list<integer>, "case_sensitive" : boolean, "global_string":list<string>
* "string_type" : string, "solvable:.*" : list<string> ]
- *
+ *
* see http://en.opensuse.org/Libzypp/Locksfile for more information
* @param map lock Definition of the lock
* @return boolean true on success
@@ -106,7 +100,7 @@
if (!list_item.isNull() && list_item->isString())
{
- query.addKind(zypp::ResKind(list_item->asString()->value()));
+ query.addKind(zypp::ResKind(list_item->asString()->value()));
}
else
{
@@ -353,7 +347,7 @@
}
}
-
+
// add "kind" attribute
if (!pool_query.kinds().empty())
{
@@ -369,7 +363,7 @@
// add "install_status" attribute
std::string status;
-
+
switch(pool_query.statusFilterFlags())
{
case zypp::PoolQuery::ALL : status = "all"; break;
@@ -415,12 +409,13 @@
// add "string_type" attribute
std::string str_type;
- switch(pool_query.matchType())
+ switch(pool_query.matchMode())
{
- case SEARCH_STRING : str_type = "exact"; break;
- case SEARCH_SUBSTRING : str_type = "substring"; break;
- case SEARCH_GLOB : str_type = "glob"; break;
- case SEARCH_REGEX : str_type = "regex"; break;
+ case zypp::Match::STRING : str_type = "exact"; break;
+ case zypp::Match::SUBSTRING : str_type = "substring"; break;
+ case zypp::Match::GLOB : str_type = "glob"; break;
+ case zypp::Match::REGEX : str_type = "regex"; break;
+ default: break;
}
if (!str_type.empty())
@@ -436,7 +431,7 @@
* @short Get list of current locks
* @description
* Returns list of of current locks, see AddLock() for details about returned lock map.
- *
+ *
* see http://en.opensuse.org/Libzypp/Locksfile for more information
* @return list list of locks (YCP maps)
*/
@@ -496,7 +491,7 @@
zypp::Locks::const_iterator it = locks.begin();
zypp::Locks::const_iterator it_end = locks.end();
-
+
unsigned int i = 0;
while(i < idx)
{
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-pkg-bindings-2.18.5/VERSION new/yast2-pkg-bindings-2.18.6/VERSION
--- old/yast2-pkg-bindings-2.18.5/VERSION 2009-06-03 11:36:10.000000000 +0200
+++ new/yast2-pkg-bindings-2.18.6/VERSION 2009-06-05 12:34:28.000000000 +0200
@@ -1 +1 @@
-2.18.5
+2.18.6
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org