Hello community, here is the log from the commit of package libyui-qt-pkg for openSUSE:Factory checked in at 2019-04-22 12:32:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libyui-qt-pkg (Old) and /work/SRC/openSUSE:Factory/.libyui-qt-pkg.new.5536 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libyui-qt-pkg" Mon Apr 22 12:32:54 2019 rev:45 rq: version:2.45.27 Changes: -------- libyui-qt-pkg.changes: same change Old: ---- libyui-qt-pkg-2.46.2.tar.bz2 New: ---- libyui-qt-pkg-2.45.27.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libyui-qt-pkg-doc.spec ++++++ --- /var/tmp/diff_new_pack.u5zzLg/_old 2019-04-22 12:32:55.905299285 +0200 +++ /var/tmp/diff_new_pack.u5zzLg/_new 2019-04-22 12:32:55.909299289 +0200 @@ -17,10 +17,10 @@ %define parent libyui-qt-pkg -%define so_version 10 +%define so_version 9 Name: %{parent}-doc -Version: 2.46.2 +Version: 2.45.27 Release: 0 Source: %{parent}-%{version}.tar.bz2 ++++++ libyui-qt-pkg.spec ++++++ --- /var/tmp/diff_new_pack.u5zzLg/_old 2019-04-22 12:32:55.921299302 +0200 +++ /var/tmp/diff_new_pack.u5zzLg/_new 2019-04-22 12:32:55.921299302 +0200 @@ -17,11 +17,11 @@ Name: libyui-qt-pkg -Version: 2.46.2 +Version: 2.45.27 Release: 0 Source: %{name}-%{version}.tar.bz2 -%define so_version 10 +%define so_version 9 %define bin_name %{name}%{so_version} %if 0%{?suse_version} > 1325 @@ -37,7 +37,7 @@ BuildRequires: libyui-devel >= 3.0.4 BuildRequires: pkg-config -%define libyui_qt_devel_version libyui-qt-devel >= 2.50.1 +%define libyui_qt_devel_version libyui-qt-devel >= 2.43.3 BuildRequires: %{libyui_qt_devel_version} %define libzypp_devel_version libzypp-devel >= 15.14.0 BuildRequires: %{libzypp_devel_version} ++++++ libyui-qt-pkg-2.46.2.tar.bz2 -> libyui-qt-pkg-2.45.27.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-pkg-2.46.2/VERSION.cmake new/libyui-qt-pkg-2.45.27/VERSION.cmake --- old/libyui-qt-pkg-2.46.2/VERSION.cmake 2019-04-18 14:27:20.000000000 +0200 +++ new/libyui-qt-pkg-2.45.27/VERSION.cmake 2019-03-13 15:09:31.000000000 +0100 @@ -1,11 +1,11 @@ SET( VERSION_MAJOR "2" ) -SET( VERSION_MINOR "46" ) -SET( VERSION_PATCH "2" ) +SET( VERSION_MINOR "45" ) +SET( VERSION_PATCH "27" ) SET( VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}" ) ##### This is need for the libyui core, ONLY. ##### These will be overridden from exports in LibyuiConfig.cmake -SET( SONAME_MAJOR "0" ) +SET( SONAME_MAJOR "5" ) SET( SONAME_MINOR "0" ) SET( SONAME_PATCH "0" ) SET( SONAME "${SONAME_MAJOR}.${SONAME_MINOR}.${SONAME_PATCH}" ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-pkg-2.46.2/package/libyui-qt-pkg-doc.spec new/libyui-qt-pkg-2.45.27/package/libyui-qt-pkg-doc.spec --- old/libyui-qt-pkg-2.46.2/package/libyui-qt-pkg-doc.spec 2019-04-18 14:27:20.000000000 +0200 +++ new/libyui-qt-pkg-2.45.27/package/libyui-qt-pkg-doc.spec 2019-03-13 15:09:31.000000000 +0100 @@ -17,10 +17,10 @@ %define parent libyui-qt-pkg -%define so_version 10 +%define so_version 9 Name: %{parent}-doc -Version: 2.46.2 +Version: 2.45.27 Release: 0 Source: %{parent}-%{version}.tar.bz2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-pkg-2.46.2/package/libyui-qt-pkg.changes new/libyui-qt-pkg-2.45.27/package/libyui-qt-pkg.changes --- old/libyui-qt-pkg-2.46.2/package/libyui-qt-pkg.changes 2019-04-18 14:27:20.000000000 +0200 +++ new/libyui-qt-pkg-2.45.27/package/libyui-qt-pkg.changes 2019-03-13 15:09:31.000000000 +0100 @@ -1,24 +1,4 @@ ------------------------------------------------------------------- -Thu Apr 18 12:18:53 UTC 2019 - Ladislav Slezak <lsle...@suse.cz> - -- Backward compatibility fix to ensure it still compiles in - Leap 15.0 (related to bsc#1130502) -- 2.46.2 - -------------------------------------------------------------------- -Wed Apr 17 14:05:38 UTC 2019 - Stefan Hundhammer <shundham...@suse.com> - -- Fixed obsolete warnings when building against Qt 5.13 (bsc#1130502) -- 2.46.1 - -------------------------------------------------------------------- -Thu Apr 11 14:16:07 UTC 2019 - Ladislav Slezák <lsle...@suse.cz> - -- Bump the .so version to 10 to be compatible with the other - libyui packages (bsc#1132247) -- 2.46.0 - -------------------------------------------------------------------- Tue Mar 12 15:49:33 UTC 2019 - Stefan Hundhammer <shundham...@suse.com> - Revert to previous initial status column width (bsc#1127708) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-pkg-2.46.2/package/libyui-qt-pkg.spec new/libyui-qt-pkg-2.45.27/package/libyui-qt-pkg.spec --- old/libyui-qt-pkg-2.46.2/package/libyui-qt-pkg.spec 2019-04-18 14:27:20.000000000 +0200 +++ new/libyui-qt-pkg-2.45.27/package/libyui-qt-pkg.spec 2019-03-13 15:09:31.000000000 +0100 @@ -17,11 +17,11 @@ Name: libyui-qt-pkg -Version: 2.46.2 +Version: 2.45.27 Release: 0 Source: %{name}-%{version}.tar.bz2 -%define so_version 10 +%define so_version 9 %define bin_name %{name}%{so_version} %if 0%{?suse_version} > 1325 @@ -37,7 +37,7 @@ BuildRequires: libyui-devel >= 3.0.4 BuildRequires: pkg-config -%define libyui_qt_devel_version libyui-qt-devel >= 2.50.1 +%define libyui_qt_devel_version libyui-qt-devel >= 2.43.3 BuildRequires: %{libyui_qt_devel_version} %define libzypp_devel_version libzypp-devel >= 15.14.0 BuildRequires: %{libzypp_devel_version} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-pkg-2.46.2/src/YQPackageSelector.cc new/libyui-qt-pkg-2.45.27/src/YQPackageSelector.cc --- old/libyui-qt-pkg-2.46.2/src/YQPackageSelector.cc 2019-04-18 14:27:20.000000000 +0200 +++ new/libyui-qt-pkg-2.45.27/src/YQPackageSelector.cc 2019-03-13 15:09:31.000000000 +0100 @@ -1567,7 +1567,7 @@ YQPkgChangesDialog::showChangesDialog( this, _( "Added Subpackages:" ), _( "&OK" ), - QString(), // rejectButtonLabel + QString::null, // rejectButtonLabel YQPkgChangesDialog::FilterAutomatic, YQPkgChangesDialog::OptionNone ); // showIfEmpty } @@ -1723,7 +1723,7 @@ _( "Added Subpackages:" ), QRegExp( ".*" + suffix + "$" ), _( "&OK" ), - QString(), // rejectButtonLabel + QString::null, // rejectButtonLabel YQPkgChangesDialog::FilterAutomatic, YQPkgChangesDialog::OptionNone ); // showIfEmpty } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-pkg-2.46.2/src/YQPackageSelectorBase.cc new/libyui-qt-pkg-2.45.27/src/YQPackageSelectorBase.cc --- old/libyui-qt-pkg-2.46.2/src/YQPackageSelectorBase.cc 2019-04-18 14:27:20.000000000 +0200 +++ new/libyui-qt-pkg-2.45.27/src/YQPackageSelectorBase.cc 2019-03-13 15:09:31.000000000 +0100 @@ -212,7 +212,7 @@ YQPkgChangesDialog::showChangesDialog( this, msg, _( "&OK" ), - QString(), // rejectButtonLabel + QString::null, // rejectButtonLabel YQPkgChangesDialog::FilterAutomatic, YQPkgChangesDialog::OptionNone ); // showIfEmpty } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-pkg-2.46.2/src/YQPkgChangesDialog.cc new/libyui-qt-pkg-2.45.27/src/YQPkgChangesDialog.cc --- old/libyui-qt-pkg-2.46.2/src/YQPkgChangesDialog.cc 2019-04-18 14:27:20.000000000 +0200 +++ new/libyui-qt-pkg-2.45.27/src/YQPkgChangesDialog.cc 2019-03-13 15:09:31.000000000 +0100 @@ -49,8 +49,6 @@ #include <QPushButton> #include <QStyle> #include <QBoxLayout> -#include <QWindow> -#include <QScreen> #include "YQZypp.h" #include <zypp/ResStatus.h> @@ -81,7 +79,7 @@ setSizeGripEnabled( true ); // Limit dialog size to available screen size - setMaximumSize( windowHandle()->screen()->availableSize() ); + setMaximumSize( qApp->desktop()->availableGeometry().size() ); // Layout for the dialog ( can't simply insert a QVBox ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-pkg-2.46.2/src/YQPkgChangesDialog.h new/libyui-qt-pkg-2.45.27/src/YQPkgChangesDialog.h --- old/libyui-qt-pkg-2.46.2/src/YQPkgChangesDialog.h 2019-04-18 14:27:20.000000000 +0200 +++ new/libyui-qt-pkg-2.45.27/src/YQPkgChangesDialog.h 2019-03-13 15:09:31.000000000 +0100 @@ -121,7 +121,7 @@ static bool showChangesDialog( QWidget * parent, const QString & message, const QString & acceptButtonLabel, - const QString & rejectButtonLabel = QString(), + const QString & rejectButtonLabel = QString::null, Filters f = FilterAutomatic, Options o = OptionAutoAcceptIfEmpty ); @@ -142,7 +142,7 @@ const QString & message, const QRegExp & regexp, const QString & acceptButtonLabel, - const QString & rejectButtonLabel = QString(), + const QString & rejectButtonLabel = QString::null, Filters f = FilterAutomatic, Options o = OptionAutoAcceptIfEmpty ); @@ -174,7 +174,7 @@ YQPkgChangesDialog( QWidget * parent, const QString & message, const QString & acceptButtonLabel, - const QString & rejectButtonLabel = QString() ); + const QString & rejectButtonLabel = QString::null ); /** * Apply the filter criteria: Fill the pkg list with pkgs that have a @@ -230,7 +230,7 @@ YQPkgUnsupportedPackagesDialog( QWidget * parent, const QString &message, const QString &acceptButtonLabel, - const QString &rejectButtonLabel = QString() ); + const QString &rejectButtonLabel = QString::null ); /** * Static convenience method: Post a changes dialog with text @@ -247,7 +247,7 @@ static bool showUnsupportedPackagesDialog( QWidget * parent, const QString & message, const QString & acceptButtonLabel, - const QString & rejectButtonLabel = QString(), + const QString & rejectButtonLabel = QString::null, Filters f = FilterAutomatic, Options o = OptionAutoAcceptIfEmpty ); protected: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-pkg-2.46.2/src/YQPkgConflictDialog.cc new/libyui-qt-pkg-2.45.27/src/YQPkgConflictDialog.cc --- old/libyui-qt-pkg-2.46.2/src/YQPkgConflictDialog.cc 2019-04-18 14:27:20.000000000 +0200 +++ new/libyui-qt-pkg-2.45.27/src/YQPkgConflictDialog.cc 2019-03-13 15:09:31.000000000 +0100 @@ -82,7 +82,7 @@ YQPkgConflictDialog::YQPkgConflictDialog( QWidget * parent ) : QDialog( parent ) { - setStyleSheet( QString() ); + setStyleSheet( QString::null ); _solveCount = 0; _totalSolveTime = 0.0; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-pkg-2.46.2/src/YQPkgDiskUsageList.cc new/libyui-qt-pkg-2.45.27/src/YQPkgDiskUsageList.cc --- old/libyui-qt-pkg-2.46.2/src/YQPkgDiskUsageList.cc 2019-04-18 14:27:20.000000000 +0200 +++ new/libyui-qt-pkg-2.45.27/src/YQPkgDiskUsageList.cc 2019-03-13 15:09:31.000000000 +0100 @@ -45,7 +45,6 @@ #include <QStyle> #include <QHeaderView> #include <QEvent> -#include <QtGlobal> #include <zypp/ZYppFactory.h> @@ -181,11 +180,7 @@ YQPkgDiskUsageList::sizeHint() const { QFontMetrics fms( font() ); -#if QT_VERSION >= 0x051100 - return QSize( fms.horizontalAdvance( "/var/usr/home 100% 100.32GB 100.3GB" ) + 50, 100 ); -#else return QSize( fms.width( "/var/usr/home 100% 100.32GB 100.3GB" ) + 50, 100 ); -#endif #ifdef FIXME int width = header()->headerWidth() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-pkg-2.46.2/src/YQPkgDiskUsageWarningDialog.h new/libyui-qt-pkg-2.45.27/src/YQPkgDiskUsageWarningDialog.h --- old/libyui-qt-pkg-2.46.2/src/YQPkgDiskUsageWarningDialog.h 2019-04-18 14:27:20.000000000 +0200 +++ new/libyui-qt-pkg-2.45.27/src/YQPkgDiskUsageWarningDialog.h 2019-03-13 15:09:31.000000000 +0100 @@ -67,7 +67,7 @@ static bool diskUsageWarning( const QString & message, int thresholdPercent, const QString & acceptButtonLabel, - const QString & rejectButtonLabel = QString() ); + const QString & rejectButtonLabel = QString::null ); protected: /** @@ -82,7 +82,7 @@ const QString & message, int thresholdPercent, const QString & acceptButtonLabel, - const QString & rejectButtonLabel = QString() ); + const QString & rejectButtonLabel = QString::null ); }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-pkg-2.46.2/src/YQPkgList.cc new/libyui-qt-pkg-2.45.27/src/YQPkgList.cc --- old/libyui-qt-pkg-2.46.2/src/YQPkgList.cc 2019-04-18 14:27:20.000000000 +0200 +++ new/libyui-qt-pkg-2.45.27/src/YQPkgList.cc 2019-03-13 15:09:31.000000000 +0100 @@ -534,13 +534,13 @@ actionInstallListSourceRpms = createAction( _( "&Install All Available Sources" ), statusIcon( S_Install, true ), statusIcon( S_Install, false ), - QString(), // key + QString::null, // key true ); // enabled actionDontInstallListSourceRpms = createAction( _( "Do &Not Install Any Sources" ), statusIcon( S_NoInst, true ), statusIcon( S_NoInst, false ), - QString(), // key + QString::null, // key true ); // enabled connect( actionInstallSourceRpm, &QAction::triggered, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-pkg-2.46.2/src/YQPkgObjList.cc new/libyui-qt-pkg-2.45.27/src/YQPkgObjList.cc --- old/libyui-qt-pkg-2.46.2/src/YQPkgObjList.cc 2019-04-18 14:27:20.000000000 +0200 +++ new/libyui-qt-pkg-2.45.27/src/YQPkgObjList.cc 2019-03-13 15:09:31.000000000 +0100 @@ -156,7 +156,7 @@ const QString & summary, FSize size ) { - QY2ListViewItem * item = new QY2ListViewItem( this, QString() ); + QY2ListViewItem * item = new QY2ListViewItem( this, QString::null ); if ( item ) { @@ -282,7 +282,7 @@ case S_Update: return _( "Update" ); } - return QString(); + return QString::null; } @@ -992,9 +992,9 @@ } if ( _installedIsNewer ) - setForeground( versionCol(), Qt::red); + setTextColor( versionCol(), Qt::red); else if ( _candidateIsNewer ) - setForeground( versionCol(), Qt::blue); + setTextColor( versionCol(), Qt::blue); } } else // separate columns for installed and available versions @@ -1006,9 +1006,9 @@ setText( instVersionCol(), installed->edition() ); if ( _installedIsNewer ) - setForeground( instVersionCol(), Qt::red); + setTextColor( instVersionCol(), Qt::red); else if ( _candidateIsNewer ) - setForeground( instVersionCol(), Qt::blue); + setTextColor( instVersionCol(), Qt::blue); } } @@ -1024,9 +1024,9 @@ setText( versionCol(), candidate->edition() ); if ( _installedIsNewer ) - setForeground( versionCol(), Qt::red); + setTextColor( versionCol(), Qt::red); else if ( _candidateIsNewer ) - setForeground( versionCol(), Qt::blue); + setTextColor( versionCol(), Qt::blue); } } } @@ -1454,7 +1454,7 @@ return _( "All dependencies satisfied" ); } - return QString(); + return QString::null; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-pkg-2.46.2/src/YQPkgObjList.h new/libyui-qt-pkg-2.45.27/src/YQPkgObjList.h --- old/libyui-qt-pkg-2.46.2/src/YQPkgObjList.h 2019-04-18 14:27:20.000000000 +0200 +++ new/libyui-qt-pkg-2.45.27/src/YQPkgObjList.h 2019-03-13 15:09:31.000000000 +0100 @@ -199,7 +199,7 @@ * size. **/ void addPassiveItem( const QString & name, - const QString & summary = QString(), + const QString & summary = QString::null, FSize size = -1 ); /** @@ -350,7 +350,7 @@ * and text. 'key' is only a descriptive text, no true accelerator. **/ QAction * createAction( ZyppStatus status, - const QString & key = QString(), + const QString & key = QString::null, bool enabled = false ); /** @@ -360,7 +360,7 @@ QAction * createAction( const QString & text, const QPixmap & icon = QPixmap(), const QPixmap & insensitiveIcon = QPixmap(), - const QString & key = QString(), + const QString & key = QString::null, bool enabled = false ); class ExcludedItems; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-pkg-2.46.2/src/YQPkgPatchList.cc new/libyui-qt-pkg-2.45.27/src/YQPkgPatchList.cc --- old/libyui-qt-pkg-2.46.2/src/YQPkgPatchList.cc 2019-04-18 14:27:20.000000000 +0200 +++ new/libyui-qt-pkg-2.45.27/src/YQPkgPatchList.cc 2019-03-13 15:09:31.000000000 +0100 @@ -287,7 +287,7 @@ Q_CHECK_PTR( item ); item->setText( 1, text ); - item->setBackground( 0, QColor( 0xE0, 0xE0, 0xF8 ) ); + item->setBackgroundColor( 0, QColor( 0xE0, 0xE0, 0xF8 ) ); } void