-MD5 c6c0fcd9de8ba034653ab31ad9eddfe0 ChangeLog 4025
-RMD160 61d94705cb7903410c6010d6e3a81c4d2d045a1e ChangeLog 4025
-SHA256 1825b6f66a907f1c543d04bc49cfff9e8e62e417673fb5c21e8ed69fcc81055b ChangeLog 4025
+MD5 58c36e964fbfd169948654b00f7aabb4 ChangeLog 4149
MD5 68a5b9bc1ecb54c47e0aec2ea66b457a files/digest-hplip-0.9.7-r3 208
-RMD160 d7b115f1f976ff65f4d1ff39a4116f3b28b52c9a files/digest-hplip-0.9.7-r3 208
-SHA256 aef6c585a691ad40bab1d0822f328f0b272e11cc05803ddc3d7ce4c436fd229c files/digest-hplip-0.9.7-r3 208
MD5 7bd172767b3400cad05526d58630944b files/digest-hplip-0.9.8-r2 762
-RMD160 c64b7394f53159c066f614b52759f07b24f0a2eb files/digest-hplip-0.9.8-r2 762
-SHA256 079f5ac90d4d00f03099796a7f307aebff27f22c546cb44b696cdf33dfb1625b files/digest-hplip-0.9.8-r2 762
+MD5 01f28409596071bcd91355ee676d714d files/digest-hplip-0.9.9 145
MD5 dcda3bf144b5f2cd4bebd1719383dd31 files/hplip.init.d 948
-RMD160 3908cd5b42175416cc4ac6fc36f0006f7c65588c files/hplip.init.d 948
-SHA256 9dad79022ced93da207a50f8d49d93acfc19f36b89e2b3d77f6b809ee81abd95 files/hplip.init.d 948
MD5 ada96505e109f3bb23c67a405b63bb48 hplip-0.9.7-r3.ebuild 3334
-RMD160 e347fe9b955f498cf3663c5db3913db02006a26d hplip-0.9.7-r3.ebuild 3334
-SHA256 9c4511a3b20faad5c6ad4eb3bee7e3defae1fbc714d3e6045bf607c2ae36591a hplip-0.9.7-r3.ebuild 3334
MD5 e37b7329ad4b862f147bb9861106d2ef hplip-0.9.8-r2.ebuild 3328
-RMD160 6e5517d252f6f0c83c18809300e0386c0b18f4ca hplip-0.9.8-r2.ebuild 3328
-SHA256 910677f9b4e3363f541877a99778f3b4e311a22b93b3ff765b4ecfdbfcfa3522 hplip-0.9.8-r2.ebuild 3328
+MD5 0280e501e8685c231bdcace1618dcd96 hplip-0.9.9.ebuild 3246
MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161
-RMD160 1e5b1e42553c8869b93c4a5448e9a2a2ed9fe525 metadata.xml 161
-SHA256 7c85e6739a71f5bb23e8de36c88677d772946e61f7285892f7554e37bd2bca76 metadata.xml 161
--- /dev/null
+# 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.9.ebuild,v 1.1 2006/03/12 17:43:02 vanquirius Exp $
+
+inherit eutils
+
+DB_V=1.5-20060211
+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
+ rm -f "${D}"/usr/share/hplip/data/hplip.desktop
+ rm -f "${D}"/usr/share/applications/hplip.desktop
+ 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
+
+ # desktop entry, bug 122758
+ if use qt; then
+ dodir /usr/share/applications
+ mv "${D}"/usr/share/hplip/data/hplip.desktop \
+ "${D}"/usr/share/applications
+ fi
+}