1 |
commit: 212cc58cd2da78cadcd8a5365daaa0055fb06a2e |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 11 20:29:44 2017 +0000 |
4 |
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 11 20:29:56 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=212cc58c |
7 |
|
8 |
net-print/gutenprint: Remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
net-print/gutenprint/Manifest | 1 - |
13 |
.../gutenprint/files/gutenprint-5.2.8-genppd.patch | 23 ----- |
14 |
...rint-switch-from-ijs-config-to-pkg-config.patch | 60 ------------- |
15 |
net-print/gutenprint/gutenprint-5.2.11.ebuild | 97 ---------------------- |
16 |
4 files changed, 181 deletions(-) |
17 |
|
18 |
diff --git a/net-print/gutenprint/Manifest b/net-print/gutenprint/Manifest |
19 |
index 0e4da5be11..573e02a219 100644 |
20 |
--- a/net-print/gutenprint/Manifest |
21 |
+++ b/net-print/gutenprint/Manifest |
22 |
@@ -1,3 +1,2 @@ |
23 |
DIST gutenprint-5.2.10.tar.bz2 6241585 SHA256 431f352b412dfb9809d126a85a37a1fcd1c1826275ace8cdcd4fd9a6ee360e59 SHA512 bb71fd5c127748730dde01471b09907d500b72c35401abaf92c631d04156bacafd4b1a9baef61f48db6c4a622fd612a1e2834ed30207b5b178767ea9d9d5e1ac WHIRLPOOL 4d809f99df3515fc878d3be5df4f48b66fc764eea1f62db15e75d6ca7326c24c6c228bd975575c20f3e7bc8398c1e492e1025784e64a4534f82ad89c7ba92990 |
24 |
-DIST gutenprint-5.2.11.tar.bz2 6570118 SHA256 c1a34cd2e02527de4d2a9bf6c14732cb9aa11b333f771eb6043fdc974de24df9 SHA512 f4010e489dd6763b19113abf1d55e84cea8d36b920d03dbe204dba30ab0d3fb3e3391e739cd1a56e2f63581c8ce4a856a7f747deb6e7b18d7e1f7a3d87901c60 WHIRLPOOL 0c6a0495d59ef720da74b610f6c26515ea5d0748e78f1b8eb4bb12277dca874b428ef17f9cf668f0449362900580ecefe35c2d1ebf6f6025519c886fc8a83b9e |
25 |
DIST gutenprint-5.2.12.tar.bz2 6898738 SHA256 a42489fd7d6f2e4320811754bb80b0cd845db6632b52f819fbc2b4b75057341b SHA512 38dd34ca1946a37d0bdaa7d69f65b11651097b6d7f2b451387afd72b32fc92c3670bf54b46df226ca7a64d78f50117a648e2d6194ebaf2e86627cb29fb0e958e WHIRLPOOL f69696ae56a27e87006f471a2e9404dad53bf800743f51ce0524735f61f92e4955eb81cf8d9cc8c7e398316d55f7bc6346e2e4a0330689fad790c9ffbd9f7050 |
26 |
|
27 |
diff --git a/net-print/gutenprint/files/gutenprint-5.2.8-genppd.patch b/net-print/gutenprint/files/gutenprint-5.2.8-genppd.patch |
28 |
deleted file mode 100644 |
29 |
index f61fb69ccf..0000000000 |
30 |
--- a/net-print/gutenprint/files/gutenprint-5.2.8-genppd.patch |
31 |
+++ /dev/null |
32 |
@@ -1,23 +0,0 @@ |
33 |
-diff -urN gutenprint-5.2.8.old/src/cups/Makefile.am gutenprint-5.2.8/src/cups/Makefile.am |
34 |
---- gutenprint-5.2.8.old/src/cups/Makefile.am 2012-06-14 14:03:53.011828220 +0200 |
35 |
-+++ gutenprint-5.2.8/src/cups/Makefile.am 2012-06-14 14:04:57.672829331 +0200 |
36 |
-@@ -98,16 +98,16 @@ |
37 |
- |
38 |
- cups_genppd_@GUTENPRINT_MAJOR_VERSION@_@GUTENPRINT_MINOR_VERSION@_SOURCES = genppd.c i18n.c i18n.h |
39 |
- cups_genppd_@GUTENPRINT_MAJOR_VERSION@_@GUTENPRINT_MINOR_VERSION@_CFLAGS = -DALL_LINGUAS='"$(ALL_LINGUAS)"' $(BUILD_SIMPLE_PPDS) $(TRANSLATE_PPDS) |
40 |
--cups_genppd_@GUTENPRINT_MAJOR_VERSION@_@GUTENPRINT_MINOR_VERSION@_LDADD = $(CUPS_LIBS) $(GENPPD_LIBS) $(GUTENPRINT_LIBS) @LIBICONV@ |
41 |
-+cups_genppd_@GUTENPRINT_MAJOR_VERSION@_@GUTENPRINT_MINOR_VERSION@_LDADD = $(GUTENPRINT_LIBS) $(CUPS_LIBS) $(GENPPD_LIBS) @LIBICONV@ |
42 |
- cups_genppd_@GUTENPRINT_MAJOR_VERSION@_@GUTENPRINT_MINOR_VERSION@_LDFLAGS = $(STATIC_LDOPTS) |
43 |
- |
44 |
- gutenprint_@GUTENPRINT_MAJOR_VERSION@_@GUTENPRINT_MINOR_VERSION@_SOURCES = genppd.c i18n.c i18n.h |
45 |
- gutenprint_@GUTENPRINT_MAJOR_VERSION@_@GUTENPRINT_MINOR_VERSION@_CFLAGS = -DCUPS_DRIVER_INTERFACE -DALL_LINGUAS='"$(ALL_LINGUAS)"' $(BUILD_SIMPLE_PPDS) $(TRANSLATE_PPDS) |
46 |
--gutenprint_@GUTENPRINT_MAJOR_VERSION@_@GUTENPRINT_MINOR_VERSION@_LDADD = $(CUPS_LIBS) $(GUTENPRINT_LIBS) @LIBICONV@ |
47 |
-+gutenprint_@GUTENPRINT_MAJOR_VERSION@_@GUTENPRINT_MINOR_VERSION@_LDADD = $(GUTENPRINT_LIBS) $(CUPS_LIBS) @LIBICONV@ |
48 |
- gutenprint_@GUTENPRINT_MAJOR_VERSION@_@GUTENPRINT_MINOR_VERSION@_LDFLAGS = $(STATIC_LDOPTS) |
49 |
- |
50 |
- rastertogutenprint_@GUTENPRINT_MAJOR_VERSION@_@GUTENPRINT_MINOR_VERSION@_SOURCES = rastertoprinter.c i18n.c i18n.h |
51 |
--rastertogutenprint_@GUTENPRINT_MAJOR_VERSION@_@GUTENPRINT_MINOR_VERSION@_LDADD = $(CUPS_LIBS) $(GUTENPRINT_LIBS) @LIBICONV@ |
52 |
-+rastertogutenprint_@GUTENPRINT_MAJOR_VERSION@_@GUTENPRINT_MINOR_VERSION@_LDADD = $(GUTENPRINT_LIBS) $(CUPS_LIBS) @LIBICONV@ |
53 |
- rastertogutenprint_@GUTENPRINT_MAJOR_VERSION@_@GUTENPRINT_MINOR_VERSION@_LDFLAGS = $(STATIC_LDOPTS) |
54 |
- |
55 |
- ## Data |
56 |
|
57 |
diff --git a/net-print/gutenprint/files/gutenprint-switch-from-ijs-config-to-pkg-config.patch b/net-print/gutenprint/files/gutenprint-switch-from-ijs-config-to-pkg-config.patch |
58 |
deleted file mode 100644 |
59 |
index 99ef9b74c6..0000000000 |
60 |
--- a/net-print/gutenprint/files/gutenprint-switch-from-ijs-config-to-pkg-config.patch |
61 |
+++ /dev/null |
62 |
@@ -1,60 +0,0 @@ |
63 |
-From 233a909a77dd4c18d359bf32cd8ef99ed1b7b459 Mon Sep 17 00:00:00 2001 |
64 |
-From: speachy <> |
65 |
-Date: Fri, 29 Jan 2016 12:41:21 +0000 |
66 |
-Subject: [PATCH] Apply patch from Brian Norris to switch from 'ijs-config' to |
67 |
- 'pkg-config' for IJS support, as the former does not work for |
68 |
- cross-compilation. |
69 |
- |
70 |
---- |
71 |
- configure.ac | 10 ++++------ |
72 |
- src/ghost/ijsgutenprint.c | 4 ++-- |
73 |
- 2 files changed, 6 insertions(+), 8 deletions(-) |
74 |
- |
75 |
-diff --git a/configure.ac b/configure.ac |
76 |
-index 800794b..fac8361 100644 |
77 |
---- a/configure.ac |
78 |
-+++ b/configure.ac |
79 |
-@@ -371,9 +371,9 @@ if test "$BUILD_FOOMATIC_3" = "yes" ; then |
80 |
- BUILD_FOOMATIC=yes |
81 |
- fi |
82 |
- |
83 |
--AC_PATH_PROG(IJS_CONFIG, ijs-config) |
84 |
-+PKG_CHECK_MODULES(IJS, ijs, [HAVE_IJS=yes], [HAVE_IJS=no]) |
85 |
- |
86 |
--if test -z "${IJS_CONFIG}" ; then |
87 |
-+if test "x${HAVE_IJS}" = "xno" ; then |
88 |
- BUILD_GHOSTSCRIPT="no" |
89 |
- else |
90 |
- BUILD_GHOSTSCRIPT="yes" |
91 |
-@@ -620,11 +620,9 @@ fi |
92 |
- |
93 |
- dnl ijs checks |
94 |
- if test x${BUILD_GHOSTSCRIPT} = xyes ; then |
95 |
-- if test -z "$IJS_CONFIG" ; then |
96 |
-- AC_MSG_ERROR(Cannot find ijs-config; please ensure Ghostscript 6.53 or above is installed); |
97 |
-+ if test -z "$HAVE_IJS" ; then |
98 |
-+ AC_MSG_ERROR(Cannot find ijs; please ensure Ghostscript 6.53 or above is installed); |
99 |
- fi |
100 |
-- IJS_CFLAGS=`$IJS_CONFIG --cflags` |
101 |
-- IJS_LIBS=`$IJS_CONFIG --libs` |
102 |
- fi |
103 |
- |
104 |
- GUTENPRINT_RELEASE_VERSION=${GUTENPRINT_MAJOR_VERSION}.${GUTENPRINT_MINOR_VERSION} |
105 |
-diff --git a/src/ghost/ijsgutenprint.c b/src/ghost/ijsgutenprint.c |
106 |
-index a3621a2..69aadf1 100644 |
107 |
---- a/src/ghost/ijsgutenprint.c |
108 |
-+++ b/src/ghost/ijsgutenprint.c |
109 |
-@@ -35,8 +35,8 @@ |
110 |
- #include <string.h> |
111 |
- #include <unistd.h> |
112 |
- #include <locale.h> |
113 |
--#include <ijs.h> |
114 |
--#include <ijs_server.h> |
115 |
-+#include <ijs/ijs.h> |
116 |
-+#include <ijs/ijs_server.h> |
117 |
- #include <errno.h> |
118 |
- #include <gutenprint/gutenprint-intl-internal.h> |
119 |
- |
120 |
--- |
121 |
-2.7.3 |
122 |
- |
123 |
|
124 |
diff --git a/net-print/gutenprint/gutenprint-5.2.11.ebuild b/net-print/gutenprint/gutenprint-5.2.11.ebuild |
125 |
deleted file mode 100644 |
126 |
index bd53819aea..0000000000 |
127 |
--- a/net-print/gutenprint/gutenprint-5.2.11.ebuild |
128 |
+++ /dev/null |
129 |
@@ -1,97 +0,0 @@ |
130 |
-# Copyright 1999-2016 Gentoo Foundation |
131 |
-# Distributed under the terms of the GNU General Public License v2 |
132 |
-# $Id$ |
133 |
- |
134 |
-EAPI=6 |
135 |
- |
136 |
-inherit autotools |
137 |
- |
138 |
-DESCRIPTION="Ghostscript and cups printer drivers" |
139 |
-HOMEPAGE="http://gutenprint.sourceforge.net" |
140 |
-SRC_URI="mirror://sourceforge/gimp-print/${P}.tar.bz2" |
141 |
- |
142 |
-LICENSE="GPL-2" |
143 |
-SLOT="0" |
144 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
145 |
-IUSE="cups foomaticdb gimp gtk nls readline ppds static-libs" |
146 |
-REQUIRED_USE="gimp? ( gtk )" |
147 |
- |
148 |
-RDEPEND="app-text/ghostscript-gpl |
149 |
- dev-lang/perl |
150 |
- readline? ( sys-libs/readline:0= ) |
151 |
- cups? ( >=net-print/cups-1.1.14 ) |
152 |
- foomaticdb? ( net-print/foomatic-db-engine ) |
153 |
- gimp? ( >=media-gfx/gimp-2.2 x11-libs/gtk+:2 ) |
154 |
- gtk? ( x11-libs/gtk+:2 ) |
155 |
- nls? ( virtual/libintl )" |
156 |
-DEPEND="${RDEPEND} |
157 |
- virtual/pkgconfig |
158 |
- nls? ( sys-devel/gettext )" |
159 |
- |
160 |
-RESTRICT="test" |
161 |
- |
162 |
-DOCS=( AUTHORS ChangeLog NEWS README doc/gutenprint-users-manual.{pdf,odt} ) |
163 |
- |
164 |
-PATCHES=( |
165 |
- "${FILESDIR}"/${PN}-5.2.4-CFLAGS.patch |
166 |
- "${FILESDIR}"/${PN}-5.2.10-genppd.patch # bug 382927 |
167 |
- "${FILESDIR}"/${PN}-switch-from-ijs-config-to-pkg-config.patch # bug 587916 |
168 |
-) |
169 |
- |
170 |
-src_prepare() { |
171 |
- default |
172 |
- |
173 |
- sed -i "s:m4local:m4extra:" Makefile.am || die |
174 |
- |
175 |
- sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" \ |
176 |
- -e "s/AM_PROG_CC_STDC/AC_PROG_CC/" \ |
177 |
- -i configure.ac || die |
178 |
- |
179 |
- eautoreconf |
180 |
-} |
181 |
- |
182 |
-src_configure() { |
183 |
- local myeconfargs=( |
184 |
- --enable-test |
185 |
- --with-ghostscript |
186 |
- --disable-translated-cups-ppds |
187 |
- $(use_enable gtk libgutenprintui2) |
188 |
- $(use_with gimp gimp2) |
189 |
- $(use_with gimp gimp2-as-gutenprint) |
190 |
- $(use_with cups) |
191 |
- $(use_enable nls) |
192 |
- $(use_with readline) |
193 |
- $(use_enable static-libs static) |
194 |
- ) |
195 |
- |
196 |
- if use cups && use ppds; then |
197 |
- myeconfargs+=( --enable-cups-ppds --enable-cups-level3-ppds ) |
198 |
- else |
199 |
- myeconfargs+=( --disable-cups-ppds ) |
200 |
- fi |
201 |
- |
202 |
- use foomaticdb \ |
203 |
- && myeconfargs+=( --with-foomatic3 ) \ |
204 |
- || myeconfargs+=( --without-foomatic ) |
205 |
- |
206 |
- econf "${myeconfargs[@]}" |
207 |
-} |
208 |
- |
209 |
-src_install() { |
210 |
- default |
211 |
- |
212 |
- dodoc doc/FAQ.html |
213 |
- dodoc -r doc/gutenprintui2/html |
214 |
- rm -r "${ED}"/usr/share/gutenprint/doc || die |
215 |
- |
216 |
- find "${ED}" -name '*.la' -exec rm -f '{}' + || die |
217 |
-} |
218 |
- |
219 |
-pkg_postinst() { |
220 |
- if [[ ${ROOT} == / ]] && [[ -x /usr/sbin/cups-genppdupdate ]]; then |
221 |
- elog "Updating installed printer ppd files" |
222 |
- elog $(/usr/sbin/cups-genppdupdate) |
223 |
- else |
224 |
- elog "You need to update installed ppds manually using cups-genppdupdate" |
225 |
- fi |
226 |
-} |