Gentoo Archives: gentoo-commits

From: Jory Pratt <anarchy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/musl:master commit in: media-sound/mpd/files/, mate-extra/mate-power-manager/files/, media-sound/mpd/, ...
Date: Fri, 21 Aug 2020 00:12:45
Message-Id: 1597968737.83d8f74170bb77974402118b602ef0ced36b2777.anarchy@gentoo
1 commit: 83d8f74170bb77974402118b602ef0ced36b2777
2 Author: Jory Pratt <anarchy <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 21 00:12:17 2020 +0000
4 Commit: Jory Pratt <anarchy <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 21 00:12:17 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=83d8f741
7
8 Drop dated ebuilds that have not been touched in while
9
10 Signed-off-by: Jory Pratt <anarchy <AT> gentoo.org>
11
12 mate-extra/mate-power-manager/Manifest | 1 -
13 .../files/musl-fix-compile-execinfo.patch | 56 ----
14 .../files/musl-fix-remove-backtrace.patch | 152 -----------
15 .../mate-power-manager-1.18.1.ebuild | 71 -----
16 mate-extra/mate-power-manager/metadata.xml | 14 -
17 media-sound/mpd/Manifest | 1 -
18 media-sound/mpd/files/mpd-0.18.conf.patch | 78 ------
19 media-sound/mpd/files/mpd-0.21.1.logrotate | 9 -
20 .../mpd/files/mpd-0.21.18-fix-stacksize.patch | 31 ---
21 media-sound/mpd/files/mpd-0.21.4.init | 32 ---
22 media-sound/mpd/metadata.xml | 42 ---
23 media-sound/mpd/mpd-0.21.18-r1.ebuild | 299 ---------------------
24 12 files changed, 786 deletions(-)
25
26 diff --git a/mate-extra/mate-power-manager/Manifest b/mate-extra/mate-power-manager/Manifest
27 deleted file mode 100644
28 index f8466fd..0000000
29 --- a/mate-extra/mate-power-manager/Manifest
30 +++ /dev/null
31 @@ -1 +0,0 @@
32 -DIST mate-power-manager-1.18.1.tar.xz 3210144 BLAKE2B 7ab427acefd02b4aeea6fa2dd3052e2eaa9de3231ed9f8aa7b81af3a46fbf15da20925b568364ff802598738a7c3387d1b1fa620bef3ff2fd5522bb6247c2f3c SHA512 f4b42f66607e54020901f1f686cb018962c419294e50e0b37724bfddb462cf98a2e74e7ed980c3fe968873ca3848ff401839b39f53f1b40876773bfbf91b51c1
33
34 diff --git a/mate-extra/mate-power-manager/files/musl-fix-compile-execinfo.patch b/mate-extra/mate-power-manager/files/musl-fix-compile-execinfo.patch
35 deleted file mode 100644
36 index 2c07ef1..0000000
37 --- a/mate-extra/mate-power-manager/files/musl-fix-compile-execinfo.patch
38 +++ /dev/null
39 @@ -1,56 +0,0 @@
40 -From f117ad21ce676d67df265e522bfc1047118958ba Mon Sep 17 00:00:00 2001
41 -From: Alan Lacerda <alacerda@×××××××××××.org>
42 -Date: Thu, 16 Apr 2015 18:53:43 +0000
43 -Subject: [PATCH] execinfo patch
44 -
45 ----
46 - applets/brightness/egg-debug.c | 2 ++
47 - applets/inhibit/egg-debug.c | 2 ++
48 - src/egg-debug.c | 2 ++
49 - 3 files changed, 6 insertions(+)
50 -
51 -diff --git a/applets/brightness/egg-debug.c b/applets/brightness/egg-debug.c
52 -index 2f140f2..3a8e6e7 100644
53 ---- a/applets/brightness/egg-debug.c
54 -+++ b/applets/brightness/egg-debug.c
55 -@@ -39,7 +39,9 @@
56 - #include <sys/stat.h>
57 - #include <fcntl.h>
58 - #include <time.h>
59 -+#if defined (__GLIBC__)
60 - #include <execinfo.h>
61 -+#endif
62 -
63 - #include "egg-debug.h"
64 -
65 -diff --git a/applets/inhibit/egg-debug.c b/applets/inhibit/egg-debug.c
66 -index 2f140f2..3a8e6e7 100644
67 ---- a/applets/inhibit/egg-debug.c
68 -+++ b/applets/inhibit/egg-debug.c
69 -@@ -39,7 +39,9 @@
70 - #include <sys/stat.h>
71 - #include <fcntl.h>
72 - #include <time.h>
73 -+#if defined (__GLIBC__)
74 - #include <execinfo.h>
75 -+#endif
76 -
77 - #include "egg-debug.h"
78 -
79 -diff --git a/src/egg-debug.c b/src/egg-debug.c
80 -index 2f140f2..3a8e6e7 100644
81 ---- a/src/egg-debug.c
82 -+++ b/src/egg-debug.c
83 -@@ -39,7 +39,9 @@
84 - #include <sys/stat.h>
85 - #include <fcntl.h>
86 - #include <time.h>
87 -+#if defined (__GLIBC__)
88 - #include <execinfo.h>
89 -+#endif
90 -
91 - #include "egg-debug.h"
92 -
93 ---
94 -2.3.3
95 -
96
97 diff --git a/mate-extra/mate-power-manager/files/musl-fix-remove-backtrace.patch b/mate-extra/mate-power-manager/files/musl-fix-remove-backtrace.patch
98 deleted file mode 100644
99 index 536991b..0000000
100 --- a/mate-extra/mate-power-manager/files/musl-fix-remove-backtrace.patch
101 +++ /dev/null
102 @@ -1,152 +0,0 @@
103 -From b8907c90dec6a7f6fc2a3c682ddb48d4ebf8406e Mon Sep 17 00:00:00 2001
104 -From: Alan Lacerda <alacerda@×××××××××××.org>
105 -Date: Fri, 17 Apr 2015 11:34:47 +0000
106 -Subject: [PATCH] removing backtrace
107 -
108 ----
109 - applets/brightness/egg-debug.c | 28 ----------------------------
110 - applets/inhibit/egg-debug.c | 28 ----------------------------
111 - src/egg-debug.c | 28 ----------------------------
112 - 3 files changed, 84 deletions(-)
113 -
114 -diff --git a/applets/brightness/egg-debug.c b/applets/brightness/egg-debug.c
115 -index 3a8e6e7..b06b540 100644
116 ---- a/applets/brightness/egg-debug.c
117 -+++ b/applets/brightness/egg-debug.c
118 -@@ -75,31 +75,6 @@ pk_set_console_mode (guint console_code)
119 - }
120 -
121 - /**
122 -- * egg_debug_backtrace:
123 -- **/
124 --void
125 --egg_debug_backtrace (void)
126 --{
127 -- void *call_stack[512];
128 -- int call_stack_size;
129 -- char **symbols;
130 -- int i = 1;
131 --
132 -- call_stack_size = backtrace (call_stack, G_N_ELEMENTS (call_stack));
133 -- symbols = backtrace_symbols (call_stack, call_stack_size);
134 -- if (symbols != NULL) {
135 -- pk_set_console_mode (CONSOLE_RED);
136 -- g_print ("Traceback:\n");
137 -- while (i < call_stack_size) {
138 -- g_print ("\t%s\n", symbols[i]);
139 -- i++;
140 -- }
141 -- pk_set_console_mode (CONSOLE_RESET);
142 -- free (symbols);
143 -- }
144 --}
145 --
146 --/**
147 - * pk_log_line:
148 - **/
149 - static void
150 -@@ -229,9 +204,6 @@ egg_error_real (const gchar *func, const gchar *file, const int line, const gcha
151 - pk_print_line (func, file, line, buffer, CONSOLE_RED);
152 - g_free(buffer);
153 -
154 -- /* we want to fix this! */
155 -- egg_debug_backtrace ();
156 --
157 - exit (1);
158 - }
159 -
160 -diff --git a/applets/inhibit/egg-debug.c b/applets/inhibit/egg-debug.c
161 -index 3a8e6e7..b06b540 100644
162 ---- a/applets/inhibit/egg-debug.c
163 -+++ b/applets/inhibit/egg-debug.c
164 -@@ -75,31 +75,6 @@ pk_set_console_mode (guint console_code)
165 - }
166 -
167 - /**
168 -- * egg_debug_backtrace:
169 -- **/
170 --void
171 --egg_debug_backtrace (void)
172 --{
173 -- void *call_stack[512];
174 -- int call_stack_size;
175 -- char **symbols;
176 -- int i = 1;
177 --
178 -- call_stack_size = backtrace (call_stack, G_N_ELEMENTS (call_stack));
179 -- symbols = backtrace_symbols (call_stack, call_stack_size);
180 -- if (symbols != NULL) {
181 -- pk_set_console_mode (CONSOLE_RED);
182 -- g_print ("Traceback:\n");
183 -- while (i < call_stack_size) {
184 -- g_print ("\t%s\n", symbols[i]);
185 -- i++;
186 -- }
187 -- pk_set_console_mode (CONSOLE_RESET);
188 -- free (symbols);
189 -- }
190 --}
191 --
192 --/**
193 - * pk_log_line:
194 - **/
195 - static void
196 -@@ -229,9 +204,6 @@ egg_error_real (const gchar *func, const gchar *file, const int line, const gcha
197 - pk_print_line (func, file, line, buffer, CONSOLE_RED);
198 - g_free(buffer);
199 -
200 -- /* we want to fix this! */
201 -- egg_debug_backtrace ();
202 --
203 - exit (1);
204 - }
205 -
206 -diff --git a/src/egg-debug.c b/src/egg-debug.c
207 -index 3a8e6e7..b06b540 100644
208 ---- a/src/egg-debug.c
209 -+++ b/src/egg-debug.c
210 -@@ -75,31 +75,6 @@ pk_set_console_mode (guint console_code)
211 - }
212 -
213 - /**
214 -- * egg_debug_backtrace:
215 -- **/
216 --void
217 --egg_debug_backtrace (void)
218 --{
219 -- void *call_stack[512];
220 -- int call_stack_size;
221 -- char **symbols;
222 -- int i = 1;
223 --
224 -- call_stack_size = backtrace (call_stack, G_N_ELEMENTS (call_stack));
225 -- symbols = backtrace_symbols (call_stack, call_stack_size);
226 -- if (symbols != NULL) {
227 -- pk_set_console_mode (CONSOLE_RED);
228 -- g_print ("Traceback:\n");
229 -- while (i < call_stack_size) {
230 -- g_print ("\t%s\n", symbols[i]);
231 -- i++;
232 -- }
233 -- pk_set_console_mode (CONSOLE_RESET);
234 -- free (symbols);
235 -- }
236 --}
237 --
238 --/**
239 - * pk_log_line:
240 - **/
241 - static void
242 -@@ -229,9 +204,6 @@ egg_error_real (const gchar *func, const gchar *file, const int line, const gcha
243 - pk_print_line (func, file, line, buffer, CONSOLE_RED);
244 - g_free(buffer);
245 -
246 -- /* we want to fix this! */
247 -- egg_debug_backtrace ();
248 --
249 - exit (1);
250 - }
251 -
252 ---
253 -2.3.3
254 -
255
256 diff --git a/mate-extra/mate-power-manager/mate-power-manager-1.18.1.ebuild b/mate-extra/mate-power-manager/mate-power-manager-1.18.1.ebuild
257 deleted file mode 100644
258 index 1d0a1a3..0000000
259 --- a/mate-extra/mate-power-manager/mate-power-manager-1.18.1.ebuild
260 +++ /dev/null
261 @@ -1,71 +0,0 @@
262 -# Copyright 1999-2018 Gentoo Authors
263 -# Distributed under the terms of the GNU General Public License v2
264 -
265 -EAPI=6
266 -
267 -inherit mate
268 -
269 -if [[ ${PV} != 9999 ]]; then
270 - KEYWORDS="amd64 ~arm ~arm64 x86"
271 -fi
272 -
273 -DESCRIPTION="A session daemon for MATE that makes it easy to manage your laptop or desktop"
274 -LICENSE="GPL-2"
275 -SLOT="0"
276 -
277 -IUSE="+applet gnome-keyring policykit systemd test"
278 -
279 -# Interactive testsuite.
280 -RESTRICT="test"
281 -
282 -COMMON_DEPEND=">=dev-libs/dbus-glib-0.70:0
283 - >=dev-libs/glib-2.36:2
284 - >=media-libs/libcanberra-0.10:0[gtk3]
285 - >=sys-apps/dbus-1:0
286 - >=x11-apps/xrandr-1.3:0
287 - >=x11-libs/cairo-1:0
288 - >=x11-libs/gdk-pixbuf-2.11:2
289 - >=x11-libs/gtk+-3.14:3
290 - x11-libs/libX11:0
291 - x11-libs/libXext:0
292 - x11-libs/libXrandr:0
293 - >=x11-libs/libnotify-0.7:0
294 - x11-libs/pango:0
295 - applet? ( >=mate-base/mate-panel-1.17.0 )
296 - gnome-keyring? ( >=gnome-base/libgnome-keyring-3:0 )
297 - >=sys-power/upower-0.9.23:=
298 - systemd? ( sys-apps/systemd )
299 - !systemd? ( >=sys-auth/consolekit-0.9.2 )"
300 -
301 -RDEPEND="${COMMON_DEPEND}
302 - policykit? ( >=mate-extra/mate-polkit-1.6 )"
303 -
304 -DEPEND="${COMMON_DEPEND}
305 - app-text/docbook-xml-dtd:4.3
306 - app-text/rarian:0
307 - >=app-text/scrollkeeper-dtd-1:1.0
308 - app-text/yelp-tools:0
309 - >=dev-util/intltool-0.50.1:*
310 - sys-devel/gettext:*
311 - virtual/pkgconfig:*
312 - x11-base/xorg-proto"
313 -
314 -src_prepare() {
315 - eapply "${FILESDIR}/musl-fix-compile-execinfo.patch"
316 - eapply "${FILESDIR}/musl-fix-remove-backtrace.patch"
317 - eapply_user
318 -}
319 -
320 -src_configure() {
321 - mate_src_configure \
322 - --enable-compile-warnings=minimum \
323 - $(use_with gnome-keyring keyring) \
324 - $(use_enable applet applets) \
325 - $(use_enable test tests)
326 -}
327 -
328 -src_test() {
329 - unset DBUS_SESSION_BUS_ADDRESS
330 -
331 - dbus-launch Xemake check || die "Test phase failed"
332 -}
333
334 diff --git a/mate-extra/mate-power-manager/metadata.xml b/mate-extra/mate-power-manager/metadata.xml
335 deleted file mode 100644
336 index ff952f0..0000000
337 --- a/mate-extra/mate-power-manager/metadata.xml
338 +++ /dev/null
339 @@ -1,14 +0,0 @@
340 -<?xml version="1.0" encoding="UTF-8"?>
341 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
342 -<pkgmetadata>
343 - <maintainer type="project">
344 - <email>mate@g.o</email>
345 - <name>Gentoo MATE Desktop</name>
346 - </maintainer>
347 - <use>
348 - <flag name="applet">Enable building of the MATE applet.</flag>
349 - </use>
350 - <upstream>
351 - <remote-id type="github">mate-desktop/mate-power-manager</remote-id>
352 - </upstream>
353 -</pkgmetadata>
354
355 diff --git a/media-sound/mpd/Manifest b/media-sound/mpd/Manifest
356 deleted file mode 100644
357 index cc39c32..0000000
358 --- a/media-sound/mpd/Manifest
359 +++ /dev/null
360 @@ -1 +0,0 @@
361 -DIST mpd-0.21.18.tar.xz 676084 BLAKE2B f55ea278da4b50bf24da476ed9e3ff50a8130215702fb5c4a0accdbfeb00ed734983034ce6ee0542623e42d488555b1c709acefbba026f0e01f17f25f749b833 SHA512 68b4d9dc4be8454d7ef92df2a7b42513dc2d97bfd6b11ba99bce6709fc58ccbeab05419863bacb7a3427f1325bc88da74f9f4b48206222349085f02d0135e1a8
362
363 diff --git a/media-sound/mpd/files/mpd-0.18.conf.patch b/media-sound/mpd/files/mpd-0.18.conf.patch
364 deleted file mode 100644
365 index d71056f..0000000
366 --- a/media-sound/mpd/files/mpd-0.18.conf.patch
367 +++ /dev/null
368 @@ -1,78 +0,0 @@
369 -diff --git a/doc/mpdconf.dist b/doc/mpdconf.dist
370 -index 470a5c9..9f595a6 100644
371 ---- a/doc/mpdconf.dist
372 -+++ b/doc/mpdconf.dist
373 -@@ -10,14 +10,14 @@
374 - # be disabled and audio files will only be accepted over ipc socket (using
375 - # file:// protocol) or streaming files over an accepted protocol.
376 - #
377 --#music_directory "~/music"
378 -+music_directory "/var/lib/mpd/music"
379 - #
380 - # This setting sets the MPD internal playlist directory. The purpose of this
381 - # directory is storage for playlists created by MPD. The server will use
382 - # playlist files not created by the server but only if they are in the MPD
383 - # format. This setting defaults to playlist saving being disabled.
384 - #
385 --#playlist_directory "~/.mpd/playlists"
386 -+playlist_directory "/var/lib/mpd/playlists"
387 - #
388 - # This setting sets the location of the MPD database. This file is used to
389 - # load the database at server start up and store the database while the
390 -@@ -25,7 +25,7 @@
391 - # MPD to accept files over ipc socket (using file:// protocol) or streaming
392 - # files over an accepted protocol.
393 - #
394 --#db_file "~/.mpd/database"
395 -+db_file "/var/lib/mpd/database"
396 - #
397 - # These settings are the locations for the daemon log files for the daemon.
398 - # These logs are great for troubleshooting, depending on your log_level
399 -@@ -34,20 +34,20 @@
400 - # The special value "syslog" makes MPD use the local syslog daemon. This
401 - # setting defaults to logging to syslog, otherwise logging is disabled.
402 - #
403 --#log_file "~/.mpd/log"
404 -+log_file "/var/lib/mpd/log"
405 - #
406 - # This setting sets the location of the file which stores the process ID
407 --# for use of mpd --kill and some init scripts. This setting is disabled by
408 --# default and the pid file will not be stored.
409 -+# for use of mpd --kill and some init scripts. This setting is required when
410 -+# using the Gentoo init script.
411 - #
412 --#pid_file "~/.mpd/pid"
413 -+pid_file "/var/lib/mpd/pid"
414 - #
415 - # This setting sets the location of the file which contains information about
416 - # most variables to get MPD back into the same general shape it was in before
417 - # it was brought down. This setting is disabled by default and the server
418 - # state will be reset on server start up.
419 - #
420 --#state_file "~/.mpd/state"
421 -+state_file "/var/lib/mpd/state"
422 - #
423 - # The location of the sticker database. This is a database which
424 - # manages dynamic information attached to songs.
425 -@@ -64,7 +64,7 @@
426 - # initialization. This setting is disabled by default and MPD is run as the
427 - # current user.
428 - #
429 --#user "nobody"
430 -+user "mpd"
431 - #
432 - # This setting specifies the group that MPD will run as. If not specified
433 - # primary group of user specified with "user" setting will be used (if set).
434 -@@ -78,10 +78,10 @@
435 - # This setting can deny access to control of the daemon.
436 - #
437 - # For network
438 --#bind_to_address "any"
439 -+bind_to_address "localhost"
440 - #
441 - # And for Unix Socket
442 --#bind_to_address "~/.mpd/socket"
443 -+bind_to_address "/var/lib/mpd/socket"
444 - #
445 - # This setting is the TCP port that is desired for the daemon to get assigned
446 - # to.
447
448 diff --git a/media-sound/mpd/files/mpd-0.21.1.logrotate b/media-sound/mpd/files/mpd-0.21.1.logrotate
449 deleted file mode 100644
450 index 597c4fb..0000000
451 --- a/media-sound/mpd/files/mpd-0.21.1.logrotate
452 +++ /dev/null
453 @@ -1,9 +0,0 @@
454 -/var/lib/mpd/log {
455 - missingok
456 - weekly
457 - delaycompress
458 - compress
459 - postrotate
460 - /etc/init.d/mpd --quiet reload
461 - endscript
462 -}
463
464 diff --git a/media-sound/mpd/files/mpd-0.21.18-fix-stacksize.patch b/media-sound/mpd/files/mpd-0.21.18-fix-stacksize.patch
465 deleted file mode 100644
466 index c57803b..0000000
467 --- a/media-sound/mpd/files/mpd-0.21.18-fix-stacksize.patch
468 +++ /dev/null
469 @@ -1,31 +0,0 @@
470 -From 8671aa5b12fd6b857ee24cf8aa55275d283d9014 Mon Sep 17 00:00:00 2001
471 -From: Jory Pratt <anarchy@g.o>
472 -Date: Tue, 28 Jan 2020 12:55:14 -0600
473 -Subject: [PATCH] Fix stacksize on musl
474 -
475 ----
476 - src/thread/Thread.cxx | 8 ++++++--
477 - 1 file changed, 6 insertions(+), 2 deletions(-)
478 -
479 -diff --git a/src/thread/Thread.cxx b/src/thread/Thread.cxx
480 -index bb498fd..da65d52 100644
481 ---- a/src/thread/Thread.cxx
482 -+++ b/src/thread/Thread.cxx
483 -@@ -34,8 +34,12 @@ Thread::Start()
484 - if (handle == nullptr)
485 - throw MakeLastError("Failed to create thread");
486 - #else
487 -- int e = pthread_create(&handle, nullptr, ThreadProc, this);
488 --
489 -+ pthread_attr_t attr, *attrptr = nullptr;
490 -+ if ((pthread_attr_init(&attr) == 0)
491 -+ && (pthread_attr_setstacksize(&attr, 1024*1024) == 0)) {
492 -+ attrptr = &attr;
493 -+ }
494 -+ int e = pthread_create(&handle, attrptr, ThreadProc, this);
495 - if (e != 0)
496 - throw MakeErrno(e, "Failed to create thread");
497 - #endif
498 ---
499 -2.25.0
500 -
501
502 diff --git a/media-sound/mpd/files/mpd-0.21.4.init b/media-sound/mpd/files/mpd-0.21.4.init
503 deleted file mode 100644
504 index 6af55c1..0000000
505 --- a/media-sound/mpd/files/mpd-0.21.4.init
506 +++ /dev/null
507 @@ -1,32 +0,0 @@
508 -#!/sbin/openrc-run
509 -# Copyright 1999-2020 Gentoo Authors
510 -# Distributed under the terms of the GNU General Public License v2
511 -
512 -: CFGFILE=${CFGFILE:=/etc/mpd.conf}
513 -
514 -depend() {
515 - need localmount
516 - use net netmount nfsmount alsasound esound pulseaudio
517 - config ${CFGFILE}
518 -}
519 -
520 -get_config() {
521 - x=$1
522 - test -e ${CFGFILE} || return 1
523 - sed -n \
524 - -e '/^[ \t]*'${x}'/{s:^[ \t]*'${x}'[ \t]\+"\?\([^#"]\+\)[^"]*"\?$:\1: ; p }' \
525 - ${CFGFILE}
526 -}
527 -
528 -extra_started_commands='reload'
529 -command=/usr/bin/mpd
530 -command_args=${CFGFILE}
531 -required_files=${CFGFILE}
532 -pidfile=$(get_config pid_file)
533 -description="Music Player Daemon"
534 -
535 -reload() {
536 - ebegin "Reloading ${RC_SVCNAME}"
537 - start-stop-daemon --pidfile ${pidfile} --signal HUP
538 - eend $?
539 - }
540
541 diff --git a/media-sound/mpd/metadata.xml b/media-sound/mpd/metadata.xml
542 deleted file mode 100644
543 index 621b406..0000000
544 --- a/media-sound/mpd/metadata.xml
545 +++ /dev/null
546 @@ -1,42 +0,0 @@
547 -<?xml version="1.0" encoding="UTF-8"?>
548 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
549 -<pkgmetadata>
550 - <maintainer type="person">
551 - <email>zlogene@g.o</email>
552 - <name>Mikle Kolyada</name>
553 - </maintainer>
554 - <use>
555 - <flag name="cdio">Use libcdio for ISO9660 parsing support</flag>
556 - <flag name="chromaprint">Enable ChromaPrint / AcoustID support</flag>
557 - <flag name="cue">Enable CUE sheet support</flag>
558 - <flag name="curl">Support for web stream listening</flag>
559 - <flag name="eventfd">Use the eventfd function in MPD's event loop</flag>
560 - <flag name="faad">Use external faad library for AAC decoding</flag>
561 - <flag name="fifo">Support writing audio to a FIFO</flag>
562 - <flag name="fluidsynth">Enables Fluidsynth MIDI software synthesis (discouraged)</flag>
563 - <flag name="gme">Enables support for <pkg>media-libs/game-music-emu</pkg> for playing various video game music formats.</flag>
564 - <flag name="id3tag">Support for ID3 tags</flag>
565 - <flag name="inotify">Use the Linux kernel inotify subsystem to notice changes to mpd music library</flag>
566 - <flag name="lame">Support for MP3 streaming via Icecast2</flag>
567 - <flag name="libmpdclient">Enable support for remote mpd databases</flag>
568 - <flag name="libsoxr">Enable the libsoxr resampler</flag>
569 - <flag name="mpg123">Enable support for mp3 decoding over media-sound/mpg123</flag>
570 - <flag name="network">Enables network streaming support</flag>
571 - <flag name="nfs">Enable support for the Network File System</flag>
572 - <flag name="pipe">Support writing audio to a pipe</flag>
573 - <flag name="qobuz">Build plugin to access qobuz</flag>
574 - <flag name="recorder">Enables output plugin for recording radio streams</flag>
575 - <flag name="sid">Build with SID (Commodore 64 Audio) support</flag>
576 - <flag name="signalfd">Use the signalfd function in MPD's event loop</flag>
577 - <flag name="soundcloud">Build plugin to access soundcloud</flag>
578 - <flag name="tidal">Build plugin to access tidal</flag>
579 - <flag name="systemd">Enable support for systemd socket activation</flag>
580 - <flag name="twolame">Support twolame MPEG-2 encoding</flag>
581 - <flag name="webdav">Enable using music from a WebDAV share</flag>
582 - <flag name="wildmidi">Enable MIDI support via wildmidi</flag>
583 - </use>
584 - <upstream>
585 - <remote-id type="github">MusicPlayerDaemon/MPD</remote-id>
586 - <bugs-to>https://github.com/MusicPlayerDaemon/MPD/issues</bugs-to>
587 - </upstream>
588 -</pkgmetadata>
589
590 diff --git a/media-sound/mpd/mpd-0.21.18-r1.ebuild b/media-sound/mpd/mpd-0.21.18-r1.ebuild
591 deleted file mode 100644
592 index c4bb3c2..0000000
593 --- a/media-sound/mpd/mpd-0.21.18-r1.ebuild
594 +++ /dev/null
595 @@ -1,299 +0,0 @@
596 -# Copyright 1999-2020 Gentoo Authors
597 -# Distributed under the terms of the GNU General Public License v2
598 -
599 -EAPI=7
600 -
601 -inherit flag-o-matic linux-info meson systemd xdg-utils
602 -
603 -DESCRIPTION="The Music Player Daemon (mpd)"
604 -HOMEPAGE="https://www.musicpd.org https://github.com/MusicPlayerDaemon/MPD"
605 -SRC_URI="https://www.musicpd.org/download/${PN}/${PV%.*}/${P}.tar.xz"
606 -
607 -LICENSE="GPL-2"
608 -SLOT="0"
609 -KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
610 -IUSE="+alsa ao +audiofile bzip2 cdio chromaprint +cue +curl +dbus debug
611 - +eventfd expat faad +ffmpeg +fifo flac fluidsynth gme +icu +id3tag +inotify
612 - +ipv6 jack lame libav libmpdclient libsamplerate libsoxr +mad mikmod mms
613 - modplug mpg123 musepack +network nfs openal opus oss pipe pulseaudio qobuz
614 - recorder samba selinux sid signalfd sndfile soundcloud sqlite systemd
615 - test tidal twolame udisks unicode vorbis wavpack webdav wildmidi upnp
616 - zeroconf zip zlib"
617 -
618 -OUTPUT_PLUGINS="alsa ao fifo jack network openal oss pipe pulseaudio recorder"
619 -DECODER_PLUGINS="audiofile faad ffmpeg flac fluidsynth mad mikmod
620 - modplug mpg123 musepack flac sid vorbis wavpack wildmidi"
621 -ENCODER_PLUGINS="audiofile flac lame twolame vorbis"
622 -
623 -REQUIRED_USE="
624 - || ( ${OUTPUT_PLUGINS} )
625 - || ( ${DECODER_PLUGINS} )
626 - network? ( || ( ${ENCODER_PLUGINS} ) )
627 - recorder? ( || ( ${ENCODER_PLUGINS} ) )
628 - upnp? ( expat )
629 - webdav? ( curl expat )
630 - "
631 -
632 -RESTRICT="!test? ( test )"
633 -
634 -RDEPEND="
635 - acct-user/mpd
636 - alsa? (
637 - media-libs/alsa-lib
638 - media-sound/alsa-utils
639 - )
640 -
641 - ao? ( media-libs/libao[alsa?,pulseaudio?] )
642 - audiofile? ( media-libs/audiofile:= )
643 -
644 - cdio? (
645 - dev-libs/libcdio:=
646 - dev-libs/libcdio-paranoia
647 - )
648 -
649 - chromaprint? ( media-libs/chromaprint )
650 - curl? ( net-misc/curl )
651 - dbus? ( sys-apps/dbus )
652 - expat? ( dev-libs/expat )
653 - faad? ( media-libs/faad2 )
654 -
655 - ffmpeg? (
656 - libav? ( media-video/libav:0= )
657 - !libav? ( media-video/ffmpeg:0= )
658 - )
659 -
660 - flac? ( media-libs/flac )
661 - fluidsynth? ( media-sound/fluidsynth )
662 - gme? ( >=media-libs/game-music-emu-0.6.0_pre20120802 )
663 - icu? ( dev-libs/icu:= )
664 - id3tag? ( media-libs/libid3tag )
665 - jack? ( virtual/jack )
666 - lame? ( network? ( media-sound/lame ) )
667 - libmpdclient? ( media-libs/libmpdclient )
668 - libsamplerate? ( media-libs/libsamplerate )
669 - libsoxr? ( media-libs/soxr )
670 - mad? ( media-libs/libmad )
671 - mikmod? ( media-libs/libmikmod )
672 - mms? ( media-libs/libmms )
673 - modplug? ( media-libs/libmodplug )
674 - mpg123? ( media-sound/mpg123 )
675 - musepack? ( media-sound/musepack-tools )
676 - network? ( media-libs/libshout )
677 - nfs? ( net-fs/libnfs )
678 - openal? ( media-libs/openal )
679 - opus? ( media-libs/opus )
680 - pulseaudio? ( media-sound/pulseaudio )
681 - qobuz? ( dev-libs/libgcrypt:0 )
682 - samba? ( net-fs/samba )
683 - selinux? ( sec-policy/selinux-mpd )
684 - sid? ( || (
685 - media-libs/libsidplay:2
686 - media-libs/libsidplayfp
687 - ) )
688 - sndfile? ( media-libs/libsndfile )
689 - soundcloud? ( >=dev-libs/yajl-2:= )
690 - sqlite? ( dev-db/sqlite:3 )
691 - systemd? ( sys-apps/systemd )
692 - tidal? ( dev-libs/yajl
693 - net-misc/curl )
694 - twolame? ( media-sound/twolame )
695 - udisks? ( sys-fs/udisks:2 )
696 - upnp? ( net-libs/libupnp:0 )
697 - vorbis? ( media-libs/libvorbis )
698 - wavpack? ( media-sound/wavpack )
699 - wildmidi? ( media-sound/wildmidi )
700 - zeroconf? ( net-dns/avahi[dbus] )
701 - zip? ( dev-libs/zziplib )
702 - zlib? ( sys-libs/zlib:= )"
703 -
704 -DEPEND="${RDEPEND}
705 - >=dev-libs/boost-1.58:=
706 - test? ( dev-cpp/gtest )"
707 -
708 -BDEPEND=">=dev-util/meson-0.49.2
709 - virtual/pkgconfig"
710 -
711 -PATCHES=(
712 - "${FILESDIR}"/${PN}-0.18.conf.patch
713 - "${FILESDIR}"/${PN}-0.21.18-fix-stacksize.patch
714 -)
715 -
716 -pkg_setup() {
717 - if use eventfd; then
718 - CONFIG_CHECK+=" ~EVENTFD"
719 - ERROR_EVENTFD="${P} requires eventfd in-kernel support."
720 - fi
721 -
722 - if use signalfd; then
723 - CONFIG_CHECK+=" ~SIGNALFD"
724 - ERROR_SIGNALFD="${P} requires signalfd in-kernel support."
725 - fi
726 -
727 - if use inotify; then
728 - CONFIG_CHECK+=" ~INOTIFY_USER"
729 - ERROR_INOTIFY_USER="${P} requires inotify in-kernel support."
730 - fi
731 -
732 - if use eventfd || use signalfd || use inotify; then
733 - linux-info_pkg_setup
734 - fi
735 -
736 - elog "If you will be starting mpd via /etc/init.d/mpd, please make
737 - sure that MPD's pid_file is _set_."
738 -}
739 -
740 -src_prepare() {
741 - cp -f doc/mpdconf.example doc/mpdconf.dist || die "cp failed"
742 - default
743 -}
744 -
745 -src_configure() {
746 - local emesonargs=(
747 - -Dbzip2=$(usex bzip2 enabled disabled)
748 - -Dcdio_paranoia=$(usex cdio enabled disabled)
749 - -Dchromaprint=$(usex chromaprint enabled disabled)
750 - -Dcue=$(usex cue true false)
751 - -Dcurl=$(usex curl enabled disabled)
752 - -Ddbus=$(usex dbus enabled disabled)
753 - -Ddebug=$(usex debug true false)
754 - -Deventfd=$(usex eventfd true false)
755 - -Dexpat=$(usex expat enabled disabled)
756 - -Dicu=$(usex icu enabled disabled)
757 - -Did3tag=$(usex id3tag enabled disabled)
758 - -Dinotify=$(usex inotify true false)
759 - -Dipv6=$(usex ipv6 enabled disabled)
760 - -Diso9660=$(usex cdio enabled disabled)
761 - -Dlibmpdclient=$(usex libmpdclient enabled disabled)
762 - -Dlibsamplerate=$(usex libsamplerate enabled disabled)
763 - -Dmms=$(usex mms enabled disabled)
764 - -Dnfs=$(usex nfs enabled disabled)
765 - -Dsignalfd=$(usex signalfd true false)
766 - -Dsmbclient=$(usex samba enabled disabled)
767 - -Dsoxr=$(usex libsoxr enabled disabled)
768 - -Dsqlite=$(usex sqlite enabled disabled)
769 - -Dsystemd=$(usex systemd enabled disabled)
770 - -Dtest=$(usex test true false)
771 - -Dudisks=$(usex udisks enabled disabled)
772 - -Dupnp=$(usex upnp enabled disabled)
773 - -Dwebdav=$(usex webdav enabled disabled)
774 - -Dzeroconf=$(usex zeroconf avahi disabled)
775 - -Dzlib=$(usex zlib enabled disabled)
776 - -Dzzip=$(usex zip enabled disabled)
777 - )
778 -
779 - emesonargs+=(
780 - -Dalsa=$(usex alsa enabled disabled)
781 - -Dao=$(usex ao enabled disabled)
782 - -Dfifo=$(usex fifo true false)
783 - -Djack=$(usex jack enabled disabled)
784 - -Dopenal=$(usex openal enabled disabled)
785 - -Doss=$(usex oss enabled disabled)
786 - -Dpipe=$(usex pipe true false)
787 - -Dpulse=$(usex pulseaudio enabled disabled)
788 - -Drecorder=$(usex recorder true false)
789 - )
790 -
791 - if use samba || use upnp; then
792 - emesonargs+=( -Dneighbor=true )
793 - fi
794 -
795 - append-lfs-flags
796 - append-ldflags "-L/usr/$(get_libdir)/sidplay/builders"
797 -
798 - if use network; then
799 -
800 - emesonargs+=(
801 - -Dshine=disabled
802 - -Dshout=enabled
803 - -Dvorbisenc=$(usex vorbis enabled disabled)
804 - -Dhttpd=true
805 - -Dlame=$(usex lame enabled disabled)
806 - -Dtwolame=$(usex twolame enabled disabled)
807 - -Dwave_encoder=$(usex audiofile true false)
808 - )
809 - fi
810 -
811 - emesonargs+=(
812 - # media-libs/adplug is not packaged anymore
813 - -Dadplug=disabled
814 - -Daudiofile=$(usex audiofile enabled disabled)
815 - -Dfaad=$(usex faad enabled disabled)
816 - -Dffmpeg=$(usex ffmpeg enabled disabled)
817 - -Dflac=$(usex flac enabled disabled)
818 - -Dfluidsynth=$(usex fluidsynth enabled disabled)
819 - -Dgme=$(usex gme enabled disabled)
820 - -Dmad=$(usex mad enabled disabled)
821 - -Dmikmod=$(usex mikmod enabled disabled)
822 - -Dmodplug=$(usex modplug enabled disabled)
823 - -Dmpcdec=$(usex musepack enabled disabled)
824 - -Dmpg123=$(usex mpg123 enabled disabled)
825 - -Dopus=$(usex opus enabled disabled)
826 - -Dsidplay=$(usex sid enabled disabled)
827 - -Dsndfile=$(usex sndfile enabled disabled)
828 - -Dvorbis=$(usex vorbis enabled disabled)
829 - -Dwavpack=$(usex wavpack enabled disabled)
830 - -Dwildmidi=$(usex wildmidi enabled disabled)
831 -
832 - )
833 -
834 - emesonargs+=(
835 - -Dqobuz=$(usex qobuz enabled disabled)
836 - -Dsoundcloud=$(usex soundcloud enabled disabled)
837 - -Dtidal=$(usex tidal enabled disabled)
838 - )
839 -
840 - emesonargs+=(
841 - --libdir="/usr/$(get_libdir)"
842 - -Ddocumentation=false
843 - -Dsndio=disabled #not yet in the tree
844 - -Dsolaris_output=disabled
845 -
846 - -Ddatabase=true
847 - -Ddsd=true
848 - -Dtcp=true
849 -
850 - -Dsystemd_system_unit_dir="$(systemd_get_systemunitdir)"
851 - -Dsystemd_user_unit_dir="$(systemd_get_userunitdir)"
852 - )
853 -
854 - if use icu; then
855 - emesonargs+=( -Diconv=enabled )
856 - else
857 - emesonargs+=( -Diconv=disabled )
858 - fi
859 -
860 - meson_src_configure
861 -}
862 -
863 -src_install() {
864 - meson_src_install
865 -
866 - insinto /etc
867 - newins doc/mpdconf.dist mpd.conf
868 -
869 - insinto /etc/logrotate.d
870 - newins "${FILESDIR}"/${PN}-0.21.1.logrotate ${PN}
871 -
872 - newinitd "${FILESDIR}"/${PN}-0.21.4.init ${PN}
873 -
874 - if use unicode; then
875 - sed -i -e 's:^#filesystem_charset.*$:filesystem_charset "UTF-8":' \
876 - "${ED}"/etc/mpd.conf || die "sed failed"
877 - fi
878 -
879 - doman doc/mpd.1
880 - doman doc/mpd.conf.5
881 -
882 - keepdir /var/lib/mpd
883 - keepdir /var/lib/mpd/music
884 - keepdir /var/lib/mpd/playlists
885 -
886 -}
887 -
888 -pkg_postinst() {
889 - xdg_icon_cache_update
890 -}
891 -
892 -pkg_postrm() {
893 - xdg_icon_cache_update
894 -}