From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- net-print/foomatic-db-engine/Manifest | 10 ++++ .../files/4.0.12-use-pkgconfig.patch | 35 +++++++++++++ .../files/4.0.7-perl-module.patch | 13 +++++ .../files/4.0.7-respect-ldflag.patch | 15 ++++++ .../foomatic-db-engine-4.0.11.ebuild | 58 ++++++++++++++++++++ .../foomatic-db-engine-4.0.12.ebuild | 61 ++++++++++++++++++++++ net-print/foomatic-db-engine/metadata.xml | 8 +++ 7 files changed, 200 insertions(+) create mode 100644 net-print/foomatic-db-engine/Manifest create mode 100644 net-print/foomatic-db-engine/files/4.0.12-use-pkgconfig.patch create mode 100644 net-print/foomatic-db-engine/files/4.0.7-perl-module.patch create mode 100644 net-print/foomatic-db-engine/files/4.0.7-respect-ldflag.patch create mode 100644 net-print/foomatic-db-engine/foomatic-db-engine-4.0.11.ebuild create mode 100644 net-print/foomatic-db-engine/foomatic-db-engine-4.0.12.ebuild create mode 100644 net-print/foomatic-db-engine/metadata.xml (limited to 'net-print/foomatic-db-engine') diff --git a/net-print/foomatic-db-engine/Manifest b/net-print/foomatic-db-engine/Manifest new file mode 100644 index 000000000000..ab2bb835740a --- /dev/null +++ b/net-print/foomatic-db-engine/Manifest @@ -0,0 +1,10 @@ +AUX 4.0.12-use-pkgconfig.patch 1010 SHA256 44b05e2560dc08799d140b5d7acc8e6bcf544640de3511b8fc54bc1f65867a94 SHA512 d0ea9514dbc7354d2d771af049de04455ccdf9145823174b99f963c82d1a4453f3198e31abc6a4953883f860df86b55452a2bfc0dd269112c029df6eddd3e1e6 WHIRLPOOL a9b31ac5907425092a473425280efdc7dbb669923d1e7317a04e095c26d0eebe4ba119bd19b6e25514396c6bc590035247a741b48ebab0b677b00d26f01b12d5 +AUX 4.0.7-perl-module.patch 392 SHA256 a26eca155b6fb1638645954d8329f47c8da201e603b20b38738091cae8b24aeb SHA512 7f26ac25325dffa706bef97915be06707c4953ee7c436a86a79d4edf764bbe4db9e6eeb37b889f6f4214b9b8d5ceb31091398c5ccce7607be941a74b3fe4ebf7 WHIRLPOOL 2cecd99c59358ea87e8775cf8e585e01fffe44a36ccf675bdac58a2cd72d837d961f592b03fb5d7bbf0a5d7a90faa8c42e1f9514c2ddc64a5576ffc5d0630fbb +AUX 4.0.7-respect-ldflag.patch 719 SHA256 273fe46b4fe613021e43c0796b66014e53cf928e3c5f1817580197525359a13b SHA512 432c4b61c94d1b774fc909375217587f4d8336603db0b944ec9e98e3022c2b1355928445e2cc7fbbd06a1452927082ed0fb655bc955643cce6290fe8f2d5d6c9 WHIRLPOOL b263c5d91e477138b41d1ba4a4cccf1cb9edb5bee026a2a0899488762963861188717bc0512bdf8bb9749d2414560f88a5bbe73fc696cf60f441b16bfdbd32e5 +DIST foomatic-db-engine-4.0.11.tar.gz 360379 SHA256 aa90df28f6dd94d3b590a789009c6a1792696c5cebb1e0dd6037d7dcaa09ffdf SHA512 790d08a7ba69a397988695248de5f1dff2d8461b7da415b73daea133426cc39ea69b59d59a5d1651007388c99276e878dbc3388b54219338090a1a95e6a5ae0a WHIRLPOOL 9cf310d28a1dd13c20c765fcd112127dd20670d7df2db1f3dcab45b4f05d59d4ea255c19dba2528edc805fbb1c0b13afc3f4abe1f7d872b6df9e60f17366e9f9 +DIST foomatic-db-engine-4.0.12.tar.gz 360499 SHA256 66143b76ed5b325b7025e261ad917b543de534c6d0a6e495d5489a20cace7c21 SHA512 b7e99ace6a632e9b0213183bd2c6c2d11ca072ea0414e8ca569082b7ec183dd81c80594ad63fdee82d761ae36d4fce9d3c881569a95a6085ec326ef7fd21154f WHIRLPOOL 69fc54c9a843da27470595d6518c08bd392a63704156075fb80738d00f397f6891fda2504820e3728f4714bf6cd9916be547a8d26bef6c4dc2c9bb153ad8ab43 +EBUILD foomatic-db-engine-4.0.11.ebuild 1155 SHA256 5c14b4ca3a2c8fa6856beda8c4443b1f0066947c70e6d47895bf50f62a4dc0bc SHA512 e23fd7a7326cdf41b6c4c8ad21f003a53cf8ce95cf054172a2a5d7b4a2478a133cd7caaf4315315a826516214f59e47dee1b03442a277677a00011d32c141d2b WHIRLPOOL c329ebf327561475e1d152f7ed4924a54139bc4512aadd7e828d8df5309ce8137f810501c6f458ccf551c8208b909a757eb42a6216d6f17f9590ce1c24471304 +EBUILD foomatic-db-engine-4.0.12.ebuild 1202 SHA256 3c497173b79a965015598cc4dbacefb87564ea0117ef1b9ca64b6d6e9ad023b9 SHA512 d2938629f214e8e8efd117990484df40ee81439a12da87871b56585ebcbf311e9537a9037ad453d5adfbe1eccd0d05cb0f84f26ddcdcb4e4b9b2874a79a0d15d WHIRLPOOL 1fcc4b960e474b18b1fb660c2539abc48b82b6561cedd6e4a17b244280e449c138db09172feea1dc78157150e0f4e4124ef3ad9e6498d2c689ce44cdb8610258 +MISC ChangeLog 3082 SHA256 9c9d87cee979796e8eb8ad89041870927854d165ad371aeb9bda1a6775e3c37d SHA512 1e6bb4406940a649606daf7e26a0fbf74a64aca8f29601bca6a91d862ba21bf02c686bca62b03fa1b7e6a0ee5d2eb022d7e94bb438c0b4a8213968c023fce432 WHIRLPOOL 997b0b15ae0df1f93d3726096d484ef767f454092bae5cba23f826dd37e3aafba5093ccf46defca8a008f52eb5a712d4787c9ce24b0d0f898087ae11bd08df1a +MISC ChangeLog-2015 13192 SHA256 1ffa32e4603cba34390f3ece16971ba6ff795ea0d763e8273b3e21bdf2b5a2a4 SHA512 4526a1e7cfbd39dc44b4f4e6bf4b98c315b040270d347c48f7436277af13939233aa9d4a8007acfc74c76f744ecca36699864cfa3f8d93d94c8c69953e1c764d WHIRLPOOL b65f529b13ac0aaf724d2458ca3d8fedf03e7c8c416a9e95fbb6060c8213356252883ab4fa45770b19a3064dd11be7d6cb3d2b91f1889dde1b412f3a818f3491 +MISC metadata.xml 259 SHA256 039ee41f1e7dec384460589eddef8861df90fba7ad0a4b7f3bc4c693c2bec8aa SHA512 7b1cbb90c1ddcf63b8802cfa3a53611f6367801b492c7677ef038738a337002c4606bcf93c5186abf808e74bca1fa76266169245acdb3b5997651bcabfecfa5c WHIRLPOOL c7536efcaae9edc94b026fd2a44ab939a09d795d2b66a532a26edaf23a1c051be75ba720268a4e84fc8cc6891e84e95e657a31a082b56def434549806044cfe4 diff --git a/net-print/foomatic-db-engine/files/4.0.12-use-pkgconfig.patch b/net-print/foomatic-db-engine/files/4.0.12-use-pkgconfig.patch new file mode 100644 index 000000000000..146932200197 --- /dev/null +++ b/net-print/foomatic-db-engine/files/4.0.12-use-pkgconfig.patch @@ -0,0 +1,35 @@ +https://bugs.linuxfoundation.org/show_bug.cgi?id=1339 + +From: Brian Norris +Date: Fri, 15 Jan 2016 11:12:03 -0800 +Subject: [PATCH] configure.ac: use pkg-config instead of xml2-config + +The former is much more standard, and libxml2 ships a .pc file. + +Leave libxml alone, since I haven't tested it, and it may not ship a .pc +file. +--- + configure.ac | 8 +------- + 1 file changed, 1 insertion(+), 7 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 1562ee61b9d5..0ed5323ff2e7 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -22,12 +22,7 @@ dnl LIBS="$LIBS" + # Test for libxml + # + xml_version= +-AC_PATH_PROG(XML2_CONFIG, xml2-config) +-if test ! -z "$XML2_CONFIG"; then +- xml_version=libxml2 +- XML_CFLAGS=`$XML2_CONFIG --cflags` +- XML_LIBS=`$XML2_CONFIG --libs` +-fi ++PKG_CHECK_MODULES(XML, libxml-2.0, [xml_version=libxml2]) + if test -z "$xml_version"; then + AC_PATH_PROG(XML_CONFIG, xml-config) + if test ! -z "$XML_CONFIG"; then +-- +2.1.2 + diff --git a/net-print/foomatic-db-engine/files/4.0.7-perl-module.patch b/net-print/foomatic-db-engine/files/4.0.7-perl-module.patch new file mode 100644 index 000000000000..dbb53feb2a87 --- /dev/null +++ b/net-print/foomatic-db-engine/files/4.0.7-perl-module.patch @@ -0,0 +1,13 @@ +diff --git a/Makefile.in b/Makefile.in +index 3014185..81e090d 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -42,7 +42,7 @@ LOCAL_LIBDIR=@LOCAL_LIBDIR@ + FOOMATIC_RIP=@FOOMATIC_RIP@ + + # foomatic-rip path for a "make inplace" installation +-LOCAL_FOOMATIC_RIP=@LOCAL_FOOMATIC_RIP@ ++LOCAL_FOOMATIC_RIP=@FOOMATIC_RIP@ + + # Locations for installing the components of this package + BINDIR=$(bindir) diff --git a/net-print/foomatic-db-engine/files/4.0.7-respect-ldflag.patch b/net-print/foomatic-db-engine/files/4.0.7-respect-ldflag.patch new file mode 100644 index 000000000000..9e6071276a4e --- /dev/null +++ b/net-print/foomatic-db-engine/files/4.0.7-respect-ldflag.patch @@ -0,0 +1,15 @@ +--- foomatic-db-engine-4.0.2/Makefile.in.orig 2009-07-23 11:45:28.487999828 +0200 ++++ foomatic-db-engine-4.0.2/Makefile.in 2009-07-23 11:45:53.939525006 +0200 +@@ -231,10 +231,10 @@ + ( cd lib && $(PERL) Makefile.PL verbose INSTALLDIRS=$(PERL_INSTALLDIRS) ) + + foomatic-combo-xml: foomatic-combo-xml.c +- $(CC) $(CFLAGS) -o foomatic-combo-xml foomatic-combo-xml.c ++ $(CC) $(CFLAGS) $(LDFLAGS) -o foomatic-combo-xml foomatic-combo-xml.c + + foomatic-perl-data: foomatic-perl-data.c +- $(CC) $(CFLAGS) $(XML_CFLAGS) -o foomatic-perl-data foomatic-perl-data.c $(XML_LIBS) ++ $(CC) $(CFLAGS) $(LDFLAGS) -o foomatic-perl-data foomatic-perl-data.c $(XML_CFLAGS) $(XML_LIBS) + + man: lib/Foomatic/Defaults.pm + chmod a+rx ./makeMan diff --git a/net-print/foomatic-db-engine/foomatic-db-engine-4.0.11.ebuild b/net-print/foomatic-db-engine/foomatic-db-engine-4.0.11.ebuild new file mode 100644 index 000000000000..a4405f8fe805 --- /dev/null +++ b/net-print/foomatic-db-engine/foomatic-db-engine-4.0.11.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +GENTOO_DEPEND_ON_PERL_SUBSLOT=yes +inherit eutils perl-app versionator + +DESCRIPTION="Generates ppds out of xml foomatic printer description files" +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 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd" +IUSE="" + +DEPEND="net-print/cups" +RDEPEND=" + dev-libs/libxml2 + || ( >=net-print/cups-filters-1.0.43-r1[foomatic] net-print/foomatic-filters ) +" +PDEPEND="net-print/foomatic-db" + +src_prepare() { + epatch \ + "${FILESDIR}"/4.0.7-perl-module.patch \ + "${FILESDIR}"/4.0.7-respect-ldflag.patch + sed -i -e "s:@LIB_CUPS@:$(cups-config --serverbin):" Makefile.in || die +} + +src_configure() { + default + emake defaults + + cd lib + perl-app_src_configure +} + +src_compile() { + emake + + cd lib + perl-app_src_compile +} + +src_install() { + emake DESTDIR="${D}" install + dodoc ChangeLog README TODO USAGE + + cd lib + perl-module_src_install +} + +src_test() { + cd lib + perl-module_src_test +} diff --git a/net-print/foomatic-db-engine/foomatic-db-engine-4.0.12.ebuild b/net-print/foomatic-db-engine/foomatic-db-engine-4.0.12.ebuild new file mode 100644 index 000000000000..51fae9f2067e --- /dev/null +++ b/net-print/foomatic-db-engine/foomatic-db-engine-4.0.12.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +GENTOO_DEPEND_ON_PERL_SUBSLOT=yes +inherit eutils perl-app versionator autotools + +DESCRIPTION="Generates ppds out of xml foomatic printer description files" +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 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd" +IUSE="" + +DEPEND="net-print/cups + virtual/pkgconfig" +RDEPEND=" + dev-libs/libxml2 + || ( >=net-print/cups-filters-1.0.43-r1[foomatic] net-print/foomatic-filters ) +" +PDEPEND="net-print/foomatic-db" + +src_prepare() { + epatch \ + "${FILESDIR}"/4.0.7-perl-module.patch \ + "${FILESDIR}"/4.0.7-respect-ldflag.patch \ + "${FILESDIR}"/4.0.12-use-pkgconfig.patch + sed -i -e "s:@LIB_CUPS@:$(cups-config --serverbin):" Makefile.in || die + eautoreconf +} + +src_configure() { + default + emake defaults + + cd lib + perl-app_src_configure +} + +src_compile() { + default + + cd lib + perl-app_src_compile +} + +src_install() { + default + dodoc USAGE + + cd lib + perl-module_src_install +} + +src_test() { + cd lib + perl-module_src_test +} diff --git a/net-print/foomatic-db-engine/metadata.xml b/net-print/foomatic-db-engine/metadata.xml new file mode 100644 index 000000000000..8223018128a3 --- /dev/null +++ b/net-print/foomatic-db-engine/metadata.xml @@ -0,0 +1,8 @@ + + + + + printing@gentoo.org + Gentoo Printing Project + + -- cgit v1.2.3