Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-base/libgnomeprint/, profiles/, gnome-base/libgnomeprint/files/
Date: Thu, 16 Aug 2018 21:33:37
Message-Id: 1534455147.1c36091847155f34590a78105b11d69e29b1c118.leio@gentoo
1 commit: 1c36091847155f34590a78105b11d69e29b1c118
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 16 21:07:10 2018 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 16 21:32:27 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c360918
7
8 gnome-base/libgnomeprint: Remove last-rited package
9
10 Closes: https://bugs.gentoo.org/352952
11
12 gnome-base/libgnomeprint/Manifest | 1 -
13 .../files/libgnomeprint-2.18.8-bison3.patch | 39 ----------
14 .../files/libgnomeprint-2.18.8-cups-config.patch | 39 ----------
15 .../libgnomeprint-2.18.8-freetype-2.5.1.patch | 91 ----------------------
16 .../files/libgnomeprint-2.18.8-stdio-include.patch | 9 ---
17 .../libgnomeprint/libgnomeprint-2.18.8-r1.ebuild | 72 -----------------
18 gnome-base/libgnomeprint/metadata.xml | 8 --
19 profiles/package.mask | 6 --
20 8 files changed, 265 deletions(-)
21
22 diff --git a/gnome-base/libgnomeprint/Manifest b/gnome-base/libgnomeprint/Manifest
23 deleted file mode 100644
24 index f359c322454..00000000000
25 --- a/gnome-base/libgnomeprint/Manifest
26 +++ /dev/null
27 @@ -1 +0,0 @@
28 -DIST libgnomeprint-2.18.8.tar.bz2 880489 BLAKE2B e706e227c51b4be17246a86c59a29ec9129ea5dce7a073785debc29d04b2a13e71c731085088242bf4bc7946f7862f8d4c8c67b09afc05dc3e59d6809635a79d SHA512 eca4f118e918f8db04332c3c6df5370ee45497057b44747457b05f0517c55b38271b24cdf7493b8ba24875b2d53d99b5e64d5d63a04cd7fd895cb02ae1606469
29
30 diff --git a/gnome-base/libgnomeprint/files/libgnomeprint-2.18.8-bison3.patch b/gnome-base/libgnomeprint/files/libgnomeprint-2.18.8-bison3.patch
31 deleted file mode 100644
32 index d9fbbdd84fb..00000000000
33 --- a/gnome-base/libgnomeprint/files/libgnomeprint-2.18.8-bison3.patch
34 +++ /dev/null
35 @@ -1,39 +0,0 @@
36 -http://git.pld-linux.org/gitweb.cgi?p=packages/libgnomeprint.git;a=blob;f=bison3.patch
37 -
38 ---- libgnomeprint-2.18.8/libgnomeprint/grammar.y.orig 2010-02-09 13:32:51.000000000 +0100
39 -+++ libgnomeprint-2.18.8/libgnomeprint/grammar.y 2013-11-03 21:44:59.859877696 +0100
40 -@@ -6,8 +6,6 @@
41 - #include <libgnomeprint/types.h>
42 - #include <libgnomeprint/gnome-print-filter.h>
43 -
44 --#define YYPARSE_PARAM graph
45 --
46 - static void
47 - set_value_from_string (GParamSpec *pspec, GValue *v, const gchar *s)
48 - {
49 -@@ -99,7 +97,7 @@
50 - }
51 -
52 - static int yylex (void *lvalp);
53 --static int yyerror (const char *s);
54 -+static int yyerror (graph_t *g, const char *s);
55 - %}
56 -
57 - %union {
58 -@@ -117,6 +115,7 @@
59 - %type <p> pool
60 -
61 - %pure_parser
62 -+%parse-param { graph_t *graph }
63 -
64 - %start graph
65 - %%
66 -@@ -185,7 +184,7 @@
67 - %%
68 -
69 - static int
70 --yyerror (const char *s)
71 -+yyerror (graph_t *g, const char *s)
72 - {
73 - return -1;
74 - }
75
76 diff --git a/gnome-base/libgnomeprint/files/libgnomeprint-2.18.8-cups-config.patch b/gnome-base/libgnomeprint/files/libgnomeprint-2.18.8-cups-config.patch
77 deleted file mode 100644
78 index 999c6f07520..00000000000
79 --- a/gnome-base/libgnomeprint/files/libgnomeprint-2.18.8-cups-config.patch
80 +++ /dev/null
81 @@ -1,39 +0,0 @@
82 -From ffbc68cc8518c7e7263a42d4284b749b40c5e871 Mon Sep 17 00:00:00 2001
83 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@g.o>
84 -Date: Sun, 29 Jun 2014 10:47:41 +0200
85 -Subject: [PATCH] Use AC_PATH_TOOL to find proper cups-config.
86 -
87 ----
88 - configure.in | 9 +++++----
89 - 1 file changed, 5 insertions(+), 4 deletions(-)
90 -
91 -diff --git a/configure.in b/configure.in
92 -index 729278d..186fabf 100644
93 ---- a/configure.in
94 -+++ b/configure.in
95 -@@ -223,17 +223,18 @@ AC_ARG_WITH(cups,
96 - )
97 - if test "x$try_cups" = "xyes"; then
98 - PKG_CHECK_MODULES(CUPS, "gmodule-2.0")
99 -+ AC_PATH_TOOL(CUPS_CONFIG, cups-config)
100 - AC_MSG_CHECKING(for CUPS libraries version >= 1.1.20)
101 -- if cups-config --version --libs > /dev/null 2>&1; then
102 -- verstxt=`cups-config --version`
103 -+ if $CUPS_CONFIG --version --libs > /dev/null 2>&1; then
104 -+ verstxt=`$CUPS_CONFIG --version`
105 - vers=`echo "$verstxt" | \
106 - awk -F. '{ printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
107 - if test "$vers" -lt 1001020; then
108 - AC_MSG_RESULT(Cups found but the version found is less than 1.1.20)
109 - cups_msg="Version requirement not satisfied"
110 - else
111 -- CUPS_LIBS="$CUPS_LIBS `cups-config --ldflags` `cups-config --libs`"
112 -- CUPS_CFLAGS="$CUPS_CFLAGS `cups-config --cflags`"
113 -+ CUPS_LIBS="$CUPS_LIBS `$CUPS_CONFIG --ldflags` `$CUPS_CONFIG --libs`"
114 -+ CUPS_CFLAGS="$CUPS_CFLAGS `$CUPS_CONFIG --cflags`"
115 - AC_MSG_RESULT(Found version $verstxt)
116 - fi
117 -
118 ---
119 -2.0.0
120 -
121
122 diff --git a/gnome-base/libgnomeprint/files/libgnomeprint-2.18.8-freetype-2.5.1.patch b/gnome-base/libgnomeprint/files/libgnomeprint-2.18.8-freetype-2.5.1.patch
123 deleted file mode 100644
124 index 1a54e9be5b6..00000000000
125 --- a/gnome-base/libgnomeprint/files/libgnomeprint-2.18.8-freetype-2.5.1.patch
126 +++ /dev/null
127 @@ -1,91 +0,0 @@
128 -From e848ee98108ab8c5b12e2167b041b274b4bede83 Mon Sep 17 00:00:00 2001
129 -From: Lars Wendler <polynomial-c@g.o>
130 -Date: Thu, 8 Oct 2015 11:06:44 +0200
131 -Subject: [PATCH] Update freetype includes to work with >=freetype-2.5.1
132 -
133 -Signed-off-by: Lars Wendler <polynomial-c@g.o>
134 ----
135 - configure.in | 22 +++-------------------
136 - libgnomeprint/gnome-font-face.c | 3 ++-
137 - libgnomeprint/gnome-print-gdi.c | 2 +-
138 - libgnomeprint/gnome-rfont.c | 4 ++--
139 - 4 files changed, 8 insertions(+), 23 deletions(-)
140 -
141 -diff --git a/configure.in b/configure.in
142 -index c15bb69..aebe591 100644
143 ---- a/configure.in
144 -+++ b/configure.in
145 -@@ -162,25 +162,9 @@ LDFLAGS="$LDFLAGS $LIBM"
146 - dnl =================================
147 - dnl Checking for freetype2
148 - dnl =================================
149 --FREETYPE_LIBS=
150 --FREETYPE_CFLAGS=
151 --AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no)
152 --if test "x$FREETYPE_CONFIG" = "xno" ; then
153 -- AC_MSG_ERROR(You need FreeType2 (freetype-devel v 2.x package) for this version of libgnomeprint)
154 --else
155 -- FREETYPE_CFLAGS=`$FREETYPE_CONFIG --cflags`
156 -- FREETYPE_LIBS=`$FREETYPE_CONFIG --libs`
157 --fi
158 --
159 --libgnomeprint_save_ldflags=$LDFLAGS
160 --LDFLAGS="$LDFLAGS $FREETYPE_LIBS"
161 --
162 --freetype_version=false
163 --AC_MSG_NOTICE([checking for sufficiently new FreeType (at least 2.0.5)])
164 --AC_CHECK_LIB(freetype, FT_Get_Postscript_Name,:,[
165 -- AC_MSG_ERROR(You need FreeType2 (freetype-devel 2.0.5 or greater package) for this version of libgnomeprint)])
166 --
167 --LDFLAGS=$libgnomeprint_save_ldflags
168 -+dnl "freetype2 >= 17" means freetype-2.5.1
169 -+PKG_CHECK_MODULES(FREETYPE, freetype2 >= 17, ,
170 -+ [PKG_CHECK_MODULES(FREETYPE, freetype2, [FREETYPE_CFLAGS="$FREETYPE_CFLAGS -I`$PKG_CONFIG --variable=includedir freetype2`/freetype2/freetype"])])
171 -
172 - dnl =================================
173 - dnl END: Checking for freetype2
174 -diff --git a/libgnomeprint/gnome-font-face.c b/libgnomeprint/gnome-font-face.c
175 -index 0447377..23794a8 100644
176 ---- a/libgnomeprint/gnome-font-face.c
177 -+++ b/libgnomeprint/gnome-font-face.c
178 -@@ -36,7 +36,8 @@
179 - #include <stdarg.h>
180 - #include <locale.h>
181 -
182 --#include <freetype/ftoutln.h>
183 -+#include <ft2build.h>
184 -+#include FT_OUTLINE_H
185 -
186 - #include <libgnomeprint/gnome-print-private.h>
187 - #include <libgnomeprint/gnome-font-private.h>
188 -diff --git a/libgnomeprint/gnome-print-gdi.c b/libgnomeprint/gnome-print-gdi.c
189 -index f89a8e8..7755673 100755
190 ---- a/libgnomeprint/gnome-print-gdi.c
191 -+++ b/libgnomeprint/gnome-print-gdi.c
192 -@@ -36,7 +36,7 @@
193 - #include <libgnomeprint/gp-gc-private.h>
194 -
195 - #include <ft2build.h>
196 --#include <freetype/freetype.h>
197 -+#include FT_FREETYPE_H
198 -
199 - #define WIN32_LEAN_AND_MEAN
200 - #include <windows.h>
201 -diff --git a/libgnomeprint/gnome-rfont.c b/libgnomeprint/gnome-rfont.c
202 -index 55ec261..a71bbda 100644
203 ---- a/libgnomeprint/gnome-rfont.c
204 -+++ b/libgnomeprint/gnome-rfont.c
205 -@@ -28,8 +28,8 @@
206 -
207 - #include <ft2build.h>
208 - #include FT_FREETYPE_H
209 --#include <freetype/ftglyph.h>
210 --#include <freetype/ftbbox.h>
211 -+#include FT_GLYPH_H
212 -+#include FT_BBOX_H
213 - #include <libart_lgpl/art_misc.h>
214 - #include <libart_lgpl/art_affine.h>
215 - #include <libart_lgpl/art_vpath.h>
216 ---
217 -2.6.1
218 -
219
220 diff --git a/gnome-base/libgnomeprint/files/libgnomeprint-2.18.8-stdio-include.patch b/gnome-base/libgnomeprint/files/libgnomeprint-2.18.8-stdio-include.patch
221 deleted file mode 100644
222 index dd9195434e8..00000000000
223 --- a/gnome-base/libgnomeprint/files/libgnomeprint-2.18.8-stdio-include.patch
224 +++ /dev/null
225 @@ -1,9 +0,0 @@
226 ---- a/libgnomeprint/modules/cups/gnome-print-cups-transport.c
227 -+++ b/libgnomeprint/modules/cups/gnome-print-cups-transport.c
228 -@@ -34,6 +34,7 @@
229 - #include <sys/types.h>
230 - #include <sys/stat.h>
231 - #include <fcntl.h>
232 -+#include <stdio.h>
233 - #include <unistd.h>
234 - #include <locale.h>
235
236 diff --git a/gnome-base/libgnomeprint/libgnomeprint-2.18.8-r1.ebuild b/gnome-base/libgnomeprint/libgnomeprint-2.18.8-r1.ebuild
237 deleted file mode 100644
238 index 599e35a3daa..00000000000
239 --- a/gnome-base/libgnomeprint/libgnomeprint-2.18.8-r1.ebuild
240 +++ /dev/null
241 @@ -1,72 +0,0 @@
242 -# Copyright 1999-2017 Gentoo Foundation
243 -# Distributed under the terms of the GNU General Public License v2
244 -
245 -EAPI="5"
246 -GCONF_DEBUG="no"
247 -GNOME_TARBALL_SUFFIX="bz2"
248 -
249 -inherit autotools eutils gnome2 multilib-minimal
250 -
251 -DESCRIPTION="Printer handling for Gnome"
252 -HOMEPAGE="https://www.gnome.org/"
253 -
254 -LICENSE="GPL-2 LGPL-2.1"
255 -SLOT="2.2"
256 -KEYWORDS="alpha amd64 arm ia64 ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
257 -IUSE="cups doc"
258 -
259 -RDEPEND=">=dev-libs/glib-2.34.3[${MULTILIB_USEDEP}]
260 - >=media-libs/libart_lgpl-2.3.21-r2[${MULTILIB_USEDEP}]
261 - >=x11-libs/pango-1.36.3[${MULTILIB_USEDEP}]
262 - >=dev-libs/libxml2-2.9.1-r4[${MULTILIB_USEDEP}]
263 - >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}]
264 - >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}]
265 - >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
266 - cups? (
267 - >=net-print/cups-1.7.1-r1[${MULTILIB_USEDEP}]
268 - >=net-print/libgnomecups-0.2.3-r3[${MULTILIB_USEDEP}] )"
269 -DEPEND="${RDEPEND}
270 - sys-devel/gettext
271 - >=dev-util/intltool-0.35
272 - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
273 - sys-devel/flex
274 - sys-devel/bison
275 - doc? (
276 - ~app-text/docbook-xml-dtd-4.1.2
277 - >=dev-util/gtk-doc-0.9 )"
278 -
279 -src_prepare() {
280 - epatch "${FILESDIR}"/${P}-stdio-include.patch \
281 - "${FILESDIR}"/${P}-freetype-2.5.1.patch \
282 - "${FILESDIR}"/${P}-bison3.patch \
283 - "${FILESDIR}"/${P}-cups-config.patch
284 - eautoreconf
285 - gnome2_src_prepare
286 -
287 - # Drop DEPRECATED flags, bug #384807
288 - sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED::g' \
289 - configure.in configure || die
290 - sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' \
291 - libgnomeprint/ttsubset/Makefile.am \
292 - libgnomeprint/ttsubset/Makefile.in || die
293 -}
294 -
295 -multilib_src_configure() {
296 - # Disable papi support until papi is in portage; avoids automagic
297 - # dependencies on an untracked library.
298 -
299 - ECONF_SOURCE=${S} \
300 - gnome2_src_configure \
301 - $(use_with cups) \
302 - --without-papi \
303 - --disable-static
304 -}
305 -
306 -multilib_src_install() {
307 - gnome2_src_install
308 -}
309 -
310 -multilib_src_install_all() {
311 - DOCS="AUTHORS BUGS ChangeLog* NEWS README"
312 - einstalldocs
313 -}
314
315 diff --git a/gnome-base/libgnomeprint/metadata.xml b/gnome-base/libgnomeprint/metadata.xml
316 deleted file mode 100644
317 index 39980802b1d..00000000000
318 --- a/gnome-base/libgnomeprint/metadata.xml
319 +++ /dev/null
320 @@ -1,8 +0,0 @@
321 -<?xml version="1.0" encoding="UTF-8"?>
322 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
323 -<pkgmetadata>
324 -<maintainer type="project">
325 - <email>gnome@g.o</email>
326 - <name>Gentoo GNOME Desktop</name>
327 -</maintainer>
328 -</pkgmetadata>
329
330 diff --git a/profiles/package.mask b/profiles/package.mask
331 index 7d1aae0405f..f509f359eb7 100644
332 --- a/profiles/package.mask
333 +++ b/profiles/package.mask
334 @@ -98,12 +98,6 @@ x11-themes/ethemes
335 # >=dev-python/celery-4.0. Removal in 30 days. Bug #661804
336 dev-python/django-celery
337
338 -# Mart Raudsepp <leio@g.o> (16 Jul 2018)
339 -# Obsolete early GNOME 2 era print libraries. Applications
340 -# use printing support found directly in x11-libs/gtk+ now.
341 -# Removal in 30 days. Bug #352952
342 -gnome-base/libgnomeprint
343 -
344 # Mart Raudsepp <leio@g.o> (16 Jul 2018)
345 # Parallel-installable old versions with no remaining consumers
346 # in main tree. Use applications ported to wxGTK:3.0 and