1 |
commit: ae11dd7e67b2e17b72a6b5fe892c13e3afd835e1 |
2 |
Author: Aaron Bauman <bman <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 26 01:39:44 2018 +0000 |
4 |
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 26 13:57:45 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae11dd7e |
7 |
|
8 |
dev-libs/pslib: drop old EAPI |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/8592 |
12 |
|
13 |
dev-libs/pslib/Manifest | 1 - |
14 |
dev-libs/pslib/files/pslib-getline.patch | 47 ------------------------------- |
15 |
dev-libs/pslib/files/pslib-lm.patch | 11 -------- |
16 |
dev-libs/pslib/pslib-0.4.1-r2.ebuild | 48 -------------------------------- |
17 |
4 files changed, 107 deletions(-) |
18 |
|
19 |
diff --git a/dev-libs/pslib/Manifest b/dev-libs/pslib/Manifest |
20 |
index 7cc3ab271f3..979f121724a 100644 |
21 |
--- a/dev-libs/pslib/Manifest |
22 |
+++ b/dev-libs/pslib/Manifest |
23 |
@@ -1,2 +1 @@ |
24 |
-DIST pslib-0.4.1.tar.gz 531797 BLAKE2B 28224be5411739d20118e3457050b7fc388ad0c5f1f14403080732588b16b2bfc89bad5ce8383db5d5da85fceca466fe81588550c949d18c5c4965889c26f9bc SHA512 012c0b2de1cb151fc41498ca4e6f62ec15138b35afddd0199c6366b818c7b544877eea9575df0e1aee49a67cd52dcac47eae405854e7390abeb64fda221327cf |
25 |
DIST pslib-0.4.5.tar.gz 493687 BLAKE2B cca0709bc3fa9f464166b02ca54d85056c510f677b478b4f187fba653b3a17af38c3c7ffbea23113d5ad3a146e881d183f138d836cd5f373a116e836ba8d4974 SHA512 410abfdca6c52f16c07b7d0157930fbb7a996f03bfb84aee2bc951b2d859bc2186d3ba742b724cd957b9b1c48201364fbeb11c15d7f4ead34f78b0d0746abc6f |
26 |
|
27 |
diff --git a/dev-libs/pslib/files/pslib-getline.patch b/dev-libs/pslib/files/pslib-getline.patch |
28 |
deleted file mode 100644 |
29 |
index cfe7ce4da73..00000000000 |
30 |
--- a/dev-libs/pslib/files/pslib-getline.patch |
31 |
+++ /dev/null |
32 |
@@ -1,47 +0,0 @@ |
33 |
---- src/ps_afm.c 2007-07-11 20:18:00.000000000 +0200 |
34 |
-+++ src/ps_afm.c.fix 2009-07-11 14:51:05.000000000 +0200 |
35 |
-@@ -138,7 +138,7 @@ |
36 |
- return (int)(acc>=0? floor(acc+0.5) : ceil(acc-0.5) ) ; |
37 |
- } |
38 |
- |
39 |
--static int getline(FILE *afmin) { |
40 |
-+static int pslib_getline(FILE *afmin) { |
41 |
- char *p ; |
42 |
- int c ; |
43 |
- |
44 |
-@@ -616,7 +616,7 @@ |
45 |
- return(-1); |
46 |
- } |
47 |
- |
48 |
-- while (getline(fp)) { |
49 |
-+ while (pslib_getline(fp)) { |
50 |
- switch(interest(paramstring())) { |
51 |
- case N: |
52 |
- handleprotusion(psdoc, metrics) ; |
53 |
-@@ -664,7 +664,7 @@ |
54 |
- /* |
55 |
- * Read file line by line. |
56 |
- */ |
57 |
-- while (getline(metric->afmin)) { |
58 |
-+ while (pslib_getline(metric->afmin)) { |
59 |
- switch(interest(paramstring())) { |
60 |
- case FontName: |
61 |
- metric->fontname = paramnewstring(psdoc) ; |
62 |
-@@ -1039,7 +1039,7 @@ |
63 |
- |
64 |
- while (1) { |
65 |
- while (param == NULL || *param == '\0') { |
66 |
-- if (getline(metrics->afmin) == 0) |
67 |
-+ if (pslib_getline(metrics->afmin) == 0) |
68 |
- ps_error(psdoc, PS_RuntimeError, _("Premature end of encoding file.")); |
69 |
- for (p=buffer; *p != '\0'; p++) |
70 |
- if (*p == '%') { |
71 |
-@@ -1160,7 +1160,7 @@ |
72 |
- psdoc->free(psdoc, e); |
73 |
- return -1; |
74 |
- } |
75 |
-- while (getline(metrics->afmin)) { |
76 |
-+ while (pslib_getline(metrics->afmin)) { |
77 |
- for (p=buffer; *p != '\0'; p++) |
78 |
- if (*p == '%') { |
79 |
- if (ignoreligkern == 0) |
80 |
|
81 |
diff --git a/dev-libs/pslib/files/pslib-lm.patch b/dev-libs/pslib/files/pslib-lm.patch |
82 |
deleted file mode 100644 |
83 |
index 46292eee3d4..00000000000 |
84 |
--- a/dev-libs/pslib/files/pslib-lm.patch |
85 |
+++ /dev/null |
86 |
@@ -1,11 +0,0 @@ |
87 |
---- a/configure.in 2007-10-30 02:38:30.000000000 -0500 |
88 |
-+++ b/configure.in 2009-01-21 18:55:37.000000000 -0600 |
89 |
-@@ -92,6 +92,8 @@ |
90 |
- AC_SUBST(LIBHNJ_CFLAGS) |
91 |
- AC_SUBST(LIBHNJ_LIBS) |
92 |
- |
93 |
-+AC_CHECK_LIB([m], [pow]) |
94 |
-+ |
95 |
- PNG_PREFIX=no |
96 |
- AC_ARG_WITH(png, [ --with-png=DIR Path to png library (/usr)]) |
97 |
- case "${withval}" in |
98 |
|
99 |
diff --git a/dev-libs/pslib/pslib-0.4.1-r2.ebuild b/dev-libs/pslib/pslib-0.4.1-r2.ebuild |
100 |
deleted file mode 100644 |
101 |
index e0f19c00b2f..00000000000 |
102 |
--- a/dev-libs/pslib/pslib-0.4.1-r2.ebuild |
103 |
+++ /dev/null |
104 |
@@ -1,48 +0,0 @@ |
105 |
-# Copyright 1999-2018 Gentoo Foundation |
106 |
-# Distributed under the terms of the GNU General Public License v2 |
107 |
- |
108 |
-EAPI=2 |
109 |
-inherit autotools eutils |
110 |
- |
111 |
-DESCRIPTION="pslib is a C-library to create PostScript files on the fly" |
112 |
-HOMEPAGE="http://pslib.sourceforge.net/" |
113 |
-SRC_URI="mirror://sourceforge/pslib/${P}.tar.gz" |
114 |
- |
115 |
-LICENSE="GPL-2" |
116 |
-SLOT="0" |
117 |
-KEYWORDS="amd64 ppc ~ppc64 ~sparc ~x86" |
118 |
-IUSE="debug jpeg png tiff" |
119 |
- |
120 |
-RDEPEND="png? ( >=media-libs/libpng-1.2.43-r2:0 ) |
121 |
- jpeg? ( virtual/jpeg ) |
122 |
- tiff? ( media-libs/tiff )" |
123 |
-#gif? requires libungif, not in portage |
124 |
-DEPEND="${RDEPEND} |
125 |
- dev-lang/perl |
126 |
- >=dev-libs/glib-2 |
127 |
- dev-util/intltool |
128 |
- dev-perl/XML-Parser" |
129 |
- |
130 |
-src_prepare() { |
131 |
- epatch "${FILESDIR}"/${PN}-lm.patch \ |
132 |
- "${FILESDIR}"/${PN}-getline.patch |
133 |
- |
134 |
- sed -i \ |
135 |
- -e 's:png_set_gray_1_2_4_to_8:png_set_expand_gray_1_2_4_to_8:' \ |
136 |
- src/pslib.c || die |
137 |
- |
138 |
- eautoreconf |
139 |
-} |
140 |
- |
141 |
-src_configure() { |
142 |
- econf \ |
143 |
- $(use_with png) \ |
144 |
- $(use_with jpeg) \ |
145 |
- $(use_with tiff) \ |
146 |
- $(use_with debug) |
147 |
-} |
148 |
- |
149 |
-src_install() { |
150 |
- emake DESTDIR="${D}" install || die |
151 |
- dodoc AUTHORS README |
152 |
-} |