[SCM] dragon packaging branch, kubuntu_vivid_archive, updated. debian/4.14.0-1-15-gc3c07df
Jonathan Riddell
jriddell-guest at moszumanska.debian.org
Wed Apr 1 16:26:44 UTC 2015
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/dragon.git;a=commitdiff;h=c3c07df
The following commit has been merged in the kubuntu_vivid_archive branch:
commit c3c07df59cbec9930c4074c2886484a337008a76
Author: Jonathan Riddell <jr at jriddell.org>
Date: Wed Apr 1 18:26:40 2015 +0200
add patches
---
debian/patches/kubuntu_install-restricted.diff | 37 ++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 38 insertions(+)
diff --git a/debian/patches/kubuntu_install-restricted.diff b/debian/patches/kubuntu_install-restricted.diff
new file mode 100644
index 0000000..8571dd4
--- /dev/null
+++ b/debian/patches/kubuntu_install-restricted.diff
@@ -0,0 +1,37 @@
+Description: call kubuntu-notifications-helper to prompt for installing restricted codecs
+Author: Jonathan Riddell
+Origin: kubuntu
+Forwarded: no cos k-n-h is kubuntu only, but I have a gsoc project to do this better upstream
+Last-Update: 2015-04-01
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/src/app/main.cpp 2015-02-21 07:46:09.000000000 +0100
++++ b/src/app/main.cpp 2015-04-01 18:19:17.478573756 +0200
+@@ -26,6 +26,9 @@
+ #include <KCmdLineArgs>
+ #include <KLocalizedString>
+
++#include <QDBusMessage>
++#include <QDBusConnection>
++
+ static KAboutData aboutData( APP_NAME, 0,
+ ki18n("Dragon Player"), APP_VERSION,
+ ki18n("A video player that has a usability focus"), KAboutData::License_GPL_V2,
+@@ -52,5 +55,17 @@
+ KUniqueApplication::addCmdLineOptions();
+
+ Dragon::PlayerApplication application;
++
++ //Added by Kubuntu for update-notifier-kde to prompt for restricted codec install
++ QDBusMessage m = QDBusMessage::createMethodCall("org.kubuntu.restrictedInstall",
++ "/org/kubuntu/restrictedInstall",
++ "org.kubuntu.restrictedInstall",
++ "installRestricted");
++ QList<QVariant> dbusargs;
++ dbusargs.append("Dragon Video Player");
++ dbusargs.append("gstreamer1.0-libav");
++ m.setArguments(dbusargs);
++ bool queued = QDBusConnection::sessionBus().send(m);
++
+ return application.exec();
+ }
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..b0b423b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+kubuntu_install-restricted.diff
--
dragon packaging
More information about the pkg-kde-commits
mailing list