diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2007-08-08 23:28:57 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2007-08-08 23:28:57 +0000 |
commit | 3de3a7576653fbf7b0606710a400c4534de58651 (patch) | |
tree | dcc497b3604ca2dcb4d78f7ad1bf098210a3a76d /net-print/hplip | |
parent | fix eblit update -- call renamed src_install func (diff) | |
download | historical-3de3a7576653fbf7b0606710a400c4534de58651.tar.gz historical-3de3a7576653fbf7b0606710a400c4534de58651.tar.bz2 historical-3de3a7576653fbf7b0606710a400c4534de58651.zip |
version bump thanks to Paul Bredbury <brebs@sent.com> in bug 187530
Package-Manager: portage-2.1.3.3
Diffstat (limited to 'net-print/hplip')
-rw-r--r-- | net-print/hplip/ChangeLog | 7 | ||||
-rw-r--r-- | net-print/hplip/Manifest | 16 | ||||
-rw-r--r-- | net-print/hplip/files/digest-hplip-2.7.7 | 3 | ||||
-rw-r--r-- | net-print/hplip/hplip-2.7.7.ebuild | 115 |
4 files changed, 136 insertions, 5 deletions
diff --git a/net-print/hplip/ChangeLog b/net-print/hplip/ChangeLog index 288f243759b6..6672b0748f21 100644 --- a/net-print/hplip/ChangeLog +++ b/net-print/hplip/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-print/hplip # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-print/hplip/ChangeLog,v 1.71 2007/07/28 07:50:02 calchan Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-print/hplip/ChangeLog,v 1.72 2007/08/08 23:28:56 genstef Exp $ + +*hplip-2.7.7 (08 Aug 2007) + + 08 Aug 2007; Stefan Schweizer <genstef@gentoo.org> +hplip-2.7.7.ebuild: + version bump thanks to Paul Bredbury <brebs@sent.com> in bug 187530 28 Jul 2007; Denis Dupeyron <calchan@gentoo.org> hplip-2.7.6.ebuild: Added einfo about the init script not being used anymore, thanks to Heiko diff --git a/net-print/hplip/Manifest b/net-print/hplip/Manifest index a83137677fc8..bf3e79d3b1f4 100644 --- a/net-print/hplip/Manifest +++ b/net-print/hplip/Manifest @@ -7,6 +7,7 @@ DIST hplip-1.6.10.tar.gz 10561620 RMD160 3608757fca36865528565c0c40571d91a936fd3 DIST hplip-1.7.4a.tar.gz 13566965 RMD160 e2777b8b065abe385bfe557b9eed86848029e2c9 SHA1 98fcb0ce13ee7d9f17cc6c61c568528dd9cbf71d SHA256 903957b1b1aa86438d546a205a3d526a600b1e56754a5ba5ce99228a26cc475e DIST hplip-2.7.6-1.patch 641 RMD160 8fb3653de10a49188fe067bb5b6b8b1e749b5759 SHA1 0b52f931f41b5f04a8f34e111db281b216a2ec58 SHA256 9d7d2c0bfbab48e87a7fc88c82c3a210ead2c39da54e1a6c05e8bef8ac56ca24 DIST hplip-2.7.6.tar.gz 14025487 RMD160 3cf9b11907cd2678880b8ddfc184ba2f20227976 SHA1 9e6bcd62f81b86a700ba3613061b245c07b2ea55 SHA256 d4ec63934b13ea36b1bd10aa785ff58affcc454721f526ab059b0f399ac56ac5 +DIST hplip-2.7.7.tar.gz 14412854 RMD160 d3bc36b44b2fd07d8938fce2f508bbc9b4c47b5b SHA1 5b80ba8a62035985cbc4a0ae656df8a1779dbbdb SHA256 0804bda4dd18480597bf408351fe56412b84f737d2554b07aafaa1fb089674ba EBUILD hplip-1.6.10.ebuild 3675 RMD160 877081de0015019133f1031fda241b7709771b87 SHA1 c09c30009fb5a98caefe8bf1b75e856160f1be26 SHA256 583c89b73d79581d51e8ca1dff6d2139bd5a2137c4871e536c0d5d3e00f04070 MD5 8446d1a564a05b03114e9a4cc7e35d1f hplip-1.6.10.ebuild 3675 RMD160 877081de0015019133f1031fda241b7709771b87 hplip-1.6.10.ebuild 3675 @@ -19,10 +20,14 @@ EBUILD hplip-2.7.6.ebuild 3690 RMD160 89cdb47e316e56c46c2280fad7ef1bc1e44a9f51 S MD5 7da0c3f3a05f993039ae0b0ef5bb9785 hplip-2.7.6.ebuild 3690 RMD160 89cdb47e316e56c46c2280fad7ef1bc1e44a9f51 hplip-2.7.6.ebuild 3690 SHA256 c70f0151b8d53ac462316acf72cb8a83825db64e1fdbdebd06392fba46cd0bd5 hplip-2.7.6.ebuild 3690 -MISC ChangeLog 11987 RMD160 c5c536676f099b7c93f350c40c9ce8f89153adc6 SHA1 c98d29e521cc9571254e49f66e19ec68476f83be SHA256 ae470044881eb4f9f70545318382dad5f9051bba222fa2beb724d0c192465b28 -MD5 b8c6325ad01d0a6c92aa5a7981fb8956 ChangeLog 11987 -RMD160 c5c536676f099b7c93f350c40c9ce8f89153adc6 ChangeLog 11987 -SHA256 ae470044881eb4f9f70545318382dad5f9051bba222fa2beb724d0c192465b28 ChangeLog 11987 +EBUILD hplip-2.7.7.ebuild 3759 RMD160 96bb907923c93c89b2c3992b83714fd173357680 SHA1 27691aed8a27468a9d6dc89ce1e348d397be3492 SHA256 30451f2900e118eba6497af4da963a2bf236df5873e1dbc0bf73136c37948f9b +MD5 e5fb5ce31f271f67d386fc0fa890ad68 hplip-2.7.7.ebuild 3759 +RMD160 96bb907923c93c89b2c3992b83714fd173357680 hplip-2.7.7.ebuild 3759 +SHA256 30451f2900e118eba6497af4da963a2bf236df5873e1dbc0bf73136c37948f9b hplip-2.7.7.ebuild 3759 +MISC ChangeLog 12160 RMD160 6a073baa010074c81c97d52e8fcc287b5a13ca10 SHA1 07c06d42ee7d981ce11a168848c6fca20f1575e8 SHA256 92e4ba7f3996e56a395b2e68c589f8c2344f0ef9f8afce738430e9d02b445111 +MD5 24c3aca2aa811c3d71d101e861ef69d8 ChangeLog 12160 +RMD160 6a073baa010074c81c97d52e8fcc287b5a13ca10 ChangeLog 12160 +SHA256 92e4ba7f3996e56a395b2e68c589f8c2344f0ef9f8afce738430e9d02b445111 ChangeLog 12160 MISC metadata.xml 250 RMD160 00f8254bd6b52bc050cdc822b7370b3e2d2f4970 SHA1 f91d1e6c01026cba252d042ba254f4a4bc61194a SHA256 ab106df12671f3f541e0416f8c0d5a96b6e725ed7b3b111d27af7a584c4bf164 MD5 a7f39f5758507140c896dcc24a3e0e2f metadata.xml 250 RMD160 00f8254bd6b52bc050cdc822b7370b3e2d2f4970 metadata.xml 250 @@ -36,3 +41,6 @@ SHA256 4d98dfc9fec72da07fc2405364c623aaed10c8476d582920a75639e8499cd135 files/di MD5 729b5763ff268380cc924895080bcfc8 files/digest-hplip-2.7.6 470 RMD160 e2db31899c213148ae6bf50dd744673056eebc2a files/digest-hplip-2.7.6 470 SHA256 8b4586dffb135b543d1d4809733ca82651d4bb523b9f4286c22cd11ed8255832 files/digest-hplip-2.7.6 470 +MD5 f2a0a963b9b861e21a85682d0c052886 files/digest-hplip-2.7.7 241 +RMD160 65b7854d37748cd9132fe9a021cd75af7324e442 files/digest-hplip-2.7.7 241 +SHA256 c0010a4a83dce3e4d7f01acb21db5cf45068c4060a7bc99f3f37554de50e9fba files/digest-hplip-2.7.7 241 diff --git a/net-print/hplip/files/digest-hplip-2.7.7 b/net-print/hplip/files/digest-hplip-2.7.7 new file mode 100644 index 000000000000..3dbaf8aeb6e1 --- /dev/null +++ b/net-print/hplip/files/digest-hplip-2.7.7 @@ -0,0 +1,3 @@ +MD5 086bd6a306fa2dfbd6e8c962fddcdef4 hplip-2.7.7.tar.gz 14412854 +RMD160 d3bc36b44b2fd07d8938fce2f508bbc9b4c47b5b hplip-2.7.7.tar.gz 14412854 +SHA256 0804bda4dd18480597bf408351fe56412b84f737d2554b07aafaa1fb089674ba hplip-2.7.7.tar.gz 14412854 diff --git a/net-print/hplip/hplip-2.7.7.ebuild b/net-print/hplip/hplip-2.7.7.ebuild new file mode 100644 index 000000000000..97abf4e46d26 --- /dev/null +++ b/net-print/hplip/hplip-2.7.7.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-print/hplip/hplip-2.7.7.ebuild,v 1.1 2007/08/08 23:28:56 genstef Exp $ + +inherit eutils linux-info + +DESCRIPTION="HP Linux Imaging and Printing System. Includes net-print/hpijs, scanner drivers and service tools." +HOMEPAGE="http://hplip.sourceforge.net/" +SRC_URI="mirror://sourceforge/hplip/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="X doc fax minimal parport ppds scanner snmp" + +DEPEND="!net-print/hpijs + !net-print/hpoj + dev-libs/openssl + virtual/ghostscript + >=media-libs/jpeg-6b + >=net-print/cups-1.2 + dev-libs/libusb + >=dev-lang/python-2.2 + net-print/foomatic-filters + fax? ( >=dev-lang/python-2.3 ) + snmp? ( net-analyzer/net-snmp )" + +RDEPEND="${DEPEND} + fax? ( dev-python/reportlab ) + X? ( >=dev-python/PyQt-3.14 ) + scanner? ( + X? ( >=media-gfx/xsane-0.89 ) + !X? ( >=media-gfx/sane-frontends-1.0.9 ) + )" + +CONFIG_CHECK="PARPORT" +ERROR_PARPORT="Please make sure Device Drivers -> Parallel port support is enabled in your kernel" + +pkg_setup() { + use parport && linux-info_pkg_setup + + # avoid collisions with cups-1.2 compat symlinks + if [ -e ${ROOT}/usr/lib/cups/backend/hp ] && [ -e ${ROOT}/usr/libexec/cups/backend/hp ]; then + rm -f ${ROOT}/usr/libexec/cups/backend/hp{,fax}; + fi + + use ppds || ewarn "Not installing built-in PPD files. You need USE=ppds if you want to install them." + use minimal && ewarn "Installing hpijs driver only, make sure you know what you are doing." +} + +src_unpack() { + unpack ${A} + cd "${S}" + + sed -i -e "s:toolbox:toolbox.py:" hplip.desktop.in || die "Patching hplip.desktop.in failed" + sed -i -e "s:\$(doc_DATA)::" Makefile.in || die "Patching Makefile.in failed" + sed -i -e "s/'skipstone']/'skipstone', 'epiphany']/" \ + -e "s/'skipstone': ''}/'skipstone': '', 'epiphany': '--new-window'}/" \ + base/utils.py || die "Patching base/utils.py failed" + + # bug 98428 + sed -i -e "s:/usr/bin/env python:/usr/bin/python:g" hpssd.py || die "Patching hpssd.py failed" + + # bug 161926, until fixed by upstream probably in 2.7.7 + sed -i -e "s:if (!localOnly):if (1):" scan/sane/hpaio.c || die "Patching scan/sane/hpaio.c failed" + + # Force recognition of Gentoo distro by hp-check + sed -i \ + -e "s:file('/etc/issue', 'r').read():'Gentoo':" \ + installer/core_install.py || die "sed core_install.py" +} + +src_compile() { + econf \ + --disable-cups11-build \ + --with-cupsbackenddir=$(cups-config --serverbin)/backend \ + $(use_enable minimal hpijs-only-build) \ + $(use_enable doc doc-build) \ + $(use_enable snmp network-build) \ + $(use_enable parport pp-build) \ + $(use_enable scanner scan-build) \ + $(use_enable X gui-build) \ + $(use_enable fax fax-build) \ + $(use_enable ppds foomatic-ppd-install) \ + --disable-foomatic-xml-install \ + || die "econf failed" + emake || die "Compilation failed" +} + +src_install() { + emake -j1 DESTDIR="${D}" install || die "emake install failed" + + # bug 106035 + use X || rm -Rf "${D}"/usr/share/applications +} + +pkg_preinst() { + if use scanner; then + insinto /etc/sane.d + [ -e /etc/sane.d/dll.conf ] && cp /etc/sane.d/dll.conf . + [ -e ${ROOT}/etc/sane.d/dll.conf ] && cp ${ROOT}/etc/sane.d/dll.conf . + grep -q hpaio dll.conf || echo hpaio >> dll.conf + doins dll.conf + fi +} + +pkg_postinst() { + elog "You should run hp-setup as root if you are installing hplip for the first time, and may also" + elog "need to run it if you are upgrading from an earlier version." + elog + elog "If your device is connected using USB, users will need to be in the lp group to access it." + elog + elog "This release doesn't use an init script anymore, so you should probably do a" + elog "'rc-update del hplip' if you are updating." +} |