diff options
author | Denis Dupeyron <calchan@gentoo.org> | 2007-07-21 12:08:59 +0000 |
---|---|---|
committer | Denis Dupeyron <calchan@gentoo.org> | 2007-07-21 12:08:59 +0000 |
commit | dc8d84124dcf8a308dfd05c7bc09685c87a8cf34 (patch) | |
tree | 5050f9a747826b2daebdacccb3151860b2b0994b /net-print | |
parent | Masked =net-print/hplip-2.7.6 for testing. (diff) | |
download | historical-dc8d84124dcf8a308dfd05c7bc09685c87a8cf34.tar.gz historical-dc8d84124dcf8a308dfd05c7bc09685c87a8cf34.tar.bz2 historical-dc8d84124dcf8a308dfd05c7bc09685c87a8cf34.zip |
Major version bump.
Package-Manager: portage-2.1.3_rc8
Diffstat (limited to 'net-print')
-rw-r--r-- | net-print/hplip/ChangeLog | 7 | ||||
-rw-r--r-- | net-print/hplip/Manifest | 17 | ||||
-rw-r--r-- | net-print/hplip/files/digest-hplip-2.7.6 | 6 | ||||
-rw-r--r-- | net-print/hplip/hplip-2.7.6.ebuild | 103 |
4 files changed, 128 insertions, 5 deletions
diff --git a/net-print/hplip/ChangeLog b/net-print/hplip/ChangeLog index 81d05306be11..ca9b67d4d09b 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.67 2007/06/16 15:21:45 calchan Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-print/hplip/ChangeLog,v 1.68 2007/07/21 12:08:59 calchan Exp $ + +*hplip-2.7.6 (21 Jul 2007) + + 21 Jul 2007; Denis Dupeyron <calchan@gentoo.org> +hplip-2.7.6.ebuild: + Major version bump. 16 Jun 2007; Denis Dupeyron <calchan@gentoo.org> -hplip-1.7.3.ebuild, -hplip-1.7.4.ebuild, -hplip-1.7.4a.ebuild: diff --git a/net-print/hplip/Manifest b/net-print/hplip/Manifest index 51ad3d4b83af..26d8e51ea179 100644 --- a/net-print/hplip/Manifest +++ b/net-print/hplip/Manifest @@ -5,6 +5,8 @@ SHA256 9dad79022ced93da207a50f8d49d93acfc19f36b89e2b3d77f6b809ee81abd95 files/hp DIST foomatic-db-hpijs-20060720.tar.gz 98252 RMD160 0c2c09f3cea6fc2a8e5da216bd9996b96d91613d SHA1 0e4ec08d01cd28bb751bc2e5844f0d0f7b97ba42 SHA256 1e50f603b46b1d07980212b2e5dfc5d72d07c889259e79ecbf09469fef5ad20e DIST hplip-1.6.10.tar.gz 10561620 RMD160 3608757fca36865528565c0c40571d91a936fd3f SHA1 7c877cac132fc8695c693800c7e34322bdc8d858 SHA256 45f4eafd4568a06889bf4b996a3c75ef571a157b921f56b027b567766d8e239f 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 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 @@ -13,10 +15,14 @@ EBUILD hplip-1.7.4a-r1.ebuild 3690 RMD160 2205bf20df3371dfb7e17600300c9b866fe746 MD5 33e0e690f7dddf3786a73ff1ac6c19bd hplip-1.7.4a-r1.ebuild 3690 RMD160 2205bf20df3371dfb7e17600300c9b866fe746db hplip-1.7.4a-r1.ebuild 3690 SHA256 adae960db7d1bc4df717b8a53f9e65fcc6011938a2ed9f1526221856c3cd7c96 hplip-1.7.4a-r1.ebuild 3690 -MISC ChangeLog 11401 RMD160 fb9316cd00e04aee59542e91d470c03d8e5fb1de SHA1 386fb02cf617595d8946f2d2fd7e3ad77f1e7666 SHA256 91d9795d510a2bad58107c8e917bd31ed3c28c8cb58079171bfc96f3946b2091 -MD5 8feeb7f3669ec8bbb1433c3ff41648b3 ChangeLog 11401 -RMD160 fb9316cd00e04aee59542e91d470c03d8e5fb1de ChangeLog 11401 -SHA256 91d9795d510a2bad58107c8e917bd31ed3c28c8cb58079171bfc96f3946b2091 ChangeLog 11401 +EBUILD hplip-2.7.6.ebuild 3217 RMD160 e5c9652b8740308dc9fbfa24768d9b21041d6bc3 SHA1 ef7e29de4835bdd265601597fe1bd3ba58448166 SHA256 e57c7335685c167e64eb364149383a8715cbff754bffea508686fe0ecf975ae3 +MD5 790f298f72d5db7973db4b737b97a5cb hplip-2.7.6.ebuild 3217 +RMD160 e5c9652b8740308dc9fbfa24768d9b21041d6bc3 hplip-2.7.6.ebuild 3217 +SHA256 e57c7335685c167e64eb364149383a8715cbff754bffea508686fe0ecf975ae3 hplip-2.7.6.ebuild 3217 +MISC ChangeLog 11524 RMD160 cf022a77a248de536c258bc9e55c3ba55bd94f57 SHA1 3f6fcbae2641925fefffa2fbf5ce94dbf0296fe1 SHA256 a16531448e9a63bd29dddc087cc316b890da3312d6d75fdf7a4d6ef2cb4526af +MD5 292c762f8b947f822ad6c369de681e2e ChangeLog 11524 +RMD160 cf022a77a248de536c258bc9e55c3ba55bd94f57 ChangeLog 11524 +SHA256 a16531448e9a63bd29dddc087cc316b890da3312d6d75fdf7a4d6ef2cb4526af ChangeLog 11524 MISC metadata.xml 250 RMD160 00f8254bd6b52bc050cdc822b7370b3e2d2f4970 SHA1 f91d1e6c01026cba252d042ba254f4a4bc61194a SHA256 ab106df12671f3f541e0416f8c0d5a96b6e725ed7b3b111d27af7a584c4bf164 MD5 a7f39f5758507140c896dcc24a3e0e2f metadata.xml 250 RMD160 00f8254bd6b52bc050cdc822b7370b3e2d2f4970 metadata.xml 250 @@ -27,3 +33,6 @@ SHA256 a6a40ef739f13c2b5baf4d46161d709d65d1770a0bef40d472cd3161562c92ef files/di MD5 8cdad3401711a59d614863b839c45335 files/digest-hplip-1.7.4a-r1 521 RMD160 ac859e445b139c0789441184c5af69e1cb75d679 files/digest-hplip-1.7.4a-r1 521 SHA256 4d98dfc9fec72da07fc2405364c623aaed10c8476d582920a75639e8499cd135 files/digest-hplip-1.7.4a-r1 521 +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 diff --git a/net-print/hplip/files/digest-hplip-2.7.6 b/net-print/hplip/files/digest-hplip-2.7.6 new file mode 100644 index 000000000000..a8df550a25c1 --- /dev/null +++ b/net-print/hplip/files/digest-hplip-2.7.6 @@ -0,0 +1,6 @@ +MD5 b623b7d06e033e1a8e8db6852b72887b hplip-2.7.6-1.patch 641 +RMD160 8fb3653de10a49188fe067bb5b6b8b1e749b5759 hplip-2.7.6-1.patch 641 +SHA256 9d7d2c0bfbab48e87a7fc88c82c3a210ead2c39da54e1a6c05e8bef8ac56ca24 hplip-2.7.6-1.patch 641 +MD5 7493f4d53ec98123d69c9b36318cc1f5 hplip-2.7.6.tar.gz 14025487 +RMD160 3cf9b11907cd2678880b8ddfc184ba2f20227976 hplip-2.7.6.tar.gz 14025487 +SHA256 d4ec63934b13ea36b1bd10aa785ff58affcc454721f526ab059b0f399ac56ac5 hplip-2.7.6.tar.gz 14025487 diff --git a/net-print/hplip/hplip-2.7.6.ebuild b/net-print/hplip/hplip-2.7.6.ebuild new file mode 100644 index 000000000000..059d49c11fb0 --- /dev/null +++ b/net-print/hplip/hplip-2.7.6.ebuild @@ -0,0 +1,103 @@ +# 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.6.ebuild,v 1.1 2007/07/21 12:08:59 calchan 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 + mirror://sourceforge/hplip/${P}-1.patch" + +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}" + epatch "${DISTDIR}/${P}-1.patch" + + 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" +} + +src_compile() { + econf --disable-dependency-tracking \ + --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 "If your device is connected using USB, users will need to be in the lp group to access it." +} |