1 |
commit: d66495df3aee07869edcdf2c2c190b3fefc58b25 |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 2 17:22:13 2021 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 2 17:22:25 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d66495df |
7 |
|
8 |
media-libs/libid3tag: removed obsolete 0.15.1b-r4 |
9 |
|
10 |
Package-Manager: Portage-3.0.26, Repoman-3.0.3 |
11 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
12 |
|
13 |
media-libs/libid3tag/Manifest | 1 - |
14 |
.../0.15.1b/libid3tag-0.15.1b-64bit-long.patch | 24 --------- |
15 |
.../0.15.1b/libid3tag-0.15.1b-a_capella.patch | 33 ------------ |
16 |
.../files/0.15.1b/libid3tag-0.15.1b-compat.patch | 13 ----- |
17 |
.../0.15.1b/libid3tag-0.15.1b-file-write.patch | 52 ------------------ |
18 |
.../0.15.1b/libid3tag-0.15.1b-fix_overflow.patch | 11 ---- |
19 |
.../files/0.15.1b/libid3tag-0.15.1b-tag.patch | 17 ------ |
20 |
.../libid3tag-0.15.1b-unknown-encoding.patch | 25 --------- |
21 |
....15.1b-utf16.patchlibid3tag-0.15.1b-utf16.patch | 21 -------- |
22 |
media-libs/libid3tag/files/id3tag.pc | 11 ---- |
23 |
.../files/libid3tag-0.15.1b-fix-signature.patch | 12 ----- |
24 |
media-libs/libid3tag/libid3tag-0.15.1b-r4.ebuild | 62 ---------------------- |
25 |
12 files changed, 282 deletions(-) |
26 |
|
27 |
diff --git a/media-libs/libid3tag/Manifest b/media-libs/libid3tag/Manifest |
28 |
index 5b20ce8d0c6..3ca1f1af506 100644 |
29 |
--- a/media-libs/libid3tag/Manifest |
30 |
+++ b/media-libs/libid3tag/Manifest |
31 |
@@ -1,2 +1 @@ |
32 |
-DIST libid3tag-0.15.1b.tar.gz 338143 BLAKE2B a4e4e66177eae9aaa251c71d605034488fdd9a0a207a41a41f85793ecbb763dd4a4c8f01183eb45a5c8563c4ad120e73b29578fd4c3bb8e467e39c5427b530b5 SHA512 ade7ce2a43c3646b4c9fdc642095174b9d4938b078b205cd40906d525acd17e87ad76064054a961f391edcba6495441450af2f68be69f116549ca666b069e6d3 |
33 |
DIST libid3tag-0.16.1.tar.gz 98074 BLAKE2B f7acbe4117ef54e5d1705289af3b31ded7e87a7d2ba6e19a02863a391ce4fffee9110011cae42568d7ccbe256f899d7868182f02ed0b662d46f3f78e14c1eb43 SHA512 621cbdf7a0ea5cdca6a9133c88fb07ff0c519ed73bc26a535de3928f4784b912bb44315b45362600d53cd03083b66f38d674d1880ca30e5f6c342321977a6eb2 |
34 |
|
35 |
diff --git a/media-libs/libid3tag/files/0.15.1b/libid3tag-0.15.1b-64bit-long.patch b/media-libs/libid3tag/files/0.15.1b/libid3tag-0.15.1b-64bit-long.patch |
36 |
deleted file mode 100644 |
37 |
index bb320c7aa70..00000000000 |
38 |
--- a/media-libs/libid3tag/files/0.15.1b/libid3tag-0.15.1b-64bit-long.patch |
39 |
+++ /dev/null |
40 |
@@ -1,24 +0,0 @@ |
41 |
---- a/id3tag.h |
42 |
-+++ b/id3tag.h |
43 |
-@@ -25,6 +25,8 @@ |
44 |
- # ifndef LIBID3TAG_ID3TAG_H |
45 |
- # define LIBID3TAG_ID3TAG_H |
46 |
- |
47 |
-+#include <stdint.h> |
48 |
-+ |
49 |
- # ifdef __cplusplus |
50 |
- extern "C" { |
51 |
- # endif |
52 |
-@@ -36,10 +38,10 @@ |
53 |
- typedef unsigned char id3_byte_t; |
54 |
- typedef unsigned long id3_length_t; |
55 |
- |
56 |
--typedef unsigned long id3_ucs4_t; |
57 |
-+typedef uint32_t id3_ucs4_t; |
58 |
- |
59 |
- typedef unsigned char id3_latin1_t; |
60 |
--typedef unsigned short id3_utf16_t; |
61 |
-+typedef uint16_t id3_utf16_t; |
62 |
- typedef signed char id3_utf8_t; |
63 |
- |
64 |
- struct id3_tag { |
65 |
|
66 |
diff --git a/media-libs/libid3tag/files/0.15.1b/libid3tag-0.15.1b-a_capella.patch b/media-libs/libid3tag/files/0.15.1b/libid3tag-0.15.1b-a_capella.patch |
67 |
deleted file mode 100644 |
68 |
index e196cb4df26..00000000000 |
69 |
--- a/media-libs/libid3tag/files/0.15.1b/libid3tag-0.15.1b-a_capella.patch |
70 |
+++ /dev/null |
71 |
@@ -1,33 +0,0 @@ |
72 |
---- a/genre.dat |
73 |
-+++ b/genre.dat |
74 |
-@@ -277,8 +277,8 @@ |
75 |
- { 'P', 'u', 'n', 'k', ' ', 'R', 'o', 'c', 'k', 0 }; |
76 |
- static id3_ucs4_t const genre_DRUM_SOLO[] = |
77 |
- { 'D', 'r', 'u', 'm', ' ', 'S', 'o', 'l', 'o', 0 }; |
78 |
--static id3_ucs4_t const genre_A_CAPPELLA[] = |
79 |
-- { 'A', ' ', 'C', 'a', 'p', 'p', 'e', 'l', 'l', 'a', 0 }; |
80 |
-+static id3_ucs4_t const genre_A_CAPELLA[] = |
81 |
-+ { 'A', ' ', 'C', 'a', 'p', 'e', 'l', 'l', 'a', 0 }; |
82 |
- static id3_ucs4_t const genre_EURO_HOUSE[] = |
83 |
- { 'E', 'u', 'r', 'o', '-', 'H', 'o', 'u', 's', 'e', 0 }; |
84 |
- static id3_ucs4_t const genre_DANCE_HALL[] = |
85 |
-@@ -452,7 +452,7 @@ |
86 |
- genre_DUET, |
87 |
- genre_PUNK_ROCK, |
88 |
- genre_DRUM_SOLO, |
89 |
-- genre_A_CAPPELLA, |
90 |
-+ genre_A_CAPELLA, |
91 |
- genre_EURO_HOUSE, |
92 |
- genre_DANCE_HALL, |
93 |
- genre_GOA, |
94 |
---- a/genre.dat.in |
95 |
-+++ b/genre.dat.in |
96 |
-@@ -153,7 +153,7 @@ |
97 |
- Duet |
98 |
- Punk Rock |
99 |
- Drum Solo |
100 |
--A Cappella |
101 |
-+A Capella |
102 |
- Euro-House |
103 |
- Dance Hall |
104 |
- Goa |
105 |
|
106 |
diff --git a/media-libs/libid3tag/files/0.15.1b/libid3tag-0.15.1b-compat.patch b/media-libs/libid3tag/files/0.15.1b/libid3tag-0.15.1b-compat.patch |
107 |
deleted file mode 100644 |
108 |
index 6ef1a22d5a6..00000000000 |
109 |
--- a/media-libs/libid3tag/files/0.15.1b/libid3tag-0.15.1b-compat.patch |
110 |
+++ /dev/null |
111 |
@@ -1,13 +0,0 @@ |
112 |
-diff -ur libid3tag-0.15.1b/compat.gperf libid3tag-0.15.1b.fixed/compat.gperf |
113 |
---- libid3tag-0.15.1b/compat.gperf Fri Jan 23 01:41:32 2004 |
114 |
-+++ libid3tag-0.15.1b.fixed/compat.gperf Thu Oct 19 12:21:10 2006 |
115 |
-@@ -237,6 +237,9 @@ |
116 |
- encoding = id3_parse_uint(&data, 1); |
117 |
- string = id3_parse_string(&data, end - data, encoding, 0); |
118 |
- |
119 |
-+ if (string == 0) |
120 |
-+ continue; |
121 |
-+ |
122 |
- if (id3_ucs4_length(string) < 4) { |
123 |
- free(string); |
124 |
- continue; |
125 |
|
126 |
diff --git a/media-libs/libid3tag/files/0.15.1b/libid3tag-0.15.1b-file-write.patch b/media-libs/libid3tag/files/0.15.1b/libid3tag-0.15.1b-file-write.patch |
127 |
deleted file mode 100644 |
128 |
index aa61d09f874..00000000000 |
129 |
--- a/media-libs/libid3tag/files/0.15.1b/libid3tag-0.15.1b-file-write.patch |
130 |
+++ /dev/null |
131 |
@@ -1,52 +0,0 @@ |
132 |
-diff -ur -x '*.lo' -x '*.o' -x config.h -x config.log libid3tag-0.15.1b/file.c libid3tag-0.15.1b-fixed/file.c |
133 |
---- libid3tag-0.15.1b/file.c 2004-01-23 12:41:32.000000000 +0300 |
134 |
-+++ libid3tag-0.15.1b-fixed/file.c 2005-05-24 23:34:08.000000000 +0400 |
135 |
-@@ -37,6 +37,10 @@ |
136 |
- # include <assert.h> |
137 |
- # endif |
138 |
- |
139 |
-+# ifdef HAVE_SYS_STAT_H |
140 |
-+# include <sys/stat.h> |
141 |
-+# endif |
142 |
-+ |
143 |
- # include "id3tag.h" |
144 |
- # include "file.h" |
145 |
- # include "tag.h" |
146 |
-@@ -575,6 +579,10 @@ |
147 |
- int v2_write(struct id3_file *file, |
148 |
- id3_byte_t const *data, id3_length_t length) |
149 |
- { |
150 |
-+ struct stat st; |
151 |
-+ char *buffer; |
152 |
-+ id3_length_t datalen, offset; |
153 |
-+ |
154 |
- assert(!data || length > 0); |
155 |
- |
156 |
- if (data && |
157 |
-@@ -592,9 +600,25 @@ |
158 |
- } |
159 |
- |
160 |
- /* hard general case: rewrite entire file */ |
161 |
-+ if (stat(file->path, &st) == -1) |
162 |
-+ return -1; |
163 |
- |
164 |
-- /* ... */ |
165 |
-+ offset = file->tags ? file->tags[0].length : 0; |
166 |
-+ datalen = st.st_size - offset; |
167 |
-+ if ((buffer = (char *) malloc(datalen)) == NULL) |
168 |
-+ return -1; |
169 |
- |
170 |
-+ if (fseek(file->iofile, offset, SEEK_SET) == -1 || |
171 |
-+ fread(buffer, datalen, 1, file->iofile) != 1 || |
172 |
-+ fseek(file->iofile, 0, SEEK_SET) == -1 || |
173 |
-+ fwrite(data, length, 1, file->iofile) != 1 || |
174 |
-+ fwrite(buffer, datalen, 1, file->iofile) != 1 || |
175 |
-+ fflush(file->iofile) == EOF) { |
176 |
-+ free(buffer); |
177 |
-+ return -1; |
178 |
-+ } |
179 |
-+ free(buffer); |
180 |
-+ |
181 |
- done: |
182 |
- return 0; |
183 |
- } |
184 |
|
185 |
diff --git a/media-libs/libid3tag/files/0.15.1b/libid3tag-0.15.1b-fix_overflow.patch b/media-libs/libid3tag/files/0.15.1b/libid3tag-0.15.1b-fix_overflow.patch |
186 |
deleted file mode 100644 |
187 |
index 5e0a1f60e7a..00000000000 |
188 |
--- a/media-libs/libid3tag/files/0.15.1b/libid3tag-0.15.1b-fix_overflow.patch |
189 |
+++ /dev/null |
190 |
@@ -1,11 +0,0 @@ |
191 |
---- a/field.c |
192 |
-+++ b/field.c |
193 |
-@@ -291,7 +291,7 @@ |
194 |
- |
195 |
- end = *ptr + length; |
196 |
- |
197 |
-- while (end - *ptr > 0) { |
198 |
-+ while (end - *ptr > 0 && **ptr != '\0') { |
199 |
- ucs4 = id3_parse_string(ptr, end - *ptr, *encoding, 0); |
200 |
- if (ucs4 == 0) |
201 |
- goto fail; |
202 |
|
203 |
diff --git a/media-libs/libid3tag/files/0.15.1b/libid3tag-0.15.1b-tag.patch b/media-libs/libid3tag/files/0.15.1b/libid3tag-0.15.1b-tag.patch |
204 |
deleted file mode 100644 |
205 |
index 4d13e47018c..00000000000 |
206 |
--- a/media-libs/libid3tag/files/0.15.1b/libid3tag-0.15.1b-tag.patch |
207 |
+++ /dev/null |
208 |
@@ -1,17 +0,0 @@ |
209 |
---- a/tag.c |
210 |
-+++ b/tag.c |
211 |
-@@ -714,9 +714,12 @@ |
212 |
- |
213 |
- frame = id3_tag_findframe(tag, ID3_FRAME_TRACK, 0); |
214 |
- if (frame) { |
215 |
-- unsigned int track; |
216 |
-+ id3_ucs4_t const *string; |
217 |
-+ unsigned int track = 0; |
218 |
- |
219 |
-- track = id3_ucs4_getnumber(id3_field_getstrings(&frame->fields[1], 0)); |
220 |
-+ string = id3_field_getstrings(&frame->fields[1], 0); |
221 |
-+ if (string) |
222 |
-+ track = id3_ucs4_getnumber(string); |
223 |
- if (track > 0 && track <= 0xff) { |
224 |
- ptr[-2] = 0; |
225 |
- ptr[-1] = track; |
226 |
|
227 |
diff --git a/media-libs/libid3tag/files/0.15.1b/libid3tag-0.15.1b-unknown-encoding.patch b/media-libs/libid3tag/files/0.15.1b/libid3tag-0.15.1b-unknown-encoding.patch |
228 |
deleted file mode 100644 |
229 |
index 91b3d2a5eb0..00000000000 |
230 |
--- a/media-libs/libid3tag/files/0.15.1b/libid3tag-0.15.1b-unknown-encoding.patch |
231 |
+++ /dev/null |
232 |
@@ -1,25 +0,0 @@ |
233 |
---- a/compat.gperf |
234 |
-+++ b/compat.gperf |
235 |
-@@ -236,6 +236,10 @@ |
236 |
- |
237 |
- encoding = id3_parse_uint(&data, 1); |
238 |
- string = id3_parse_string(&data, end - data, encoding, 0); |
239 |
-+ if (!string) |
240 |
-+ { |
241 |
-+ continue; |
242 |
-+ } |
243 |
- |
244 |
- if (string == 0) |
245 |
- continue; |
246 |
---- a/parse.c |
247 |
-+++ b/parse.c |
248 |
-@@ -165,6 +165,9 @@ |
249 |
- case ID3_FIELD_TEXTENCODING_UTF_8: |
250 |
- ucs4 = id3_utf8_deserialize(ptr, length); |
251 |
- break; |
252 |
-+ default: |
253 |
-+ /* FIXME: Unknown encoding! Print warning? */ |
254 |
-+ return NULL; |
255 |
- } |
256 |
- |
257 |
- if (ucs4 && !full) { |
258 |
|
259 |
diff --git a/media-libs/libid3tag/files/0.15.1b/libid3tag-0.15.1b-utf16.patchlibid3tag-0.15.1b-utf16.patch b/media-libs/libid3tag/files/0.15.1b/libid3tag-0.15.1b-utf16.patchlibid3tag-0.15.1b-utf16.patch |
260 |
deleted file mode 100644 |
261 |
index e2e6eaeb6df..00000000000 |
262 |
--- a/media-libs/libid3tag/files/0.15.1b/libid3tag-0.15.1b-utf16.patchlibid3tag-0.15.1b-utf16.patch |
263 |
+++ /dev/null |
264 |
@@ -1,21 +0,0 @@ |
265 |
---- libid3tag-0.15.1b/utf16.c |
266 |
-+++ libid3tag-0.15.1b/utf16.c |
267 |
-@@ -282,5 +282,18 @@ |
268 |
- |
269 |
- free(utf16); |
270 |
- |
271 |
-+ if (end == *ptr && length % 2 != 0) |
272 |
-+ { |
273 |
-+ /* We were called with a bogus length. It should always |
274 |
-+ * be an even number. We can deal with this in a few ways: |
275 |
-+ * - Always give an error. |
276 |
-+ * - Try and parse as much as we can and |
277 |
-+ * - return an error if we're called again when we |
278 |
-+ * already tried to parse everything we can. |
279 |
-+ * - tell that we parsed it, which is what we do here. |
280 |
-+ */ |
281 |
-+ (*ptr)++; |
282 |
-+ } |
283 |
-+ |
284 |
- return ucs4; |
285 |
- } |
286 |
|
287 |
diff --git a/media-libs/libid3tag/files/id3tag.pc b/media-libs/libid3tag/files/id3tag.pc |
288 |
deleted file mode 100644 |
289 |
index e6860006891..00000000000 |
290 |
--- a/media-libs/libid3tag/files/id3tag.pc |
291 |
+++ /dev/null |
292 |
@@ -1,11 +0,0 @@ |
293 |
-prefix=/usr |
294 |
-exec_prefix=${prefix} |
295 |
-libdir=${exec_prefix}/lib |
296 |
-includedir=${prefix}/include |
297 |
- |
298 |
-Name: id3tag |
299 |
-Description: ID3 tag reading library |
300 |
-Requires: |
301 |
-Version: 0.15.0b |
302 |
-Libs: -L${libdir} -lid3tag -lz |
303 |
-Cflags: -I${includedir} |
304 |
|
305 |
diff --git a/media-libs/libid3tag/files/libid3tag-0.15.1b-fix-signature.patch b/media-libs/libid3tag/files/libid3tag-0.15.1b-fix-signature.patch |
306 |
deleted file mode 100644 |
307 |
index a365811c55f..00000000000 |
308 |
--- a/media-libs/libid3tag/files/libid3tag-0.15.1b-fix-signature.patch |
309 |
+++ /dev/null |
310 |
@@ -1,12 +0,0 @@ |
311 |
-diff -pur libid3tag-0.15.1b-orig/compat.h libid3tag-0.15.1b/compat.h |
312 |
---- libid3tag-0.15.1b-orig/compat.h 2004-01-23 10:41:32.000000000 +0100 |
313 |
-+++ libid3tag-0.15.1b/compat.h 2017-03-15 01:49:23.808834401 +0100 |
314 |
-@@ -34,7 +34,7 @@ struct id3_compat { |
315 |
- }; |
316 |
- |
317 |
- struct id3_compat const *id3_compat_lookup(register char const *, |
318 |
-- register unsigned int); |
319 |
-+ register size_t); |
320 |
- |
321 |
- int id3_compat_fixup(struct id3_tag *); |
322 |
- |
323 |
|
324 |
diff --git a/media-libs/libid3tag/libid3tag-0.15.1b-r4.ebuild b/media-libs/libid3tag/libid3tag-0.15.1b-r4.ebuild |
325 |
deleted file mode 100644 |
326 |
index 6e6a0e634ee..00000000000 |
327 |
--- a/media-libs/libid3tag/libid3tag-0.15.1b-r4.ebuild |
328 |
+++ /dev/null |
329 |
@@ -1,62 +0,0 @@ |
330 |
-# Copyright 1999-2021 Gentoo Authors |
331 |
-# Distributed under the terms of the GNU General Public License v2 |
332 |
- |
333 |
-EAPI=7 |
334 |
- |
335 |
-inherit autotools multilib-minimal |
336 |
- |
337 |
-DESCRIPTION="The MAD id3tag library" |
338 |
-HOMEPAGE="http://www.underbit.com/products/mad/" |
339 |
-SRC_URI="mirror://sourceforge/mad/${P}.tar.gz" |
340 |
- |
341 |
-LICENSE="GPL-2" |
342 |
-SLOT="0" |
343 |
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
344 |
-IUSE="debug" |
345 |
- |
346 |
-RDEPEND="sys-libs/zlib[${MULTILIB_USEDEP}]" |
347 |
-DEPEND="${RDEPEND} |
348 |
- >=dev-util/gperf-3.1" |
349 |
- |
350 |
-PATCHES=( |
351 |
- "${FILESDIR}"/${PV}/${P}-64bit-long.patch |
352 |
- "${FILESDIR}"/${PV}/${P}-a_capella.patch |
353 |
- "${FILESDIR}"/${PV}/${P}-compat.patch |
354 |
- "${FILESDIR}"/${PV}/${P}-file-write.patch |
355 |
- "${FILESDIR}"/${PV}/${P}-fix_overflow.patch |
356 |
- "${FILESDIR}"/${PV}/${P}-tag.patch |
357 |
- "${FILESDIR}"/${PV}/${P}-unknown-encoding.patch |
358 |
- "${FILESDIR}"/${PV}/${P}-utf16.patchlibid3tag-0.15.1b-utf16.patch |
359 |
- "${FILESDIR}"/${P}-fix-signature.patch |
360 |
-) |
361 |
- |
362 |
-src_prepare() { |
363 |
- default |
364 |
- eautoreconf |
365 |
-} |
366 |
- |
367 |
-multilib_src_configure() { |
368 |
- ECONF_SOURCE="${S}" econf \ |
369 |
- --disable-static \ |
370 |
- $(use_enable debug debugging) |
371 |
-} |
372 |
- |
373 |
-multilib_src_install() { |
374 |
- default |
375 |
- |
376 |
- # This file must be updated with every version update |
377 |
- insinto /usr/$(get_libdir)/pkgconfig |
378 |
- doins "${FILESDIR}"/id3tag.pc |
379 |
- sed -i \ |
380 |
- -e "s:prefix=.*:prefix=${EPREFIX}/usr:" \ |
381 |
- -e "s:libdir=\${exec_prefix}/lib:libdir=${EPREFIX}/usr/$(get_libdir):" \ |
382 |
- -e "s:0.15.0b:${PV}:" \ |
383 |
- "${ED}"/usr/$(get_libdir)/pkgconfig/id3tag.pc || die |
384 |
-} |
385 |
- |
386 |
-multilib_src_install_all() { |
387 |
- einstalldocs |
388 |
- |
389 |
- # no static archives |
390 |
- find "${D}" -name '*.la' -delete || die |
391 |
-} |