Hello community, here is the log from the commit of package kstars for openSUSE:Factory checked in at 2017-08-24 18:51:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kstars (Old) and /work/SRC/openSUSE:Factory/.kstars.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kstars" Thu Aug 24 18:51:35 2017 rev:86 rq:516429 version:17.08.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kstars/kstars.changes 2017-07-29 08:59:16.450912359 +0200 +++ /work/SRC/openSUSE:Factory/.kstars.new/kstars.changes 2017-08-24 18:51:37.527954835 +0200 @@ -1,0 +2,18 @@ +Fri Aug 11 22:46:02 UTC 2017 - christo...@krop.fr + +- Update to KDE Applications 17.08.0 + * New feature release + * https://www.kde.org/announcements/announce-applications-17.08.0.php +- Changes since 17.04.3 : +- Too many changes to list here + +------------------------------------------------------------------- +Sat Aug 5 18:18:49 UTC 2017 - christo...@krop.fr + +- Update to KDE Applications 17.07.90 + * KDE Applications 17.07.90 + * https://www.kde.org/announcements/announce-applications-17.07.90.php +- Add disable_downloading_into_system_dirs.patch. Saving runtime files into + system directories is not allowed. + +------------------------------------------------------------------- Old: ---- kstars-17.04.3.tar.xz New: ---- disable_downloading_into_system_dirs.patch kstars-17.08.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kstars.spec ++++++ --- /var/tmp/diff_new_pack.mWhNWu/_old 2017-08-24 18:51:41.035460961 +0200 +++ /var/tmp/diff_new_pack.mWhNWu/_new 2017-08-24 18:51:41.055458145 +0200 @@ -1,7 +1,7 @@ # # spec file for package kstars # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -15,13 +15,14 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %bcond_without lang Name: kstars -Version: 17.04.3 +Version: 17.08.0 Release: 0 %define kf5_version 5.26.0 -# Latest stable Applications (e.g. 16.08 in KA, but 16.11.80 in KUA) +# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA) %{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')} Summary: Desktop Planetarium # Note for legal: the Apache licensed files in the tarball are for the @@ -32,6 +33,8 @@ Group: Productivity/Scientific/Astronomy Url: http://edu.kde.org/kstars/ Source0: %{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 BuildRequires: Mesa-devel BuildRequires: cfitsio-devel BuildRequires: eigen3-devel @@ -72,7 +75,9 @@ Recommends: xplanet Obsoletes: %{name}5 < %{version} Provides: %{name}5 = %{version} +%if %{with lang} Recommends: %{name}-lang +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -85,6 +90,7 @@ %prep %setup -q +%patch0 -p1 %build %ifarch ppc ppc64 ++++++ disable_downloading_into_system_dirs.patch ++++++ diff --git a/CMakeLists.txt b/CMakeLists.txt index e1a7d73..111d1da 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -389,7 +389,7 @@ install(FILES org.kde.kstars.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR}) feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES) -IF (NOT BUILD_KSTARS_LITE) +IF (FALSE) # This helper file is generated to download astrometry.net index files. add_executable(kauth_kstars_helper kstars/auxiliary/downloadhelper.cpp ${helper_mocs}) target_link_libraries(kauth_kstars_helper Qt5::Core) diff --git a/kstars/ekos/align/opsastrometryindexfiles.cpp b/kstars/ekos/align/opsastrometryindexfiles.cpp index 35e474b..2899906 100644 --- a/kstars/ekos/align/opsastrometryindexfiles.cpp +++ b/kstars/ekos/align/opsastrometryindexfiles.cpp @@ -274,22 +274,7 @@ void OpsAstrometryIndexFiles::downloadIndexFile(QString URL, QString fileN, QChe } else { -#ifdef Q_OS_OSX - KMessageBox::error(0, i18n("Astrometry Folder Permissions Error")); -#else - KAuth::Action action(QStringLiteral("org.kde.kf5auth.kstars.saveindexfile")); - action.setHelperId(QStringLiteral("org.kde.kf5auth.kstars")); - action.setArguments(QVariantMap({ { "filename", indexFileN }, { "contents", responseData } })); - KAuth::ExecuteJob *job = action.execute(); - if (!job->exec()) - { - QMessageBox::information( - this, "Error", - QString("KAuth returned an error code: %1 %2").arg(job->error()).arg(job->errorString())); - slotUpdate(); - return; - } -#endif + KMessageBox::error(0, i18n("Permission denied for system-wide installation")); } if (currentIndex == maxIndex) ++++++ kstars-17.04.3.tar.xz -> kstars-17.08.0.tar.xz ++++++ /work/SRC/openSUSE:Factory/kstars/kstars-17.04.3.tar.xz /work/SRC/openSUSE:Factory/.kstars.new/kstars-17.08.0.tar.xz differ: char 25, line 1