summaryrefslogtreecommitdiff
path: root/xdgmenumaker/debian/patches
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-01-13 14:14:10 +0000
committerB Stack <bgstack15@gmail.com>2020-01-13 14:14:10 +0000
commita63b8381490cfad4df5b9f4677954dcff92b480f (patch)
treec6862acd465d9270c68cfc47918f36e08a10d77b /xdgmenumaker/debian/patches
parentimprove debian/watch files for many packages (diff)
parentadd dpkg-trigger function to xdgmenumaker (diff)
downloadstackrpms-a63b8381490cfad4df5b9f4677954dcff92b480f.tar.gz
stackrpms-a63b8381490cfad4df5b9f4677954dcff92b480f.tar.bz2
stackrpms-a63b8381490cfad4df5b9f4677954dcff92b480f.zip
Merge branch 'xdgmenumaker-bump' into 'master'
add xdgmenumaker See merge request bgstack15/stackrpms!113
Diffstat (limited to 'xdgmenumaker/debian/patches')
-rw-r--r--xdgmenumaker/debian/patches/0001-force-python3.patch18
-rw-r--r--xdgmenumaker/debian/patches/series1
2 files changed, 19 insertions, 0 deletions
diff --git a/xdgmenumaker/debian/patches/0001-force-python3.patch b/xdgmenumaker/debian/patches/0001-force-python3.patch
new file mode 100644
index 0000000..2379e7d
--- /dev/null
+++ b/xdgmenumaker/debian/patches/0001-force-python3.patch
@@ -0,0 +1,18 @@
+diff -x '.git*' -x '*.swp' -x '*.orig' -x '*.rej' -Naur xdgmenumaker-1.5/src/xdgmenumaker xdgmenumaker-1.5.debian/src/xdgmenumaker
+--- xdgmenumaker-1.5/src/xdgmenumaker 2018-09-16 15:42:50.000000000 -0400
++++ xdgmenumaker-1.5.debian/src/xdgmenumaker 2020-01-05 08:52:55.880931853 -0500
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python3
+ # coding: utf-8
+ # vim:et:sta:sts=4:sw=4:ts=8:tw=79:
+
+@@ -151,7 +151,7 @@
+ terminal_app = os.getenv("XDGMENUMAKERTERM")
+ if not terminal_app:
+ try:
+- config = cp.SafeConfigParser()
++ config = cp.ConfigParser()
+ config.read(os.path.expanduser('~/.config/xdgmenumaker.cfg'))
+ terminal_app = config.get('Terminal', 'terminal')
+ # if there isn't, on debian and debian-likes, use the alternatives
diff --git a/xdgmenumaker/debian/patches/series b/xdgmenumaker/debian/patches/series
new file mode 100644
index 0000000..ca9469e
--- /dev/null
+++ b/xdgmenumaker/debian/patches/series
@@ -0,0 +1 @@
+0001-force-python3.patch
bgstack15