Hello community, here is the log from the commit of package kstars for openSUSE:Factory checked in at 2018-01-30 15:42:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kstars (Old) and /work/SRC/openSUSE:Factory/.kstars.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kstars" Tue Jan 30 15:42:23 2018 rev:91 rq:569866 version:2.9.1 Changes: -------- --- /work/SRC/openSUSE:Factory/kstars/kstars.changes 2018-01-19 11:52:01.610993164 +0100 +++ /work/SRC/openSUSE:Factory/.kstars.new/kstars.changes 2018-01-30 15:42:27.852037582 +0100 @@ -1,0 +2,16 @@ +Sat Jan 20 16:43:31 UTC 2018 - [email protected] + +- Update to 2.9.1 + * http://knro.blogspot.co.at/2018/01/kstars-291-is-off-to-fantastic-start-in.html + * Easier to set Park Position + * Additional PHD 2 Support + * Drift Graphics Updates + * New 3D Star Profile and Data Visualization Tool + * Bugfixes and other improvements +- Add fix-build-with-gcc48.patch to make it build with gcc 4.8 on + Leap 42 +- Build with Qt5DataVisualization (new in Qt 5.7) on Tumbleweed and + Leap 15 to enable the new "3D Star Profile and Data Visualization + Tool" + +------------------------------------------------------------------- Old: ---- kstars-2.8.9.tar.xz New: ---- fix-build-with-gcc48.patch kstars-2.9.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kstars.spec ++++++ --- /var/tmp/diff_new_pack.0mXNwf/_old 2018-01-30 15:42:30.135930957 +0100 +++ /var/tmp/diff_new_pack.0mXNwf/_new 2018-01-30 15:42:30.135930957 +0100 @@ -1,7 +1,7 @@ # # spec file for package kstars # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -19,7 +19,7 @@ %bcond_without lang Name: kstars -Version: 2.8.9 +Version: 2.9.1 Release: 0 Summary: Desktop Planetarium # Note for legal: the Apache licensed files in the tarball are for the @@ -32,6 +32,8 @@ Source0: https://download.kde.org/stable/%{name}/%{name}-%{version}.tar.xz # PATCH-FIX-OPENSUSE -- disable_downloading_into_system_dirs.patch -- do not allow saving runtime files into system dirs. Patch0: disable_downloading_into_system_dirs.patch +# PATCH-FIX-UPSTREAM +Patch1: fix-build-with-gcc48.patch BuildRequires: Mesa-devel BuildRequires: cfitsio-devel BuildRequires: eigen3-devel @@ -59,6 +61,9 @@ BuildRequires: xplanet BuildRequires: cmake(KF5NotifyConfig) BuildRequires: pkgconfig(Qt5Concurrent) +%if 0%{?suse_version} > 1320 +BuildRequires: pkgconfig(Qt5DataVisualization) +%endif BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Network) BuildRequires: pkgconfig(Qt5PrintSupport) @@ -86,6 +91,7 @@ %prep %setup -q %patch0 -p1 +%patch1 -p1 %build %ifarch ppc ppc64 @@ -98,7 +104,22 @@ %kf5_makeinstall -C build %if %{with lang} %find_lang %{name} --with-man --all-name + %if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120300 %kf5_find_htmldocs + %else + # %%kf5_find_htmldocs is only defined since Leap 42.3 + CURDIR=`pwd` + pushd %{buildroot}%{_kf5_htmldir} + for i in *; do + if ! [ -d "/usr/share/locale/${i}" ]; then + echo "Removing unsupported translation %{_kf5_htmldir}/${i}" + rm -rf "$i" + elif [ "$i" != "en" ]; then + echo "%doc %lang($i) %{_kf5_htmldir}/${i}" >> $CURDIR/%{name}.lang + fi + done + popd + %endif %endif # Remove static library ++++++ fix-build-with-gcc48.patch ++++++ >From 8f798a5750e6028a4dfa74a481593e01b055bcf3 Mon Sep 17 00:00:00 2001 From: Wolfgang Bauer <[email protected]> Date: Wed, 24 Jan 2018 19:45:15 +0100 Subject: [PATCH] Fix build with gcc 4.8 When building current kstars with gcc 4.8, the build fails with errors like this: error: no matching function for call to 'ProfileWizard::connect(QPointer<QProgressDialog>&, void (QProgressDialog::*)(), ProfileWizard::detectStellarMate()::__lambda220)' See also https://bugreports.qt.io/browse/QTBUG-48988 This patch fixes it, similar as in other applications, e.g. https://cgit.kde.org/kdevelop.git/commit/?h=5.2&id=6d5bdbba0a04d7180bda1f6bb47acb386575a561 Differential Revision: https://phabricator.kde.org/D10086 --- kstars/ekos/align/offlineastrometryparser.cpp | 2 +- kstars/ekos/profilewizard.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kstars/ekos/align/offlineastrometryparser.cpp b/kstars/ekos/align/offlineastrometryparser.cpp index 93e1edc9b..61651da42 100644 --- a/kstars/ekos/align/offlineastrometryparser.cpp +++ b/kstars/ekos/align/offlineastrometryparser.cpp @@ -280,7 +280,7 @@ bool OfflineAstrometryParser::startSovler(const QString &filename, const QString connect(solver, SIGNAL(readyReadStandardOutput()), this, SLOT(logSolver())); #if QT_VERSION > QT_VERSION_CHECK(5, 6, 0) - connect(solver, &QProcess::errorOccurred, this, [&]() { + connect(solver.data(), &QProcess::errorOccurred, this, [&]() { align->appendLogText(i18n("Error starting solver: %1", solver->errorString())); emit solverFailed(); }); diff --git a/kstars/ekos/profilewizard.cpp b/kstars/ekos/profilewizard.cpp index 35fb3121a..85c1537c2 100644 --- a/kstars/ekos/profilewizard.cpp +++ b/kstars/ekos/profilewizard.cpp @@ -272,7 +272,7 @@ void ProfileWizard::detectStellarMate() stellarMateDetectDialog->show(); - connect(stellarMateDetectDialog, &QProgressDialog::canceled, [&]() + connect(stellarMateDetectDialog.data(), &QProgressDialog::canceled, [&]() { qMDNS::getInstance()->disconnect(); }); -- 2.13.6 ++++++ kstars-2.8.9.tar.xz -> kstars-2.9.1.tar.xz ++++++ /work/SRC/openSUSE:Factory/kstars/kstars-2.8.9.tar.xz /work/SRC/openSUSE:Factory/.kstars.new/kstars-2.9.1.tar.xz differ: char 25, line 1
