Hello community, here is the log from the commit of package libyui-qt-pkg for openSUSE:Factory checked in at 2019-04-21 09:02:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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" Sun Apr 21 09:02:44 2019 rev:44 rq:695672 version:2.46.2 Changes: -------- --- /work/SRC/openSUSE:Factory/libyui-qt-pkg/libyui-qt-pkg.changes 2019-03-18 10:36:29.875515949 +0100 +++ /work/SRC/openSUSE:Factory/.libyui-qt-pkg.new.5536/libyui-qt-pkg.changes 2019-04-21 09:02:49.602511690 +0200 @@ -1,0 +2,20 @@ +Thu Apr 18 12:18:53 UTC 2019 - Ladislav Slezak <[email protected]> + +- 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 <[email protected]> + +- 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 <[email protected]> + +- Bump the .so version to 10 to be compatible with the other + libyui packages (bsc#1132247) +- 2.46.0 + +------------------------------------------------------------------- Old: ---- libyui-qt-pkg-2.45.27.tar.bz2 New: ---- libyui-qt-pkg-2.46.2.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libyui-qt-pkg-doc.spec ++++++ --- /var/tmp/diff_new_pack.ehWKnI/_old 2019-04-21 09:02:52.326514926 +0200 +++ /var/tmp/diff_new_pack.ehWKnI/_new 2019-04-21 09:02:52.366514974 +0200 @@ -17,10 +17,10 @@ %define parent libyui-qt-pkg -%define so_version 9 +%define so_version 10 Name: %{parent}-doc -Version: 2.45.27 +Version: 2.46.2 Release: 0 Source: %{parent}-%{version}.tar.bz2 ++++++ libyui-qt-pkg.spec ++++++ --- /var/tmp/diff_new_pack.ehWKnI/_old 2019-04-21 09:02:52.662515325 +0200 +++ /var/tmp/diff_new_pack.ehWKnI/_new 2019-04-21 09:02:52.694515363 +0200 @@ -17,11 +17,11 @@ Name: libyui-qt-pkg -Version: 2.45.27 +Version: 2.46.2 Release: 0 Source: %{name}-%{version}.tar.bz2 -%define so_version 9 +%define so_version 10 %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.43.3 +%define libyui_qt_devel_version libyui-qt-devel >= 2.50.1 BuildRequires: %{libyui_qt_devel_version} %define libzypp_devel_version libzypp-devel >= 15.14.0 BuildRequires: %{libzypp_devel_version} ++++++ libyui-qt-pkg-2.45.27.tar.bz2 -> libyui-qt-pkg-2.46.2.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-pkg-2.45.27/VERSION.cmake new/libyui-qt-pkg-2.46.2/VERSION.cmake --- old/libyui-qt-pkg-2.45.27/VERSION.cmake 2019-03-13 15:09:31.000000000 +0100 +++ new/libyui-qt-pkg-2.46.2/VERSION.cmake 2019-04-18 14:27:20.000000000 +0200 @@ -1,11 +1,11 @@ SET( VERSION_MAJOR "2" ) -SET( VERSION_MINOR "45" ) -SET( VERSION_PATCH "27" ) +SET( VERSION_MINOR "46" ) +SET( VERSION_PATCH "2" ) 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 "5" ) +SET( SONAME_MAJOR "0" ) 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.45.27/package/libyui-qt-pkg-doc.spec new/libyui-qt-pkg-2.46.2/package/libyui-qt-pkg-doc.spec --- old/libyui-qt-pkg-2.45.27/package/libyui-qt-pkg-doc.spec 2019-03-13 15:09:31.000000000 +0100 +++ new/libyui-qt-pkg-2.46.2/package/libyui-qt-pkg-doc.spec 2019-04-18 14:27:20.000000000 +0200 @@ -17,10 +17,10 @@ %define parent libyui-qt-pkg -%define so_version 9 +%define so_version 10 Name: %{parent}-doc -Version: 2.45.27 +Version: 2.46.2 Release: 0 Source: %{parent}-%{version}.tar.bz2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-pkg-2.45.27/package/libyui-qt-pkg.changes new/libyui-qt-pkg-2.46.2/package/libyui-qt-pkg.changes --- old/libyui-qt-pkg-2.45.27/package/libyui-qt-pkg.changes 2019-03-13 15:09:31.000000000 +0100 +++ new/libyui-qt-pkg-2.46.2/package/libyui-qt-pkg.changes 2019-04-18 14:27:20.000000000 +0200 @@ -1,4 +1,24 @@ ------------------------------------------------------------------- +Thu Apr 18 12:18:53 UTC 2019 - Ladislav Slezak <[email protected]> + +- 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 <[email protected]> + +- 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 <[email protected]> + +- 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 <[email protected]> - Revert to previous initial status column width (bsc#1127708) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-pkg-2.45.27/package/libyui-qt-pkg.spec new/libyui-qt-pkg-2.46.2/package/libyui-qt-pkg.spec --- old/libyui-qt-pkg-2.45.27/package/libyui-qt-pkg.spec 2019-03-13 15:09:31.000000000 +0100 +++ new/libyui-qt-pkg-2.46.2/package/libyui-qt-pkg.spec 2019-04-18 14:27:20.000000000 +0200 @@ -17,11 +17,11 @@ Name: libyui-qt-pkg -Version: 2.45.27 +Version: 2.46.2 Release: 0 Source: %{name}-%{version}.tar.bz2 -%define so_version 9 +%define so_version 10 %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.43.3 +%define libyui_qt_devel_version libyui-qt-devel >= 2.50.1 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.45.27/src/YQPackageSelector.cc new/libyui-qt-pkg-2.46.2/src/YQPackageSelector.cc --- old/libyui-qt-pkg-2.45.27/src/YQPackageSelector.cc 2019-03-13 15:09:31.000000000 +0100 +++ new/libyui-qt-pkg-2.46.2/src/YQPackageSelector.cc 2019-04-18 14:27:20.000000000 +0200 @@ -1567,7 +1567,7 @@ YQPkgChangesDialog::showChangesDialog( this, _( "Added Subpackages:" ), _( "&OK" ), - QString::null, // rejectButtonLabel + QString(), // rejectButtonLabel YQPkgChangesDialog::FilterAutomatic, YQPkgChangesDialog::OptionNone ); // showIfEmpty } @@ -1723,7 +1723,7 @@ _( "Added Subpackages:" ), QRegExp( ".*" + suffix + "$" ), _( "&OK" ), - QString::null, // rejectButtonLabel + QString(), // rejectButtonLabel YQPkgChangesDialog::FilterAutomatic, YQPkgChangesDialog::OptionNone ); // showIfEmpty } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-pkg-2.45.27/src/YQPackageSelectorBase.cc new/libyui-qt-pkg-2.46.2/src/YQPackageSelectorBase.cc --- old/libyui-qt-pkg-2.45.27/src/YQPackageSelectorBase.cc 2019-03-13 15:09:31.000000000 +0100 +++ new/libyui-qt-pkg-2.46.2/src/YQPackageSelectorBase.cc 2019-04-18 14:27:20.000000000 +0200 @@ -212,7 +212,7 @@ YQPkgChangesDialog::showChangesDialog( this, msg, _( "&OK" ), - QString::null, // rejectButtonLabel + QString(), // rejectButtonLabel YQPkgChangesDialog::FilterAutomatic, YQPkgChangesDialog::OptionNone ); // showIfEmpty } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-pkg-2.45.27/src/YQPkgChangesDialog.cc new/libyui-qt-pkg-2.46.2/src/YQPkgChangesDialog.cc --- old/libyui-qt-pkg-2.45.27/src/YQPkgChangesDialog.cc 2019-03-13 15:09:31.000000000 +0100 +++ new/libyui-qt-pkg-2.46.2/src/YQPkgChangesDialog.cc 2019-04-18 14:27:20.000000000 +0200 @@ -49,6 +49,8 @@ #include <QPushButton> #include <QStyle> #include <QBoxLayout> +#include <QWindow> +#include <QScreen> #include "YQZypp.h" #include <zypp/ResStatus.h> @@ -79,7 +81,7 @@ setSizeGripEnabled( true ); // Limit dialog size to available screen size - setMaximumSize( qApp->desktop()->availableGeometry().size() ); + setMaximumSize( windowHandle()->screen()->availableSize() ); // 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.45.27/src/YQPkgChangesDialog.h new/libyui-qt-pkg-2.46.2/src/YQPkgChangesDialog.h --- old/libyui-qt-pkg-2.45.27/src/YQPkgChangesDialog.h 2019-03-13 15:09:31.000000000 +0100 +++ new/libyui-qt-pkg-2.46.2/src/YQPkgChangesDialog.h 2019-04-18 14:27:20.000000000 +0200 @@ -121,7 +121,7 @@ static bool showChangesDialog( QWidget * parent, const QString & message, const QString & acceptButtonLabel, - const QString & rejectButtonLabel = QString::null, + const QString & rejectButtonLabel = QString(), Filters f = FilterAutomatic, Options o = OptionAutoAcceptIfEmpty ); @@ -142,7 +142,7 @@ const QString & message, const QRegExp & regexp, const QString & acceptButtonLabel, - const QString & rejectButtonLabel = QString::null, + const QString & rejectButtonLabel = QString(), Filters f = FilterAutomatic, Options o = OptionAutoAcceptIfEmpty ); @@ -174,7 +174,7 @@ YQPkgChangesDialog( QWidget * parent, const QString & message, const QString & acceptButtonLabel, - const QString & rejectButtonLabel = QString::null ); + const QString & rejectButtonLabel = QString() ); /** * 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::null ); + const QString &rejectButtonLabel = QString() ); /** * 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::null, + const QString & rejectButtonLabel = QString(), Filters f = FilterAutomatic, Options o = OptionAutoAcceptIfEmpty ); protected: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-pkg-2.45.27/src/YQPkgConflictDialog.cc new/libyui-qt-pkg-2.46.2/src/YQPkgConflictDialog.cc --- old/libyui-qt-pkg-2.45.27/src/YQPkgConflictDialog.cc 2019-03-13 15:09:31.000000000 +0100 +++ new/libyui-qt-pkg-2.46.2/src/YQPkgConflictDialog.cc 2019-04-18 14:27:20.000000000 +0200 @@ -82,7 +82,7 @@ YQPkgConflictDialog::YQPkgConflictDialog( QWidget * parent ) : QDialog( parent ) { - setStyleSheet( QString::null ); + setStyleSheet( QString() ); _solveCount = 0; _totalSolveTime = 0.0; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-pkg-2.45.27/src/YQPkgDiskUsageList.cc new/libyui-qt-pkg-2.46.2/src/YQPkgDiskUsageList.cc --- old/libyui-qt-pkg-2.45.27/src/YQPkgDiskUsageList.cc 2019-03-13 15:09:31.000000000 +0100 +++ new/libyui-qt-pkg-2.46.2/src/YQPkgDiskUsageList.cc 2019-04-18 14:27:20.000000000 +0200 @@ -45,6 +45,7 @@ #include <QStyle> #include <QHeaderView> #include <QEvent> +#include <QtGlobal> #include <zypp/ZYppFactory.h> @@ -180,7 +181,11 @@ 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.45.27/src/YQPkgDiskUsageWarningDialog.h new/libyui-qt-pkg-2.46.2/src/YQPkgDiskUsageWarningDialog.h --- old/libyui-qt-pkg-2.45.27/src/YQPkgDiskUsageWarningDialog.h 2019-03-13 15:09:31.000000000 +0100 +++ new/libyui-qt-pkg-2.46.2/src/YQPkgDiskUsageWarningDialog.h 2019-04-18 14:27:20.000000000 +0200 @@ -67,7 +67,7 @@ static bool diskUsageWarning( const QString & message, int thresholdPercent, const QString & acceptButtonLabel, - const QString & rejectButtonLabel = QString::null ); + const QString & rejectButtonLabel = QString() ); protected: /** @@ -82,7 +82,7 @@ const QString & message, int thresholdPercent, const QString & acceptButtonLabel, - const QString & rejectButtonLabel = QString::null ); + const QString & rejectButtonLabel = QString() ); }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-pkg-2.45.27/src/YQPkgList.cc new/libyui-qt-pkg-2.46.2/src/YQPkgList.cc --- old/libyui-qt-pkg-2.45.27/src/YQPkgList.cc 2019-03-13 15:09:31.000000000 +0100 +++ new/libyui-qt-pkg-2.46.2/src/YQPkgList.cc 2019-04-18 14:27:20.000000000 +0200 @@ -534,13 +534,13 @@ actionInstallListSourceRpms = createAction( _( "&Install All Available Sources" ), statusIcon( S_Install, true ), statusIcon( S_Install, false ), - QString::null, // key + QString(), // key true ); // enabled actionDontInstallListSourceRpms = createAction( _( "Do &Not Install Any Sources" ), statusIcon( S_NoInst, true ), statusIcon( S_NoInst, false ), - QString::null, // key + QString(), // key true ); // enabled connect( actionInstallSourceRpm, &QAction::triggered, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-pkg-2.45.27/src/YQPkgObjList.cc new/libyui-qt-pkg-2.46.2/src/YQPkgObjList.cc --- old/libyui-qt-pkg-2.45.27/src/YQPkgObjList.cc 2019-03-13 15:09:31.000000000 +0100 +++ new/libyui-qt-pkg-2.46.2/src/YQPkgObjList.cc 2019-04-18 14:27:20.000000000 +0200 @@ -156,7 +156,7 @@ const QString & summary, FSize size ) { - QY2ListViewItem * item = new QY2ListViewItem( this, QString::null ); + QY2ListViewItem * item = new QY2ListViewItem( this, QString() ); if ( item ) { @@ -282,7 +282,7 @@ case S_Update: return _( "Update" ); } - return QString::null; + return QString(); } @@ -992,9 +992,9 @@ } if ( _installedIsNewer ) - setTextColor( versionCol(), Qt::red); + setForeground( versionCol(), Qt::red); else if ( _candidateIsNewer ) - setTextColor( versionCol(), Qt::blue); + setForeground( versionCol(), Qt::blue); } } else // separate columns for installed and available versions @@ -1006,9 +1006,9 @@ setText( instVersionCol(), installed->edition() ); if ( _installedIsNewer ) - setTextColor( instVersionCol(), Qt::red); + setForeground( instVersionCol(), Qt::red); else if ( _candidateIsNewer ) - setTextColor( instVersionCol(), Qt::blue); + setForeground( instVersionCol(), Qt::blue); } } @@ -1024,9 +1024,9 @@ setText( versionCol(), candidate->edition() ); if ( _installedIsNewer ) - setTextColor( versionCol(), Qt::red); + setForeground( versionCol(), Qt::red); else if ( _candidateIsNewer ) - setTextColor( versionCol(), Qt::blue); + setForeground( versionCol(), Qt::blue); } } } @@ -1454,7 +1454,7 @@ return _( "All dependencies satisfied" ); } - return QString::null; + return QString(); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-pkg-2.45.27/src/YQPkgObjList.h new/libyui-qt-pkg-2.46.2/src/YQPkgObjList.h --- old/libyui-qt-pkg-2.45.27/src/YQPkgObjList.h 2019-03-13 15:09:31.000000000 +0100 +++ new/libyui-qt-pkg-2.46.2/src/YQPkgObjList.h 2019-04-18 14:27:20.000000000 +0200 @@ -199,7 +199,7 @@ * size. **/ void addPassiveItem( const QString & name, - const QString & summary = QString::null, + const QString & summary = QString(), 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::null, + const QString & key = QString(), bool enabled = false ); /** @@ -360,7 +360,7 @@ QAction * createAction( const QString & text, const QPixmap & icon = QPixmap(), const QPixmap & insensitiveIcon = QPixmap(), - const QString & key = QString::null, + const QString & key = QString(), bool enabled = false ); class ExcludedItems; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-pkg-2.45.27/src/YQPkgPatchList.cc new/libyui-qt-pkg-2.46.2/src/YQPkgPatchList.cc --- old/libyui-qt-pkg-2.45.27/src/YQPkgPatchList.cc 2019-03-13 15:09:31.000000000 +0100 +++ new/libyui-qt-pkg-2.46.2/src/YQPkgPatchList.cc 2019-04-18 14:27:20.000000000 +0200 @@ -287,7 +287,7 @@ Q_CHECK_PTR( item ); item->setText( 1, text ); - item->setBackgroundColor( 0, QColor( 0xE0, 0xE0, 0xF8 ) ); + item->setBackground( 0, QColor( 0xE0, 0xE0, 0xF8 ) ); } void
