Hello community,

here is the log from the commit of package libyui-qt-pkg for openSUSE:Factory 
checked in at 2012-12-12 13:12:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libyui-qt-pkg (Old)
 and      /work/SRC/openSUSE:Factory/.libyui-qt-pkg.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libyui-qt-pkg", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/libyui-qt-pkg/libyui-qt-pkg.changes      
2012-09-11 09:12:38.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libyui-qt-pkg.new/libyui-qt-pkg.changes 
2012-12-12 13:12:12.000000000 +0100
@@ -1,0 +2,6 @@
+Wed Dec 12 10:03:10 CET 2012 - m...@suse.de
+
+- Adapt to libzypps new history log parser API.
+- Version 2.42.3
+
+-------------------------------------------------------------------

Old:
----
  libyui-qt-pkg-2.42.2.tar.bz2

New:
----
  libyui-qt-pkg-2.42.3.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libyui-qt-pkg-doc.spec ++++++
--- /var/tmp/diff_new_pack.YTglAs/_old  2012-12-12 13:12:13.000000000 +0100
+++ /var/tmp/diff_new_pack.YTglAs/_new  2012-12-12 13:12:13.000000000 +0100
@@ -1,5 +1,5 @@
 #
-# spec file for package libyui-qt-pkg (Version 2.42.2)
+# spec file for package libyui-qt-pkg (Version 2.42.3)
 #
 # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
@@ -16,7 +16,7 @@
 #
 
 Name:          libyui-qt-pkg-doc
-Version:       2.42.2
+Version:       2.42.3
 Release:       0
 License:       LGPL-2.1 or LGPL-3.0
 Source:                libyui-qt-pkg-%{version}.tar.bz2

++++++ libyui-qt-pkg.spec ++++++
--- /var/tmp/diff_new_pack.YTglAs/_old  2012-12-12 13:12:13.000000000 +0100
+++ /var/tmp/diff_new_pack.YTglAs/_new  2012-12-12 13:12:13.000000000 +0100
@@ -1,5 +1,5 @@
 #
-# spec file for package libyui-qt-pkg (Version 2.42.2)
+# spec file for package libyui-qt-pkg (Version 2.42.3)
 #
 # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
@@ -18,7 +18,7 @@
 # norootforbuild
 
 Name:          libyui-qt-pkg
-Version:       2.42.2
+Version:       2.42.3
 Release:       0
 License:       LGPL-2.1 or LGPL-3.0
 Source:                libyui-qt-pkg-%{version}.tar.bz2
@@ -32,7 +32,7 @@
 
 %define libyui_qt_devel_version        libyui-qt-devel >= 2.42.0
 BuildRequires: %{libyui_qt_devel_version}
-%define libzypp_devel_version          libzypp-devel >= 11.4.0
+%define libzypp_devel_version          libzypp-devel >= 12.5.0
 BuildRequires: %{libzypp_devel_version}
 
 URL:           http://github.com/libyui/

++++++ libyui-qt-pkg-2.42.2.tar.bz2 -> libyui-qt-pkg-2.42.3.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-qt-pkg-2.42.2/ChangeLog 
new/libyui-qt-pkg-2.42.3/ChangeLog
--- old/libyui-qt-pkg-2.42.2/ChangeLog  2012-09-07 14:26:48.000000000 +0200
+++ new/libyui-qt-pkg-2.42.3/ChangeLog  2012-12-12 10:09:49.000000000 +0100
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Wed Dec 12 10:03:10 CET 2012 - m...@suse.de
+
+- Adapt to libzypps new history log parser API.
+- Version 2.42.3
+
+-------------------------------------------------------------------
 Fri Sep  7 13:57:58 CEST 2012 - tgoettlic...@suse.de
 
 - Version 2.42.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-qt-pkg-2.42.2/VERSION.cmake 
new/libyui-qt-pkg-2.42.3/VERSION.cmake
--- old/libyui-qt-pkg-2.42.2/VERSION.cmake      2012-09-07 14:26:48.000000000 
+0200
+++ new/libyui-qt-pkg-2.42.3/VERSION.cmake      2012-12-12 10:09:49.000000000 
+0100
@@ -1,6 +1,6 @@
 SET( VERSION_MAJOR "2" )
 SET( VERSION_MINOR "42" )
-SET( VERSION_PATCH "2" )
+SET( VERSION_PATCH "3" )
 SET( VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}" )
 
 ##### This is need for the libyui core, ONLY.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-qt-pkg-2.42.2/libyui-qt-pkg.spec.in 
new/libyui-qt-pkg-2.42.3/libyui-qt-pkg.spec.in
--- old/libyui-qt-pkg-2.42.2/libyui-qt-pkg.spec.in      2012-09-07 
14:26:48.000000000 +0200
+++ new/libyui-qt-pkg-2.42.3/libyui-qt-pkg.spec.in      2012-12-12 
10:09:49.000000000 +0100
@@ -32,7 +32,7 @@
 
 %define libyui_qt_devel_version        libyui-qt-devel >= 2.42.0
 BuildRequires: %{libyui_qt_devel_version}
-%define libzypp_devel_version          libzypp-devel >= 11.4.0
+%define libzypp_devel_version          libzypp-devel >= 12.5.0
 BuildRequires: %{libzypp_devel_version}
 
 URL:           @URL@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-qt-pkg-2.42.2/src/YQPkgHistoryDialog.cc 
new/libyui-qt-pkg-2.42.3/src/YQPkgHistoryDialog.cc
--- old/libyui-qt-pkg-2.42.2/src/YQPkgHistoryDialog.cc  2012-09-07 
14:26:48.000000000 +0200
+++ new/libyui-qt-pkg-2.42.3/src/YQPkgHistoryDialog.cc  2012-12-12 
10:09:49.000000000 +0100
@@ -182,9 +182,9 @@
     std::string _last;
     QTreeWidgetItem* date_start;
 
-    bool operator()( const zypp::HistoryItem::Ptr & item_ptr )
+    bool operator()( const zypp::HistoryLogData::Ptr & item_ptr )
     {
-       std::string d = item_ptr->date.form("%e %B %Y");
+       std::string d = item_ptr->date().form("%e %B %Y");
        if (d != _last)
        {
            _last = d;
@@ -195,49 +195,49 @@
        }
 
        QStringList columns;
-       if ( item_ptr->action.toEnum () == zypp::HistoryActionID::INSTALL_e )
+       if ( item_ptr->action() == zypp::HistoryActionID::INSTALL_e )
        {
-           zypp::HistoryItemInstall* item = static_cast 
<zypp::HistoryItemInstall *> (item_ptr.get());
+           zypp::HistoryLogDataInstall* item = static_cast 
<zypp::HistoryLogDataInstall *> (item_ptr.get());
 
-           columns << QString(item->name.c_str());
-           columns << QString(item->edition.version().c_str());
+           columns << QString(item->name().c_str());
+           columns << QString(item->edition().version().c_str());
        } else
-       if ( item_ptr->action.toEnum () == zypp::HistoryActionID::REMOVE_e )
+       if ( item_ptr->action() == zypp::HistoryActionID::REMOVE_e )
        {
-           zypp::HistoryItemRemove* item = static_cast 
<zypp::HistoryItemRemove *> (item_ptr.get());
+           zypp::HistoryLogDataRemove* item = static_cast 
<zypp::HistoryLogDataRemove *> (item_ptr.get());
 
-           columns << QString(item->name.c_str());
-           columns << QString(item->edition.version().c_str());
+           columns << QString(item->name().c_str());
+           columns << QString(item->edition().version().c_str());
        } else
-       if ( item_ptr->action.toEnum () == zypp::HistoryActionID::REPO_ADD_e )
+       if ( item_ptr->action() == zypp::HistoryActionID::REPO_ADD_e )
        {
-           zypp::HistoryItemRepoAdd* item = static_cast 
<zypp::HistoryItemRepoAdd *> (item_ptr.get());
+           zypp::HistoryLogDataRepoAdd* item = static_cast 
<zypp::HistoryLogDataRepoAdd *> (item_ptr.get());
 
-           columns << QString(item->alias.c_str());
-           columns << QString(item->url.asString().c_str());
+           columns << QString(item->alias().c_str());
+           columns << QString(item->url().asString().c_str());
        } else
-       if ( item_ptr->action.toEnum () == zypp::HistoryActionID::REPO_REMOVE_e 
)
+       if ( item_ptr->action() == zypp::HistoryActionID::REPO_REMOVE_e )
        {
-           zypp::HistoryItemRepoRemove* item = static_cast 
<zypp::HistoryItemRepoRemove *> (item_ptr.get());
+           zypp::HistoryLogDataRepoRemove* item = static_cast 
<zypp::HistoryLogDataRepoRemove *> (item_ptr.get());
 
-           columns << QString(item->alias.c_str());
+           columns << QString(item->alias().c_str());
        } else
-       if ( item_ptr->action.toEnum () == 
zypp::HistoryActionID::REPO_CHANGE_ALIAS_e )
+       if ( item_ptr->action() == zypp::HistoryActionID::REPO_CHANGE_ALIAS_e )
        {
-           zypp::HistoryItemRepoAliasChange* item = static_cast 
<zypp::HistoryItemRepoAliasChange *> (item_ptr.get());
+           zypp::HistoryLogDataRepoAliasChange* item = static_cast 
<zypp::HistoryLogDataRepoAliasChange *> (item_ptr.get());
 
-           columns << QString( (item->oldalias + " -> " + 
item->newalias).c_str());
+           columns << QString( (item->oldAlias() + " -> " + 
item->newAlias()).c_str());
        } else
-       if ( item_ptr->action.toEnum () == 
zypp::HistoryActionID::REPO_CHANGE_URL_e )
+       if ( item_ptr->action() == zypp::HistoryActionID::REPO_CHANGE_URL_e )
        {
-           zypp::HistoryItemRepoUrlChange* item = static_cast 
<zypp::HistoryItemRepoUrlChange *> (item_ptr.get());
+           zypp::HistoryLogDataRepoUrlChange* item = static_cast 
<zypp::HistoryLogDataRepoUrlChange *> (item_ptr.get());
 
-           columns << QString(item->alias.c_str());
-           columns << QString(item->newurl.asString().c_str());
+           columns << QString(item->alias().c_str());
+           columns << QString(item->newUrl().asString().c_str());
        }
 
        QTreeWidgetItem *action = new QTreeWidgetItem (date_start, columns);
-       action->setIcon (0,actionIcon (item_ptr->action) );
+       action->setIcon (0,actionIcon (item_ptr->action()) );
        return true;
     }
 };
@@ -250,7 +250,7 @@
 
     ic.actions = _actions;
     ic.dates = _dates;
-    zypp::parser::HistoryLogReader reader(FILENAME, boost::ref(ic));
+    zypp::parser::HistoryLogReader reader(FILENAME, 
zypp::parser::HistoryLogReader::Options(), boost::ref(ic));
 
     try
     {

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to