[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2024-03-12 Thread Sam James
commit: 1dd9bd8fd9d359bea16ab0f22b48b661052b110f
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 13 00:53:18 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 13 00:53:18 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dd9bd8f

media-sound/pulseaudio-daemon: Stabilize 17.0-r1 x86, #925411

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
index b7eae5fab5a0..bcfa95dc4123 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2024-03-05 Thread Arthur Zamarin
commit: 46dcb11d1318821de54433a371ac139612d9a1ff
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Mar  5 17:59:57 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Mar  5 17:59:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46dcb11d

media-sound/pulseaudio-daemon: Stabilize 17.0-r1 sparc, #925411

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
index 66d4299b0b55..b7eae5fab5a0 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2024-03-05 Thread Arthur Zamarin
commit: 5b4613ded9476bf99d73c73374ca85c5f6e6deaf
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Mar  5 17:59:54 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Mar  5 17:59:54 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b4613de

media-sound/pulseaudio-daemon: Stabilize 17.0-r1 arm, #925411

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
index 86ce99199442..66d4299b0b55 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2024-03-05 Thread Arthur Zamarin
commit: 168d800a5d17c74eaa93b944a1dd6fd34b8e0d4d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Mar  5 17:59:14 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Mar  5 17:59:14 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=168d800a

media-sound/pulseaudio-daemon: Stabilize 17.0-r1 arm64, #925411

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
index 3d2bd954e81c..86ce99199442 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2024-03-04 Thread Sam James
commit: f114aa5185786efc375abbdeab25e15531231026
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar  4 11:19:57 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar  4 11:19:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f114aa51

media-sound/pulseaudio-daemon: drop 16.1-r8, 17.0

Signed-off-by: Sam James  gentoo.org>

 .../pulseaudio-daemon-16.1-r8.ebuild   | 393 -
 .../pulseaudio-daemon-17.0.ebuild  | 384 
 2 files changed, 777 deletions(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r8.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r8.ebuild
deleted file mode 100644
index ae6c88877e41..
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r8.ebuild
+++ /dev/null
@@ -1,393 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-MY_PV="${PV/_pre*}"
-MY_P="pulseaudio-${MY_PV}"
-inherit bash-completion-r1 gnome2-utils meson optfeature systemd tmpfiles udev
-
-DESCRIPTION="Daemon component of PulseAudio (networked sound server)"
-HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/;
-
-if [[ ${PV} =  ]]; then
-   inherit git-r3
-   EGIT_BRANCH="master"
-   EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
-else
-   
SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
-fi
-
-S="${WORKDIR}/${MY_P}"
-
-# libpulse-simple and libpulse link to libpulse-core; this is daemon's
-# library and can link to gdbm and other GPL-only libraries. In this
-# cases, we have a fully GPL-2 package. Leaving the rest of the
-# GPL-forcing USE flags for those who use them.
-LICENSE="!gdbm? ( LGPL-2.1 ) gdbm? ( GPL-2 )"
-
-SLOT="0"
-
-# +alsa-plugin as discussed in bug #519530
-# TODO: Find out why webrtc-aec is + prefixed - there's already the always 
available speexdsp-aec
-# NOTE: The current ebuild sets +X almost certainly just for the 
pulseaudio.desktop file
-IUSE="+alsa +alsa-plugin aptx +asyncns bluetooth dbus elogind equalizer fftw 
+gdbm +glib gstreamer jack ldac lirc
-ofono-headset +orc oss selinux sox ssl systemd system-wide tcpd test +udev 
valgrind +webrtc-aec +X zeroconf"
-
-RESTRICT="!test? ( test )"
-
-# See "*** BLUEZ support not found (requires D-Bus)" in configure.ac
-# Basically all IUSE are either ${MULTILIB_USEDEP} for client libs or they 
belong under !daemon ()
-# We duplicate alsa-plugin, {native,ofono}-headset under daemon to let users 
deal with them at once
-REQUIRED_USE="
-   ?? ( elogind systemd )
-   alsa-plugin? ( alsa )
-   aptx? ( bluetooth )
-   bluetooth? ( dbus )
-   equalizer? ( dbus )
-   ldac? ( bluetooth )
-   ofono-headset? ( bluetooth )
-   udev? ( || ( alsa oss ) )
-   zeroconf? ( dbus )
-"
-
-# NOTE:
-# - libpcre needed in some cases, bug #472228
-# - media-libs/speexdsp is providing echo canceller implementation and used in 
resampler
-# TODO: libatomic_ops is only needed on some architectures and conditions, and 
then at runtime too
-gstreamer_deps="
-   media-libs/gst-plugins-base
-   >=media-libs/gstreamer-1.14
-"
-COMMON_DEPEND="
-   ~media-libs/libpulse-${PV}[dbus?,glib?,systemd?,valgrind?,X?]
-   >=media-libs/libpulse-16.1-r3
-   dev-libs/libatomic_ops
-   >=media-libs/libsndfile-1.0.20
-   >=media-libs/speexdsp-1.2
-   alsa? ( >=media-libs/alsa-lib-1.0.24 )
-   aptx? ( ${gstreamer_deps} )
-   asyncns? ( >=net-libs/libasyncns-0.1 )
-   bluetooth? (
-   >=net-wireless/bluez-5
-   media-libs/sbc
-   )
-   dev-libs/libltdl
-   sys-kernel/linux-headers
-   >=sys-libs/libcap-2.22-r2
-   dbus? ( >=sys-apps/dbus-1.4.12 )
-   elibc_mingw? ( dev-libs/libpcre:3 )
-   elogind? ( sys-auth/elogind )
-   equalizer? (
-   sci-libs/fftw:3.0=
-   )
-   fftw? (
-   sci-libs/fftw:3.0=
-   )
-   gdbm? ( sys-libs/gdbm:= )
-   glib? ( >=dev-libs/glib-2.28.0:2 )
-   gstreamer? (
-   ${gstreamer_deps}
-   >=dev-libs/glib-2.26.0:2
-   )
-   jack? ( virtual/jack )
-   ldac? ( ${gstreamer_deps} )
-   lirc? ( app-misc/lirc )
-   ofono-headset? ( >=net-misc/ofono-1.13 )
-   orc? ( >=dev-lang/orc-0.4.15 )
-   selinux? ( sec-policy/selinux-pulseaudio )
-   sox? ( >=media-libs/soxr-0.1.1 )
-   ssl? ( dev-libs/openssl:= )
-   systemd? ( sys-apps/systemd:= )
-   tcpd? ( sys-apps/tcp-wrappers )
-   udev? ( >=virtual/udev-143[hwdb(+)] )
-   valgrind? ( dev-debug/valgrind )
-   webrtc-aec? ( >=media-libs/webrtc-audio-processing-0.2:0 )
-   X? (
-   >=x11-libs/libxcb-1.6
-   x11-libs/libICE

[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2024-03-02 Thread Sam James
commit: bd96ddab18e2a905a4c056e6f680161655b18e5e
Author: Sam James  gentoo  org>
AuthorDate: Sat Mar  2 22:07:14 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar  2 22:07:14 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd96ddab

media-sound/pulseaudio-daemon: Stabilize 17.0-r1 ppc, #925411

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
index fcf7ba4d6948..3d2bd954e81c 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2024-03-02 Thread Arthur Zamarin
commit: db8b1673b08ca13b6fc5b948a955dd6f8fe241ed
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar  2 18:18:21 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar  2 18:18:21 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db8b1673

media-sound/pulseaudio-daemon: Stabilize 17.0-r1 ppc64, #925411

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
index 989b206ec169..fcf7ba4d6948 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2024-02-24 Thread Sam James
commit: 5634dbe4021680ad74f0ab55933dd89a01c45e99
Author: Sam James  gentoo  org>
AuthorDate: Sat Feb 24 11:28:48 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb 24 11:28:48 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5634dbe4

media-sound/pulseaudio-daemon: Stabilize 17.0-r1 amd64, #925411

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
index 186c05739322..989b206ec169 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0-r1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/files/, media-sound/pulseaudio-daemon/

2024-02-24 Thread Sam James
commit: 7805d72c8427ae393bd4ab6facf7de83ae5c912c
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Sat Feb 24 09:55:15 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb 24 10:03:31 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7805d72c

media-sound/pulseaudio-daemon: Backport alsa UCM handling assertion fix to 17.0

Bug: https://bugs.gentoo.org/925345
Signed-off-by: Igor V. Kovalenko  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/35512
Signed-off-by: Sam James  gentoo.org>

 .../files/pulseaudio-17.0-pr801.patch  |  95 +
 .../files/pulseaudio-17.0-pr802.patch  |  64 
 .../pulseaudio-daemon-17.0-r1.ebuild   | 386 +
 3 files changed, 545 insertions(+)

diff --git a/media-sound/pulseaudio-daemon/files/pulseaudio-17.0-pr801.patch 
b/media-sound/pulseaudio-daemon/files/pulseaudio-17.0-pr801.patch
new file mode 100644
index ..6e1bd338992c
--- /dev/null
+++ b/media-sound/pulseaudio-daemon/files/pulseaudio-17.0-pr801.patch
@@ -0,0 +1,95 @@
+From f5cacd94abcc47003bd88ad7ca1450de649ffb15 Mon Sep 17 00:00:00 2001
+From: Alper Nebi Yasak 
+Date: Thu, 30 Nov 2023 20:17:22 +0300
+Subject: [PATCH] alsa-ucm: Check UCM verb before working with device status
+
+Some versions of the ALSA libraries run into a segmentation fault when
+we query a UCM device/modifier status without first setting a UCM verb.
+It's not a reasonable thing to do anyway, so check for this case and
+return an error. Also do the check in other helpers.
+
+Signed-off-by: Alper Nebi Yasak 
+Part-of: 

+---
+ src/modules/alsa/alsa-ucm.c | 30 ++
+ 1 file changed, 30 insertions(+)
+
+diff --git a/src/modules/alsa/alsa-ucm.c b/src/modules/alsa/alsa-ucm.c
+index bb9438f79..7f5136249 100644
+--- a/src/modules/alsa/alsa-ucm.c
 b/src/modules/alsa/alsa-ucm.c
+@@ -624,6 +624,11 @@ static long ucm_device_status(pa_alsa_ucm_config *ucm, 
pa_alsa_ucm_device *dev)
+ char *devstatus;
+ long status = 0;
+ 
++if (!ucm->active_verb) {
++pa_log_error("Failed to get status for UCM device %s: no UCM verb 
set", dev_name);
++return -1;
++}
++
+ devstatus = pa_sprintf_malloc("_devstatus/%s", dev_name);
+ if (snd_use_case_geti(ucm->ucm_mgr, devstatus, ) < 0) {
+ pa_log_debug("Failed to get status for UCM device %s", dev_name);
+@@ -637,6 +642,11 @@ static long ucm_device_status(pa_alsa_ucm_config *ucm, 
pa_alsa_ucm_device *dev)
+ static int ucm_device_disable(pa_alsa_ucm_config *ucm, pa_alsa_ucm_device 
*dev) {
+ const char *dev_name = pa_proplist_gets(dev->proplist, 
PA_ALSA_PROP_UCM_NAME);
+ 
++if (!ucm->active_verb) {
++pa_log_error("Failed to disable UCM device %s: no UCM verb set", 
dev_name);
++return -1;
++}
++
+ /* If any of dev's conflicting devices is enabled, trying to disable
+  * dev gives an error despite the fact that it's already disabled.
+  * Check that dev is enabled to avoid this error. */
+@@ -657,6 +667,11 @@ static int ucm_device_disable(pa_alsa_ucm_config *ucm, 
pa_alsa_ucm_device *dev)
+ static int ucm_device_enable(pa_alsa_ucm_config *ucm, pa_alsa_ucm_device 
*dev) {
+ const char *dev_name = pa_proplist_gets(dev->proplist, 
PA_ALSA_PROP_UCM_NAME);
+ 
++if (!ucm->active_verb) {
++pa_log_error("Failed to enable UCM device %s: no UCM verb set", 
dev_name);
++return -1;
++}
++
+ /* We don't need to enable devices that are already enabled */
+ if (ucm_device_status(ucm, dev) > 0) {
+ pa_log_debug("UCM device %s is already enabled", dev_name);
+@@ -707,6 +722,11 @@ static long ucm_modifier_status(pa_alsa_ucm_config *ucm, 
pa_alsa_ucm_modifier *m
+ char *modstatus;
+ long status = 0;
+ 
++if (!ucm->active_verb) {
++pa_log_error("Failed to get status for UCM modifier %s: no UCM verb 
set", mod_name);
++return -1;
++}
++
+ modstatus = pa_sprintf_malloc("_modstatus/%s", mod_name);
+ if (snd_use_case_geti(ucm->ucm_mgr, modstatus, ) < 0) {
+ pa_log_debug("Failed to get status for UCM modifier %s", mod_name);
+@@ -720,6 +740,11 @@ static long ucm_modifier_status(pa_alsa_ucm_config *ucm, 
pa_alsa_ucm_modifier *m
+ static int ucm_modifier_disable(pa_alsa_ucm_config *ucm, pa_alsa_ucm_modifier 
*mod) {
+ const char *mod_name = pa_proplist_gets(mod->proplist, 
PA_ALSA_PROP_UCM_NAME);
+ 
++if (!ucm->active_verb) {
++pa_log_error("Failed to disable UCM modifier %s: no UCM verb set", 
mod_name);
++return -1;
++}
++
+ /* We don't need to disable modifiers that are already disabled */
+ if (ucm_modifier_status(ucm, mod) == 0) {
+ pa_log_debug("UCM modifier %s is already disabled", mod_name);
+@@ -738,6 +763,11 @@ static int ucm_modifier_disable(pa_alsa_ucm_config *ucm, 
pa_alsa_ucm_modifier *m
+ static int 

[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2024-02-22 Thread Arthur Zamarin
commit: 154d3570e3c755dfe0ee676b83ec6ceff771d4dc
Author: Matoro Mahri  matoro  tk>
AuthorDate: Thu Feb 22 05:06:48 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Feb 22 20:32:48 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=154d3570

media-sound/pulseaudio-daemon: Stabilize 16.99.1 amd64, #920968

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Arthur Zamarin  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
index 39dd1c85ca53..59de0db5e161 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2024-02-06 Thread Ionen Wolkens
commit: 47355825ee8ba3730edd7cc6a72cd5e1c6207c30
Author: Matoro Mahri  matoro  tk>
AuthorDate: Tue Feb  6 19:01:55 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Feb  7 04:44:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47355825

media-sound/pulseaudio-daemon: Stabilize 16.99.1 arm, #920968

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
index e2c1d3e821ba..6d1ebbc5d791 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2024-02-06 Thread Ionen Wolkens
commit: f4020f2f4028e720e97c2c3c96ade6190e1d2948
Author: Matoro Mahri  matoro  tk>
AuthorDate: Wed Feb  7 01:34:42 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Feb  7 04:44:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4020f2f

media-sound/pulseaudio-daemon: Stabilize 16.99.1 x86, #920968

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
index 88fc5d438a76..39dd1c85ca53 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2024-02-06 Thread Ionen Wolkens
commit: 36dbb9039f344c9c35b6c5a0609d523ecf7eb071
Author: Matoro Mahri  matoro  tk>
AuthorDate: Tue Feb  6 17:00:01 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Feb  7 04:44:38 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36dbb903

media-sound/pulseaudio-daemon: Stabilize 16.99.1 arm64, #920968

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
index 921922348dea..e2c1d3e821ba 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2024-02-06 Thread Ionen Wolkens
commit: 6364321b580e9d5b9f6cc4518f1e425acbdcbab0
Author: Matoro Mahri  matoro  tk>
AuthorDate: Tue Feb  6 19:04:50 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Feb  7 04:44:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6364321b

media-sound/pulseaudio-daemon: Stabilize 16.99.1 sparc, #920968

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
index 6d1ebbc5d791..88fc5d438a76 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2024-02-01 Thread Sam James
commit: 9db17b0a522f952f65103201198d23ac59816c00
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Mon Jan 29 21:29:03 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb  2 02:28:35 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9db17b0a

media-sound/pulseaudio-daemon: Version bump to 17.0

Signed-off-by: Igor V. Kovalenko  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/35084
Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/Manifest |   1 +
 .../pulseaudio-daemon-17.0.ebuild  | 384 +
 2 files changed, 385 insertions(+)

diff --git a/media-sound/pulseaudio-daemon/Manifest 
b/media-sound/pulseaudio-daemon/Manifest
index 97ee1069f0e6..776caac18a80 100644
--- a/media-sound/pulseaudio-daemon/Manifest
+++ b/media-sound/pulseaudio-daemon/Manifest
@@ -1,2 +1,3 @@
 DIST pulseaudio-16.1.tar.xz 1545596 BLAKE2B 
535706abcea2cae39834b23c8bdc37f71b0e633de2d8e43ea4425da97a850b57c2f980c318681cbc86cf1e746200609dad41f8b96ecf4568f86d94aa6831c9a1
 SHA512 
33b0b4292f05e0882f3ec822cf5720414bb34c523d80fe287b9740d6be219787c562e8024c9b0d9e2ee010771ca72c7ae4f27df1bbef9c9cb6bb6a23cbcc412f
 DIST pulseaudio-16.99.1.tar.xz 1565020 BLAKE2B 
02aad918e2b76dcf250bd55e03460206c7781cd1b43aa2efe46b25258626892e07f478b9966fa5027c9ae0a370145f5204dba05d2f5dfbfd3ba956225ccb3cad
 SHA512 
1a3347e4c892ba0e321d39184f8bd52cfd16f59e66e52a753d6f706dfbf3f170f87b7ff27c0a6cdf3e462e6dd531ecde6829d48a374d0be2622688fb85abaac2
+DIST pulseaudio-17.0.tar.xz 1566556 BLAKE2B 
781ece3d507916aa681d3b0132689730a621b4d92e45f86570e4d2fdebc4c0025ebe7f7a05046545f9b26caca513e8975f12498fa314524bc67eacaea72842fa
 SHA512 
be0aec46204d9c9188a796fbe41b4cf6f0f5e6b16fa08ce359b8f0f51253f0ade364b89448bbf5faa2af7e59deb6c72194734c3233944250dcfd4f31968a5e97

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0.ebuild
new file mode 100644
index ..23ef8d0517b1
--- /dev/null
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-17.0.ebuild
@@ -0,0 +1,384 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+MY_PV="${PV/_pre*}"
+MY_P="pulseaudio-${MY_PV}"
+inherit bash-completion-r1 gnome2-utils meson optfeature systemd tmpfiles udev
+
+DESCRIPTION="Daemon component of PulseAudio (networked sound server)"
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/;
+
+if [[ ${PV} =  ]]; then
+   inherit git-r3
+   EGIT_BRANCH="master"
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
+else
+   
SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+fi
+
+S="${WORKDIR}/${MY_P}"
+
+# libpulse-simple and libpulse link to libpulse-core; this is daemon's
+# library and can link to gdbm and other GPL-only libraries. In this
+# cases, we have a fully GPL-2 package. Leaving the rest of the
+# GPL-forcing USE flags for those who use them.
+LICENSE="!gdbm? ( LGPL-2.1 ) gdbm? ( GPL-2 )"
+
+SLOT="0"
+
+# +alsa-plugin as discussed in bug #519530
+# TODO: Find out why webrtc-aec is + prefixed - there's already the always 
available speexdsp-aec
+# NOTE: The current ebuild sets +X almost certainly just for the 
pulseaudio.desktop file
+IUSE="+alsa +alsa-plugin aptx +asyncns bluetooth dbus elogind equalizer fftw 
+gdbm +glib gstreamer jack ldac lirc
+ofono-headset +orc oss selinux sox ssl systemd system-wide tcpd test +udev 
valgrind +webrtc-aec +X zeroconf"
+
+RESTRICT="!test? ( test )"
+
+# See "*** BLUEZ support not found (requires D-Bus)" in configure.ac
+# Basically all IUSE are either ${MULTILIB_USEDEP} for client libs or they 
belong under !daemon ()
+# We duplicate alsa-plugin, {native,ofono}-headset under daemon to let users 
deal with them at once
+REQUIRED_USE="
+   ?? ( elogind systemd )
+   alsa-plugin? ( alsa )
+   aptx? ( bluetooth )
+   bluetooth? ( dbus )
+   equalizer? ( dbus )
+   ldac? ( bluetooth )
+   ofono-headset? ( bluetooth )
+   udev? ( || ( alsa oss ) )
+   zeroconf? ( dbus )
+"
+
+# NOTE:
+# - libpcre needed in some cases, bug #472228
+# - media-libs/speexdsp is providing echo canceller implementation and used in 
resampler
+# TODO: libatomic_ops is only needed on some architectures and conditions, and 
then at runtime too
+gstreamer_deps="
+   media-libs/gst-plugins-base
+   >=media-libs/gstreamer-1.14
+"
+COMMON_DEPEND="
+   ~media-libs/libpulse-${PV}[dbus?,glib?,systemd?,valgrind?,X?]
+   >=media-libs/libpulse-16.99.1
+   dev-libs/libatomic_ops
+   >=media-libs/libsndfile-1.0.20
+   >=media-libs/speexdsp-1.2
+   alsa? ( >=media-libs/alsa-lib-1.0.24 )
+   aptx? ( ${gstreamer_deps} )
+   asyncns? ( >=net-libs/libasyncns-0.1 )

[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2024-01-16 Thread Ionen Wolkens
commit: e25bb50e416599c21d85a3e472a384c7501f707e
Author: Matoro Mahri  matoro  tk>
AuthorDate: Wed Jan 17 02:12:25 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Jan 17 02:44:58 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e25bb50e

media-sound/pulseaudio-daemon: Stabilize 16.99.1 ppc64, #920968

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
index be782d32467d..e0ee6e6b7212 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.99.1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2023-11-24 Thread Sam James
commit: c288d3637338156e7673fa02b8655dddeca27017
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov 25 05:34:00 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov 25 05:34:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c288d363

media-sound/pulseaudio-daemon: drop 16.1-r3, 16.1-r6

Signed-off-by: Sam James  gentoo.org>

 .../pulseaudio-daemon-16.1-r3.ebuild   | 389 
 .../pulseaudio-daemon-16.1-r6.ebuild   | 392 -
 2 files changed, 781 deletions(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r3.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r3.ebuild
deleted file mode 100644
index fc21e3b97d09..
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r3.ebuild
+++ /dev/null
@@ -1,389 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-MY_PV="${PV/_pre*}"
-MY_P="pulseaudio-${MY_PV}"
-inherit bash-completion-r1 gnome2-utils meson optfeature systemd tmpfiles udev
-
-DESCRIPTION="Daemon component of PulseAudio (networked sound server)"
-HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/;
-
-if [[ ${PV} =  ]]; then
-   inherit git-r3
-   EGIT_BRANCH="master"
-   EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
-else
-   
SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
-fi
-
-S="${WORKDIR}/${MY_P}"
-
-# libpulse-simple and libpulse link to libpulse-core; this is daemon's
-# library and can link to gdbm and other GPL-only libraries. In this
-# cases, we have a fully GPL-2 package. Leaving the rest of the
-# GPL-forcing USE flags for those who use them.
-LICENSE="!gdbm? ( LGPL-2.1 ) gdbm? ( GPL-2 )"
-
-SLOT="0"
-
-# +alsa-plugin as discussed in bug #519530
-# TODO: Find out why webrtc-aec is + prefixed - there's already the always 
available speexdsp-aec
-# NOTE: The current ebuild sets +X almost certainly just for the 
pulseaudio.desktop file
-IUSE="+alsa +alsa-plugin aptx +asyncns bluetooth dbus elogind equalizer fftw 
+gdbm +glib gstreamer jack ldac lirc
-ofono-headset +orc oss selinux sox ssl systemd system-wide tcpd test +udev 
valgrind +webrtc-aec +X zeroconf"
-
-RESTRICT="!test? ( test )"
-
-# See "*** BLUEZ support not found (requires D-Bus)" in configure.ac
-# Basically all IUSE are either ${MULTILIB_USEDEP} for client libs or they 
belong under !daemon ()
-# We duplicate alsa-plugin, {native,ofono}-headset under daemon to let users 
deal with them at once
-REQUIRED_USE="
-   ?? ( elogind systemd )
-   alsa-plugin? ( alsa )
-   aptx? ( bluetooth )
-   bluetooth? ( dbus )
-   equalizer? ( dbus )
-   ldac? ( bluetooth )
-   ofono-headset? ( bluetooth )
-   udev? ( || ( alsa oss ) )
-   zeroconf? ( dbus )
-"
-
-# NOTE:
-# - libpcre needed in some cases, bug #472228
-# - media-libs/speexdsp is providing echo canceller implementation and used in 
resampler
-# TODO: libatomic_ops is only needed on some architectures and conditions, and 
then at runtime too
-gstreamer_deps="
-   media-libs/gst-plugins-base
-   >=media-libs/gstreamer-1.14
-"
-COMMON_DEPEND="
-   ~media-libs/libpulse-${PV}[dbus?,glib?,systemd?,valgrind?,X?]
-   dev-libs/libatomic_ops
-   >=media-libs/libsndfile-1.0.20
-   >=media-libs/speexdsp-1.2
-   alsa? ( >=media-libs/alsa-lib-1.0.24 )
-   aptx? ( ${gstreamer_deps} )
-   asyncns? ( >=net-libs/libasyncns-0.1 )
-   bluetooth? (
-   >=net-wireless/bluez-5
-   media-libs/sbc
-   )
-   dev-libs/libltdl
-   sys-kernel/linux-headers
-   >=sys-libs/libcap-2.22-r2
-   dbus? ( >=sys-apps/dbus-1.4.12 )
-   elibc_mingw? ( dev-libs/libpcre:3 )
-   elogind? ( sys-auth/elogind )
-   equalizer? (
-   sci-libs/fftw:3.0=
-   )
-   fftw? (
-   sci-libs/fftw:3.0=
-   )
-   gdbm? ( sys-libs/gdbm:= )
-   glib? ( >=dev-libs/glib-2.28.0:2 )
-   gstreamer? (
-   ${gstreamer_deps}
-   >=dev-libs/glib-2.26.0:2
-   )
-   jack? ( virtual/jack )
-   ldac? ( ${gstreamer_deps} )
-   lirc? ( app-misc/lirc )
-   ofono-headset? ( >=net-misc/ofono-1.13 )
-   orc? ( >=dev-lang/orc-0.4.15 )
-   selinux? ( sec-policy/selinux-pulseaudio )
-   sox? ( >=media-libs/soxr-0.1.1 )
-   ssl? ( dev-libs/openssl:= )
-   systemd? ( sys-apps/systemd:= )
-   tcpd? ( sys-apps/tcp-wrappers )
-   udev? ( >=virtual/udev-143[hwdb(+)] )
-   valgrind? ( dev-util/valgrind )
-   webrtc-aec? ( >=media-libs/webrtc-audio-processing-0.2:0 )
-   X? (
-   >=x11-libs/libxcb-1.6
-   x11-libs/libICE
-   x11-libs/libSM
-   

[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2023-10-29 Thread Sam James
commit: 6a7fd698885348dddc32c2b0527c1434ae6bbb4b
Author: Sam James  gentoo  org>
AuthorDate: Mon Oct 30 05:14:54 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Oct 30 05:14:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a7fd698

media-sound/pulseaudio-daemon: add freedesktop-gitlab upstream metadata

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/media-sound/pulseaudio-daemon/metadata.xml 
b/media-sound/pulseaudio-daemon/metadata.xml
index e8d9b11581af..b623122bdb00 100644
--- a/media-sound/pulseaudio-daemon/metadata.xml
+++ b/media-sound/pulseaudio-daemon/metadata.xml
@@ -80,4 +80,7 @@
   LDAC over Bluetooth (primarily Sony headphones), requires 
media-plugins/gst-plugins-ldac.
 
   
+  
+pulseaudio/pulseaudio
+  
 



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/, media-sound/pulseaudio-daemon/files/

2023-10-06 Thread Sam James
commit: 1fec97488a02d57d0ed0716f2445f220eac44eb3
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Fri Oct  6 08:35:43 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct  6 12:05:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fec9748

media-sound/pulseaudio-daemon: Backport UAC2 avoid-resampling fix

Upstream commit aed52c507f345d0b5c4cd2b1d2c58dae2d904b53
Upstream commit 5ab2b9cb0e32190c3ea12b0f4cb7533d7340bbf1

See upstream https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/1414

Signed-off-by: Igor V. Kovalenko  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33209
Signed-off-by: Sam James  gentoo.org>

 ...dio-16.1-fix-uac2-broken-avoid-resampling.patch | 382 +
 .../pulseaudio-daemon-16.1-r8.ebuild   |   1 +
 2 files changed, 383 insertions(+)

diff --git 
a/media-sound/pulseaudio-daemon/files/pulseaudio-16.1-fix-uac2-broken-avoid-resampling.patch
 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.1-fix-uac2-broken-avoid-resampling.patch
new file mode 100644
index ..a260ced351a5
--- /dev/null
+++ 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.1-fix-uac2-broken-avoid-resampling.patch
@@ -0,0 +1,382 @@
+commit aed52c507f345d0b5c4cd2b1d2c58dae2d904b53
+Author: Igor V. Kovalenko 
+Date:   Wed Feb 22 01:19:24 2023 +0300
+
+alsa-util: Perform format and rate detection before setting HW params
+
+Perform detection of supported sample format and rates just after device is
+opened, before `snd_pcm_hw_params()` is called for the first time. This 
fixes a
+problem where device restricts available sample rates after HW params are 
set
+preventing sample rate detection (seen with UAC2 devices and kernel 6.1.9)
+
+Bug: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/1414
+Bug: https://github.com/alsa-project/alsa-lib/issues/119
+Part-of: 

+
+diff --git a/src/modules/alsa/alsa-mixer.c b/src/modules/alsa/alsa-mixer.c
+index 49c39687c..c272e392b 100644
+--- a/src/modules/alsa/alsa-mixer.c
 b/src/modules/alsa/alsa-mixer.c
+@@ -5074,7 +5074,7 @@ static snd_pcm_t* mapping_open_pcm(pa_alsa_mapping *m,
+ handle = pa_alsa_open_by_template(
+   m->device_strings, dev_id, NULL, _ss,
+   _map, mode, _period_size,
+-  _buffer_size, 0, NULL, NULL, 
exact_channels);
++  _buffer_size, 0, NULL, NULL, NULL, NULL, 
exact_channels);
+ if (handle && !exact_channels && m->channel_map.channels != 
try_map.channels) {
+ char buf[PA_CHANNEL_MAP_SNPRINT_MAX];
+ pa_log_debug("Channel map for mapping '%s' permanently changed to 
'%s'", m->name,
+diff --git a/src/modules/alsa/alsa-sink.c b/src/modules/alsa/alsa-sink.c
+index b249df680..ca22f195f 100644
+--- a/src/modules/alsa/alsa-sink.c
 b/src/modules/alsa/alsa-sink.c
+@@ -2527,7 +2527,9 @@ pa_sink *pa_alsa_sink_new(pa_module *m, pa_modargs *ma, 
const char*driver, pa_ca
+   , ,
+   SND_PCM_STREAM_PLAYBACK,
+   _frames, _frames, tsched_frames,
+-  , , mapping)))
++  , ,
++  >supported_formats, >supported_rates,
++  mapping)))
+ goto fail;
+ 
+ } else if ((dev_id = pa_modargs_get_value(ma, "device_id", NULL))) {
+@@ -2541,7 +2543,9 @@ pa_sink *pa_alsa_sink_new(pa_module *m, pa_modargs *ma, 
const char*driver, pa_ca
+   , ,
+   SND_PCM_STREAM_PLAYBACK,
+   _frames, _frames, tsched_frames,
+-  , , profile_set, )))
++  , ,
++  >supported_formats, >supported_rates,
++  profile_set, )))
+ goto fail;
+ 
+ } else {
+@@ -2552,7 +2556,9 @@ pa_sink *pa_alsa_sink_new(pa_module *m, pa_modargs *ma, 
const char*driver, pa_ca
+   , ,
+   SND_PCM_STREAM_PLAYBACK,
+   _frames, _frames, tsched_frames,
+-  , , false)))
++  , ,
++  >supported_formats, >supported_rates,
++  false)))
+ goto fail;
+ }
+ 
+@@ -2598,13 +2604,11 @@ pa_sink *pa_alsa_sink_new(pa_module *m, pa_modargs 
*ma, const char*driver, pa_ca
+ 
+ u->verified_sample_spec = ss;
+ 
+-u->supported_formats = pa_alsa_get_supported_formats(u->pcm_handle, 
ss.format);
+ if (!u->supported_formats) {
+ pa_log_error("Failed to find any supported sample formats.");
+ goto fail;
+ }
+ 
+-u->supported_rates = pa_alsa_get_supported_rates(u->pcm_handle, ss.rate);
+ if (!u->supported_rates) {
+ pa_log_error("Failed to find any supported sample rates.");
+

[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/files/, media-sound/pulseaudio-daemon/

2023-10-06 Thread Sam James
commit: cf2d6215f969b58406cb6894c46ec913581f60db
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Fri Oct  6 08:35:34 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct  6 12:05:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf2d6215

media-sound/pulseaudio-daemon: Backport oversized resampler memblock fix

Upstream commit 1cfa7378236b3cf9daf3be09d3227b92df69cc53

Signed-off-by: Igor V. Kovalenko  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 ...dio-16.1-fix-resampler-oversized-memblock.patch | 55 ++
 .../pulseaudio-daemon-16.1-r8.ebuild   |  1 +
 2 files changed, 56 insertions(+)

diff --git 
a/media-sound/pulseaudio-daemon/files/pulseaudio-16.1-fix-resampler-oversized-memblock.patch
 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.1-fix-resampler-oversized-memblock.patch
new file mode 100644
index ..bd3d39d0af82
--- /dev/null
+++ 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.1-fix-resampler-oversized-memblock.patch
@@ -0,0 +1,55 @@
+commit 1cfa7378236b3cf9daf3be09d3227b92df69cc53
+Author: Igor V. Kovalenko 
+Date:   Wed Feb 8 03:24:59 2023 +0300
+
+resampler: Fix oversized memblock pushed from resampler
+
+The assumption that the format enum is ordered by size is not valid for 
quite
+some time, since 24bit formats were appended to format enum later than 
32bit
+formats. This causes resampler to produce properly aligned memblock of size
+larger than maximum mempool block size if input format is 24bit and output
+format is 32bit.
+
+Oversized block is getting split by `pa_pstream_send_memblock()` into 
parts of
+size not exceeding maximum mempool block size. This usually works well but 
for
+32ch 32bit 48000Hz stream the frame alignment is 128 bytes and maximum 
mempool
+block size value is multiple of 64 but not 128 bytes, therefore resulting 
parts
+are misaligned.
+
+On receiving side this causes extra allocation of 128 byte chunk while 
`mcalign`
+helper reassembles properly aligned frame out of second block of misaligned
+size. While first and second properly aligned frames are retrieved 
successfully
+from `mcalign` helper, third retrieved frame would end up with properly 
aligned
+size but misaligned memblock index (in this example, that would be 64 
bytes.)
+Attempt to push a chunk with misaligned memblock index causes assertion 
failure
+
+  Assertion 'uchunk->index % bq->base == 0' failed at memblockq.c:289,
+function pa_memblockq_push(). Aborting.
+
+Fix oversized block issue by checking proper size of format instead of enum
+value.
+
+Fixes: a67c21f09 ("merge 'lennart' branch back into trunk.")
+Part-of: 

+
+diff --git a/src/pulsecore/resampler.c b/src/pulsecore/resampler.c
+index b035f67ed..ba18c92c4 100644
+--- a/src/pulsecore/resampler.c
 b/src/pulsecore/resampler.c
+@@ -613,9 +613,13 @@ size_t pa_resampler_max_block_size(pa_resampler *r) {
+  * conversion */
+ max_ss.channels = (uint8_t) (PA_MAX(r->i_ss.channels, r->o_ss.channels));
+ 
+-/* We silently assume that the format enum is ordered by size */
+-max_ss.format = PA_MAX(r->i_ss.format, r->o_ss.format);
+-max_ss.format = PA_MAX(max_ss.format, r->work_format);
++max_ss.format = r->i_ss.format;
++
++if (pa_sample_size_of_format(max_ss.format) < 
pa_sample_size_of_format(r->o_ss.format))
++max_ss.format = r->o_ss.format;
++
++if (pa_sample_size_of_format(max_ss.format) < 
pa_sample_size_of_format(r->work_format))
++max_ss.format = r->work_format;
+ 
+ max_ss.rate = PA_MAX(r->i_ss.rate, r->o_ss.rate);
+ 

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r8.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r8.ebuild
index 44c1c3c46161..0245469211bc 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r8.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r8.ebuild
@@ -167,6 +167,7 @@ PATCHES=(
# alignment fix changes internal abi, added requirement matching 
>=media-libs/libpulse-16.1-r3
"${FILESDIR}"/pulseaudio-16.1-fix-memblock-alignment.patch
"${FILESDIR}"/pulseaudio-16.1-add-more-standard-samplerates.patch
+   "${FILESDIR}"/pulseaudio-16.1-fix-resampler-oversized-memblock.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2023-09-19 Thread Arthur Zamarin
commit: 25d438e13fa97cbeb9b02b428c277139c2577369
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Sep 15 09:48:58 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Sep 19 17:48:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25d438e1

media-sound/pulseaudio-daemon: fix VariableShadowed

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r3.ebuild | 4 +---
 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild | 2 --
 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild | 2 --
 3 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r3.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r3.ebuild
index 4c705a12d383..fc21e3b97d09 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r3.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -158,8 +158,6 @@ BDEPEND="
 
 DOCS=( NEWS README )
 
-S="${WORKDIR}/${MY_P}"
-
 # patches merged upstream, to be removed with 16.2 or later bump
 PATCHES=(
"${FILESDIR}"/pulseaudio-16.0-optional-module-console-kit.patch

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
index 2e40958452f4..07753fac2156 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
@@ -158,8 +158,6 @@ BDEPEND="
 
 DOCS=( NEWS README )
 
-S="${WORKDIR}/${MY_P}"
-
 # patches merged upstream, to be removed with 16.2 or later bump
 PATCHES=(
"${FILESDIR}"/pulseaudio-16.0-optional-module-console-kit.patch

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
index a513d2541f4a..792c7f4e5085 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
@@ -157,8 +157,6 @@ BDEPEND="
 
 DOCS=( NEWS README )
 
-S="${WORKDIR}/${MY_P}"
-
 # patches merged upstream, to be removed with 16.2 or later bump
 PATCHES=(
"${FILESDIR}"/pulseaudio-16.0-optional-module-console-kit.patch



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2023-05-14 Thread Sam James
commit: 72154324c6a8564e53fc240274cba91f72beb528
Author: Sam James  gentoo  org>
AuthorDate: Sun May 14 17:02:01 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun May 14 17:10:47 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72154324

media-sound/pulseaudio-daemon: defer to new global USE=valgrind description

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/metadata.xml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/metadata.xml 
b/media-sound/pulseaudio-daemon/metadata.xml
index 5d81f9170193..e8d9b11581af 100644
--- a/media-sound/pulseaudio-daemon/metadata.xml
+++ b/media-sound/pulseaudio-daemon/metadata.xml
@@ -67,7 +67,6 @@
   Build with sys-apps/systemd support to replace standalone
   ConsoleKit.
 
-Compile in valgrind memory hints
 
   Build with optional oFono HFP backend for bluez 5, requires 
net-misc/ofono.
 



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2023-05-06 Thread Arthur Zamarin
commit: 213afe99de8205abcff8f0d1898824ce53a3ae86
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat May  6 09:29:02 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat May  6 09:29:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=213afe99

media-sound/pulseaudio-daemon: Stabilize 16.1-r7 arm64, #904912

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
index 2f79d1fda271..431f0a1ebca8 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2023-05-06 Thread Arthur Zamarin
commit: 16ddb32106d1d2ee088a82a753670fb9d01a29a6
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat May  6 09:29:05 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat May  6 09:29:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16ddb321

media-sound/pulseaudio-daemon: Stabilize 16.1-r7 amd64, #904912

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
index 431f0a1ebca8..a513d2541f4a 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2023-05-06 Thread Arthur Zamarin
commit: 26a5c50b06c3ebacf1350d74cafe663a3035f8e3
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat May  6 09:28:42 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat May  6 09:28:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26a5c50b

media-sound/pulseaudio-daemon: Stabilize 16.1-r7 ppc, #904912

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
index ed7581a0f7bb..2f79d1fda271 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2023-05-06 Thread Arthur Zamarin
commit: d21a2191982ff2a8101d49e70b3e72d19b290939
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat May  6 09:19:14 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat May  6 09:19:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d21a2191

media-sound/pulseaudio-daemon: Stabilize 16.1-r7 ppc64, #904912

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
index 53a4ee10ff69..ed7581a0f7bb 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2023-04-23 Thread Sam James
commit: 337febfd696af8ad3205d09ffcb261576d6f4494
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 23 22:16:05 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 23 22:16:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=337febfd

media-sound/pulseaudio-daemon: Stabilize 16.1-r7 arm, #904912

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
index 0bcb6b6d114b..53a4ee10ff69 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2023-04-23 Thread Sam James
commit: 55a6e4d883686065be5c8495aac5e662b0c38a0c
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 23 20:21:21 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 23 20:21:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55a6e4d8

media-sound/pulseaudio-daemon: Stabilize 16.1-r7 sparc, #904912

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
index b112c1d674b2..0bcb6b6d114b 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2023-04-23 Thread Sam James
commit: ca65400f95cabbdaf5782f3200244c9311c026dd
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 23 20:05:18 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 23 20:05:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca65400f

media-sound/pulseaudio-daemon: Stabilize 16.1-r7 x86, #904912

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
index 186ed0f9686a..b112c1d674b2 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2023-03-31 Thread Arthur Zamarin
commit: a228fd04b9ab0d8270d043dfadfb2e17b85d54c4
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Mar 31 11:44:08 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Mar 31 11:44:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a228fd04

media-sound/pulseaudio-daemon: Stabilize 16.1-r6 ppc, #892149

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
index cdff76f5129f..2e40958452f4 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2023-03-31 Thread Arthur Zamarin
commit: 0acc32636c3ec7faac1add9c815474d51fcca038
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Mar 31 11:44:05 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Mar 31 11:44:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0acc3263

media-sound/pulseaudio-daemon: Stabilize 16.1-r6 arm, #892149

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
index b598b0c657c4..cdff76f5129f 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2023-03-21 Thread Sam James
commit: aaab7459af894b8a5b67f60b5d80c2ff99910c84
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Tue Mar 21 19:42:33 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 22 01:19:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aaab7459

media-sound/pulseaudio-daemon: Drop obsolete blocker

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
index e567cbed7f96..186ed0f9686a 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
@@ -111,7 +111,6 @@ COMMON_DEPEND="
>=x11-libs/libXtst-1.0.99.2
)
zeroconf? ( >=net-dns/avahi-0.6.12[dbus] )
-   !

[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2023-03-21 Thread Sam James
commit: c5f6ad817564e8efbc77595886b44ecaa39c
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Sat Dec 24 11:52:09 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 22 01:19:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5f6

media-sound/pulseaudio-daemon: Suggest qpaeq package for equalizer GUI

Signed-off-by: Igor V. Kovalenko  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 .../pulseaudio-daemon-16.1-r7.ebuild   | 390 +
 1 file changed, 390 insertions(+)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
new file mode 100644
index ..e567cbed7f96
--- /dev/null
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r7.ebuild
@@ -0,0 +1,390 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+MY_PV="${PV/_pre*}"
+MY_P="pulseaudio-${MY_PV}"
+inherit bash-completion-r1 gnome2-utils meson optfeature systemd tmpfiles udev
+
+DESCRIPTION="Daemon component of PulseAudio (networked sound server)"
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/;
+
+if [[ ${PV} =  ]]; then
+   inherit git-r3
+   EGIT_BRANCH="master"
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
+else
+   
SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+fi
+
+S="${WORKDIR}/${MY_P}"
+
+# libpulse-simple and libpulse link to libpulse-core; this is daemon's
+# library and can link to gdbm and other GPL-only libraries. In this
+# cases, we have a fully GPL-2 package. Leaving the rest of the
+# GPL-forcing USE flags for those who use them.
+LICENSE="!gdbm? ( LGPL-2.1 ) gdbm? ( GPL-2 )"
+
+SLOT="0"
+
+# +alsa-plugin as discussed in bug #519530
+# TODO: Find out why webrtc-aec is + prefixed - there's already the always 
available speexdsp-aec
+# NOTE: The current ebuild sets +X almost certainly just for the 
pulseaudio.desktop file
+IUSE="+alsa +alsa-plugin aptx +asyncns bluetooth dbus elogind equalizer fftw 
+gdbm +glib gstreamer jack ldac lirc
+ofono-headset +orc oss selinux sox ssl systemd system-wide tcpd test +udev 
valgrind +webrtc-aec +X zeroconf"
+
+RESTRICT="!test? ( test )"
+
+# See "*** BLUEZ support not found (requires D-Bus)" in configure.ac
+# Basically all IUSE are either ${MULTILIB_USEDEP} for client libs or they 
belong under !daemon ()
+# We duplicate alsa-plugin, {native,ofono}-headset under daemon to let users 
deal with them at once
+REQUIRED_USE="
+   ?? ( elogind systemd )
+   alsa-plugin? ( alsa )
+   aptx? ( bluetooth )
+   bluetooth? ( dbus )
+   equalizer? ( dbus )
+   ldac? ( bluetooth )
+   ofono-headset? ( bluetooth )
+   udev? ( || ( alsa oss ) )
+   zeroconf? ( dbus )
+"
+
+# NOTE:
+# - libpcre needed in some cases, bug #472228
+# - media-libs/speexdsp is providing echo canceller implementation and used in 
resampler
+# TODO: libatomic_ops is only needed on some architectures and conditions, and 
then at runtime too
+gstreamer_deps="
+   media-libs/gst-plugins-base
+   >=media-libs/gstreamer-1.14
+"
+COMMON_DEPEND="
+   ~media-libs/libpulse-${PV}[dbus?,glib?,systemd?,valgrind?,X?]
+   dev-libs/libatomic_ops
+   >=media-libs/libsndfile-1.0.20
+   >=media-libs/speexdsp-1.2
+   alsa? ( >=media-libs/alsa-lib-1.0.24 )
+   aptx? ( ${gstreamer_deps} )
+   asyncns? ( >=net-libs/libasyncns-0.1 )
+   bluetooth? (
+   >=net-wireless/bluez-5
+   media-libs/sbc
+   )
+   dev-libs/libltdl
+   sys-kernel/linux-headers
+   >=sys-libs/libcap-2.22-r2
+   dbus? ( >=sys-apps/dbus-1.4.12 )
+   elibc_mingw? ( dev-libs/libpcre:3 )
+   elogind? ( sys-auth/elogind )
+   equalizer? (
+   sci-libs/fftw:3.0=
+   )
+   fftw? (
+   sci-libs/fftw:3.0=
+   )
+   gdbm? ( sys-libs/gdbm:= )
+   glib? ( >=dev-libs/glib-2.28.0:2 )
+   gstreamer? (
+   ${gstreamer_deps}
+   >=dev-libs/glib-2.26.0:2
+   )
+   jack? ( virtual/jack )
+   ldac? ( ${gstreamer_deps} )
+   lirc? ( app-misc/lirc )
+   ofono-headset? ( >=net-misc/ofono-1.13 )
+   orc? ( >=dev-lang/orc-0.4.15 )
+   selinux? ( sec-policy/selinux-pulseaudio )
+   sox? ( >=media-libs/soxr-0.1.1 )
+   ssl? ( dev-libs/openssl:= )
+   systemd? ( sys-apps/systemd:= )
+   tcpd? ( sys-apps/tcp-wrappers )
+   udev? ( >=virtual/udev-143[hwdb(+)] )
+   valgrind? ( dev-util/valgrind )
+   webrtc-aec? ( >=media-libs/webrtc-audio-processing-0.2:0 )
+   X? (
+   >=x11-libs/libxcb-1.6
+   x11-libs/libICE
+   x11-libs/libSM
+   

[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2023-03-16 Thread Arthur Zamarin
commit: b0a9098dc37ec0c6e85cdec0e544305c708f30c8
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Mar 16 17:37:40 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Mar 16 17:37:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0a9098d

media-sound/pulseaudio-daemon: Stabilize 16.1-r6 ppc64, #892149

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
index 945c3036b8b4..b598b0c657c4 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2023-03-12 Thread Viorel Munteanu
commit: 2742e80bdeef0db15f0c05481826c1cebbe670ec
Author: Matoro Mahri  users  noreply  github  
com>
AuthorDate: Sat Mar 11 16:20:27 2023 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Sun Mar 12 09:22:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2742e80b

media-sound/pulseaudio-daemon: Stabilize 16.1-r6 sparc, #892149

Signed-off-by: Matoro Mahri  users.noreply.github.com>
Signed-off-by: Viorel Munteanu  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
index a3936c0f3d60..945c3036b8b4 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2023-02-01 Thread Arthur Zamarin
commit: 1af47bdb042bd16cca72c8a66c314998d785b0b6
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Feb  1 09:11:38 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Feb  1 09:11:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1af47bdb

media-sound/pulseaudio-daemon: Stabilize 16.1-r6 arm64, #892149

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
index 6b835c0c2088..a3936c0f3d60 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2023-01-26 Thread Sam James
commit: 934dee9ee1636d8017ffe9b0de87fc932ca7e13f
Author: Sam James  gentoo  org>
AuthorDate: Fri Jan 27 06:30:27 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jan 27 06:30:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=934dee9e

media-sound/pulseaudio-daemon: Stabilize 16.1-r6 amd64, #892149

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
index f196d6fc19a2..6b835c0c2088 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2023-01-26 Thread Sam James
commit: d6010a3d023e536a2362a316a578602a143cae49
Author: Sam James  gentoo  org>
AuthorDate: Fri Jan 27 06:28:16 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jan 27 06:28:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6010a3d

media-sound/pulseaudio-daemon: Stabilize 16.1-r6 x86, #892149

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
index 9356b406dac4..f196d6fc19a2 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-12-14 Thread Joonas Niilola
commit: 2c05156630ebc229b24473663438771e2f30924d
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Tue Dec 13 06:24:45 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Dec 14 12:41:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c051566

media-sound/pulseaudio-daemon: Add BDEPEND sys-devel/m4

Closes: https://bugs.gentoo.org/885717
Signed-off-by: Igor V. Kovalenko  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/28650
Signed-off-by: Joonas Niilola  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r3.ebuild | 1 +
 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r4.ebuild | 1 +
 2 files changed, 2 insertions(+)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r3.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r3.ebuild
index ab27052dd5c6..4c705a12d383 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r3.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r3.ebuild
@@ -148,6 +148,7 @@ BDEPEND="
dev-lang/perl
dev-perl/XML-Parser
sys-devel/gettext
+   sys-devel/m4
virtual/libiconv
virtual/libintl
virtual/pkgconfig

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r4.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r4.ebuild
index 46c4de34781f..9356b406dac4 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r4.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r4.ebuild
@@ -148,6 +148,7 @@ BDEPEND="
dev-lang/perl
dev-perl/XML-Parser
sys-devel/gettext
+   sys-devel/m4
virtual/libiconv
virtual/libintl
virtual/pkgconfig



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-12-06 Thread Sam James
commit: 000ca35273635b00c33b5f1c9775074d0e0f1280
Author: Sam James  gentoo  org>
AuthorDate: Tue Dec  6 18:16:04 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Dec  6 18:16:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=000ca352

media-sound/pulseaudio-daemon: only depend on libpcre for elibc_mingw

This syncs pulseaudio-daemon with libpcre, see 
c05fb18ebae2e964fb4030a3f86f1870371c0e9e.

Bug: https://bugs.gentoo.org/472228
Bug: https://bugs.gentoo.org/884607
Signed-off-by: Sam James  gentoo.org>

 ...ulseaudio-daemon-16.1.ebuild => pulseaudio-daemon-16.1-r3.ebuild} | 5 +
 ...eaudio-daemon-16.1-r2.ebuild => pulseaudio-daemon-16.1-r4.ebuild} | 5 +
 2 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r3.ebuild
similarity index 99%
rename from media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
rename to media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r3.ebuild
index 706fa7f66af7..ab27052dd5c6 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r3.ebuild
@@ -65,10 +65,6 @@ COMMON_DEPEND="
dev-libs/libatomic_ops
>=media-libs/libsndfile-1.0.20
>=media-libs/speexdsp-1.2
-   || (
-   elibc_glibc? ( virtual/libc )
-   dev-libs/libpcre:3
-   )
alsa? ( >=media-libs/alsa-lib-1.0.24 )
aptx? ( ${gstreamer_deps} )
asyncns? ( >=net-libs/libasyncns-0.1 )
@@ -80,6 +76,7 @@ COMMON_DEPEND="
sys-kernel/linux-headers
>=sys-libs/libcap-2.22-r2
dbus? ( >=sys-apps/dbus-1.4.12 )
+   elibc_mingw? ( dev-libs/libpcre:3 )
elogind? ( sys-auth/elogind )
equalizer? (
sci-libs/fftw:3.0=

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r2.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r4.ebuild
similarity index 99%
rename from media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r2.ebuild
rename to media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r4.ebuild
index a358f8c2235d..46c4de34781f 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r2.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r4.ebuild
@@ -65,10 +65,6 @@ COMMON_DEPEND="
dev-libs/libatomic_ops
>=media-libs/libsndfile-1.0.20
>=media-libs/speexdsp-1.2
-   || (
-   elibc_glibc? ( virtual/libc )
-   dev-libs/libpcre:3
-   )
alsa? ( >=media-libs/alsa-lib-1.0.24 )
aptx? ( ${gstreamer_deps} )
asyncns? ( >=net-libs/libasyncns-0.1 )
@@ -80,6 +76,7 @@ COMMON_DEPEND="
sys-kernel/linux-headers
>=sys-libs/libcap-2.22-r2
dbus? ( >=sys-apps/dbus-1.4.12 )
+   elibc_mingw? ( dev-libs/libpcre:3 )
elogind? ( sys-auth/elogind )
equalizer? (
sci-libs/fftw:3.0=



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/, media-sound/pulseaudio-daemon/files/

2022-12-02 Thread Sam James
commit: ec06180714fd70296f1ac141438e2a39de624c97
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Sat Dec  3 06:31:05 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Dec  3 07:48:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec061807

media-sound/pulseaudio-daemon: Move qpaeq to daemon build

Upstream commit 07a9fcefbab049d66cb174ca2c9b91fecc444c5b

Signed-off-by: Igor V. Kovalenko  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/28519
Signed-off-by: Sam James  gentoo.org>

 .../pulseaudio-16.1-move-qpaeq-to-daemon.patch | 36 ++
 ...-r1.ebuild => pulseaudio-daemon-16.1-r2.ebuild} |  1 +
 2 files changed, 37 insertions(+)

diff --git 
a/media-sound/pulseaudio-daemon/files/pulseaudio-16.1-move-qpaeq-to-daemon.patch
 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.1-move-qpaeq-to-daemon.patch
new file mode 100644
index ..d3943bf10a49
--- /dev/null
+++ 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.1-move-qpaeq-to-daemon.patch
@@ -0,0 +1,36 @@
+commit 07a9fcefbab049d66cb174ca2c9b91fecc444c5b
+Author: Igor V. Kovalenko 
+Date:   Sat Jul 9 09:12:38 2022 +0300
+
+build-sys: meson: Move qpaeq to daemon build
+
+Equalizer control requires server modules only available when daemon is 
built.
+Move qpaeq script to be installed together with daemon.
+
+Part-of: 

+
+diff --git a/src/utils/meson.build b/src/utils/meson.build
+index 28e1fc10a..8496d0bc5 100644
+--- a/src/utils/meson.build
 b/src/utils/meson.build
+@@ -72,6 +72,10 @@ if get_option('daemon')
+   c_args : pa_c_args,
+ )
+   endif
++
++  if dbus_dep.found() and fftw_dep.found()
++install_data('qpaeq', install_dir : bindir)
++  endif
+ endif
+ 
+ if get_option('client')
+@@ -117,9 +121,5 @@ if get_option('client')
+ )
+   endif
+ 
+-  if dbus_dep.found() and fftw_dep.found()
+-install_data('qpaeq', install_dir : bindir)
+-  endif
+-
+   install_data('pa-info', install_dir : bindir)
+ endif

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r2.ebuild
similarity index 99%
rename from media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r1.ebuild
rename to media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r2.ebuild
index 8ccca2d552d5..a358f8c2235d 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r2.ebuild
@@ -167,6 +167,7 @@ PATCHES=(
"${FILESDIR}"/pulseaudio-16.0-optional-module-console-kit.patch
"${FILESDIR}"/pulseaudio-16.1-module-combine-sink-load-crash.patch
"${FILESDIR}"/pulseaudio-16.1-module-combine-sink-unload-crash.patch
+   "${FILESDIR}"/pulseaudio-16.1-move-qpaeq-to-daemon.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/, media-sound/pulseaudio-daemon/files/

2022-11-28 Thread Mart Raudsepp
commit: 38919a9dc42d975a5966c3dacb61c19995993109
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Sun Nov 27 20:11:11 2022 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Tue Nov 29 07:08:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38919a9d

media-sound/pulseaudio-daemon: Fix module-combine-sink crashes

Upstream commits:
37c72c20720d6f7fefeeb151f5e10c2cd0dda30e
0cbbc408aee2b5f2c42280d24dc615405387b5b1

Signed-off-by: Igor V. Kovalenko  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/28452
Signed-off-by: Mart Raudsepp  gentoo.org>

 ...audio-16.1-module-combine-sink-load-crash.patch |  26 ++
 ...dio-16.1-module-combine-sink-unload-crash.patch |  22 ++
 .../pulseaudio-daemon-16.1-r1.ebuild   | 395 +
 3 files changed, 443 insertions(+)

diff --git 
a/media-sound/pulseaudio-daemon/files/pulseaudio-16.1-module-combine-sink-load-crash.patch
 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.1-module-combine-sink-load-crash.patch
new file mode 100644
index ..d02c1029f8b0
--- /dev/null
+++ 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.1-module-combine-sink-load-crash.patch
@@ -0,0 +1,26 @@
+commit 37c72c20720d6f7fefeeb151f5e10c2cd0dda30e
+Author: Igor V. Kovalenko 
+Date:   Sun Nov 27 22:30:45 2022 +0300
+
+module-combine-sink: Do not set up rate adjustment timer at load time
+
+Rate adjustment timer is set up when combine sink is resumed and relased 
when
+combine sink is suspended. Do not create this timer again while module is 
loaded
+to prevent duplicate effort causing assertion in time_callback.
+
+Part-of: 

+
+diff --git a/src/modules/module-combine-sink.c 
b/src/modules/module-combine-sink.c
+index f98f4820b..4b7690183 100644
+--- a/src/modules/module-combine-sink.c
 b/src/modules/module-combine-sink.c
+@@ -1711,9 +1711,6 @@ int pa__init(pa_module*m) {
+ PA_IDXSET_FOREACH(o, u->outputs, idx)
+ output_verify(o);
+ 
+-if (u->adjust_time > 0)
+-u->time_event = pa_core_rttime_new(m->core, pa_rtclock_now() + 
u->adjust_time, time_callback, u);
+-
+ pa_modargs_free(ma);
+ 
+ return 0;

diff --git 
a/media-sound/pulseaudio-daemon/files/pulseaudio-16.1-module-combine-sink-unload-crash.patch
 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.1-module-combine-sink-unload-crash.patch
new file mode 100644
index ..f0cd82dde16e
--- /dev/null
+++ 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.1-module-combine-sink-unload-crash.patch
@@ -0,0 +1,22 @@
+commit 0cbbc408aee2b5f2c42280d24dc615405387b5b1
+Author: Igor V. Kovalenko 
+Date:   Sun Nov 27 19:39:23 2022 +0300
+
+module-combine-sink: Suspend while unloading to fix crash moving sinks
+
+Part-of: 

+
+diff --git a/src/modules/module-combine-sink.c 
b/src/modules/module-combine-sink.c
+index 4b7690183..2ccd9eb13 100644
+--- a/src/modules/module-combine-sink.c
 b/src/modules/module-combine-sink.c
+@@ -1733,6 +1733,9 @@ void pa__done(pa_module*m) {
+ if (!(u = m->userdata))
+ return;
+ 
++if (u->sink && PA_SINK_IS_LINKED(u->sink->state))
++pa_sink_suspend(u->sink, true, PA_SUSPEND_UNAVAILABLE);
++
+ pa_strlist_free(u->unlinked_slaves);
+ 
+ if (u->sink_put_slot)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r1.ebuild
new file mode 100644
index ..8ccca2d552d5
--- /dev/null
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1-r1.ebuild
@@ -0,0 +1,395 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+MY_PV="${PV/_pre*}"
+MY_P="pulseaudio-${MY_PV}"
+inherit bash-completion-r1 gnome2-utils meson optfeature systemd tmpfiles udev
+
+DESCRIPTION="Daemon component of PulseAudio (networked sound server)"
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/;
+
+if [[ ${PV} =  ]]; then
+   inherit git-r3
+   EGIT_BRANCH="master"
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
+else
+   
SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+fi
+
+S="${WORKDIR}/${MY_P}"
+
+# libpulse-simple and libpulse link to libpulse-core; this is daemon's
+# library and can link to gdbm and other GPL-only libraries. In this
+# cases, we have a fully GPL-2 package. Leaving the rest of the
+# GPL-forcing USE flags for those who use them.
+LICENSE="!gdbm? ( LGPL-2.1 ) gdbm? ( GPL-2 )"
+
+SLOT="0"
+
+# +alsa-plugin as discussed in bug #519530
+# TODO: Find out why webrtc-aec is + prefixed - there's already the always 
available 

[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-10-28 Thread Sam James
commit: b08d54c0996bc161adb7622d13e7c5579774147b
Author: Sam James  gentoo  org>
AuthorDate: Fri Oct 28 19:31:59 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 28 19:50:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b08d54c0

media-sound/pulseaudio-daemon: drop 16.0-r1

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/Manifest |   1 -
 .../pulseaudio-daemon-16.0-r1.ebuild   | 383 -
 2 files changed, 384 deletions(-)

diff --git a/media-sound/pulseaudio-daemon/Manifest 
b/media-sound/pulseaudio-daemon/Manifest
index 7e2a36fffea5..955eec847d0e 100644
--- a/media-sound/pulseaudio-daemon/Manifest
+++ b/media-sound/pulseaudio-daemon/Manifest
@@ -1,2 +1 @@
-DIST pulseaudio-16.0.tar.xz 1551276 BLAKE2B 
54ba5d446bc02246bf842280f577851eb66ff9fed1e1b0d2d03e238796d9d04bc1fc27215b02fdded37441da1747be23d1e03d5a00b79ee3b91eb35c0f76a470
 SHA512 
42d4968c2dc88f5e39a5358d124e399e40a5abdf815eff387087141bc9217012acb35649a8e0e24a44e8a402d90eb193ce2eef186f7d59550f757a6cc26d
 DIST pulseaudio-16.1.tar.xz 1545596 BLAKE2B 
535706abcea2cae39834b23c8bdc37f71b0e633de2d8e43ea4425da97a850b57c2f980c318681cbc86cf1e746200609dad41f8b96ecf4568f86d94aa6831c9a1
 SHA512 
33b0b4292f05e0882f3ec822cf5720414bb34c523d80fe287b9740d6be219787c562e8024c9b0d9e2ee010771ca72c7ae4f27df1bbef9c9cb6bb6a23cbcc412f

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
deleted file mode 100644
index 1dc4c81cf6e6..
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
+++ /dev/null
@@ -1,383 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-MY_PV="${PV/_pre*}"
-MY_P="pulseaudio-${MY_PV}"
-inherit bash-completion-r1 gnome2-utils meson optfeature systemd tmpfiles udev
-
-DESCRIPTION="A networked sound server with an advanced plugin system"
-HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/;
-
-if [[ ${PV} =  ]]; then
-   inherit git-r3
-   EGIT_BRANCH="master"
-   EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
-else
-   
SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
-fi
-
-S="${WORKDIR}/${MY_P}"
-
-# libpulse-simple and libpulse link to libpulse-core; this is daemon's
-# library and can link to gdbm and other GPL-only libraries. In this
-# cases, we have a fully GPL-2 package. Leaving the rest of the
-# GPL-forcing USE flags for those who use them.
-LICENSE="!gdbm? ( LGPL-2.1 ) gdbm? ( GPL-2 )"
-
-SLOT="0"
-
-# +alsa-plugin as discussed in bug #519530
-# TODO: Find out why webrtc-aec is + prefixed - there's already the always 
available speexdsp-aec
-# NOTE: The current ebuild sets +X almost certainly just for the 
pulseaudio.desktop file
-IUSE="+alsa +alsa-plugin aptx +asyncns bluetooth dbus elogind equalizer fftw 
+gdbm +glib gstreamer gtk ipv6 jack ldac lirc
-ofono-headset +orc oss selinux sox ssl systemd system-wide tcpd test +udev 
valgrind +webrtc-aec +X zeroconf"
-
-RESTRICT="!test? ( test )"
-
-# See "*** BLUEZ support not found (requires D-Bus)" in configure.ac
-# Basically all IUSE are either ${MULTILIB_USEDEP} for client libs or they 
belong under !daemon ()
-# We duplicate alsa-plugin, {native,ofono}-headset under daemon to let users 
deal with them at once
-REQUIRED_USE="
-   ?? ( elogind systemd )
-   alsa-plugin? ( alsa )
-   aptx? ( bluetooth )
-   bluetooth? ( dbus )
-   equalizer? ( dbus )
-   ldac? ( bluetooth )
-   ofono-headset? ( bluetooth )
-   udev? ( || ( alsa oss ) )
-   zeroconf? ( dbus )
-"
-
-# NOTE:
-# - libpcre needed in some cases, bug #472228
-# - media-libs/speexdsp is providing echo canceller implementation and used in 
resampler
-# TODO: libatomic_ops is only needed on some architectures and conditions, and 
then at runtime too
-gstreamer_deps="
-   media-libs/gst-plugins-base
-   >=media-libs/gstreamer-1.14
-"
-COMMON_DEPEND="
-   ~media-libs/libpulse-${PV}[dbus?,glib?,systemd?,tcpd(+)?,valgrind?,X?]
-   dev-libs/libatomic_ops
-   >=media-libs/libsndfile-1.0.20
-   >=media-libs/speexdsp-1.2
-   || (
-   elibc_glibc? ( virtual/libc )
-   dev-libs/libpcre:3
-   )
-   alsa? ( >=media-libs/alsa-lib-1.0.24 )
-   aptx? ( ${gstreamer_deps} )
-   asyncns? ( >=net-libs/libasyncns-0.1 )
-   bluetooth? (
-   >=net-wireless/bluez-5
-   media-libs/sbc
-   )
-   dev-libs/libltdl
-   sys-kernel/linux-headers
-   >=sys-libs/libcap-2.22-r2
-   dbus? ( >=sys-apps/dbus-1.4.12 )
-   elogind? ( sys-auth/elogind )
-   equalizer? (
-   sci-libs/fftw:3.0=
-   )
-  

[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/, media-sound/pulseaudio-daemon/files/

2022-07-30 Thread Sam James
commit: 10b61dc8872a9ba034771bd9b793e452fd428363
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 31 03:39:14 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 31 03:39:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10b61dc8

media-sound/pulseaudio-daemon: drop 16.0-r4, 16.0-r5

Signed-off-by: Sam James  gentoo.org>

 ...udio-16.0-fix-combine-sink-underrun-crash.patch |  72 
 ...io-16.0-fix-gstreamer-bluetooth-arm-crash.patch |  43 ---
 ...pulseaudio-16.0-fix-pacmd-play-file-crash.patch |  42 ---
 ...lseaudio-16.0-fix-rtp-receiver-sdp-record.patch |  26 --
 .../pulseaudio-daemon-16.0-r4.ebuild   | 388 
 .../pulseaudio-daemon-16.0-r5.ebuild   | 396 -
 6 files changed, 967 deletions(-)

diff --git 
a/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-fix-combine-sink-underrun-crash.patch
 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-fix-combine-sink-underrun-crash.patch
deleted file mode 100644
index d66d75afdfda..
--- 
a/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-fix-combine-sink-underrun-crash.patch
+++ /dev/null
@@ -1,72 +0,0 @@
-https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/ee8bfb49a271d8a8cafa796c6f9fa84de48a
-
-From ee8bfb49a271d8a8cafa796c6f9fa84de48a Mon Sep 17 00:00:00 2001
-From: Georg Chini 
-Date: Fri, 17 Jun 2022 13:11:11 +0200
-Subject: [PATCH] combine-sink: Fix threading issue during underrun
-
-A recent commit added i->origin sink for the sink inputs of the combine sinks.
-Therefore pa_sink_process_input_underruns() treated the combine sink like
-filter sinks. pa_sink_process_input_underruns() calls itself with the
-origin sink, which is only correct for filter sinks because they run in the
-thread context of the origin sink. The combine sink however has its own
-thread context, so pa_sink_process_input_underruns() was executed in the
-wrong context.
-This patch fixes the issue by skipping the section for module-combine-sink.
-
-Part-of: 


- src/pulsecore/sink.c | 37 +++--
- 1 file changed, 23 insertions(+), 14 deletions(-)
-
-diff --git a/src/pulsecore/sink.c b/src/pulsecore/sink.c
-index 3108ae765..0f0dc56fc 100644
 a/src/pulsecore/sink.c
-+++ b/src/pulsecore/sink.c
-@@ -1016,20 +1016,29 @@ size_t pa_sink_process_input_underruns(pa_sink *s, 
size_t left_to_play) {
- if (i->origin_sink) {
- size_t filter_result, left_to_play_origin;
- 
--/* The recursive call works in the origin sink domain ... */
--left_to_play_origin = pa_convert_size(left_to_play, 
>sink->sample_spec, >origin_sink->sample_spec);
--
--/* .. and returns the time to sleep before waking up. We need the
-- * underrun duration for comparisons, so we undo the subtraction 
on
-- * the return value... */
--filter_result = left_to_play_origin - 
pa_sink_process_input_underruns(i->origin_sink, left_to_play_origin);
--
--/* ... and convert it back to the master sink domain */
--filter_result = pa_convert_size(filter_result, 
>origin_sink->sample_spec, >sink->sample_spec);
--
--/* Remember the longest underrun so far */
--if (filter_result > result)
--result = filter_result;
-+/* The combine sink sets i->origin sink but has a different 
threading model
-+ * than the filter sinks. Therefore the recursion below may not 
be executed
-+ * because pa_sink_process_input_underruns() was not called in 
the thread
-+ * context of the origin sink.
-+ * FIXME: It is unclear if some other kind of recursion would be 
necessary
-+ * for the combine sink. */
-+if (!i->module || !pa_safe_streq(i->module->name, 
"module-combine-sink")) {
-+
-+/* The recursive call works in the origin sink domain ... */
-+left_to_play_origin = pa_convert_size(left_to_play, 
>sink->sample_spec, >origin_sink->sample_spec);
-+
-+/* .. and returns the time to sleep before waking up. We need 
the
-+ * underrun duration for comparisons, so we undo the 
subtraction on
-+ * the return value... */
-+filter_result = left_to_play_origin - 
pa_sink_process_input_underruns(i->origin_sink, left_to_play_origin);
-+
-+/* ... and convert it back to the master sink domain */
-+filter_result = pa_convert_size(filter_result, 
>origin_sink->sample_spec, >sink->sample_spec);
-+
-+/* Remember the longest underrun so far */
-+if (filter_result > result)
-+result = filter_result;
-+}
- }
- 
- if (uf == 0) {
--- 
-GitLab
-

diff --git 

[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-07-30 Thread Sam James
commit: dc2ce860da5c5a6101e317a1a82ee22cd5d2761a
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 31 03:29:18 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 31 03:29:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc2ce860

media-sound/pulseaudio-daemon: Stabilize 16.1 ppc64, #859280

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
index ebeac0352a8c..706fa7f66af7 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ~ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-07-30 Thread Sam James
commit: 5a2f79d8ab52593e010389036616393553712025
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 31 03:29:05 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 31 03:29:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a2f79d8

media-sound/pulseaudio-daemon: Stabilize 16.1 arm64, #859280

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
index 2d7ffbddbf6c..e7c9c323cc7e 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-07-30 Thread Sam James
commit: ee387675c8655e7f879c9b01355b1a81087dcb7a
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 31 03:29:12 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 31 03:29:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee387675

media-sound/pulseaudio-daemon: Stabilize 16.1 ppc, #859280

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
index e7c9c323cc7e..ebeac0352a8c 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ~ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-07-30 Thread Sam James
commit: 8d3eae11a91694957a08ab53cc6fa00c4b7e4fb7
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 31 03:28:59 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 31 03:28:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d3eae11

media-sound/pulseaudio-daemon: Stabilize 16.1 arm, #859280

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
index 34f4f0f82566..2d7ffbddbf6c 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-07-29 Thread Agostino Sarubbo
commit: 4e250c63a6f2c32df683a9927cd5c5ebcafb7b64
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jul 29 08:02:23 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jul 29 08:02:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e250c63

media-sound/pulseaudio-daemon: sparc stable wrt bug #859280

Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
index e3b7029834c6..34f4f0f82566 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-07-28 Thread Sam James
commit: 2fbaeda80ef85cdf6e76c35c3745bd73f4e7c9da
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 29 03:18:42 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 29 03:18:42 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fbaeda8

media-sound/pulseaudio-daemon: Stabilize 16.1 x86, #859280

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
index 922f2c231890..e3b7029834c6 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-07-28 Thread Sam James
commit: 4611d1897f1157d7cb57347bc6628e97d5e20867
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 29 01:53:38 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 29 01:53:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4611d189

media-sound/pulseaudio-daemon: Stabilize 16.1 amd64, #859280

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
index 01be6bb43748..922f2c231890 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-07-08 Thread Sam James
commit: 57d9a03b7da14f0b3fad42987daebe10045fa631
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Fri Jul  8 19:46:02 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul  8 20:27:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57d9a03b

media-sound/pulseaudio-daemon: Depend on same version of libpulse

Shared library libpulsecommon is installed with version-dependend name
matching pulseaudio release version. Daemon package expects that library to be
the same version, and if e.g. installed libpulse is from more recent release
this results in a build error.

Fix this by depending on exact same PV of media-libs/libpulse package

Signed-off-by: Igor V. Kovalenko  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/26294
Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild | 2 +-
 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r4.ebuild | 2 +-
 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild | 2 +-
 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild| 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
index b6489354786a..1dc4c81cf6e6 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
@@ -61,7 +61,7 @@ gstreamer_deps="
>=media-libs/gstreamer-1.14
 "
 COMMON_DEPEND="
-   >=media-libs/libpulse-${PV}[dbus?,glib?,systemd?,tcpd(+)?,valgrind?,X?]
+   ~media-libs/libpulse-${PV}[dbus?,glib?,systemd?,tcpd(+)?,valgrind?,X?]
dev-libs/libatomic_ops
>=media-libs/libsndfile-1.0.20
>=media-libs/speexdsp-1.2

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r4.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r4.ebuild
index 3ec78e0ac672..8c47aaf30579 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r4.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r4.ebuild
@@ -61,7 +61,7 @@ gstreamer_deps="
>=media-libs/gstreamer-1.14
 "
 COMMON_DEPEND="
-   >=media-libs/libpulse-${PV}[dbus?,glib?,systemd?,valgrind?,X?]
+   ~media-libs/libpulse-${PV}[dbus?,glib?,systemd?,valgrind?,X?]
dev-libs/libatomic_ops
>=media-libs/libsndfile-1.0.20
>=media-libs/speexdsp-1.2

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild
index f9980628eb08..66f340cd76f7 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild
@@ -61,7 +61,7 @@ gstreamer_deps="
>=media-libs/gstreamer-1.14
 "
 COMMON_DEPEND="
-   >=media-libs/libpulse-${PV}[dbus?,glib?,systemd?,valgrind?,X?]
+   ~media-libs/libpulse-${PV}[dbus?,glib?,systemd?,valgrind?,X?]
dev-libs/libatomic_ops
>=media-libs/libsndfile-1.0.20
>=media-libs/speexdsp-1.2

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
index 52f26408de4d..01be6bb43748 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
@@ -61,7 +61,7 @@ gstreamer_deps="
>=media-libs/gstreamer-1.14
 "
 COMMON_DEPEND="
-   >=media-libs/libpulse-${PV}[dbus?,glib?,systemd?,valgrind?,X?]
+   ~media-libs/libpulse-${PV}[dbus?,glib?,systemd?,valgrind?,X?]
dev-libs/libatomic_ops
>=media-libs/libsndfile-1.0.20
>=media-libs/speexdsp-1.2



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-07-04 Thread Sam James
commit: b1317ae146f1e56946d781e5c5501b5ac8230b96
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Sun May 15 12:32:16 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jul  4 21:35:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1317ae1

media-sound/pulseaudio-daemon: Add conflict with pipewire sound server

Signed-off-by: Igor V. Kovalenko  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
index eddb6f54e7b5..52f26408de4d 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
@@ -138,6 +138,7 @@ RDEPEND="
ldac? ( media-plugins/gst-plugins-ldac )
aptx? ( media-plugins/gst-plugins-openaptx )
)
+   !media-video/pipewire[sound-server(+)]
 "
 unset gstreamer_deps
 



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-06-22 Thread Sam James
commit: c2f5222fbdbd17dd6b748858c9114f563a9bcaa7
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Wed Jun 22 16:54:24 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun 23 04:23:57 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2f5222f

media-sound/pulseaudio-daemon: Version bump to 16.1

Signed-off-by: Igor V. Kovalenko  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/26045
Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/Manifest |   1 +
 .../pulseaudio-daemon-16.1.ebuild  | 392 +
 2 files changed, 393 insertions(+)

diff --git a/media-sound/pulseaudio-daemon/Manifest 
b/media-sound/pulseaudio-daemon/Manifest
index 5bc75fa5795d..7e2a36fffea5 100644
--- a/media-sound/pulseaudio-daemon/Manifest
+++ b/media-sound/pulseaudio-daemon/Manifest
@@ -1 +1,2 @@
 DIST pulseaudio-16.0.tar.xz 1551276 BLAKE2B 
54ba5d446bc02246bf842280f577851eb66ff9fed1e1b0d2d03e238796d9d04bc1fc27215b02fdded37441da1747be23d1e03d5a00b79ee3b91eb35c0f76a470
 SHA512 
42d4968c2dc88f5e39a5358d124e399e40a5abdf815eff387087141bc9217012acb35649a8e0e24a44e8a402d90eb193ce2eef186f7d59550f757a6cc26d
+DIST pulseaudio-16.1.tar.xz 1545596 BLAKE2B 
535706abcea2cae39834b23c8bdc37f71b0e633de2d8e43ea4425da97a850b57c2f980c318681cbc86cf1e746200609dad41f8b96ecf4568f86d94aa6831c9a1
 SHA512 
33b0b4292f05e0882f3ec822cf5720414bb34c523d80fe287b9740d6be219787c562e8024c9b0d9e2ee010771ca72c7ae4f27df1bbef9c9cb6bb6a23cbcc412f

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
new file mode 100644
index ..eddb6f54e7b5
--- /dev/null
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.1.ebuild
@@ -0,0 +1,392 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+MY_PV="${PV/_pre*}"
+MY_P="pulseaudio-${MY_PV}"
+inherit bash-completion-r1 gnome2-utils meson optfeature systemd tmpfiles udev
+
+DESCRIPTION="Daemon component of PulseAudio (networked sound server)"
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/;
+
+if [[ ${PV} =  ]]; then
+   inherit git-r3
+   EGIT_BRANCH="master"
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
+else
+   
SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+fi
+
+S="${WORKDIR}/${MY_P}"
+
+# libpulse-simple and libpulse link to libpulse-core; this is daemon's
+# library and can link to gdbm and other GPL-only libraries. In this
+# cases, we have a fully GPL-2 package. Leaving the rest of the
+# GPL-forcing USE flags for those who use them.
+LICENSE="!gdbm? ( LGPL-2.1 ) gdbm? ( GPL-2 )"
+
+SLOT="0"
+
+# +alsa-plugin as discussed in bug #519530
+# TODO: Find out why webrtc-aec is + prefixed - there's already the always 
available speexdsp-aec
+# NOTE: The current ebuild sets +X almost certainly just for the 
pulseaudio.desktop file
+IUSE="+alsa +alsa-plugin aptx +asyncns bluetooth dbus elogind equalizer fftw 
+gdbm +glib gstreamer jack ldac lirc
+ofono-headset +orc oss selinux sox ssl systemd system-wide tcpd test +udev 
valgrind +webrtc-aec +X zeroconf"
+
+RESTRICT="!test? ( test )"
+
+# See "*** BLUEZ support not found (requires D-Bus)" in configure.ac
+# Basically all IUSE are either ${MULTILIB_USEDEP} for client libs or they 
belong under !daemon ()
+# We duplicate alsa-plugin, {native,ofono}-headset under daemon to let users 
deal with them at once
+REQUIRED_USE="
+   ?? ( elogind systemd )
+   alsa-plugin? ( alsa )
+   aptx? ( bluetooth )
+   bluetooth? ( dbus )
+   equalizer? ( dbus )
+   ldac? ( bluetooth )
+   ofono-headset? ( bluetooth )
+   udev? ( || ( alsa oss ) )
+   zeroconf? ( dbus )
+"
+
+# NOTE:
+# - libpcre needed in some cases, bug #472228
+# - media-libs/speexdsp is providing echo canceller implementation and used in 
resampler
+# TODO: libatomic_ops is only needed on some architectures and conditions, and 
then at runtime too
+gstreamer_deps="
+   media-libs/gst-plugins-base
+   >=media-libs/gstreamer-1.14
+"
+COMMON_DEPEND="
+   >=media-libs/libpulse-${PV}[dbus?,glib?,systemd?,valgrind?,X?]
+   dev-libs/libatomic_ops
+   >=media-libs/libsndfile-1.0.20
+   >=media-libs/speexdsp-1.2
+   || (
+   elibc_glibc? ( virtual/libc )
+   dev-libs/libpcre:3
+   )
+   alsa? ( >=media-libs/alsa-lib-1.0.24 )
+   aptx? ( ${gstreamer_deps} )
+   asyncns? ( >=net-libs/libasyncns-0.1 )
+   bluetooth? (
+   >=net-wireless/bluez-5
+   media-libs/sbc
+   )
+   dev-libs/libltdl
+   sys-kernel/linux-headers
+   >=sys-libs/libcap-2.22-r2
+   dbus? ( >=sys-apps/dbus-1.4.12 )
+   elogind? 

[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-06-20 Thread Sam James
commit: 72bc1ffdb453e1ef5435e834e376f99230150eae
Author: Sam James  gentoo  org>
AuthorDate: Tue Jun 21 01:23:12 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun 21 01:23:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72bc1ffd

media-sound/pulseaudio-daemon: update DESCRIPTION

Closes: https://bugs.gentoo.org/833830
Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild
index 5e19cc3419c7..f9980628eb08 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild
@@ -7,7 +7,7 @@ MY_PV="${PV/_pre*}"
 MY_P="pulseaudio-${MY_PV}"
 inherit bash-completion-r1 gnome2-utils meson optfeature systemd tmpfiles udev
 
-DESCRIPTION="A networked sound server with an advanced plugin system"
+DESCRIPTION="Daemon component of PulseAudio (networked sound server)"
 HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/;
 
 if [[ ${PV} =  ]]; then



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/files/, media-sound/pulseaudio-daemon/

2022-06-17 Thread Sam James
commit: 34c7075aeac33688f7d7758c4f723cdfd8055820
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Fri Jun 17 23:37:30 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 18 00:18:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34c7075a

media-sound/pulseaudio-daemon: Fix crash using pacmd play-file command

Upstream commit a8a2a31408c4acf54530d65922d235d3e590ce05

Fixes pulseaudio crash when playing a file using pacmd play-file command.

Signed-off-by: Igor V. Kovalenko  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/25949
Signed-off-by: Sam James  gentoo.org>

 ...pulseaudio-16.0-fix-pacmd-play-file-crash.patch | 42 ++
 .../pulseaudio-daemon-16.0-r5.ebuild   |  1 +
 2 files changed, 43 insertions(+)

diff --git 
a/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-fix-pacmd-play-file-crash.patch
 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-fix-pacmd-play-file-crash.patch
new file mode 100644
index ..f9c044dbb2be
--- /dev/null
+++ 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-fix-pacmd-play-file-crash.patch
@@ -0,0 +1,42 @@
+https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/a8a2a31408c4acf54530d65922d235d3e590ce05
+
+From a8a2a31408c4acf54530d65922d235d3e590ce05 Mon Sep 17 00:00:00 2001
+From: Jaechul Lee 
+Date: Thu, 2 Jun 2022 15:07:09 +0900
+Subject: [PATCH] sound-file-stream: Fix crash when playing a file which is not
+ aligned
+
+pulseaudio crash occurred when I play a file using pacmd play-file command.
+The file is not aligned with its frame size and the last rendering size
+is also not aligned. Thus, an assertion was generated at the end of the
+file as the following.
+
+memblockq.c: Assertion 'uchunk->length % bq->base == 0' failed at
+../src/pulsecore/memblockq.c:288, function pa_memblockq_push(). Aborting.
+
+When I play the file using paplay, it works good. So, I changed to
+pa_memblockq_push_align instead of pa_memblockq_push to prevent the
+assertion.
+
+Signed-off-by: Jaechul Lee 
+Part-of: 

+---
+ src/pulsecore/sound-file-stream.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/pulsecore/sound-file-stream.c 
b/src/pulsecore/sound-file-stream.c
+index 147aa2288..255f4b61a 100644
+--- a/src/pulsecore/sound-file-stream.c
 b/src/pulsecore/sound-file-stream.c
+@@ -185,7 +185,7 @@ static int sink_input_pop_cb(pa_sink_input *i, size_t 
length, pa_memchunk *chunk
+ 
+ tchunk.length = (size_t) n * fs;
+ 
+-pa_memblockq_push(u->memblockq, );
++pa_memblockq_push_align(u->memblockq, );
+ pa_memblock_unref(tchunk.memblock);
+ }
+ 
+-- 
+GitLab
+

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild
index 25e717a28ffa..5e19cc3419c7 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild
@@ -167,6 +167,7 @@ PATCHES=(
"${FILESDIR}"/pulseaudio-16.0-optional-module-console-kit.patch
"${FILESDIR}"/pulseaudio-16.0-fix-combine-sink-underrun-crash.patch
"${FILESDIR}"/pulseaudio-16.0-fix-gstreamer-bluetooth-arm-crash.patch
+   "${FILESDIR}"/pulseaudio-16.0-fix-pacmd-play-file-crash.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-06-17 Thread Sam James
commit: bd832d12a6354e2d02c974becda6819dea385b1f
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Fri Jun 17 23:37:30 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 18 00:18:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd832d12

media-sound/pulseaudio-daemon: Revbump for upstream fixes

Signed-off-by: Igor V. Kovalenko  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 .../pulseaudio-daemon-16.0-r5.ebuild   | 388 +
 1 file changed, 388 insertions(+)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild
new file mode 100644
index ..3ec78e0ac672
--- /dev/null
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild
@@ -0,0 +1,388 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+MY_PV="${PV/_pre*}"
+MY_P="pulseaudio-${MY_PV}"
+inherit bash-completion-r1 gnome2-utils meson optfeature systemd tmpfiles udev
+
+DESCRIPTION="A networked sound server with an advanced plugin system"
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/;
+
+if [[ ${PV} =  ]]; then
+   inherit git-r3
+   EGIT_BRANCH="master"
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
+else
+   
SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+fi
+
+S="${WORKDIR}/${MY_P}"
+
+# libpulse-simple and libpulse link to libpulse-core; this is daemon's
+# library and can link to gdbm and other GPL-only libraries. In this
+# cases, we have a fully GPL-2 package. Leaving the rest of the
+# GPL-forcing USE flags for those who use them.
+LICENSE="!gdbm? ( LGPL-2.1 ) gdbm? ( GPL-2 )"
+
+SLOT="0"
+
+# +alsa-plugin as discussed in bug #519530
+# TODO: Find out why webrtc-aec is + prefixed - there's already the always 
available speexdsp-aec
+# NOTE: The current ebuild sets +X almost certainly just for the 
pulseaudio.desktop file
+IUSE="+alsa +alsa-plugin aptx +asyncns bluetooth dbus elogind equalizer fftw 
+gdbm +glib gstreamer jack ldac lirc
+ofono-headset +orc oss selinux sox ssl systemd system-wide tcpd test +udev 
valgrind +webrtc-aec +X zeroconf"
+
+RESTRICT="!test? ( test )"
+
+# See "*** BLUEZ support not found (requires D-Bus)" in configure.ac
+# Basically all IUSE are either ${MULTILIB_USEDEP} for client libs or they 
belong under !daemon ()
+# We duplicate alsa-plugin, {native,ofono}-headset under daemon to let users 
deal with them at once
+REQUIRED_USE="
+   ?? ( elogind systemd )
+   alsa-plugin? ( alsa )
+   aptx? ( bluetooth )
+   bluetooth? ( dbus )
+   equalizer? ( dbus )
+   ldac? ( bluetooth )
+   ofono-headset? ( bluetooth )
+   udev? ( || ( alsa oss ) )
+   zeroconf? ( dbus )
+"
+
+# NOTE:
+# - libpcre needed in some cases, bug #472228
+# - media-libs/speexdsp is providing echo canceller implementation and used in 
resampler
+# TODO: libatomic_ops is only needed on some architectures and conditions, and 
then at runtime too
+gstreamer_deps="
+   media-libs/gst-plugins-base
+   >=media-libs/gstreamer-1.14
+"
+COMMON_DEPEND="
+   >=media-libs/libpulse-${PV}[dbus?,glib?,systemd?,valgrind?,X?]
+   dev-libs/libatomic_ops
+   >=media-libs/libsndfile-1.0.20
+   >=media-libs/speexdsp-1.2
+   || (
+   elibc_glibc? ( virtual/libc )
+   dev-libs/libpcre:3
+   )
+   alsa? ( >=media-libs/alsa-lib-1.0.24 )
+   aptx? ( ${gstreamer_deps} )
+   asyncns? ( >=net-libs/libasyncns-0.1 )
+   bluetooth? (
+   >=net-wireless/bluez-5
+   media-libs/sbc
+   )
+   dev-libs/libltdl
+   sys-kernel/linux-headers
+   >=sys-libs/libcap-2.22-r2
+   dbus? ( >=sys-apps/dbus-1.4.12 )
+   elogind? ( sys-auth/elogind )
+   equalizer? (
+   sci-libs/fftw:3.0=
+   )
+   fftw? (
+   sci-libs/fftw:3.0=
+   )
+   gdbm? ( sys-libs/gdbm:= )
+   glib? ( >=dev-libs/glib-2.28.0:2 )
+   gstreamer? (
+   ${gstreamer_deps}
+   >=dev-libs/glib-2.26.0:2
+   )
+   jack? ( virtual/jack )
+   ldac? ( ${gstreamer_deps} )
+   lirc? ( app-misc/lirc )
+   ofono-headset? ( >=net-misc/ofono-1.13 )
+   orc? ( >=dev-lang/orc-0.4.15 )
+   selinux? ( sec-policy/selinux-pulseaudio )
+   sox? ( >=media-libs/soxr-0.1.1 )
+   ssl? ( dev-libs/openssl:= )
+   systemd? ( sys-apps/systemd:= )
+   tcpd? ( sys-apps/tcp-wrappers )
+   udev? ( >=virtual/udev-143[hwdb(+)] )
+   valgrind? ( dev-util/valgrind )
+   webrtc-aec? ( >=media-libs/webrtc-audio-processing-0.2:0 )
+   X? (
+   >=x11-libs/libxcb-1.6
+   x11-libs/libICE

[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/files/, media-sound/pulseaudio-daemon/

2022-06-17 Thread Sam James
commit: 3408c976d850bad9d19c1cdc25fbf0851cb9b22d
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Fri Jun 17 23:37:29 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 18 00:18:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3408c976

media-sound/pulseaudio-daemon: Fix crash after combine-sink underrun

Upstream commit ee8bfb49a271d8a8cafa796c6f9fa84de48a

Closes: https://bugs.gentoo.org/852848
Signed-off-by: Igor V. Kovalenko  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 ...udio-16.0-fix-combine-sink-underrun-crash.patch | 72 ++
 .../pulseaudio-daemon-16.0-r5.ebuild   |  1 +
 2 files changed, 73 insertions(+)

diff --git 
a/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-fix-combine-sink-underrun-crash.patch
 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-fix-combine-sink-underrun-crash.patch
new file mode 100644
index ..d66d75afdfda
--- /dev/null
+++ 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-fix-combine-sink-underrun-crash.patch
@@ -0,0 +1,72 @@
+https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/ee8bfb49a271d8a8cafa796c6f9fa84de48a
+
+From ee8bfb49a271d8a8cafa796c6f9fa84de48a Mon Sep 17 00:00:00 2001
+From: Georg Chini 
+Date: Fri, 17 Jun 2022 13:11:11 +0200
+Subject: [PATCH] combine-sink: Fix threading issue during underrun
+
+A recent commit added i->origin sink for the sink inputs of the combine sinks.
+Therefore pa_sink_process_input_underruns() treated the combine sink like
+filter sinks. pa_sink_process_input_underruns() calls itself with the
+origin sink, which is only correct for filter sinks because they run in the
+thread context of the origin sink. The combine sink however has its own
+thread context, so pa_sink_process_input_underruns() was executed in the
+wrong context.
+This patch fixes the issue by skipping the section for module-combine-sink.
+
+Part-of: 

+---
+ src/pulsecore/sink.c | 37 +++--
+ 1 file changed, 23 insertions(+), 14 deletions(-)
+
+diff --git a/src/pulsecore/sink.c b/src/pulsecore/sink.c
+index 3108ae765..0f0dc56fc 100644
+--- a/src/pulsecore/sink.c
 b/src/pulsecore/sink.c
+@@ -1016,20 +1016,29 @@ size_t pa_sink_process_input_underruns(pa_sink *s, 
size_t left_to_play) {
+ if (i->origin_sink) {
+ size_t filter_result, left_to_play_origin;
+ 
+-/* The recursive call works in the origin sink domain ... */
+-left_to_play_origin = pa_convert_size(left_to_play, 
>sink->sample_spec, >origin_sink->sample_spec);
+-
+-/* .. and returns the time to sleep before waking up. We need the
+- * underrun duration for comparisons, so we undo the subtraction 
on
+- * the return value... */
+-filter_result = left_to_play_origin - 
pa_sink_process_input_underruns(i->origin_sink, left_to_play_origin);
+-
+-/* ... and convert it back to the master sink domain */
+-filter_result = pa_convert_size(filter_result, 
>origin_sink->sample_spec, >sink->sample_spec);
+-
+-/* Remember the longest underrun so far */
+-if (filter_result > result)
+-result = filter_result;
++/* The combine sink sets i->origin sink but has a different 
threading model
++ * than the filter sinks. Therefore the recursion below may not 
be executed
++ * because pa_sink_process_input_underruns() was not called in 
the thread
++ * context of the origin sink.
++ * FIXME: It is unclear if some other kind of recursion would be 
necessary
++ * for the combine sink. */
++if (!i->module || !pa_safe_streq(i->module->name, 
"module-combine-sink")) {
++
++/* The recursive call works in the origin sink domain ... */
++left_to_play_origin = pa_convert_size(left_to_play, 
>sink->sample_spec, >origin_sink->sample_spec);
++
++/* .. and returns the time to sleep before waking up. We need 
the
++ * underrun duration for comparisons, so we undo the 
subtraction on
++ * the return value... */
++filter_result = left_to_play_origin - 
pa_sink_process_input_underruns(i->origin_sink, left_to_play_origin);
++
++/* ... and convert it back to the master sink domain */
++filter_result = pa_convert_size(filter_result, 
>origin_sink->sample_spec, >sink->sample_spec);
++
++/* Remember the longest underrun so far */
++if (filter_result > result)
++result = filter_result;
++}
+ }
+ 
+ if (uf == 0) {
+-- 
+GitLab
+

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild

[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/files/, media-sound/pulseaudio-daemon/

2022-06-17 Thread Sam James
commit: 18059c099d4073d0708d9e40c16ebc974df86aff
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Fri Jun 17 23:37:30 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 18 00:18:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18059c09

media-sound/pulseaudio-daemon: Fix gstreamer bluetooth crash on 32-bit ARM

Upstream commit dd4dc5e8bce2c03631c3613dbddee1a691bdd17d

Fixes pulseaudio crash on ARM 32-bit when pulseaudio is compiled with
gstreamer and either LDAC or aptX support is available.

Signed-off-by: Igor V. Kovalenko  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 ...io-16.0-fix-gstreamer-bluetooth-arm-crash.patch | 43 ++
 .../pulseaudio-daemon-16.0-r5.ebuild   |  1 +
 2 files changed, 44 insertions(+)

diff --git 
a/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-fix-gstreamer-bluetooth-arm-crash.patch
 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-fix-gstreamer-bluetooth-arm-crash.patch
new file mode 100644
index ..a2efaf37b381
--- /dev/null
+++ 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-fix-gstreamer-bluetooth-arm-crash.patch
@@ -0,0 +1,43 @@
+https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/dd4dc5e8bce2c03631c3613dbddee1a691bdd17d
+
+From dd4dc5e8bce2c03631c3613dbddee1a691bdd17d Mon Sep 17 00:00:00 2001
+From: Jan Palus 
+Date: Fri, 17 Jun 2022 14:36:36 +0200
+Subject: [PATCH] bluetooth/gst: Correct var type for GST_TYPE_BITMASK
+
+GST_TYPE_BITMASK is 64-bit bit mask while corresponding channel_mask in
+pulseaudio is int therefore usually 32-bit. Switch to uint64_t instead
+to match internal representation in gstreamer.
+
+Fixes pulseaudio crash on ARM 32-bit when pulseaudio is compiled with
+gstreamer and either LDAC or aptX support is available.
+
+Part-of: 

+---
+ src/modules/bluetooth/a2dp-codec-gst.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/src/modules/bluetooth/a2dp-codec-gst.c 
b/src/modules/bluetooth/a2dp-codec-gst.c
+index 8ef74be9c..11839c580 100644
+--- a/src/modules/bluetooth/a2dp-codec-gst.c
 b/src/modules/bluetooth/a2dp-codec-gst.c
+@@ -22,6 +22,7 @@
+ #endif
+ 
+ #include 
++#include 
+ 
+ #include 
+ #include 
+@@ -82,7 +83,7 @@ fail:
+ static GstCaps *gst_create_caps_from_sample_spec(const pa_sample_spec *ss) {
+ gchar *sample_format;
+ GstCaps *caps;
+-int channel_mask;
++uint64_t channel_mask;
+ 
+ switch (ss->format) {
+ case PA_SAMPLE_S16LE:
+-- 
+GitLab
+

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild
index c6b1b5a0b623..25e717a28ffa 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild
@@ -166,6 +166,7 @@ PATCHES=(
"${FILESDIR}"/pulseaudio-16.0-fix-rtp-receiver-sdp-record.patch
"${FILESDIR}"/pulseaudio-16.0-optional-module-console-kit.patch
"${FILESDIR}"/pulseaudio-16.0-fix-combine-sink-underrun-crash.patch
+   "${FILESDIR}"/pulseaudio-16.0-fix-gstreamer-bluetooth-arm-crash.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-06-17 Thread Sam James
commit: 5ee9ff09cbcf71d1095c010fb0e1b6f20a7bd13c
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Fri Jun 17 23:37:29 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 18 00:18:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ee9ff09

media-sound/pulseaudio-daemon: Add optional conf dirs to silence warning

Daemon configuration scripts will try to load snippets from corresponding
'.d' dirs. Install these dirs to silence a warning if they are missing.

Closes: https://bugs.gentoo.org/852587
Signed-off-by: Igor V. Kovalenko  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild | 5 +
 1 file changed, 5 insertions(+)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild
index 3ec78e0ac672..cf0871a10c25 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r5.ebuild
@@ -256,6 +256,11 @@ src_install() {
rm "${D}/$(get_bashcompdir)"/pacmd || die
rm "${D}/$(get_bashcompdir)"/pasuspender || die
 
+   # Daemon configuration scripts will try to load snippets from 
corresponding '.d' dirs.
+   # Install these dirs to silence a warning if they are missing.
+   keepdir /etc/pulse/default.pa.d
+   keepdir /etc/pulse/system.pa.d
+
if use system-wide; then
newconfd "${FILESDIR}"/pulseaudio.conf.d pulseaudio
 



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-06-15 Thread Sam James
commit: 27f306727bf7ad17b7e6c02e0cab40d10e50fcd6
Author: Sam James  gentoo  org>
AuthorDate: Wed Jun 15 23:27:07 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun 15 23:27:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27f30672

media-sound/pulseaudio-daemon: drop premature pipewire[sound-server(+)] blocker

Otherwise we can't be coinstalled with PW at all (think of non-audio cases).

USE=sound-server is likely to be introduced soon though.

Fixes: b1a66ec4bead0f93cc7ac233369453e20d3cbca9
Signed-off-by: Sam James  gentoo.org>

 ...pulseaudio-daemon-16.0-r3.ebuild => pulseaudio-daemon-16.0-r4.ebuild} | 1 -
 1 file changed, 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r3.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r4.ebuild
similarity index 99%
rename from media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r3.ebuild
rename to media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r4.ebuild
index 8e71422217bb..3ec78e0ac672 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r3.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r4.ebuild
@@ -138,7 +138,6 @@ RDEPEND="
ldac? ( media-plugins/gst-plugins-ldac )
aptx? ( media-plugins/gst-plugins-openaptx )
)
-   !media-video/pipewire[sound-server(+)]
 "
 unset gstreamer_deps
 



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-06-15 Thread Sam James
commit: 14d4a017331880bfbcba8510718250748bb394fa
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Wed Jun 15 22:40:46 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun 15 22:44:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14d4a017

media-sound/pulseaudio-daemon: Add dev-libs/glib dep for gio library

GStreamer-based RTP protocol module requires gio library from dev-libs/glib,
add explicit dependency.

Closes: https://bugs.gentoo.org/818229
Signed-off-by: Igor V. Kovalenko  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/25919
Signed-off-by: Sam James  gentoo.org>

 ...eaudio-daemon-16.0-r2.ebuild => pulseaudio-daemon-16.0-r3.ebuild} | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r3.ebuild
similarity index 99%
rename from media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild
rename to media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r3.ebuild
index fb3c1588301e..8e71422217bb 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r3.ebuild
@@ -89,7 +89,10 @@ COMMON_DEPEND="
)
gdbm? ( sys-libs/gdbm:= )
glib? ( >=dev-libs/glib-2.28.0:2 )
-   gstreamer? ( ${gstreamer_deps} )
+   gstreamer? (
+   ${gstreamer_deps}
+   >=dev-libs/glib-2.26.0:2
+   )
jack? ( virtual/jack )
ldac? ( ${gstreamer_deps} )
lirc? ( app-misc/lirc )



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-06-15 Thread Sam James
commit: f8145bf27a3832070edfc76961624dad342d1082
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Tue Jun 14 19:58:49 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun 15 21:56:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8145bf2

media-sound/pulseaudio-daemon: Drop IUSE ipv6

Drop IUSE ipv6 and unconditionally enable support for IPv6 since pulseaudio
would automatically detect and handle IPv4/IPv6 addresses in configuration.
IUSE ipv6 is already dropped from media-sound/libpulse.

Signed-off-by: Igor V. Kovalenko  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild
index 960fa0f71668..dbe0de94faea 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild
@@ -32,7 +32,7 @@ SLOT="0"
 # +alsa-plugin as discussed in bug #519530
 # TODO: Find out why webrtc-aec is + prefixed - there's already the always 
available speexdsp-aec
 # NOTE: The current ebuild sets +X almost certainly just for the 
pulseaudio.desktop file
-IUSE="+alsa +alsa-plugin aptx +asyncns bluetooth dbus elogind equalizer fftw 
+gdbm +glib gstreamer ipv6 jack ldac lirc
+IUSE="+alsa +alsa-plugin aptx +asyncns bluetooth dbus elogind equalizer fftw 
+gdbm +glib gstreamer jack ldac lirc
 ofono-headset +orc oss selinux sox ssl systemd system-wide tcpd test +udev 
valgrind +webrtc-aec +X zeroconf"
 
 RESTRICT="!test? ( test )"
@@ -219,7 +219,7 @@ src_configure() {
$(meson_feature gstreamer)
-Dgtk=disabled
-Dhal-compat=true # Consider disabling on next revbump
-   $(meson_use ipv6)
+   -Dipv6=true
$(meson_feature jack)
$(meson_feature lirc)
$(meson_feature ssl openssl)



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-06-15 Thread Sam James
commit: 603ed49dbf54f624adce69db067417015103ae9f
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Tue Jun 14 19:59:05 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun 15 21:56:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=603ed49d

media-sound/pulseaudio-daemon: Remove module-hal-detect.

HAL support module `module-hal-detect` is a stub loading `module-udev-detect`.
It is not referenced in any configuration for ages. Drop this feature.

Signed-off-by: Igor V. Kovalenko  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild
index dbe0de94faea..5cdce975c231 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild
@@ -218,7 +218,7 @@ src_configure() {
$(meson_feature glib gsettings) # Supposedly correct?
$(meson_feature gstreamer)
-Dgtk=disabled
-   -Dhal-compat=true # Consider disabling on next revbump
+   -Dhal-compat=false
-Dipv6=true
$(meson_feature jack)
$(meson_feature lirc)



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/, media-sound/pulseaudio-daemon/files/

2022-06-15 Thread Sam James
commit: b1a66ec4bead0f93cc7ac233369453e20d3cbca9
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Mon Jun 13 22:14:19 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun 15 21:56:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1a66ec4

media-sound/pulseaudio-daemon: rtp: Initialize SDP info struct field added for 
OPUS

Upstream commit d7a633df899dda8738a30df318269e28c902e815

Signed-off-by: Igor V. Kovalenko  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 ...lseaudio-16.0-fix-rtp-receiver-sdp-record.patch |  26 ++
 .../pulseaudio-daemon-16.0-r2.ebuild   | 385 +
 2 files changed, 411 insertions(+)

diff --git 
a/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-fix-rtp-receiver-sdp-record.patch
 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-fix-rtp-receiver-sdp-record.patch
new file mode 100644
index ..3d72b9a009c4
--- /dev/null
+++ 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-fix-rtp-receiver-sdp-record.patch
@@ -0,0 +1,26 @@
+commit d7a633df899dda8738a30df318269e28c902e815
+Author: Igor V. Kovalenko 
+Date:   Mon Jun 13 21:38:08 2022 +0300
+
+rtp: Initialize SDP info struct field added for OPUS
+
+Turned out that pa_sdp_info::enable_opus is never initialized, which seldom
+makes module-rtp-recv believe it will be playing OPUS-encoded stream even 
though
+discovered SDP record does not indicate OPUS codec in metadata.
+
+Fix this by adding missing initializer.
+
+Part-of: 

+
+diff --git a/src/modules/rtp/sdp.c b/src/modules/rtp/sdp.c
+index 4e6a442f8..bf131a27e 100644
+--- a/src/modules/rtp/sdp.c
 b/src/modules/rtp/sdp.c
+@@ -129,6 +129,7 @@ pa_sdp_info *pa_sdp_parse(const char *t, pa_sdp_info *i, 
int is_goodbye) {
+ i->origin = i->session_name = NULL;
+ i->salen = 0;
+ i->payload = 255;
++i->enable_opus = false;
+ 
+ if (pa_startswith(t, PA_SDP_HEADER)) {
+ t += sizeof(PA_SDP_HEADER) - 1;

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild
new file mode 100644
index ..9d8e52522d06
--- /dev/null
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild
@@ -0,0 +1,385 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+MY_PV="${PV/_pre*}"
+MY_P="pulseaudio-${MY_PV}"
+inherit bash-completion-r1 gnome2-utils meson optfeature systemd tmpfiles udev
+
+DESCRIPTION="A networked sound server with an advanced plugin system"
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/;
+
+if [[ ${PV} =  ]]; then
+   inherit git-r3
+   EGIT_BRANCH="master"
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
+else
+   
SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+fi
+
+S="${WORKDIR}/${MY_P}"
+
+# libpulse-simple and libpulse link to libpulse-core; this is daemon's
+# library and can link to gdbm and other GPL-only libraries. In this
+# cases, we have a fully GPL-2 package. Leaving the rest of the
+# GPL-forcing USE flags for those who use them.
+LICENSE="!gdbm? ( LGPL-2.1 ) gdbm? ( GPL-2 )"
+
+SLOT="0"
+
+# +alsa-plugin as discussed in bug #519530
+# TODO: Find out why webrtc-aec is + prefixed - there's already the always 
available speexdsp-aec
+# NOTE: The current ebuild sets +X almost certainly just for the 
pulseaudio.desktop file
+IUSE="+alsa +alsa-plugin aptx +asyncns bluetooth dbus elogind equalizer fftw 
+gdbm +glib gstreamer gtk ipv6 jack ldac lirc
+ofono-headset +orc oss selinux sox ssl systemd system-wide tcpd test +udev 
valgrind +webrtc-aec +X zeroconf"
+
+RESTRICT="!test? ( test )"
+
+# See "*** BLUEZ support not found (requires D-Bus)" in configure.ac
+# Basically all IUSE are either ${MULTILIB_USEDEP} for client libs or they 
belong under !daemon ()
+# We duplicate alsa-plugin, {native,ofono}-headset under daemon to let users 
deal with them at once
+REQUIRED_USE="
+   ?? ( elogind systemd )
+   alsa-plugin? ( alsa )
+   aptx? ( bluetooth )
+   bluetooth? ( dbus )
+   equalizer? ( dbus )
+   ldac? ( bluetooth )
+   ofono-headset? ( bluetooth )
+   udev? ( || ( alsa oss ) )
+   zeroconf? ( dbus )
+"
+
+# NOTE:
+# - libpcre needed in some cases, bug #472228
+# - media-libs/speexdsp is providing echo canceller implementation and used in 
resampler
+# TODO: libatomic_ops is only needed on some architectures and conditions, and 
then at runtime too
+gstreamer_deps="
+   media-libs/gst-plugins-base
+   >=media-libs/gstreamer-1.14
+"
+COMMON_DEPEND="
+   

[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/, media-sound/pulseaudio-daemon/files/

2022-06-15 Thread Sam James
commit: 17dea0907ab8369c600955b38bd27c86c9c79cc8
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Mon Jun 13 22:14:38 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun 15 21:56:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17dea090

media-sound/pulseaudio-daemon: Make module-console-kit optional

Upstream commit 823e46fba0742605f557b68cd591f61624b93966

Now it is possible to explicitly disable module-console-kit, do that since
consolekit is no longer available in the tree.

Closes: https://bugs.gentoo.org/669908
Signed-off-by: Igor V. Kovalenko  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 ...lseaudio-16.0-optional-module-console-kit.patch | 76 ++
 .../pulseaudio-daemon-16.0-r2.ebuild   |  2 +
 2 files changed, 78 insertions(+)

diff --git 
a/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-optional-module-console-kit.patch
 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-optional-module-console-kit.patch
new file mode 100644
index ..4ffdb82f4901
--- /dev/null
+++ 
b/media-sound/pulseaudio-daemon/files/pulseaudio-16.0-optional-module-console-kit.patch
@@ -0,0 +1,76 @@
+commit 823e46fba0742605f557b68cd591f61624b93966
+Author: Igor V. Kovalenko 
+Date:   Sun Jun 12 21:49:32 2022 +0300
+
+build-sys: meson: Make module-console-kit optional
+
+Default build configuration would fail to run on a system without 
systemd-logind
+(or elogind) and without ConsoleKit daemon responding on dbus interface. 
Here,
+module-console-kit would fail to initialize, preventing daemon from 
starting.
+
+Make module-console-kit an optional build feature to allow opt-out.
+
+Part-of: 

+
+diff --git a/meson.build b/meson.build
+index d4cdbd6a5..c6db7e670 100644
+--- a/meson.build
 b/meson.build
+@@ -732,6 +732,10 @@ if get_option('daemon')
+ cdata.set('HAVE_SYSTEMD_LOGIN', 1)
+   endif
+ 
++  if get_option('consolekit').enabled()
++assert(dbus_dep.found(), 'ConsoleKit requires D-Bus support')
++  endif
++
+   tcpwrap_dep = cc.find_library('wrap', required: get_option('tcpwrap'))
+   if cc.has_header('tcpd.h') and cc.has_function('hosts_access', dependencies 
: tcpwrap_dep)
+ cdata.set('HAVE_LIBWRAP', 1)
+@@ -1001,6 +1005,7 @@ summary += [
+   '  Enable HAL->udev compat: @0@'.format(get_option('hal-compat')),
+   'Enable systemd units:  @0@'.format(systemd_dep.found()),
+   'Enable elogind:@0@'.format(libelogind_dep.found()),
++  'Enable ConsoleKit: @0@'.format(not 
get_option('consolekit').disabled() and dbus_dep.found()),
+   'Enable TCP Wrappers:   @0@'.format(tcpwrap_dep.found()),
+   'Enable OpenSSL (for Airtunes): @0@'.format(openssl_dep.found()),
+   'Database:  @0@'.format(get_option('database')),
+diff --git a/meson_options.txt b/meson_options.txt
+index b23210072..e7160a3a7 100644
+--- a/meson_options.txt
 b/meson_options.txt
+@@ -99,6 +99,9 @@ option('bluez5-native-headset',
+ option('bluez5-ofono-headset',
+type : 'boolean',
+description : 'Optional oFono headset backend support (BlueZ 5)')
++option('consolekit',
++   type : 'feature', value : 'auto',
++   description : 'Optional ConsoleKit support')
+ option('dbus',
+type : 'feature', value : 'auto',
+description : 'Optional D-Bus support')
+diff --git a/src/modules/meson.build b/src/modules/meson.build
+index cdf372c8e..1d8004300 100644
+--- a/src/modules/meson.build
 b/src/modules/meson.build
+@@ -130,7 +130,6 @@ endif
+ 
+ if dbus_dep.found()
+   all_modules += [
+-[ 'module-console-kit', 'module-console-kit.c', [], [], [dbus_dep] ],
+ [ 'module-dbus-protocol',
+   [ 'dbus/iface-card.c', 'dbus/iface-card.h',
+   'dbus/iface-card-profile.c', 'dbus/iface-card-profile.h',
+@@ -147,6 +146,12 @@ if dbus_dep.found()
+   [], [], [dbus_dep] ],
+ [ 'module-rygel-media-server', 'module-rygel-media-server.c', [], [], 
[dbus_dep], libprotocol_http ],
+   ]
++
++  if not get_option('consolekit').disabled()
++all_modules += [
++  [ 'module-console-kit', 'module-console-kit.c', [], [], [dbus_dep] ],
++]
++  endif
+ endif
+ 
+ if fftw_dep.found()

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild
index 9d8e52522d06..adf6cbbd994e 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild
@@ -163,6 +163,7 @@ S="${WORKDIR}/${MY_P}"
 # patches merged upstream, to be removed with 16.1 or later bump
 PATCHES=(
"${FILESDIR}"/pulseaudio-16.0-fix-rtp-receiver-sdp-record.patch
+   "${FILESDIR}"/pulseaudio-16.0-optional-module-console-kit.patch
 )
 
 src_prepare() {
@@ -210,6 +211,7 @@ src_configure() {

[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-06-15 Thread Sam James
commit: 8d2998e0a0f52d6eeb91d254db44462fcaa89ab2
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Tue Jun 14 19:58:30 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun 15 21:56:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d2998e0

media-sound/pulseaudio-daemon: Drop IUSE gtk

Drop IUSE gtk from pulseaudio-daemon since gtk+/glib properties are only
considered by client apps via loaded libpulse implementation.

Signed-off-by: Igor V. Kovalenko  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild
index adf6cbbd994e..960fa0f71668 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild
@@ -32,7 +32,7 @@ SLOT="0"
 # +alsa-plugin as discussed in bug #519530
 # TODO: Find out why webrtc-aec is + prefixed - there's already the always 
available speexdsp-aec
 # NOTE: The current ebuild sets +X almost certainly just for the 
pulseaudio.desktop file
-IUSE="+alsa +alsa-plugin aptx +asyncns bluetooth dbus elogind equalizer fftw 
+gdbm +glib gstreamer gtk ipv6 jack ldac lirc
+IUSE="+alsa +alsa-plugin aptx +asyncns bluetooth dbus elogind equalizer fftw 
+gdbm +glib gstreamer ipv6 jack ldac lirc
 ofono-headset +orc oss selinux sox ssl systemd system-wide tcpd test +udev 
valgrind +webrtc-aec +X zeroconf"
 
 RESTRICT="!test? ( test )"
@@ -90,7 +90,6 @@ COMMON_DEPEND="
gdbm? ( sys-libs/gdbm:= )
glib? ( >=dev-libs/glib-2.28.0:2 )
gstreamer? ( ${gstreamer_deps} )
-   gtk? ( x11-libs/gtk+:3 )
jack? ( virtual/jack )
ldac? ( ${gstreamer_deps} )
lirc? ( app-misc/lirc )
@@ -218,7 +217,7 @@ src_configure() {
$(meson_feature glib) # WARNING: toggling this likely changes 
ABI
$(meson_feature glib gsettings) # Supposedly correct?
$(meson_feature gstreamer)
-   $(meson_feature gtk)
+   -Dgtk=disabled
-Dhal-compat=true # Consider disabling on next revbump
$(meson_use ipv6)
$(meson_feature jack)



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-06-12 Thread Agostino Sarubbo
commit: e88422d1ccb0724ceb13d4b832b271d98e4ad956
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jun 12 08:31:25 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jun 12 08:32:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e88422d1

media-sound/pulseaudio-daemon: x86 stable wrt bug #850604

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
index 6824b043c144..ffb4e1a39881 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-06-12 Thread Agostino Sarubbo
commit: 037f60ddc6c68caa1cd4c43336a113aa6ffb9a43
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jun 12 08:29:57 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jun 12 08:29:57 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=037f60dd

media-sound/pulseaudio-daemon: arm64 stable wrt bug #850604

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="arm64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
index bd4938358d89..6824b043c144 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-06-11 Thread Agostino Sarubbo
commit: 029140887fa8c558546eaef9458f3a7d1a028d9f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Jun 11 07:40:42 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Jun 11 07:40:42 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02914088

media-sound/pulseaudio-daemon: sparc stable wrt bug #850604

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
index 8ef12ee3112b..bd4938358d89 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-06-11 Thread Agostino Sarubbo
commit: e9ed64df1175891e3ce5079909f69384bc9fa7ba
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Jun 11 07:40:04 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Jun 11 07:40:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9ed64df

media-sound/pulseaudio-daemon: ppc64 stable wrt bug #850604

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
index e8dd5e03d967..8ef12ee3112b 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-06-11 Thread Agostino Sarubbo
commit: 55b975b03cb6aa30914a3d4d396af3b8dc1de986
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Jun 11 07:38:12 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Jun 11 07:39:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55b975b0

media-sound/pulseaudio-daemon: ppc stable wrt bug #850604

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
index fb8a6e6afb9c..e8dd5e03d967 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-06-11 Thread Agostino Sarubbo
commit: fa64762ffafb234a7002140c468b31add6b0d354
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Jun 11 07:37:20 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Jun 11 07:37:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa64762f

media-sound/pulseaudio-daemon: arm stable wrt bug #850604

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="arm"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
index 709d042af0bf..fb8a6e6afb9c 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-06-11 Thread Sam James
commit: 59612fc6b8f06931155ae3585bfb61ba751a850d
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Fri Jun 10 17:32:09 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 11 06:41:36 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59612fc6

media-sound/pulseaudio-daemon: Call udev_reload in pkg_postrm too

Closes: https://bugs.gentoo.org/851006
Signed-off-by: Igor V. Kovalenko  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/25847
Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
index a54ff6c25597..709d042af0bf 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
@@ -379,4 +379,5 @@ pkg_postinst() {
 
 pkg_postrm() {
gnome2_schemas_update
+   use udev && udev_reload
 }



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-06-10 Thread Sam James
commit: 6265ff2f9c2526d69ae28541be9b8dc411ca3320
Author: Sam James  gentoo  org>
AuthorDate: Fri Jun 10 08:09:53 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jun 10 08:09:53 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6265ff2f

media-sound/pulseaudio-daemon: Stabilize 16.0-r1 amd64, #850604

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
index 776d8793399f..a54ff6c25597 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-06-10 Thread Sam James
commit: 1dce7fa0f5c422de63ba13da2d3dd287f8d0206a
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Tue Jun  7 06:12:39 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jun 10 06:58:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dce7fa0

media-sound/pulseaudio-daemon: Drop USE native-backend

Native backend supporting bluetooth HSP HS, HFP HF and HSP AG profiles
is now quite stable, unconditionally enable it if USE bluetooth
and drop USE native-backend from package.

If user wants to selectively disable pulseaudio handling of these bluetooth
profiles, this can be done via runtime configuration in /etc/pulse/default.pa
This is noted in added elog entries.

Signed-off-by: Igor V. Kovalenko  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/25456
Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/metadata.xml   |  5 +
 ...-16.0.ebuild => pulseaudio-daemon-16.0-r1.ebuild} | 20 
 2 files changed, 17 insertions(+), 8 deletions(-)

diff --git a/media-sound/pulseaudio-daemon/metadata.xml 
b/media-sound/pulseaudio-daemon/metadata.xml
index d44e1ed3057b..5d81f9170193 100644
--- a/media-sound/pulseaudio-daemon/metadata.xml
+++ b/media-sound/pulseaudio-daemon/metadata.xml
@@ -68,11 +68,8 @@
   ConsoleKit.
 
 Compile in valgrind memory hints
-
-  Build with native HSP backend for bluez 5.
-
 
-  Build with oFono HFP backend for bluez 5, requires 
net-misc/ofono.
+  Build with optional oFono HFP backend for bluez 5, requires 
net-misc/ofono.
 
 
   Build GStreamer-based RTP protocol module which supports more advanced 
RTP features like OPUS payload encoding.

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
similarity index 93%
rename from media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0.ebuild
rename to media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
index b8c4907403b4..776d8793399f 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild
@@ -33,7 +33,7 @@ SLOT="0"
 # TODO: Find out why webrtc-aec is + prefixed - there's already the always 
available speexdsp-aec
 # NOTE: The current ebuild sets +X almost certainly just for the 
pulseaudio.desktop file
 IUSE="+alsa +alsa-plugin aptx +asyncns bluetooth dbus elogind equalizer fftw 
+gdbm +glib gstreamer gtk ipv6 jack ldac lirc
-native-headset ofono-headset +orc oss selinux sox ssl systemd system-wide tcpd 
test +udev valgrind +webrtc-aec +X zeroconf"
+ofono-headset +orc oss selinux sox ssl systemd system-wide tcpd test +udev 
valgrind +webrtc-aec +X zeroconf"
 
 RESTRICT="!test? ( test )"
 
@@ -47,7 +47,6 @@ REQUIRED_USE="
bluetooth? ( dbus )
equalizer? ( dbus )
ldac? ( bluetooth )
-   native-headset? ( bluetooth )
ofono-headset? ( bluetooth )
udev? ( || ( alsa oss ) )
zeroconf? ( dbus )
@@ -207,7 +206,7 @@ src_configure() {
$(meson_feature zeroconf avahi)
$(meson_feature bluetooth bluez5)
-Dbluez5-gstreamer=${enable_bluez5_gstreamer}
-   $(meson_use native-headset bluez5-native-headset)
+   $(meson_use bluetooth bluez5-native-headset)
$(meson_use ofono-headset bluez5-ofono-headset)
$(meson_feature dbus)
$(meson_feature elogind)
@@ -329,7 +328,20 @@ pkg_postinst() {
elog ""
fi
 
-   if use native-headset && use ofono-headset; then
+   if use bluetooth; then
+   elog "You have enabled bluetooth USE flag for pulseaudio. 
Daemon will now handle"
+   elog "bluetooth Headset (HSP HS and HSP AG) and Handsfree (HFP 
HF) profiles using"
+   elog "native headset backend by default. This can be 
selectively disabled"
+   elog "via runtime configuration arguments to 
module-bluetooth-discover"
+   elog "in /etc/pulse/default.pa"
+   elog "To disable HFP HF append enable_native_hfp_hf=false"
+   elog "To disable HSP HS append enable_native_hsp_hs=false"
+   elog "To disable HSP AG append headset=auto or headset=ofono"
+   elog "(note this does NOT require enabling USE ofono)"
+   elog ""
+   fi
+
+   if use ofono-headset; then
elog "You have enabled both native and ofono headset profiles. 
The runtime decision"
elog "which to use is done via the 'headset' argument of 
module-bluetooth-discover."
elog ""



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-06-10 Thread Sam James
commit: 2f5b382a9d7a582b55c0ac3ddac16d710265b481
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Thu May 12 20:53:06 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jun 10 06:57:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f5b382a

media-sound/pulseaudio-daemon: Untangle USE flags gstreamer, aptx and ldac

Require USE bluetooth for codecs selected via USE ldac or aptx, and pull
required gstreamer packages as build dependency but keep respective gstreamer
plugins runtime dependency.

Handle USE gstreamer to enable GStreamer-based RTP implementation only, and
suggest media-plugins/gst-plugins-opus for RTP OPUS payload.

Signed-off-by: Igor V. Kovalenko  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/metadata.xml |  3 +-
 .../pulseaudio-daemon-16.0.ebuild  | 38 +++---
 2 files changed, 28 insertions(+), 13 deletions(-)

diff --git a/media-sound/pulseaudio-daemon/metadata.xml 
b/media-sound/pulseaudio-daemon/metadata.xml
index b5cfb62ef6b2..07ca89f667d0 100644
--- a/media-sound/pulseaudio-daemon/metadata.xml
+++ b/media-sound/pulseaudio-daemon/metadata.xml
@@ -72,8 +72,7 @@
   Build with oFono HFP backend for bluez 5, requires 
net-misc/ofono.
 
 
-  Build with support for gstreamer including ability to use bluetooth 
codecs.
-  For bluetooth codecs see USE ldac and aptx.
+  Build GStreamer-based RTP protocol module which supports more advanced 
RTP features like OPUS payload encoding.
 
 
   aptX (HD) over Bluetooth (many Android compatible headphones), requires 
media-plugins/gst-plugins-openaptx.

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0.ebuild
index 17d8424a2b3e..3561766e33ac 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0.ebuild
@@ -32,7 +32,7 @@ SLOT="0"
 # +alsa-plugin as discussed in bug #519530
 # TODO: Find out why webrtc-aec is + prefixed - there's already the always 
available speexdsp-aec
 # NOTE: The current ebuild sets +X almost certainly just for the 
pulseaudio.desktop file
-IUSE="+alsa +alsa-plugin aptx +asyncns bluetooth dbus elogind equalizer +gdbm 
gstreamer +glib gtk ipv6 jack ldac lirc
+IUSE="+alsa +alsa-plugin aptx +asyncns bluetooth dbus elogind equalizer +gdbm 
+glib gstreamer gtk ipv6 jack ldac lirc
 native-headset ofono-headset +orc oss selinux sox ssl systemd system-wide tcpd 
test +udev valgrind +webrtc-aec +X zeroconf"
 
 RESTRICT="!test? ( test )"
@@ -41,10 +41,12 @@ RESTRICT="!test? ( test )"
 # Basically all IUSE are either ${MULTILIB_USEDEP} for client libs or they 
belong under !daemon ()
 # We duplicate alsa-plugin, {native,ofono}-headset under daemon to let users 
deal with them at once
 REQUIRED_USE="
+   ?? ( elogind systemd )
alsa-plugin? ( alsa )
+   aptx? ( bluetooth )
bluetooth? ( dbus )
-   ?? ( elogind systemd )
equalizer? ( dbus )
+   ldac? ( bluetooth )
native-headset? ( bluetooth )
ofono-headset? ( bluetooth )
udev? ( || ( alsa oss ) )
@@ -55,6 +57,10 @@ REQUIRED_USE="
 # - libpcre needed in some cases, bug #472228
 # - media-libs/speexdsp is providing echo canceller implementation and used in 
resampler
 # TODO: libatomic_ops is only needed on some architectures and conditions, and 
then at runtime too
+gstreamer_deps="
+   media-libs/gst-plugins-base
+   >=media-libs/gstreamer-1.14
+"
 COMMON_DEPEND="
>=media-libs/libpulse-${PV}[dbus?,glib?,systemd?,tcpd?,valgrind?,X?]
dev-libs/libatomic_ops
@@ -65,6 +71,7 @@ COMMON_DEPEND="
dev-libs/libpcre:3
)
alsa? ( >=media-libs/alsa-lib-1.0.24 )
+   aptx? ( ${gstreamer_deps} )
asyncns? ( >=net-libs/libasyncns-0.1 )
bluetooth? (
>=net-wireless/bluez-5
@@ -80,12 +87,10 @@ COMMON_DEPEND="
)
gdbm? ( sys-libs/gdbm:= )
glib? ( >=dev-libs/glib-2.28.0:2 )
-   gstreamer? (
-   media-libs/gst-plugins-base
-   >=media-libs/gstreamer-1.14
-   )
+   gstreamer? ( ${gstreamer_deps} )
gtk? ( x11-libs/gtk+:3 )
jack? ( virtual/jack )
+   ldac? ( ${gstreamer_deps} )
lirc? ( app-misc/lirc )
ofono-headset? ( >=net-misc/ofono-1.13 )
orc? ( >=dev-lang/orc-0.4.15 )
@@ -126,12 +131,11 @@ RDEPEND="
acct-group/pulse-access
)
bluetooth? (
-   gstreamer? (
-   ldac? ( media-plugins/gst-plugins-ldac )
-   aptx? ( media-plugins/gst-plugins-openaptx )
-   )
+   ldac? ( media-plugins/gst-plugins-ldac )
+   aptx? ( media-plugins/gst-plugins-openaptx )
)
 "
+unset gstreamer_deps
 
 # This is a PDEPEND to avoid a circular dep
 PDEPEND="
@@ 

[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-06-10 Thread Sam James
commit: ba46ce03b945355d460941112183b7d53a0343eb
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Thu May 12 20:55:26 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jun 10 06:57:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba46ce03

media-sound/pulseaudio-daemon: Untangle USE equalizer and fftw

For USE equalizer pull required sci-libs/fftw as build and runtime dependency.

Add USE fftw to enable module-virtual-surround-sink.

Closes: https://bugs.gentoo.org/843131
Signed-off-by: Igor V. Kovalenko  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/metadata.xml |  5 -
 .../pulseaudio-daemon/pulseaudio-daemon-16.0.ebuild| 14 +++---
 2 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/media-sound/pulseaudio-daemon/metadata.xml 
b/media-sound/pulseaudio-daemon/metadata.xml
index 07ca89f667d0..d44e1ed3057b 100644
--- a/media-sound/pulseaudio-daemon/metadata.xml
+++ b/media-sound/pulseaudio-daemon/metadata.xml
@@ -44,7 +44,10 @@
 
 Use libasyncns for asynchronous name 
resolution.
 
-  Enable the equalizer module (requires sci-libs/fftw).
+  Enable the equalizer module (requires sci-libs/fftw and 
sys-apps/dbus).
+
+
+  Enable the virtual surround sink module (requires 
sci-libs/fftw).
 
 
   Use dev-libs/openssl to provide support for RAOP

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0.ebuild
index 3561766e33ac..b8c4907403b4 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0.ebuild
@@ -32,7 +32,7 @@ SLOT="0"
 # +alsa-plugin as discussed in bug #519530
 # TODO: Find out why webrtc-aec is + prefixed - there's already the always 
available speexdsp-aec
 # NOTE: The current ebuild sets +X almost certainly just for the 
pulseaudio.desktop file
-IUSE="+alsa +alsa-plugin aptx +asyncns bluetooth dbus elogind equalizer +gdbm 
+glib gstreamer gtk ipv6 jack ldac lirc
+IUSE="+alsa +alsa-plugin aptx +asyncns bluetooth dbus elogind equalizer fftw 
+gdbm +glib gstreamer gtk ipv6 jack ldac lirc
 native-headset ofono-headset +orc oss selinux sox ssl systemd system-wide tcpd 
test +udev valgrind +webrtc-aec +X zeroconf"
 
 RESTRICT="!test? ( test )"
@@ -83,7 +83,10 @@ COMMON_DEPEND="
dbus? ( >=sys-apps/dbus-1.4.12 )
elogind? ( sys-auth/elogind )
equalizer? (
-   sci-libs/fftw:3.0
+   sci-libs/fftw:3.0=
+   )
+   fftw? (
+   sci-libs/fftw:3.0=
)
gdbm? ( sys-libs/gdbm:= )
glib? ( >=dev-libs/glib-2.28.0:2 )
@@ -173,6 +176,11 @@ src_configure() {
enable_bluez5_gstreamer="enabled"
fi
 
+   local enable_fftw="disabled"
+   if use equalizer || use fftw ; then
+   enable_fftw="enabled"
+   fi
+
local emesonargs=(
--localstatedir="${EPREFIX}"/var
 
@@ -203,7 +211,7 @@ src_configure() {
$(meson_use ofono-headset bluez5-ofono-headset)
$(meson_feature dbus)
$(meson_feature elogind)
-   $(meson_feature equalizer fftw)
+   -Dfftw=${enable_fftw}
$(meson_feature glib) # WARNING: toggling this likely changes 
ABI
$(meson_feature glib gsettings) # Supposedly correct?
$(meson_feature gstreamer)



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-06-10 Thread Sam James
commit: 9ebcdb8a8e80d1145144868e554d77bde49c30a9
Author: Sam James  gentoo  org>
AuthorDate: Fri Jun 10 06:55:14 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jun 10 06:55:55 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ebcdb8a

media-sound/pulseaudio-daemon: reassign maintainers

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/metadata.xml | 14 +++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/media-sound/pulseaudio-daemon/metadata.xml 
b/media-sound/pulseaudio-daemon/metadata.xml
index 01b2fcbf1b72..b5cfb62ef6b2 100644
--- a/media-sound/pulseaudio-daemon/metadata.xml
+++ b/media-sound/pulseaudio-daemon/metadata.xml
@@ -1,9 +1,17 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-  
-gn...@gentoo.org
-Gentoo GNOME Desktop
+  
+igor.v.kovale...@gmail.com
+Igor V. Kovalenko
+  
+  
+s...@gentoo.org
+Sam James
+  
+  
+l...@gentoo.org
+Mart Raudsepp
   
   
 



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-05-29 Thread Sam James
commit: 34273e346cc4de995217339b25922efde21c1ffe
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Sun May 29 05:46:09 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun May 29 06:45:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34273e34

media-sound/pulseaudio-daemon: Add local USE valgrind

Daemon code needs on pa_in_valgrind from libpulse. Add local USE valgrind and
correct dependency requirement.

Closes: https://bugs.gentoo.org/847541
Signed-off-by: Igor V. Kovalenko  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/25669
Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/metadata.xml  | 1 +
 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0.ebuild | 7 ---
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/media-sound/pulseaudio-daemon/metadata.xml 
b/media-sound/pulseaudio-daemon/metadata.xml
index 0a4437e23510..01b2fcbf1b72 100644
--- a/media-sound/pulseaudio-daemon/metadata.xml
+++ b/media-sound/pulseaudio-daemon/metadata.xml
@@ -56,6 +56,7 @@
   Build with sys-apps/systemd support to replace standalone
   ConsoleKit.
 
+Compile in valgrind memory hints
 
   Build with native HSP backend for bluez 5.
 

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0.ebuild
index e1c72c7c113e..17d8424a2b3e 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0.ebuild
@@ -33,7 +33,7 @@ SLOT="0"
 # TODO: Find out why webrtc-aec is + prefixed - there's already the always 
available speexdsp-aec
 # NOTE: The current ebuild sets +X almost certainly just for the 
pulseaudio.desktop file
 IUSE="+alsa +alsa-plugin aptx +asyncns bluetooth dbus elogind equalizer +gdbm 
gstreamer +glib gtk ipv6 jack ldac lirc
-native-headset ofono-headset +orc oss selinux sox ssl systemd system-wide tcpd 
test +udev +webrtc-aec +X zeroconf"
+native-headset ofono-headset +orc oss selinux sox ssl systemd system-wide tcpd 
test +udev valgrind +webrtc-aec +X zeroconf"
 
 RESTRICT="!test? ( test )"
 
@@ -56,7 +56,7 @@ REQUIRED_USE="
 # - media-libs/speexdsp is providing echo canceller implementation and used in 
resampler
 # TODO: libatomic_ops is only needed on some architectures and conditions, and 
then at runtime too
 COMMON_DEPEND="
-   >=media-libs/libpulse-${PV}[dbus?,glib?,systemd?,tcpd?,X?]
+   >=media-libs/libpulse-${PV}[dbus?,glib?,systemd?,tcpd?,valgrind?,X?]
dev-libs/libatomic_ops
>=media-libs/libsndfile-1.0.20
>=media-libs/speexdsp-1.2
@@ -95,6 +95,7 @@ COMMON_DEPEND="
systemd? ( sys-apps/systemd:= )
tcpd? ( sys-apps/tcp-wrappers )
udev? ( >=virtual/udev-143[hwdb(+)] )
+   valgrind? ( dev-util/valgrind )
webrtc-aec? ( >=media-libs/webrtc-audio-processing-0.2:0 )
X? (
>=x11-libs/libxcb-1.6
@@ -211,7 +212,7 @@ src_configure() {
$(meson_feature systemd)
$(meson_feature tcpd tcpwrap) # TODO: This should technically 
be enabled for 32bit too, but at runtime it probably is never used without 
daemon?
$(meson_feature udev)
-   -Dvalgrind=auto
+   $(meson_feature valgrind)
$(meson_feature X x11)
 
# Echo cancellation



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-05-28 Thread Sam James
commit: 29fd0853ad27138c7015bb0f6888a6f6a34fc743
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Sat May 28 16:20:22 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat May 28 19:14:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29fd0853

media-sound/pulseaudio-daemon: Version bump to 16.0

Signed-off-by: Igor V. Kovalenko  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/Manifest  | 2 +-
 ...ulseaudio-daemon-15.99.1-r2.ebuild => pulseaudio-daemon-16.0.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/Manifest 
b/media-sound/pulseaudio-daemon/Manifest
index fe4662eb346a..5bc75fa5795d 100644
--- a/media-sound/pulseaudio-daemon/Manifest
+++ b/media-sound/pulseaudio-daemon/Manifest
@@ -1 +1 @@
-DIST pulseaudio-15.99.1.tar.xz 1546536 BLAKE2B 
d77b7f9d05c1ffe1490b72dbf58b479962798d6e961d4efc935cbab0a6ad7fcd6ecb99de5efa5b85658b58e59024087cfd446ac4e7eeef1cd38fa7e579b5fb3c
 SHA512 
3eb7cdc9795204513d43336836d12709e78ebb001a97e9bab81969a4981a10df2d68a5fad34aef2660f37b72d269cb01e4c6e76c42a5c5742ac56c0f575778d5
+DIST pulseaudio-16.0.tar.xz 1551276 BLAKE2B 
54ba5d446bc02246bf842280f577851eb66ff9fed1e1b0d2d03e238796d9d04bc1fc27215b02fdded37441da1747be23d1e03d5a00b79ee3b91eb35c0f76a470
 SHA512 
42d4968c2dc88f5e39a5358d124e399e40a5abdf815eff387087141bc9217012acb35649a8e0e24a44e8a402d90eb193ce2eef186f7d59550f757a6cc26d

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1-r2.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0.ebuild
similarity index 100%
rename from media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1-r2.ebuild
rename to media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0.ebuild



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-05-13 Thread Sam James
commit: d2605605514f62edb6983ece30cfae3efc4c62b9
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Tue May 10 07:05:17 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri May 13 20:03:46 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2605605

media-sound/pulseaudio-daemon: Clarify enabling systemd units for all

Bug: https://bugs.gentoo.org/843449
Signed-off-by: Igor V. Kovalenko  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 .../pulseaudio-daemon/pulseaudio-daemon-15.99.1-r2.ebuild| 9 +
 1 file changed, 9 insertions(+)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1-r2.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1-r2.ebuild
index 61a9f133cb5f..9c86c92b0d78 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1-r2.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1-r2.ebuild
@@ -318,10 +318,19 @@ pkg_postinst() {
fi
 
if use systemd; then
+   elog "Pulseaudio autospawn by client library is no longer 
enabled when systemd is available."
elog "It's recommended to start pulseaudio via its systemd user 
units:"
elog ""
elog "  systemctl --user enable pulseaudio.service 
pulseaudio.socket"
elog ""
+   elog "Root user can change system default configuration for all 
users:"
+   elog ""
+   elog "  systemctl --global enable pulseaudio.service 
pulseaudio.socket"
+   elog ""
+   elog "If you would like to enable autospawn by client library, 
edit autospawn flag in /etc/pulse/client.conf like this:"
+   elog ""
+   elog "  autospawn = yes"
+   elog ""
elog "The change from autospawn to user units will take effect 
after restarting."
elog ""
fi



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-04-29 Thread Sam James
commit: 527affeb8ab00e81912285cb1f81c39d13b5c59f
Author: Sam James  gentoo  org>
AuthorDate: Fri Apr 29 06:40:51 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Apr 29 06:40:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=527affeb

media-sound/pulseaudio-daemon: add missing udev_reload call

Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1-r2.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1-r2.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1-r2.ebuild
index dfb05ca8a4ac..61a9f133cb5f 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1-r2.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1-r2.ebuild
@@ -284,6 +284,8 @@ src_install() {
 pkg_postinst() {
gnome2_schemas_update
 
+   use udev && udev_reload
+
if use system-wide; then
tmpfiles_process "pulseaudio.conf"
 



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-04-29 Thread Sam James
commit: 74cce86e62830f28f490764b74d3868753c34933
Author: Sam James  gentoo  org>
AuthorDate: Fri Apr 29 06:27:27 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Apr 29 06:27:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74cce86e

media-sound/pulseaudio-daemon: pass on dbus, X deps to libpulse

Closes: https://bugs.gentoo.org/841602
Signed-off-by: Sam James  gentoo.org>

 ...dio-daemon-15.99.1-r1.ebuild => pulseaudio-daemon-15.99.1-r2.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1-r1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1-r2.ebuild
similarity index 99%
rename from media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1-r1.ebuild
rename to media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1-r2.ebuild
index 19134e3b2752..dfb05ca8a4ac 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1-r1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1-r2.ebuild
@@ -56,7 +56,7 @@ REQUIRED_USE="
 # - media-libs/speexdsp is providing echo canceller implementation and used in 
resampler
 # TODO: libatomic_ops is only needed on some architectures and conditions, and 
then at runtime too
 COMMON_DEPEND="
-   >=media-libs/libpulse-${PV}[glib?,systemd?,tcpd?]
+   >=media-libs/libpulse-${PV}[dbus?,glib?,systemd?,tcpd?,X?]
dev-libs/libatomic_ops
>=media-libs/libsndfile-1.0.20
>=media-libs/speexdsp-1.2



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/files/, media-sound/pulseaudio-daemon/

2022-04-28 Thread Sam James
commit: d5453db8e7aec0b61f772a7b76e3400f1d8b
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Tue Apr 26 21:55:30 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Apr 28 15:59:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5453db8

media-sound/pulseaudio-daemon: Daemon part of split autospawn implementation

Now that libpulse has daemon autospawn disabled, enable it back
for systems without systemd when pulseaudio-daemon is installed.

Signed-off-by: Igor V. Kovalenko  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/25207
Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/files/enable-autospawn.conf   | 2 ++
 ...io-daemon-15.99.1.ebuild => pulseaudio-daemon-15.99.1-r1.ebuild} | 6 ++
 2 files changed, 8 insertions(+)

diff --git a/media-sound/pulseaudio-daemon/files/enable-autospawn.conf 
b/media-sound/pulseaudio-daemon/files/enable-autospawn.conf
new file mode 100644
index ..5681459a32cd
--- /dev/null
+++ b/media-sound/pulseaudio-daemon/files/enable-autospawn.conf
@@ -0,0 +1,2 @@
+# Enable automatic spawning of pulseaudio daemon
+autospawn = yes

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1-r1.ebuild
similarity index 97%
rename from media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1.ebuild
rename to media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1-r1.ebuild
index 71655e65efbd..19134e3b2752 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1-r1.ebuild
@@ -272,6 +272,12 @@ src_install() {
|| die
fi
 
+   # Only enable autospawning pulseaudio daemon on systems without systemd
+   if ! use systemd; then
+   insinto /etc/pulse/client.conf.d
+   newins "${FILESDIR}/enable-autospawn.conf" 
"enable-autospawn.conf"
+   fi
+
find "${ED}" \( -name '*.a' -o -name '*.la' \) -delete || die
 }
 



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-03-17 Thread Sam James
commit: 6dce51ceabf27b0d9322b3ddfc8dffaaae2fd775
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Sun Feb 27 06:55:02 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Mar 18 00:30:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dce51ce

media-sound/pulseaudio-daemon: Add USE=aptx dependency on gst-plugins-openaptx

Signed-off-by: Igor V. Kovalenko  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/metadata.xml | 3 +++
 media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1.ebuild | 3 ++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/metadata.xml 
b/media-sound/pulseaudio-daemon/metadata.xml
index 4becd557166d..0a4437e23510 100644
--- a/media-sound/pulseaudio-daemon/metadata.xml
+++ b/media-sound/pulseaudio-daemon/metadata.xml
@@ -66,6 +66,9 @@
   Build with support for gstreamer including ability to use bluetooth 
codecs.
   For bluetooth codecs see USE ldac and aptx.
 
+
+  aptX (HD) over Bluetooth (many Android compatible headphones), requires 
media-plugins/gst-plugins-openaptx.
+
 
   LDAC over Bluetooth (primarily Sony headphones), requires 
media-plugins/gst-plugins-ldac.
 

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1.ebuild
index dce91187153f..71655e65efbd 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1.ebuild
@@ -32,7 +32,7 @@ SLOT="0"
 # +alsa-plugin as discussed in bug #519530
 # TODO: Find out why webrtc-aec is + prefixed - there's already the always 
available speexdsp-aec
 # NOTE: The current ebuild sets +X almost certainly just for the 
pulseaudio.desktop file
-IUSE="+alsa +alsa-plugin +asyncns bluetooth dbus elogind equalizer +gdbm 
gstreamer +glib gtk ipv6 jack ldac lirc
+IUSE="+alsa +alsa-plugin aptx +asyncns bluetooth dbus elogind equalizer +gdbm 
gstreamer +glib gtk ipv6 jack ldac lirc
 native-headset ofono-headset +orc oss selinux sox ssl systemd system-wide tcpd 
test +udev +webrtc-aec +X zeroconf"
 
 RESTRICT="!test? ( test )"
@@ -127,6 +127,7 @@ RDEPEND="
bluetooth? (
gstreamer? (
ldac? ( media-plugins/gst-plugins-ldac )
+   aptx? ( media-plugins/gst-plugins-openaptx )
)
)
 "



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-03-17 Thread Sam James
commit: d222cf5f3c83ae337cddf681bad16a9b95e5
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Sun Feb 27 06:55:01 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Mar 18 00:30:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d222cf5f

media-sound/pulseaudio-daemon: Add USE=ldac dependency on gst-plugins-ldac

Signed-off-by: Igor V. Kovalenko  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/metadata.xml | 3 +++
 media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1.ebuild | 8 ++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/media-sound/pulseaudio-daemon/metadata.xml 
b/media-sound/pulseaudio-daemon/metadata.xml
index df06edf344b4..4becd557166d 100644
--- a/media-sound/pulseaudio-daemon/metadata.xml
+++ b/media-sound/pulseaudio-daemon/metadata.xml
@@ -66,5 +66,8 @@
   Build with support for gstreamer including ability to use bluetooth 
codecs.
   For bluetooth codecs see USE ldac and aptx.
 
+
+  LDAC over Bluetooth (primarily Sony headphones), requires 
media-plugins/gst-plugins-ldac.
+
   
 

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1.ebuild
index 81f33c619506..dce91187153f 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1.ebuild
@@ -30,10 +30,9 @@ LICENSE="!gdbm? ( LGPL-2.1 ) gdbm? ( GPL-2 )"
 SLOT="0"
 
 # +alsa-plugin as discussed in bug #519530
-# TODO: Deal with bluez5-gstreamer - requires ldacenc and rtpldacpay gstreamer 
elements
 # TODO: Find out why webrtc-aec is + prefixed - there's already the always 
available speexdsp-aec
 # NOTE: The current ebuild sets +X almost certainly just for the 
pulseaudio.desktop file
-IUSE="+alsa +alsa-plugin +asyncns bluetooth dbus elogind equalizer +gdbm 
gstreamer +glib gtk ipv6 jack lirc
+IUSE="+alsa +alsa-plugin +asyncns bluetooth dbus elogind equalizer +gdbm 
gstreamer +glib gtk ipv6 jack ldac lirc
 native-headset ofono-headset +orc oss selinux sox ssl systemd system-wide tcpd 
test +udev +webrtc-aec +X zeroconf"
 
 RESTRICT="!test? ( test )"
@@ -125,6 +124,11 @@ RDEPEND="
acct-group/audio
acct-group/pulse-access
)
+   bluetooth? (
+   gstreamer? (
+   ldac? ( media-plugins/gst-plugins-ldac )
+   )
+   )
 "
 
 # This is a PDEPEND to avoid a circular dep



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-03-17 Thread Sam James
commit: 5ae8125db459989db6959b88c1a6153dacecc826
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Sun Feb 27 06:55:01 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Mar 18 00:29:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ae8125d

media-sound/pulseaudio-daemon: Enable bluez5-gstreamer

Signed-off-by: Igor V. Kovalenko  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/metadata.xml | 4 
 media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1.ebuild | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/metadata.xml 
b/media-sound/pulseaudio-daemon/metadata.xml
index 9808d54c65cf..df06edf344b4 100644
--- a/media-sound/pulseaudio-daemon/metadata.xml
+++ b/media-sound/pulseaudio-daemon/metadata.xml
@@ -62,5 +62,9 @@
 
   Build with oFono HFP backend for bluez 5, requires 
net-misc/ofono.
 
+
+  Build with support for gstreamer including ability to use bluetooth 
codecs.
+  For bluetooth codecs see USE ldac and aptx.
+
   
 

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1.ebuild
index 362e42c99ac8..81f33c619506 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1.ebuild
@@ -183,7 +183,7 @@ src_configure() {
$(meson_feature asyncns)
$(meson_feature zeroconf avahi)
$(meson_feature bluetooth bluez5)
-   -Dbluez5-gstreamer=disabled # no ldacenc/rtpldacpay gst 
elements packaged yet
+   $(meson_feature gstreamer bluez5-gstreamer)
$(meson_use native-headset bluez5-native-headset)
$(meson_use ofono-headset bluez5-ofono-headset)
$(meson_feature dbus)



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2022-02-26 Thread Sam James
commit: 2e7c49a2ceba459aa63bf407bf5ea9cf16b7dd95
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Wed Feb 23 06:53:07 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Feb 27 01:04:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e7c49a2

media-sound/pulseaudio-daemon: Version bump to 15.99.1

Signed-off-by: Igor V. Kovalenko  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-sound/pulseaudio-daemon/Manifest | 3 +--
 ...lseaudio-daemon-15.0-r1.ebuild => pulseaudio-daemon-15.99.1.ebuild} | 3 ---
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/media-sound/pulseaudio-daemon/Manifest 
b/media-sound/pulseaudio-daemon/Manifest
index 620fb8498703..fe4662eb346a 100644
--- a/media-sound/pulseaudio-daemon/Manifest
+++ b/media-sound/pulseaudio-daemon/Manifest
@@ -1,2 +1 @@
-DIST pulseaudio-15.0.tar.xz 1521760 BLAKE2B 
a6f7b74fdcfe7f2a993eafb9f465946915a24b6801d3077971b9377290d6c70b3f8640a800abd09d5901db96a20349f31b1beedd9da2249f69b591fb8392f489
 SHA512 
352ef20384c76c631c0faa73b08e2318902a433712e0c086a5ac7a0ae58873c8d4be8f35879bdec71a93b19ae8e2ba073cacac4d56215bcf58375a0cd9d88833
-DIST pulseaudio-daemon-15.0-patchset-1.tar.bz2 13739 BLAKE2B 
0a9497536481b79ebb9928fc753d44cde30b331890cf7a912f0e038fc270a79e4774fdca209a52b6d50de93e32c30c6636e4d7e57e9daceb90ee80e699599ac8
 SHA512 
04d98d2a1862cc65cc48837bd3c9d6c8ece4591966bc9d673c8273b445fc63dcc59d8aa891ae8c802ebacacdf56e2790a3f20a95009107c5e5cf6581d1f5f996
+DIST pulseaudio-15.99.1.tar.xz 1546536 BLAKE2B 
d77b7f9d05c1ffe1490b72dbf58b479962798d6e961d4efc935cbab0a6ad7fcd6ecb99de5efa5b85658b58e59024087cfd446ac4e7eeef1cd38fa7e579b5fb3c
 SHA512 
3eb7cdc9795204513d43336836d12709e78ebb001a97e9bab81969a4981a10df2d68a5fad34aef2660f37b72d269cb01e4c6e76c42a5c5742ac56c0f575778d5

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.0-r1.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1.ebuild
similarity index 98%
rename from media-sound/pulseaudio-daemon/pulseaudio-daemon-15.0-r1.ebuild
rename to media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1.ebuild
index ca5a0570c89f..362e42c99ac8 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.0-r1.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1.ebuild
@@ -5,7 +5,6 @@ EAPI="7"
 
 MY_PV="${PV/_pre*}"
 MY_P="pulseaudio-${MY_PV}"
-MY_PATCHSET="${PN}-15.0-patchset-1"
 inherit bash-completion-r1 gnome2-utils meson optfeature systemd tmpfiles udev
 
 DESCRIPTION="A networked sound server with an advanced plugin system"
@@ -17,7 +16,6 @@ if [[ ${PV} =  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/pulseaudio/pulseaudio;
 else

SRC_URI="https://freedesktop.org/software/pulseaudio/releases/${MY_P}.tar.xz;
-   SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCHSET}.tar.bz2;
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
@@ -151,7 +149,6 @@ S="${WORKDIR}/${MY_P}"
 
 # patches merged upstream, to be removed with 16.0 bump
 PATCHES=(
-   "${WORKDIR}"/${MY_PATCHSET}/
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2021-09-27 Thread Mart Raudsepp
commit: 9a72755807db352ff68b4b5ab2321fa5b654b576
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Mon Sep 27 11:07:33 2021 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Mon Sep 27 11:13:32 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a727558

media-sound/pulseaudio-daemon: USE=tcpd requires libpulse[tcpd]

.. until next version or backport of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/640
after which all tcpwrap code will be in pulseaudio-daemon only and
IUSE=tcpd on libpulse goes away.

Thanks-to: Igor V. Kovalenko  gmail.com>
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Mart Raudsepp  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-15.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.0.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.0.ebuild
index 3d1ba6413c1..b8bc3c50f0e 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.0.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.0.ebuild
@@ -58,7 +58,7 @@ REQUIRED_USE="
 # - media-libs/speexdsp is providing echo canceller implementation and used in 
resampler
 # TODO: libatomic_ops is only needed on some architectures and conditions, and 
then at runtime too
 COMMON_DEPEND="
-   >=media-libs/libpulse-${PV}[glib?,systemd?]
+   >=media-libs/libpulse-${PV}[glib?,systemd?,tcpd?]
dev-libs/libatomic_ops
>=media-libs/libsndfile-1.0.20
>=media-libs/speexdsp-1.2



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2021-09-25 Thread Mart Raudsepp
commit: 9e5fbe15020aa6b109988775053a8554711325cb
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Sat Sep 25 10:21:20 2021 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Sat Sep 25 10:21:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e5fbe15

media-sound/pulseaudio-daemon: fix systemd socket activation deps

The systemd socket activation code is still in libpulsecommon, so we
need to require that to be enabled if building the daemon with that
support.

Thanks-to: Igor V. Kovalenko  gmail.com>
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Mart Raudsepp  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-15.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.0.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.0.ebuild
index d895c8bf83e..3d1ba6413c1 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.0.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.0.ebuild
@@ -58,7 +58,7 @@ REQUIRED_USE="
 # - media-libs/speexdsp is providing echo canceller implementation and used in 
resampler
 # TODO: libatomic_ops is only needed on some architectures and conditions, and 
then at runtime too
 COMMON_DEPEND="
-   >=media-libs/libpulse-${PV}[glib?]
+   >=media-libs/libpulse-${PV}[glib?,systemd?]
dev-libs/libatomic_ops
>=media-libs/libsndfile-1.0.20
>=media-libs/speexdsp-1.2



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/

2021-09-25 Thread Mart Raudsepp
commit: 84d9abd65dd60af0bf87ada05f559eb7b68c57b5
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Sat Sep 25 08:40:10 2021 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Sat Sep 25 08:40:10 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84d9abd6

media-sound/pulseaudio-daemon: Fix prefix QA warning

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Mart Raudsepp  gentoo.org>

 media-sound/pulseaudio-daemon/pulseaudio-daemon-15.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.0.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.0.ebuild
index 73a2602a4bf..d895c8bf83e 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.0.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.0.ebuild
@@ -224,7 +224,7 @@ src_install() {
meson_src_install
 
# Installed by media-libs/libpulse
-   rm "${ED}/$(get_bashcompdir)"/pulseaudio || die
+   rm "${D}/$(get_bashcompdir)"/pulseaudio || die
 
if use system-wide; then
newconfd "${FILESDIR}"/pulseaudio.conf.d pulseaudio



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/, media-sound/pulseaudio-daemon/files/

2021-09-24 Thread Mart Raudsepp
commit: af91ed24e9307789c9b1946568f740426ff1df6d
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Fri Sep 24 20:32:51 2021 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Fri Sep 24 20:33:10 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af91ed24

media-sound/pulseaudio-daemon: Install manpages

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Mart Raudsepp  gentoo.org>

 .../pulseaudio-daemon/files/15.0-daemon-only.patch | 25 --
 .../pulseaudio-daemon-15.0.ebuild  | 24 ++---
 2 files changed, 35 insertions(+), 14 deletions(-)

diff --git a/media-sound/pulseaudio-daemon/files/15.0-daemon-only.patch 
b/media-sound/pulseaudio-daemon/files/15.0-daemon-only.patch
index 9b18310f9e2..4d99c1ebe63 100644
--- a/media-sound/pulseaudio-daemon/files/15.0-daemon-only.patch
+++ b/media-sound/pulseaudio-daemon/files/15.0-daemon-only.patch
@@ -1,9 +1,10 @@
-From 5bcbd2ba656ac38ba500dc110cc13dbaa0d77853 Mon Sep 17 00:00:00 2001
+From f4f28cc436a506d1dfbd514968b2976ab31cdf5f Mon Sep 17 00:00:00 2001
 From: Mart Raudsepp 
 Date: Fri, 24 Sep 2021 15:19:05 +0300
 Subject: [PATCH] build-sys: meson: Allow building the daemon only
 
 ---
+ man/meson.build   |  2 ++
  meson.build   | 23 ---
  meson_options.txt |  3 +++
  po/meson.build|  3 ---
@@ -13,8 +14,28 @@ Subject: [PATCH] build-sys: meson: Allow building the daemon 
only
  src/modules/gsettings/meson.build |  3 +--
  src/tests/meson.build |  9 +++--
  src/utils/meson.build | 10 ++
- 9 files changed, 52 insertions(+), 16 deletions(-)
+ 10 files changed, 54 insertions(+), 16 deletions(-)
 
+diff --git a/man/meson.build b/man/meson.build
+index 31c581a8f..c12ad5e6a 100644
+--- a/man/meson.build
 b/man/meson.build
+@@ -14,6 +14,7 @@ if get_option('daemon')
+   ]
+ endif
+ 
++if not get_option('daemon-only')
+ manpages += [
+   ['pacat', '1', ['paplay', 'parec', 'parecord', 'pamon']],
+   ['pactl', '1'],
+@@ -31,6 +32,7 @@ if x11_dep.found()
+ ['pax11publish', '1'],
+   ]
+ endif
++endif
+ 
+ # FIXME: Add esdcompat if HAVE_ESOUND
+ #manpages += ['esdcompat', '1'],
 diff --git a/meson.build b/meson.build
 index 63ed62342..420cc6fac 100644
 --- a/meson.build

diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.0.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.0.ebuild
index e0d3851c214..73a2602a4bf 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.0.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.0.ebuild
@@ -53,17 +53,6 @@ REQUIRED_USE="
zeroconf? ( dbus )
 "
 
-BDEPEND="
-   dev-lang/perl
-   dev-perl/XML-Parser
-   sys-devel/gettext
-   virtual/libiconv
-   virtual/libintl
-   virtual/pkgconfig
-   orc? ( >=dev-lang/orc-0.4.15 )
-   system-wide? ( dev-util/unifdef )
-"
-
 # NOTE:
 # - libpcre needed in some cases, bug #472228
 # - media-libs/speexdsp is providing echo canceller implementation and used in 
resampler
@@ -145,6 +134,17 @@ PDEPEND="
alsa? ( alsa-plugin? ( 
>=media-plugins/alsa-plugins-1.0.27-r1[pulseaudio] ) )
 "
 
+BDEPEND="
+   dev-lang/perl
+   dev-perl/XML-Parser
+   sys-devel/gettext
+   virtual/libiconv
+   virtual/libintl
+   virtual/pkgconfig
+   orc? ( >=dev-lang/orc-0.4.15 )
+   system-wide? ( dev-util/unifdef )
+"
+
 DOCS=( NEWS README )
 
 S="${WORKDIR}/${MY_P}"
@@ -168,7 +168,7 @@ src_configure() {
-Ddaemon-only=true
-Ddoxygen=false
-Dgcov=false
-   -Dman=false
+   -Dman=true
# tests involve random modules, so just do them for the native 
# TODO: tests should run always
$(meson_use test tests)
-Ddatabase=$(usex gdbm gdbm simple) # tdb is also an option but 
no one cares about it



[gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/, media-sound/pulseaudio-daemon/files/

2021-09-24 Thread Mart Raudsepp
commit: 26646b27529e13f7beb0c78fac339e1d78bf07d4
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Fri Sep 24 18:07:09 2021 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Fri Sep 24 18:15:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26646b27

media-sound/pulseaudio-daemon: Add split package for pulseaudio daemon

Bug: https://bugs.gentoo.org/536780
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Mart Raudsepp  gentoo.org>

 media-sound/pulseaudio-daemon/Manifest |   1 +
 .../pulseaudio-daemon/files/15.0-daemon-only.patch | 277 ++
 ...pulseaudio-15.0-xice-xsm-xtst-daemon-only.patch |  25 ++
 .../pulseaudio-daemon/files/pulseaudio.conf.d  |   6 +
 .../pulseaudio-daemon/files/pulseaudio.init.d-5|  80 ++
 .../pulseaudio-daemon/files/pulseaudio.service |  10 +
 .../pulseaudio-daemon/files/pulseaudio.tmpfiles|   1 +
 media-sound/pulseaudio-daemon/metadata.xml |  66 +
 .../pulseaudio-daemon-15.0.ebuild  | 320 +
 9 files changed, 786 insertions(+)

diff --git a/media-sound/pulseaudio-daemon/Manifest 
b/media-sound/pulseaudio-daemon/Manifest
new file mode 100644
index 000..308d5950874
--- /dev/null
+++ b/media-sound/pulseaudio-daemon/Manifest
@@ -0,0 +1 @@
+DIST pulseaudio-15.0.tar.xz 1521760 BLAKE2B 
a6f7b74fdcfe7f2a993eafb9f465946915a24b6801d3077971b9377290d6c70b3f8640a800abd09d5901db96a20349f31b1beedd9da2249f69b591fb8392f489
 SHA512 
352ef20384c76c631c0faa73b08e2318902a433712e0c086a5ac7a0ae58873c8d4be8f35879bdec71a93b19ae8e2ba073cacac4d56215bcf58375a0cd9d88833

diff --git a/media-sound/pulseaudio-daemon/files/15.0-daemon-only.patch 
b/media-sound/pulseaudio-daemon/files/15.0-daemon-only.patch
new file mode 100644
index 000..9b18310f9e2
--- /dev/null
+++ b/media-sound/pulseaudio-daemon/files/15.0-daemon-only.patch
@@ -0,0 +1,277 @@
+From 5bcbd2ba656ac38ba500dc110cc13dbaa0d77853 Mon Sep 17 00:00:00 2001
+From: Mart Raudsepp 
+Date: Fri, 24 Sep 2021 15:19:05 +0300
+Subject: [PATCH] build-sys: meson: Allow building the daemon only
+
+---
+ meson.build   | 23 ---
+ meson_options.txt |  3 +++
+ po/meson.build|  3 ---
+ shell-completion/bash/meson.build |  2 ++
+ src/daemon/meson.build|  4 ++--
+ src/meson.build   | 11 +++
+ src/modules/gsettings/meson.build |  3 +--
+ src/tests/meson.build |  9 +++--
+ src/utils/meson.build | 10 ++
+ 9 files changed, 52 insertions(+), 16 deletions(-)
+
+diff --git a/meson.build b/meson.build
+index 63ed62342..420cc6fac 100644
+--- a/meson.build
 b/meson.build
+@@ -53,6 +53,8 @@ libpulse_mainloop_glib_version = '@0@.@1@.@2@'.format(
+   libpulse_mainloop_glib_version_info[1],
+ )
+ 
++i18n = import('i18n')
++
+ # Paths
+ 
+ prefix = get_option('prefix')
+@@ -68,6 +70,7 @@ localedir = join_paths(prefix, get_option('localedir'))
+ localstatedir = join_paths(prefix, get_option('localstatedir'))
+ sysconfdir = join_paths(prefix, get_option('sysconfdir'))
+ privlibdir = join_paths(libdir, 'pulseaudio')
++po_dir = join_paths(meson.current_source_dir(), 'po')
+ 
+ if host_machine.system() == 'windows'
+   # Windows only supports loading libraries from the same dir as the 
executable
+@@ -796,20 +799,28 @@ check_dep = dependency('check', version : '>= 0.9.10', 
required : get_option('te
+ if get_option('doxygen')
+   subdir('doxygen')
+ endif
+-subdir('po')
++if not get_option('daemon-only')
++  subdir('po')
++endif
+ if get_option('man')
+   subdir('man')
+ endif
+ subdir('shell-completion/bash')
+-subdir('shell-completion/zsh')
++if not get_option('daemon-only')
++  subdir('shell-completion/zsh')
++endif
+ subdir('src')
+-subdir('vala')
++if not get_option('daemon-only')
++ subdir('vala')
++endif
+ 
+ # Now generate config.h from everything above
+ configure_file(output : 'config.h', configuration : cdata)
+ 
+ # pkg-config files
+ 
++if not get_option('daemon-only')
++
+ pc_cdata = configuration_data()
+ 
+ pc_cdata.set('prefix', prefix)
+@@ -842,8 +853,12 @@ foreach file : pc_files
+ install_dir : pkgconfigdir)
+ endforeach
+ 
++endif # !daemon-only
++
+ # CMake files
+ 
++if not get_option('daemon-only')
++
+ m4 = find_program('m4', required: true)
+ 
+ cmakedir = join_paths(libdir, 'cmake', 'PulseAudio')
+@@ -872,6 +887,8 @@ configure_file(
+   install_dir : cmakedir,
+ )
+ 
++endif # !daemon-only
++
+ 
+ 
+ # Final summary
+diff --git a/meson_options.txt b/meson_options.txt
+index bb41a42a7..62828ac5c 100644
+--- a/meson_options.txt
 b/meson_options.txt
+@@ -1,6 +1,9 @@
+ option('daemon',
+type : 'boolean', value : true,
+description : 'Enable building and installation of pulseaudio daemon 
and supporting configuration files')
++option('daemon-only',
++   type : 'boolean',