Permalink
Browse files

FL-281: Unforking foomatic-filters

  • Loading branch information...
1 parent 23fe307 commit 728db3709bbad3132babe82f6a34d341f1ef81d2 @psychopatch psychopatch committed Feb 3, 2013
@@ -1 +0,0 @@
-DIST foomatic-filters-4.0.17.tar.gz 266276 SHA256 a2e2e53e502571e88eeb9010c45a0d54671f15707ee104f5c9c22b59ea7a33e3 SHA512 f07d2ac64a28e9353418deb9dd2009f5ef7676ab268af211edfcd012c231c9081516dae450f2b7910b687f75f7e53c8198fda2508f3fd527120940b4905292dd WHIRLPOOL c9ea6456df64aa92f0b1dbbf74b03406d9f5487b1b0df11c3c354f813db32a3953371ffdd0fcfab5369ca46123280a5a68bab034c90c0d0c612001ff99242e40
@@ -1,41 +0,0 @@
-diff --git a/configure.ac b/configure.ac
-index acd2f0c..9b333b9 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -81,24 +81,24 @@ if test -n "$CUPS_SERVERBIN"; then
- AC_SUBST(CUPS_FILTERS)
- AC_SUBST(CUPS_BACKENDS)
- else
-- # Check for /usr/lib/cups
-- FM_PATH_DIR(CUPS,cups,/usr/lib/cups,$SERVERBIB$LIBSEARCHPATH)
-+ # Check for ${libdir}/cups
-+ FM_PATH_DIR(CUPS,cups,${libdir}/cups,$SERVERBIB$LIBSEARCHPATH)
-
-- # Check for /usr/lib/cups/filter
-- FM_PATH_DIR(CUPS_FILTERS,cups/filter,/usr/lib/cups/filter,$FILTERS$LIBSEARCHPATH)
-+ # Check for ${libdir}/cups/filter
-+ FM_PATH_DIR(CUPS_FILTERS,cups/filter,${libdir}/cups/filter,$FILTERS$LIBSEARCHPATH)
-
-- # Check for /usr/lib/cups/backend
-- FM_PATH_DIR(CUPS_BACKENDS,cups/backend,/usr/lib/cups/backend,$BACKENDS$LIBSEARCHPATH)
-+ # Check for ${libdir}/cups/backend
-+ FM_PATH_DIR(CUPS_BACKENDS,cups/backend,${libdir}/cups/backend,$BACKENDS$LIBSEARCHPATH)
- fi
-
--# Check for /usr/lib/ppr
--FM_PATH_DIR(PPR,ppr,/usr/lib/ppr,$LIBSEARCHPATH)
-+# Check for ${libdir}/ppr
-+FM_PATH_DIR(PPR,ppr,${libdir}/ppr,$LIBSEARCHPATH)
-
--# Check for /usr/lib/ppr/interfaces
--FM_PATH_DIR(PPR_INTERFACES,ppr/interfaces,/usr/lib/ppr/interfaces,$LIBSEARCHPATH)
-+# Check for ${libdir}/ppr/interfaces
-+FM_PATH_DIR(PPR_INTERFACES,ppr/interfaces,${libdir}/ppr/interfaces,$LIBSEARCHPATH)
-
--# Check for /usr/lib/ppr/lib
--FM_PATH_DIR(PPR_LIB,ppr/lib,/usr/lib/ppr/lib,$LIBSEARCHPATH)
-+# Check for ${libdir}/ppr/lib
-+FM_PATH_DIR(PPR_LIB,ppr/lib,${libdir}/ppr/lib,$LIBSEARCHPATH)
-
- AC_CHECK_HEADERS([ghostscript/ierrors.h ghostscript/iapi.h])
- AC_CHECK_LIB(gs, gsapi_new_instance)
@@ -1,67 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/foomatic-filters/foomatic-filters-4.0.17.ebuild,v 1.2 2012/11/16 14:27:35 scarabeus Exp $
-
-EAPI=4
-
-inherit autotools eutils versionator
-
-DESCRIPTION="Foomatic wrapper scripts"
-HOMEPAGE="http://www.linuxprinting.org/foomatic.html"
-SRC_URI="http://www.openprinting.org/download/foomatic/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd"
-IUSE="cups dbus"
-
-RDEPEND="
- dev-lang/perl
- app-text/ghostscript-gpl
- cups? ( || (
- ( >=net-print/cups-1.6.0 net-print/cups-filters )
- <net-print/cups-1.5.9999
- )
- )
- !cups? (
- || (
- app-text/enscript
- app-text/a2ps
- app-text/mpage
- )
- )
- dbus? ( sys-apps/dbus )"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
- if use cups; then
- CUPS_SERVERBIN="$(cups-config --serverbin)"
- else
- CUPS_SERVERBIN=""
- fi
-
- # Search for libs in ${libdir}, not just /usr/lib
- epatch "${FILESDIR}"/${PN}-4.0.9-multilib.patch
- eautoreconf
-
- export CUPS_BACKENDS=${CUPS_SERVERBIN}/backend \
- CUPS_FILTERS=${CUPS_SERVERBIN}/filter CUPS=${CUPS_SERVERBIN}/
-}
-
-src_configure() {
- econf $(use_enable dbus)
-}
-
-src_install() {
- default
-
- 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 "${ED}"/${CUPS_SERVERBIN}/filter
- rm -r "${ED}"/${CUPS_SERVERBIN}/backend
- fi
-}
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <herd>printing</herd>
-</pkgmetadata>

0 comments on commit 728db37

Please sign in to comment.