Import plasma-discover_5.8.5-3.debian.tar.xz
authorMatthias Klumpp <mak@debian.org>
Fri, 20 Jan 2017 20:04:20 +0000 (20:04 +0000)
committerMatthias Klumpp <mak@debian.org>
Fri, 20 Jan 2017 20:04:20 +0000 (20:04 +0000)
[dgit import tarball plasma-discover 5.8.5-3 plasma-discover_5.8.5-3.debian.tar.xz]

15 files changed:
changelog [new file with mode: 0644]
compat [new file with mode: 0644]
control [new file with mode: 0644]
copyright [new file with mode: 0644]
extra/60plasma-discover [new file with mode: 0644]
gbp.conf [new file with mode: 0644]
not-installed [new file with mode: 0644]
patches/01_fix-desktop-run.patch [new file with mode: 0644]
patches/series [new file with mode: 0644]
plasma-discover-common.install [new file with mode: 0644]
plasma-discover.install [new file with mode: 0644]
rules [new file with mode: 0755]
source/format [new file with mode: 0644]
upstream/metadata [new file with mode: 0644]
watch [new file with mode: 0644]

diff --git a/changelog b/changelog
new file mode 100644 (file)
index 0000000..a53c4dd
--- /dev/null
+++ b/changelog
@@ -0,0 +1,160 @@
+plasma-discover (5.8.5-3) unstable; urgency=medium
+
+  * Make APT download high-res application icons by default
+    - This will make Discover look like upstream intends it to
+      look like, at the cost of higher download sizes.
+    - The download can be disabled by overriding the respective
+      APT setting.
+  * fix-desktop-run.patch: Fix arguments when running .desktop
+    files with runservice
+
+ -- Matthias Klumpp <mak@debian.org>  Fri, 20 Jan 2017 21:04:20 +0100
+
+plasma-discover (5.8.5-2) unstable; urgency=medium
+
+  * Upload to unstable
+
+ -- Matthias Klumpp <mak@debian.org>  Sun, 08 Jan 2017 22:16:14 +0100
+
+plasma-discover (5.8.5-1) experimental; urgency=medium
+
+  [ Automatic packaging ]
+  * Update build-deps and deps with the info from cmake
+
+  [ Maximiliano Curia ]
+  * New upstream release (5.8.5).
+  * Drop upstream patch: 01_new-appstreamqt.patch
+  * Update install file
+
+ -- Maximiliano Curia <maxy@debian.org>  Fri, 30 Dec 2016 18:46:21 +0100
+
+plasma-discover (5.8.3-1) unstable; urgency=medium
+
+  * New upstream release: 5.8.3
+    - Closes: #838734
+  * Depend on Kirigami
+  * new-appstreamqt.patch: Compile with recent AppStreamQt
+  * Update .install files
+  * Build-depend on libkf5plasma-dev (Closes: #843228)
+
+ -- Matthias Klumpp <mak@debian.org>  Sat, 05 Nov 2016 14:54:52 +0100
+
+plasma-discover (5.7.4-1) unstable; urgency=medium
+
+  * New upstream release (5.7.4)
+  * Update install files
+
+ -- Maximiliano Curia <maxy@debian.org>  Fri, 26 Aug 2016 15:05:20 +0200
+
+plasma-discover (5.7.3-1) unstable; urgency=medium
+
+  * New upstream bugfix release: 5.7.3
+  * Drop muon transitional packages: They are obsolete and have
+    never been in a release (Closes: #832181)
+
+ -- Matthias Klumpp <mak@debian.org>  Thu, 11 Aug 2016 18:44:30 +0200
+
+plasma-discover (5.7.1-1) unstable; urgency=medium
+
+  * New upstream bugfix release: 5.7.1
+
+ -- Matthias Klumpp <mak@debian.org>  Fri, 15 Jul 2016 16:42:30 +0200
+
+plasma-discover (5.7.0-3) unstable; urgency=medium
+
+  * Add more Breaks/Replaces (Closes: #830948)
+
+ -- Matthias Klumpp <mak@debian.org>  Thu, 14 Jul 2016 15:00:38 +0200
+
+plasma-discover (5.7.0-2) unstable; urgency=medium
+
+  * Adjust packaging for the 5.7 release
+    - Drop plasma-discover-updater, no longer needed
+    - Merge plasma-discover-private into main package,
+      it is no longer necessary to have this split.
+    - Install new files
+    - Write better package description
+  * Refresh debian/copyright
+  * Drop the TODO file, all items have been addressed
+
+ -- Matthias Klumpp <mak@debian.org>  Tue, 12 Jul 2016 15:48:48 +0200
+
+plasma-discover (5.7.0-1) unstable; urgency=medium
+
+  [ Matthias Klumpp ]
+  * Drop obsolete recommends
+
+  [ Automatic packaging ]
+  * Update build-deps and deps with the info from cmake
+
+ -- Maximiliano Curia <maxy@debian.org>  Tue, 12 Jul 2016 14:18:41 +0200
+
+plasma-discover (5.6.5-1) unstable; urgency=medium
+
+  [ Automatic packaging ]
+  * Refresh patches
+
+ -- Maximiliano Curia <maxy@debian.org>  Wed, 22 Jun 2016 21:44:37 +0200
+
+plasma-discover (5.6.4-1) unstable; urgency=medium
+
+  [ Automatic packaging ]
+  * Update build-deps and deps with the info from cmake
+  * Bump Standards-Version to 3.9.8
+  * Drop upstream applied patch: 01_components-without-pkgname.patch
+
+  [ Matthias Klumpp ]
+  * Use versioned breaks against libmuon
+  * Use PackageKit backend by default
+  * Drop unneeded build dependencies
+  * only-fetch-needed-pkgs.patch: Only fetch package information that we
+    require. This should speed up loading the application.
+
+  [ Maximiliano Curia ]
+  * Add missing breaks replaces against libmuon
+  * debian/control: Update Vcs-Browser and Vcs-Git fields
+
+ -- Matthias Klumpp <mak@debian.org>  Wed, 11 May 2016 22:02:48 +0200
+
+plasma-discover (5.6.2-1) unstable; urgency=medium
+
+  [ Matthias Klumpp ]
+  * New upstream bugfix release: 5.6.2
+  * Improve package descriptions
+  * Use secure URLs for Vcs-* fields
+
+  [ Maximiliano Curia ]
+  * Add upstream metadata (DEP-12)
+
+ -- Matthias Klumpp <mak@debian.org>  Thu, 14 Apr 2016 16:22:20 +0200
+
+plasma-discover (5.6.0-1) unstable; urgency=medium
+
+  [ Matthias Klumpp ]
+  * Upload to unstable
+  * New upstream release: 5.6.0
+  * Add gbp.conf
+  * Drop all patches: Applied upstream
+
+  [ Maximiliano Curia ]
+  * uscan no longer supports this kind of watch files.
+
+ -- Matthias Klumpp <mak@debian.org>  Wed, 23 Mar 2016 18:06:56 +0100
+
+plasma-discover (5.5.95-1) experimental; urgency=medium
+
+  [ Jonathan Riddell ]
+  * Initial package split upstream from Muon.
+
+  [ Matthias Klumpp ]
+  * Rename the packages to plasma-discover-*,
+    add transitional packages for the old muon-* packages.
+  * Merge update notifier into updater package.
+  * Update dependencies to upstream's current requirements.
+  * Drop some cruft postinst calls and runtime dependencies.
+  * libdiscover-private.patch: Make libdiscover a private lib
+  * Update debian/watch
+  * Update Vcs-* URLs
+  * Update debian/copyright
+
+ -- Matthias Klumpp <mak@debian.org>  Sat, 12 Mar 2016 16:45:56 +0100
diff --git a/compat b/compat
new file mode 100644 (file)
index 0000000..ec63514
--- /dev/null
+++ b/compat
@@ -0,0 +1 @@
+9
diff --git a/control b/control
new file mode 100644 (file)
index 0000000..0b60144
--- /dev/null
+++ b/control
@@ -0,0 +1,96 @@
+Source: plasma-discover
+Section: kde
+Priority: optional
+Maintainer: Debian/Kubuntu Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
+Uploaders: Maximiliano Curia <maxy@debian.org>,
+           Matthias Klumpp <mak@debian.org>
+Build-Depends: cmake (>= 2.8.12),
+               debhelper (>= 9),
+               extra-cmake-modules (>= 5.16.0~),
+               libappstreamqt-dev (>= 0.10.3),
+               libdebconf-kde-dev (>= 1.0.0),
+               libkf5archive-dev (>= 5.24~),
+               libkf5attica-dev (>= 5.23~),
+               libkf5config-dev (>= 5.24~),
+               libkf5configwidgets-dev (>= 5.16.0~),
+               libkf5coreaddons-dev (>= 5.24~),
+               libkf5crash-dev (>= 5.24~),
+               libkf5dbusaddons-dev (>= 5.24~),
+               libkf5declarative-dev (>= 5.24~),
+               libkf5i18n-dev (>= 5.24~),
+               libkf5iconthemes-dev (>= 5.16.0~),
+               libkf5itemviews-dev (>= 5.16.0~),
+               libkf5kdelibs4support-dev (>= 5.16.0~),
+               libkf5kio-dev (>= 5.16.0~),
+               libkf5newstuff-dev (>= 5.23~),
+               libkf5notifications-dev (>= 5.16.0~),
+               libkf5plasma-dev (>= 5.16.0~),
+               libkf5solid-dev (>= 5.16.0~),
+               libkf5textwidgets-dev,
+               libkf5wallet-dev (>= 5.16.0~),
+               libkf5widgetsaddons-dev (>= 5.16.0~),
+               libkf5xmlgui-dev (>= 5.24~),
+               libpackagekitqt5-dev (>= 0.9.5),
+               libqca-qt5-2-dev,
+               libqt5svg5-dev (>= 5.4.0~),
+               pkg-config,
+               pkg-kde-tools (>= 0.15.16),
+               qml-module-org-kde-kirigami,
+               qtbase5-dev (>= 5.4.0~),
+               qtdeclarative5-dev (>= 5.4.0~)
+Standards-Version: 3.9.8
+Homepage: https://projects.kde.org/projects/kde/workspace/discover
+Vcs-Browser: https://anonscm.debian.org/git/pkg-kde/plasma/plasma-discover.git
+Vcs-Git: https://anonscm.debian.org/git/pkg-kde/plasma/plasma-discover.git
+
+Package: plasma-discover
+Architecture: any
+Depends: appstream (>= 0.8),
+         packagekit (>= 1.0),
+         plasma-discover-common (= ${source:Version}),
+         qml-module-org-kde-kirigami,
+         ${misc:Depends},
+         ${shlibs:Depends}
+Breaks: libmuon (<< 4:5.6),
+        muon-discover (<< 4:5.5.3a),
+        muon-notifier (<< 4:5.5.3a),
+        muon-updater (<< 4:5.5.3a),
+        plasma-discover-common (<< 5.7.0),
+        plasma-discover-private (<< 5.7.0),
+        plasma-discover-updater (<< 5.7.0)
+Replaces: libmuon (<< 4:5.6),
+          muon-discover (<< 4:5.5.3a),
+          muon-notifier (<< 4:5.5.3a),
+          muon-updater (<< 4:5.5.3a),
+          plasma-discover-common (<< 5.7.0),
+          plasma-discover-private (<< 5.7.0),
+          plasma-discover-updater (<< 5.7.0)
+Recommends: software-properties-kde
+Description: Discover software management suite
+ Discover is a graphical software manager for the Plasma workspace.
+ It helps users easily and quickly find applications and other software
+ they might want to install.
+ .
+ By allowing to navigate a software library by search, categories, top lists
+ along with detailed application information that includes screenshots
+ and reviews, users can more quickly find applications that suit their needs.
+ .
+ Discover will also keep the system up to date by notifying about updates and
+ installing them.
+
+Package: plasma-discover-common
+Architecture: all
+Depends: ${misc:Depends}
+Breaks: muon-common (<< 4:5.5.3a),
+        plasma-discover (<< 5.7.0-2),
+        plasma-discover-private (<< 5.7.0),
+        plasma-discover-updater (<< 5.7.0)
+Replaces: muon-common (<< 4:5.5.3a),
+          plasma-discover (<< 5.7.0-2),
+          plasma-discover-private (<< 5.7.0),
+          plasma-discover-updater (<< 5.7.0)
+Description: Discover software manager suite (common data files)
+ Discover is a graphical software manager for the Plasma workspace.
+ .
+ This package contains data files shared by various parts of the
+ Discover suite.
diff --git a/copyright b/copyright
new file mode 100644 (file)
index 0000000..a10d776
--- /dev/null
+++ b/copyright
@@ -0,0 +1,181 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: discover
+Upstream-Contact: Aleix Pol Gonzalez <aleixpol@kde.org>
+Source: git://anongit.kde.org/discover
+
+Files: *
+Copyright: 2012-2016, Aleix Pol Gonzalez <aleixpol@blue-systems.com>
+           2010-2013, Jonathan Thomas <echidnaman@kubuntu.org>
+           2013, Lukas Appelhans <boom1992@chakra-project.org>
+License: GPL-2+3+KDEeV
+
+License: GPL-2+3+KDEeV
+ 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) version 3 or any later version
+ accepted by the membership of KDE e.V. (or its successor approved
+ by the membership of KDE e.V.), which shall act as a proxy
+ defined in Section 14 of version 3 of the license.
+ .
+ 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 <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the full text of the GNU General Public License version 2
+ can be found in the file `/usr/share/common-licenses/GPL-2', likewise, the full
+ text of the GNU General Public License version 3 can be found in the file
+ `/usr/share/common-licenses/GPL-3'.
+
+License: LGPL-2.1+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License
+ version 2.1, or (at your option) any later version, as published by the
+ Free Software Foundation
+ .
+ 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 Lesser General Public
+ License along with this program; if not, write to the
+ Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
+ .
+ On Debian systems, the full text of the GNU Lesser General Public License
+ version 2.1 can be found in the file `/usr/share/common-licenses/LGPL-2.1`.
+
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ .
+ 1. Redistributions of source code must retain the copyright
+    notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the copyright
+    notice, this list of conditions and the following disclaimer in the
+    documentation and/or other materials provided with the distribution.
+ 3. The name of the author may not be used to endorse or promote products
+    derived from this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Files: ./libdiscover/*
+ ./notifier/*
+ ./discover/*
+ ./exporter/MuonExporter.cpp
+ ./exporter/MuonExporter.h
+ ./exporter/main.cpp
+ ./libdiscover/*
+ ./notifier/*
+Copyright: 2012-2016, Aleix Pol Gonzalez <aleixpol@blue-systems.com>
+License: GPL-2+3+KDEeV
+
+Files: ./libdiscover/Category/Category.cpp
+ ./libdiscover/Category/Category.h
+ ./libdiscover/ReviewsBackend/Rating.cpp
+ ./libdiscover/ReviewsBackend/Rating.h
+ ./libdiscover/ReviewsBackend/Review.cpp
+ ./libdiscover/ReviewsBackend/Review.h
+ ./libdiscover/Transaction/AddonList.cpp
+ ./libdiscover/Transaction/AddonList.h
+ ./libdiscover/Transaction/Transaction.cpp
+ ./libdiscover/Transaction/Transaction.h
+ ./libdiscover/Transaction/TransactionModel.cpp
+ ./libdiscover/Transaction/TransactionModel.h
+ ./libdiscover/UpdateModel/UpdateItem.cpp
+ ./libdiscover/UpdateModel/UpdateItem.h
+ ./libdiscover/UpdateModel/UpdateModel.cpp
+ ./libdiscover/UpdateModel/UpdateModel.h
+ ./libdiscover/backends/ApplicationBackend/Application.cpp
+ ./libdiscover/backends/ApplicationBackend/Application.h
+ ./libdiscover/backends/ApplicationBackend/ApplicationBackend.cpp
+ ./libdiscover/backends/ApplicationBackend/ApplicationBackend.h
+ ./libdiscover/backends/ApplicationBackend/ReviewsBackend.cpp
+ ./libdiscover/backends/ApplicationBackend/ReviewsBackend.h
+ ./libdiscover/backends/ApplicationBackend/distupgradeevent/releasechecker
+ ./libdiscover/backends/ApplicationBackend/libmuonapt/ChangesDialog.cpp
+ ./libdiscover/backends/ApplicationBackend/libmuonapt/ChangesDialog.h
+ ./libdiscover/backends/ApplicationBackend/libmuonapt/HistoryView/HistoryProxyModel.cpp
+ ./libdiscover/backends/ApplicationBackend/libmuonapt/HistoryView/HistoryProxyModel.h
+ ./libdiscover/backends/ApplicationBackend/libmuonapt/HistoryView/HistoryView.cpp
+ ./libdiscover/backends/ApplicationBackend/libmuonapt/HistoryView/HistoryView.h
+ ./libdiscover/backends/ApplicationBackend/libmuonapt/MuonStrings.cpp
+ ./libdiscover/backends/ApplicationBackend/libmuonapt/MuonStrings.h
+ ./libdiscover/backends/ApplicationBackend/libmuonapt/QAptActions.cpp
+ ./libdiscover/backends/ApplicationBackend/libmuonapt/QAptActions.h
+Copyright: 2010-2013, Jonathan Thomas <echidnaman@kubuntu.org>
+License: GPL-2+3+KDEeV
+
+Files: ./libdiscover/backends/DummyBackend/DummyNotifier.cpp
+ ./libdiscover/backends/DummyBackend/DummyNotifier.h
+ ./libdiscover/backends/PackageKitBackend/PackageKitNotifier.h
+ ./libdiscover/backends/PackageKitBackend/PackageKitUpdater.cpp
+ ./libdiscover/backends/PackageKitBackend/PackageKitUpdater.h
+Copyright: 2013, Lukas Appelhans <boom1992@chakra-project.org>
+License: GPL-2+3+KDEeV
+
+Files: ./libdiscover/backends/PackageKitBackend/PackageKitBackend.cpp
+ ./libdiscover/backends/PackageKitBackend/PackageKitMessages.cpp
+ ./libdiscover/backends/PackageKitBackend/PackageKitNotifier.cpp
+ ./libdiscover/backends/PackageKitBackend/PackageKitResource.cpp
+Copyright: 2012-2015, Aleix Pol Gonzalez <aleixpol@blue-systems.com>
+  2013, Lukas Appelhans <l.appelhans@gmx.de>
+License: GPL-2+3+KDEeV
+
+Files: ./libdiscover/backends/ApplicationBackend/qoauth/src/interface.cpp
+ ./libdiscover/backends/ApplicationBackend/qoauth/src/interface.h
+ ./libdiscover/backends/ApplicationBackend/qoauth/src/interface_p.h
+ ./libdiscover/backends/ApplicationBackend/qoauth/src/qoauth_global.h
+ ./libdiscover/backends/ApplicationBackend/qoauth/src/qoauth_namespace.h
+Copyright: 2009, Dominik Kapusta <d@ayoy.net>
+License: LGPL-2.1+
+
+Files: ./libdiscover/backends/ApplicationBackend/tests/NotifierTest.cpp
+ ./libdiscover/backends/ApplicationBackend/tests/NotifierTest.h
+Copyright: 2015, Harald Sitter <sitter@kde.org>
+License: GPL-2+3+KDEeV
+
+Files: ./cmake/FindQtOAuth.cmake
+Copyright: 2010, Harald Sitter <apachelogger@ubuntu.com>
+  2010, Mehrdad Momeny <mehrdad.momeny@gmail.com>
+License: BSD-3-clause
+
+Files: ./discover/qml/GridItem.qml
+Copyright: 2014, Aleix Pol Gonzalez <aleixpol@blue-systems.com>
+License: LGPL-2.1+
+
+Files: debian/*
+Copyright: 2010, Jonathan Thomas <echidnaman@kubuntu.org>
+           2015, Jonathan Riddell <jr@jriddell.org>
+           2016, Matthias Klumpp <mak@debian.org>
+License: GPL-3+
+ 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 3 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 <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the full text of the GNU General Public License
+ version 3 can be found in the file `/usr/share/common-licenses/GPL-3'.
diff --git a/extra/60plasma-discover b/extra/60plasma-discover
new file mode 100644 (file)
index 0000000..124ef9f
--- /dev/null
@@ -0,0 +1,17 @@
+## This file is provided by KDE Discover to enable the download of
+## small-size icons as well as bigger high-res application icons by default.
+##
+## The small (64x64px) icons are required for Discover to work, while the
+## HiDPI icons are required for it to look good.
+
+Acquire::IndexTargets {
+    deb::DEP-11-icons  {
+        DefaultEnabled "true";
+    };
+};
+
+Acquire::IndexTargets {
+    deb::DEP-11-icons-hidpi  {
+        DefaultEnabled "true";
+    };
+};
diff --git a/gbp.conf b/gbp.conf
new file mode 100644 (file)
index 0000000..210deae
--- /dev/null
+++ b/gbp.conf
@@ -0,0 +1,6 @@
+[buildpackage]
+sign-tags = True
+#debian-tag-msg = %(version)s <suite>; urgency=<urgency>
+
+[import-orig]
+dch = False
diff --git a/not-installed b/not-installed
new file mode 100644 (file)
index 0000000..04ba005
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/*/*.a
diff --git a/patches/01_fix-desktop-run.patch b/patches/01_fix-desktop-run.patch
new file mode 100644 (file)
index 0000000..79da348
--- /dev/null
@@ -0,0 +1,27 @@
+From 2db9081b379614ecc19331634d31ca827b9cf9e6 Mon Sep 17 00:00:00 2001
+From: Fabian Vogt <fabian@ritter-vogt.de>
+Date: Tue, 27 Dec 2016 18:53:40 +0100
+Subject: Fix arguments when running .desktop files with runservice
+
+Without this patch the command run with runservice has a duplicate first argument
+as QProcess already prepends the executable name.
+---
+ libdiscover/backends/PackageKitBackend/runservice/main.cpp | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/libdiscover/backends/PackageKitBackend/runservice/main.cpp b/libdiscover/backends/PackageKitBackend/runservice/main.cpp
+index b56917a..693d80c 100644
+--- a/libdiscover/backends/PackageKitBackend/runservice/main.cpp
++++ b/libdiscover/backends/PackageKitBackend/runservice/main.cpp
+@@ -39,5 +39,7 @@ int main(int argc, char** argv)
+     QTextStream cerr(stderr);
+     KIO::DesktopExecParser execParser(_service, {});
+-    return !QProcess::startDetached(KIO::DesktopExecParser::executableName(_service.exec()), execParser.resultingArguments());
++    auto args = execParser.resultingArguments();
++    const auto execName = args.takeFirst();
++    return !QProcess::startDetached(execName, args);
+ }
+-- 
+cgit v0.11.2
+
diff --git a/patches/series b/patches/series
new file mode 100644 (file)
index 0000000..f992216
--- /dev/null
@@ -0,0 +1 @@
+01_fix-desktop-run.patch
diff --git a/plasma-discover-common.install b/plasma-discover-common.install
new file mode 100644 (file)
index 0000000..8e59ab5
--- /dev/null
@@ -0,0 +1,7 @@
+etc/xdg/discover_ktexteditor_codesnippets_core.knsrc
+usr/share/discover/*
+usr/share/icons/hicolor/*/apps/plasmadiscover.*
+usr/share/kxmlgui5/plasmadiscover/*
+usr/share/libdiscover/*
+usr/share/locale/*
+usr/share/plasmadiscover/*
diff --git a/plasma-discover.install b/plasma-discover.install
new file mode 100644 (file)
index 0000000..7291fb7
--- /dev/null
@@ -0,0 +1,14 @@
+debian/extra/60plasma-discover /etc/apt/apt.conf.d/
+usr/bin/plasma-discover
+usr/lib/*/libexec/kf5/discover/runservice
+usr/lib/*/plasma-discover/*
+usr/lib/*/qt5/plugins/discover-notifier/*
+usr/lib/*/qt5/plugins/discover/*
+usr/lib/*/qt5/qml/org/kde/discover/*
+usr/lib/*/qt5/qml/org/kde/discovernotifier/libDiscoverNotifierDeclarativePlugin.so
+usr/lib/*/qt5/qml/org/kde/discovernotifier/qmldir
+usr/share/applications/*
+usr/share/knotifications5/*
+usr/share/kservices5/*
+usr/share/metainfo/*
+usr/share/plasma/plasmoids/*
diff --git a/rules b/rules
new file mode 100755 (executable)
index 0000000..0e349f6
--- /dev/null
+++ b/rules
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+
+include /usr/share/pkg-kde-tools/qt-kde-team/3/debian-qt-kde.mk
+
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+DEB_VERSION_UPSTREAM_REVISION := $(shell dpkg-parsechangelog | awk '/^Version: / { print $$2 }' | sed -e 's/^[0-9]*://')
+
+# Do not pull plugins into the shlibs file, it makes lintian angry.
+# This happens because dh_makeshlibs will look for sonames matching
+# (.*)-(.*)\.so where it assumes \1 is the library name and \2 is the version.
+# This will then assume that libfoo-backend.so has name 'libfoo' and version
+# 'backend' which makes for bogus, pointless, silly shlibs entries.
+# Couldn't be bothered to report this - sitter, 2015
+override_dh_makeshlibs:
+       dh_makeshlibs -Xusr/lib/$(DEB_HOST_MULTIARCH)/qt5/plugins/discover* -V
+
+# FIXME: tests are broken at time
+override_dh_auto_test:
+       :
diff --git a/source/format b/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/upstream/metadata b/upstream/metadata
new file mode 100644 (file)
index 0000000..acc3400
--- /dev/null
@@ -0,0 +1,7 @@
+Name: plasma-discover
+Changelog: https://quickgit.kde.org/?p=discover.git&a=log
+Contact: plasma-devel@kde.org
+Donation: https://www.kde.org/community/donations/index.php
+Repository: https://anongit.kde.org/discover.git
+Repository-Browse: https://quickgit.kde.org/?p=discover.git
+Security-Contact: security@kde.org
diff --git a/watch b/watch
new file mode 100644 (file)
index 0000000..78e12c6
--- /dev/null
+++ b/watch
@@ -0,0 +1,2 @@
+version=3
+http://download.kde.org/stable/plasma/([\d.]+)/discover-([\d.]+)\.tar\.xz