Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Dennis Veatch
committed
Jul 17, 2012
1 parent
cdcc3b0
commit a314991
Showing
4 changed files
with
76 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |