From 177175f8e1485120847250573b2b4babdb7a2e65 Mon Sep 17 00:00:00 2001 From: B Stack Date: Sun, 5 Jan 2020 09:46:03 -0500 Subject: add xdgmenumaker, at v 1.5 --- xdgmenumaker/debian/patches/0001-force-python3.patch | 18 ++++++++++++++++++ xdgmenumaker/debian/patches/series | 1 + 2 files changed, 19 insertions(+) create mode 100644 xdgmenumaker/debian/patches/0001-force-python3.patch create mode 100644 xdgmenumaker/debian/patches/series (limited to 'xdgmenumaker/debian/patches') 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 -- cgit