Hello community, here is the log from the commit of package libqt4 for openSUSE:Factory checked in at 2013-08-12 14:22:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libqt4 (Old) and /work/SRC/openSUSE:Factory/.libqt4.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libqt4" Changes: -------- --- /work/SRC/openSUSE:Factory/libqt4/libqt4-devel-doc.changes 2013-07-08 07:12:44.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libqt4.new/libqt4-devel-doc.changes 2013-08-12 14:22:54.000000000 +0200 @@ -1,0 +2,9 @@ +Mon Jul 29 23:12:10 UTC 2013 - [email protected] + +- Added qlocale_icu-no-warning-output.patch -- since openSUSE + now has it's own icu so versioning, and we can't predict what will + happen in future, qWarnings about icu libraries and symbols are now + only emmited in debug builds. This will be usefull regardless of + icu versioning. + +------------------------------------------------------------------- libqt4-sql-plugins.changes: same change libqt4.changes: same change New: ---- qlocale_icu-no-warning-output.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libqt4-devel-doc.spec ++++++ --- /var/tmp/diff_new_pack.Toul2s/_old 2013-08-12 14:22:57.000000000 +0200 +++ /var/tmp/diff_new_pack.Toul2s/_new 2013-08-12 14:22:57.000000000 +0200 @@ -99,6 +99,8 @@ Patch149: qatomic-generic.patch Patch151: aarch64-support.diff Patch152: fix-moc-from-choking-on-boost-headers.patch +# PATCH-FIX-OPENSUSE qlocale_icu-no-warning-output.patch -- qWarnings about icu libraries and symbols are now only emmited in debug builds +Patch153: qlocale_icu-no-warning-output.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %define common_options --opensource -fast -no-separate-debug-info -shared -xkb -openssl-linked -xrender -xcursor -dbus-linked -xfixes -xrandr -xinerama -sm -no-nas-sound -no-rpath -system-libjpeg -system-libpng -accessibility -cups -stl -nis -system-zlib -prefix /usr -L %{_libdir} -libdir %{_libdir} -docdir %_docdir/%{base_name} -examplesdir %{_libdir}/qt4/examples -demosdir %{_libdir}/qt4/demos -plugindir %plugindir -translationdir %{_datadir}/qt4/translations -iconv -sysconfdir /etc/settings -datadir %{_datadir}/qt4/ -no-pch -reduce-relocations -exceptions -system-libtiff -glib -optimized-qmake -no-webkit -no-xmlpatterns -system-sqlite -qt3support -no-sql-mysql -importdir %plugindir/imports -xsync -xinput -gtkstyle %define check_config \ @@ -174,6 +176,7 @@ %patch149 -p1 %patch151 %patch152 -p1 +%patch153 -p1 # ### 47 rediff #%patch121 -p1 # be sure not to use them libqt4-sql-plugins.spec: same change libqt4.spec: same change ++++++ qlocale_icu-no-warning-output.patch ++++++ >From b924fb26f14b38c5a92d7271b2eba73080cfb337 Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan <[email protected]> Date: Tue, 30 Jul 2013 01:02:38 +0200 Subject: [PATCH 1/1] qlocale_icu-no-warning-output.patch Since openSUSE now has it's own icu so versioning, and we can't predict what will happen in future, qWarnings about icu libraries and symbols are now only emmited in debug builds. This will be usefull regardless of icu versioning. --- src/corelib/tools/qlocale_icu.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/corelib/tools/qlocale_icu.cpp b/src/corelib/tools/qlocale_icu.cpp index c3e2907..ce09677 100644 --- a/src/corelib/tools/qlocale_icu.cpp +++ b/src/corelib/tools/qlocale_icu.cpp @@ -84,7 +84,9 @@ bool qt_initIcu(const QString &localeString) QLibrary lib(QLatin1String("icui18n"), QLatin1String(U_ICU_VERSION_SHORT)); lib.setLoadHints(QLibrary::ImprovedSearchHeuristics); if (!lib.load()) { +#ifndef QT_NO_DEBUG qWarning() << "Unable to load library icui18n" << lib.errorString(); +#endif status = ErrorLoading; return false; } @@ -105,7 +107,9 @@ bool qt_initIcu(const QString &localeString) ptr_ucol_close = 0; ptr_ucol_strcoll = 0; +#ifndef QT_NO_DEBUG qWarning("Unable to find symbols in icui18n"); +#endif status = ErrorLoading; return false; } @@ -114,7 +118,9 @@ bool qt_initIcu(const QString &localeString) QLibrary ucLib(QLatin1String("icuuc"), QLatin1String(U_ICU_VERSION_SHORT)); ucLib.setLoadHints(QLibrary::ImprovedSearchHeuristics); if (!ucLib.load()) { +#ifndef QT_NO_DEBUG qWarning() << "Unable to load library icuuc" << ucLib.errorString(); +#endif status = ErrorLoading; return false; } @@ -131,7 +137,9 @@ bool qt_initIcu(const QString &localeString) ptr_u_strToUpper = 0; ptr_u_strToLower = 0; +#ifndef QT_NO_DEBUG qWarning("Unable to find symbols in icuuc"); +#endif status = ErrorLoading; return false; } -- 1.8.3.1 -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
