From owner-svn-ports-all@FreeBSD.ORG Tue Feb 10 12:17:39 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5E96C1EC; Tue, 10 Feb 2015 12:17:39 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48C11367; Tue, 10 Feb 2015 12:17:39 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t1ACHdVw066625; Tue, 10 Feb 2015 12:17:39 GMT (envelope-from makc@FreeBSD.org) Received: (from makc@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t1ACHblM066612; Tue, 10 Feb 2015 12:17:37 GMT (envelope-from makc@FreeBSD.org) Message-Id: <201502101217.t1ACHblM066612@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: makc set sender to makc@FreeBSD.org using -f From: Max Brazhnikov Date: Tue, 10 Feb 2015 12:17:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r378769 - in head/print: hplip hplip-plugin hplip/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2015 12:17:39 -0000 Author: makc Date: Tue Feb 10 12:17:36 2015 New Revision: 378769 URL: https://svnweb.freebsd.org/changeset/ports/378769 QAT: https://qat.redports.org/buildarchive/r378769/ Log: print/hplip: - Update to 3.14.10 [1] - Fix detection of libusb v1.0 and build with it now - Enable JetDirect and scanning support by default (requested by pkg users) - hplip modifies etc/sane.d/dll.conf witch belongs to sane-backends port, and writes to this file in staging area. Add commented entry for it in plist to pacify staging checks. print/hplip-plugin: - Update to 3.14.10 - Add missing entry to plist - Pass MAKE_ENV for installer to prevent writing to ${HOME} PR 197245 [1] Submitted by: chris@bsdjunk.com Modified: head/print/hplip-plugin/Makefile head/print/hplip-plugin/distinfo head/print/hplip-plugin/pkg-plist head/print/hplip/Makefile head/print/hplip/distinfo head/print/hplip/files/patch-installer__core_install.py head/print/hplip/pkg-plist Modified: head/print/hplip-plugin/Makefile ============================================================================== --- head/print/hplip-plugin/Makefile Tue Feb 10 12:16:23 2015 (r378768) +++ head/print/hplip-plugin/Makefile Tue Feb 10 12:17:36 2015 (r378769) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= hplip-plugin -PORTVERSION= 3.14.4 -PORTREVISION= 1 +PORTVERSION= 3.14.10 CATEGORIES= print MASTER_SITES= http://hplipopensource.com/hplip-web/plugin/ DISTNAME= hplip-${DISTVERSION}-plugin @@ -67,10 +66,13 @@ do-install: ${LN} -sf ${LOCALBASE}/share/hplip/prnt ${HPLIP_FAKEDIR} ${CP} -R ${LOCALBASE}/share/hplip/installer ${HPLIP_FAKEDIR} ${REINPLACE_CMD} -e 's,HOMEDIR = .*,HOMEDIR = "${STAGEDIR}${PREFIX}/share/hplip",' \ - ${HPLIP_FAKEDIR}/installer/pluginhandler.py + -e 's,/var/lib/hp/hplip.state,${STAGEDIR}&,' \ + ${HPLIP_FAKEDIR}/installer/pluginhandler.py \ + ${HPLIP_FAKEDIR}/installer/core_install.py + ${MKDIR} ${STAGEDIR}/var/lib/hp # install hplip-plugin ${MKDIR} ${PLUGIN_DIRS:S,^,${STAGEDIR}${PREFIX}/share/hplip/,} - (cd ${WRKSRC} && ${PYTHON_CMD} -B plugin_install.py) + (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} -B plugin_install.py) .for i in ${PLUGIN_LINKS} ${LN} -sf ${i:T}-${LINARCH}.so ${STAGEDIR}${PREFIX}/share/hplip/${i}.so .endfor Modified: head/print/hplip-plugin/distinfo ============================================================================== --- head/print/hplip-plugin/distinfo Tue Feb 10 12:16:23 2015 (r378768) +++ head/print/hplip-plugin/distinfo Tue Feb 10 12:17:36 2015 (r378769) @@ -1,2 +1,2 @@ -SHA256 (hplip-3.14.4-plugin.run) = e42094e7f10df48fb4a3de0a71b442d93f09305cac915dd8a86ba9757cbd3b4c -SIZE (hplip-3.14.4-plugin.run) = 1869315 +SHA256 (hplip-3.14.10-plugin.run) = b395b480ad86b9f27b6a2f63b6ecb00beb78e762a6137efb81dc1104837f9b81 +SIZE (hplip-3.14.10-plugin.run) = 1869038 Modified: head/print/hplip-plugin/pkg-plist ============================================================================== --- head/print/hplip-plugin/pkg-plist Tue Feb 10 12:16:23 2015 (r378768) +++ head/print/hplip-plugin/pkg-plist Tue Feb 10 12:17:36 2015 (r378769) @@ -25,3 +25,4 @@ share/hplip/scan/plugins/bb_soap-%%LINAR share/hplip/scan/plugins/bb_soap.so share/hplip/scan/plugins/bb_soapht-%%LINARCH%%.so share/hplip/scan/plugins/bb_soapht.so +/var/lib/hp/hplip.state Modified: head/print/hplip/Makefile ============================================================================== --- head/print/hplip/Makefile Tue Feb 10 12:16:23 2015 (r378768) +++ head/print/hplip/Makefile Tue Feb 10 12:17:36 2015 (r378769) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= hplip -PORTVERSION= 3.14.4 -PORTREVISION= 4 +PORTVERSION= 3.14.10 CATEGORIES= print MASTER_SITES= SF @@ -40,8 +39,7 @@ CONFIGURE_ARGS= --enable-foomatic-ppd-in --with-mimedir=${PREFIX}/etc/cups \ --with-docdir=${DOCSDIR} \ --with-htmldir=${DOCSDIR} \ - --with-drvdir=${PREFIX}/libexec/cups/driver \ - --enable-libusb01_build + --with-drvdir=${PREFIX}/libexec/cups/driver CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib @@ -78,7 +76,7 @@ FILES4FIX= Makefile.in \ PYTHON_SITELIBDIR_REL= ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;} OPTIONS_DEFINE= QT FAX SNMP SCAN XSANE DOCS -OPTIONS_DEFAULT= QT +OPTIONS_DEFAULT= QT SNMP SCAN OPTIONS_SUB= yes # QT FAX SCAN QT_DESC= Graphical User Interface (Qt 4) @@ -114,6 +112,8 @@ RUN_DEPENDS+= xsane:${PORTSDIR}/graphics post-patch: ${REINPLACE_CMD} -e 's|-ldld||g; s|-ldl||g' \ + -e 's,-lusb-1.0,-lusb,g' \ + -e 's,libusb-1.0/libusb.h,libusb.h,g' \ ${WRKSRC}/configure \ ${WRKSRC}/Makefile.in ${REINPLACE_CMD} -e '/[[:space:]]install-dist_rulesDATA/ s,install-dist_rulesDATA,,' \ @@ -152,5 +152,7 @@ post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/hp ${INSTALL_DATA} ${WRKSRC}/hplip.conf ${STAGEDIR}${PREFIX}/etc/hp/hplip.conf.sample ${LN} -sf ${LOCALBASE}/bin/foomatic-rip ${STAGEDIR}${PREFIX}/libexec/cups/filter/foomatic-rip-hplip + ${MKDIR} ${STAGEDIR}${PREFIX}/share/cups/model + ${LN} -sf ${LOCALBASE}/share/ppd/HP ${STAGEDIR}${PREFIX}/share/cups/model/hplip .include Modified: head/print/hplip/distinfo ============================================================================== --- head/print/hplip/distinfo Tue Feb 10 12:16:23 2015 (r378768) +++ head/print/hplip/distinfo Tue Feb 10 12:17:36 2015 (r378769) @@ -1,2 +1,2 @@ -SHA256 (hplip-3.14.4.tar.gz) = ce50c2e0ebc0f469599500257d291ca170c6559a99c8eb312f89be881c2110c9 -SIZE (hplip-3.14.4.tar.gz) = 21414140 +SHA256 (hplip-3.14.10.tar.gz) = 11b3cd8311dea6b22a4c80be1e5d021e84d15a5f3e7e22cbd43798e5c1a89598 +SIZE (hplip-3.14.10.tar.gz) = 21773429 Modified: head/print/hplip/files/patch-installer__core_install.py ============================================================================== --- head/print/hplip/files/patch-installer__core_install.py Tue Feb 10 12:16:23 2015 (r378768) +++ head/print/hplip/files/patch-installer__core_install.py Tue Feb 10 12:17:36 2015 (r378769) @@ -1,6 +1,6 @@ ---- ./installer/core_install.py.orig 2012-09-04 12:31:53.000000000 +0000 -+++ ./installer/core_install.py 2012-09-12 15:01:59.259583493 +0000 -@@ -885,7 +885,7 @@ +--- installer/core_install.py.orig 2014-10-07 08:55:35 UTC ++++ installer/core_install.py +@@ -769,14 +769,14 @@ class CoreInstall(object): if not check_lib('libusb'): return False if self.distro_name != "rhel": @@ -9,3 +9,11 @@ else: return True else: + if not check_lib('libusb-1.0'): + return False + if self.distro_name != "rhel": +- return len(locate_file_contains("libusb.h", '/usr/include/libusb-1.0', 'libusb_init')) ++ return len(locate_file_contains("libusb.h", '%USB_INCLUDE%', 'libusb_init')) + else: + return True + Modified: head/print/hplip/pkg-plist ============================================================================== --- head/print/hplip/pkg-plist Tue Feb 10 12:16:23 2015 (r378768) +++ head/print/hplip/pkg-plist Tue Feb 10 12:17:36 2015 (r378769) @@ -38,6 +38,7 @@ bin/hpijs %%FAX%%etc/cups/pstotiff.convs %%FAX%%etc/cups/pstotiff.types @sample etc/hp/hplip.conf.sample +@comment etc/sane.d/dll.conf %%QT%%etc/xdg/autostart/hplip-systray.desktop lib/libhpip.so lib/libhpip.so.0 @@ -61,6 +62,7 @@ libexec/cups/filter/hpcups libexec/cups/filter/hpps libexec/cups/filter/pstotiff %%QT%%share/applications/hplip.desktop +share/cups/model/hplip %%PORTDOCS%%%%DOCSDIR%%/COPYING %%PORTDOCS%%%%DOCSDIR%%/README_LIBJPG %%PORTDOCS%%%%DOCSDIR%%/commandline.html @@ -870,6 +872,7 @@ share/ppd/HP/hp-color_laserjet_pro_mfp_m share/ppd/HP/hp-color_laserjet_pro_mfp_m476-ps.ppd.gz share/ppd/HP/hp-cp1160-hpijs.ppd.gz share/ppd/HP/hp-cp1160.ppd.gz +share/ppd/HP/hp-designjet_d5800-ps.ppd.gz share/ppd/HP/hp-designjet_4000ps.ppd.gz share/ppd/HP/hp-designjet_4020ps-ps.ppd.gz share/ppd/HP/hp-designjet_4500mfp.ppd.gz @@ -893,12 +896,16 @@ share/ppd/HP/hp-designjet_t790ps_24in-ps share/ppd/HP/hp-designjet_t790ps_44in-ps.ppd.gz share/ppd/HP/hp-designjet_t795ps_44in-ps.ppd.gz share/ppd/HP/hp-designjet_t920-postscript.ppd.gz +share/ppd/HP/hp-designjet_t3500-ps.ppd.gz +share/ppd/HP/hp-designjet_t7200-ps.ppd.gz share/ppd/HP/hp-designjet_z5200_postscript-ps.ppd.gz share/ppd/HP/hp-designjet_z5400-postscript.ppd.gz share/ppd/HP/hp-designjet_z6100ps_42in_photo-ps.ppd.gz share/ppd/HP/hp-designjet_z6100ps_60in_photo-ps.ppd.gz share/ppd/HP/hp-designjet_z6200_42in_photo-ps.ppd.gz share/ppd/HP/hp-designjet_z6200_60in_photo-ps.ppd.gz +share/ppd/HP/hp-designjet_z6600-postscript.ppd.gz +share/ppd/HP/hp-designjet_z6800_photo-postscript.ppd.gz share/ppd/HP/hp-deskjet_1000_j110_series-hpijs.ppd.gz share/ppd/HP/hp-deskjet_1000_j110_series.ppd.gz share/ppd/HP/hp-deskjet_1010_series-hpijs.ppd.gz @@ -1267,6 +1274,12 @@ share/ppd/HP/hp-envy_4500_series-hpijs.p share/ppd/HP/hp-envy_4500_series.ppd.gz share/ppd/HP/hp-envy_5530_series-hpijs.ppd.gz share/ppd/HP/hp-envy_5530_series.ppd.gz +share/ppd/HP/hp-envy_5640_series-hpijs.ppd.gz +share/ppd/HP/hp-envy_5640_series.ppd.gz +share/ppd/HP/hp-envy_5660_series-hpijs.ppd.gz +share/ppd/HP/hp-envy_5660_series.ppd.gz +share/ppd/HP/hp-envy_7640_series-hpijs.ppd.gz +share/ppd/HP/hp-envy_7640_series.ppd.gz share/ppd/HP/hp-laserjet_1000-hpijs.ppd.gz share/ppd/HP/hp-laserjet_1000.ppd.gz share/ppd/HP/hp-laserjet_1005_series-hpijs.ppd.gz @@ -1581,6 +1594,7 @@ share/ppd/HP/hp-laserjet_cp_1025-hpijs.p share/ppd/HP/hp-laserjet_cp_1025.ppd.gz share/ppd/HP/hp-laserjet_cp_1025nw-hpijs.ppd.gz share/ppd/HP/hp-laserjet_cp_1025nw.ppd.gz +share/ppd/HP/hp-laserjet_flow_mfp_m630-ps.ppd.gz share/ppd/HP/hp-laserjet_flow_mfp_m525-ps.ppd.gz share/ppd/HP/hp-laserjet_flow_mfp_m830-ps.ppd.gz share/ppd/HP/hp-laserjet_m1005-hpijs.ppd.gz @@ -1639,6 +1653,7 @@ share/ppd/HP/hp-laserjet_m9059_mfp-pcl3. share/ppd/HP/hp-laserjet_m9059_mfp-ps.ppd.gz share/ppd/HP/hp-laserjet_mfp_m521-ps.ppd.gz share/ppd/HP/hp-laserjet_mfp_m725-ps.ppd.gz +share/ppd/HP/hp-laserjet_mfp_m630-ps.ppd.gz share/ppd/HP/hp-laserjet_p1005-hpijs.ppd.gz share/ppd/HP/hp-laserjet_p1005.ppd.gz share/ppd/HP/hp-laserjet_p1006-hpijs.ppd.gz @@ -1752,6 +1767,12 @@ share/ppd/HP/hp-laserjet_pro_mfp_m128fp. share/ppd/HP/hp-laserjet_pro_mfp_m128fw-hpijs.ppd.gz share/ppd/HP/hp-laserjet_pro_mfp_m128fw.ppd.gz share/ppd/HP/hp-laserjet_pro_mfp_m435-ps.ppd.gz +share/ppd/HP/hp-laserjet_pro_m201_m202-ps.ppd.gz +share/ppd/HP/hp-laserjet_pro_mfp_m125r-hpijs.ppd.gz +share/ppd/HP/hp-laserjet_pro_mfp_m125r.ppd.gz +share/ppd/HP/hp-laserjet_pro_mfp_m125ra-hpijs.ppd.gz +share/ppd/HP/hp-laserjet_pro_mfp_m125ra.ppd.gz +share/ppd/HP/hp-laserjet_pro_mfp_m225_m226-ps.ppd.gz share/ppd/HP/hp-laserjet_professional_m1132_mfp-hpijs.ppd.gz share/ppd/HP/hp-laserjet_professional_m1132_mfp.ppd.gz share/ppd/HP/hp-laserjet_professional_m1136_mfp-hpijs.ppd.gz @@ -1878,6 +1899,8 @@ share/ppd/HP/hp-officejet_5500_series-hp share/ppd/HP/hp-officejet_5500_series.ppd.gz share/ppd/HP/hp-officejet_5600_series-hpijs.ppd.gz share/ppd/HP/hp-officejet_5600_series.ppd.gz +share/ppd/HP/hp-officejet_5740_series-hpijs.ppd.gz +share/ppd/HP/hp-officejet_5740_series.ppd.gz share/ppd/HP/hp-officejet_6000_e609a-hpijs.ppd.gz share/ppd/HP/hp-officejet_6000_e609a.ppd.gz share/ppd/HP/hp-officejet_6000_e609n-hpijs.ppd.gz @@ -1904,6 +1927,8 @@ share/ppd/HP/hp-officejet_6600-hpijs.ppd share/ppd/HP/hp-officejet_6600.ppd.gz share/ppd/HP/hp-officejet_6700-hpijs.ppd.gz share/ppd/HP/hp-officejet_6700.ppd.gz +share/ppd/HP/hp-officejet_6800-hpijs.ppd.gz +share/ppd/HP/hp-officejet_6800.ppd.gz share/ppd/HP/hp-officejet_7000_e809a-hpijs.ppd.gz share/ppd/HP/hp-officejet_7000_e809a.ppd.gz share/ppd/HP/hp-officejet_7000_e809a_series-hpijs.ppd.gz @@ -1922,6 +1947,8 @@ share/ppd/HP/hp-officejet_7500_e910-hpij share/ppd/HP/hp-officejet_7500_e910.ppd.gz share/ppd/HP/hp-officejet_7610_series-hpijs.ppd.gz share/ppd/HP/hp-officejet_7610_series.ppd.gz +share/ppd/HP/hp-officejet_8040_series-hpijs.ppd.gz +share/ppd/HP/hp-officejet_8040_series.ppd.gz share/ppd/HP/hp-officejet_9100_series-hpijs-pcl3.ppd.gz share/ppd/HP/hp-officejet_9100_series-pcl3.ppd.gz share/ppd/HP/hp-officejet_color_mfp_x585.ppd.gz @@ -1981,6 +2008,14 @@ share/ppd/HP/hp-officejet_pro_3620.ppd.g share/ppd/HP/hp-officejet_pro_451_series-ps.ppd.gz share/ppd/HP/hp-officejet_pro_476_576_series-ps.ppd.gz share/ppd/HP/hp-officejet_pro_551_series-ps.ppd.gz +share/ppd/HP/hp-officejet_pro_6230-hpijs.ppd.gz +share/ppd/HP/hp-officejet_pro_6230.ppd.gz +share/ppd/HP/hp-officejet_pro_6830-hpijs.ppd.gz +share/ppd/HP/hp-officejet_pro_6830.ppd.gz +share/ppd/HP/hp-officejet_pro_8640-hpijs.ppd.gz +share/ppd/HP/hp-officejet_pro_8640.ppd.gz +share/ppd/HP/hp-officejet_pro_8660-hpijs.ppd.gz +share/ppd/HP/hp-officejet_pro_8660.ppd.gz share/ppd/HP/hp-officejet_pro_8000_a809-hpijs.ppd.gz share/ppd/HP/hp-officejet_pro_8000_a809.ppd.gz share/ppd/HP/hp-officejet_pro_8000_enterprise_a811a-ps.ppd.gz