openbsd-ports/print/hplip/patches/patch-setup_py
ajacoutot f8bddf7e5a Major update to hplip-3.9.6b.
Refer to the project homepage for the complete changelog.

This port now comes into 5 subpackages (ala Fedora):
- main: complete hplip functionnalities
- hpijs: deprecated hpijs printer driver
- hpcups: new-gen printer driver
- libs: libraries and helpers used by other subpackages
- gui: graphical tools (systray applet...)

It seems this version works a least as good as the previous one we had
in-tree. I could use some feedbacks for the fancier stuffs that hplip
provides (besides regular printing using hpcups and/or hpijs), like
printer communication, ink levels... because I have no hp equipment, but
at least, there was no regression reported.
(some features are Linux-only and are expected not to work)

Tested by several, thanks!
2009-07-13 08:14:28 +00:00

22 lines
711 B
Plaintext

$OpenBSD: patch-setup_py,v 1.1 2009/07/13 08:14:29 ajacoutot Exp $
--- setup.py.orig Thu Jun 25 21:05:57 2009
+++ setup.py Thu Jul 2 18:37:48 2009
@@ -125,7 +125,7 @@ def restart_cups():
return '/etc/init.d/cupsys restart'
else:
- return 'killall -HUP cupsd'
+ return 'pkill -HUP cupsd'
mod = module.Module(__mod__, __title__, __version__, __doc__, USAGE,
@@ -883,7 +883,7 @@ else: # INTERACTIVE_MODE
if len(path) > 0:
cmd = 'hp-testpage %s' % param
else:
- cmd = 'python ./testpage.py %s' % param
+ cmd = '${MODPY_BIN} ./testpage.py %s' % param
log.debug(cmd)