Hello community, here is the log from the commit of package libqxt for openSUSE:Factory checked in at 2016-06-19 12:53:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libqxt (Old) and /work/SRC/openSUSE:Factory/.libqxt.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libqxt" Changes: -------- --- /work/SRC/openSUSE:Factory/libqxt/libqxt.changes 2014-01-03 19:44:33.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libqxt.new/libqxt.changes 2016-06-19 12:53:09.000000000 +0200 @@ -1,0 +2,9 @@ +Fri Jun 17 15:24:41 UTC 2016 - dap.darkn...@gmail.com + +-`spec-cleaner`. +- Updated Url & BuildRequires tags. +- Added libqxt-gcc6.patch to resolve bnc#985109. +- Enabled verbose make output. +- Required xrandr & zeroconf to resolve configure time warnings. + +------------------------------------------------------------------- New: ---- libqxt-gcc6.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libqxt.spec ++++++ --- /var/tmp/diff_new_pack.OTVgOz/_old 2016-06-19 12:53:10.000000000 +0200 +++ /var/tmp/diff_new_pack.OTVgOz/_new 2016-06-19 12:53:10.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package libqxt # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,8 +23,9 @@ Summary: Library extending Qt License: CPL-1.0 and LGPL-2.1 Group: Development/Libraries/C and C++ -Url: http://libqxt.org/ +Url: https://bitbucket.org/libqxt/libqxt/wiki/Home +# SourceUrl seems to be unavailable. Source0: v%{version}.tar.bz2 # PATCH-FIX-OPENSUSE to support multimedia keys on keyboards. # http://dev.libqxt.org/libqxt-old-hg/issue/75 @@ -32,12 +33,16 @@ # PATCH-FIX-OPENSUSE to respect X11 event filters already set. # http://dev.libqxt.org/libqxt/pull-request/41 Patch1: libqxt-event-filters.patch +# PATCH-FIX-OPENSUSE to resolve build time issue via gcc6 (bnc#985109). +Patch2: libqxt-gcc6.patch BuildRequires: chrpath +BuildRequires: db-devel BuildRequires: fdupes -BuildRequires: libdb-4_8-devel -BuildRequires: libqt4-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: pkgconfig +BuildRequires: pkgconfig(QtCore) +BuildRequires: pkgconfig(avahi-core) +BuildRequires: pkgconfig(xrandr) %description LibQxt is an extension library for Qt providing a suite of cross-platform utility classes to add functionality not readily available in the Qt toolkit by Trolltech, a Nokia company. @@ -66,15 +71,19 @@ %setup -q -n libqxt-libqxt-%{versionhash} %patch0 -p1 %patch1 +%if 0%{?suse_version} > 1320 +%patch2 -p1 +%endif %build -./configure -prefix /usr -libdir %{_libdir} -make %{?_smp_mflags} +# Does not use GNU configure +./configure -prefix %{_prefix} -libdir %{_libdir} +make V=1 %{?_smp_mflags} %install -make INSTALL_ROOT=%{buildroot} install +make V=1 INSTALL_ROOT=%{buildroot} install chrpath --delete %{buildroot}%{_libdir}/*.so %{buildroot}%{_libdir}/qt4/plugins/designer/*.so -find %{buildroot} -name '*.la' -exec rm -f {} ';' +find %{buildroot} -type f -name "*.la" -delete -print %fdupes -s %{buildroot}%{_includedir}/ %post -n %{name}1 -p /sbin/ldconfig ++++++ libqxt-gcc6.patch ++++++ --- a/src/core/qxtslotjob.cpp 2011-11-24 16:10:32.000000000 -0600 +++ b/src/core/qxtslotjob.cpp 2016-03-07 16:20:32.758268253 -0600 @@ -174,7 +174,7 @@ This uses QxtSignalWaiter so it will _no QVariant QxtFuture::delayedResult(int msec) { - if (!waiter->wait(msec, false)) + if (!waiter->wait(msec, NULL)) return QVariant(); return job->result(); }