Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/seq24/files/, media-sound/seq24/
Date: Sun, 10 Mar 2019 16:42:16
Message-Id: 1552236107.f92198054d0550ae9e2cda436654f9f3ebe33b2d.asturm@gentoo
1 commit: f92198054d0550ae9e2cda436654f9f3ebe33b2d
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 10 14:18:56 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 10 16:41:47 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9219805
7
8 media-sound/seq24: Drop 0.9.2-r1
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 media-sound/seq24/Manifest | 1 -
14 media-sound/seq24/files/seq24-0.9.2-lash-fix.patch | 248 ---------------------
15 media-sound/seq24/seq24-0.9.2-r1.ebuild | 40 ----
16 3 files changed, 289 deletions(-)
17
18 diff --git a/media-sound/seq24/Manifest b/media-sound/seq24/Manifest
19 index a52e6a93498..00118c69f51 100644
20 --- a/media-sound/seq24/Manifest
21 +++ b/media-sound/seq24/Manifest
22 @@ -1,2 +1 @@
23 -DIST seq24-0.9.2.tar.bz2 213059 BLAKE2B e67a63182f34f7452a8f0550591b5a3d13409782eb42064cff347b333f40ca656477ed601f8b7178f01f35873c992ea8a3d574b43f186b3979f8e09030b8b64c SHA512 31e57c7fafbccf85a69229674d3bcfb86e2fa9b2f095b50fd59a44673896edc5c4f9dd97585923cee9129bc8619ac6eb33274241271cdcc56732c920d4106ec8
24 DIST seq24-0.9.3.tar.bz2 221014 BLAKE2B 94b771712d53b3a74d9fed249822ce890959b9159ed8ca0d4f30909f186f1c63a4c93b7e11adcbe51219fd4894469af8cb147da1ee8f82dcc1b42e9d16150d96 SHA512 f0fe13ceedbc87899df058918f3bdd57dbb9f1a3491d23503ae48367ba9eebdd2c8b5706b7b041db0959703a941d52d67f57823937ffdc574b01323eda32e3ad
25
26 diff --git a/media-sound/seq24/files/seq24-0.9.2-lash-fix.patch b/media-sound/seq24/files/seq24-0.9.2-lash-fix.patch
27 deleted file mode 100644
28 index 8b0efadb7b5..00000000000
29 --- a/media-sound/seq24/files/seq24-0.9.2-lash-fix.patch
30 +++ /dev/null
31 @@ -1,248 +0,0 @@
32 -Upstream fix for segfault when built with lash support.
33 -https://bugs.launchpad.net/seq24/+bug/696371
34 -
35 -=== modified file 'src/lash.cpp'
36 ---- old/src/lash.cpp
37 -+++ new/src/lash.cpp
38 -@@ -29,17 +29,9 @@
39 - lash::lash(int *argc, char ***argv)
40 - {
41 - #ifdef LASH_SUPPORT
42 -- m_lash_args = lash_extract_args(argc, argv);
43 --#endif // LASH_SUPPORT
44 --}
45 --
46 --
47 --void lash::init(perform* perform)
48 --{
49 --#ifdef LASH_SUPPORT
50 -- m_perform = perform;
51 --
52 -- m_client = lash_init(m_lash_args, PACKAGE_NAME,
53 -+ m_perform = NULL;
54 -+
55 -+ m_client = lash_init(lash_extract_args(argc, argv), PACKAGE_NAME,
56 - LASH_Config_File, LASH_PROTOCOL(2, 0));
57 -
58 - if (m_client == NULL) {
59 -@@ -65,9 +57,10 @@
60 -
61 -
62 - void
63 --lash::start()
64 -+lash::start(perform* perform)
65 - {
66 - #ifdef LASH_SUPPORT
67 -+ m_perform = perform;
68 - /* Process any LASH events every 250 msec (arbitrarily chosen interval) */
69 - Glib::signal_timeout().connect(sigc::mem_fun(*this, &lash::process_events), 250);
70 - #endif // LASH_SUPPORT
71 -
72 -=== modified file 'src/lash.h'
73 ---- old/src/lash.h
74 -+++ new/src/lash.h
75 -@@ -43,7 +43,6 @@
76 - #ifdef LASH_SUPPORT
77 - perform *m_perform;
78 - lash_client_t *m_client;
79 -- lash_args_t *m_lash_args;
80 -
81 - bool process_events();
82 - void handle_event(lash_event_t* conf);
83 -@@ -54,13 +53,12 @@
84 - public:
85 - lash(int *argc, char ***argv);
86 -
87 -- void init(perform* perform);
88 - void set_alsa_client_id(int id);
89 -- void start();
90 -+ void start(perform* perform);
91 - };
92 -
93 -
94 --/* global lash driver, defined in seq24.cpp */
95 -+/* global lash driver, defined in seq24.cpp and used in midibus.cpp*/
96 - extern lash *lash_driver;
97 -
98 -
99 -
100 -=== modified file 'src/midibus.cpp'
101 ---- old/src/midibus.cpp
102 -+++ new/src/midibus.cpp
103 -@@ -877,11 +877,11 @@
104 -
105 - /* set up our clients queue */
106 - m_queue = snd_seq_alloc_queue( m_alsa_seq );
107 --#endif
108 - #ifdef LASH_SUPPORT
109 - /* notify lash of our client ID so it can restore connections */
110 - lash_driver->set_alsa_client_id(snd_seq_client_id(m_alsa_seq));
111 - #endif
112 -+#endif
113 - }
114 -
115 -
116 -
117 -=== modified file 'src/perform.cpp'
118 ---- old/src/perform.cpp
119 -+++ new/src/perform.cpp
120 -@@ -1342,6 +1342,7 @@
121 - stats_last_clock_us= (last.tv_sec * 1000000) + (last.tv_nsec / 1000);
122 - #else
123 - /* get start time position */
124 -+ /* timeGetTime() returns a "DWORD" type (= unsigned long)*/
125 - last = timeGetTime();
126 -
127 - if ( global_stats )
128 -
129 -=== modified file 'src/seq24.cpp'
130 ---- old/src/seq24.cpp
131 -+++ new/src/seq24.cpp
132 -@@ -108,12 +108,66 @@
133 - * GTK+. */
134 - Gtk::Main kit(argc, argv);
135 -
136 -- /* Init the lash driver (strips lash specific command line
137 -- * arguments, but does not connect to daemon) */
138 -+ /*prepare global MIDI definitions*/
139 -+ for ( int i=0; i<c_maxBuses; i++ )
140 -+ {
141 -+ for ( int j=0; j<16; j++ )
142 -+ global_user_midi_bus_definitions[i].instrument[j] = -1;
143 -+ }
144 -+
145 -+ for ( int i=0; i<c_max_instruments; i++ )
146 -+ {
147 -+ for ( int j=0; j<128; j++ )
148 -+ global_user_instrument_definitions[i].controllers_active[j] = false;
149 -+ }
150 -+
151 -+
152 -+ /* Init the lash driver (strip lash specific command line
153 -+ * arguments and connect to daemon) */
154 - #ifdef LASH_SUPPORT
155 - lash_driver = new lash(&argc, &argv);
156 - #endif
157 -
158 -+ /* the main performance object */
159 -+ /* lash must be initialized here because mastermidibus uses the global
160 -+ * lash_driver variable*/
161 -+ perform p;
162 -+
163 -+ /* read user preferences files */
164 -+ if ( getenv( HOME ) != NULL )
165 -+ {
166 -+ Glib::ustring home( getenv( HOME ));
167 -+ last_used_dir = home;
168 -+ Glib::ustring total_file = home + SLASH + config_filename;
169 -+
170 -+ if (Glib::file_test(total_file, Glib::FILE_TEST_EXISTS))
171 -+ {
172 -+ printf( "Reading [%s]\n", total_file.c_str());
173 -+
174 -+ optionsfile options( total_file );
175 -+
176 -+ if ( !options.parse( &p ) ){
177 -+ printf( "Error Reading [%s]\n", total_file.c_str());
178 -+ }
179 -+ }
180 -+
181 -+ total_file = home + SLASH + user_filename;
182 -+ if (Glib::file_test(total_file, Glib::FILE_TEST_EXISTS))
183 -+ {
184 -+ printf( "Reading [%s]\n", total_file.c_str());
185 -+
186 -+ userfile user( total_file );
187 -+
188 -+ if ( !user.parse( &p ) ){
189 -+ printf( "Error Reading [%s]\n", total_file.c_str());
190 -+ }
191 -+ }
192 -+
193 -+ }
194 -+ else
195 -+ printf( "Error calling getenv( \"%s\" )\n", HOME );
196 -+
197 -+
198 - /* parse parameters */
199 - int c;
200 -
201 -@@ -229,65 +283,14 @@
202 - } /* end while */
203 -
204 -
205 -- /*prepare global MIDI definitions*/
206 -- for ( int i=0; i<c_maxBuses; i++ )
207 -- {
208 -- for ( int j=0; j<16; j++ )
209 -- global_user_midi_bus_definitions[i].instrument[j] = -1;
210 -- }
211 --
212 -- for ( int i=0; i<c_max_instruments; i++ )
213 -- {
214 -- for ( int j=0; j<128; j++ )
215 -- global_user_instrument_definitions[i].controllers_active[j] = false;
216 -- }
217 --
218 --
219 -- /* the main performance object */
220 -- perform p;
221 --
222 -- p_font_renderer = new font();
223 --
224 --
225 -- if ( getenv( HOME ) != NULL )
226 -- {
227 -- Glib::ustring home( getenv( HOME ));
228 -- last_used_dir = home;
229 -- Glib::ustring total_file = home + SLASH + config_filename;
230 --
231 -- if (Glib::file_test(total_file, Glib::FILE_TEST_EXISTS))
232 -- {
233 -- printf( "Reading [%s]\n", total_file.c_str());
234 --
235 -- optionsfile options( total_file );
236 --
237 -- if ( !options.parse( &p ) ){
238 -- printf( "Error Reading [%s]\n", total_file.c_str());
239 -- }
240 -- }
241 --
242 -- total_file = home + SLASH + user_filename;
243 -- if (Glib::file_test(total_file, Glib::FILE_TEST_EXISTS))
244 -- {
245 -- printf( "Reading [%s]\n", total_file.c_str());
246 --
247 -- userfile user( total_file );
248 --
249 -- if ( !user.parse( &p ) ){
250 -- printf( "Error Reading [%s]\n", total_file.c_str());
251 -- }
252 -- }
253 --
254 -- }
255 -- else
256 -- printf( "Error calling getenv( \"%s\" )\n", HOME );
257 --
258 - p.init();
259 - p.launch_input_thread();
260 - p.launch_output_thread();
261 - p.init_jack();
262 -
263 -
264 -+ p_font_renderer = new font();
265 -+
266 - mainwnd seq24_window( &p );
267 - if (optind < argc)
268 - {
269 -@@ -299,8 +302,7 @@
270 -
271 - /* connect to lash daemon and poll events*/
272 - #ifdef LASH_SUPPORT
273 -- lash_driver->init(&p);
274 -- lash_driver->start();
275 -+ lash_driver->start(&p);
276 - #endif
277 - kit.run(seq24_window);
278 -
279 -
280
281 diff --git a/media-sound/seq24/seq24-0.9.2-r1.ebuild b/media-sound/seq24/seq24-0.9.2-r1.ebuild
282 deleted file mode 100644
283 index a63621d8a8c..00000000000
284 --- a/media-sound/seq24/seq24-0.9.2-r1.ebuild
285 +++ /dev/null
286 @@ -1,40 +0,0 @@
287 -# Copyright 1999-2014 Gentoo Foundation
288 -# Distributed under the terms of the GNU General Public License v2
289 -
290 -EAPI=4
291 -inherit eutils
292 -
293 -DESCRIPTION="Seq24 is a loop based MIDI sequencer with focus on live performances"
294 -HOMEPAGE="https://edge.launchpad.net/seq24/"
295 -SRC_URI="https://edge.launchpad.net/seq24/trunk/${PV}/+download/${P}.tar.bz2"
296 -
297 -LICENSE="GPL-2"
298 -SLOT="0"
299 -KEYWORDS="amd64 ~ppc x86"
300 -IUSE="jack lash"
301 -
302 -RDEPEND="media-libs/alsa-lib
303 - >=dev-cpp/gtkmm-2.4:2.4
304 - >=dev-libs/libsigc++-2.2:2
305 - jack? ( >=media-sound/jack-audio-connection-kit-0.90 )
306 - lash? ( >=media-sound/lash-0.5 )"
307 -DEPEND="${RDEPEND}
308 - virtual/pkgconfig"
309 -
310 -DOCS=( AUTHORS ChangeLog README RTC SEQ24 )
311 -
312 -src_prepare() {
313 - epatch "${FILESDIR}"/${P}-lash-fix.patch
314 -}
315 -
316 -src_configure() {
317 - econf \
318 - $(use_enable jack) \
319 - $(use_enable lash)
320 -}
321 -
322 -src_install() {
323 - default
324 - newicon src/pixmaps/seq24_32.xpm seq24.xpm
325 - make_desktop_entry seq24
326 -}