# ChangeLog for net-print/foomatic-filters
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/foomatic-filters/ChangeLog,v 1.53 2007/04/07 13:44:41 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/foomatic-filters/ChangeLog,v 1.54 2007/05/01 12:01:15 calchan Exp $
+
+*foomatic-filters-3.0.20070501 (01 May 2007)
+
+ 01 May 2007; Denis Dupeyron <calchan@gentoo.org>
+ +foomatic-filters-3.0.20070501.ebuild:
+ Version bump.
07 Apr 2007; Stefan Schweizer <genstef@gentoo.org> foomatic-filters-3.0.20060720.ebuild:
Dont depend on cups for USE=-cups thanks to Cornelius Weig
RMD160 c1b98f966465fd8f7562ad87c6d172e598262023 files/foomatic-filters-3.0.20060601-multilib.patch 2001
SHA256 6f8241bf46a5fff13bf06b066a8c84f6f2245c40094d75d67953430c4fbd89c9 files/foomatic-filters-3.0.20060601-multilib.patch 2001
DIST foomatic-filters-3.0-20060720.tar.gz 165214 RMD160 709d1c6717d84620faa129a15c3a791ae9454d45 SHA1 0f4e5e45b78f0867c57c7f034a4feb117f2646d1 SHA256 56e268077c8ec5cd48fe15bd1af8f87a19536782e8e5a3d2d06d39badcaa3fff
+DIST foomatic-filters-3.0-20070501.tar.gz 166478 RMD160 c6dda3bf23582d96a24a81accd2b0ff127736780 SHA1 d60e9c68628a862e37d71cff40798aea0361433e SHA256 ce8c9a6202fa8b407b74d69fde493ff0687659f9bc4b829321ce60c73e5ab012
DIST foomatic-filters-3.0.2.tar.gz 125875 RMD160 612529ea462f7f1500f30ffed4aec105b410936c SHA1 6d949949f432212632c704904272bc32f287b577 SHA256 161dc80957cdbcb0c43dc4f1db08968e3ee645b64eff9342294b33fe95436792
-EBUILD foomatic-filters-3.0.2-r1.ebuild 1407 RMD160 52d55701f8c826fd595f1f849c2e8bcd943b6c65 SHA1 3190b95388ba6bffd9bb0a9cfed54b6895b12b4c SHA256 a6a175500af996da97b2189be25e2ff4d2fdda2363595e7839712cd30d2b63c8
-MD5 658edfe9010222096838e20b468447bb foomatic-filters-3.0.2-r1.ebuild 1407
-RMD160 52d55701f8c826fd595f1f849c2e8bcd943b6c65 foomatic-filters-3.0.2-r1.ebuild 1407
-SHA256 a6a175500af996da97b2189be25e2ff4d2fdda2363595e7839712cd30d2b63c8 foomatic-filters-3.0.2-r1.ebuild 1407
+EBUILD foomatic-filters-3.0.2-r1.ebuild 1407 RMD160 711a2b8d2d74f6ddf96d8be56366eccec619d3b1 SHA1 0b73d37c3d10414bea0be1221351459526a3cb38 SHA256 ee140f24214690971393593242a555196e124b995917b196535e4c1cb1f1ee7f
+MD5 24fbd2aa827fbd0f1bf77ca53d52c6a1 foomatic-filters-3.0.2-r1.ebuild 1407
+RMD160 711a2b8d2d74f6ddf96d8be56366eccec619d3b1 foomatic-filters-3.0.2-r1.ebuild 1407
+SHA256 ee140f24214690971393593242a555196e124b995917b196535e4c1cb1f1ee7f foomatic-filters-3.0.2-r1.ebuild 1407
EBUILD foomatic-filters-3.0.20060720.ebuild 1771 RMD160 b5aa1514661c26492cf8c861a61d3c744e0de4a4 SHA1 c4b3a5dce61c8f5a8f9b8d37ea099eba2883368e SHA256 49f970b0060c0b1f14ab51b77795d6ea016a671bd679d7b9d2fba91dce732bd9
MD5 9ca49aa600a3c9e96577ff379aa50782 foomatic-filters-3.0.20060720.ebuild 1771
RMD160 b5aa1514661c26492cf8c861a61d3c744e0de4a4 foomatic-filters-3.0.20060720.ebuild 1771
SHA256 49f970b0060c0b1f14ab51b77795d6ea016a671bd679d7b9d2fba91dce732bd9 foomatic-filters-3.0.20060720.ebuild 1771
-MISC ChangeLog 6889 RMD160 17887217225d51feaa525e33d37e56ba3b5365a3 SHA1 0355b4f0d82563059cce8d94371bc4d2572bf5f7 SHA256 fb37d62d9459f20d13a84c5508c1720df277dfba7474e84fdd43f019500497f0
-MD5 f3494892021215b1b74bbe2007130106 ChangeLog 6889
-RMD160 17887217225d51feaa525e33d37e56ba3b5365a3 ChangeLog 6889
-SHA256 fb37d62d9459f20d13a84c5508c1720df277dfba7474e84fdd43f019500497f0 ChangeLog 6889
+EBUILD foomatic-filters-3.0.20070501.ebuild 1770 RMD160 548109cbce9b4a48b7d15ca65211e626cc4bf634 SHA1 85a8b00579b7ffff8962a57f2a8c141554615b7d SHA256 1ffb7c33c3e88b1d6321d37013510c776e3bb3c7f3a1865e48977634b340e182
+MD5 7fa1275fefde414235eb91cef2ff4dac foomatic-filters-3.0.20070501.ebuild 1770
+RMD160 548109cbce9b4a48b7d15ca65211e626cc4bf634 foomatic-filters-3.0.20070501.ebuild 1770
+SHA256 1ffb7c33c3e88b1d6321d37013510c776e3bb3c7f3a1865e48977634b340e182 foomatic-filters-3.0.20070501.ebuild 1770
+MISC ChangeLog 7044 RMD160 59230e21959cf8435768265f16c4e24fb471ecd4 SHA1 3f045aaa99e1de3e28fd50a939125a7492241a0c SHA256 6e8bf09ab0915199d89c0d05a8246f658756aa248acb598516d74025f28345e0
+MD5 1d92da60c1b1d7a43d7ce26680d3a1fc ChangeLog 7044
+RMD160 59230e21959cf8435768265f16c4e24fb471ecd4 ChangeLog 7044
+SHA256 6e8bf09ab0915199d89c0d05a8246f658756aa248acb598516d74025f28345e0 ChangeLog 7044
MISC metadata.xml 161 RMD160 1e5b1e42553c8869b93c4a5448e9a2a2ed9fe525 SHA1 209c6a46e4cdd891980115e42ba419e3799f8088 SHA256 7c85e6739a71f5bb23e8de36c88677d772946e61f7285892f7554e37bd2bca76
MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161
RMD160 1e5b1e42553c8869b93c4a5448e9a2a2ed9fe525 metadata.xml 161
MD5 c5e46046c1913c7e90c7714139b6ceb5 files/digest-foomatic-filters-3.0.20060720 289
RMD160 ec991e57059dba17835b3f279ca0fed7a7d498ee files/digest-foomatic-filters-3.0.20060720 289
SHA256 5c373ed6b9c3818726edcd81801df19aeebbfcc61cfbfb8223b4bd39b255929d files/digest-foomatic-filters-3.0.20060720 289
+MD5 013a90bc09571d9b7aa4b4253fed9621 files/digest-foomatic-filters-3.0.20070501 289
+RMD160 083ca13d42b5f063514cfc40faf686e37cd8572f files/digest-foomatic-filters-3.0.20070501 289
+SHA256 d896da33d6b2c2b8ac4c18feeaa4df51de57aa71c23fe3ce706be0c0c8e3626e files/digest-foomatic-filters-3.0.20070501 289
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/foomatic-filters/foomatic-filters-3.0.20070501.ebuild,v 1.1 2007/05/01 12:01:15 calchan Exp $
+
+inherit eutils versionator autotools
+
+MY_P=${PN}-$(replace_version_separator 2 '-')
+DESCRIPTION="Foomatic wrapper scripts"
+HOMEPAGE="http://www.linuxprinting.org/foomatic.html"
+SRC_URI="http://gentooexperimental.org/~genstef/dist/${MY_P}.tar.gz
+ http://www.linuxprinting.org/download/foomatic/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
+IUSE="cups"
+
+RDEPEND="cups? ( >=net-print/cups-1.1.19 )
+ !cups? (
+ || (
+ app-text/enscript
+ app-text/a2ps
+ app-text/mpage
+ )
+ )
+ dev-lang/perl
+ virtual/ghostscript"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ if use cups; then
+ CUPS_SERVERBIN="$(cups-config --serverbin)"
+ else
+ CUPS_SERVERBIN=""
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # Search for libs in ${libdir}, not just /usr/lib
+ epatch "${FILESDIR}"/foomatic-filters-3.0.20060601-multilib.patch
+ eautoreconf || die "eautoreconf failed"
+}
+
+src_compile() {
+ export CUPS_BACKENDS=${CUPS_SERVERBIN}/backend \
+ CUPS_FILTERS=${CUPS_SERVERBIN}/filter CUPS=${CUPS_SERVERBIN}/
+ econf || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ dosym /usr/bin/foomatic-rip /usr/bin/lpdomatic
+
+ if use cups; then
+ dosym /usr/bin/foomatic-gswrapper ${CUPS_SERVERBIN}/filter/foomatic-gswrapper
+ dosym /usr/bin/foomatic-rip ${CUPS_SERVERBIN}/filter/cupsomatic
+ else
+ rm -r "${D}"/${CUPS_SERVERBIN}/filter
+ rm -r "${D}"/${CUPS_SERVERBIN}/backend
+ fi
+}