первая публикация
This commit is contained in:
9
media-sound/mpd/files/mpd-0.21.1.logrotate
Normal file
9
media-sound/mpd/files/mpd-0.21.1.logrotate
Normal file
@@ -0,0 +1,9 @@
|
||||
/var/lib/mpd/log {
|
||||
missingok
|
||||
weekly
|
||||
delaycompress
|
||||
compress
|
||||
postrotate
|
||||
/etc/init.d/mpd --quiet reload
|
||||
endscript
|
||||
}
|
||||
34
media-sound/mpd/files/mpd-0.21.4.init
Normal file
34
media-sound/mpd/files/mpd-0.21.4.init
Normal file
@@ -0,0 +1,34 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
: CFGFILE=${CFGFILE:=/etc/mpd.conf}
|
||||
|
||||
depend() {
|
||||
need localmount
|
||||
use net netmount nfsmount alsasound esound pulseaudio
|
||||
config ${CFGFILE}
|
||||
}
|
||||
|
||||
get_config() {
|
||||
x=$1
|
||||
test -e ${CFGFILE} || return 1
|
||||
sed -n \
|
||||
-e '/^[ \t]*'${x}'/{s:^[ \t]*'${x}'[ \t]\+"\?\([^#"]\+\)[^"]*"\?$:\1: ; p }' \
|
||||
${CFGFILE}
|
||||
}
|
||||
|
||||
extra_started_commands='reload'
|
||||
# Required by io_uring
|
||||
rc_ulimit="-l 65535"
|
||||
command=/usr/bin/mpd
|
||||
command_args=${CFGFILE}
|
||||
required_files=${CFGFILE}
|
||||
pidfile=$(get_config pid_file)
|
||||
description="Music Player Daemon"
|
||||
|
||||
reload() {
|
||||
ebegin "Reloading ${RC_SVCNAME}"
|
||||
start-stop-daemon --pidfile ${pidfile} --signal HUP
|
||||
eend $?
|
||||
}
|
||||
30
media-sound/mpd/files/mpd-0.23.11-boost-1.81.patch
Normal file
30
media-sound/mpd/files/mpd-0.23.11-boost-1.81.patch
Normal file
@@ -0,0 +1,30 @@
|
||||
https://bugs.gentoo.org/886521
|
||||
https://github.com/MusicPlayerDaemon/MPD/issues/1693
|
||||
https://github.com/MusicPlayerDaemon/MPD/commit/e4b055eb6d08c5c8f8d85828ce4005d410e462cb
|
||||
|
||||
From e4b055eb6d08c5c8f8d85828ce4005d410e462cb Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
|
||||
<congdanhqx@gmail.com>
|
||||
Date: Thu, 1 Dec 2022 08:29:23 +0700
|
||||
Subject: [PATCH] v0.23.x: RemoteTagCache: add missing include
|
||||
|
||||
Fix build with Boost 1.81.0. `<array>` was included by one of those boost headers,
|
||||
however, it's no longer included as of Boost 1.81.0.
|
||||
|
||||
`master` doesn't use `std::array` in this file.
|
||||
|
||||
While we're at it, add all necessary inclusion files.
|
||||
--- a/src/RemoteTagCache.hxx
|
||||
+++ b/src/RemoteTagCache.hxx
|
||||
@@ -28,7 +28,11 @@
|
||||
#include <boost/intrusive/list.hpp>
|
||||
#include <boost/intrusive/unordered_set.hpp>
|
||||
|
||||
+#include <array>
|
||||
+#include <functional>
|
||||
+#include <memory>
|
||||
#include <string>
|
||||
+#include <utility>
|
||||
|
||||
class RemoteTagCacheHandler;
|
||||
|
||||
Reference in New Issue
Block a user