1 |
commit: a317a27554bcb3709acf96ba050d8e8bc4ad2753 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 9 08:09:57 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 9 08:10:23 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a317a275 |
7 |
|
8 |
media-sound/freebirth: Remove last-rited pkg |
9 |
|
10 |
Closes: https://bugs.gentoo.org/731008 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
media-sound/freebirth/Manifest | 1 - |
14 |
.../freebirth/files/freebirth-0.3.2-gentoo-2.patch | 214 --------------------- |
15 |
.../freebirth/files/freebirth-0.3.2-segfault.patch | 17 -- |
16 |
media-sound/freebirth/freebirth-0.3.2-r1.ebuild | 40 ---- |
17 |
media-sound/freebirth/metadata.xml | 11 -- |
18 |
profiles/package.mask | 5 - |
19 |
6 files changed, 288 deletions(-) |
20 |
|
21 |
diff --git a/media-sound/freebirth/Manifest b/media-sound/freebirth/Manifest |
22 |
deleted file mode 100644 |
23 |
index f47225e04db..00000000000 |
24 |
--- a/media-sound/freebirth/Manifest |
25 |
+++ /dev/null |
26 |
@@ -1 +0,0 @@ |
27 |
-DIST freebirth-0.3.2.tar.gz 2456900 BLAKE2B 1000dbf87cb1138c7650e26a5d2c8ff08c986ab86a24742f43d5334c2b02b6e88231a3131ca437fd3bbb6ce024b91a1104cce3e3b369ce0087b4f9cc451f626f SHA512 a532905e687d8ebc415dea3794a4dfc4c55037123c79cc0dd2111fc74e6db1ba367e8210da75e3586c5ee4d2521a21b5cd03a5a0afcfd3a04e678834f140590a |
28 |
|
29 |
diff --git a/media-sound/freebirth/files/freebirth-0.3.2-gentoo-2.patch b/media-sound/freebirth/files/freebirth-0.3.2-gentoo-2.patch |
30 |
deleted file mode 100644 |
31 |
index 52b184b04b2..00000000000 |
32 |
--- a/media-sound/freebirth/files/freebirth-0.3.2-gentoo-2.patch |
33 |
+++ /dev/null |
34 |
@@ -1,214 +0,0 @@ |
35 |
---- freebirth.c |
36 |
-+++ freebirth.c |
37 |
-@@ -248,15 +248,15 @@ |
38 |
- //bass_e = env_new(1025,10000,(sample_producer *)osc_blender); |
39 |
- sl = g_slist_append(sl, bass_e); |
40 |
- |
41 |
-- kick = raw_wave_new("raw/kick.raw"); |
42 |
-+ kick = raw_wave_new("/usr/share/freebirth/raw/kick.raw"); |
43 |
- sl = g_slist_append(sl, kick); |
44 |
-- snare = raw_wave_new("raw/snare.raw"); |
45 |
-+ snare = raw_wave_new("/usr/share/freebirth/raw/snare.raw"); |
46 |
- sl = g_slist_append(sl, snare); |
47 |
-- cl_hat = raw_wave_new("raw/cl_hat.raw"); |
48 |
-+ cl_hat = raw_wave_new("/usr/share/freebirth/raw/cl_hat.raw"); |
49 |
- sl = g_slist_append(sl, cl_hat); |
50 |
-- op_hat = raw_wave_new("raw/op_hat.raw"); |
51 |
-+ op_hat = raw_wave_new("/usr/share/freebirth/raw/op_hat.raw"); |
52 |
- sl = g_slist_append(sl, op_hat); |
53 |
-- samp_1 = raw_wave_new("raw/samp_1.raw"); |
54 |
-+ samp_1 = raw_wave_new("/usr/share/freebirth/raw/samp_1.raw"); |
55 |
- sl = g_slist_append(sl, samp_1); |
56 |
- |
57 |
- sources = (sample_producer**) |
58 |
-@@ -1087,7 +1087,7 @@ |
59 |
- |
60 |
- |
61 |
- /*effect window */ |
62 |
-- effect_window = gtk_window_new (GTK_WINDOW_DIALOG); |
63 |
-+ effect_window = gtk_window_new (GTK_WINDOW_TOPLEVEL); |
64 |
- gtk_window_set_title(GTK_WINDOW (effect_window), "Effects"); |
65 |
- gtk_widget_set_style(effect_window,window_style); |
66 |
- effect_box = gtk_vbox_new(FALSE,10); |
67 |
-@@ -1109,7 +1109,7 @@ |
68 |
- |
69 |
- |
70 |
- /* sample freq window */ |
71 |
-- sample_freq_window = gtk_window_new (GTK_WINDOW_DIALOG); |
72 |
-+ sample_freq_window = gtk_window_new (GTK_WINDOW_TOPLEVEL); |
73 |
- gtk_window_set_title(GTK_WINDOW (sample_freq_window), "Sample Pitch"); |
74 |
- sample_freq_box = gtk_vbox_new(TRUE,10); |
75 |
- gtk_widget_set_style(sample_freq_window,window_style); |
76 |
---- fuse_loops.c |
77 |
-+++ fuse_loops.c |
78 |
-@@ -122,7 +122,18 @@ |
79 |
- fprintf(file, "/* generated file -- don't edit */\n"); |
80 |
- fprintf(file, "#include <unistd.h>\n"); |
81 |
- fprintf(file, "#include <math.h>\n"); |
82 |
-+ fprintf(file, "#include <endian.h>\n"); |
83 |
- fprintf(file, "#include \"freebirth.h\"\n"); |
84 |
-+ fprintf(file, "/* borrowed from glib2 */\n"); |
85 |
-+ fprintf(file, "#define SHORT_SWAP_LE_BE(val) ((short) ( \\\n"); |
86 |
-+ fprintf(file, " (short) ((short) (val) >> 8) | \\\n"); |
87 |
-+ fprintf(file, " (short) ((short) (val) << 8)))\n"); |
88 |
-+ fprintf(file, "static void swap_endian(short *data, int length)\n"); |
89 |
-+ fprintf(file, "{\n"); |
90 |
-+ fprintf(file, " int i;\n"); |
91 |
-+ fprintf(file, " for (i = 0; i < length; i += 1, data++)\n"); |
92 |
-+ fprintf(file, " *data = SHORT_SWAP_LE_BE(*data);\n"); |
93 |
-+ fprintf(file, "}\n"); |
94 |
- fprintf(file, "\n"); |
95 |
- |
96 |
- fprintf(file, "sample_producer *sp[%d];\n", g_list_length(order)); |
97 |
-@@ -172,6 +183,9 @@ |
98 |
- fprintf(file, " }\n"); |
99 |
- fprintf(file, "\n"); |
100 |
- |
101 |
-+ fprintf(file, "#if __BYTE_ORDER == __BIG_ENDIAN\n"); |
102 |
-+ fprintf(file, " swap_endian(buffer, 2 * TBASS_BUFF_SIZE);\n"); |
103 |
-+ fprintf(file, "#endif\n"); |
104 |
- fprintf(file, " write(fd, buffer, 2 * TBASS_BUFF_SIZE * sizeof(short));\n"); |
105 |
- fprintf(file, "\n"); |
106 |
- |
107 |
---- gtkdial.c |
108 |
-+++ gtkdial.c |
109 |
-@@ -75,8 +75,6 @@ |
110 |
- sizeof (GtkDialClass), |
111 |
- (GtkClassInitFunc) gtk_dial_class_init, |
112 |
- (GtkObjectInitFunc) gtk_dial_init, |
113 |
-- (GtkArgSetFunc) NULL, |
114 |
-- (GtkArgGetFunc) NULL, |
115 |
- }; |
116 |
- |
117 |
- dial_type = gtk_type_unique (gtk_widget_get_type (), &dial_info); |
118 |
---- Makefile |
119 |
-+++ Makefile |
120 |
-@@ -1,10 +1,9 @@ |
121 |
- # Makefile for Freebirth |
122 |
- # |
123 |
- |
124 |
--CC=gcc |
125 |
--LOADLIBES=-lm $(shell gtk-config --libs) |
126 |
--CFLAGS=-g -O6 -Wall $(shell gtk-config --cflags) |
127 |
--LDFLAGS= |
128 |
-+CC?=gcc |
129 |
-+CFLAGS+=-Wall $(shell pkg-config --cflags gtk+-2.0) |
130 |
-+LIBS=-lm $(shell pkg-config --libs gtk+-2.0) |
131 |
- |
132 |
- OFILES=\ |
133 |
- oscillator.o sequencer.o envelope.o filter.o gtkdial.o mixer.o \ |
134 |
-@@ -22,16 +21,18 @@ |
135 |
- -rm -f *.o freebirth fusebirth fused_loop.c Makefile.deps *~ |
136 |
- |
137 |
- freebirth: $(OFILES) fused_loop.o freebirth.o |
138 |
-+ $(CC) $(LDFLAGS) $(CFLAGS) -o freebirth $(OFILES) fused_loop.o freebirth.o $(LIBS) |
139 |
- |
140 |
- fused_loop.c: fusebirth |
141 |
- ./fusebirth > fused_loop.c 2>/dev/null |
142 |
- |
143 |
- fusebirth: $(OFILES) fuse_loops.o fusebirth.o |
144 |
-+ $(CC) $(LDFLAGS) $(CFLAGS) -o fusebirth $(OFILES) fuse_loops.o fusebirth.o $(LIBS) |
145 |
- |
146 |
- fusebirth.o: freebirth.c |
147 |
- $(CC) -c $(CFLAGS) -DFUSE_LOOPS -o fusebirth.o freebirth.c |
148 |
- |
149 |
- Makefile.deps: |
150 |
-- gcc -MM $(CFLAGS) $(CFILES) > Makefile.deps |
151 |
-+ $(CC) -MM $(CFLAGS) $(CFILES) > Makefile.deps |
152 |
- |
153 |
- include Makefile.deps |
154 |
---- raw_wave.c |
155 |
-+++ raw_wave.c |
156 |
-@@ -21,18 +21,36 @@ |
157 |
- #include "raw_wave.h" |
158 |
- #include <stdio.h> |
159 |
- #include <stdlib.h> |
160 |
-+#include <string.h> |
161 |
- #include <math.h> |
162 |
-+#include <endian.h> |
163 |
-+ |
164 |
-+/* borrowed from glib2 */ |
165 |
-+#define SHORT_SWAP_LE_BE(val) ((short) ( \ |
166 |
-+ (short) ((short) (val) >> 8) | \ |
167 |
-+ (short) ((short) (val) << 8))) |
168 |
-+static void swap_endian(short *data, int length) |
169 |
-+{ |
170 |
-+ int i; |
171 |
-+ for (i = 0; i < length; i += 1, data++) |
172 |
-+ *data = SHORT_SWAP_LE_BE(*data); |
173 |
-+} |
174 |
- |
175 |
- static char *get_full_path(char *fn) |
176 |
- { |
177 |
- char *full_fn; |
178 |
- char *fb_samples; |
179 |
- |
180 |
-- if (fn == NULL || fn[0] == '/') return fn; |
181 |
- fb_samples = getenv("FB_SAMPLES"); |
182 |
- if (fb_samples == NULL) fb_samples = FB_SAMPLES; |
183 |
-- sprintf(full_fn = (char *)malloc(strlen(fb_samples) + 1 + strlen(fn) + 1), |
184 |
-- "%s/%s", fb_samples, fn); |
185 |
-+ full_fn = (char *)malloc(strlen(fb_samples) + 1 + strlen(fn) + 1); |
186 |
-+ |
187 |
-+ if (fn == NULL || fn[0] == '/') { /* path is valid already */ |
188 |
-+ sprintf(full_fn, "%s", fn); |
189 |
-+ } else { |
190 |
-+ sprintf(full_fn, "%s/%s", fb_samples, fn); /* add path */ |
191 |
-+ } |
192 |
-+ |
193 |
- return full_fn; |
194 |
- } |
195 |
- |
196 |
-@@ -76,10 +94,13 @@ |
197 |
- |
198 |
- } |
199 |
- this->length += count; |
200 |
-+#if __BYTE_ORDER == __BIG_ENDIAN |
201 |
-+ swap_endian(tmp, this->length); |
202 |
-+#endif |
203 |
- this->table = (sample *)malloc(sizeof(sample) * this->length); |
204 |
-- for(i = 0; i < this->length;i++) |
205 |
-+ for(i = 0; i < this->length;i++) { |
206 |
- this->table[i] = (sample)tmp[i]; |
207 |
-- |
208 |
-+ } |
209 |
- fclose(in); |
210 |
- free(tmp); |
211 |
- } |
212 |
-@@ -126,6 +147,7 @@ |
213 |
- |
214 |
- } |
215 |
- } |
216 |
-+ |
217 |
- return this->buffer; |
218 |
- } |
219 |
- |
220 |
-@@ -145,7 +167,7 @@ |
221 |
- void raw_wave_set_sample_file(raw_wave* this, char *filename) |
222 |
- { |
223 |
- FILE *in; |
224 |
-- if (this->filename != 0) free(this->filename); |
225 |
-+ if (this->filename != NULL) free(this->filename); |
226 |
- this->filename = get_full_path(filename); |
227 |
- in = fopen(this->filename,"r"); |
228 |
- if( in==NULL ) |
229 |
-@@ -243,7 +265,7 @@ |
230 |
- /* set table to zero here check if it is zero in */ |
231 |
- /* _fill_table */ |
232 |
- out->table = 0; |
233 |
-- out->filename = 0; |
234 |
-+ out->filename = NULL; |
235 |
- raw_wave_set_sample_file(out, filename); |
236 |
- |
237 |
- out->buffer = (sample *)malloc(sizeof(sample) * TBASS_BUFF_SIZE); |
238 |
---- raw_wave.h |
239 |
-+++ raw_wave.h |
240 |
-@@ -62,7 +62,7 @@ |
241 |
- event *event_pitch_change_new(int seq_handle, double pitch); |
242 |
- |
243 |
- // #define FB_SAMPLES "/usr/local/lib/freebirth" |
244 |
--#define FB_SAMPLES "." |
245 |
-+#define FB_SAMPLES "/usr/share/freebirth" |
246 |
- |
247 |
- /* |
248 |
- Local Variables: |
249 |
|
250 |
diff --git a/media-sound/freebirth/files/freebirth-0.3.2-segfault.patch b/media-sound/freebirth/files/freebirth-0.3.2-segfault.patch |
251 |
deleted file mode 100644 |
252 |
index 2a3a40711f1..00000000000 |
253 |
--- a/media-sound/freebirth/files/freebirth-0.3.2-segfault.patch |
254 |
+++ /dev/null |
255 |
@@ -1,17 +0,0 @@ |
256 |
-https://bugs.gentoo.org/show_bug.cgi?id=320123 |
257 |
- |
258 |
-Index: freebirth-0.3.2/oscillator.c |
259 |
-=================================================================== |
260 |
---- freebirth-0.3.2.orig/oscillator.c |
261 |
-+++ freebirth-0.3.2/oscillator.c |
262 |
-@@ -237,8 +237,8 @@ event *event_freq_change_new(int seq_han |
263 |
- |
264 |
- static sample_producer **get_children(osc *this) |
265 |
- { |
266 |
-- static sample_producer *no_kids[] = { NULL }; |
267 |
-- return no_kids; |
268 |
-+ static sample_producer no_kids[] = {{ NULL }}; |
269 |
-+ return &no_kids; |
270 |
- } |
271 |
- |
272 |
- static char **get_header(osc *this) |
273 |
|
274 |
diff --git a/media-sound/freebirth/freebirth-0.3.2-r1.ebuild b/media-sound/freebirth/freebirth-0.3.2-r1.ebuild |
275 |
deleted file mode 100644 |
276 |
index 271853ab456..00000000000 |
277 |
--- a/media-sound/freebirth/freebirth-0.3.2-r1.ebuild |
278 |
+++ /dev/null |
279 |
@@ -1,40 +0,0 @@ |
280 |
-# Copyright 1999-2012 Gentoo Foundation |
281 |
-# Distributed under the terms of the GNU General Public License v2 |
282 |
- |
283 |
-EAPI=5 |
284 |
-inherit eutils toolchain-funcs |
285 |
- |
286 |
-DESCRIPTION="Free software bass synthesizer step sequencer" |
287 |
-HOMEPAGE="http://freshmeat.net/releases/8834" |
288 |
-SRC_URI="http://www.bitmechanic.com/projects/freebirth/${P}.tar.gz" |
289 |
- |
290 |
-LICENSE="GPL-2" |
291 |
-SLOT="0" |
292 |
-KEYWORDS="amd64 ~ppc sparc x86" |
293 |
-IUSE="" |
294 |
- |
295 |
-RDEPEND="x11-libs/gtk+:2" |
296 |
-DEPEND="${RDEPEND} |
297 |
- virtual/pkgconfig" |
298 |
- |
299 |
-src_prepare() { |
300 |
- epatch "${FILESDIR}"/${P}-gentoo-2.patch \ |
301 |
- "${FILESDIR}"/${P}-segfault.patch |
302 |
-} |
303 |
- |
304 |
-src_compile() { |
305 |
- tc-export CC |
306 |
- emake |
307 |
-} |
308 |
- |
309 |
-src_install() { |
310 |
- dobin ${PN} |
311 |
- |
312 |
- insinto /usr/share/${PN}/raw |
313 |
- doins raw/*.raw |
314 |
- |
315 |
- dodoc CHANGES NEXT_VERSION README |
316 |
- |
317 |
- doicon xpm/${PN}.xpm |
318 |
- make_desktop_entry ${PN} ${PN} |
319 |
-} |
320 |
|
321 |
diff --git a/media-sound/freebirth/metadata.xml b/media-sound/freebirth/metadata.xml |
322 |
deleted file mode 100644 |
323 |
index a38ef435258..00000000000 |
324 |
--- a/media-sound/freebirth/metadata.xml |
325 |
+++ /dev/null |
326 |
@@ -1,11 +0,0 @@ |
327 |
-<?xml version="1.0" encoding="UTF-8"?> |
328 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
329 |
-<pkgmetadata> |
330 |
- <maintainer type="project"> |
331 |
- <email>sound@g.o</email> |
332 |
- <name>Gentoo Sound project</name> |
333 |
- </maintainer> |
334 |
- <upstream> |
335 |
- <remote-id type="freshmeat">8834</remote-id> |
336 |
- </upstream> |
337 |
-</pkgmetadata> |
338 |
|
339 |
diff --git a/profiles/package.mask b/profiles/package.mask |
340 |
index dee7b2ee8d7..dabf861a7c7 100644 |
341 |
--- a/profiles/package.mask |
342 |
+++ b/profiles/package.mask |
343 |
@@ -472,11 +472,6 @@ dev-python/pysendfile |
344 |
# Removal in 30 days |
345 |
dev-tex/dvi2tty |
346 |
|
347 |
-# Michał Górny <mgorny@g.o> (2020-09-09) |
348 |
-# Last release in <2003. Fails to build (bug #691690). |
349 |
-# Removal in 30 days. Bug #731008. |
350 |
-media-sound/freebirth |
351 |
- |
352 |
# Michał Górny <mgorny@g.o> (2020-09-09) |
353 |
# These packages (or package versions) still require Python 2.7. |
354 |
# They are either dead upstream, their Python 3 porting efforts are |