[libspork-perl] 02/05: Add patch to use xdg-open instead of open upon "spork -start"
Axel Beckert
abe at deuxchevaux.org
Fri Jan 17 01:23:49 UTC 2014
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch master
in repository libspork-perl.
commit 371dcb780cb0fa659d5a4e3eb3b4afa3858427fb
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Fri Jan 17 01:55:28 2014 +0100
Add patch to use xdg-open instead of open upon "spork -start"
Recommend xdg-utils
---
debian/changelog | 2 ++
debian/control | 1 +
debian/patches/series | 1 +
debian/patches/use-xdg-open.patch | 19 +++++++++++++++++++
4 files changed, 23 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index c54aced..da23229 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -36,6 +36,8 @@ libspork-perl (0.21-1) UNRELEASED; urgency=low
* Add versioned (build-)dependencies on libio-all-perl excluding
knowingly broken versions which break libspork-perl (via
libspoon-perl), too. (Closes: #730895; see also #733680)
+ * Add patch to use xdg-open instead of open upon "spork -start"
+ + Recommend xdg-utils
-- Ansgar Burchardt <ansgar at debian.org> Sun, 12 Jun 2011 14:51:42 +0200
diff --git a/debian/control b/debian/control
index aa17f11..812deab 100644
--- a/debian/control
+++ b/debian/control
@@ -37,3 +37,4 @@ Description: create slide presentations with Kwiki markup
Spork allows you create an entire slideshow by editing a single file called
Spork.slides (by default). Each slide is created using a minimal markup
language similar to the syntax used in Kwiki wikis.
+Recommends: xdg-utils
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..b0f6c40
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+use-xdg-open.patch
diff --git a/debian/patches/use-xdg-open.patch b/debian/patches/use-xdg-open.patch
new file mode 100644
index 0000000..43d75fe
--- /dev/null
+++ b/debian/patches/use-xdg-open.patch
@@ -0,0 +1,19 @@
+Description: use xdg-open instead of open
+ There is no "open" command in debian which starts a browser when
+ given an HTML file as parameter. But xdg-open doesn that.
+Author: Axel Beckert <abe at debian.org>
+Forwarded: not-needed
+
+Index: libspork-perl/lib/Spork/Config.pm
+===================================================================
+--- libspork-perl.orig/lib/Spork/Config.pm 2013-08-29 16:54:20.000000000 +0200
++++ libspork-perl/lib/Spork/Config.pm 2014-01-17 01:50:04.000000000 +0100
+@@ -225,7 +225,7 @@
+ link_next: Next >>
+ link_index: Index
+
+-start_command: open slides/start.html
++start_command: xdg-open slides/start.html
+
+ # Change core classes here:
+ # formatter_class: Spork::Formatter::Kwid
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libspork-perl.git
More information about the Pkg-perl-cvs-commits
mailing list