[Lunar-commits] <moonbase-other> hplip: Readding to moonbase.

Dennis Veatch stumbles at lunar-linux.org
Tue Jul 17 17:41:08 CEST 2012


commit a3149917d04797e0bb228d33481ea79ea237a1c4
Author: Dennis Veatch <stumbles at lunar-linux.org>
Date: Tue, 17 Jul 2012 08:41:08 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/a3149917d04797e0bb228d33481ea79ea237a1c4

hplip: Readding to moonbase.
---
  printer/hplip/BUILD                                          +23/-0    
  printer/hplip/CONFIGURE                                      +3/-0     
  printer/hplip/DEPENDS                                        +33/-0    
  printer/hplip/DETAILS                                        +17/-0    
  4 files changed, 76 insertions (+), 0 deletions (-)

--- /dev/null
+++ b/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
--- /dev/null
+++ b/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"
--- /dev/null
+++ b/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"
--- /dev/null
+++ b/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




More information about the Lunar-commits mailing list