diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-03-24 00:23:53 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-03-24 00:23:53 +0800 |
commit | 3234a85d4d7b7c09226aaea4e677501dfb6b38dd (patch) | |
tree | ba3d72923042461dc3169549b148f04095107fd6 /print/system-config-printer/files/patch-system-config-printer.py | |
parent | aec20e8a9390356468a35cc4a0efcd27500840db (diff) | |
download | marcuscom-ports-3234a85d4d7b7c09226aaea4e677501dfb6b38dd.tar.gz marcuscom-ports-3234a85d4d7b7c09226aaea4e677501dfb6b38dd.tar.zst marcuscom-ports-3234a85d4d7b7c09226aaea4e677501dfb6b38dd.zip |
Now in ports
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10813 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'print/system-config-printer/files/patch-system-config-printer.py')
-rw-r--r-- | print/system-config-printer/files/patch-system-config-printer.py | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/print/system-config-printer/files/patch-system-config-printer.py b/print/system-config-printer/files/patch-system-config-printer.py deleted file mode 100644 index b87180c9d..000000000 --- a/print/system-config-printer/files/patch-system-config-printer.py +++ /dev/null @@ -1,38 +0,0 @@ ---- system-config-printer.py.orig 2008-03-20 11:58:46.000000000 -0400 -+++ system-config-printer.py 2008-03-20 12:01:44.000000000 -0400 -@@ -72,7 +72,7 @@ - import gettext - gettext.textdomain (domain) - gtk.glade.bindtextdomain (domain) --pkgdata = '/usr/share/' + domain -+pkgdata = '%%PREFIX%%/share/' + domain - glade_file = pkgdata + '/' + domain + '.glade' - sys.path.append (pkgdata) - -@@ -2987,7 +2987,7 @@ - # Try to get make and model via SNMP - if host: - os.environ["HOST"] = host -- cmd = '/usr/lib/cups/backend/snmp "${HOST}" 2>/dev/null' -+ cmd = '%%LOCALBASE%%/libexec/cups/backend/snmp "${HOST}" 2>/dev/null' - debugprint (host + ": " + cmd) - p = os.popen(cmd, 'r') - output = p.read() -@@ -4055,7 +4055,7 @@ - os.environ["PPD"] = filename - # We want this to be in the current natural language, - # so we intentionally don't set LC_ALL=C here. -- p = os.popen ('/usr/bin/cupstestppd -rvv "$PPD"', 'r') -+ p = os.popen ('%%LOCALBASE%%/bin/cupstestppd -rvv "$PPD"', 'r') - output = p.readlines () - p.close () - err += reduce (lambda x, y: x + y, output) -@@ -4345,7 +4345,7 @@ - (pkgs, exes) = cupshelpers.missingPackagesAndExecutables (ppd) - if len (pkgs) > 0 or len (exes) > 0: - # We didn't find a necessary executable. Complain. -- install = "/usr/bin/system-install-packages" -+ install = "/usr/bin/true" - if len (pkgs) > 0 and os.access (install, os.X_OK): - pkg = pkgs[0] - install_text = ('<span weight="bold" size="larger">' + |