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/gutenprint | |
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/gutenprint')
-rw-r--r-- | net-print/gutenprint/Manifest | 2 | ||||
-rw-r--r-- | net-print/gutenprint/files/gutenprint-5.2.10-genppd.patch | 23 | ||||
-rw-r--r-- | net-print/gutenprint/files/gutenprint-5.2.4-CFLAGS.patch | 24 | ||||
-rw-r--r-- | net-print/gutenprint/files/gutenprint-5.2.8-genppd.patch | 23 | ||||
-rw-r--r-- | net-print/gutenprint/gutenprint-5.2.10.ebuild | 96 | ||||
-rw-r--r-- | net-print/gutenprint/gutenprint-5.2.9.ebuild | 96 | ||||
-rw-r--r-- | net-print/gutenprint/metadata.xml | 8 |
7 files changed, 272 insertions, 0 deletions
diff --git a/net-print/gutenprint/Manifest b/net-print/gutenprint/Manifest new file mode 100644 index 000000000000..46db193b40c3 --- /dev/null +++ b/net-print/gutenprint/Manifest @@ -0,0 +1,2 @@ +DIST gutenprint-5.2.10.tar.bz2 6241585 SHA256 431f352b412dfb9809d126a85a37a1fcd1c1826275ace8cdcd4fd9a6ee360e59 SHA512 bb71fd5c127748730dde01471b09907d500b72c35401abaf92c631d04156bacafd4b1a9baef61f48db6c4a622fd612a1e2834ed30207b5b178767ea9d9d5e1ac WHIRLPOOL 4d809f99df3515fc878d3be5df4f48b66fc764eea1f62db15e75d6ca7326c24c6c228bd975575c20f3e7bc8398c1e492e1025784e64a4534f82ad89c7ba92990 +DIST gutenprint-5.2.9.tar.bz2 5720450 SHA256 4b27e4f06f32d30271df89ecb6089bb11bcf2caec5f60b0909e083095354bca0 SHA512 082990e09c49247baab9575b34882026770923915eb1c4ff6f75475cd341691263c7567a430542ead868e80ee6ea82e00ad12c89be0611913f934d66a10a9549 WHIRLPOOL d466288983c4a194c76f505a5adc16af00a651c07a584ff860919b1cf0e2ca870091eac76c6b7d466d9508f3e77a4c6095efe593c0350feeb41dd761adb6e92a diff --git a/net-print/gutenprint/files/gutenprint-5.2.10-genppd.patch b/net-print/gutenprint/files/gutenprint-5.2.10-genppd.patch new file mode 100644 index 000000000000..46d8d78b9ead --- /dev/null +++ b/net-print/gutenprint/files/gutenprint-5.2.10-genppd.patch @@ -0,0 +1,23 @@ +diff -urN gutenprint-5.2.8.old/src/cups/Makefile.am gutenprint-5.2.8/src/cups/Makefile.am +--- gutenprint-5.2.8.old/src/cups/Makefile.am 2012-06-14 14:03:53.011828220 +0200 ++++ gutenprint-5.2.8/src/cups/Makefile.am 2012-06-14 14:04:57.672829331 +0200 +@@ -98,16 +98,16 @@ + + cups_genppd_@GUTENPRINT_RELEASE_VERSION@_SOURCES = genppd.c i18n.c i18n.h + cups_genppd_@GUTENPRINT_RELEASE_VERSION@_CFLAGS = -DALL_LINGUAS='"$(ALL_LINGUAS)"' $(BUILD_SIMPLE_PPDS) $(TRANSLATE_PPDS) +-cups_genppd_@GUTENPRINT_RELEASE_VERSION@_LDADD = $(CUPS_LIBS) $(GENPPD_LIBS) $(GUTENPRINT_LIBS) @LIBICONV@ ++cups_genppd_@GUTENPRINT_RELEASE_VERSION@_LDADD = $(GUTENPRINT_LIBS) $(CUPS_LIBS) $(GENPPD_LIBS) @LIBICONV@ + cups_genppd_@GUTENPRINT_RELEASE_VERSION@_LDFLAGS = $(STATIC_LDOPTS) + + gutenprint_@GUTENPRINT_RELEASE_VERSION@_SOURCES = genppd.c i18n.c i18n.h + gutenprint_@GUTENPRINT_RELEASE_VERSION@_CFLAGS = -DCUPS_DRIVER_INTERFACE -DALL_LINGUAS='"$(ALL_LINGUAS)"' $(BUILD_SIMPLE_PPDS) $(TRANSLATE_PPDS) +-gutenprint_@GUTENPRINT_RELEASE_VERSION@_LDADD = $(CUPS_LIBS) $(GUTENPRINT_LIBS) @LIBICONV@ ++gutenprint_@GUTENPRINT_RELEASE_VERSION@_LDADD = $(GUTENPRINT_LIBS) $(CUPS_LIBS) @LIBICONV@ + gutenprint_@GUTENPRINT_RELEASE_VERSION@_LDFLAGS = $(STATIC_LDOPTS) + + rastertogutenprint_@GUTENPRINT_RELEASE_VERSION@_SOURCES = rastertoprinter.c i18n.c i18n.h +-rastertogutenprint_@GUTENPRINT_RELEASE_VERSION@_LDADD = $(CUPS_LIBS) $(GUTENPRINT_LIBS) @LIBICONV@ ++rastertogutenprint_@GUTENPRINT_RELEASE_VERSION@_LDADD = $(GUTENPRINT_LIBS) $(CUPS_LIBS) @LIBICONV@ + rastertogutenprint_@GUTENPRINT_RELEASE_VERSION@_LDFLAGS = $(STATIC_LDOPTS) + + ## Data diff --git a/net-print/gutenprint/files/gutenprint-5.2.4-CFLAGS.patch b/net-print/gutenprint/files/gutenprint-5.2.4-CFLAGS.patch new file mode 100644 index 000000000000..e5d64e6042e0 --- /dev/null +++ b/net-print/gutenprint/files/gutenprint-5.2.4-CFLAGS.patch @@ -0,0 +1,24 @@ +diff -Naur gutenprint-5.2.3-orig/configure.ac gutenprint-5.2.3/configure.ac +--- gutenprint-5.2.3-orig/configure.ac 2008-12-20 18:04:24.000000000 -0600 ++++ gutenprint-5.2.3/configure.ac 2009-02-13 18:52:19.000000000 -0600 +@@ -631,20 +631,6 @@ + if test x${USE_MAINTAINER_MODE} = xyes ; then + STP_ADD_COMPILER_ARGS([-pedantic -Waggregate-return -Wcast-qual -Wshadow -Wredundant-decls],, [GNUCFLAGS]) + fi +- if test x$ENABLE_DEBUG = xyes ; then +- STP_ADD_COMPILER_ARG([-g]) +- else +- STP_ADD_FIRST_COMPILER_ARG([-O6 -O3 -O2 -O1 -O]) +- fi +-else +- if test x$ENABLE_DEBUG = xyes ; then +- STP_ADD_COMPILER_ARG([-g]) +- else +- STP_ADD_FIRST_COMPILER_ARG([-O]) +- fi +-fi +-if test x$ENABLE_PROFILE = xyes ; then +- STP_ADD_COMPILER_ARG([-pg]) + fi + AC_SUBST(GNUCFLAGS) + diff --git a/net-print/gutenprint/files/gutenprint-5.2.8-genppd.patch b/net-print/gutenprint/files/gutenprint-5.2.8-genppd.patch new file mode 100644 index 000000000000..f61fb69ccfd2 --- /dev/null +++ b/net-print/gutenprint/files/gutenprint-5.2.8-genppd.patch @@ -0,0 +1,23 @@ +diff -urN gutenprint-5.2.8.old/src/cups/Makefile.am gutenprint-5.2.8/src/cups/Makefile.am +--- gutenprint-5.2.8.old/src/cups/Makefile.am 2012-06-14 14:03:53.011828220 +0200 ++++ gutenprint-5.2.8/src/cups/Makefile.am 2012-06-14 14:04:57.672829331 +0200 +@@ -98,16 +98,16 @@ + + cups_genppd_@GUTENPRINT_MAJOR_VERSION@_@GUTENPRINT_MINOR_VERSION@_SOURCES = genppd.c i18n.c i18n.h + cups_genppd_@GUTENPRINT_MAJOR_VERSION@_@GUTENPRINT_MINOR_VERSION@_CFLAGS = -DALL_LINGUAS='"$(ALL_LINGUAS)"' $(BUILD_SIMPLE_PPDS) $(TRANSLATE_PPDS) +-cups_genppd_@GUTENPRINT_MAJOR_VERSION@_@GUTENPRINT_MINOR_VERSION@_LDADD = $(CUPS_LIBS) $(GENPPD_LIBS) $(GUTENPRINT_LIBS) @LIBICONV@ ++cups_genppd_@GUTENPRINT_MAJOR_VERSION@_@GUTENPRINT_MINOR_VERSION@_LDADD = $(GUTENPRINT_LIBS) $(CUPS_LIBS) $(GENPPD_LIBS) @LIBICONV@ + cups_genppd_@GUTENPRINT_MAJOR_VERSION@_@GUTENPRINT_MINOR_VERSION@_LDFLAGS = $(STATIC_LDOPTS) + + gutenprint_@GUTENPRINT_MAJOR_VERSION@_@GUTENPRINT_MINOR_VERSION@_SOURCES = genppd.c i18n.c i18n.h + gutenprint_@GUTENPRINT_MAJOR_VERSION@_@GUTENPRINT_MINOR_VERSION@_CFLAGS = -DCUPS_DRIVER_INTERFACE -DALL_LINGUAS='"$(ALL_LINGUAS)"' $(BUILD_SIMPLE_PPDS) $(TRANSLATE_PPDS) +-gutenprint_@GUTENPRINT_MAJOR_VERSION@_@GUTENPRINT_MINOR_VERSION@_LDADD = $(CUPS_LIBS) $(GUTENPRINT_LIBS) @LIBICONV@ ++gutenprint_@GUTENPRINT_MAJOR_VERSION@_@GUTENPRINT_MINOR_VERSION@_LDADD = $(GUTENPRINT_LIBS) $(CUPS_LIBS) @LIBICONV@ + gutenprint_@GUTENPRINT_MAJOR_VERSION@_@GUTENPRINT_MINOR_VERSION@_LDFLAGS = $(STATIC_LDOPTS) + + rastertogutenprint_@GUTENPRINT_MAJOR_VERSION@_@GUTENPRINT_MINOR_VERSION@_SOURCES = rastertoprinter.c i18n.c i18n.h +-rastertogutenprint_@GUTENPRINT_MAJOR_VERSION@_@GUTENPRINT_MINOR_VERSION@_LDADD = $(CUPS_LIBS) $(GUTENPRINT_LIBS) @LIBICONV@ ++rastertogutenprint_@GUTENPRINT_MAJOR_VERSION@_@GUTENPRINT_MINOR_VERSION@_LDADD = $(GUTENPRINT_LIBS) $(CUPS_LIBS) @LIBICONV@ + rastertogutenprint_@GUTENPRINT_MAJOR_VERSION@_@GUTENPRINT_MINOR_VERSION@_LDFLAGS = $(STATIC_LDOPTS) + + ## Data diff --git a/net-print/gutenprint/gutenprint-5.2.10.ebuild b/net-print/gutenprint/gutenprint-5.2.10.ebuild new file mode 100644 index 000000000000..641ea4809e77 --- /dev/null +++ b/net-print/gutenprint/gutenprint-5.2.10.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils multilib autotools + +DESCRIPTION="Ghostscript and cups printer drivers" +HOMEPAGE="http://gutenprint.sourceforge.net" +SRC_URI="mirror://sourceforge/gimp-print/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="cups foomaticdb gimp gtk nls readline ppds static-libs" + +RDEPEND="app-text/ghostscript-gpl + dev-lang/perl + readline? ( sys-libs/readline ) + cups? ( >=net-print/cups-1.1.14 ) + foomaticdb? ( net-print/foomatic-db-engine ) + gimp? ( >=media-gfx/gimp-2.2 x11-libs/gtk+:2 ) + gtk? ( x11-libs/gtk+:2 ) + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + gtk? ( virtual/pkgconfig ) + nls? ( sys-devel/gettext )" + +RESTRICT="test" + +REQUIRED_USE="gimp? ( gtk )" + +DOCS=( AUTHORS ChangeLog NEWS README doc/gutenprint-users-manual.{pdf,odt} ) + +src_prepare() { + epatch "${FILESDIR}"/${PN}-5.2.4-CFLAGS.patch\ + "${FILESDIR}"/${PN}-5.2.10-genppd.patch # bug 382927 + sed -i "s:m4local:m4extra:" Makefile.am || die + + sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" \ + -e "s/AM_PROG_CC_STDC/AC_PROG_CC/" \ + -i configure.ac || die + + eautoreconf +} + +src_configure() { + local myconf="" + + if use cups && use ppds; then + myconf+=" --enable-cups-ppds --enable-cups-level3-ppds" + else + myconf+=" --disable-cups-ppds" + fi + + use foomaticdb \ + && myconf+=" --with-foomatic3" \ + || myconf+=" --without-foomatic" + + econf \ + --enable-test \ + --with-ghostscript \ + --disable-translated-cups-ppds \ + $(use_enable gtk libgutenprintui2) \ + $(use_with gimp gimp2) \ + $(use_with gimp gimp2-as-gutenprint) \ + $(use_with cups) \ + $(use_enable nls) \ + $(use_with readline) \ + $(use_enable static-libs static) \ + ${myconf} +} + +src_install() { + default + + dohtml doc/FAQ.html + dohtml -r doc/gutenprintui2/html + rm -fR "${ED}"/usr/share/gutenprint/doc + if ! use gtk; then + rm -f "${ED}"/usr/$(get_libdir)/pkgconfig/gutenprintui2.pc + rm -rf "${ED}"/usr/include/gutenprintui2 + fi + + find "${ED}" -name '*.la' -exec rm -f '{}' + +} + +pkg_postinst() { + if [ "${ROOT}" == "/" ] && [ -x /usr/sbin/cups-genppdupdate ]; then + elog "Updating installed printer ppd files" + elog $(/usr/sbin/cups-genppdupdate) + else + elog "You need to update installed ppds manually using cups-genppdupdate" + fi +} diff --git a/net-print/gutenprint/gutenprint-5.2.9.ebuild b/net-print/gutenprint/gutenprint-5.2.9.ebuild new file mode 100644 index 000000000000..bcab27bc79c0 --- /dev/null +++ b/net-print/gutenprint/gutenprint-5.2.9.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils multilib autotools + +DESCRIPTION="Ghostscript and cups printer drivers" +HOMEPAGE="http://gutenprint.sourceforge.net" +SRC_URI="mirror://sourceforge/gimp-print/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86" +IUSE="cups foomaticdb gimp gtk nls readline ppds static-libs" + +RDEPEND="app-text/ghostscript-gpl + dev-lang/perl + readline? ( sys-libs/readline ) + cups? ( >=net-print/cups-1.1.14 ) + foomaticdb? ( net-print/foomatic-db-engine ) + gimp? ( >=media-gfx/gimp-2.2 x11-libs/gtk+:2 ) + gtk? ( x11-libs/gtk+:2 ) + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + gtk? ( virtual/pkgconfig ) + nls? ( sys-devel/gettext )" + +RESTRICT="test" + +REQUIRED_USE="gimp? ( gtk )" + +DOCS=( AUTHORS ChangeLog NEWS README doc/gutenprint-users-manual.{pdf,odt} ) + +src_prepare() { + epatch "${FILESDIR}"/${PN}-5.2.4-CFLAGS.patch + epatch "${FILESDIR}"/${PN}-5.2.8-genppd.patch # bug 382927 + sed -i "s:m4local:m4extra:" Makefile.am || die + + sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" \ + -e "s/AM_PROG_CC_STDC/AC_PROG_CC/" \ + -i configure.ac || die + + eautoreconf +} + +src_configure() { + local myconf="" + + if use cups && use ppds; then + myconf+=" --enable-cups-ppds --enable-cups-level3-ppds" + else + myconf+=" --disable-cups-ppds" + fi + + use foomaticdb \ + && myconf+=" --with-foomatic3" \ + || myconf+=" --without-foomatic" + + econf \ + --enable-test \ + --with-ghostscript \ + --disable-translated-cups-ppds \ + $(use_enable gtk libgutenprintui2) \ + $(use_with gimp gimp2) \ + $(use_with gimp gimp2-as-gutenprint) \ + $(use_with cups) \ + $(use_enable nls) \ + $(use_with readline) \ + $(use_enable static-libs static) \ + ${myconf} +} + +src_install() { + default + + dohtml doc/FAQ.html + dohtml -r doc/gutenprintui2/html + rm -fR "${ED}"/usr/share/gutenprint/doc + if ! use gtk; then + rm -f "${ED}"/usr/$(get_libdir)/pkgconfig/gutenprintui2.pc + rm -rf "${ED}"/usr/include/gutenprintui2 + fi + + find "${ED}" -name '*.la' -exec rm -f '{}' + +} + +pkg_postinst() { + if [ "${ROOT}" == "/" ] && [ -x /usr/sbin/cups-genppdupdate ]; then + elog "Updating installed printer ppd files" + elog $(/usr/sbin/cups-genppdupdate) + else + elog "You need to update installed ppds manually using cups-genppdupdate" + fi +} diff --git a/net-print/gutenprint/metadata.xml b/net-print/gutenprint/metadata.xml new file mode 100644 index 000000000000..09e04478b8db --- /dev/null +++ b/net-print/gutenprint/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>printing</herd> + <upstream> + <remote-id type="sourceforge">gimp-print</remote-id> + </upstream> +</pkgmetadata> |