diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-print/foomatic-filters | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-print/foomatic-filters')
4 files changed, 113 insertions, 0 deletions
diff --git a/net-print/foomatic-filters/Manifest b/net-print/foomatic-filters/Manifest new file mode 100644 index 000000000000..992f0dc2c074 --- /dev/null +++ b/net-print/foomatic-filters/Manifest @@ -0,0 +1 @@ +DIST foomatic-filters-4.0.17.tar.gz 266276 SHA256 a2e2e53e502571e88eeb9010c45a0d54671f15707ee104f5c9c22b59ea7a33e3 SHA512 f07d2ac64a28e9353418deb9dd2009f5ef7676ab268af211edfcd012c231c9081516dae450f2b7910b687f75f7e53c8198fda2508f3fd527120940b4905292dd WHIRLPOOL c9ea6456df64aa92f0b1dbbf74b03406d9f5487b1b0df11c3c354f813db32a3953371ffdd0fcfab5369ca46123280a5a68bab034c90c0d0c612001ff99242e40 diff --git a/net-print/foomatic-filters/files/foomatic-filters-4.0.9-multilib.patch b/net-print/foomatic-filters/files/foomatic-filters-4.0.9-multilib.patch new file mode 100644 index 000000000000..0659e0818055 --- /dev/null +++ b/net-print/foomatic-filters/files/foomatic-filters-4.0.9-multilib.patch @@ -0,0 +1,41 @@ +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) diff --git a/net-print/foomatic-filters/foomatic-filters-4.0.17-r1.ebuild b/net-print/foomatic-filters/foomatic-filters-4.0.17-r1.ebuild new file mode 100644 index 000000000000..63bac1fb04cd --- /dev/null +++ b/net-print/foomatic-filters/foomatic-filters-4.0.17-r1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +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 + !=net-print/cups-filters-1.0.43 + !>=net-print/cups-filters-1.0.43-r1[foomatic] + cups? ( + >=net-print/cups-1.6.0 net-print/cups-filters + ) + !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-rip "${CUPS_SERVERBIN}/filter/cupsomatic" + else + rm -r "${ED}"/${CUPS_SERVERBIN}/filter + rm -r "${ED}"/${CUPS_SERVERBIN}/backend + fi +} diff --git a/net-print/foomatic-filters/metadata.xml b/net-print/foomatic-filters/metadata.xml new file mode 100644 index 000000000000..e450ba260ec9 --- /dev/null +++ b/net-print/foomatic-filters/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>printing</herd> +</pkgmetadata> |