diff options
author | Koop Mast <kwm@FreeBSD.org> | 2013-09-12 19:44:38 +0000 |
---|---|---|
committer | Koop Mast <kwm@FreeBSD.org> | 2013-09-12 19:44:38 +0000 |
commit | 5900c6b14dd05fdc51cc669f07e53db26f273515 (patch) | |
tree | 0621407e4e6c4ba56bba4dcb5f5376082e487cbf /print/system-config-printer/files/patch-applet.py | |
parent | Update to 0.2.5. (diff) |
Update to 1.4.2.
This fixes run-time with glib 2.36.
PR: ports/180075 [1]
Reported by: Stephen Fisher <stephenfisher@outlook.com> [1], swills@
Diffstat (limited to 'print/system-config-printer/files/patch-applet.py')
-rw-r--r-- | print/system-config-printer/files/patch-applet.py | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/print/system-config-printer/files/patch-applet.py b/print/system-config-printer/files/patch-applet.py index d21bb2a2ec76..68a4af8a9690 100644 --- a/print/system-config-printer/files/patch-applet.py +++ b/print/system-config-printer/files/patch-applet.py @@ -1,20 +1,11 @@ ---- applet.py.orig 2009-12-22 09:44:19.000000000 -0500 -+++ applet.py 2009-12-29 00:06:27.000000000 -0500 +--- applet.py.orig 2013-07-22 15:58:32.000000000 +0200 ++++ applet.py 2013-08-29 11:06:43.000000000 +0200 @@ -43,7 +43,7 @@ - os.environ['LC_ALL'] = 'C' - locale.setlocale (locale.LC_ALL, "") + + from gi.repository import Notify -APPDIR="/usr/share/system-config-printer" +APPDIR="%%PREFIX%%/share/system-config-printer" - DOMAIN="system-config-printer" ICON="printer" - SEARCHING_ICON="document-print-preview" -@@ -234,7 +234,7 @@ - pid = os.fork () - if pid == 0: - # Child. -- cmd = "/usr/bin/system-config-printer" -+ cmd = "%%PREFIX%%/bin/system-config-printer" - argv.insert (0, cmd) - os.execvp (cmd, argv) - sys.exit (1) + + # We need to call Notify.init before we can check the server for caps |