diff options
author | Marcelo Góes <vanquirius@gentoo.org> | 2006-02-06 00:00:31 +0000 |
---|---|---|
committer | Marcelo Góes <vanquirius@gentoo.org> | 2006-02-06 00:00:31 +0000 |
commit | 152691e99f1d5ac0095818a3f9c5ab221393501f (patch) | |
tree | e2b35c80bd98a8048ba66df698c985d10d595c50 /net-print | |
parent | Drop old version. (diff) | |
download | historical-152691e99f1d5ac0095818a3f9c5ab221393501f.tar.gz historical-152691e99f1d5ac0095818a3f9c5ab221393501f.tar.bz2 historical-152691e99f1d5ac0095818a3f9c5ab221393501f.zip |
0.9.8 version bump.
Package-Manager: portage-2.0.54
Diffstat (limited to 'net-print')
-rw-r--r-- | net-print/hplip/ChangeLog | 7 | ||||
-rw-r--r-- | net-print/hplip/Manifest | 4 | ||||
-rw-r--r-- | net-print/hplip/files/digest-hplip-0.9.8 | 2 | ||||
-rw-r--r-- | net-print/hplip/hplip-0.9.8.ebuild | 113 |
4 files changed, 124 insertions, 2 deletions
diff --git a/net-print/hplip/ChangeLog b/net-print/hplip/ChangeLog index 239de7e72859..dc22aa69e7e5 100644 --- a/net-print/hplip/ChangeLog +++ b/net-print/hplip/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-print/hplip # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-print/hplip/ChangeLog,v 1.19 2006/01/25 23:12:45 vanquirius Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-print/hplip/ChangeLog,v 1.20 2006/02/06 00:00:31 vanquirius Exp $ + +*hplip-0.9.8 (06 Feb 2006) + + 06 Feb 2006; Marcelo Goes <vanquirius@gentoo.org> +hplip-0.9.8.ebuild: + 0.9.8 version bump. 25 Jan 2006; Marcelo Goes <vanquirius@gentoo.org> hplip-0.9.7-r3.ebuild: Mark 0.9.7-r3 x86 stable. diff --git a/net-print/hplip/Manifest b/net-print/hplip/Manifest index 66c2323d76cd..a9177865e7ff 100644 --- a/net-print/hplip/Manifest +++ b/net-print/hplip/Manifest @@ -1,5 +1,7 @@ -MD5 57055066a158f937845002428e374aad ChangeLog 3213 +MD5 789f1424876489dca3364a0846764e64 ChangeLog 3337 MD5 68a5b9bc1ecb54c47e0aec2ea66b457a files/digest-hplip-0.9.7-r3 208 +MD5 49325176fb17fcfc7d0721fc7e840227 files/digest-hplip-0.9.8 145 MD5 dcda3bf144b5f2cd4bebd1719383dd31 files/hplip.init.d 948 MD5 60c7db1370063ff3ea1af7a85f2bbb9b hplip-0.9.7-r3.ebuild 3182 +MD5 f3ab449270eb981a0ab6d74ee1af595d hplip-0.9.8.ebuild 3088 MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161 diff --git a/net-print/hplip/files/digest-hplip-0.9.8 b/net-print/hplip/files/digest-hplip-0.9.8 new file mode 100644 index 000000000000..00653d133409 --- /dev/null +++ b/net-print/hplip/files/digest-hplip-0.9.8 @@ -0,0 +1,2 @@ +MD5 c6e602ff829b18ea182c8eec445e2a6a foomatic-db-hpijs-1.5-20051126.tar.gz 87836 +MD5 3eae08ec7dbecdc03e7972b132dfdde6 hplip-0.9.8.tar.gz 9298145 diff --git a/net-print/hplip/hplip-0.9.8.ebuild b/net-print/hplip/hplip-0.9.8.ebuild new file mode 100644 index 000000000000..f8ef3bceeff7 --- /dev/null +++ b/net-print/hplip/hplip-0.9.8.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-print/hplip/hplip-0.9.8.ebuild,v 1.1 2006/02/06 00:00:31 vanquirius Exp $ + +inherit eutils + +DB_V=1.5-20051126 +DESCRIPTION="HP Linux Imaging and Printing System. Includes net-print/hpijs, scanner drivers and service tools." +HOMEPAGE="http://hpinkjet.sourceforge.net/" +SRC_URI="mirror://sourceforge/hpinkjet/${P}.tar.gz + foomaticdb? ( mirror://gentoo/foomatic-db-hpijs-${DB_V}.tar.gz )" + #http://www.linuxprinting.org/download/foomatic/foomatic-db-hpijs-${DB_V}.tar.gz + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="foomaticdb snmp X qt ppds scanner cups usb" + +DEPEND="dev-lang/python + snmp? ( >=net-analyzer/net-snmp-5.0.9 ) + !net-print/hpijs + !net-print/hpoj" + +RDEPEND="virtual/ghostscript + >=dev-lang/python-2.2.0 + scanner? ( + >=media-gfx/sane-backends-1.0.9 + || ( + X? ( >=media-gfx/xsane-0.89 ) + >=media-gfx/sane-frontends-1.0.9 + ) + ) + qt? ( >=dev-python/PyQt-3.11 =x11-libs/qt-3* ) + usb? ( >=dev-libs/libusb-0.1.10a sys-apps/hotplug ) + foomaticdb? ( net-print/foomatic ) + cups? ( net-print/cups ) + >=net-print/foomatic-filters-3.0.2 + ${DEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + + sed -i -e "s:(uint32_t)0xff000000) >> 24))):(uint32_t)0xff000000) >> 24):" \ + "${S}"/scan/sane/mfpdtf.h + + # bug 98428 + sed -i -e "s:/usr/bin/env python:/usr/bin/python:g" \ + "${S}"/hpssd.py +} +src_compile() { + myconf="${myconf} --disable-cups-install --disable-foomatic-install" + + use snmp || myconf="${myconf} --disable-network-build" + + econf ${myconf} || die "Error: econf failed!" + emake || die "Error: emake failed!" +} + + +src_install() { + make DESTDIR="${D}" install + + newinitd "${FILESDIR}"/hplip.init.d hplip + + if use scanner; then + insinto /etc/sane.d + echo "hpaio" > dll.conf + doins dll.conf + + dodir /usr/lib/sane + dosym /usr/lib/libsane-hpaio.la /usr/lib/sane/libsane-hpaio.la + dosym /usr/lib/libsane-hpaio.so /usr/lib/sane/libsane-hpaio.so + dosym /usr/lib/libsane-hpaio.so.1 /usr/lib/sane/libsane-hpaio.so.1 + dosym /usr/lib/libsane-hpaio.so.1.0.0 /usr/lib/sane/libsane-hpaio.so.1.0.0 + else + rm -f "${D}"/usr/lib/libsane-hpaio.la + rm -f "${D}"/usr/lib/libsane-hpaio.so + rm -f "${D}"/usr/lib/libsane-hpaio.so.1 + rm -f "${D}"/usr/lib/libsane-hpaio.so.1.0.0 + fi + + # bug 106035 + if ! use qt ; then + rm -f "${D}"/usr/bin/hp-print + rm -f "${D}"/usr/bin/hp-toolbox + rm -f "${D}"/usr/share/hplip/print + rm -f "${D}"/usr/share/hplip/toolbox + fi + + if use ppds; then + dodir /usr/share + mv "${S}"/prnt/hpijs/ppd "${D}"/usr/share + fi + + if use cups && use ppds ; then + dodir /usr/share/cups/model + dosym /usr/share/ppd /usr/share/cups/model/foomatic-ppds + fi + + [ -e /usr/bin/foomatic-rip ] && rm -f "${D}"/usr/bin/foomatic-rip + + if use foomaticdb ; then + cd ../foomatic-db-hpijs-${DB_V} + econf || die "econf failed" + rm -fR data-generators/hpijs-rss + make || die + make DESTDIR="${D}" install || die + fi + + dodir /usr/share/applications + mv "${D}"/usr/share/hplip/data/hplip.desktop "${D}"/usr/share/applications +} |