Skip to content

Commit

Permalink
hplip: Readding to moonbase.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Veatch committed Jul 17, 2012
1 parent cdcc3b0 commit a314991
Show file tree
Hide file tree
Showing 4 changed files with 76 additions and 0 deletions.
23 changes: 23 additions & 0 deletions printer/hplip/BUILD
@@ -0,0 +1,23 @@
(

# Inserting a missing include.
sed -i "41i #include <cups/ppd.h>" prnt/hpps/hppsfilter.c &&

if in_depends $MODULE PyQt4; then
. /etc/profile.d/qt4.rc
fi &&

# Install /usr/bin/hpijs so don't get this error:
# (/usr/lib/cups/filter/foomatic-rip-hplip) stopped with status 3!
# Or this error:
# sh: hpijs: command not found
OPTS+=" --enable-hpijs-install" &&

default_config &&

# To fix the /var/log/messages warning that SYSFS will be removed in future udev versions.
sedit "s:SYSFS:ATTR:g" data/rules/56-hpmud_support.rules data/rules/55-hpmud.rules &&

default_make

) > $C_FIFO 2>&1
3 changes: 3 additions & 0 deletions printer/hplip/CONFIGURE
@@ -0,0 +1,3 @@
mquery PARPORT "Enable printing via parallel port (not needed for USB printers)?" y "--enable-pp-build" "--disable-pp-build"
mquery FAX "Enable built-in fax in your HP printer?" y "--enable-fax-build" "--disable-fax-build"
mquery FOOMATIC "Install foomatic ppd's (required for PSC and Photosmart printers)?" y "--enable-foomatic-ppd-install --enable-foomatic-rip-hplip-install"
33 changes: 33 additions & 0 deletions printer/hplip/DEPENDS
@@ -0,0 +1,33 @@
depends %JPEG
depends cups
depends libusb-compat

optional_depends "%UDEV" \
"--enable-udev-acl-rules" \
"--disable-udev-acl-rules" \
"for udev access rules support"

optional_depends "polkit" \
"--enable-policykit" \
"--disable-policykit" \
"for policykit support"

optional_depends "sane-backends" \
"--enable-scan-build" \
"--disable-scan-build" \
"for builtin scanner support"

optional_depends "PyQt" \
"--enable-qt4 --disable-qt3" \
"--disable-qt4 --disable-qt3" \
"for HP Qt4 GUI Support"

optional_depends "reportlab" \
"" \
"" \
"for PDF and Fax cover page support"

optional_depends "net-snmp" \
"--enable-network-build" \
"--disable-network-build" \
"for network printing support"
17 changes: 17 additions & 0 deletions printer/hplip/DETAILS
@@ -0,0 +1,17 @@
MODULE=hplip
VERSION=3.12.6
SOURCE=$MODULE-$VERSION.tar.gz
SOURCE_URL=$SFORGE_URL/$MODULE
SOURCE_VFY=sha1:f3d7f66fb5eff2158ac42bb5a115f8ef8bd7a383
WEB_SITE=http://hplipopensource.com/hplip-web/index.html
ENTERED=20061216
UPDATED=20120624
SHORT="Hewlett Packard's drivers for HP printers"

cat << EOF
HPLIP is an HP developed solution for printing, scanning, and faxing
with HP inkjet and laser based printers in Linux.
The HPLIP project provides printing support for 1,040 printer models,
including Deskjet, Officejet, Photosmart, PSC (Print Scan Copy), Business
Inkjet, LaserJet, and LaserJet MFP.
EOF

0 comments on commit a314991

Please sign in to comment.