Hello community, here is the log from the commit of package systester for openSUSE:Factory checked in at 2016-02-25 22:07:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/systester (Old) and /work/SRC/openSUSE:Factory/.systester.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "systester" Changes: -------- --- /work/SRC/openSUSE:Factory/systester/systester.changes 2015-05-06 07:49:48.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.systester.new/systester.changes 2016-02-26 00:45:45.000000000 +0100 @@ -1,0 +2,6 @@ +Sun Feb 21 23:35:05 UTC 2016 - crrodriguez@opensuse.org + +- Build against QT5. + * systester-qt5.patch + +------------------------------------------------------------------- New: ---- systester-qt5.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ systester.spec ++++++ --- /var/tmp/diff_new_pack.nkeTuX/_old 2016-02-26 00:45:46.000000000 +0100 +++ /var/tmp/diff_new_pack.nkeTuX/_new 2016-02-26 00:45:46.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package systester # -# Copyright (c) 2015 SUSE LINUX 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 @@ -26,9 +26,12 @@ Source: http://sourceforge.net/projects/systester/files/systester/1.5.0/%{name}-%{version}.tar.gz BuildRequires: gmp-devel BuildRequires: hicolor-icon-theme -BuildRequires: libqt4-devel BuildRequires: update-desktop-files +BuildRequires: pkgconfig(Qt5Gui) +BuildRequires: pkgconfig(Qt5Network) +BuildRequires: pkgconfig(Qt5Widgets) BuildRoot: %{_tmppath}/%{name}-%{version}-build +Patch0: systester-qt5.patch ExclusiveArch: ix86 x86_64 %description @@ -40,11 +43,10 @@ %prep %setup -q - +%patch0 -p1 %build -# not a standard configure, don't replace with macro -./configure \ - --prefix=%{_prefix} +export CFLAGS="%optflags" +qmake-qt5 systester.pro QMAKE_CXXFLAGS="%optflags" make %{?_smp_mflags} pushd cli make %{?_smp_mflags} ++++++ systester-qt5.patch ++++++ --- systester-1.5.1.orig/systester.pro +++ systester-1.5.1/systester.pro @@ -1,9 +1,9 @@ include (conf.pri) TEMPLATE = app LANGUAGE = C++ - +DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 CONFIG += qt warn_on release -static -QT += network +QT += gui network widgets FORMS = MainWindow.ui \ SplashWindow.ui \ --- systester-1.5.1.orig/SplashForm.cpp +++ systester-1.5.1/SplashForm.cpp @@ -43,8 +43,8 @@ SplashWindow::hideButtons () ui->closeButton->hide (); ui->waitEdit->show (); ui->copyrightEdit->clearHistory (); - ui->copyrightEdit->setOpenExternalLinks (TRUE); - ui->copyrightEdit->setOpenLinks (TRUE); + ui->copyrightEdit->setOpenExternalLinks (true); + ui->copyrightEdit->setOpenLinks (true); } void @@ -53,7 +53,7 @@ SplashWindow::showButtons () ui->licenseButton->show (); ui->closeButton->show (); ui->waitEdit->hide (); - ui->copyrightEdit->setVisible (TRUE); + ui->copyrightEdit->setVisible (true); } void
participants (1)
-
root@hilbert.suse.de