pkgsrc/print/hplip/options.mk

58 lines
1.9 KiB
Makefile
Raw Normal View History

# $NetBSD: options.mk,v 1.4 2014/05/09 07:37:17 wiz Exp $
#
# HPLIP dependencies are detailed in the following page:
# http://hplipopensource.com/hplip-web/install/manual/distros/other.html
PKG_OPTIONS_VAR= PKG_OPTIONS.hplip
PKG_SUPPORTED_OPTIONS= fax sane qt
PKG_SUGGESTED_OPTIONS= fax sane
PKG_OPTIONS_LEGACY_OPTS+= scan:sane
PKG_OPTIONS_LEGACY_OPTS+= gui:qt
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mfax)
PLIST_SRC+= PLIST.fax
CONFIGURE_ARGS+= --enable-fax-build
CONFIGURE_ARGS+= --enable-dbus-build
EGFILES+= cups/pstotiff.convs cups/pstotiff.types
MAKE_DIRS+= ${PKG_SYSCONFDIR}/cups
DEPENDS+= ${PYPKGPREFIX}-reportlab-[0-9]*:../../print/py-reportlab
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 34 34 # py-reportlab
.include "../../sysutils/dbus/buildlink3.mk"
.include "../../sysutils/py-dbus/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-dbus-build
CONFIGURE_ARGS+= --disable-fax-build
.endif
.if !empty(PKG_OPTIONS:Msane)
PLIST_SRC+= PLIST.scan
CONFIGURE_ARGS+= --enable-scan-build
MESSAGE_SRC+= MESSAGE.scan
MESSAGE_SUBST+= EGDIR=${EGDIR}
.include "../../graphics/sane-backends/buildlink3.mk"
# XXX: a dependency installs py-Pillow, which conflicts
.include "../../graphics/py-imaging/buildlink3.mk"
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 34 34 # py-imaging
.else
CONFIGURE_ARGS+= --disable-scan-build
.endif
.if !empty(PKG_OPTIONS:Mqt)
PLIST_SRC+= PLIST.gui
CONFIGURE_ARGS+= --enable-gui-build
CONFIGURE_ARGS+= --enable-qt4
CONFIGURE_ARGS+= --enable-policykit
EGFILES+= dbus-1/system.d/com.hp.hplip.conf
MAKE_DIRS+= ${PKG_SYSCONFDIR}/dbus-1/system.d
.include "../../x11/py-qt4/buildlink3.mk"
.include "../../security/policykit/buildlink3.mk"
Update to 3.13.4: Changes,etc: HPLIP 3.13.4 - This release has the following changes: Added Support for the Following New Printers: - HP Designjet Z5200 44-in PostScript Printer - HP LaserJet Pro M521dn Multifunction Printer - HP LaserJet Pro M521dw Multifunction Printer - HP Officejet Pro 251dw Printer - HP Officejet Pro 276dw Multifunction Printer Added support for the following new Distro's: - Debian 6.0.7 - OpenSuse 12.3 Launchpad fixes: 1132172 - Typo in Webpage "hplip Manual install - su ..." 1153555 - hp-doctor:137:install_plugin:NameError: global name 'sts' is not defined 1048114 - toolbox.py crashed with KeyError in is_auto_installer_support(): 0 Issues fixed: - The tab name is "Print Settings" instead of "Fax Settings" when fax device is selected in "Device Manager" - Pin to Print support for HP LaserJet Enterprise 500 Color M551 - "Status and Supplies" informations are missing in 'Device Manager' for HP LaserJet P3015 Printer - Envelop paper sizes were missing for HP Photosmart 5510d e-All-in-One - Scan operation fails with IO error, after Print job for HP Deskjet 3070 B611 series - 'hp-levels' command does not give any details about cartridges for HP DeskJet 3000 j310 series and HP Deskjet 3050 J610 series - Error attempting to read r-value(2) is getting displayed in terminal when execute 'hp-info' and 'hp-levles' commands - Extra text is displayed in the option "Output Order" under "Printer Settings" tab in "Device Manager" - Print job can not be launched with 'hp-scan -o ~/test01.jpg --printer=PSC_2170_Series' command, after the scan job is completed - Device IO Error occurs while configuring HP Officejet Pro X451dw Printer via WiFi through USB - Clean functionality from command line and 'Device Manager' supported for applicable InkJet devices - Removed PPD warnings and errors by updating version information and constraints HPLIP 3.13.3 - This release has the following changes: Added support for the following new Distro's: - LinuxMint 14 Launchpad fixes: 1131596 - Not able to install HP 3.13.2 plugin 1130272 - hplip-3.13.2 installation stalls 1099853 - Fix use of PIL(Python Imaging Library) to support Pillow Issues fixed: - "Device Manager" window disappears after entering wrong password in authentication window three times. - Traceback message appears in terminal when pressed "Ctrl+C" button on the keyboard while configuring the device through 'hp-setup' HPLIP 3.13.2 - This release has the following changes: Added Support for the Following New Printers: - HP Officejet Pro X451dw Printer - HP Officejet Pro X451dn Printer - HP Officejet Pro X476dn MFP - HP Officejet Pro X476dw MFP - HP Officejet Pro X551dw Printer - HP Officejet Pro X576dw MFP - HP Officejet 7110 Wide Format ePrinter - HP LaserJet 400 M401dne Added support for the following new Distro's: - Fedora 18 Launchpad fixes: 1084435 - Wrong toner part No.36A shown for LJ Pro P1606dn 1112306 - Under some circumstances HPLIP removes user from all groups 1091567 - upgrade.py crashes if a captive portal is used 1082413 - hplip-3.12.10a prnt/drv/hpijs.drv missing } after LJZjsColor definition causing lots of ppds to be incorrectly generated 816763 - Wrong syslog facility for debug messages Issues fixed: - Command "hp-scan -m 'lineart'" gives unexpected scanned output with HP LaserJet 200 Color MFP M275 device - Fixed duplicate scanner displays in xsane - Scan issue fixed in Linuxmint 64bit OS Detailed Change Log: - Secure Printing Support for HP LaserJet 5500 and Hp LaserJet 8150 - Updated Media Types for HP Color LaserJet CP5520 Series
2013-04-12 05:47:30 +02:00
DEPENDS+= ${PYPKGPREFIX}-notify-[0-9]*:../../sysutils/py-notify
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 34 34 # py-notify
.else
CONFIGURE_ARGS+= --disable-policykit
CONFIGURE_ARGS+= --disable-qt4
CONFIGURE_ARGS+= --disable-gui-build
.endif