1 |
commit: 588356653cb057c8057e5bed87656bc9f24ab891 |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Sep 26 14:37:03 2020 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 27 00:14:49 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58835665 |
7 |
|
8 |
media-libs/netpbm: remove unused patches |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/17682 |
11 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
12 |
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com> |
13 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
14 |
|
15 |
.../netpbm/files/netpbm-10.66-failing-tests.patch | 28 ------ |
16 |
.../netpbm/files/netpbm-10.66-jasper-hack.patch | 41 -------- |
17 |
media-libs/netpbm/files/netpbm-10.66-jbig-2.patch | 19 ---- |
18 |
.../netpbm/files/netpbm-10.66-jpeg-dirs.patch | 28 ------ |
19 |
.../netpbm/files/netpbm-10.66-options-case.patch | 105 --------------------- |
20 |
.../files/netpbm-10.66-wordaccess_be_aligned.patch | 23 ----- |
21 |
6 files changed, 244 deletions(-) |
22 |
|
23 |
diff --git a/media-libs/netpbm/files/netpbm-10.66-failing-tests.patch b/media-libs/netpbm/files/netpbm-10.66-failing-tests.patch |
24 |
deleted file mode 100644 |
25 |
index 63260de2e49..00000000000 |
26 |
--- a/media-libs/netpbm/files/netpbm-10.66-failing-tests.patch |
27 |
+++ /dev/null |
28 |
@@ -1,28 +0,0 @@ |
29 |
-punt failing tests; already notified upstream |
30 |
- |
31 |
---- a/test/Test-Order |
32 |
-+++ b/test/Test-Order |
33 |
-@@ -50,7 +50,6 @@ pamditherbw.test |
34 |
- pbmclean.test |
35 |
- pamcut.test |
36 |
- pnmcat.test |
37 |
--pamflip.test |
38 |
- pamenlarge.test |
39 |
- pnminvert.test |
40 |
- pamchannel.test |
41 |
-@@ -70,7 +69,6 @@ ppmmix.test |
42 |
- |
43 |
- # Symmetry test |
44 |
- |
45 |
--symmetry.test |
46 |
- |
47 |
- # Format converter tests |
48 |
- |
49 |
-@@ -87,7 +85,6 @@ ppmdfont.test |
50 |
- pnm-plain-roundtrip.test |
51 |
- pnm-pam-roundtrip.test |
52 |
- pnminvert-roundtrip.test |
53 |
--pamflip-roundtrip.test |
54 |
- pamdepth-roundtrip.test |
55 |
- pad-crop-roundtrip.test |
56 |
- cut-paste-roundtrip.test |
57 |
|
58 |
diff --git a/media-libs/netpbm/files/netpbm-10.66-jasper-hack.patch b/media-libs/netpbm/files/netpbm-10.66-jasper-hack.patch |
59 |
deleted file mode 100644 |
60 |
index 285475dab06..00000000000 |
61 |
--- a/media-libs/netpbm/files/netpbm-10.66-jasper-hack.patch |
62 |
+++ /dev/null |
63 |
@@ -1,41 +0,0 @@ |
64 |
-https://bugs.gentoo.org/513240 |
65 |
- |
66 |
-the jasper headers are horribly broken and break things like stdbool.h. |
67 |
-re-order the includes to work around this. |
68 |
- |
69 |
---- a/converter/other/jpeg2000/jpeg2ktopam.c |
70 |
-+++ b/converter/other/jpeg2000/jpeg2ktopam.c |
71 |
-@@ -13,13 +13,14 @@ |
72 |
- #define _XOPEN_SOURCE 600 |
73 |
- #include <string.h> |
74 |
- |
75 |
-+#include <jasper/jasper.h> |
76 |
-+ |
77 |
- #include "pm_c_util.h" |
78 |
- #include "pam.h" |
79 |
- #include "shhopt.h" |
80 |
- #include "nstring.h" |
81 |
- #include "mallocvar.h" |
82 |
- |
83 |
--#include <jasper/jasper.h> |
84 |
- #include "libjasper_compat.h" |
85 |
- |
86 |
- enum compmode {COMPMODE_INTEGER, COMPMODE_REAL}; |
87 |
---- a/converter/other/jpeg2000/pamtojpeg2k.c |
88 |
-+++ b/converter/other/jpeg2000/pamtojpeg2k.c |
89 |
-@@ -13,13 +13,14 @@ |
90 |
- #define _XOPEN_SOURCE 600 |
91 |
- #include <string.h> |
92 |
- |
93 |
-+#include <jasper/jasper.h> |
94 |
-+ |
95 |
- #include "pm_c_util.h" |
96 |
- #include "pam.h" |
97 |
- #include "shhopt.h" |
98 |
- #include "nstring.h" |
99 |
- #include "mallocvar.h" |
100 |
- |
101 |
--#include <jasper/jasper.h> |
102 |
- #include "libjasper_compat.h" |
103 |
- |
104 |
- |
105 |
|
106 |
diff --git a/media-libs/netpbm/files/netpbm-10.66-jbig-2.patch b/media-libs/netpbm/files/netpbm-10.66-jbig-2.patch |
107 |
deleted file mode 100644 |
108 |
index f7e8cf80d6c..00000000000 |
109 |
--- a/media-libs/netpbm/files/netpbm-10.66-jbig-2.patch |
110 |
+++ /dev/null |
111 |
@@ -1,19 +0,0 @@ |
112 |
-fix building w/jbig-2.x |
113 |
- |
114 |
---- a/converter/other/jbig/jbigtopnm.c |
115 |
-+++ b/converter/other/jbig/jbigtopnm.c |
116 |
-@@ -230,8 +230,12 @@ int main (int argc, char **argv) |
117 |
- if (ferror(fin)) |
118 |
- pm_error("Problem while reading input file '%s", fnin); |
119 |
- if (result != JBG_EOK && result != JBG_EOK_INTR) |
120 |
-- pm_error("Problem with input file '%s': %s\n", |
121 |
-- fnin, jbg_strerror(result, JBG_EN)); |
122 |
-+ pm_error("Problem with input file '%s': %s\n", fnin, |
123 |
-+#ifdef JBG_EN |
124 |
-+ jbg_strerror(result, JBG_EN)); |
125 |
-+#else |
126 |
-+ jbg_strerror(result)); |
127 |
-+#endif |
128 |
- if (plane >= 0 && jbg_dec_getplanes(&s) <= plane) |
129 |
- pm_error("Image has only %d planes!\n", jbg_dec_getplanes(&s)); |
130 |
- |
131 |
|
132 |
diff --git a/media-libs/netpbm/files/netpbm-10.66-jpeg-dirs.patch b/media-libs/netpbm/files/netpbm-10.66-jpeg-dirs.patch |
133 |
deleted file mode 100644 |
134 |
index fcf98211ba0..00000000000 |
135 |
--- a/media-libs/netpbm/files/netpbm-10.66-jpeg-dirs.patch |
136 |
+++ /dev/null |
137 |
@@ -1,28 +0,0 @@ |
138 |
-use same -I style as converter/other/Makefile so people can disable these |
139 |
- |
140 |
---- a/converter/other/jbig/Makefile |
141 |
-+++ b/converter/other/jbig/Makefile |
142 |
-@@ -11,7 +11,9 @@ LIBJBIG_OBJECTS = jbig.o jbig_tab.o |
143 |
- |
144 |
- EXTERN_INCLUDES = |
145 |
- ifneq ($(JBIGHDR_DIR),NONE) |
146 |
-- EXTERN_INCLUDES += -I$(JBIGHDR_DIR) |
147 |
-+ ifneq ($(JBIGHDR_DIR)x,x) |
148 |
-+ EXTERN_INCLUDES += -I$(JBIGHDR_DIR) |
149 |
-+ endif |
150 |
- endif |
151 |
- |
152 |
- ifneq ($(JBIGHDR_DIR),NONE) |
153 |
---- a/converter/other/jpeg2000/Makefile |
154 |
-+++ b/converter/other/jpeg2000/Makefile |
155 |
-@@ -11,7 +11,9 @@ include $(BUILDDIR)/config.mk |
156 |
- |
157 |
- EXTERN_INCLUDES = |
158 |
- ifneq ($(JASPERHDR_DIR),NONE) |
159 |
-- EXTERN_INCLUDES += -I$(JASPERHDR_DIR) |
160 |
-+ ifneq ($(JASPERHDR_DIR)x,x) |
161 |
-+ EXTERN_INCLUDES += -I$(JASPERHDR_DIR) |
162 |
-+ endif |
163 |
- endif |
164 |
- |
165 |
- |
166 |
|
167 |
diff --git a/media-libs/netpbm/files/netpbm-10.66-options-case.patch b/media-libs/netpbm/files/netpbm-10.66-options-case.patch |
168 |
deleted file mode 100644 |
169 |
index a865bc1f451..00000000000 |
170 |
--- a/media-libs/netpbm/files/netpbm-10.66-options-case.patch |
171 |
+++ /dev/null |
172 |
@@ -1,105 +0,0 @@ |
173 |
-r2175 | giraffedata | 2014-04-01 22:28:23 -0400 (Tue, 01 Apr 2014) | 1 line |
174 |
- |
175 |
-Fix bug: inconsistent use of upper and lower case Y and N in make file variables. Make it consistently upper case |
176 |
- |
177 |
---- buildtools/configure.pl (revision 2174) |
178 |
-+++ buildtools/configure.pl (revision 2175) |
179 |
-@@ -835,16 +835,16 @@ sub getLibTypes($$$$$$$$) { |
180 |
- my $response = prompt("(y)es or (n)o", $default); |
181 |
- |
182 |
- if (uc($response) =~ /^(Y|YES)$/) { |
183 |
-- $staticlib_too = "y"; |
184 |
-+ $staticlib_too = "Y"; |
185 |
- } elsif (uc($response) =~ /^(N|NO)$/) { |
186 |
-- $staticlib_too = "n"; |
187 |
-+ $staticlib_too = "N"; |
188 |
- } else { |
189 |
- print("'$response' isn't one of the choices. \n" . |
190 |
- "You must choose 'yes' or 'no' (or 'y' or 'n').\n"); |
191 |
- exit 12; |
192 |
- } |
193 |
- } else { |
194 |
-- $staticlib_too = "n"; |
195 |
-+ $staticlib_too = "N"; |
196 |
- } |
197 |
- print("\n"); |
198 |
- |
199 |
---- config.mk.in (revision 2174) |
200 |
-+++ config.mk.in (revision 2175) |
201 |
-@@ -503,7 +503,7 @@ LINUXSVGAHDR_DIR = |
202 |
- #LINUXSVGALIB = /usr/lib/libvga.so |
203 |
- #LINUXSVGAHDR_DIR = /usr/include/vgalib |
204 |
- |
205 |
--# If you don't want any network functions, set OMIT_NETWORK to "y". |
206 |
-+# If you don't want any network functions, set OMIT_NETWORK to "Y". |
207 |
- # The only thing that requires network functions is the option in |
208 |
- # ppmtompeg to run it on multiple computers simultaneously. On some |
209 |
- # systems network functions don't work or we haven't figured out how to |
210 |
-@@ -512,11 +512,11 @@ OMIT_NETWORK = |
211 |
- #DJGPP/Windows, Tru64: |
212 |
- # (there's some minor header problem that prevents network functions from |
213 |
- # building on Tru64 2000.10.06) |
214 |
--#OMIT_NETWORK = y |
215 |
-+#OMIT_NETWORK = Y |
216 |
- |
217 |
- # These are -l options to link in the network libraries. Often, these are |
218 |
- # built into the standard C library, so this can be null. This is irrelevant |
219 |
--# if OMIT_NETWORK is "y". |
220 |
-+# if OMIT_NETWORK is "Y". |
221 |
- |
222 |
- NETWORKLD = |
223 |
- # Solaris, SunOS: |
224 |
-@@ -602,12 +602,12 @@ NETPBMLIBSUFFIX = so |
225 |
- # Windows shared library: |
226 |
- #NETPBMLIBSUFFIX = dll |
227 |
- |
228 |
--#STATICLIB_TOO is "y" to signify that you want a static library built |
229 |
-+#STATICLIB_TOO is "Y" to signify that you want a static library built |
230 |
- #and installed in addition to whatever library type you specified by |
231 |
- #NETPBMLIBTYPE. If NETPBMLIBTYPE specified a static library, |
232 |
- #STATICLIB_TOO simply has no effect. |
233 |
--STATICLIB_TOO = y |
234 |
--#STATICLIB_TOO = n |
235 |
-+STATICLIB_TOO = Y |
236 |
-+#STATICLIB_TOO = N |
237 |
- |
238 |
- #STATICLIBSUFFIX is the suffix that static libraries have. It's |
239 |
- #meaningless if you aren't building static libraries. |
240 |
---- GNUmakefile (revision 2174) |
241 |
-+++ GNUmakefile (revision 2175) |
242 |
-@@ -396,19 +396,19 @@ lib/install.hdr: |
243 |
- $(MAKE) -C $(dir $@) -f $(SRCDIR)/lib/Makefile \ |
244 |
- SRCDIR=$(SRCDIR) BUILDDIR=$(BUILDDIR) $(notdir $@) |
245 |
- |
246 |
--ifeq ($(STATICLIB_TOO),y) |
247 |
--BUILD_STATIC = y |
248 |
-+ifeq ($(STATICLIB_TOO),Y) |
249 |
-+BUILD_STATIC = Y |
250 |
- else |
251 |
- ifeq ($(NETPBMLIBTYPE),unixstatic) |
252 |
-- BUILD_STATIC = y |
253 |
-+ BUILD_STATIC = Y |
254 |
- else |
255 |
-- BUILD_STATIC = n |
256 |
-+ BUILD_STATIC = N |
257 |
- endif |
258 |
- endif |
259 |
- |
260 |
- .PHONY: install.staticlib |
261 |
- install.staticlib: |
262 |
--ifeq ($(BUILD_STATIC),y) |
263 |
-+ifeq ($(BUILD_STATIC),Y) |
264 |
- $(MAKE) -C lib -f $(SRCDIR)/lib/Makefile \ |
265 |
- SRCDIR=$(SRCDIR) BUILDDIR=$(BUILDDIR) install.staticlib |
266 |
- endif |
267 |
---- lib/Makefile (revision 2174) |
268 |
-+++ lib/Makefile (revision 2175) |
269 |
-@@ -175,7 +175,7 @@ else |
270 |
- ifeq ($(STATICLIB_TOO),Y) |
271 |
- BUILD_STATICLIB = Y |
272 |
- else |
273 |
-- BUILD_STATICLIB = n |
274 |
-+ BUILD_STATICLIB = N |
275 |
- endif |
276 |
- endif |
277 |
- |
278 |
|
279 |
diff --git a/media-libs/netpbm/files/netpbm-10.66-wordaccess_be_aligned.patch b/media-libs/netpbm/files/netpbm-10.66-wordaccess_be_aligned.patch |
280 |
deleted file mode 100644 |
281 |
index 0da719ae07d..00000000000 |
282 |
--- a/media-libs/netpbm/files/netpbm-10.66-wordaccess_be_aligned.patch |
283 |
+++ /dev/null |
284 |
@@ -1,23 +0,0 @@ |
285 |
-https://bugs.gentoo.org/547252 |
286 |
- |
287 |
------------------------------------------------------------------------- |
288 |
-r2395 | giraffedata | 2015-01-23 13:51:17 -0500 (Fri, 23 Jan 2015) | 1 line |
289 |
- |
290 |
-Fix syntax error |
291 |
- |
292 |
-build: fix compile failure in wordint_access_be.h with |
293 |
-Bigendian target platforms. |
294 |
- |
295 |
-Index: trunk/lib/util/wordaccess_be_aligned.h |
296 |
-=================================================================== |
297 |
---- trunk/lib/util/wordaccess_be_aligned.h (revision 2394) |
298 |
-+++ trunk/lib/util/wordaccess_be_aligned.h (revision 2395) |
299 |
-@@ -24,7 +24,7 @@ bytesToWordint(wordintBytes bytes) { |
300 |
- static __inline__ void |
301 |
- wordintToBytes(wordintBytes * const bytesP, |
302 |
- wordint const wordInt) { |
303 |
-- uint16_t const hi = ((wordInt >> 48) & 0xFF) |
304 |
-+ uint16_t const hi = ((wordInt >> 48) & 0xFF); |
305 |
- uint16_t const mh = ((wordInt >> 32) & 0xFF); |
306 |
- uint16_t const ml = ((wordInt >> 24) & 0xFF); |
307 |
- uint16_t const lo = ((wordInt >> 0) & 0xFF); |