Hello community, here is the log from the commit of package libyui-qt for openSUSE:Factory checked in at 2017-08-22 11:04:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libyui-qt (Old) and /work/SRC/openSUSE:Factory/.libyui-qt.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libyui-qt" Tue Aug 22 11:04:45 2017 rev:45 rq:517154 version:2.47.3 Changes: -------- --- /work/SRC/openSUSE:Factory/libyui-qt/libyui-qt.changes 2017-08-12 20:02:33.195247966 +0200 +++ /work/SRC/openSUSE:Factory/.libyui-qt.new/libyui-qt.changes 2017-08-22 11:04:48.433117357 +0200 @@ -1,0 +2,7 @@ +Wed Aug 16 07:33:14 UTC 2017 - [email protected] + +- Removed an obsolete non-working Qt initialization hack + (bsc#1053873) +- 2.47.3 + +------------------------------------------------------------------- Old: ---- libyui-qt-2.47.2.tar.bz2 New: ---- libyui-qt-2.47.3.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libyui-qt-doc.spec ++++++ --- /var/tmp/diff_new_pack.m1Qnrs/_old 2017-08-22 11:04:49.177012583 +0200 +++ /var/tmp/diff_new_pack.m1Qnrs/_new 2017-08-22 11:04:49.201009203 +0200 @@ -20,7 +20,7 @@ %define so_version 8 Name: %{parent}-doc -Version: 2.47.2 +Version: 2.47.3 Release: 0 Source: %{parent}-%{version}.tar.bz2 ++++++ libyui-qt.spec ++++++ --- /var/tmp/diff_new_pack.m1Qnrs/_old 2017-08-22 11:04:49.296995684 +0200 +++ /var/tmp/diff_new_pack.m1Qnrs/_new 2017-08-22 11:04:49.300995121 +0200 @@ -17,7 +17,7 @@ Name: libyui-qt -Version: 2.47.2 +Version: 2.47.3 Release: 0 Source: %{name}-%{version}.tar.bz2 ++++++ libyui-qt-2.47.2.tar.bz2 -> libyui-qt-2.47.3.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-2.47.2/VERSION.cmake new/libyui-qt-2.47.3/VERSION.cmake --- old/libyui-qt-2.47.2/VERSION.cmake 2017-08-07 17:05:13.451828526 +0200 +++ new/libyui-qt-2.47.3/VERSION.cmake 2017-08-16 10:49:12.651502426 +0200 @@ -1,6 +1,6 @@ SET(VERSION_MAJOR "2") SET(VERSION_MINOR "47") -SET(VERSION_PATCH "2") +SET(VERSION_PATCH "3") SET( VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}${GIT_SHA1_VERSION}" ) ##### This is need for the libyui core, ONLY. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-2.47.2/package/libyui-qt-doc.spec new/libyui-qt-2.47.3/package/libyui-qt-doc.spec --- old/libyui-qt-2.47.2/package/libyui-qt-doc.spec 2017-08-07 17:05:13.451828526 +0200 +++ new/libyui-qt-2.47.3/package/libyui-qt-doc.spec 2017-08-16 10:49:12.655502426 +0200 @@ -20,7 +20,7 @@ %define so_version 8 Name: %{parent}-doc -Version: 2.47.2 +Version: 2.47.3 Release: 0 Source: %{parent}-%{version}.tar.bz2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-2.47.2/package/libyui-qt.changes new/libyui-qt-2.47.3/package/libyui-qt.changes --- old/libyui-qt-2.47.2/package/libyui-qt.changes 2017-08-07 17:05:13.455828526 +0200 +++ new/libyui-qt-2.47.3/package/libyui-qt.changes 2017-08-16 10:49:12.655502426 +0200 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Wed Aug 16 07:33:14 UTC 2017 - [email protected] + +- Removed an obsolete non-working Qt initialization hack + (bsc#1053873) +- 2.47.3 + +------------------------------------------------------------------- Mon Aug 7 14:08:05 UTC 2017 - [email protected] - Adjusted to increased so version of the base library (bsc#1052217) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-2.47.2/package/libyui-qt.spec new/libyui-qt-2.47.3/package/libyui-qt.spec --- old/libyui-qt-2.47.2/package/libyui-qt.spec 2017-08-07 17:05:13.455828526 +0200 +++ new/libyui-qt-2.47.3/package/libyui-qt.spec 2017-08-16 10:49:12.655502426 +0200 @@ -17,7 +17,7 @@ Name: libyui-qt -Version: 2.47.2 +Version: 2.47.3 Release: 0 Source: %{name}-%{version}.tar.bz2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-2.47.2/src/CMakeLists.txt new/libyui-qt-2.47.3/src/CMakeLists.txt --- old/libyui-qt-2.47.2/src/CMakeLists.txt 2017-08-07 17:05:13.455828526 +0200 +++ new/libyui-qt-2.47.3/src/CMakeLists.txt 2017-08-16 10:49:12.655502426 +0200 @@ -8,7 +8,6 @@ add_definitions( -DICONDIR="${Y2QT_ICONDIR}" -DQT_LOCALEDIR="${QT_TRANSLATIONS_DIR}" - -DQTLIBDIR="${QT_LIBRARY_DIR}" ) qt5_wrap_ui(${TARGETLIB}_SOURCES "${${TARGETLIB}_WRAP_UI}") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-2.47.2/src/YQUI.cc new/libyui-qt-2.47.3/src/YQUI.cc --- old/libyui-qt-2.47.2/src/YQUI.cc 2017-08-07 17:05:13.623828526 +0200 +++ new/libyui-qt-2.47.3/src/YQUI.cc 2017-08-16 10:49:12.671502426 +0200 @@ -234,33 +234,6 @@ buttonBoxMargins.helpButtonExtraSpacing = 16; YButtonBox::setDefaultMargins( buttonBoxMargins ); - - - // Ugly hack as a workaround of bug #121872 (Segfault at program exit - // if no Qt style defined): - // - // Qt does not seem to be designed for use in plugin libs. It loads some - // add-on libs dynamically with dlopen() and unloads them at program exit - // (QGPluginManager). Unfortunately, since they all depend on the Qt master - // lib (libqt-mt) themselves, when they are unloading the last call to - // dlclose() for them causes the last reference to libqt-mt to vanish as - // well. Since libqt-mt is already in the process of destruction there is - // no more reference from the caller of libqt-mt, and the GLIBC decides - // that libqt-mt is not needed any more (zero references) and unmaps - // libqt-mt. When the static destructor of libqt-mt that triggered the - // cleanup in QGPluginManager returns, the code it is to return to is - // already unmapped, causing a segfault. - // - // Workaround: Keep one more reference to libqt-mt open - dlopen() it here - // and make sure there is no corresponding dlclose(). - - QString qt_lib_name = QString( QTLIBDIR "/libQtGui.so.%1" ).arg( QT_VERSION >> 16 );; - void * qt_lib = dlopen( qt_lib_name.toUtf8().constData(), RTLD_LAZY | RTLD_GLOBAL ); - if (qt_lib) - yuiMilestone() << "Forcing " << qt_lib_name.toUtf8().constData() << " open successful" << std::endl; - else - yuiError() << "Forcing " << qt_lib_name.toUtf8().constData() << " open failed" << std::endl; - // Init other stuff qApp->setFont( yqApp()->currentFont() );
