summaryrefslogtreecommitdiff
path: root/net-print/hplip/files/hplip-3.9.12-cupsddk.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-08-11 00:33:31 +0100
committerV3n3RiX <venerix@rogentos.ro>2016-08-11 00:33:31 +0100
commitff5dd7b3704b9e8f9f606d4929f95694ec84ddf3 (patch)
tree393b3bd8a65eb3ec464babab42da8d9ec88851c3 /net-print/hplip/files/hplip-3.9.12-cupsddk.patch
parent4c05e04608db666140daaa94499f5f90521a2cc4 (diff)
cleanup
Diffstat (limited to 'net-print/hplip/files/hplip-3.9.12-cupsddk.patch')
-rw-r--r--net-print/hplip/files/hplip-3.9.12-cupsddk.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/net-print/hplip/files/hplip-3.9.12-cupsddk.patch b/net-print/hplip/files/hplip-3.9.12-cupsddk.patch
deleted file mode 100644
index b059c9bb..00000000
--- a/net-print/hplip/files/hplip-3.9.12-cupsddk.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-diff -Naur hplip-3.9.12-old/installer/core_install.py hplip-3.9.12/installer/core_install.py
---- hplip-3.9.12-old/installer/core_install.py 2009-12-15 22:22:13.000000000 +0100
-+++ hplip-3.9.12/installer/core_install.py 2009-12-20 02:11:47.000000000 +0100
-@@ -29,6 +29,7 @@
- import grp
- import pwd
- import tarfile
-+import commands # TODO: Replace with subprocess (commands is deprecated in Python 3.0)
-
- try:
- import hashlib # new in 2.5
-@@ -1036,9 +1037,8 @@
- def check_cupsddk(self):
- log.debug("Checking for cups-ddk...")
- # TODO: Compute these paths some way or another...
-- #return check_tool("/usr/lib/cups/driver/drv list") and os.path.exists("/usr/share/cupsddk/include/media.defs")
-- return (check_file('drv', "/usr/lib/cups/driver") or check_file('drv', "/usr/lib64/cups/driver")) and \
-- check_file('media.defs', "/usr/share/cupsddk/include")
-+ #return check_tool(commands.getoutput("cups-config --serverbin") + "/driver/drv list") and os.path.exists("/usr/share/cupsddk/include/media.defs")
-+ return check_file('drv', commands.getoutput("cups-config --serverbin") + "/driver") and check_file('media.defs', "/usr/share/cupsddk/include")
-
-
- def check_policykit(self):