From ba1a8cadcdeed38e115a4c5243d6cae338d3f11f Mon Sep 17 00:00:00 2001 From: Kevin Kofler Date: Sun, 20 Apr 2014 01:00:38 +0200 Subject: [PATCH 01/45] update to 0.8.2 * Sat Apr 19 2014 Kevin Kofler 0.8.2-1 - update to 0.8.2 - drop upstreamed apper-updater-l10n.patch - update file list for the new apper.appdata.xml --- .gitignore | 1 + apper-updater-l10n.patch | 21 --------------------- apper.spec | 14 +++++++++----- sources | 2 +- 4 files changed, 11 insertions(+), 27 deletions(-) delete mode 100644 apper-updater-l10n.patch diff --git a/.gitignore b/.gitignore index 899e305..4e0924c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /apper-0.7.2.tar.bz2 /apper-0.8.1-20130624.tar.bz2 /apper-0.8.1.tar.bz2 +/apper-0.8.2.tar.xz diff --git a/apper-updater-l10n.patch b/apper-updater-l10n.patch deleted file mode 100644 index 3eb96b4..0000000 --- a/apper-updater-l10n.patch +++ /dev/null @@ -1,21 +0,0 @@ -commit 5abe135b5907ab10ed52be0046a3de0d52d98f22 -Author: Lukáš Tinkl -Date: Fri Aug 23 19:35:56 2013 +0200 - - load the main apper catalog for the applet - - for a 3rd time, make this thing show up translated... - -diff --git a/declarative-plugins/qmlplugins.cpp b/declarative-plugins/qmlplugins.cpp -index 9deb29f..b39b3d2 100644 ---- a/declarative-plugins/qmlplugins.cpp -+++ b/declarative-plugins/qmlplugins.cpp -@@ -35,6 +35,8 @@ - #include - #include - -+static const KCatalogLoader loader(QLatin1String("apper")); -+ - void QmlPlugins::registerTypes(const char* uri) - { - Q_ASSERT(uri == QLatin1String("org.kde.apper")); diff --git a/apper.spec b/apper.spec index 5156688..ae0bc53 100644 --- a/apper.spec +++ b/apper.spec @@ -4,8 +4,8 @@ #define app_install 1 Name: apper -Version: 0.8.1 -Release: 2%{?dist} +Version: 0.8.2 +Release: 1%{?dist} Summary: KDE interface for PackageKit License: GPLv2+ @@ -27,8 +27,6 @@ BuildRequires: git-core %endif # hack around https://bugzilla.redhat.com/948099 Patch200: 0100-pk-cache-update-debugging.patch -# fix translations in the updater applet -Patch201: apper-updater-l10n.patch Obsoletes: kpackagekit < 0.7.0 @@ -74,7 +72,6 @@ git am -p1 %{patches} < /dev/null %else %patch200 -p1 -b .pk_cache_update %endif -%patch201 -p1 -b .applet-l10n %build mkdir -p %{_target_platform} @@ -127,6 +124,8 @@ fi %{_kde4_libdir}/apper/ %{_kde4_libdir}/kde4/kcm_apper.so %{_kde4_libdir}/kde4/kded_apperd.so +# (co)own the whole directory for now, nothing systemwide owns this in F19/F20 +%{_kde4_datadir}/appdata/ %{_kde4_datadir}/applications/kde4/apper.desktop %{_kde4_datadir}/applications/kde4/apper_*.desktop %{_kde4_datadir}/kde4/services/kcm_apper.desktop @@ -151,6 +150,11 @@ fi %changelog +* Sat Apr 19 2014 Kevin Kofler 0.8.2-1 +- update to 0.8.2 +- drop upstreamed apper-updater-l10n.patch +- update file list for the new apper.appdata.xml + * Mon Aug 26 2013 Lukáš Tinkl 0.8.1-2 - fix translations in the updater applet diff --git a/sources b/sources index 07db0ea..a4f85e5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -53dc89d5a2e95c3382c3f223a2ac8b17 apper-0.8.1.tar.bz2 +bac09cf96295623908c1a080152113ad apper-0.8.2.tar.xz From 83b9c9bb2fff11ccdee0313782af9d827e5e8c85 Mon Sep 17 00:00:00 2001 From: Kevin Kofler Date: Sun, 20 Apr 2014 01:02:18 +0200 Subject: [PATCH 02/45] fix/update tarball extension (now .tar.xz instead of .tar.bz2) --- apper.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apper.spec b/apper.spec index ae0bc53..ded7a98 100644 --- a/apper.spec +++ b/apper.spec @@ -13,7 +13,7 @@ License: GPLv2+ # use releaseme/apper.rc --version 0.8.1 Source0: apper-%{version}-%{snap}.tar.bz2 %else -Source0: http://download.kde.org/stable/apper/%{version}/apper-%{version}.tar.bz2 +Source0: http://download.kde.org/stable/apper/%{version}/apper-%{version}.tar.xz %endif URL: http://kde-apps.org/content/show.php/Apper?content=84745 From a84cb47c1cacf18bda6af8cc2d1da200da98a5a4 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Wed, 5 Nov 2014 08:37:58 -0600 Subject: [PATCH 03/45] drop git_patches hack can use %%autosetup later if we so choose instead --- apper.spec | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/apper.spec b/apper.spec index ded7a98..e048f74 100644 --- a/apper.spec +++ b/apper.spec @@ -21,10 +21,6 @@ URL: http://kde-apps.org/content/show.php/Apper?content=84745 Source10: 01-fedora-org.packagekit.updater.js ## upstream patches -#define git_patches 1 -%if 0%{?git_patches} -BuildRequires: git-core -%endif # hack around https://bugzilla.redhat.com/948099 Patch200: 0100-pk-cache-update-debugging.patch @@ -58,20 +54,7 @@ KDE interface for PackageKit. %prep %setup -q -%if 0%{?git_patches} -git init -if [ -z "$GIT_COMMITTER_NAME" ]; then -git config user.email "kde@lists.fedoraproject.org" -git config user.name "Fedora KDE SIG" -fi -git add . -git commit -a -q -m "%{version} baseline." - -# Apply all the patches -git am -p1 %{patches} < /dev/null -%else %patch200 -p1 -b .pk_cache_update -%endif %build mkdir -p %{_target_platform} From eadfdfae54ac7f694b5081355173137623cbf621 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Wed, 5 Nov 2014 10:07:55 -0600 Subject: [PATCH 04/45] avoid notification spam (kde#318864,#1090595) --- apper-0.8.2-kde318864.patch | 18 ++++++++++++++++++ apper.spec | 13 ++++++++++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 apper-0.8.2-kde318864.patch diff --git a/apper-0.8.2-kde318864.patch b/apper-0.8.2-kde318864.patch new file mode 100644 index 0000000..ca68db5 --- /dev/null +++ b/apper-0.8.2-kde318864.patch @@ -0,0 +1,18 @@ +diff -up apper-0.8.2/apperd/TransactionWatcher.cpp.kde318864 apper-0.8.2/apperd/TransactionWatcher.cpp +--- apper-0.8.2/apperd/TransactionWatcher.cpp.kde318864 2014-04-19 14:25:19.000000000 -0500 ++++ apper-0.8.2/apperd/TransactionWatcher.cpp 2014-11-05 08:42:19.418370932 -0600 +@@ -199,7 +199,13 @@ void TransactionWatcher::transactionChan + } + + // If the +- if (!m_transactionJob.contains(tid) && interactive) { ++ Transaction::Role role = transaction->role(); ++ if (!m_transactionJob.contains(tid) && interactive && ++ (role == Transaction::RoleInstallPackages || ++ role == Transaction::RoleInstallFiles || ++ role == Transaction::RoleRemovePackages || ++ role == Transaction::RoleUpdatePackages || ++ role == Transaction::RoleUpgradeSystem )) { + TransactionJob *job = new TransactionJob(transaction, this); + connect(transaction, SIGNAL(errorCode(PackageKit::Transaction::Error,QString)), + this, SLOT(errorCode(PackageKit::Transaction::Error,QString))); diff --git a/apper.spec b/apper.spec index e048f74..b8db43a 100644 --- a/apper.spec +++ b/apper.spec @@ -5,7 +5,7 @@ Name: apper Version: 0.8.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: KDE interface for PackageKit License: GPLv2+ @@ -20,6 +20,13 @@ URL: http://kde-apps.org/content/show.php/Apper?content=84745 # plasma js to enable apper plasma applet Source10: 01-fedora-org.packagekit.updater.js +## upstreamable patches +# This one is already essentially in apper/master branch +# https://git.reviewboard.kde.org/r/117990 +# http://bugs.kde.org/show_bug.cgi?id=318864 +# http://bugzilla.redhat.com/1090595 +Patch50: apper-0.8.2-kde318864.patch + ## upstream patches # hack around https://bugzilla.redhat.com/948099 Patch200: 0100-pk-cache-update-debugging.patch @@ -54,6 +61,7 @@ KDE interface for PackageKit. %prep %setup -q +%patch50 -p1 -b .kde318864 %patch200 -p1 -b .pk_cache_update %build @@ -133,6 +141,9 @@ fi %changelog +* Wed Nov 05 2014 Rex Dieter 0.8.2-2 +- avoid notification spam (kde#318864,#1090595) + * Sat Apr 19 2014 Kevin Kofler 0.8.2-1 - update to 0.8.2 - drop upstreamed apper-updater-l10n.patch From 92a8733718d640a2d0d5a7902381500c756dab65 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Sat, 6 Dec 2014 13:24:23 -0600 Subject: [PATCH 05/45] don't try !allow_deps, -yum,-hif backends do not support it apparently (#877038,kde#315063) --- apper-0.8.2-allow_deps.patch | 12 ++++++++++++ apper.spec | 10 +++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 apper-0.8.2-allow_deps.patch diff --git a/apper-0.8.2-allow_deps.patch b/apper-0.8.2-allow_deps.patch new file mode 100644 index 0000000..34b90e4 --- /dev/null +++ b/apper-0.8.2-allow_deps.patch @@ -0,0 +1,12 @@ +diff -up apper-0.8.2/libapper/PkTransaction.cpp.allow_deps apper-0.8.2/libapper/PkTransaction.cpp +--- apper-0.8.2/libapper/PkTransaction.cpp.allow_deps 2014-04-19 14:25:19.000000000 -0500 ++++ apper-0.8.2/libapper/PkTransaction.cpp 2014-12-06 13:22:34.855124992 -0600 +@@ -166,7 +166,7 @@ void PkTransaction::removePackages(const + { + if (Daemon::global()->actions() & Transaction::RoleRemovePackages) { + d->originalRole = Transaction::RoleRemovePackages; +- d->allowDeps = false; // Default to avoid dependencies removal unless simulate says so ++ d->allowDeps = true; // Default to avoid dependencies removal unless simulate says so + d->packages = packages; + d->flags = Transaction::TransactionFlagOnlyTrusted | Transaction::TransactionFlagSimulate; + diff --git a/apper.spec b/apper.spec index b8db43a..54be9ec 100644 --- a/apper.spec +++ b/apper.spec @@ -5,7 +5,7 @@ Name: apper Version: 0.8.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: KDE interface for PackageKit License: GPLv2+ @@ -26,6 +26,10 @@ Source10: 01-fedora-org.packagekit.updater.js # http://bugs.kde.org/show_bug.cgi?id=318864 # http://bugzilla.redhat.com/1090595 Patch50: apper-0.8.2-kde318864.patch +# -hif (and yum?) backends apparently do not support !allow_deps at all, so don't try +# https://bugzilla.redhat.com/show_bug.cgi?id=877038 +# http://bugs.kde.org/show_bug.cgi?id=315063 +Patch51: apper-0.8.2-allow_deps.patch ## upstream patches # hack around https://bugzilla.redhat.com/948099 @@ -62,6 +66,7 @@ KDE interface for PackageKit. %setup -q %patch50 -p1 -b .kde318864 +%patch51 -p1 -b .allow_deps %patch200 -p1 -b .pk_cache_update %build @@ -141,6 +146,9 @@ fi %changelog +* Sat Dec 06 2014 Rex Dieter 0.8.2-3 +- don't try !allow_deps, -yum,-hif backends do not support it apparently (#877038,kde#315063) + * Wed Nov 05 2014 Rex Dieter 0.8.2-2 - avoid notification spam (kde#318864,#1090595) From 7308dc39051251763ac8f659ffe4aff8060bbb77 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Mon, 7 Dec 2015 10:51:40 -0600 Subject: [PATCH 06/45] Revert "don't try !allow_deps, -yum,-hif backends do not support it apparently (#877038,kde#315063)" This reverts commit 92a8733718d640a2d0d5a7902381500c756dab65. --- apper-0.8.2-allow_deps.patch | 12 ------------ apper.spec | 10 +--------- 2 files changed, 1 insertion(+), 21 deletions(-) delete mode 100644 apper-0.8.2-allow_deps.patch diff --git a/apper-0.8.2-allow_deps.patch b/apper-0.8.2-allow_deps.patch deleted file mode 100644 index 34b90e4..0000000 --- a/apper-0.8.2-allow_deps.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -up apper-0.8.2/libapper/PkTransaction.cpp.allow_deps apper-0.8.2/libapper/PkTransaction.cpp ---- apper-0.8.2/libapper/PkTransaction.cpp.allow_deps 2014-04-19 14:25:19.000000000 -0500 -+++ apper-0.8.2/libapper/PkTransaction.cpp 2014-12-06 13:22:34.855124992 -0600 -@@ -166,7 +166,7 @@ void PkTransaction::removePackages(const - { - if (Daemon::global()->actions() & Transaction::RoleRemovePackages) { - d->originalRole = Transaction::RoleRemovePackages; -- d->allowDeps = false; // Default to avoid dependencies removal unless simulate says so -+ d->allowDeps = true; // Default to avoid dependencies removal unless simulate says so - d->packages = packages; - d->flags = Transaction::TransactionFlagOnlyTrusted | Transaction::TransactionFlagSimulate; - diff --git a/apper.spec b/apper.spec index 54be9ec..b8db43a 100644 --- a/apper.spec +++ b/apper.spec @@ -5,7 +5,7 @@ Name: apper Version: 0.8.2 -Release: 3%{?dist} +Release: 2%{?dist} Summary: KDE interface for PackageKit License: GPLv2+ @@ -26,10 +26,6 @@ Source10: 01-fedora-org.packagekit.updater.js # http://bugs.kde.org/show_bug.cgi?id=318864 # http://bugzilla.redhat.com/1090595 Patch50: apper-0.8.2-kde318864.patch -# -hif (and yum?) backends apparently do not support !allow_deps at all, so don't try -# https://bugzilla.redhat.com/show_bug.cgi?id=877038 -# http://bugs.kde.org/show_bug.cgi?id=315063 -Patch51: apper-0.8.2-allow_deps.patch ## upstream patches # hack around https://bugzilla.redhat.com/948099 @@ -66,7 +62,6 @@ KDE interface for PackageKit. %setup -q %patch50 -p1 -b .kde318864 -%patch51 -p1 -b .allow_deps %patch200 -p1 -b .pk_cache_update %build @@ -146,9 +141,6 @@ fi %changelog -* Sat Dec 06 2014 Rex Dieter 0.8.2-3 -- don't try !allow_deps, -yum,-hif backends do not support it apparently (#877038,kde#315063) - * Wed Nov 05 2014 Rex Dieter 0.8.2-2 - avoid notification spam (kde#318864,#1090595) From 2dab8be9a93c1e7398379233b0036007da89d542 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Mon, 7 Dec 2015 10:51:40 -0600 Subject: [PATCH 07/45] Revert "avoid notification spam (kde#318864,#1090595)" This reverts commit eadfdfae54ac7f694b5081355173137623cbf621. --- apper-0.8.2-kde318864.patch | 18 ------------------ apper.spec | 13 +------------ 2 files changed, 1 insertion(+), 30 deletions(-) delete mode 100644 apper-0.8.2-kde318864.patch diff --git a/apper-0.8.2-kde318864.patch b/apper-0.8.2-kde318864.patch deleted file mode 100644 index ca68db5..0000000 --- a/apper-0.8.2-kde318864.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff -up apper-0.8.2/apperd/TransactionWatcher.cpp.kde318864 apper-0.8.2/apperd/TransactionWatcher.cpp ---- apper-0.8.2/apperd/TransactionWatcher.cpp.kde318864 2014-04-19 14:25:19.000000000 -0500 -+++ apper-0.8.2/apperd/TransactionWatcher.cpp 2014-11-05 08:42:19.418370932 -0600 -@@ -199,7 +199,13 @@ void TransactionWatcher::transactionChan - } - - // If the -- if (!m_transactionJob.contains(tid) && interactive) { -+ Transaction::Role role = transaction->role(); -+ if (!m_transactionJob.contains(tid) && interactive && -+ (role == Transaction::RoleInstallPackages || -+ role == Transaction::RoleInstallFiles || -+ role == Transaction::RoleRemovePackages || -+ role == Transaction::RoleUpdatePackages || -+ role == Transaction::RoleUpgradeSystem )) { - TransactionJob *job = new TransactionJob(transaction, this); - connect(transaction, SIGNAL(errorCode(PackageKit::Transaction::Error,QString)), - this, SLOT(errorCode(PackageKit::Transaction::Error,QString))); diff --git a/apper.spec b/apper.spec index b8db43a..e048f74 100644 --- a/apper.spec +++ b/apper.spec @@ -5,7 +5,7 @@ Name: apper Version: 0.8.2 -Release: 2%{?dist} +Release: 1%{?dist} Summary: KDE interface for PackageKit License: GPLv2+ @@ -20,13 +20,6 @@ URL: http://kde-apps.org/content/show.php/Apper?content=84745 # plasma js to enable apper plasma applet Source10: 01-fedora-org.packagekit.updater.js -## upstreamable patches -# This one is already essentially in apper/master branch -# https://git.reviewboard.kde.org/r/117990 -# http://bugs.kde.org/show_bug.cgi?id=318864 -# http://bugzilla.redhat.com/1090595 -Patch50: apper-0.8.2-kde318864.patch - ## upstream patches # hack around https://bugzilla.redhat.com/948099 Patch200: 0100-pk-cache-update-debugging.patch @@ -61,7 +54,6 @@ KDE interface for PackageKit. %prep %setup -q -%patch50 -p1 -b .kde318864 %patch200 -p1 -b .pk_cache_update %build @@ -141,9 +133,6 @@ fi %changelog -* Wed Nov 05 2014 Rex Dieter 0.8.2-2 -- avoid notification spam (kde#318864,#1090595) - * Sat Apr 19 2014 Kevin Kofler 0.8.2-1 - update to 0.8.2 - drop upstreamed apper-updater-l10n.patch From 10cb81bae320259cb71213e1d039236f08c2f3c7 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Mon, 7 Dec 2015 10:51:40 -0600 Subject: [PATCH 08/45] Revert "drop git_patches hack" This reverts commit a84cb47c1cacf18bda6af8cc2d1da200da98a5a4. --- apper.spec | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/apper.spec b/apper.spec index e048f74..ded7a98 100644 --- a/apper.spec +++ b/apper.spec @@ -21,6 +21,10 @@ URL: http://kde-apps.org/content/show.php/Apper?content=84745 Source10: 01-fedora-org.packagekit.updater.js ## upstream patches +#define git_patches 1 +%if 0%{?git_patches} +BuildRequires: git-core +%endif # hack around https://bugzilla.redhat.com/948099 Patch200: 0100-pk-cache-update-debugging.patch @@ -54,7 +58,20 @@ KDE interface for PackageKit. %prep %setup -q +%if 0%{?git_patches} +git init +if [ -z "$GIT_COMMITTER_NAME" ]; then +git config user.email "kde@lists.fedoraproject.org" +git config user.name "Fedora KDE SIG" +fi +git add . +git commit -a -q -m "%{version} baseline." + +# Apply all the patches +git am -p1 %{patches} < /dev/null +%else %patch200 -p1 -b .pk_cache_update +%endif %build mkdir -p %{_target_platform} From d3872c045f46b93af00b2ea924716cc65fc5a964 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Mon, 7 Dec 2015 10:51:40 -0600 Subject: [PATCH 09/45] Revert "fix/update tarball extension (now .tar.xz instead of .tar.bz2)" This reverts commit 83b9c9bb2fff11ccdee0313782af9d827e5e8c85. --- apper.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apper.spec b/apper.spec index ded7a98..ae0bc53 100644 --- a/apper.spec +++ b/apper.spec @@ -13,7 +13,7 @@ License: GPLv2+ # use releaseme/apper.rc --version 0.8.1 Source0: apper-%{version}-%{snap}.tar.bz2 %else -Source0: http://download.kde.org/stable/apper/%{version}/apper-%{version}.tar.xz +Source0: http://download.kde.org/stable/apper/%{version}/apper-%{version}.tar.bz2 %endif URL: http://kde-apps.org/content/show.php/Apper?content=84745 From f5ab5970fb89eadfcd060f9046d0874155d20898 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Mon, 7 Dec 2015 10:51:40 -0600 Subject: [PATCH 10/45] Revert "update to 0.8.2" This reverts commit ba1a8cadcdeed38e115a4c5243d6cae338d3f11f. --- .gitignore | 1 - apper-updater-l10n.patch | 21 +++++++++++++++++++++ apper.spec | 14 +++++--------- sources | 2 +- 4 files changed, 27 insertions(+), 11 deletions(-) create mode 100644 apper-updater-l10n.patch diff --git a/.gitignore b/.gitignore index 4e0924c..899e305 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ /apper-0.7.2.tar.bz2 /apper-0.8.1-20130624.tar.bz2 /apper-0.8.1.tar.bz2 -/apper-0.8.2.tar.xz diff --git a/apper-updater-l10n.patch b/apper-updater-l10n.patch new file mode 100644 index 0000000..3eb96b4 --- /dev/null +++ b/apper-updater-l10n.patch @@ -0,0 +1,21 @@ +commit 5abe135b5907ab10ed52be0046a3de0d52d98f22 +Author: Lukáš Tinkl +Date: Fri Aug 23 19:35:56 2013 +0200 + + load the main apper catalog for the applet + + for a 3rd time, make this thing show up translated... + +diff --git a/declarative-plugins/qmlplugins.cpp b/declarative-plugins/qmlplugins.cpp +index 9deb29f..b39b3d2 100644 +--- a/declarative-plugins/qmlplugins.cpp ++++ b/declarative-plugins/qmlplugins.cpp +@@ -35,6 +35,8 @@ + #include + #include + ++static const KCatalogLoader loader(QLatin1String("apper")); ++ + void QmlPlugins::registerTypes(const char* uri) + { + Q_ASSERT(uri == QLatin1String("org.kde.apper")); diff --git a/apper.spec b/apper.spec index ae0bc53..5156688 100644 --- a/apper.spec +++ b/apper.spec @@ -4,8 +4,8 @@ #define app_install 1 Name: apper -Version: 0.8.2 -Release: 1%{?dist} +Version: 0.8.1 +Release: 2%{?dist} Summary: KDE interface for PackageKit License: GPLv2+ @@ -27,6 +27,8 @@ BuildRequires: git-core %endif # hack around https://bugzilla.redhat.com/948099 Patch200: 0100-pk-cache-update-debugging.patch +# fix translations in the updater applet +Patch201: apper-updater-l10n.patch Obsoletes: kpackagekit < 0.7.0 @@ -72,6 +74,7 @@ git am -p1 %{patches} < /dev/null %else %patch200 -p1 -b .pk_cache_update %endif +%patch201 -p1 -b .applet-l10n %build mkdir -p %{_target_platform} @@ -124,8 +127,6 @@ fi %{_kde4_libdir}/apper/ %{_kde4_libdir}/kde4/kcm_apper.so %{_kde4_libdir}/kde4/kded_apperd.so -# (co)own the whole directory for now, nothing systemwide owns this in F19/F20 -%{_kde4_datadir}/appdata/ %{_kde4_datadir}/applications/kde4/apper.desktop %{_kde4_datadir}/applications/kde4/apper_*.desktop %{_kde4_datadir}/kde4/services/kcm_apper.desktop @@ -150,11 +151,6 @@ fi %changelog -* Sat Apr 19 2014 Kevin Kofler 0.8.2-1 -- update to 0.8.2 -- drop upstreamed apper-updater-l10n.patch -- update file list for the new apper.appdata.xml - * Mon Aug 26 2013 Lukáš Tinkl 0.8.1-2 - fix translations in the updater applet diff --git a/sources b/sources index a4f85e5..07db0ea 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -bac09cf96295623908c1a080152113ad apper-0.8.2.tar.xz +53dc89d5a2e95c3382c3f223a2ac8b17 apper-0.8.1.tar.bz2 From 6610d5c25bf923462bf4c5c1b0e882b63c412156 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 3 Feb 2016 16:22:29 +0000 Subject: [PATCH 11/45] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- apper.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apper.spec b/apper.spec index 43b074f..7ecde63 100644 --- a/apper.spec +++ b/apper.spec @@ -9,7 +9,7 @@ Name: apper Summary: KDE interface for PackageKit Version: 0.9.2 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv2+ %if 0%{?snap:1} @@ -153,6 +153,9 @@ fi %changelog +* Wed Feb 03 2016 Fedora Release Engineering - 0.9.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Thu Dec 17 2015 Rex Dieter 0.9.2-4 - (unversioned) Requires: kde-runtime From 08dfb5ff392d8697b33a30ef4909740f655840cf Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Thu, 5 May 2016 08:18:19 -0500 Subject: [PATCH 12/45] hard-code style (plastique/oxygen) to workaround UI glitches (#1209017) --- apper-0.9.2-style.patch | 14 ++++++++++++++ apper.spec | 7 ++++++- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 apper-0.9.2-style.patch diff --git a/apper-0.9.2-style.patch b/apper-0.9.2-style.patch new file mode 100644 index 0000000..ee2f6d6 --- /dev/null +++ b/apper-0.9.2-style.patch @@ -0,0 +1,14 @@ +diff -up apper-0.9.2/Apper/main.cpp.style apper-0.9.2/Apper/main.cpp +--- apper-0.9.2/Apper/main.cpp.style 2016-05-05 08:01:51.686047737 -0500 ++++ apper-0.9.2/Apper/main.cpp 2016-05-05 08:08:44.685622848 -0500 +@@ -127,5 +127,10 @@ int main(int argc, char **argv) + + Apper app; + ++ if ( ! qgetenv("KDE_FULL_SESSION").isEmpty() ) { ++ app.setStyle(QString("cleanlooks")); ++ app.setStyle(QString("oxygen")); ++ } ++ + return app.exec(); + } diff --git a/apper.spec b/apper.spec index 7ecde63..f57ca70 100644 --- a/apper.spec +++ b/apper.spec @@ -9,7 +9,7 @@ Name: apper Summary: KDE interface for PackageKit Version: 0.9.2 -Release: 5%{?dist} +Release: 6%{?dist} License: GPLv2+ %if 0%{?snap:1} @@ -33,6 +33,8 @@ Patch14: 0014-handle-dependencies-on-package-removal.patch Patch15: 0015-explicitly-set-PK-cache-age.patch ## upstreamable patches +# hardcode known-good styles +Patch100: apper-0.9.2-style.patch Obsoletes: kpackagekit < 0.7.0 Provides: kpackagekit = %{version}-%{release} @@ -153,6 +155,9 @@ fi %changelog +* Thu May 05 2016 Rex Dieter - 0.9.2-6 +- hard-code style (plastique/oxygen) to workaround UI glitches (#1209017) + * Wed Feb 03 2016 Fedora Release Engineering - 0.9.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild From fe6ea754e4fd32e42556f15c78997a12dffdb597 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Thu, 5 May 2016 12:36:10 -0500 Subject: [PATCH 13/45] %%autosetup (on rawhide) uses default patch flags now and at least 1 needs fuzz --- apper.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apper.spec b/apper.spec index f57ca70..23b5c4c 100644 --- a/apper.spec +++ b/apper.spec @@ -24,6 +24,8 @@ URL: https://projects.kde.org/projects/extragear/sysadmin/apper # plasma js to enable apper plasma applet Source10: 01-fedora-org.packagekit.updater.js +%global _default_patch_fuzz 2 + ## upstream patches # -hif (and yum?) backends apparently do not support !allow_deps at all, so don't try # https://bugzilla.redhat.com/show_bug.cgi?id=877038 From d582772e300673115ad180bc589e7ed45b83101d Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Thu, 2 Jun 2016 13:13:59 -0500 Subject: [PATCH 14/45] master/ branch snapshot, kf5-based --- .gitignore | 1 + ...ndle-dependencies-on-package-removal.patch | 26 ---- 0015-explicitly-set-PK-cache-age.patch | 133 ---------------- 01-fedora-org.packagekit.updater.js | 51 ------ apper-0.9.2-style.patch | 14 -- apper-0.9.3-style.patch | 13 ++ apper.sh | 16 ++ apper.spec | 146 +++++++----------- sources | 2 +- 9 files changed, 88 insertions(+), 314 deletions(-) delete mode 100644 0014-handle-dependencies-on-package-removal.patch delete mode 100644 0015-explicitly-set-PK-cache-age.patch delete mode 100644 01-fedora-org.packagekit.updater.js delete mode 100644 apper-0.9.2-style.patch create mode 100644 apper-0.9.3-style.patch create mode 100644 apper.sh diff --git a/.gitignore b/.gitignore index 89b91fb..914433e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /apper-0.9.2.tar.xz +/apper-0.9.3-20160329git.tar.xz diff --git a/0014-handle-dependencies-on-package-removal.patch b/0014-handle-dependencies-on-package-removal.patch deleted file mode 100644 index 19a113b..0000000 --- a/0014-handle-dependencies-on-package-removal.patch +++ /dev/null @@ -1,26 +0,0 @@ -From cc472bd1e3da2f79059e2e30e021d36f4f2b016a Mon Sep 17 00:00:00 2001 -From: Rex Dieter -Date: Wed, 28 Oct 2015 08:27:00 -0500 -Subject: [PATCH 14/15] handle dependencies on package removal - -BUG: 315063 ---- - libapper/PkTransaction.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/libapper/PkTransaction.cpp b/libapper/PkTransaction.cpp -index 75c9daa..c070810 100644 ---- a/libapper/PkTransaction.cpp -+++ b/libapper/PkTransaction.cpp -@@ -133,7 +133,7 @@ void PkTransaction::removePackages(const QStringList &packages) - { - // if (Daemon::global()->roles() & Transaction::RoleRemovePackages) { - d->originalRole = Transaction::RoleRemovePackages; -- d->allowDeps = false; // Default to avoid dependencies removal unless simulate says so -+ d->allowDeps = true; // *was* false, Default to avoid dependencies removal unless simulate says so, except for https://bugs.kde.org/show_bug.cgi?id=315063 - d->packages = packages; - d->flags = Transaction::TransactionFlagOnlyTrusted | Transaction::TransactionFlagSimulate; - --- -1.9.3 - diff --git a/0015-explicitly-set-PK-cache-age.patch b/0015-explicitly-set-PK-cache-age.patch deleted file mode 100644 index 6b76692..0000000 --- a/0015-explicitly-set-PK-cache-age.patch +++ /dev/null @@ -1,133 +0,0 @@ -From 0e13f4c2005235cd7e3d200f5382ca7725bb7431 Mon Sep 17 00:00:00 2001 -From: Rex Dieter -Date: Wed, 28 Oct 2015 08:28:41 -0500 -Subject: [PATCH 15/15] explicitly set PK cache-age - -Recent versions of PackageKit default to cache-age of infinity, since -https://github.com/hughsie/PackageKit/commit/1615ace6ea5f3348ab8c76b713809bbe5a450d23 - -REVIEW: 125840 ---- - ApperKCM/ApperKCM.cpp | 2 ++ - ApperKCM/ApperKCM.h | 1 + - apperd/RefreshCacheTask.cpp | 4 +++- - apperd/RefreshCacheTask.h | 1 + - declarative-plugins/daemonhelper.cpp | 5 +++++ - declarative-plugins/daemonhelper.h | 1 + - plasmoid/package/contents/ui/Transaction.qml | 2 ++ - 7 files changed, 15 insertions(+), 1 deletion(-) - -diff --git a/ApperKCM/ApperKCM.cpp b/ApperKCM/ApperKCM.cpp -index c0d8dc7..8cfe823 100644 ---- a/ApperKCM/ApperKCM.cpp -+++ b/ApperKCM/ApperKCM.cpp -@@ -78,6 +78,7 @@ ApperKCM::ApperKCM(QWidget *parent, const QVariantList &args) : - m_findIcon("edit-find"), - m_cancelIcon("dialog-cancel"), - m_forceRefreshCache(false), -+ m_cacheAge(600), - m_history(0), - m_searchRole(Transaction::RoleUnknown) - { -@@ -761,6 +762,7 @@ void ApperKCM::refreshCache() - PkTransactionWidget *transactionW = new PkTransactionWidget(this); - connect(transactionW, SIGNAL(titleChangedProgress(QString)), this, SIGNAL(caption(QString))); - QPointer transaction = new PkTransaction(transactionW); -+ Daemon::setHints (QLatin1String("cache-age=")+QString::number(m_cacheAge)); - transaction->refreshCache(m_forceRefreshCache); - transactionW->setTransaction(transaction, Transaction::RoleRefreshCache); - -diff --git a/ApperKCM/ApperKCM.h b/ApperKCM/ApperKCM.h -index 317ba3a..18e9c70 100644 ---- a/ApperKCM/ApperKCM.h -+++ b/ApperKCM/ApperKCM.h -@@ -119,6 +119,7 @@ private: - FiltersMenu *m_filtersMenu; - Transaction::Roles m_roles; - bool m_forceRefreshCache; -+ uint m_cacheAge; - - TransactionHistory *m_history; - -diff --git a/apperd/RefreshCacheTask.cpp b/apperd/RefreshCacheTask.cpp -index c10aeec..7a6ee3f 100644 ---- a/apperd/RefreshCacheTask.cpp -+++ b/apperd/RefreshCacheTask.cpp -@@ -33,7 +33,8 @@ RefreshCacheTask::RefreshCacheTask(QObject *parent) : - QObject(parent), - m_transaction(0), - m_notification(0), -- m_lastError(Transaction::ErrorUnknown) -+ m_lastError(Transaction::ErrorUnknown), -+ m_cacheAge(3600) - { - } - -@@ -43,6 +44,7 @@ void RefreshCacheTask::refreshCache() - if (!m_transaction) { - // Refresh Cache is false otherwise it will rebuild - // the whole cache on Fedora -+ Daemon::setHints (QLatin1String("cache-age=")+QString::number(m_cacheAge)); - m_transaction = Daemon::refreshCache(false); - connect(m_transaction, SIGNAL(finished(PackageKit::Transaction::Exit,uint)), - this, SLOT(refreshCacheFinished(PackageKit::Transaction::Exit,uint))); -diff --git a/apperd/RefreshCacheTask.h b/apperd/RefreshCacheTask.h -index a10c78f..13859ff 100644 ---- a/apperd/RefreshCacheTask.h -+++ b/apperd/RefreshCacheTask.h -@@ -44,6 +44,7 @@ private: - Transaction *m_transaction; - KNotification *m_notification; - Transaction::Error m_lastError; -+ uint m_cacheAge; - QString m_lastErrorString; - }; - -diff --git a/declarative-plugins/daemonhelper.cpp b/declarative-plugins/daemonhelper.cpp -index 9e5dc97..df6740e 100644 ---- a/declarative-plugins/daemonhelper.cpp -+++ b/declarative-plugins/daemonhelper.cpp -@@ -32,3 +32,8 @@ uint DaemonHelper::getTimeSinceLastRefresh() - { - return Daemon::global()->getTimeSinceAction(Transaction::RoleRefreshCache); - } -+ -+void DaemonHelper::setCacheAge (int age) -+{ -+ Daemon::setHints(QLatin1String("cache-age=")+QString::number(age)); -+} -diff --git a/declarative-plugins/daemonhelper.h b/declarative-plugins/daemonhelper.h -index 469a481..b49d292 100644 ---- a/declarative-plugins/daemonhelper.h -+++ b/declarative-plugins/daemonhelper.h -@@ -30,6 +30,7 @@ public: - - public Q_SLOTS: - uint getTimeSinceLastRefresh(); -+ void setCacheAge (int age); - }; - - #endif // DAEMONHELPER_H -diff --git a/plasmoid/package/contents/ui/Transaction.qml b/plasmoid/package/contents/ui/Transaction.qml -index f16409f..9153365 100644 ---- a/plasmoid/package/contents/ui/Transaction.qml -+++ b/plasmoid/package/contents/ui/Transaction.qml -@@ -27,6 +27,7 @@ FocusScope { - clip: true - - property int progressWidth: 30 -+ property int cacheAge: 600 - property alias transaction: updateTransaction - - signal finished(bool success); -@@ -38,6 +39,7 @@ FocusScope { - - function refreshCache() { - updateTransaction.enableJobWatcher(false); -+ DaemonHelper.setCacheAge(cacheAge); - updateTransaction.refreshCache(false); - } - --- -1.9.3 - diff --git a/01-fedora-org.packagekit.updater.js b/01-fedora-org.packagekit.updater.js deleted file mode 100644 index 8f201aa..0000000 --- a/01-fedora-org.packagekit.updater.js +++ /dev/null @@ -1,51 +0,0 @@ -/* - 01-fedora-apper.js - Add Apper updater plasmoid to the systray - Copyright (C) 2010-2012 Kevin Kofler - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - - Portions lifted from 01-kubuntu-10.04.js: - Harald Sitter, apachelogger@ubuntu.com 2010-04-02 - Jonathan Riddell, jriddell@ubuntu.com 2010-02-18 - Copyright Canonical Ltd, may be copied under the GNU GPL 2 or later -*/ - -if (userDataPath() != "/home/liveuser") { - -systrayFound = false; -pids = panelIds; -for (i = 0; i < pids.length; ++i) { - p = panelById(pids[i]); - if (!p) continue; - ids = p.widgetIds; - for (j = 0; j < ids.length; ++j) { - w = p.widgetById(ids[j]); - if (!w || w.type != "systemtray") continue; - systrayFound = true; - w.currentConfigGroup = new Array("Applets"); - max = 0; - for (k = 0; k < w.configGroups.length; ++k) - if (parseInt(w.configGroups[k]) > max) - max = parseInt(w.configGroups[k]); - w.currentConfigGroup = new Array("Applets", max + 1); - w.writeConfig("plugin", "org.packagekit.updater"); - print("Apper updater plasmoid added to the systray"); - break; - } - if (systrayFound) break; -} -if (!systrayFound) - print("No systray found"); - -} diff --git a/apper-0.9.2-style.patch b/apper-0.9.2-style.patch deleted file mode 100644 index ee2f6d6..0000000 --- a/apper-0.9.2-style.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -up apper-0.9.2/Apper/main.cpp.style apper-0.9.2/Apper/main.cpp ---- apper-0.9.2/Apper/main.cpp.style 2016-05-05 08:01:51.686047737 -0500 -+++ apper-0.9.2/Apper/main.cpp 2016-05-05 08:08:44.685622848 -0500 -@@ -127,5 +127,10 @@ int main(int argc, char **argv) - - Apper app; - -+ if ( ! qgetenv("KDE_FULL_SESSION").isEmpty() ) { -+ app.setStyle(QString("cleanlooks")); -+ app.setStyle(QString("oxygen")); -+ } -+ - return app.exec(); - } diff --git a/apper-0.9.3-style.patch b/apper-0.9.3-style.patch new file mode 100644 index 0000000..395808a --- /dev/null +++ b/apper-0.9.3-style.patch @@ -0,0 +1,13 @@ +diff -up apper-0.9.3/Apper/main.cpp.style apper-0.9.3/Apper/main.cpp +--- apper-0.9.3/Apper/main.cpp.style 2016-03-29 09:11:50.000000000 -0500 ++++ apper-0.9.3/Apper/main.cpp 2016-05-12 13:43:40.037400293 -0500 +@@ -49,5 +49,9 @@ int main(int argc, char **argv) + + app.activate(app.arguments(), QDir::currentPath()); + ++ if ( ! qgetenv("KDE_FULL_SESSION").isEmpty() ) { ++ app.setStyle(QString("fusion")); ++ } ++ + return app.exec(); + } diff --git a/apper.sh b/apper.sh new file mode 100644 index 0000000..1a528eb --- /dev/null +++ b/apper.sh @@ -0,0 +1,16 @@ +MODULE=apper +VERSION=0.9.3 +DATE=$(date +%Y%m%d)git + +set -x + +rm -rf $MODULE + +git clone kde:$MODULE +pushd $MODULE +git archive master --format tar --prefix=${MODULE}-${VERSION}/ | xz -9 > ../${MODULE}-${VERSION}-${DATE}.tar.xz +popd + +rm -rf $MODULE + + diff --git a/apper.spec b/apper.spec index 23b5c4c..4a410fa 100644 --- a/apper.spec +++ b/apper.spec @@ -1,42 +1,24 @@ -## appstream disabled, just not ready yet, -## https://bugzilla.redhat.com/1180819#c20 -#define appstream 1 -%if 0%{?fedora} > 21 -%define plasma5 1 -%endif +%global snap 20160329 Name: apper Summary: KDE interface for PackageKit -Version: 0.9.2 -Release: 6%{?dist} +Version: 0.9.3 +Release: 0.1.%{snap}%{?dist} License: GPLv2+ %if 0%{?snap:1} -# use releaseme/apper.rc -Source0: apper-%{version}-%{snap}.tar.xz +Source0: apper-%{version}-%{snap}git.tar.xz %else -Source0: http://download.kde.org/stable/apper/%{version}/src/apper-%{version}.tar.xz +Source0: http://download.kde.org/stable/apper/%{version}/src/apper-0.9.2.tar.xz %endif -URL: https://projects.kde.org/projects/extragear/sysadmin/apper -#URL: http://kde-apps.org/content/show.php/Apper?content=84745 - -# plasma js to enable apper plasma applet -Source10: 01-fedora-org.packagekit.updater.js - -%global _default_patch_fuzz 2 +URL: https://quickgit.kde.org/?p=%{name}.git ## upstream patches -# -hif (and yum?) backends apparently do not support !allow_deps at all, so don't try -# https://bugzilla.redhat.com/show_bug.cgi?id=877038 -# http://bugs.kde.org/show_bug.cgi?id=315063 -Patch14: 0014-handle-dependencies-on-package-removal.patch -# explicitly set PackageKit cache-age parameter, since PK defaults to something silly like inifinity. -Patch15: 0015-explicitly-set-PK-cache-age.patch ## upstreamable patches -# hardcode known-good styles -Patch100: apper-0.9.2-style.patch +# hardcode known-good styles (fusion) +Patch100: apper-0.9.3-style.patch Obsoletes: kpackagekit < 0.7.0 Provides: kpackagekit = %{version}-%{release} @@ -46,48 +28,48 @@ Provides: PackageKit-session-service BuildRequires: chrpath BuildRequires: desktop-file-utils BuildRequires: gettext -BuildRequires: kdelibs4-devel -BuildRequires: kde-workspace-devel -%if 0%{?appstream:1} -BuildRequires: pkgconfig(appstream) -## http://bugzilla.redhat.com/1026117 -#Requires: appstream-data -%endif -BuildRequires: pkgconfig(dbus-1) -BuildRequires: pkgconfig(packagekitqt4) >= 0.9.2 -%global pk_version %(pkg-config --modversion packagekitqt4 2> /dev/null || echo 0.9.2) +BuildRequires: cmake(KDED) +BuildRequires: cmake(KF5Config) +BuildRequires: cmake(KF5DocTools) +BuildRequires: cmake(KF5GuiAddons) +BuildRequires: cmake(KF5I18n) +BuildRequires: cmake(KF5KCMUtils) +BuildRequires: cmake(KF5DBusAddons) +BuildRequires: cmake(KF5KIO) +BuildRequires: cmake(KF5Notifications) +BuildRequires: cmake(KF5KDELibs4Support) +BuildRequires: cmake(LibKWorkspace) + +BuildRequires: pkgconfig(dbus-1) +BuildRequires: pkgconfig(packagekitqt5) -Requires: kde-runtime -Requires: PackageKit-Qt%{?_isa} >= %{pk_version} Requires: PackageKit -%if 0%{?plasma5} -Requires: plasma-pk-updates -%endif %description KDE interface for PackageKit. +%package updater +Summary: Apper plasma updater applet +Requires: %{name} = %{version}-%{release} +%description updater +%{summary}. + %prep %autosetup -p1 -%if 0%{?plasma5} -sed -e 's|^add_subdirectory(declarative-plugins)|#add_subdirectory(declarative-plugins)|g' \ - -e 's|^add_subdirectory(apperd)|#add_subdirectory(apperd)|g' \ - -e 's|^add_subdirectory(plasmoid)|#add_subdirectory(plasmoid)|g' \ - -i CMakeLists.txt -rm -fv po/*/plasma_applet_org.packagekit.updater.po -%endif +# disable update applet by default +sed -i \ + -e 's|X-KDE-PluginInfo-EnabledByDefault=.*|X-KDE-PluginInfo-EnabledByDefault=false|g' \ + plasmoid/package/metadata.desktop %build mkdir %{_target_platform} pushd %{_target_platform} -%{cmake_kde4} \ - %{?appinstall:-DAPPINSTALL:BOOL=ON} \ +%{cmake_kf5} .. \ %{?appstream:-DAPPSTREAM:BOOL=ON} \ - -DAUTOREMOVE:BOOL=OFF \ - .. + -DAUTOREMOVE:BOOL=OFF popd make %{?_smp_mflags} -C %{_target_platform} @@ -96,27 +78,13 @@ make %{?_smp_mflags} -C %{_target_platform} %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} -%find_lang apper --all-name --with-kde || echo "WARNING: missing translations" - # hack around gnome-packagekit conflict mv %{buildroot}%{_datadir}/dbus-1/services/org.freedesktop.PackageKit.service \ %{buildroot}%{_datadir}/dbus-1/services/kde-org.freedesktop.PackageKit.service -# hack around rpath oddness -chrpath --list %{buildroot}%{_kde4_bindir}/apper -chrpath --replace %{_kde4_libdir}/apper %{buildroot}%{_kde4_bindir}/apper - -%if ! 0%{?plasma5} -# show apper updater systray applet by default -install -m644 -p -D %{SOURCE10} %{buildroot}%{_kde4_appsdir}/plasma-desktop/init/01-fedora-org.packagekit.updater.js -mkdir -p %{buildroot}%{_kde4_appsdir}/plasma-desktop/updates/ -ln %{buildroot}%{_kde4_appsdir}/plasma-desktop/init/01-fedora-org.packagekit.updater.js \ - %{buildroot}%{_kde4_appsdir}/plasma-desktop/updates/01-fedora-org.packagekit.updater.js -%endif - %check -desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/kde4/apper.desktop +desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/apper.desktop %posttrans @@ -127,36 +95,36 @@ if [ $1 -eq 0 ] ; then update-desktop-database -q 2> /dev/null ||: fi -%files -f apper.lang +%files %doc TODO %license COPYING -%{_kde4_bindir}/apper -%{_kde4_libdir}/apper/ -%{_kde4_libdir}/kde4/kcm_apper.so -%{_kde4_datadir}/applications/kde4/apper.desktop -%{_kde4_datadir}/applications/kde4/apper_*.desktop -%{_kde4_datadir}/kde4/services/kcm_apper.desktop -%{_kde4_appsdir}/apper/ +%{_kf5_bindir}/apper +%{_kf5_datadir}/apper/ +%{_kf5_datadir}/applications/apper.desktop +%{_kf5_datadir}/applications/apper_installer.desktop +%{_kf5_datadir}/applications/apper_settings.desktop +%{_kf5_datadir}/applications/apper_updates.desktop +%{_kf5_libdir}/apper/ +%{_qt5_importdir}/org/kde/apper/ +%{_libexecdir}/apper-pk-session %{_datadir}/dbus-1/services/kde-org.freedesktop.PackageKit.service -%{_kde4_libexecdir}/apper-pk-session +%{_kf5_qtplugindir}/kcm_apper.so +%{_kf5_datadir}/kservices5/kcm_apper.desktop +%{_kf5_qtplugindir}/kded_apperd.so +%{_kf5_datadir}/kservices5/kded/apperd.desktop +%{_kf5_datadir}/apperd/ %{_mandir}/man1/apper.1* -%if ! 0%{?plasma5} -# apperd -%{_kde4_libdir}/kde4/kded_apperd.so -%{_kde4_datadir}/kde4/services/kded/apperd.desktop -%{_kde4_appsdir}/apperd/ -# plasma-applet-updater -%{_kde4_appsdir}/plasma/plasmoids/org.packagekit.updater/ -%{_kde4_appsdir}/plasma-desktop/init/01-fedora-org.packagekit.updater.js -%{_kde4_appsdir}/plasma-desktop/updates/01-fedora-org.packagekit.updater.js -%{_kde4_datadir}/kde4/services/plasma-applet-org.packagekit.updater.desktop -%{_kde4_libdir}/kde4/imports/org/kde/apper/ -%endif -# appdata %{_datadir}/appdata/apper.appdata.xml +%files updater +%{_kf5_datadir}/kservices5/plasma-applet-org.packagekit.updater.desktop +%{_kf5_datadir}/plasma/plasmoids/org.packagekit.updater/ + %changelog +* Thu Jun 02 2016 Rex Dieter - 0.9.3-0.1.20160329 +- master/ branch snapshot, kf5-based + * Thu May 05 2016 Rex Dieter - 0.9.2-6 - hard-code style (plastique/oxygen) to workaround UI glitches (#1209017) diff --git a/sources b/sources index 672392d..e389090 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -58a49ef36393c412be4b00bd62f79985 apper-0.9.2.tar.xz +f6bfad2525ab1e843dd0305ed4da7474 apper-0.9.3-20160329git.tar.xz From 081dd58301c849a563e9ef520cb419b9bae93712 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Thu, 2 Jun 2016 13:26:30 -0500 Subject: [PATCH 15/45] BR: ecm kf5-rpm-macros --- apper.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apper.spec b/apper.spec index 4a410fa..3f77df6 100644 --- a/apper.spec +++ b/apper.spec @@ -39,6 +39,8 @@ BuildRequires: cmake(KF5KIO) BuildRequires: cmake(KF5Notifications) BuildRequires: cmake(KF5KDELibs4Support) BuildRequires: cmake(LibKWorkspace) +BuildRequires: extra-cmake-modules +BuildRequires: kf5-rpm-macros BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(packagekitqt5) From fe0ee2062ebe4bc13dbc86389850563596dd6f44 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Fri, 3 Jun 2016 06:41:57 -0500 Subject: [PATCH 16/45] BR: Qt5 deps --- apper.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apper.spec b/apper.spec index 3f77df6..94072f0 100644 --- a/apper.spec +++ b/apper.spec @@ -39,6 +39,10 @@ BuildRequires: cmake(KF5KIO) BuildRequires: cmake(KF5Notifications) BuildRequires: cmake(KF5KDELibs4Support) BuildRequires: cmake(LibKWorkspace) +BuildRequires: cmake(Qt5QuickConfig) +BuildRequires: cmake(Qt5Sql) +BuildRequires: cmake(Qt5Widgets) +BuildRequires: cmake(Qt5XmlPatterns) BuildRequires: extra-cmake-modules BuildRequires: kf5-rpm-macros From 65af31f195164cc3ac9fb3c8654e018269b01e16 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Fri, 3 Jun 2016 06:46:59 -0500 Subject: [PATCH 17/45] typo, fix Qt5Quick BR --- apper.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apper.spec b/apper.spec index 94072f0..776ad59 100644 --- a/apper.spec +++ b/apper.spec @@ -39,7 +39,7 @@ BuildRequires: cmake(KF5KIO) BuildRequires: cmake(KF5Notifications) BuildRequires: cmake(KF5KDELibs4Support) BuildRequires: cmake(LibKWorkspace) -BuildRequires: cmake(Qt5QuickConfig) +BuildRequires: cmake(Qt5Quick) BuildRequires: cmake(Qt5Sql) BuildRequires: cmake(Qt5Widgets) BuildRequires: cmake(Qt5XmlPatterns) From 47243584e35c9f330d80119c7fd8b31723356d5f Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Tue, 5 Jul 2016 07:56:10 -0500 Subject: [PATCH 18/45] %check: verify rpath --- apper.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apper.spec b/apper.spec index 776ad59..780b970 100644 --- a/apper.spec +++ b/apper.spec @@ -4,7 +4,7 @@ Name: apper Summary: KDE interface for PackageKit Version: 0.9.3 -Release: 0.1.%{snap}%{?dist} +Release: 0.2.%{snap}%{?dist} License: GPLv2+ %if 0%{?snap:1} @@ -90,6 +90,7 @@ mv %{buildroot}%{_datadir}/dbus-1/services/org.freedesktop.PackageKit.service \ %check +chrpath --list %{buildroot}%{_kf5_bindir}/apper desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/apper.desktop @@ -128,6 +129,9 @@ fi %changelog +* Tue Jul 05 2016 Rex Dieter - 0.9.3-0.2.20160329 +- %%check: verify rpath + * Thu Jun 02 2016 Rex Dieter - 0.9.3-0.1.20160329 - master/ branch snapshot, kf5-based From 7285ad4feb8282a4c759fd9b39602050b7e7bad7 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Tue, 20 Sep 2016 10:39:04 -0500 Subject: [PATCH 19/45] restore rpath hack --- apper.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/apper.spec b/apper.spec index 780b970..3312368 100644 --- a/apper.spec +++ b/apper.spec @@ -4,7 +4,7 @@ Name: apper Summary: KDE interface for PackageKit Version: 0.9.3 -Release: 0.2.%{snap}%{?dist} +Release: 0.3.%{snap}%{?dist} License: GPLv2+ %if 0%{?snap:1} @@ -88,9 +88,12 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} mv %{buildroot}%{_datadir}/dbus-1/services/org.freedesktop.PackageKit.service \ %{buildroot}%{_datadir}/dbus-1/services/kde-org.freedesktop.PackageKit.service +# hack around rpath oddness +chrpath --list %{buildroot}%{_kf5_bindir}/apper +chrpath --replace %{_kf5_libdir}/apper %{buildroot}%{_kf5_bindir}/apper + %check -chrpath --list %{buildroot}%{_kf5_bindir}/apper desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/apper.desktop @@ -129,6 +132,9 @@ fi %changelog +* Tue Sep 20 2016 Rex Dieter - 0.9.3-0.3.20160329 +- restore rpath hack + * Tue Jul 05 2016 Rex Dieter - 0.9.3-0.2.20160329 - %%check: verify rpath From ef7ce9fb8da3ccfa5c1cb87bd1919c076a29da65 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Thu, 10 Nov 2016 07:45:53 -0600 Subject: [PATCH 20/45] 0.9.3-0.4.20161109 - 20161109 snapshot, namespaced appdata/.desktop - Recommends: qt5-style-oxygen, support APPER_NO_STYLE_OVERRIDE env --- .gitignore | 1 + apper-0.9.3-style.patch | 4 ++-- apper.spec | 23 ++++++++++++++--------- sources | 2 +- 4 files changed, 18 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 914433e..e5d0180 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /apper-0.9.2.tar.xz /apper-0.9.3-20160329git.tar.xz +/apper-0.9.3-20161109git.tar.xz diff --git a/apper-0.9.3-style.patch b/apper-0.9.3-style.patch index 395808a..1149b96 100644 --- a/apper-0.9.3-style.patch +++ b/apper-0.9.3-style.patch @@ -5,8 +5,8 @@ diff -up apper-0.9.3/Apper/main.cpp.style apper-0.9.3/Apper/main.cpp app.activate(app.arguments(), QDir::currentPath()); -+ if ( ! qgetenv("KDE_FULL_SESSION").isEmpty() ) { -+ app.setStyle(QString("fusion")); ++ if ( ! qgetenv("KDE_FULL_SESSION").isEmpty() && qgetenv("APPER_NO_STYLE_OVERRIDE").isEmpty() ) { ++ app.setStyle(QString("oxygen")); + } + return app.exec(); diff --git a/apper.spec b/apper.spec index 3312368..6fb6df3 100644 --- a/apper.spec +++ b/apper.spec @@ -1,10 +1,10 @@ -%global snap 20160329 +%global snap 20161109 Name: apper Summary: KDE interface for PackageKit Version: 0.9.3 -Release: 0.3.%{snap}%{?dist} +Release: 0.4.%{snap}%{?dist} License: GPLv2+ %if 0%{?snap:1} @@ -17,8 +17,9 @@ URL: https://quickgit.kde.org/?p=%{name}.git ## upstream patches ## upstreamable patches -# hardcode known-good styles (fusion) +# hardcode known-good styles (oxygen) Patch100: apper-0.9.3-style.patch +Recommends: qt5-style-oxygen%{?_isa} Obsoletes: kpackagekit < 0.7.0 Provides: kpackagekit = %{version}-%{release} @@ -94,7 +95,7 @@ chrpath --replace %{_kf5_libdir}/apper %{buildroot}%{_kf5_bindir}/apper %check -desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/apper.desktop +desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.apper.desktop ||: %posttrans @@ -110,10 +111,10 @@ fi %license COPYING %{_kf5_bindir}/apper %{_kf5_datadir}/apper/ -%{_kf5_datadir}/applications/apper.desktop -%{_kf5_datadir}/applications/apper_installer.desktop -%{_kf5_datadir}/applications/apper_settings.desktop -%{_kf5_datadir}/applications/apper_updates.desktop +%{_kf5_datadir}/applications/org.kde.apper.desktop +%{_kf5_datadir}/applications/org.kde.apper_installer.desktop +%{_kf5_datadir}/applications/org.kde.apper_settings.desktop +%{_kf5_datadir}/applications/org.kde.apper_updates.desktop %{_kf5_libdir}/apper/ %{_qt5_importdir}/org/kde/apper/ %{_libexecdir}/apper-pk-session @@ -124,7 +125,7 @@ fi %{_kf5_datadir}/kservices5/kded/apperd.desktop %{_kf5_datadir}/apperd/ %{_mandir}/man1/apper.1* -%{_datadir}/appdata/apper.appdata.xml +%{_datadir}/appdata/org.kde.apper.appdata.xml %files updater %{_kf5_datadir}/kservices5/plasma-applet-org.packagekit.updater.desktop @@ -132,6 +133,10 @@ fi %changelog +* Thu Nov 10 2016 Rex Dieter - 0.9.3-0.4.20161109 +- 20161109 snapshot, namespaced appdata/.desktop +- Recommends: qt5-style-oxygen, support APPER_NO_STYLE_OVERRIDE env + * Tue Sep 20 2016 Rex Dieter - 0.9.3-0.3.20160329 - restore rpath hack diff --git a/sources b/sources index e389090..dcb1d90 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f6bfad2525ab1e843dd0305ed4da7474 apper-0.9.3-20160329git.tar.xz +7c66df0f58cbf86579fbd3fad62748c4 apper-0.9.3-20161109git.tar.xz From ceacae780cb181197795544cdba4eddf168f3114 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Thu, 22 Dec 2016 08:40:16 -0600 Subject: [PATCH 21/45] apper crashes on startup (#1400011, kde#372292) --- .gitignore | 1 + apper.spec | 10 ++++++++-- sources | 3 ++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index e5d0180..9a2308c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /apper-0.9.2.tar.xz /apper-0.9.3-20160329git.tar.xz /apper-0.9.3-20161109git.tar.xz +/0001-use-correct-QDialog-finished-signal-prototype.patch diff --git a/apper.spec b/apper.spec index 6fb6df3..a2fcedd 100644 --- a/apper.spec +++ b/apper.spec @@ -4,7 +4,7 @@ Name: apper Summary: KDE interface for PackageKit Version: 0.9.3 -Release: 0.4.%{snap}%{?dist} +Release: 0.5.%{snap}%{?dist} License: GPLv2+ %if 0%{?snap:1} @@ -14,7 +14,10 @@ Source0: http://download.kde.org/stable/apper/%{version}/src/apper-0.9.2.tar.xz %endif URL: https://quickgit.kde.org/?p=%{name}.git -## upstream patches +## upstream patches (in lookaside cache) +# https://bugzilla.redhat.com/show_bug.cgi?id=1400011 +# https://bugs.kde.org/show_bug.cgi?id=372292 +Patch1: 0001-use-correct-QDialog-finished-signal-prototype.patch ## upstreamable patches # hardcode known-good styles (oxygen) @@ -133,6 +136,9 @@ fi %changelog +* Thu Dec 22 2016 Rex Dieter - 0.9.3-0.5.20161109 +- apper crashes on startup (#1400011, kde#372292) + * Thu Nov 10 2016 Rex Dieter - 0.9.3-0.4.20161109 - 20161109 snapshot, namespaced appdata/.desktop - Recommends: qt5-style-oxygen, support APPER_NO_STYLE_OVERRIDE env diff --git a/sources b/sources index dcb1d90..64342aa 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ -7c66df0f58cbf86579fbd3fad62748c4 apper-0.9.3-20161109git.tar.xz +SHA512 (apper-0.9.3-20161109git.tar.xz) = 084124c82f00b62979a5b62b4c25088d3611a8e6c4a8565aef7058bedb777c706b6cf66b581148bb3e2a5ebd466b4d057bb67604c79d27a8a822e0b307336a84 +SHA512 (0001-use-correct-QDialog-finished-signal-prototype.patch) = dcd6e17d2f11dae93cddbcb90f66563e2af222a3acf72733f55b5908ecf6843084702325e09cf1721d37e826cdbf22a5fe0665e3d1b3ee73d2ab3f7bf0e3a420 From 54f175417e517c1d576cca33f8194171f0a00f41 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 10 Feb 2017 06:09:05 +0000 Subject: [PATCH 22/45] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- apper.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apper.spec b/apper.spec index a2fcedd..6e53a37 100644 --- a/apper.spec +++ b/apper.spec @@ -4,7 +4,7 @@ Name: apper Summary: KDE interface for PackageKit Version: 0.9.3 -Release: 0.5.%{snap}%{?dist} +Release: 0.6.%{snap}%{?dist} License: GPLv2+ %if 0%{?snap:1} @@ -136,6 +136,9 @@ fi %changelog +* Fri Feb 10 2017 Fedora Release Engineering - 0.9.3-0.6.20161109 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Thu Dec 22 2016 Rex Dieter - 0.9.3-0.5.20161109 - apper crashes on startup (#1400011, kde#372292) From 956333b3b94b3b57fbb86a89381aeecf2a9bc367 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Wed, 15 Mar 2017 09:21:57 -0500 Subject: [PATCH 23/45] fresh snapshot, includes theming fix omit broken -updater subpkg (for now at least) update URL --- .gitignore | 5 +---- apper.spec | 33 ++++++++++++++++++++++++--------- sources | 3 +-- 3 files changed, 26 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index 9a2308c..e7660be 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1 @@ -/apper-0.9.2.tar.xz -/apper-0.9.3-20160329git.tar.xz -/apper-0.9.3-20161109git.tar.xz -/0001-use-correct-QDialog-finished-signal-prototype.patch +/apper-0.9.3-20170226git.tar.xz diff --git a/apper.spec b/apper.spec index 6e53a37..ebaaf5b 100644 --- a/apper.spec +++ b/apper.spec @@ -1,10 +1,12 @@ -%global snap 20161109 +%global snap 20170226 +# include -updater applet subpkg or not +#global updater 1 Name: apper Summary: KDE interface for PackageKit Version: 0.9.3 -Release: 0.6.%{snap}%{?dist} +Release: 0.7.%{snap}%{?dist} License: GPLv2+ %if 0%{?snap:1} @@ -12,23 +14,22 @@ Source0: apper-%{version}-%{snap}git.tar.xz %else Source0: http://download.kde.org/stable/apper/%{version}/src/apper-0.9.2.tar.xz %endif -URL: https://quickgit.kde.org/?p=%{name}.git +URL: https://cgit.kde.org/apper.git ## upstream patches (in lookaside cache) -# https://bugzilla.redhat.com/show_bug.cgi?id=1400011 -# https://bugs.kde.org/show_bug.cgi?id=372292 -Patch1: 0001-use-correct-QDialog-finished-signal-prototype.patch ## upstreamable patches -# hardcode known-good styles (oxygen) -Patch100: apper-0.9.3-style.patch -Recommends: qt5-style-oxygen%{?_isa} +Patch100: apper-0.9.3-crash.patch Obsoletes: kpackagekit < 0.7.0 Provides: kpackagekit = %{version}-%{release} # required because gnome-packagekit provides exactly the same interface Provides: PackageKit-session-service +%if ! 0%{?updater} +Obsoletes: apper-updater < %{version}-%{release} +%endif + BuildRequires: chrpath BuildRequires: desktop-file-utils BuildRequires: gettext @@ -68,10 +69,17 @@ Requires: %{name} = %{version}-%{release} %prep %autosetup -p1 +%if 0%{?updater} # disable update applet by default sed -i \ -e 's|X-KDE-PluginInfo-EnabledByDefault=.*|X-KDE-PluginInfo-EnabledByDefault=false|g' \ plasmoid/package/metadata.desktop +%else +sed -i.no_plasmoid \ + -e 's|^add_subdirectory(plasmoid)|#add_subdirectory(plasmoid)|g' \ + CMakeLists.txt +mv plasmoid plasmoid.no_plasmoid +%endif %build @@ -130,12 +138,19 @@ fi %{_mandir}/man1/apper.1* %{_datadir}/appdata/org.kde.apper.appdata.xml +%if 0%{?updater} %files updater %{_kf5_datadir}/kservices5/plasma-applet-org.packagekit.updater.desktop %{_kf5_datadir}/plasma/plasmoids/org.packagekit.updater/ +%endif %changelog +* Wed Mar 15 2017 Rex Dieter - 0.9.3-0.7.20170226 +- fresh snapshot, includes theming fix +- omit broken -updater subpkg (for now at least) +- update URL + * Fri Feb 10 2017 Fedora Release Engineering - 0.9.3-0.6.20161109 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild diff --git a/sources b/sources index 64342aa..741ecc7 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -SHA512 (apper-0.9.3-20161109git.tar.xz) = 084124c82f00b62979a5b62b4c25088d3611a8e6c4a8565aef7058bedb777c706b6cf66b581148bb3e2a5ebd466b4d057bb67604c79d27a8a822e0b307336a84 -SHA512 (0001-use-correct-QDialog-finished-signal-prototype.patch) = dcd6e17d2f11dae93cddbcb90f66563e2af222a3acf72733f55b5908ecf6843084702325e09cf1721d37e826cdbf22a5fe0665e3d1b3ee73d2ab3f7bf0e3a420 +SHA512 (apper-0.9.3-20170226git.tar.xz) = d869b20a777b15fe1d98fe5ea5a8a456d57f200a1cffa2c5b40d5ffca1ba3299d795b2fdfa38ab19c45017e57b388d6ef88a58182f40b600a01930cfee3da90c From 650d91f38b763e18ff1b3cb062043319498b7cf4 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Wed, 15 Mar 2017 09:22:14 -0500 Subject: [PATCH 24/45] drop reference to unused patch --- apper.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/apper.spec b/apper.spec index ebaaf5b..1a772c8 100644 --- a/apper.spec +++ b/apper.spec @@ -19,7 +19,6 @@ URL: https://cgit.kde.org/apper.git ## upstream patches (in lookaside cache) ## upstreamable patches -Patch100: apper-0.9.3-crash.patch Obsoletes: kpackagekit < 0.7.0 Provides: kpackagekit = %{version}-%{release} From bca058139000549c7e457ef85f0e0268cd3a2f79 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Mon, 27 Mar 2017 07:23:41 -0500 Subject: [PATCH 25/45] drop old/unused patch --- apper-0.9.3-style.patch | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 apper-0.9.3-style.patch diff --git a/apper-0.9.3-style.patch b/apper-0.9.3-style.patch deleted file mode 100644 index 1149b96..0000000 --- a/apper-0.9.3-style.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -up apper-0.9.3/Apper/main.cpp.style apper-0.9.3/Apper/main.cpp ---- apper-0.9.3/Apper/main.cpp.style 2016-03-29 09:11:50.000000000 -0500 -+++ apper-0.9.3/Apper/main.cpp 2016-05-12 13:43:40.037400293 -0500 -@@ -49,5 +49,9 @@ int main(int argc, char **argv) - - app.activate(app.arguments(), QDir::currentPath()); - -+ if ( ! qgetenv("KDE_FULL_SESSION").isEmpty() && qgetenv("APPER_NO_STYLE_OVERRIDE").isEmpty() ) { -+ app.setStyle(QString("oxygen")); -+ } -+ - return app.exec(); - } From 1730bc5044700561170f1a0f7344f02d523ae3a9 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Mon, 27 Mar 2017 07:29:40 -0500 Subject: [PATCH 26/45] apper: K4AboutData::appName crasher (#1383747) --- D5193.diff | 129 +++++++++++++++++++++++++++++++++++++++++++++++++++++ apper.spec | 7 ++- 2 files changed, 135 insertions(+), 1 deletion(-) create mode 100644 D5193.diff diff --git a/D5193.diff b/D5193.diff new file mode 100644 index 0000000..d467b31 --- /dev/null +++ b/D5193.diff @@ -0,0 +1,129 @@ +diff --git a/PkSession/CMakeLists.txt b/PkSession/CMakeLists.txt +--- a/PkSession/CMakeLists.txt ++++ b/PkSession/CMakeLists.txt +@@ -44,6 +44,7 @@ + KF5::KIOFileWidgets + KF5::KDELibs4Support + KF5::IconThemes ++ KF5::DBusAddons + ${PackageKitQt5_LIBRARIES} + apper_private + ) +diff --git a/PkSession/PkSession.h b/PkSession/PkSession.h +--- a/PkSession/PkSession.h ++++ b/PkSession/PkSession.h +@@ -21,15 +21,15 @@ + #ifndef PKSESSION_H + #define PKSESSION_H + +-#include ++#include + #include + + class PkInterface; +-class PkSession : public KUniqueApplication ++class PkSession : public QObject + { + Q_OBJECT + public: +- PkSession(); ++ explicit PkSession(QObject* parent = 0); + virtual ~PkSession(); + int newInstance(); + +diff --git a/PkSession/PkSession.cpp b/PkSession/PkSession.cpp +--- a/PkSession/PkSession.cpp ++++ b/PkSession/PkSession.cpp +@@ -22,6 +22,7 @@ + + #include "PkInterface.h" + ++#include + #include + + #include +@@ -35,8 +36,8 @@ + + using namespace PackageKit; + +-PkSession::PkSession() : +- KUniqueApplication() ++PkSession::PkSession(QObject* parent) ++ : QObject(parent) + { + m_pkInterface = new PkInterface(this); + connect(m_pkInterface, SIGNAL(close()), +@@ -46,7 +47,7 @@ + Daemon::global()->setHints(QLatin1String("locale=") % locale); + + // this enables not quitting when closing a transaction ui +- setQuitOnLastWindowClosed(false); ++ qApp->setQuitOnLastWindowClosed(false); + + // create the close timer and connect it's signal + m_closeT = new QTimer(this); +@@ -83,7 +84,7 @@ + // again just to be sure. + if (!isRunning()) { + kDebug() << "Closed by Timer"; +- quit(); ++ qApp->quit(); + } + } + +diff --git a/PkSession/main.cpp b/PkSession/main.cpp +--- a/PkSession/main.cpp ++++ b/PkSession/main.cpp +@@ -21,14 +21,21 @@ + #include "PkSession.h" + #include + +-#include ++#include ++#include ++#include ++#include ++ ++#include + #include ++#include + #include +-#include +-#include + + int main(int argc, char **argv) + { ++ QApplication app(argc, argv); ++ app.setWindowIcon(QIcon::fromTheme("system-software-install")); ++ + KLocalizedString::setApplicationDomain("apper"); + + KAboutData aboutData("PkSession", +@@ -41,18 +48,16 @@ + aboutData.addAuthor(i18n("Trever Fischer"), QString(), "wm161@wm161.net", "http://wm161.net"); + + aboutData.addCredit(i18n("Adrien Bustany"), i18n("libpackagekit-qt and other stuff"),"@"); +- aboutData.setProgramIconName("system-software-install"); + KAboutData::setApplicationData(aboutData); + +- //! KCmdLineArgs::init(argc, argv); +- Q_UNUSED(argc); +- Q_UNUSED(argv); +- +- if (!PkSession::start()) { +- //kDebug() << "PkSession is already running!"; +- return 0; +- } ++ // Let's ensure we only have one PkSession at any one time on the same session ++ KDBusService service(KDBusService::Unique); ++ auto disableSessionManagement = [](QSessionManager &sm) { ++ sm.setRestartHint(QSessionManager::RestartNever); ++ }; ++ QObject::connect(&app, &QGuiApplication::commitDataRequest, disableSessionManagement); ++ QObject::connect(&app, &QGuiApplication::saveStateRequest, disableSessionManagement); + +- PkSession app; ++ PkSession session; + return app.exec(); + } + diff --git a/apper.spec b/apper.spec index 1a772c8..efc00b5 100644 --- a/apper.spec +++ b/apper.spec @@ -6,7 +6,7 @@ Name: apper Summary: KDE interface for PackageKit Version: 0.9.3 -Release: 0.7.%{snap}%{?dist} +Release: 0.8.%{snap}%{?dist} License: GPLv2+ %if 0%{?snap:1} @@ -19,6 +19,8 @@ URL: https://cgit.kde.org/apper.git ## upstream patches (in lookaside cache) ## upstreamable patches +# https://phabricator.kde.org/D5193 +Patch100: https://phabricator.kde.org/file/data/dos4duccaqmjmlpc3vzo/PHID-FILE-zig6gg67s5y7fp2e4p7w/D5193.diff Obsoletes: kpackagekit < 0.7.0 Provides: kpackagekit = %{version}-%{release} @@ -145,6 +147,9 @@ fi %changelog +* Mon Mar 27 2017 Rex Dieter - 0.9.3-0.8.20170226 +- apper: K4AboutData::appName crasher (#1383747) + * Wed Mar 15 2017 Rex Dieter - 0.9.3-0.7.20170226 - fresh snapshot, includes theming fix - omit broken -updater subpkg (for now at least) From cff11579e477908cc07b2d56aa3046e64dcd3121 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 26 Jul 2017 03:06:24 +0000 Subject: [PATCH 27/45] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- apper.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apper.spec b/apper.spec index efc00b5..60d294a 100644 --- a/apper.spec +++ b/apper.spec @@ -6,7 +6,7 @@ Name: apper Summary: KDE interface for PackageKit Version: 0.9.3 -Release: 0.8.%{snap}%{?dist} +Release: 0.9.%{snap}%{?dist} License: GPLv2+ %if 0%{?snap:1} @@ -147,6 +147,9 @@ fi %changelog +* Wed Jul 26 2017 Fedora Release Engineering - 0.9.3-0.9.20170226 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Mon Mar 27 2017 Rex Dieter - 0.9.3-0.8.20170226 - apper: K4AboutData::appName crasher (#1383747) From 6e6076c82b3bd9cb3c7361ec885b06245965c109 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 2 Aug 2017 17:38:42 +0000 Subject: [PATCH 28/45] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild --- apper.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apper.spec b/apper.spec index 60d294a..87e0bbf 100644 --- a/apper.spec +++ b/apper.spec @@ -6,7 +6,7 @@ Name: apper Summary: KDE interface for PackageKit Version: 0.9.3 -Release: 0.9.%{snap}%{?dist} +Release: 0.10.%{snap}%{?dist} License: GPLv2+ %if 0%{?snap:1} @@ -147,6 +147,9 @@ fi %changelog +* Wed Aug 02 2017 Fedora Release Engineering - 0.9.3-0.10.20170226 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + * Wed Jul 26 2017 Fedora Release Engineering - 0.9.3-0.9.20170226 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From 923eeb9821e7d5a2098574db8155c4df4b16a9c3 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Thu, 21 Dec 2017 13:54:36 -0600 Subject: [PATCH 29/45] refresh snapshot (20171102) --- .gitignore | 1 + D5193.diff | 129 ----------------------------------------------------- apper.spec | 17 +++---- sources | 2 +- 4 files changed, 9 insertions(+), 140 deletions(-) delete mode 100644 D5193.diff diff --git a/.gitignore b/.gitignore index e7660be..00b1f5b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /apper-0.9.3-20170226git.tar.xz +/apper-0.9.3-20171102git.tar.xz diff --git a/D5193.diff b/D5193.diff deleted file mode 100644 index d467b31..0000000 --- a/D5193.diff +++ /dev/null @@ -1,129 +0,0 @@ -diff --git a/PkSession/CMakeLists.txt b/PkSession/CMakeLists.txt ---- a/PkSession/CMakeLists.txt -+++ b/PkSession/CMakeLists.txt -@@ -44,6 +44,7 @@ - KF5::KIOFileWidgets - KF5::KDELibs4Support - KF5::IconThemes -+ KF5::DBusAddons - ${PackageKitQt5_LIBRARIES} - apper_private - ) -diff --git a/PkSession/PkSession.h b/PkSession/PkSession.h ---- a/PkSession/PkSession.h -+++ b/PkSession/PkSession.h -@@ -21,15 +21,15 @@ - #ifndef PKSESSION_H - #define PKSESSION_H - --#include -+#include - #include - - class PkInterface; --class PkSession : public KUniqueApplication -+class PkSession : public QObject - { - Q_OBJECT - public: -- PkSession(); -+ explicit PkSession(QObject* parent = 0); - virtual ~PkSession(); - int newInstance(); - -diff --git a/PkSession/PkSession.cpp b/PkSession/PkSession.cpp ---- a/PkSession/PkSession.cpp -+++ b/PkSession/PkSession.cpp -@@ -22,6 +22,7 @@ - - #include "PkInterface.h" - -+#include - #include - - #include -@@ -35,8 +36,8 @@ - - using namespace PackageKit; - --PkSession::PkSession() : -- KUniqueApplication() -+PkSession::PkSession(QObject* parent) -+ : QObject(parent) - { - m_pkInterface = new PkInterface(this); - connect(m_pkInterface, SIGNAL(close()), -@@ -46,7 +47,7 @@ - Daemon::global()->setHints(QLatin1String("locale=") % locale); - - // this enables not quitting when closing a transaction ui -- setQuitOnLastWindowClosed(false); -+ qApp->setQuitOnLastWindowClosed(false); - - // create the close timer and connect it's signal - m_closeT = new QTimer(this); -@@ -83,7 +84,7 @@ - // again just to be sure. - if (!isRunning()) { - kDebug() << "Closed by Timer"; -- quit(); -+ qApp->quit(); - } - } - -diff --git a/PkSession/main.cpp b/PkSession/main.cpp ---- a/PkSession/main.cpp -+++ b/PkSession/main.cpp -@@ -21,14 +21,21 @@ - #include "PkSession.h" - #include - --#include -+#include -+#include -+#include -+#include -+ -+#include - #include -+#include - #include --#include --#include - - int main(int argc, char **argv) - { -+ QApplication app(argc, argv); -+ app.setWindowIcon(QIcon::fromTheme("system-software-install")); -+ - KLocalizedString::setApplicationDomain("apper"); - - KAboutData aboutData("PkSession", -@@ -41,18 +48,16 @@ - aboutData.addAuthor(i18n("Trever Fischer"), QString(), "wm161@wm161.net", "http://wm161.net"); - - aboutData.addCredit(i18n("Adrien Bustany"), i18n("libpackagekit-qt and other stuff"),"@"); -- aboutData.setProgramIconName("system-software-install"); - KAboutData::setApplicationData(aboutData); - -- //! KCmdLineArgs::init(argc, argv); -- Q_UNUSED(argc); -- Q_UNUSED(argv); -- -- if (!PkSession::start()) { -- //kDebug() << "PkSession is already running!"; -- return 0; -- } -+ // Let's ensure we only have one PkSession at any one time on the same session -+ KDBusService service(KDBusService::Unique); -+ auto disableSessionManagement = [](QSessionManager &sm) { -+ sm.setRestartHint(QSessionManager::RestartNever); -+ }; -+ QObject::connect(&app, &QGuiApplication::commitDataRequest, disableSessionManagement); -+ QObject::connect(&app, &QGuiApplication::saveStateRequest, disableSessionManagement); - -- PkSession app; -+ PkSession session; - return app.exec(); - } - diff --git a/apper.spec b/apper.spec index 87e0bbf..1b77ce9 100644 --- a/apper.spec +++ b/apper.spec @@ -1,12 +1,12 @@ -%global snap 20170226 +%global snap 20171102 # include -updater applet subpkg or not #global updater 1 Name: apper Summary: KDE interface for PackageKit Version: 0.9.3 -Release: 0.10.%{snap}%{?dist} +Release: 0.11.%{snap}%{?dist} License: GPLv2+ %if 0%{?snap:1} @@ -19,8 +19,6 @@ URL: https://cgit.kde.org/apper.git ## upstream patches (in lookaside cache) ## upstreamable patches -# https://phabricator.kde.org/D5193 -Patch100: https://phabricator.kde.org/file/data/dos4duccaqmjmlpc3vzo/PHID-FILE-zig6gg67s5y7fp2e4p7w/D5193.diff Obsoletes: kpackagekit < 0.7.0 Provides: kpackagekit = %{version}-%{release} @@ -75,11 +73,6 @@ Requires: %{name} = %{version}-%{release} sed -i \ -e 's|X-KDE-PluginInfo-EnabledByDefault=.*|X-KDE-PluginInfo-EnabledByDefault=false|g' \ plasmoid/package/metadata.desktop -%else -sed -i.no_plasmoid \ - -e 's|^add_subdirectory(plasmoid)|#add_subdirectory(plasmoid)|g' \ - CMakeLists.txt -mv plasmoid plasmoid.no_plasmoid %endif @@ -88,7 +81,8 @@ mkdir %{_target_platform} pushd %{_target_platform} %{cmake_kf5} .. \ %{?appstream:-DAPPSTREAM:BOOL=ON} \ - -DAUTOREMOVE:BOOL=OFF + -DAUTOREMOVE:BOOL=OFF \ + -DBUILD_PLASMOID=%{?updater:ON}%{?!updater:OFF} popd make %{?_smp_mflags} -C %{_target_platform} @@ -147,6 +141,9 @@ fi %changelog +* Thu Dec 21 2017 Rex Dieter - 0.9.3-0.11.20171102 +- refresh snapshot (20171102) + * Wed Aug 02 2017 Fedora Release Engineering - 0.9.3-0.10.20170226 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild diff --git a/sources b/sources index 741ecc7..c9cc673 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (apper-0.9.3-20170226git.tar.xz) = d869b20a777b15fe1d98fe5ea5a8a456d57f200a1cffa2c5b40d5ffca1ba3299d795b2fdfa38ab19c45017e57b388d6ef88a58182f40b600a01930cfee3da90c +SHA512 (apper-0.9.3-20171102git.tar.xz) = 0ab7e65f4a093da50b20023374d2f635e0b40f36b6bc8aaadba085d5e4e6773f91eb1be58babf0ae9e566776f2822527a33da0bf573f57936a81333bb4097173 From 0e96244ef8b869f44390bfd98583ea561ceb111a Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Fri, 22 Dec 2017 14:42:04 -0600 Subject: [PATCH 30/45] use %%_kf5_metainfodir --- apper.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apper.spec b/apper.spec index 1b77ce9..9de3cbe 100644 --- a/apper.spec +++ b/apper.spec @@ -131,7 +131,7 @@ fi %{_kf5_datadir}/kservices5/kded/apperd.desktop %{_kf5_datadir}/apperd/ %{_mandir}/man1/apper.1* -%{_datadir}/appdata/org.kde.apper.appdata.xml +%{_kf5_metainfodir}/org.kde.apper.appdata.xml %if 0%{?updater} %files updater From edd97ca615bf7a4baa8cb3d27866d79b0c11c6cc Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Fri, 19 Jan 2018 09:35:41 -0600 Subject: [PATCH 31/45] apper-1.0.0 snapshot, PackageKit-Qt-1.0 support --- .gitignore | 1 + apper.sh | 2 +- apper.spec | 19 +++++++++++-------- sources | 2 +- 4 files changed, 14 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 00b1f5b..65e0f23 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /apper-0.9.3-20170226git.tar.xz /apper-0.9.3-20171102git.tar.xz +/apper-1.0.0-20180119git.tar.xz diff --git a/apper.sh b/apper.sh index 1a528eb..2a531d4 100644 --- a/apper.sh +++ b/apper.sh @@ -1,5 +1,5 @@ MODULE=apper -VERSION=0.9.3 +VERSION=1.0.0 DATE=$(date +%Y%m%d)git set -x diff --git a/apper.spec b/apper.spec index 9de3cbe..3c4be78 100644 --- a/apper.spec +++ b/apper.spec @@ -1,12 +1,12 @@ -%global snap 20171102 +%global snap 20180119 # include -updater applet subpkg or not #global updater 1 Name: apper Summary: KDE interface for PackageKit -Version: 0.9.3 -Release: 0.11.%{snap}%{?dist} +Version: 1.0.0 +Release: 0.1.%{snap}%{?dist} License: GPLv2+ %if 0%{?snap:1} @@ -41,8 +41,10 @@ BuildRequires: cmake(KF5KCMUtils) BuildRequires: cmake(KF5DBusAddons) BuildRequires: cmake(KF5KIO) BuildRequires: cmake(KF5Notifications) -BuildRequires: cmake(KF5KDELibs4Support) +BuildRequires: cmake(KF5IconThemes) + BuildRequires: cmake(LibKWorkspace) + BuildRequires: cmake(Qt5Quick) BuildRequires: cmake(Qt5Sql) BuildRequires: cmake(Qt5Widgets) @@ -50,8 +52,9 @@ BuildRequires: cmake(Qt5XmlPatterns) BuildRequires: extra-cmake-modules BuildRequires: kf5-rpm-macros +BuildRequires: cmake(packagekitqt5) >= 1.0.0 + BuildRequires: pkgconfig(dbus-1) -BuildRequires: pkgconfig(packagekitqt5) Requires: PackageKit @@ -122,11 +125,8 @@ fi %{_kf5_datadir}/applications/org.kde.apper_settings.desktop %{_kf5_datadir}/applications/org.kde.apper_updates.desktop %{_kf5_libdir}/apper/ -%{_qt5_importdir}/org/kde/apper/ %{_libexecdir}/apper-pk-session %{_datadir}/dbus-1/services/kde-org.freedesktop.PackageKit.service -%{_kf5_qtplugindir}/kcm_apper.so -%{_kf5_datadir}/kservices5/kcm_apper.desktop %{_kf5_qtplugindir}/kded_apperd.so %{_kf5_datadir}/kservices5/kded/apperd.desktop %{_kf5_datadir}/apperd/ @@ -141,6 +141,9 @@ fi %changelog +* Fri Jan 19 2018 Rex Dieter - 1.0.0-0.1.20180119 +- apper-1.0.0 snapshot, PackageKit-Qt-1.0 support + * Thu Dec 21 2017 Rex Dieter - 0.9.3-0.11.20171102 - refresh snapshot (20171102) diff --git a/sources b/sources index c9cc673..46db8a7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (apper-0.9.3-20171102git.tar.xz) = 0ab7e65f4a093da50b20023374d2f635e0b40f36b6bc8aaadba085d5e4e6773f91eb1be58babf0ae9e566776f2822527a33da0bf573f57936a81333bb4097173 +SHA512 (apper-1.0.0-20180119git.tar.xz) = e604de6fef665e657f09d83c8da2f253294add7537e6f58bc75928b32ddec5d65109d03ed55fbd44a0436fbb531a60a348b006bebcc4a7e2ca5f461c04f20519 From 0f3b94c2161693a751ed7be445ae217af1eeb525 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 7 Feb 2018 02:37:58 +0000 Subject: [PATCH 32/45] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- apper.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apper.spec b/apper.spec index 3c4be78..018cf72 100644 --- a/apper.spec +++ b/apper.spec @@ -6,7 +6,7 @@ Name: apper Summary: KDE interface for PackageKit Version: 1.0.0 -Release: 0.1.%{snap}%{?dist} +Release: 0.2.%{snap}%{?dist} License: GPLv2+ %if 0%{?snap:1} @@ -141,6 +141,9 @@ fi %changelog +* Wed Feb 07 2018 Fedora Release Engineering - 1.0.0-0.2.20180119 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Fri Jan 19 2018 Rex Dieter - 1.0.0-0.1.20180119 - apper-1.0.0 snapshot, PackageKit-Qt-1.0 support From 4f9418d45c3522e7ba2db3d060dd59f856639ca2 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Fri, 9 Feb 2018 09:04:08 +0100 Subject: [PATCH 33/45] Escape macros in %changelog Reference: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/Y2ZUKK2B7T2IKXPMODNF6HB2O5T5TS6H/ Signed-off-by: Igor Gnatenko --- apper.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/apper.spec b/apper.spec index 018cf72..bd13e7a 100644 --- a/apper.spec +++ b/apper.spec @@ -6,7 +6,7 @@ Name: apper Summary: KDE interface for PackageKit Version: 1.0.0 -Release: 0.2.%{snap}%{?dist} +Release: 0.3.%{snap}%{?dist} License: GPLv2+ %if 0%{?snap:1} @@ -141,6 +141,9 @@ fi %changelog +* Fri Feb 09 2018 Igor Gnatenko - 1.0.0-0.3.20180119 +- Escape macros in %%changelog + * Wed Feb 07 2018 Fedora Release Engineering - 1.0.0-0.2.20180119 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild @@ -393,7 +396,7 @@ fi - systray_actions patch/hack * Mon Oct 17 2011 Rex Dieter 0.7.0-3 -- apper.desktop: Exec=apper %F (not %U, it only handles files, not urls) +- apper.desktop: Exec=apper %%F (not %%U, it only handles files, not urls) * Mon Oct 17 2011 Rex Dieter 0.7.0-2 - -DAUTOREMOVE:BOOL=OFF (#727788) From 71793bf6f066374283e3a8c044252de5cbe9270f Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Tue, 20 Feb 2018 14:48:50 -0600 Subject: [PATCH 34/45] 1.0.0 (v1.0.0 tag) --- .gitignore | 1 + apper.sh | 3 ++- apper.spec | 10 +++++++--- sources | 2 +- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 65e0f23..10c8458 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /apper-0.9.3-20170226git.tar.xz /apper-0.9.3-20171102git.tar.xz /apper-1.0.0-20180119git.tar.xz +/apper-1.0.0.tar.xz diff --git a/apper.sh b/apper.sh index 2a531d4..932696b 100644 --- a/apper.sh +++ b/apper.sh @@ -1,6 +1,7 @@ MODULE=apper VERSION=1.0.0 DATE=$(date +%Y%m%d)git +TAG=v1.0.0 set -x @@ -8,7 +9,7 @@ rm -rf $MODULE git clone kde:$MODULE pushd $MODULE -git archive master --format tar --prefix=${MODULE}-${VERSION}/ | xz -9 > ../${MODULE}-${VERSION}-${DATE}.tar.xz +git archive $TAG --format tar --prefix=${MODULE}-${VERSION}/ | xz -9 > ../${MODULE}-${VERSION}.tar.xz popd rm -rf $MODULE diff --git a/apper.spec b/apper.spec index bd13e7a..96f28ba 100644 --- a/apper.spec +++ b/apper.spec @@ -1,18 +1,19 @@ -%global snap 20180119 +#global snap 20180119 # include -updater applet subpkg or not #global updater 1 Name: apper Summary: KDE interface for PackageKit Version: 1.0.0 -Release: 0.3.%{snap}%{?dist} +Release: 1%{?dist} License: GPLv2+ %if 0%{?snap:1} Source0: apper-%{version}-%{snap}git.tar.xz %else -Source0: http://download.kde.org/stable/apper/%{version}/src/apper-0.9.2.tar.xz +Source0: apper-%{version}.tar.xz +#Source0: http://download.kde.org/stable/apper/%{version}/src/apper-%{version}.tar.xz %endif URL: https://cgit.kde.org/apper.git @@ -141,6 +142,9 @@ fi %changelog +* Tue Feb 20 2018 Rex Dieter - 1.0.0-1 +- 1.0.0 (v1.0.0 tag) + * Fri Feb 09 2018 Igor Gnatenko - 1.0.0-0.3.20180119 - Escape macros in %%changelog diff --git a/sources b/sources index 46db8a7..74ddbf4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (apper-1.0.0-20180119git.tar.xz) = e604de6fef665e657f09d83c8da2f253294add7537e6f58bc75928b32ddec5d65109d03ed55fbd44a0436fbb531a60a348b006bebcc4a7e2ca5f461c04f20519 +SHA512 (apper-1.0.0.tar.xz) = 04a381b993d7d2ad1134ebb6fa9b4d837b51e1e60c62746d7c21a0c2fc0c596ff0e932fcd81c78e160a63291d858ee772ed42f9aaef138763fcffb90497088ce From be0d1eddc7c3b27cbc2dbeb683c4bed2dbc06c45 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Tue, 20 Feb 2018 16:25:05 -0600 Subject: [PATCH 35/45] BR: cmake(AppStreamQt) --- apper.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/apper.spec b/apper.spec index 96f28ba..e1dd89e 100644 --- a/apper.spec +++ b/apper.spec @@ -53,6 +53,7 @@ BuildRequires: cmake(Qt5XmlPatterns) BuildRequires: extra-cmake-modules BuildRequires: kf5-rpm-macros +BuildRequires: cmake(AppStreamQt) BuildRequires: cmake(packagekitqt5) >= 1.0.0 BuildRequires: pkgconfig(dbus-1) From f5da493e0a78bbe7f50726fcdc54d6627a3f5e13 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 12 Jul 2018 20:24:45 +0000 Subject: [PATCH 36/45] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- apper.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apper.spec b/apper.spec index e1dd89e..d381352 100644 --- a/apper.spec +++ b/apper.spec @@ -6,7 +6,7 @@ Name: apper Summary: KDE interface for PackageKit Version: 1.0.0 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ %if 0%{?snap:1} @@ -143,6 +143,9 @@ fi %changelog +* Thu Jul 12 2018 Fedora Release Engineering - 1.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Tue Feb 20 2018 Rex Dieter - 1.0.0-1 - 1.0.0 (v1.0.0 tag) From ae416c41a0c0f2552f38776d8d1fdde9790da78c Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Mon, 30 Jul 2018 14:42:04 -0500 Subject: [PATCH 37/45] pull in upstream fixes drop deprecated scriptlets drop rpath hacks (no longer needed) --- ...-binary-as-TARGET-instead-of-PROGRAM.patch | 29 +++++++ 0002-Fix-build-without-AppStream.patch | 30 +++++++ ...when-EDIT_ORIGNS_DESKTOP_NAME-is-def.patch | 25 ++++++ 0004-Update-AppStream-metadata.patch | 79 +++++++++++++++++++ apper.spec | 26 +++--- 5 files changed, 174 insertions(+), 15 deletions(-) create mode 100644 0001-Install-apper-binary-as-TARGET-instead-of-PROGRAM.patch create mode 100644 0002-Fix-build-without-AppStream.patch create mode 100644 0003-Fix-compilation-when-EDIT_ORIGNS_DESKTOP_NAME-is-def.patch create mode 100644 0004-Update-AppStream-metadata.patch diff --git a/0001-Install-apper-binary-as-TARGET-instead-of-PROGRAM.patch b/0001-Install-apper-binary-as-TARGET-instead-of-PROGRAM.patch new file mode 100644 index 0000000..05d3fed --- /dev/null +++ b/0001-Install-apper-binary-as-TARGET-instead-of-PROGRAM.patch @@ -0,0 +1,29 @@ +From 448527f765b1c4f9dc5452cc069baddecaf55e7e Mon Sep 17 00:00:00 2001 +From: Antonio Rojas +Date: Wed, 21 Feb 2018 13:57:28 +0100 +Subject: [PATCH 1/8] Install apper binary as TARGET instead of PROGRAM + +Otherwise the RPATH set in add_target_properties is ignored + +BUG: 390836 +Differential Revision: https://phabricator.kde.org/D10706 +--- + Apper/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Apper/CMakeLists.txt b/Apper/CMakeLists.txt +index 2b71603..a9855a9 100644 +--- a/Apper/CMakeLists.txt ++++ b/Apper/CMakeLists.txt +@@ -49,7 +49,7 @@ target_link_libraries(apper + + set_target_properties(apper PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_FULL_LIBDIR}/apper) + +-install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/apper DESTINATION ${CMAKE_INSTALL_BINDIR}) ++install(TARGETS apper DESTINATION ${CMAKE_INSTALL_BINDIR}) + install(FILES org.kde.apper.desktop DESTINATION ${CMAKE_INSTALL_APPDIR}) + install(FILES org.kde.apper_installer.desktop DESTINATION ${CMAKE_INSTALL_APPDIR}) + install(FILES org.kde.apper_settings.desktop DESTINATION ${CMAKE_INSTALL_APPDIR}) +-- +2.17.1 + diff --git a/0002-Fix-build-without-AppStream.patch b/0002-Fix-build-without-AppStream.patch new file mode 100644 index 0000000..ca643ac --- /dev/null +++ b/0002-Fix-build-without-AppStream.patch @@ -0,0 +1,30 @@ +From 29df2bd0bc9f4151f5f914b9b46b76beae117e94 Mon Sep 17 00:00:00 2001 +From: Antonio Rojas +Date: Wed, 21 Feb 2018 14:13:26 +0100 +Subject: [PATCH 2/8] Fix build without AppStream + +Don't try to link to AppStream-Qt if building with APPSTREAM=OFF +Differential Revision: https://phabricator.kde.org/D10707 +--- + libapper/CMakeLists.txt | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/libapper/CMakeLists.txt b/libapper/CMakeLists.txt +index 6581778..485e91d 100644 +--- a/libapper/CMakeLists.txt ++++ b/libapper/CMakeLists.txt +@@ -59,7 +59,10 @@ target_link_libraries(apper_private + KF5::I18n + Qt5::Core + PK::packagekitqt5 +- AppStreamQt + ) + ++if(APPSTREAM) ++ target_link_libraries(apper_private AppStreamQt) ++endif() ++ + install(TARGETS apper_private DESTINATION ${CMAKE_INSTALL_LIBDIR}/apper) +-- +2.17.1 + diff --git a/0003-Fix-compilation-when-EDIT_ORIGNS_DESKTOP_NAME-is-def.patch b/0003-Fix-compilation-when-EDIT_ORIGNS_DESKTOP_NAME-is-def.patch new file mode 100644 index 0000000..0496303 --- /dev/null +++ b/0003-Fix-compilation-when-EDIT_ORIGNS_DESKTOP_NAME-is-def.patch @@ -0,0 +1,25 @@ +From c34888dd5461e2674feefefe001be2c7d64e427f Mon Sep 17 00:00:00 2001 +From: Daniel Nicoletti +Date: Wed, 21 Feb 2018 17:19:17 -0300 +Subject: [PATCH 3/8] Fix compilation when EDIT_ORIGNS_DESKTOP_NAME is defined + +--- + Apper/Settings/Settings.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Apper/Settings/Settings.cpp b/Apper/Settings/Settings.cpp +index 2175ea7..e077b8e 100644 +--- a/Apper/Settings/Settings.cpp ++++ b/Apper/Settings/Settings.cpp +@@ -154,7 +154,7 @@ Settings::~Settings() + void Settings::on_editOriginsPB_clicked() + { + #ifdef EDIT_ORIGNS_DESKTOP_NAME +- KToolInvocation::startServiceByDesktopName(EDIT_ORIGNS_DESKTOP_NAME); ++ KToolInvocation::startServiceByDesktopName(QLatin1String(EDIT_ORIGNS_DESKTOP_NAME)); + #endif //EDIT_ORIGNS_DESKTOP_NAME + } + +-- +2.17.1 + diff --git a/0004-Update-AppStream-metadata.patch b/0004-Update-AppStream-metadata.patch new file mode 100644 index 0000000..27c9cc4 --- /dev/null +++ b/0004-Update-AppStream-metadata.patch @@ -0,0 +1,79 @@ +From f7e84b2ce9b99c9fef23b859182fed599ee13a54 Mon Sep 17 00:00:00 2001 +From: Matthias Klumpp +Date: Wed, 21 Feb 2018 22:05:47 +0100 +Subject: [PATCH 4/8] Update AppStream metadata + +--- + Apper/org.kde.apper.appdata.xml | 19 ++++++++++++++----- + 1 file changed, 14 insertions(+), 5 deletions(-) + +diff --git a/Apper/org.kde.apper.appdata.xml b/Apper/org.kde.apper.appdata.xml +index 68048a1..aeee039 100644 +--- a/Apper/org.kde.apper.appdata.xml ++++ b/Apper/org.kde.apper.appdata.xml +@@ -1,8 +1,9 @@ + +- +- org.kde.apper.desktop +- CC0-1.0 ++ ++ org.kde.apper ++ FSFAP + GPL-2.0+ ++ + Apper + آپر + Apper +@@ -35,6 +36,7 @@ + xxApperxx + Apper + Apper ++ + KDE application and package management tool + أداة «كدي» لإدارة التّطبيقات والحزم + Ferramienta KDE de xestión d'aplicaciones y paquetes +@@ -67,6 +69,7 @@ + xxKDE application and package management toolxx + KDE 应用程序和包管理工具 + KDE 應用程式與軟體套件管理工具 ++ + +

+ Apper is a graphical management tool for packages and applications +@@ -323,6 +326,7 @@ +

  • 與 KDE Plasma 桌面高度整合
  • + +
    ++ + + + https://userbase.kde.org/images.userbase/0/06/Apper-window.png +@@ -357,11 +361,13 @@ + xxThe main window showing a description of the selected packagexx + 主窗口显示了选中包的说明 + 主視窗顯示選取的套件的描述 +- https://userbase.kde.org/images.userbase/0/07/Apper-window1.png ++ https://dantti.files.wordpress.com/2018/02/screenshot_20180220_173026.png + + +- https://projects.kde.org/projects/extragear/sysadmin/apper/ ++ ++ https://www.kde.org/applications/system/apper/ + https://bugs.kde.org/enter_bug.cgi?format=guided&product=apper ++ + KDE + The KDE Community + مجتمع «كدي» +@@ -393,6 +399,9 @@ + xxThe KDE Communityxx + KDE 社区 + KDE 社群 ++ ++ org.kde.apper.desktop ++ + + apper + +-- +2.17.1 + diff --git a/apper.spec b/apper.spec index d381352..bfe3e7f 100644 --- a/apper.spec +++ b/apper.spec @@ -6,7 +6,7 @@ Name: apper Summary: KDE interface for PackageKit Version: 1.0.0 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ %if 0%{?snap:1} @@ -17,7 +17,11 @@ Source0: apper-%{version}.tar.xz %endif URL: https://cgit.kde.org/apper.git -## upstream patches (in lookaside cache) +## upstream patches +Patch1: 0001-Install-apper-binary-as-TARGET-instead-of-PROGRAM.patch +Patch2: 0002-Fix-build-without-AppStream.patch +Patch3: 0003-Fix-compilation-when-EDIT_ORIGNS_DESKTOP_NAME-is-def.patch +Patch4: 0004-Update-AppStream-metadata.patch ## upstreamable patches @@ -30,7 +34,6 @@ Provides: PackageKit-session-service Obsoletes: apper-updater < %{version}-%{release} %endif -BuildRequires: chrpath BuildRequires: desktop-file-utils BuildRequires: gettext BuildRequires: cmake(KDED) @@ -100,23 +103,11 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} mv %{buildroot}%{_datadir}/dbus-1/services/org.freedesktop.PackageKit.service \ %{buildroot}%{_datadir}/dbus-1/services/kde-org.freedesktop.PackageKit.service -# hack around rpath oddness -chrpath --list %{buildroot}%{_kf5_bindir}/apper -chrpath --replace %{_kf5_libdir}/apper %{buildroot}%{_kf5_bindir}/apper - %check desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.apper.desktop ||: -%posttrans -update-desktop-database -q 2> /dev/null ||: - -%postun -if [ $1 -eq 0 ] ; then -update-desktop-database -q 2> /dev/null ||: -fi - %files %doc TODO %license COPYING @@ -143,6 +134,11 @@ fi %changelog +* Mon Jul 30 2018 Rex Dieter - 1.0.0-3 +- pull in upstream fixes +- drop deprecated scriptlets +- drop rpath hacks (no longer needed) + * Thu Jul 12 2018 Fedora Release Engineering - 1.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From 88edfce6bfad2a2eed151ed0786234a6759364b4 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Tue, 31 Jul 2018 09:44:59 -0500 Subject: [PATCH 38/45] qt-5.11 issues --- apper-1.0.0-qt511.patch | 22 ++++++++++++++++++++++ apper.spec | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 apper-1.0.0-qt511.patch diff --git a/apper-1.0.0-qt511.patch b/apper-1.0.0-qt511.patch new file mode 100644 index 0000000..b87a65a --- /dev/null +++ b/apper-1.0.0-qt511.patch @@ -0,0 +1,22 @@ +diff -up apper-1.0.0/Apper/Settings/Settings.cpp.qt511 apper-1.0.0/Apper/Settings/Settings.cpp +--- apper-1.0.0/Apper/Settings/Settings.cpp.qt511 2018-07-31 09:31:10.325795972 -0500 ++++ apper-1.0.0/Apper/Settings/Settings.cpp 2018-07-31 09:33:32.509880561 -0500 +@@ -27,6 +27,7 @@ + #include + #include + ++#include + #include + #include + +diff -up apper-1.0.0/libapper/Requirements.h.qt511 apper-1.0.0/libapper/Requirements.h +--- apper-1.0.0/libapper/Requirements.h.qt511 2018-07-31 09:32:39.579476804 -0500 ++++ apper-1.0.0/libapper/Requirements.h 2018-07-31 09:32:07.813234487 -0500 +@@ -23,6 +23,7 @@ + + #include + ++#include + #include + + namespace Ui { diff --git a/apper.spec b/apper.spec index bfe3e7f..f27d5ae 100644 --- a/apper.spec +++ b/apper.spec @@ -24,6 +24,7 @@ Patch3: 0003-Fix-compilation-when-EDIT_ORIGNS_DESKTOP_NAME-is-def.patch Patch4: 0004-Update-AppStream-metadata.patch ## upstreamable patches +Patch100: apper-1.0.0-qt511.patch Obsoletes: kpackagekit < 0.7.0 Provides: kpackagekit = %{version}-%{release} @@ -138,6 +139,7 @@ desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.apper.des - pull in upstream fixes - drop deprecated scriptlets - drop rpath hacks (no longer needed) +- qt511.patch * Thu Jul 12 2018 Fedora Release Engineering - 1.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From 3c91faf1169af01d27908eb15bf14fb8cf04fce2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 31 Jan 2019 13:36:03 +0000 Subject: [PATCH 39/45] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- apper.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apper.spec b/apper.spec index f27d5ae..08f1b75 100644 --- a/apper.spec +++ b/apper.spec @@ -6,7 +6,7 @@ Name: apper Summary: KDE interface for PackageKit Version: 1.0.0 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2+ %if 0%{?snap:1} @@ -135,6 +135,9 @@ desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.apper.des %changelog +* Thu Jan 31 2019 Fedora Release Engineering - 1.0.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Mon Jul 30 2018 Rex Dieter - 1.0.0-3 - pull in upstream fixes - drop deprecated scriptlets From 1171676b18874418bed18707df8577c8f70083a9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 24 Jul 2019 18:13:16 +0000 Subject: [PATCH 40/45] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- apper.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apper.spec b/apper.spec index 08f1b75..6423e34 100644 --- a/apper.spec +++ b/apper.spec @@ -6,7 +6,7 @@ Name: apper Summary: KDE interface for PackageKit Version: 1.0.0 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv2+ %if 0%{?snap:1} @@ -135,6 +135,9 @@ desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.apper.des %changelog +* Wed Jul 24 2019 Fedora Release Engineering - 1.0.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Thu Jan 31 2019 Fedora Release Engineering - 1.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From aa5d22e08580121d845df3813988ab07989d98b7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jan 2020 11:51:05 +0000 Subject: [PATCH 41/45] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- apper.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apper.spec b/apper.spec index 6423e34..eace6a1 100644 --- a/apper.spec +++ b/apper.spec @@ -6,7 +6,7 @@ Name: apper Summary: KDE interface for PackageKit Version: 1.0.0 -Release: 5%{?dist} +Release: 6%{?dist} License: GPLv2+ %if 0%{?snap:1} @@ -135,6 +135,9 @@ desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.apper.des %changelog +* Tue Jan 28 2020 Fedora Release Engineering - 1.0.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Wed Jul 24 2019 Fedora Release Engineering - 1.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From c3802a2ff1ef27e7cb15f181f24db331b2ff2c49 Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Sat, 18 Jul 2020 16:50:58 -0400 Subject: [PATCH 42/45] Update to new out-of-source build mechanism --- apper.spec | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/apper.spec b/apper.spec index eace6a1..2360cba 100644 --- a/apper.spec +++ b/apper.spec @@ -1,3 +1,5 @@ +# Force out of source build +%undefine __cmake_in_source_build #global snap 20180119 # include -updater applet subpkg or not @@ -86,19 +88,16 @@ sed -i \ %build -mkdir %{_target_platform} -pushd %{_target_platform} -%{cmake_kf5} .. \ +%cmake_kf5 \ %{?appstream:-DAPPSTREAM:BOOL=ON} \ -DAUTOREMOVE:BOOL=OFF \ -DBUILD_PLASMOID=%{?updater:ON}%{?!updater:OFF} -popd -make %{?_smp_mflags} -C %{_target_platform} +%cmake_build %install -make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%cmake_install # hack around gnome-packagekit conflict mv %{buildroot}%{_datadir}/dbus-1/services/org.freedesktop.PackageKit.service \ From 4d9cf2a75b3c0edab72ae6d438cd340babfd691b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 27 Jul 2020 12:15:28 +0000 Subject: [PATCH 43/45] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- apper.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apper.spec b/apper.spec index 2360cba..fe38ec2 100644 --- a/apper.spec +++ b/apper.spec @@ -8,7 +8,7 @@ Name: apper Summary: KDE interface for PackageKit Version: 1.0.0 -Release: 6%{?dist} +Release: 7%{?dist} License: GPLv2+ %if 0%{?snap:1} @@ -134,6 +134,9 @@ desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.apper.des %changelog +* Mon Jul 27 2020 Fedora Release Engineering - 1.0.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Tue Jan 28 2020 Fedora Release Engineering - 1.0.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 7efb3e233e9ab490bdcb35affdcf2ea9cfae9e14 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 1 Aug 2020 00:01:57 +0000 Subject: [PATCH 44/45] - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- apper.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apper.spec b/apper.spec index fe38ec2..1e1475f 100644 --- a/apper.spec +++ b/apper.spec @@ -8,7 +8,7 @@ Name: apper Summary: KDE interface for PackageKit Version: 1.0.0 -Release: 7%{?dist} +Release: 8%{?dist} License: GPLv2+ %if 0%{?snap:1} @@ -134,6 +134,10 @@ desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.apper.des %changelog +* Sat Aug 01 2020 Fedora Release Engineering - 1.0.0-8 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Mon Jul 27 2020 Fedora Release Engineering - 1.0.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 4e2cf4e445f2874db1b8ea866ce0a9241227cfc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 4 Jan 2021 10:22:54 +0100 Subject: [PATCH 45/45] Orphaned for 6+ weeks --- .gitignore | 4 - ...-binary-as-TARGET-instead-of-PROGRAM.patch | 29 - 0002-Fix-build-without-AppStream.patch | 30 - ...when-EDIT_ORIGNS_DESKTOP_NAME-is-def.patch | 25 - 0004-Update-AppStream-metadata.patch | 79 --- apper-1.0.0-qt511.patch | 22 - apper.sh | 17 - apper.spec | 657 ------------------ dead.package | 1 + sources | 1 - 10 files changed, 1 insertion(+), 864 deletions(-) delete mode 100644 .gitignore delete mode 100644 0001-Install-apper-binary-as-TARGET-instead-of-PROGRAM.patch delete mode 100644 0002-Fix-build-without-AppStream.patch delete mode 100644 0003-Fix-compilation-when-EDIT_ORIGNS_DESKTOP_NAME-is-def.patch delete mode 100644 0004-Update-AppStream-metadata.patch delete mode 100644 apper-1.0.0-qt511.patch delete mode 100644 apper.sh delete mode 100644 apper.spec create mode 100644 dead.package delete mode 100644 sources diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 10c8458..0000000 --- a/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -/apper-0.9.3-20170226git.tar.xz -/apper-0.9.3-20171102git.tar.xz -/apper-1.0.0-20180119git.tar.xz -/apper-1.0.0.tar.xz diff --git a/0001-Install-apper-binary-as-TARGET-instead-of-PROGRAM.patch b/0001-Install-apper-binary-as-TARGET-instead-of-PROGRAM.patch deleted file mode 100644 index 05d3fed..0000000 --- a/0001-Install-apper-binary-as-TARGET-instead-of-PROGRAM.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 448527f765b1c4f9dc5452cc069baddecaf55e7e Mon Sep 17 00:00:00 2001 -From: Antonio Rojas -Date: Wed, 21 Feb 2018 13:57:28 +0100 -Subject: [PATCH 1/8] Install apper binary as TARGET instead of PROGRAM - -Otherwise the RPATH set in add_target_properties is ignored - -BUG: 390836 -Differential Revision: https://phabricator.kde.org/D10706 ---- - Apper/CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Apper/CMakeLists.txt b/Apper/CMakeLists.txt -index 2b71603..a9855a9 100644 ---- a/Apper/CMakeLists.txt -+++ b/Apper/CMakeLists.txt -@@ -49,7 +49,7 @@ target_link_libraries(apper - - set_target_properties(apper PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_FULL_LIBDIR}/apper) - --install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/apper DESTINATION ${CMAKE_INSTALL_BINDIR}) -+install(TARGETS apper DESTINATION ${CMAKE_INSTALL_BINDIR}) - install(FILES org.kde.apper.desktop DESTINATION ${CMAKE_INSTALL_APPDIR}) - install(FILES org.kde.apper_installer.desktop DESTINATION ${CMAKE_INSTALL_APPDIR}) - install(FILES org.kde.apper_settings.desktop DESTINATION ${CMAKE_INSTALL_APPDIR}) --- -2.17.1 - diff --git a/0002-Fix-build-without-AppStream.patch b/0002-Fix-build-without-AppStream.patch deleted file mode 100644 index ca643ac..0000000 --- a/0002-Fix-build-without-AppStream.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 29df2bd0bc9f4151f5f914b9b46b76beae117e94 Mon Sep 17 00:00:00 2001 -From: Antonio Rojas -Date: Wed, 21 Feb 2018 14:13:26 +0100 -Subject: [PATCH 2/8] Fix build without AppStream - -Don't try to link to AppStream-Qt if building with APPSTREAM=OFF -Differential Revision: https://phabricator.kde.org/D10707 ---- - libapper/CMakeLists.txt | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/libapper/CMakeLists.txt b/libapper/CMakeLists.txt -index 6581778..485e91d 100644 ---- a/libapper/CMakeLists.txt -+++ b/libapper/CMakeLists.txt -@@ -59,7 +59,10 @@ target_link_libraries(apper_private - KF5::I18n - Qt5::Core - PK::packagekitqt5 -- AppStreamQt - ) - -+if(APPSTREAM) -+ target_link_libraries(apper_private AppStreamQt) -+endif() -+ - install(TARGETS apper_private DESTINATION ${CMAKE_INSTALL_LIBDIR}/apper) --- -2.17.1 - diff --git a/0003-Fix-compilation-when-EDIT_ORIGNS_DESKTOP_NAME-is-def.patch b/0003-Fix-compilation-when-EDIT_ORIGNS_DESKTOP_NAME-is-def.patch deleted file mode 100644 index 0496303..0000000 --- a/0003-Fix-compilation-when-EDIT_ORIGNS_DESKTOP_NAME-is-def.patch +++ /dev/null @@ -1,25 +0,0 @@ -From c34888dd5461e2674feefefe001be2c7d64e427f Mon Sep 17 00:00:00 2001 -From: Daniel Nicoletti -Date: Wed, 21 Feb 2018 17:19:17 -0300 -Subject: [PATCH 3/8] Fix compilation when EDIT_ORIGNS_DESKTOP_NAME is defined - ---- - Apper/Settings/Settings.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Apper/Settings/Settings.cpp b/Apper/Settings/Settings.cpp -index 2175ea7..e077b8e 100644 ---- a/Apper/Settings/Settings.cpp -+++ b/Apper/Settings/Settings.cpp -@@ -154,7 +154,7 @@ Settings::~Settings() - void Settings::on_editOriginsPB_clicked() - { - #ifdef EDIT_ORIGNS_DESKTOP_NAME -- KToolInvocation::startServiceByDesktopName(EDIT_ORIGNS_DESKTOP_NAME); -+ KToolInvocation::startServiceByDesktopName(QLatin1String(EDIT_ORIGNS_DESKTOP_NAME)); - #endif //EDIT_ORIGNS_DESKTOP_NAME - } - --- -2.17.1 - diff --git a/0004-Update-AppStream-metadata.patch b/0004-Update-AppStream-metadata.patch deleted file mode 100644 index 27c9cc4..0000000 --- a/0004-Update-AppStream-metadata.patch +++ /dev/null @@ -1,79 +0,0 @@ -From f7e84b2ce9b99c9fef23b859182fed599ee13a54 Mon Sep 17 00:00:00 2001 -From: Matthias Klumpp -Date: Wed, 21 Feb 2018 22:05:47 +0100 -Subject: [PATCH 4/8] Update AppStream metadata - ---- - Apper/org.kde.apper.appdata.xml | 19 ++++++++++++++----- - 1 file changed, 14 insertions(+), 5 deletions(-) - -diff --git a/Apper/org.kde.apper.appdata.xml b/Apper/org.kde.apper.appdata.xml -index 68048a1..aeee039 100644 ---- a/Apper/org.kde.apper.appdata.xml -+++ b/Apper/org.kde.apper.appdata.xml -@@ -1,8 +1,9 @@ - -- -- org.kde.apper.desktop -- CC0-1.0 -+ -+ org.kde.apper -+ FSFAP - GPL-2.0+ -+ - Apper - آپر - Apper -@@ -35,6 +36,7 @@ - xxApperxx - Apper - Apper -+ - KDE application and package management tool - أداة «كدي» لإدارة التّطبيقات والحزم - Ferramienta KDE de xestión d'aplicaciones y paquetes -@@ -67,6 +69,7 @@ - xxKDE application and package management toolxx - KDE 应用程序和包管理工具 - KDE 應用程式與軟體套件管理工具 -+ - -

    - Apper is a graphical management tool for packages and applications -@@ -323,6 +326,7 @@ -

  • 與 KDE Plasma 桌面高度整合
  • - -
    -+ - - - https://userbase.kde.org/images.userbase/0/06/Apper-window.png -@@ -357,11 +361,13 @@ - xxThe main window showing a description of the selected packagexx - 主窗口显示了选中包的说明 - 主視窗顯示選取的套件的描述 -- https://userbase.kde.org/images.userbase/0/07/Apper-window1.png -+ https://dantti.files.wordpress.com/2018/02/screenshot_20180220_173026.png - - -- https://projects.kde.org/projects/extragear/sysadmin/apper/ -+ -+ https://www.kde.org/applications/system/apper/ - https://bugs.kde.org/enter_bug.cgi?format=guided&product=apper -+ - KDE - The KDE Community - مجتمع «كدي» -@@ -393,6 +399,9 @@ - xxThe KDE Communityxx - KDE 社区 - KDE 社群 -+ -+ org.kde.apper.desktop -+ - - apper - --- -2.17.1 - diff --git a/apper-1.0.0-qt511.patch b/apper-1.0.0-qt511.patch deleted file mode 100644 index b87a65a..0000000 --- a/apper-1.0.0-qt511.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff -up apper-1.0.0/Apper/Settings/Settings.cpp.qt511 apper-1.0.0/Apper/Settings/Settings.cpp ---- apper-1.0.0/Apper/Settings/Settings.cpp.qt511 2018-07-31 09:31:10.325795972 -0500 -+++ apper-1.0.0/Apper/Settings/Settings.cpp 2018-07-31 09:33:32.509880561 -0500 -@@ -27,6 +27,7 @@ - #include - #include - -+#include - #include - #include - -diff -up apper-1.0.0/libapper/Requirements.h.qt511 apper-1.0.0/libapper/Requirements.h ---- apper-1.0.0/libapper/Requirements.h.qt511 2018-07-31 09:32:39.579476804 -0500 -+++ apper-1.0.0/libapper/Requirements.h 2018-07-31 09:32:07.813234487 -0500 -@@ -23,6 +23,7 @@ - - #include - -+#include - #include - - namespace Ui { diff --git a/apper.sh b/apper.sh deleted file mode 100644 index 932696b..0000000 --- a/apper.sh +++ /dev/null @@ -1,17 +0,0 @@ -MODULE=apper -VERSION=1.0.0 -DATE=$(date +%Y%m%d)git -TAG=v1.0.0 - -set -x - -rm -rf $MODULE - -git clone kde:$MODULE -pushd $MODULE -git archive $TAG --format tar --prefix=${MODULE}-${VERSION}/ | xz -9 > ../${MODULE}-${VERSION}.tar.xz -popd - -rm -rf $MODULE - - diff --git a/apper.spec b/apper.spec deleted file mode 100644 index 1e1475f..0000000 --- a/apper.spec +++ /dev/null @@ -1,657 +0,0 @@ -# Force out of source build -%undefine __cmake_in_source_build - -#global snap 20180119 -# include -updater applet subpkg or not -#global updater 1 - -Name: apper -Summary: KDE interface for PackageKit -Version: 1.0.0 -Release: 8%{?dist} - -License: GPLv2+ -%if 0%{?snap:1} -Source0: apper-%{version}-%{snap}git.tar.xz -%else -Source0: apper-%{version}.tar.xz -#Source0: http://download.kde.org/stable/apper/%{version}/src/apper-%{version}.tar.xz -%endif -URL: https://cgit.kde.org/apper.git - -## upstream patches -Patch1: 0001-Install-apper-binary-as-TARGET-instead-of-PROGRAM.patch -Patch2: 0002-Fix-build-without-AppStream.patch -Patch3: 0003-Fix-compilation-when-EDIT_ORIGNS_DESKTOP_NAME-is-def.patch -Patch4: 0004-Update-AppStream-metadata.patch - -## upstreamable patches -Patch100: apper-1.0.0-qt511.patch - -Obsoletes: kpackagekit < 0.7.0 -Provides: kpackagekit = %{version}-%{release} -# required because gnome-packagekit provides exactly the same interface -Provides: PackageKit-session-service - -%if ! 0%{?updater} -Obsoletes: apper-updater < %{version}-%{release} -%endif - -BuildRequires: desktop-file-utils -BuildRequires: gettext -BuildRequires: cmake(KDED) -BuildRequires: cmake(KF5Config) -BuildRequires: cmake(KF5DocTools) -BuildRequires: cmake(KF5GuiAddons) -BuildRequires: cmake(KF5I18n) -BuildRequires: cmake(KF5KCMUtils) -BuildRequires: cmake(KF5DBusAddons) -BuildRequires: cmake(KF5KIO) -BuildRequires: cmake(KF5Notifications) -BuildRequires: cmake(KF5IconThemes) - -BuildRequires: cmake(LibKWorkspace) - -BuildRequires: cmake(Qt5Quick) -BuildRequires: cmake(Qt5Sql) -BuildRequires: cmake(Qt5Widgets) -BuildRequires: cmake(Qt5XmlPatterns) -BuildRequires: extra-cmake-modules -BuildRequires: kf5-rpm-macros - -BuildRequires: cmake(AppStreamQt) -BuildRequires: cmake(packagekitqt5) >= 1.0.0 - -BuildRequires: pkgconfig(dbus-1) - -Requires: PackageKit - -%description -KDE interface for PackageKit. - -%package updater -Summary: Apper plasma updater applet -Requires: %{name} = %{version}-%{release} -%description updater -%{summary}. - - -%prep -%autosetup -p1 - -%if 0%{?updater} -# disable update applet by default -sed -i \ - -e 's|X-KDE-PluginInfo-EnabledByDefault=.*|X-KDE-PluginInfo-EnabledByDefault=false|g' \ - plasmoid/package/metadata.desktop -%endif - - -%build -%cmake_kf5 \ - %{?appstream:-DAPPSTREAM:BOOL=ON} \ - -DAUTOREMOVE:BOOL=OFF \ - -DBUILD_PLASMOID=%{?updater:ON}%{?!updater:OFF} - -%cmake_build - - -%install -%cmake_install - -# hack around gnome-packagekit conflict -mv %{buildroot}%{_datadir}/dbus-1/services/org.freedesktop.PackageKit.service \ - %{buildroot}%{_datadir}/dbus-1/services/kde-org.freedesktop.PackageKit.service - - -%check -desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.apper.desktop ||: - - -%files -%doc TODO -%license COPYING -%{_kf5_bindir}/apper -%{_kf5_datadir}/apper/ -%{_kf5_datadir}/applications/org.kde.apper.desktop -%{_kf5_datadir}/applications/org.kde.apper_installer.desktop -%{_kf5_datadir}/applications/org.kde.apper_settings.desktop -%{_kf5_datadir}/applications/org.kde.apper_updates.desktop -%{_kf5_libdir}/apper/ -%{_libexecdir}/apper-pk-session -%{_datadir}/dbus-1/services/kde-org.freedesktop.PackageKit.service -%{_kf5_qtplugindir}/kded_apperd.so -%{_kf5_datadir}/kservices5/kded/apperd.desktop -%{_kf5_datadir}/apperd/ -%{_mandir}/man1/apper.1* -%{_kf5_metainfodir}/org.kde.apper.appdata.xml - -%if 0%{?updater} -%files updater -%{_kf5_datadir}/kservices5/plasma-applet-org.packagekit.updater.desktop -%{_kf5_datadir}/plasma/plasmoids/org.packagekit.updater/ -%endif - - -%changelog -* Sat Aug 01 2020 Fedora Release Engineering - 1.0.0-8 -- Second attempt - Rebuilt for - https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Mon Jul 27 2020 Fedora Release Engineering - 1.0.0-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Tue Jan 28 2020 Fedora Release Engineering - 1.0.0-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Wed Jul 24 2019 Fedora Release Engineering - 1.0.0-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Thu Jan 31 2019 Fedora Release Engineering - 1.0.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Mon Jul 30 2018 Rex Dieter - 1.0.0-3 -- pull in upstream fixes -- drop deprecated scriptlets -- drop rpath hacks (no longer needed) -- qt511.patch - -* Thu Jul 12 2018 Fedora Release Engineering - 1.0.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Tue Feb 20 2018 Rex Dieter - 1.0.0-1 -- 1.0.0 (v1.0.0 tag) - -* Fri Feb 09 2018 Igor Gnatenko - 1.0.0-0.3.20180119 -- Escape macros in %%changelog - -* Wed Feb 07 2018 Fedora Release Engineering - 1.0.0-0.2.20180119 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Fri Jan 19 2018 Rex Dieter - 1.0.0-0.1.20180119 -- apper-1.0.0 snapshot, PackageKit-Qt-1.0 support - -* Thu Dec 21 2017 Rex Dieter - 0.9.3-0.11.20171102 -- refresh snapshot (20171102) - -* Wed Aug 02 2017 Fedora Release Engineering - 0.9.3-0.10.20170226 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering - 0.9.3-0.9.20170226 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Mon Mar 27 2017 Rex Dieter - 0.9.3-0.8.20170226 -- apper: K4AboutData::appName crasher (#1383747) - -* Wed Mar 15 2017 Rex Dieter - 0.9.3-0.7.20170226 -- fresh snapshot, includes theming fix -- omit broken -updater subpkg (for now at least) -- update URL - -* Fri Feb 10 2017 Fedora Release Engineering - 0.9.3-0.6.20161109 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Thu Dec 22 2016 Rex Dieter - 0.9.3-0.5.20161109 -- apper crashes on startup (#1400011, kde#372292) - -* Thu Nov 10 2016 Rex Dieter - 0.9.3-0.4.20161109 -- 20161109 snapshot, namespaced appdata/.desktop -- Recommends: qt5-style-oxygen, support APPER_NO_STYLE_OVERRIDE env - -* Tue Sep 20 2016 Rex Dieter - 0.9.3-0.3.20160329 -- restore rpath hack - -* Tue Jul 05 2016 Rex Dieter - 0.9.3-0.2.20160329 -- %%check: verify rpath - -* Thu Jun 02 2016 Rex Dieter - 0.9.3-0.1.20160329 -- master/ branch snapshot, kf5-based - -* Thu May 05 2016 Rex Dieter - 0.9.2-6 -- hard-code style (plastique/oxygen) to workaround UI glitches (#1209017) - -* Wed Feb 03 2016 Fedora Release Engineering - 0.9.2-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Thu Dec 17 2015 Rex Dieter 0.9.2-4 -- (unversioned) Requires: kde-runtime - -* Thu Oct 29 2015 Rex Dieter 0.9.2-3 -- rebuild (PackageKit-Qt) - -* Thu Oct 29 2015 Rex Dieter 0.9.2-2 -- .spec cosmetics, use %%license, (explicitly) Requires: PackageKit - -* Wed Oct 28 2015 Rex Dieter 0.9.2-1 -- 0.9.2, upstream patches - -* Wed Jun 17 2015 Fedora Release Engineering - 0.9.1-12 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Mon May 04 2015 Rex Dieter 0.9.1-11 -- omit kded/apperd on plasma5/f22+ - -* Tue Apr 28 2015 Rex Dieter 0.9.1-10 -- use cache_age for updater applet too (#1188207) - -* Mon Apr 27 2015 Rex Dieter 0.9.1-9 -- Apper won't check for updates (#1188207) - -* Wed Apr 22 2015 Rex Dieter - 0.9.1-8 -- Requires: plasma-pk-updates (#1214397) -- use %%{?kde_runtime_requires} macro - -* Tue Mar 31 2015 Rex Dieter 0.9.1-7 -- omit plasma4-based updater applet (f22+) - -* Tue Jan 13 2015 Rex Dieter 0.9.1-6 -- disable appstream support (#1180819) - -* Mon Dec 15 2014 Rex Dieter 0.9.1-5 -- Your current backend does not support installing files (#1167018) - -* Mon Dec 15 2014 Rex Dieter 0.9.1-4 -- update URL: (use projects.kde.org) - -* Sat Dec 06 2014 Rex Dieter 0.9.1-3 -- don't try !allow_deps, -yum,-hif backends do not support it apparently (#877038,kde#315063) - -* Tue Oct 28 2014 Rex Dieter 0.9.1-2 -- pull in some upstream fixes - -* Tue Aug 26 2014 Rex Dieter 0.9.1-1 -- apper-0.9.1 - -* Fri Aug 15 2014 Fedora Release Engineering - 0.9.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Thu Jul 17 2014 Rex Dieter 0.9.0-3 -- rebuild (appstream) - -* Sat Jun 07 2014 Fedora Release Engineering - 0.9.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Mon May 05 2014 Rex Dieter 0.9.0-1 -- apper-0.9.0 - -* Sat Apr 26 2014 Rex Dieter 0.8.3-0.3.20140426 -- respin with translations - -* Sat Apr 26 2014 Rex Dieter 0.8.3-0.2.20140426 -- 0.8.3 20140426 snapshot, fixed appstream support, sans translations (kde svn down) - -* Tue Apr 22 2014 Rex Dieter 0.8.3-0.1.20140422 -- 0.8.3 20140422 snapshot compatible with PK-0.9 (#1089630) - -* Sat Apr 19 2014 Rex Dieter 0.8.1-5 -- rebuild (PackageKit-Qt) - -* Fri Nov 08 2013 Rex Dieter 0.8.1-4 -- enable appstream support (#1026118) - -* Sun Nov 03 2013 Rex Dieter - 0.8.1-3 -- pull in some upstream fixes -- get ready to enable appstream support (#1026118) - -* Mon Aug 26 2013 Lukáš Tinkl 0.8.1-2 -- fix translations in the updater applet - -* Tue Jul 30 2013 Rex Dieter 0.8.1-1 -- 0.8.1 (final) - -* Mon Jun 24 2013 Rex Dieter 0.8.1-0.4.20130624 -- 0.8.1 20130624 snapshot - -* Mon May 20 2013 Rex Dieter 0.8.1-0.3.20130511 -- test kded crasher fix (kde#319967) - -* Mon May 13 2013 Rex Dieter 0.8.1-0.2.20130511 -- don't run apper applet on live image (#948099) - -* Sat May 11 2013 Rex Dieter 0.8.1-0.1.20130511 -- 0.8.1 201305011 snapshot - -* Mon Apr 29 2013 Rex Dieter 0.8.0-5 -- respin previous patch to use kDebug instead - -* Mon Apr 29 2013 Rex Dieter 0.8.0-4 -- Apper ignores "never check for updates" option (#948099) - -* Wed Feb 13 2013 Rex Dieter 0.8.0-3 -- a few more upstream fixes - -* Wed Jan 09 2013 Rex Dieter 0.8.0-2 -- pull in a few upstream fixes, including followup for kde#302786 - -* Tue Jan 08 2013 Rex Dieter 0.8.0-1 -- 0.8.0 - -* Sat Jan 05 2013 Rex Dieter 0.8.0-0.13.20121231git -- Problems with the display of software origins (#891294) - -* Tue Jan 01 2013 Rex Dieter - 0.8.0-0.12.20121231git -- 20121231 snapshot -- enable apper updater systray applet - -* Mon Nov 26 2012 Rex Dieter 0.8.0-0.11.20121126git -- 20121126git snapshot -- use PackageKit-Qt - -* Fri Nov 02 2012 Rex Dieter 0.8.0-0.10.20121102git -- 20121102git snapshot - -* Tue Oct 30 2012 Rex Dieter 0.8.0-0.9.20121024git -- 20121024git snapshot (for pk-0.8.5) - -* Mon Oct 15 2012 Rex Dieter - 0.8.0-0.8.20121002git -- drop systemd_inhibit (here at least, PK or elsewhere is better) -- Apper: cannot perform system update (#866486) - -* Tue Oct 02 2012 Rex Dieter 0.8.0-0.7.20121002git -- 20121002git snapshot -- initial systemd_inhibit support (#830181) -- displays wrong warning when no updates are available (#851864) - -* Fri Sep 07 2012 Rex Dieter 0.8.0-0.6.20120724git -- add scriptlet to register mimetypes (#836559) - -* Fri Jul 27 2012 Fedora Release Engineering - 0.8.0-0.4.20120724git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Tue Jul 24 2012 Rex Dieter 0.8.0-0.3.20120724git -- 20120724git snapshot - -* Tue Jul 24 2012 Rex Dieter 0.8.0-0.2.20120628git -- rebuild - -* Thu Jun 28 2012 Rex Dieter 0.8.0-0.1.20120628git -- apper-0.8.0 snapshot - -* Thu Jun 28 2012 Rex Dieter 0.7.2-2 -- rebuild (PackageKit) - -* Mon May 21 2012 Rex Dieter 0.7.2-1 -- apper-0.7.2 - -* Mon May 7 2012 Lukáš Tinkl 0.7.1-5 -- respect the settings and don't check for updates when on battery - -* Wed Apr 25 2012 Rex Dieter 0.7.1-4 -- rebuild (PackageKit-qt) - -* Sat Apr 21 2012 Rex Dieter 0.7.1-3 -- more work on wakeups, kudos to Martin Kho (#752564) - -* Mon Apr 16 2012 Rex Dieter 0.7.1-2 -- "Unsigned packages" popup constantly reappears (#806508) -- Apper wakes up yumBackend.py every 5 to 10 minutes (#752564) - -* Tue Feb 21 2012 Rex Dieter 0.7.1-1 -- 0.7.1 (final) - -* Sat Feb 18 2012 Rex Dieter 0.7.1-0.7.20120218 -- 20120218 snapshot (#749240, #753146, #781726) - -* Thu Jan 12 2012 Fedora Release Engineering - 0.7.1-0.6.20111102 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Wed Nov 02 2011 Rex Dieter 0.7.1-0.5.20111102 -- 20111102 snapshot - -* Wed Oct 26 2011 Fedora Release Engineering - 0.7.1-0.4.20111021 -- Rebuilt for glibc bug#747377 - -* Fri Oct 21 2011 Rex Dieter 0.7.1-0.3.20111021 -- 20111021 snapshot, checkbox fixes, translations. - -* Thu Oct 20 2011 Rex Dieter 0.7.1-0.2.20111020 -- fresher snapshot, more fixes upstream. mmm, mmm, good. - -* Thu Oct 20 2011 Rex Dieter 0.7.1-0.1.20111020 -- 0.7.1 20111020 snapshot (with better fix for hack in 0.7.0-5) - -* Wed Oct 19 2011 Rex Dieter 0.7.0-5 -- hack around crash on installing standalone rpms - -* Wed Oct 19 2011 Rex Dieter 0.7.0-4 -- systray_actions patch/hack - -* Mon Oct 17 2011 Rex Dieter 0.7.0-3 -- apper.desktop: Exec=apper %%F (not %%U, it only handles files, not urls) - -* Mon Oct 17 2011 Rex Dieter 0.7.0-2 -- -DAUTOREMOVE:BOOL=OFF (#727788) - -* Tue Oct 11 2011 Rex Dieter 0.7.0-1 -- kpackagekit -> apper - -* Mon Aug 01 2011 Kevin Kofler 0.6.3.3-3 -- support the InstallResources interface, in particular for Plasma services -- bump minimum PackageKit version to 0.6.16 to support the above - -* Mon Feb 07 2011 Fedora Release Engineering - 0.6.3.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Mon Jan 03 2011 Rex Dieter 0.6.3.3-1 -- 0.6.3.3 release - -* Thu Dec 23 2010 Rex Dieter 0.6.3.2-2 -- show version information by default (#665372) -- show arch information by default (on multilib-capable archs) -- upstream patch for issues found by valgrind - -* Thu Dec 23 2010 Rex Dieter 0.6.3.2-1 -- 0.6.3.2 release - -* Wed Dec 22 2010 Rex Dieter 0.6.3-3 -- fix for software_sources category -- fix reported version - -* Wed Dec 22 2010 Rex Dieter 0.6.3-2 -- fix/improve browsing pk categories - -* Tue Dec 21 2010 Rex Dieter 0.6.3-1 -- kpk-0.6.3 - -* Wed Dec 15 2010 Kevin Kofler 0.6.3-0.2.20101214 -- fetch translations from SVN - -* Tue Dec 14 2010 Rex Dieter 0.6.3-0.1.20101214 -- 0.6.3 snapshot (sans translations) - -* Tue Oct 12 2010 Steven M. Parrish 0.6.2-1 -- New upstream release - -* Tue Sep 21 2010 Lukas Tinkl - 0.6.1-2 -- fix wrong i18n() usage in a patch resulting in broken translations - -* Tue Sep 07 2010 Steven M. Parrish - 0.6.1-1 -- New upstream release - -* Fri Mar 26 2010 Kevin Kofler - 0.6.0-2 -- rebase InstallPrinterDrivers patch -- readd disttag - -* Fri Mar 26 2010 Steven M. Parrish - 0.6.0-1 -- Official 0.6.0 release - -* Wed Mar 24 2010 Kevin Kofler - 0.6.0-0.9.20100301svn -- add support for automatic printer driver installation (Tim Waugh, #576615) - -* Sat Mar 13 2010 Rex Dieter - 0.6.0-0.8.20100301svn -- add minimal kdelibs4 runtime dependency - -* Tue Mar 02 2010 Kevin Kofler - 0.6.0-0.7.20100301svn -- update to 20100301 SVN snapshot - -* Fri Feb 26 2010 Kevin Kofler - 0.6.0-0.6.20100223svn -- update to 20100223 SVN snapshot -- include translations again - -* Wed Feb 24 2010 Rex Dieter - 0.6.0-0.5.r1095080 -- r1095080 - -* Wed Feb 24 2010 Rex Dieter - 0.6.0-0.4.20100224 -- fresh 20100224 svn snapshot - -* Fri Feb 05 2010 Richard Hughes - 0.6.0-0.3.20100111 -- Add Provides: PackageKit-session-service -- Resolves #561437 - -* Thu Jan 14 2010 Rex Dieter - 0.6.0-0.2.20100111 -- File conflict between kpackagekit and gnome-packagekit (#555139) - -* Mon Jan 11 2010 Rex Dieter - 0.6.0-0.1.20100111 -- kpk-0.6.0 2001-01-11 snapshot - -* Mon Jan 11 2010 Richard Hughes - 0.5.2-3 -- Rebuild for PackageKit-qt soname bump - -* Thu Dec 10 2009 Steven M. Parrish - 0.5.2-2 -- Clean up spec file - -* Mon Dec 07 2009 Steven M. Parrish - 0.5.2-1 -- New upstream release - -* Thu Nov 19 2009 Steven M. Parrish - 0.5.1.1-2 -- Remove no longer need patches - -* Tue Nov 17 2009 Steven M. Parrish - 0.5.1.1-1 -- New upstream release fixes #531447, #533755, #536930 - -* Sat Oct 31 2009 Steven M. Parrish - 0.5.0.3-1 -- Official 0.5.0.3 release - -* Sun Oct 25 2009 Steven M. Parrish - 0.5.0.2-1 -- Official 0.5.0.2 release - -* Tue Oct 20 2009 Steven M. Parrish - 0.5.0.1-1 -- Official 0.5.0.1 release -- Includes patch to fix (#469375) default/none issue - -* Tue Sep 15 2009 Steven M. Parrish - 0.5.0-0.1.20090915svn -- New git snapshot - -* Tue Sep 08 2009 Steven M. Parrish - 0.5.0-0.1.20090908svn -- New git snapshot, disable history - -* Wed Sep 02 2009 Steven M. Parrish - 0.5.0-0.1.20090902svn -- New git snapshot - -* Mon Aug 24 2009 Steven M. Parrish - 0.5.0-0.1.20090824svn -- New git snapshot - -* Wed Aug 19 2009 Steven M. Parrish - 0.5.0-0.1.20090819svn -- New upstream release with PolicyKit 1 integration - -* Fri Jul 24 2009 Fedora Release Engineering - 0.4.1.1-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Thu Jul 16 2009 Steven M. Parrish 0.4.1.1-3 -- Now includes Sloval(sk) translations - -* Tue Jul 7 2009 Steven M. Parrish 0.4.1.1-2 -- rebuild for new packagekit - -* Thu Jun 11 2009 Steven M. Parrish 0.4.1.1-1 -- Fixed all krazy issues (2 or 3 not much important changed in backend details) -- With KDE >= 4.2.3 persistent notifications are working again so the code to use it was commented out -- Getting duplicated updates was trully fixed -- Added "details" button on error notifications - -* Fri Jun 05 2009 Rex Dieter - 0.4.1-3 -- apply awol InitialPreference patch - -* Fri Jun 05 2009 Steven M. Parrish - 0.4.1-2 -- Added missing translations - -* Fri Jun 05 2009 Rex Dieter 0.4.1-1 -- min pk_version 0.4.7 -- touchup %%files -- highlight missing translations during build (but make it non-fatal) -- drop upstreamed patches - -* Fri Jun 05 2009 Steven M. Parrish - 0.4.1-0 -- New upstream release. Fixes compatibility with Packagekit 0.4.8 (#503989) - -* Tue Apr 28 2009 Lukáš Tinkl - 0.4.0-7 -- upstream patch to fix catalog loading (#493061) - -* Thu Apr 16 2009 Rex Dieter - 0.4.0-6 -- make update notification persistent (#485796) - -* Tue Mar 31 2009 Lukáš Tinkl - 0.4.0-5 -- another respun tarball to fix using those translations (#493061) - -* Tue Mar 17 2009 Lukáš Tinkl - 0.4.0-4 -- respun (fixed) tarball with translations included - -* Mon Mar 09 2009 Richard Hughes - 0.4.0-3 -- Rebuild for PackageKit-qt soname bump - -* Wed Feb 25 2009 Fedora Release Engineering - 0.4.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Thu Feb 19 2009 Steven M. Parrish 0.4.0-1 -- Official 0.4.0 release - -* Fri Feb 06 2009 Rex Dieter 0.4.2-0.2.20090128svn -- workaround: mime-type/extension binding for .rpm is wrong (#457783) - -* Wed Jan 28 2009 Steven M. Parrish 0.4.2-0.1.20090128svn -- Corrected release tag - -* Wed Jan 28 2009 Steven M. Parrish 0-0.1.20090128svn -- Corrected release tag - -* Wed Jan 28 2009 Steven M. Parrish 0.4.2-svn.1 -- SVN build to solve compatibility issues with packagekit 0.4.2 - -* Wed Nov 26 2008 Rex Dieter 0.3.1-6 -- respin (PackageKit) -- spec cleanup - -* Sat Nov 01 2008 Rex Dieter 0.3.1-5 -- use PackageKit's FindQPackageKit.cmake - -* Tue Oct 21 2008 Rex Dieter 0.3.1-4 -- build against PackageKit-qt - -* Mon Oct 20 2008 Rex Dieter 0.3.1-3 -- patch kpackagekit.desktop (guessed correct X-DBUS-ServiceName value), -- fixes: KDEInit could not launch "/usr/bin/kpackagekit" -- cleanup %%files - -* Thu Oct 16 2008 Steven M. Parrish 0.3.1-2 -- Fix build error - -* Thu Oct 16 2008 Steven M. Parrish 0.3.1-1 -- New upstream release - -* Mon Sep 29 2008 Steven M. Parrish 0.1-1 -- Official 0.1 release - -* Sun Aug 24 2008 Steven M. Parrish 0.1-0.3.b4 -- Excluded underdevelopment binaries and associated files - -* Fri Aug 22 2008 Steven M. Parrish 0.1-0.2.b4 -- Adding missing files - -* Tue Aug 19 2008 Steven M. Parrish 0.1-0.1.b4 -- New upstream release - -* Fri Aug 01 2008 Steven M. Parrish 0.1-0.5.b3 -- Corrected SPEC file regression - -* Thu Jul 31 2008 Steven M. Parrish 0.1-0.4.b3 -- Changed wording on serveral windows to make them better understood - -* Thu Jul 24 2008 Steven M. Parrish 0.1-0.3.b3 -- Removed additional uneeded BRs - -* Tue Jul 22 2008 Steven M. Parrish 0.1-0.2.b3 -- Removed uneeded BRs -- Made use of predefined macros - -* Wed Jul 16 2008 Steven M. Parrish 0.1-0.1.b3 -- Initial SPEC file diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..5204a84 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Orphaned for 6+ weeks diff --git a/sources b/sources deleted file mode 100644 index 74ddbf4..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (apper-1.0.0.tar.xz) = 04a381b993d7d2ad1134ebb6fa9b4d837b51e1e60c62746d7c21a0c2fc0c596ff0e932fcd81c78e160a63291d858ee772ed42f9aaef138763fcffb90497088ce