[arch-commits] Commit in discover/repos (4 files)
Antonio Rojas
arojas at archlinux.org
Fri May 18 15:42:06 UTC 2018
Date: Friday, May 18, 2018 @ 15:42:05
Author: arojas
Revision: 324546
archrelease: copy kde-unstable to kde-unstable-x86_64
Added:
discover/repos/kde-unstable-x86_64/
discover/repos/kde-unstable-x86_64/PKGBUILD
(from rev 324545, discover/kde-unstable/PKGBUILD)
discover/repos/kde-unstable-x86_64/discover-no-deb-rpm.patch
(from rev 324545, discover/kde-unstable/discover-no-deb-rpm.patch)
discover/repos/kde-unstable-x86_64/discover-pk-qt-1.0c.patch
(from rev 324545, discover/kde-unstable/discover-pk-qt-1.0c.patch)
---------------------------+
PKGBUILD | 47 ++++++++++++++++++++++++++++++++++++++++++++
discover-no-deb-rpm.patch | 11 ++++++++++
discover-pk-qt-1.0c.patch | 21 +++++++++++++++++++
3 files changed, 79 insertions(+)
Copied: discover/repos/kde-unstable-x86_64/PKGBUILD (from rev 324545, discover/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD (rev 0)
+++ kde-unstable-x86_64/PKGBUILD 2018-05-18 15:42:05 UTC (rev 324546)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=discover
+pkgver=5.12.90
+pkgrel=1
+pkgdesc='KDE and Plasma resources management GUI'
+arch=(x86_64)
+url='https://projects.kde.org/projects/kde/workspace/discover'
+license=(LGPL)
+depends=(knewstuff kitemmodels qt5-graphicaleffects appstream-qt archlinux-appstream-data
+ hicolor-icon-theme kirigami2 qt5-quickcontrols)
+makedepends=(extra-cmake-modules plasma-framework packagekit-qt5 flatpak)
+optdepends=('packagekit-qt5: to manage packages from Arch Linux repositories' 'flatpak: Flatpak packages support')
+groups=(plasma)
+source=("https://download.kde.org/unstable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"{,.sig}
+ discover-no-deb-rpm.patch)
+sha256sums=('4f408bf3df97e9ceeda3f843a60994d928ffd1c3524d32656dee55e0c5bd2660'
+ 'SKIP'
+ '1910a7a95c8537cdf59fea87bdb4a4ac750d073c63182536358ef5c75508521d')
+validpgpkeys=('2D1D5B0588357787DE9EE225EC94D18F7F05997E' # Jonathan Riddell
+ '0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D' # Bhushan Shah <bshah at kde.org>
+ 'D07BD8662C56CB291B316EB2F5675605C74E02CF' # David Edmundson
+ '1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin <notmart at gmail.com>
+
+prepare() {
+ mkdir -p build
+
+ cd $pkgname-$pkgver
+# Don't handle .rpm or .deb files
+ patch -p1 -i ../discover-no-deb-rpm.patch
+}
+
+build() {
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DCMAKE_INSTALL_LIBEXECDIR=lib \
+ -DBUILD_TESTING=OFF
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
Copied: discover/repos/kde-unstable-x86_64/discover-no-deb-rpm.patch (from rev 324545, discover/kde-unstable/discover-no-deb-rpm.patch)
===================================================================
--- kde-unstable-x86_64/discover-no-deb-rpm.patch (rev 0)
+++ kde-unstable-x86_64/discover-no-deb-rpm.patch 2018-05-18 15:42:05 UTC (rev 324546)
@@ -0,0 +1,11 @@
+--- discover-5.10.5/discover/CMakeLists.txt.orig 2017-08-22 17:30:12.209293604 +0000
++++ discover-5.10.5/discover/CMakeLists.txt 2017-08-22 17:30:25.102651653 +0000
+@@ -36,7 +36,7 @@
+
+ # Standard desktop file accepts local files as input.
+ set(DesktopNoDisplay "false")
+-set(DesktopMimeType "application/vnd.debian.binary-package;application/x-rpm;")
++set(DesktopMimeType "")
+ set(DesktopExec "plasma-discover %F")
+ configure_file(org.kde.discover.desktop.cmake ${CMAKE_CURRENT_BINARY_DIR}/org.kde.discover.desktop)
+ install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/org.kde.discover.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
Copied: discover/repos/kde-unstable-x86_64/discover-pk-qt-1.0c.patch (from rev 324545, discover/kde-unstable/discover-pk-qt-1.0c.patch)
===================================================================
--- kde-unstable-x86_64/discover-pk-qt-1.0c.patch (rev 0)
+++ kde-unstable-x86_64/discover-pk-qt-1.0c.patch 2018-05-18 15:42:05 UTC (rev 324546)
@@ -0,0 +1,21 @@
+From 69c2d24a0a71b1c50a56beda90febdae97aa3128 Mon Sep 17 00:00:00 2001
+From: Aleix Pol <aleixpol at kde.org>
+Date: Tue, 9 Jan 2018 18:21:44 +0100
+Subject: No need to manage these pointers anymore
+
+---
+ libdiscover/backends/PackageKitBackend/PackageKitNotifier.cpp | 4 ----
+ 1 file changed, 4 deletions(-)
+
+diff --git a/libdiscover/backends/PackageKitBackend/PackageKitNotifier.cpp b/libdiscover/backends/PackageKitBackend/PackageKitNotifier.cpp
+index fdabd81..0113a06 100644
+--- a/libdiscover/backends/PackageKitBackend/PackageKitNotifier.cpp
++++ b/libdiscover/backends/PackageKitBackend/PackageKitNotifier.cpp
+@@ -225,7 +225,6 @@ void PackageKitNotifier::refreshDatabase()
+ m_refresher = PackageKit::Daemon::refreshCache(false);
+ connect(m_refresher.data(), &PackageKit::Transaction::finished, this, [this]() {
+ recheckSystemUpdateNeeded();
+- delete m_refresher;
+ });
+ }
+
More information about the arch-commits
mailing list