Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libyui for openSUSE:Factory checked in at 2023-04-20 15:13:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libyui (Old) and /work/SRC/openSUSE:Factory/.libyui.new.2023 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libyui" Thu Apr 20 15:13:13 2023 rev:87 rq:1080167 version:4.5.1 Changes: -------- --- /work/SRC/openSUSE:Factory/libyui/libyui.changes 2023-03-09 17:45:25.798808903 +0100 +++ /work/SRC/openSUSE:Factory/.libyui.new.2023/libyui.changes 2023-04-20 15:13:14.409617497 +0200 @@ -1,0 +2,7 @@ +Tue Apr 18 13:35:21 UTC 2023 - Stefan Hundhammer <[email protected]> + +- Qt UI: Fixed loading icons from an absolute path (bsc#1210591) + https://github.com/libyui/libyui/pull/94 +- 4.5.1 + +------------------------------------------------------------------- Old: ---- libyui-4.5.0.tar.bz2 New: ---- libyui-4.5.1.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libyui-bindings.spec ++++++ --- /var/tmp/diff_new_pack.KfapYe/_old 2023-04-20 15:13:15.129620798 +0200 +++ /var/tmp/diff_new_pack.KfapYe/_new 2023-04-20 15:13:15.133620817 +0200 @@ -20,7 +20,7 @@ Name: libyui-bindings # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.5.0 +Version: 4.5.1 Release: 0 Summary: Bindings for libyui License: LGPL-2.1-only OR LGPL-3.0-only ++++++ libyui-ncurses-pkg.spec ++++++ --- /var/tmp/diff_new_pack.KfapYe/_old 2023-04-20 15:13:15.157620926 +0200 +++ /var/tmp/diff_new_pack.KfapYe/_new 2023-04-20 15:13:15.161620946 +0200 @@ -19,7 +19,7 @@ Name: libyui-ncurses-pkg # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.5.0 +Version: 4.5.1 Release: 0 %define so_version 16 libyui-ncurses-rest-api.spec: same change libyui-ncurses.spec: same change ++++++ libyui-qt-graph.spec ++++++ --- /var/tmp/diff_new_pack.KfapYe/_old 2023-04-20 15:13:15.261621403 +0200 +++ /var/tmp/diff_new_pack.KfapYe/_new 2023-04-20 15:13:15.269621440 +0200 @@ -19,7 +19,7 @@ Name: libyui-qt-graph # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.5.0 +Version: 4.5.1 Release: 0 %define so_version 16 ++++++ libyui-qt-pkg.spec ++++++ --- /var/tmp/diff_new_pack.KfapYe/_old 2023-04-20 15:13:15.297621569 +0200 +++ /var/tmp/diff_new_pack.KfapYe/_new 2023-04-20 15:13:15.301621587 +0200 @@ -19,7 +19,7 @@ Name: libyui-qt-pkg # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.5.0 +Version: 4.5.1 Release: 0 %define so_version 16 libyui-qt-rest-api.spec: same change libyui-qt.spec: same change libyui-rest-api.spec: same change libyui.spec: same change ++++++ libyui-4.5.0.tar.bz2 -> libyui-4.5.1.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-4.5.0/.github/workflows/publish-api-doc.yml new/libyui-4.5.1/.github/workflows/publish-api-doc.yml --- old/libyui-4.5.0/.github/workflows/publish-api-doc.yml 2023-03-07 20:29:48.000000000 +0100 +++ new/libyui-4.5.1/.github/workflows/publish-api-doc.yml 2023-04-18 18:02:45.000000000 +0200 @@ -29,6 +29,9 @@ - name: Git Checkout uses: actions/checkout@v2 + - name: Fix file permissions + run: chown -R -c "$UID" . + - name: Create clean gh-pages branch run: git checkout -b gh-pages diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-4.5.0/VERSION.cmake new/libyui-4.5.1/VERSION.cmake --- old/libyui-4.5.0/VERSION.cmake 2023-03-07 20:29:48.000000000 +0100 +++ new/libyui-4.5.1/VERSION.cmake 2023-04-18 18:02:45.000000000 +0200 @@ -1,6 +1,6 @@ SET( VERSION_MAJOR "4") SET( VERSION_MINOR "5" ) -SET( VERSION_PATCH "0" ) +SET( VERSION_PATCH "1" ) SET( VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}" ) SET( SONAME_MAJOR "16" ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-4.5.0/libyui-qt/src/YQUI.cc new/libyui-4.5.1/libyui-qt/src/YQUI.cc --- old/libyui-4.5.0/libyui-qt/src/YQUI.cc 2023-03-07 20:29:48.000000000 +0100 +++ new/libyui-4.5.1/libyui-qt/src/YQUI.cc 2023-04-18 18:02:45.000000000 +0200 @@ -681,20 +681,26 @@ icon = QIcon::fromTheme( iconName.c_str() ); } - if ( icon.isNull() ) + if ( ! iconIsValid( icon ) ) { yuiDebug() << "Trying icon from resource: " << iconName << endl; icon = QIcon( resource + iconName.c_str() ); } - if ( icon.isNull() ) + if ( ! iconIsValid( icon ) ) { yuiDebug() << "Trying icon from path: " << iconName << endl; icon = QIcon( iconName.c_str() ); } - if ( icon.isNull() ) + if ( ! iconIsValid( icon ) ) yuiWarning() << "Couldn't load icon: " << iconName << endl; return icon; } + + +bool YQUI::iconIsValid( const QIcon & icon ) const +{ + return icon.availableSizes().size() > 0; +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-4.5.0/libyui-qt/src/YQUI.h new/libyui-4.5.1/libyui-qt/src/YQUI.h --- old/libyui-4.5.0/libyui-qt/src/YQUI.h 2023-03-07 20:29:48.000000000 +0100 +++ new/libyui-4.5.1/libyui-qt/src/YQUI.h 2023-04-18 18:02:45.000000000 +0200 @@ -308,6 +308,15 @@ **/ QIcon loadIcon( const string & iconName ) const; + /** + * Return if 'icon' is valid, i.e. it has non-null content. + * + * Notice that this is different from QIcon::isNull() which returns 'true' + * if the icon has a pixmap or a filename, even if that file could not be + * loaded or does not even exist. + **/ + bool iconIsValid( const QIcon & icon ) const; + protected: /** diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-4.5.0/package/libyui-bindings.spec new/libyui-4.5.1/package/libyui-bindings.spec --- old/libyui-4.5.0/package/libyui-bindings.spec 2023-03-07 20:29:48.000000000 +0100 +++ new/libyui-4.5.1/package/libyui-bindings.spec 2023-04-18 18:02:45.000000000 +0200 @@ -20,7 +20,7 @@ Name: libyui-bindings # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.5.0 +Version: 4.5.1 Release: 0 Summary: Bindings for libyui License: LGPL-2.1-only OR LGPL-3.0-only diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-4.5.0/package/libyui-ncurses-pkg.spec new/libyui-4.5.1/package/libyui-ncurses-pkg.spec --- old/libyui-4.5.0/package/libyui-ncurses-pkg.spec 2023-03-07 20:29:48.000000000 +0100 +++ new/libyui-4.5.1/package/libyui-ncurses-pkg.spec 2023-04-18 18:02:45.000000000 +0200 @@ -19,7 +19,7 @@ Name: libyui-ncurses-pkg # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.5.0 +Version: 4.5.1 Release: 0 %define so_version 16 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-4.5.0/package/libyui-ncurses-rest-api.spec new/libyui-4.5.1/package/libyui-ncurses-rest-api.spec --- old/libyui-4.5.0/package/libyui-ncurses-rest-api.spec 2023-03-07 20:29:48.000000000 +0100 +++ new/libyui-4.5.1/package/libyui-ncurses-rest-api.spec 2023-04-18 18:02:45.000000000 +0200 @@ -19,7 +19,7 @@ Name: libyui-ncurses-rest-api # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.5.0 +Version: 4.5.1 Release: 0 %define so_version 16 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-4.5.0/package/libyui-ncurses.spec new/libyui-4.5.1/package/libyui-ncurses.spec --- old/libyui-4.5.0/package/libyui-ncurses.spec 2023-03-07 20:29:48.000000000 +0100 +++ new/libyui-4.5.1/package/libyui-ncurses.spec 2023-04-18 18:02:45.000000000 +0200 @@ -19,7 +19,7 @@ Name: libyui-ncurses # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.5.0 +Version: 4.5.1 Release: 0 %define so_version 16 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-4.5.0/package/libyui-qt-graph.spec new/libyui-4.5.1/package/libyui-qt-graph.spec --- old/libyui-4.5.0/package/libyui-qt-graph.spec 2023-03-07 20:29:48.000000000 +0100 +++ new/libyui-4.5.1/package/libyui-qt-graph.spec 2023-04-18 18:02:45.000000000 +0200 @@ -19,7 +19,7 @@ Name: libyui-qt-graph # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.5.0 +Version: 4.5.1 Release: 0 %define so_version 16 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-4.5.0/package/libyui-qt-pkg.spec new/libyui-4.5.1/package/libyui-qt-pkg.spec --- old/libyui-4.5.0/package/libyui-qt-pkg.spec 2023-03-07 20:29:48.000000000 +0100 +++ new/libyui-4.5.1/package/libyui-qt-pkg.spec 2023-04-18 18:02:45.000000000 +0200 @@ -19,7 +19,7 @@ Name: libyui-qt-pkg # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.5.0 +Version: 4.5.1 Release: 0 %define so_version 16 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-4.5.0/package/libyui-qt-rest-api.spec new/libyui-4.5.1/package/libyui-qt-rest-api.spec --- old/libyui-4.5.0/package/libyui-qt-rest-api.spec 2023-03-07 20:29:48.000000000 +0100 +++ new/libyui-4.5.1/package/libyui-qt-rest-api.spec 2023-04-18 18:02:45.000000000 +0200 @@ -19,7 +19,7 @@ Name: libyui-qt-rest-api # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.5.0 +Version: 4.5.1 Release: 0 %define so_version 16 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-4.5.0/package/libyui-qt.spec new/libyui-4.5.1/package/libyui-qt.spec --- old/libyui-4.5.0/package/libyui-qt.spec 2023-03-07 20:29:48.000000000 +0100 +++ new/libyui-4.5.1/package/libyui-qt.spec 2023-04-18 18:02:45.000000000 +0200 @@ -19,7 +19,7 @@ Name: libyui-qt # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.5.0 +Version: 4.5.1 Release: 0 %define so_version 16 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-4.5.0/package/libyui-rest-api.spec new/libyui-4.5.1/package/libyui-rest-api.spec --- old/libyui-4.5.0/package/libyui-rest-api.spec 2023-03-07 20:29:48.000000000 +0100 +++ new/libyui-4.5.1/package/libyui-rest-api.spec 2023-04-18 18:02:45.000000000 +0200 @@ -19,7 +19,7 @@ Name: libyui-rest-api # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.5.0 +Version: 4.5.1 Release: 0 %define so_version 16 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-4.5.0/package/libyui.changes new/libyui-4.5.1/package/libyui.changes --- old/libyui-4.5.0/package/libyui.changes 2023-03-07 20:29:48.000000000 +0100 +++ new/libyui-4.5.1/package/libyui.changes 2023-04-18 18:02:45.000000000 +0200 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Apr 18 13:35:21 UTC 2023 - Stefan Hundhammer <[email protected]> + +- Qt UI: Fixed loading icons from an absolute path (bsc#1210591) + https://github.com/libyui/libyui/pull/94 +- 4.5.1 + +------------------------------------------------------------------- Mon Mar 06 09:54:37 UTC 2023 - Ladislav Slezák <[email protected]> - Bump version to 4.5.0 (bsc#1208913) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-4.5.0/package/libyui.spec new/libyui-4.5.1/package/libyui.spec --- old/libyui-4.5.0/package/libyui.spec 2023-03-07 20:29:48.000000000 +0100 +++ new/libyui-4.5.1/package/libyui.spec 2023-04-18 18:02:45.000000000 +0200 @@ -19,7 +19,7 @@ Name: libyui # DO NOT manually bump the version here; instead, use rake version:bump -Version: 4.5.0 +Version: 4.5.1 Release: 0 %define so_version 16
