[gentoo-commits] repo/gentoo:master commit in: media-libs/libpulse/

2024-03-21 Thread Ionen Wolkens
commit: 2585f22e961685269d8549d82aecf83c58c179e9
Author: Matoro Mahri  matoro  tk>
AuthorDate: Thu Mar 21 17:48:23 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Fri Mar 22 05:35:18 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2585f22e

media-libs/libpulse: Keyword 17.0 mips, #918447

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

 media-libs/libpulse/libpulse-17.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libpulse/libpulse-17.0.ebuild 
b/media-libs/libpulse/libpulse-17.0.ebuild
index 43965de41571..a5c72b910c32 100644
--- a/media-libs/libpulse/libpulse-17.0.ebuild
+++ b/media-libs/libpulse/libpulse-17.0.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 ~mips ppc ppc64 
~riscv sparc x86 ~amd64-linux ~x86-linux"
 fi
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libpulse/files/, media-libs/libpulse/

2024-03-20 Thread Sam James
commit: 684a97aa82b0b228b7faf21dd1c57dcf48757954
Author: Matoro Mahri  matoro  tk>
AuthorDate: Thu Mar 14 20:25:02 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 21 02:26:54 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=684a97aa

media-libs/libpulse: add patch removing catch2 internal test timeouts

No revbump since this is test-only fix.  See upstream for justification.

See: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/807
Bug: https://bugs.gentoo.org/918447
Signed-off-by: Matoro Mahri  matoro.tk>
Closes: https://github.com/gentoo/gentoo/pull/35755
Signed-off-by: Sam James  gentoo.org>

 .../files/pulseaudio-17.0-backport-pr807.patch | 298 +
 media-libs/libpulse/libpulse-17.0.ebuild   |   1 +
 2 files changed, 299 insertions(+)

diff --git a/media-libs/libpulse/files/pulseaudio-17.0-backport-pr807.patch 
b/media-libs/libpulse/files/pulseaudio-17.0-backport-pr807.patch
new file mode 100644
index ..0506e6b05577
--- /dev/null
+++ b/media-libs/libpulse/files/pulseaudio-17.0-backport-pr807.patch
@@ -0,0 +1,298 @@
+https://bugs.gentoo.org/918447
+https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/807
+
+From 26ccd1167a6188fb28745f3f5c9940657f64343c Mon Sep 17 00:00:00 2001
+From: matoro <75928-mato...@users.noreply.gitlab.freedesktop.org>
+Date: Wed, 24 Jan 2024 12:08:28 -0500
+Subject: [PATCH] tests: remove check2 timeouts in favor of meson
+
+Meson already handles timeouts, configurable on the command line with
+--timeout-multiplier.  They are set to 300s for all tests.
+
+Part-of: 

+---
+ src/tests/alsa-mixer-path-test.c | 1 -
+ src/tests/connect-stress.c   | 1 -
+ src/tests/cpu-mix-test.c | 1 -
+ src/tests/cpu-remap-test.c   | 2 --
+ src/tests/cpu-sconv-test.c   | 1 -
+ src/tests/cpu-volume-test.c  | 1 -
+ src/tests/extended-test.c| 1 -
+ src/tests/interpol-test.c| 1 -
+ src/tests/lfe-filter-test.c  | 1 -
+ src/tests/lo-latency-test.c  | 1 -
+ src/tests/lock-autospawn-test.c  | 4 
+ src/tests/meson.build| 1 +
+ src/tests/mult-s16-test.c| 1 -
+ src/tests/once-test.c| 4 
+ src/tests/passthrough-test.c | 1 -
+ src/tests/rtpoll-test.c  | 4 
+ src/tests/sync-playback.c| 1 -
+ src/tests/thread-mainloop-test.c | 4 
+ src/tests/thread-test.c  | 1 -
+ src/tests/volume-test.c  | 1 -
+ 20 files changed, 1 insertion(+), 32 deletions(-)
+
+diff --git a/src/tests/alsa-mixer-path-test.c 
b/src/tests/alsa-mixer-path-test.c
+index 63b4a4cacb..208d75d475 100644
+--- a/src/tests/alsa-mixer-path-test.c
 b/src/tests/alsa-mixer-path-test.c
+@@ -107,7 +107,6 @@ int main(int argc, char *argv[]) {
+ s = suite_create("Alsa-mixer-path");
+ tc = tcase_create("alsa-mixer-path");
+ tcase_add_test(tc, mixer_path_test);
+-tcase_set_timeout(tc, 30);
+ suite_add_tcase(s, tc);
+ 
+ sr = srunner_create(s);
+diff --git a/src/tests/connect-stress.c b/src/tests/connect-stress.c
+index a243df9ea1..35f8ea9c4a 100644
+--- a/src/tests/connect-stress.c
 b/src/tests/connect-stress.c
+@@ -223,7 +223,6 @@ int main(int argc, char *argv[]) {
+ s = suite_create("Connect Stress");
+ tc = tcase_create("connectstress");
+ tcase_add_test(tc, connect_stress_test);
+-tcase_set_timeout(tc, 20 * 60);
+ suite_add_tcase(s, tc);
+ 
+ sr = srunner_create(s);
+diff --git a/src/tests/cpu-mix-test.c b/src/tests/cpu-mix-test.c
+index 6b5b8e37a6..2190ea4bdf 100644
+--- a/src/tests/cpu-mix-test.c
 b/src/tests/cpu-mix-test.c
+@@ -212,7 +212,6 @@ int main(int argc, char *argv[]) {
+ #if defined (__arm__) && defined (__linux__) && defined (HAVE_NEON)
+ tcase_add_test(tc, mix_neon_test);
+ #endif
+-tcase_set_timeout(tc, 120);
+ suite_add_tcase(s, tc);
+ 
+ sr = srunner_create(s);
+diff --git a/src/tests/cpu-remap-test.c b/src/tests/cpu-remap-test.c
+index 2554688927..21fc5dc9dc 100644
+--- a/src/tests/cpu-remap-test.c
 b/src/tests/cpu-remap-test.c
+@@ -524,7 +524,6 @@ int main(int argc, char *argv[]) {
+ #if defined (__arm__) && defined (__linux__) && defined (HAVE_NEON)
+ tcase_add_test(tc, remap_neon_test);
+ #endif
+-tcase_set_timeout(tc, 120);
+ suite_add_tcase(s, tc);
+ 
+ tc = tcase_create("rearrange");
+@@ -532,7 +531,6 @@ int main(int argc, char *argv[]) {
+ #if defined (__arm__) && defined (__linux__) && defined (HAVE_NEON)
+ tcase_add_test(tc, rearrange_neon_test);
+ #endif
+-tcase_set_timeout(tc, 120);
+ suite_add_tcase(s, tc);
+ 
+ sr = srunner_create(s);
+diff --git a/src/tests/cpu-sconv-test.c b/src/tests/cpu-sconv-test.c
+index 6a84722fd8..5ae939d45b 100644
+--- a/src/tests/cpu-sconv-test.c
 b/src/tests/cpu-sconv-test.c
+@@ -251,7 +251,6 @@ int main(int argc, char *argv[]) {
+ #if defined (__arm__) 

[gentoo-commits] repo/gentoo:master commit in: media-libs/libpulse/

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

media-libs/libpulse: Stabilize 17.0 x86, #925411

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

 media-libs/libpulse/libpulse-17.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libpulse/libpulse-17.0.ebuild 
b/media-libs/libpulse/libpulse-17.0.ebuild
index dd1f69c4b923..1e6c94b43613 100644
--- a/media-libs/libpulse/libpulse-17.0.ebuild
+++ b/media-libs/libpulse/libpulse-17.0.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-libs/libpulse/

2024-03-05 Thread Arthur Zamarin
commit: 2cb06b43c9d30728806be874a2846743ddaf678a
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=2cb06b43

media-libs/libpulse: Stabilize 17.0 sparc, #925411

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

 media-libs/libpulse/libpulse-17.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libpulse/libpulse-17.0.ebuild 
b/media-libs/libpulse/libpulse-17.0.ebuild
index 45cc36315224..dd1f69c4b923 100644
--- a/media-libs/libpulse/libpulse-17.0.ebuild
+++ b/media-libs/libpulse/libpulse-17.0.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-libs/libpulse/

2024-03-05 Thread Arthur Zamarin
commit: 6c7aee5fb9a0c0668aa0a89fb3b740941bafb539
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=6c7aee5f

media-libs/libpulse: Stabilize 17.0 arm, #925411

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

 media-libs/libpulse/libpulse-17.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libpulse/libpulse-17.0.ebuild 
b/media-libs/libpulse/libpulse-17.0.ebuild
index 04f05b95205c..45cc36315224 100644
--- a/media-libs/libpulse/libpulse-17.0.ebuild
+++ b/media-libs/libpulse/libpulse-17.0.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-libs/libpulse/

2024-03-05 Thread Arthur Zamarin
commit: 63d1cb38794084df3294d1bd4054bebb049dc69d
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=63d1cb38

media-libs/libpulse: Stabilize 17.0 arm64, #925411

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

 media-libs/libpulse/libpulse-17.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libpulse/libpulse-17.0.ebuild 
b/media-libs/libpulse/libpulse-17.0.ebuild
index 27324a73e31b..04f05b95205c 100644
--- a/media-libs/libpulse/libpulse-17.0.ebuild
+++ b/media-libs/libpulse/libpulse-17.0.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-libs/libpulse/

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

media-libs/libpulse: drop 16.1-r4, 16.1-r5, 16.99.1-r1

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

 media-libs/libpulse/libpulse-16.1-r4.ebuild| 220 -
 media-libs/libpulse/libpulse-16.1-r5.ebuild| 215 
 media-libs/libpulse/libpulse-16.99.1-r1.ebuild | 210 ---
 3 files changed, 645 deletions(-)

diff --git a/media-libs/libpulse/libpulse-16.1-r4.ebuild 
b/media-libs/libpulse/libpulse-16.1-r4.ebuild
deleted file mode 100644
index 81ba64e25627..
--- a/media-libs/libpulse/libpulse-16.1-r4.ebuild
+++ /dev/null
@@ -1,220 +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 flag-o-matic gnome2-utils meson-multilib optfeature 
systemd toolchain-funcs udev
-
-DESCRIPTION="Libraries for PulseAudio clients"
-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}"
-
-LICENSE="LGPL-2.1+"
-
-SLOT="0"
-IUSE="+asyncns dbus doc +glib gtk selinux systemd test valgrind X"
-RESTRICT="!test? ( test )"
-
-# NOTE: libpcre needed in some cases, bug #472228
-# TODO: libatomic_ops is only needed on some architectures and conditions, and 
then at runtime too
-RDEPEND="
-   dev-libs/libatomic_ops
-   >=media-libs/libsndfile-1.0.20[${MULTILIB_USEDEP}]
-   asyncns? ( >=net-libs/libasyncns-0.1[${MULTILIB_USEDEP}] )
-   dbus? ( >=sys-apps/dbus-1.4.12[${MULTILIB_USEDEP}] )
-   elibc_mingw? ( dev-libs/libpcre:3 )
-   glib? ( >=dev-libs/glib-2.28.0:2[${MULTILIB_USEDEP}] )
-   gtk? ( x11-libs/gtk+:3 )
-   selinux? ( sec-policy/selinux-pulseaudio )
-   systemd? ( sys-apps/systemd:= )
-   valgrind? ( dev-debug/valgrind )
-   X? (
-   x11-libs/libX11[${MULTILIB_USEDEP}]
-   >=x11-libs/libxcb-1.6[${MULTILIB_USEDEP}]
-   )
-   !https://github.com/gentoo/gentoo/pull/28355
-   # mold needs this too but right now tc-ld-is-mold is also not available
-   if tc-ld-is-lld; then
-   append-ldflags -Wl,--undefined-version
-   fi
-
-   local emesonargs=(
-   --localstatedir="${EPREFIX}"/var
-
-   -Ddaemon=false
-   -Dclient=true
-   $(meson_native_use_bool doc doxygen)
-   -Dgcov=false
-   # tests involve random modules, so just do them for the native 
# TODO: tests should run always
-   $(meson_native_use_bool test tests)
-   -Ddatabase=simple # Not used for non-daemon, simple database 
avoids external dep checks
-   -Dstream-restore-clear-old-devices=true
-   -Drunning-from-build-tree=false
-
-   # Paths
-   
-Dmodlibexecdir="${EPREFIX}/usr/$(get_libdir)/pulseaudio/modules" # Was 
$(get_libdir)/${P}
-   -Dsystemduserunitdir=$(systemd_get_userunitdir)
-   -Dudevrulesdir="${EPREFIX}$(get_udevdir)/rules.d"
-   -Dbashcompletiondir="$(get_bashcompdir)" # Alternatively DEPEND 
on app-shells/bash-completion for pkg-config to provide the value
-
-   # Optional features
-   -Dalsa=disabled
-   $(meson_feature asyncns)
-   -Davahi=disabled
-   -Dbluez5=disabled
-   -Dbluez5-gstreamer=disabled
-   -Dbluez5-native-headset=false
-   -Dbluez5-ofono-headset=false
-   $(meson_feature dbus)
-   -Delogind=disabled
-   -Dfftw=disabled
-   $(meson_feature glib) # WARNING: toggling this likely changes 
ABI
-   -Dgsettings=disabled
-   -Dgstreamer=disabled
-   $(meson_native_use_feature gtk)
-   -Dhal-compat=false
-   -Dipv6=true
-   -Djack=disabled
-   -Dlirc=disabled
-   -Dopenssl=disabled
-   -Dorc=disabled
-   -Doss-output=disabled
-   -Dsamplerate=disabled # Matches upstream
-   -Dsoxr=disabled
-   -Dspeex=disabled
-   $(meson_native_use_feature systemd)
-   -Dtcpwrap=disabled
-   -Dudev=disabled
-   $(meson_native_use_feature 

[gentoo-commits] repo/gentoo:master commit in: media-libs/libpulse/

2024-03-02 Thread Sam James
commit: 481461cc3d50301d84fcf3d688e599eaae525061
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=481461cc

media-libs/libpulse: Stabilize 17.0 ppc, #925411

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

 media-libs/libpulse/libpulse-17.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libpulse/libpulse-17.0.ebuild 
b/media-libs/libpulse/libpulse-17.0.ebuild
index b283f07f3ece..27324a73e31b 100644
--- a/media-libs/libpulse/libpulse-17.0.ebuild
+++ b/media-libs/libpulse/libpulse-17.0.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-libs/libpulse/

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

media-libs/libpulse: Stabilize 17.0 ppc64, #925411

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

 media-libs/libpulse/libpulse-17.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libpulse/libpulse-17.0.ebuild 
b/media-libs/libpulse/libpulse-17.0.ebuild
index f0e9cd4eab40..b283f07f3ece 100644
--- a/media-libs/libpulse/libpulse-17.0.ebuild
+++ b/media-libs/libpulse/libpulse-17.0.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-libs/libpulse/

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

media-libs/libpulse: Stabilize 17.0 amd64, #925411

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

 media-libs/libpulse/libpulse-17.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libpulse/libpulse-17.0.ebuild 
b/media-libs/libpulse/libpulse-17.0.ebuild
index 8c0d652e0a6f..f0e9cd4eab40 100644
--- a/media-libs/libpulse/libpulse-17.0.ebuild
+++ b/media-libs/libpulse/libpulse-17.0.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-libs/libpulse/

2024-02-22 Thread Arthur Zamarin
commit: 23b5b14d8f82e8f04c08fcdae50afc9a954301d1
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=23b5b14d

media-libs/libpulse: Stabilize 16.99.1 amd64, #920968

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

 media-libs/libpulse/libpulse-16.99.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libpulse/libpulse-16.99.1.ebuild 
b/media-libs/libpulse/libpulse-16.99.1.ebuild
index cb1cf6ade3da..4b893541e5f2 100644
--- a/media-libs/libpulse/libpulse-16.99.1.ebuild
+++ b/media-libs/libpulse/libpulse-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-libs/libpulse/

2024-02-06 Thread Ionen Wolkens
commit: 66cf57fea836898cc7e76d96e509313173f0b94c
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=66cf57fe

media-libs/libpulse: Stabilize 16.99.1 x86, #920968

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

 media-libs/libpulse/libpulse-16.99.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libpulse/libpulse-16.99.1.ebuild 
b/media-libs/libpulse/libpulse-16.99.1.ebuild
index e46ac027ec12..cb1cf6ade3da 100644
--- a/media-libs/libpulse/libpulse-16.99.1.ebuild
+++ b/media-libs/libpulse/libpulse-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-libs/libpulse/

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

media-libs/libpulse: Stabilize 16.99.1 sparc, #920968

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

 media-libs/libpulse/libpulse-16.99.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libpulse/libpulse-16.99.1.ebuild 
b/media-libs/libpulse/libpulse-16.99.1.ebuild
index 3b3195542f5a..e46ac027ec12 100644
--- a/media-libs/libpulse/libpulse-16.99.1.ebuild
+++ b/media-libs/libpulse/libpulse-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-libs/libpulse/

2024-02-06 Thread Ionen Wolkens
commit: ca4e5f517b004cb8f13e983b37c93e108a51cbc5
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=ca4e5f51

media-libs/libpulse: Stabilize 16.99.1 arm64, #920968

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

 media-libs/libpulse/libpulse-16.99.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libpulse/libpulse-16.99.1.ebuild 
b/media-libs/libpulse/libpulse-16.99.1.ebuild
index 967bbeb05bd6..afee26536866 100644
--- a/media-libs/libpulse/libpulse-16.99.1.ebuild
+++ b/media-libs/libpulse/libpulse-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-libs/libpulse/

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

media-libs/libpulse: Stabilize 16.99.1 arm, #920968

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

 media-libs/libpulse/libpulse-16.99.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libpulse/libpulse-16.99.1.ebuild 
b/media-libs/libpulse/libpulse-16.99.1.ebuild
index afee26536866..3b3195542f5a 100644
--- a/media-libs/libpulse/libpulse-16.99.1.ebuild
+++ b/media-libs/libpulse/libpulse-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-libs/libpulse/

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

media-libs/libpulse: Version bump to 17.0

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

 media-libs/libpulse/Manifest |   1 +
 media-libs/libpulse/libpulse-17.0.ebuild | 208 +++
 2 files changed, 209 insertions(+)

diff --git a/media-libs/libpulse/Manifest b/media-libs/libpulse/Manifest
index 97ee1069f0e6..776caac18a80 100644
--- a/media-libs/libpulse/Manifest
+++ b/media-libs/libpulse/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-libs/libpulse/libpulse-17.0.ebuild 
b/media-libs/libpulse/libpulse-17.0.ebuild
new file mode 100644
index ..8c0d652e0a6f
--- /dev/null
+++ b/media-libs/libpulse/libpulse-17.0.ebuild
@@ -0,0 +1,208 @@
+# 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 flag-o-matic gnome2-utils meson-multilib optfeature 
systemd udev
+
+DESCRIPTION="Libraries for PulseAudio clients"
+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}"
+
+LICENSE="LGPL-2.1+"
+
+SLOT="0"
+IUSE="+asyncns dbus doc +glib gtk selinux systemd test valgrind X"
+RESTRICT="!test? ( test )"
+
+# NOTE: libpcre needed in some cases, bug #472228
+# TODO: libatomic_ops is only needed on some architectures and conditions, and 
then at runtime too
+RDEPEND="
+   dev-libs/libatomic_ops
+   >=media-libs/libsndfile-1.0.20[${MULTILIB_USEDEP}]
+   asyncns? ( >=net-libs/libasyncns-0.1[${MULTILIB_USEDEP}] )
+   dbus? ( >=sys-apps/dbus-1.4.12[${MULTILIB_USEDEP}] )
+   elibc_mingw? ( dev-libs/libpcre:3 )
+   glib? ( >=dev-libs/glib-2.28.0:2[${MULTILIB_USEDEP}] )
+   gtk? ( x11-libs/gtk+:3 )
+   selinux? ( sec-policy/selinux-pulseaudio )
+   systemd? ( sys-apps/systemd:= )
+   valgrind? ( dev-debug/valgrind )
+   X? (
+   x11-libs/libX11[${MULTILIB_USEDEP}]
+   >=x11-libs/libxcb-1.6[${MULTILIB_USEDEP}]
+   )
+   !

[gentoo-commits] repo/gentoo:master commit in: media-libs/libpulse/

2024-01-16 Thread Ionen Wolkens
commit: 2256b238d18d4ad4336969f18d4a042c2a63bc43
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=2256b238

media-libs/libpulse: Stabilize 16.99.1 ppc64, #920968

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

 media-libs/libpulse/libpulse-16.99.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libpulse/libpulse-16.99.1.ebuild 
b/media-libs/libpulse/libpulse-16.99.1.ebuild
index fc6316848187..0791f026e87a 100644
--- a/media-libs/libpulse/libpulse-16.99.1.ebuild
+++ b/media-libs/libpulse/libpulse-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-libs/libpulse/

2024-01-03 Thread Sam James
commit: f1e4b343e8eb99e399d8ff048db3e00b6edc5c38
Author: Sam James  gentoo  org>
AuthorDate: Wed Jan  3 10:34:00 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jan  3 10:39:53 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1e4b343

media-libs/libpulse: pass -Wl,--undefined-version for other linkers if supported

Revbump as it's a library.

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

 media-libs/libpulse/libpulse-16.1-r5.ebuild| 215 +
 media-libs/libpulse/libpulse-16.99.1-r1.ebuild | 210 
 2 files changed, 425 insertions(+)

diff --git a/media-libs/libpulse/libpulse-16.1-r5.ebuild 
b/media-libs/libpulse/libpulse-16.1-r5.ebuild
new file mode 100644
index ..bcf2a2ee25ce
--- /dev/null
+++ b/media-libs/libpulse/libpulse-16.1-r5.ebuild
@@ -0,0 +1,215 @@
+# 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 flag-o-matic gnome2-utils meson-multilib optfeature 
systemd udev
+
+DESCRIPTION="Libraries for PulseAudio clients"
+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}"
+
+LICENSE="LGPL-2.1+"
+
+SLOT="0"
+IUSE="+asyncns dbus doc +glib gtk selinux systemd test valgrind X"
+RESTRICT="!test? ( test )"
+
+# NOTE: libpcre needed in some cases, bug #472228
+# TODO: libatomic_ops is only needed on some architectures and conditions, and 
then at runtime too
+RDEPEND="
+   dev-libs/libatomic_ops
+   >=media-libs/libsndfile-1.0.20[${MULTILIB_USEDEP}]
+   asyncns? ( >=net-libs/libasyncns-0.1[${MULTILIB_USEDEP}] )
+   dbus? ( >=sys-apps/dbus-1.4.12[${MULTILIB_USEDEP}] )
+   elibc_mingw? ( dev-libs/libpcre:3 )
+   glib? ( >=dev-libs/glib-2.28.0:2[${MULTILIB_USEDEP}] )
+   gtk? ( x11-libs/gtk+:3 )
+   selinux? ( sec-policy/selinux-pulseaudio )
+   systemd? ( sys-apps/systemd:= )
+   valgrind? ( dev-util/valgrind )
+   X? (
+   x11-libs/libX11[${MULTILIB_USEDEP}]
+   >=x11-libs/libxcb-1.6[${MULTILIB_USEDEP}]
+   )
+   !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}"
+
+LICENSE="LGPL-2.1+"
+
+SLOT="0"
+IUSE="+asyncns dbus doc +glib gtk selinux systemd test valgrind X"
+RESTRICT="!test? ( test )"
+
+# NOTE: libpcre needed in some cases, bug #472228
+# TODO: libatomic_ops is only needed on some architectures and conditions, and 
then at runtime too
+RDEPEND="
+   dev-libs/libatomic_ops
+   >=media-libs/libsndfile-1.0.20[${MULTILIB_USEDEP}]
+   asyncns? ( >=net-libs/libasyncns-0.1[${MULTILIB_USEDEP}] )
+   dbus? ( >=sys-apps/dbus-1.4.12[${MULTILIB_USEDEP}] )
+   elibc_mingw? ( dev-libs/libpcre:3 )
+   glib? ( >=dev-libs/glib-2.28.0:2[${MULTILIB_USEDEP}] )
+   gtk? ( x11-libs/gtk+:3 )
+   selinux? ( sec-policy/selinux-pulseaudio )
+   systemd? ( sys-apps/systemd:= )
+   valgrind? ( dev-util/valgrind )
+   X? (
+   x11-libs/libX11[${MULTILIB_USEDEP}]
+   >=x11-libs/libxcb-1.6[${MULTILIB_USEDEP}]
+   )
+   !

[gentoo-commits] repo/gentoo:master commit in: media-libs/libpulse/

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

media-libs/libpulse: drop 16.1-r1

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

 media-libs/libpulse/libpulse-16.1-r1.ebuild | 206 
 1 file changed, 206 deletions(-)

diff --git a/media-libs/libpulse/libpulse-16.1-r1.ebuild 
b/media-libs/libpulse/libpulse-16.1-r1.ebuild
deleted file mode 100644
index 6d4f74cbc46c..
--- a/media-libs/libpulse/libpulse-16.1-r1.ebuild
+++ /dev/null
@@ -1,206 +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-multilib optfeature systemd udev
-
-DESCRIPTION="Libraries for PulseAudio clients"
-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}"
-
-LICENSE="LGPL-2.1+"
-
-SLOT="0"
-IUSE="+asyncns dbus doc +glib gtk selinux systemd test valgrind X"
-RESTRICT="!test? ( test )"
-
-# NOTE: libpcre needed in some cases, bug #472228
-# TODO: libatomic_ops is only needed on some architectures and conditions, and 
then at runtime too
-RDEPEND="
-   dev-libs/libatomic_ops
-   >=media-libs/libsndfile-1.0.20[${MULTILIB_USEDEP}]
-   asyncns? ( >=net-libs/libasyncns-0.1[${MULTILIB_USEDEP}] )
-   dbus? ( >=sys-apps/dbus-1.4.12[${MULTILIB_USEDEP}] )
-   elibc_mingw? ( dev-libs/libpcre:3 )
-   glib? ( >=dev-libs/glib-2.28.0:2[${MULTILIB_USEDEP}] )
-   gtk? ( x11-libs/gtk+:3 )
-   selinux? ( sec-policy/selinux-pulseaudio )
-   systemd? ( sys-apps/systemd:= )
-   valgrind? ( dev-util/valgrind )
-   X? (
-   x11-libs/libX11[${MULTILIB_USEDEP}]
-   >=x11-libs/libxcb-1.6[${MULTILIB_USEDEP}]
-   )
-   !

[gentoo-commits] repo/gentoo:master commit in: media-libs/libpulse/

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

media-libs/libpulse: add freedesktop-gitlab upstream metadata

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

 media-libs/libpulse/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/media-libs/libpulse/metadata.xml b/media-libs/libpulse/metadata.xml
index e1b0ba44ee04..fc9c7d5c17ad 100644
--- a/media-libs/libpulse/metadata.xml
+++ b/media-libs/libpulse/metadata.xml
@@ -22,4 +22,7 @@
 Use libasyncns for asynchronous name 
resolution.
 Build the doxygen-described API documentation.
   
+  
+pulseaudio/pulseaudio
+  
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/libpulse/

2023-10-22 Thread Sam James
commit: 28ccff7c6cd9164bfdc10ef8d4bb267e68768ce7
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Mon Oct 16 18:08:32 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Oct 23 01:42:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28ccff7c

media-libs/libpulse: Fix pulseaudio daemon version req

Move pulseaudio daemon version requirement to the right place.

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

 .../libpulse/{libpulse-16.1-r3.ebuild => libpulse-16.1-r4.ebuild}  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/media-libs/libpulse/libpulse-16.1-r3.ebuild 
b/media-libs/libpulse/libpulse-16.1-r4.ebuild
similarity index 98%
rename from media-libs/libpulse/libpulse-16.1-r3.ebuild
rename to media-libs/libpulse/libpulse-16.1-r4.ebuild
index a67865f3948a..5e6cbdc5d229 100644
--- a/media-libs/libpulse/libpulse-16.1-r3.ebuild
+++ b/media-libs/libpulse/libpulse-16.1-r4.ebuild
@@ -45,6 +45,7 @@ RDEPEND="
>=x11-libs/libxcb-1.6[${MULTILIB_USEDEP}]
)
!

[gentoo-commits] repo/gentoo:master commit in: media-libs/libpulse/

2023-10-06 Thread Sam James
commit: c01eccf735d0b918640ad353b338e7f58753c995
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Thu Oct  5 20:54:14 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct  6 12:05:09 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c01eccf7

media-libs/libpulse: Fix build with lld

Pulseaudio uses the same linker version script for all library variants,
so a few symbols remain undefined for some variants. This breaks buid with new
lld which defaults to errors with undefined symbols in linker version scripts.

Fix this by adding -Wl,--undefined-version to linker flags.
See also https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274111

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

 media-libs/libpulse/libpulse-16.1-r3.ebuild | 215 
 1 file changed, 215 insertions(+)

diff --git a/media-libs/libpulse/libpulse-16.1-r3.ebuild 
b/media-libs/libpulse/libpulse-16.1-r3.ebuild
new file mode 100644
index ..a924d41221ce
--- /dev/null
+++ b/media-libs/libpulse/libpulse-16.1-r3.ebuild
@@ -0,0 +1,215 @@
+# 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 flag-o-matic gnome2-utils meson-multilib optfeature 
systemd toolchain-funcs udev
+
+DESCRIPTION="Libraries for PulseAudio clients"
+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}"
+
+LICENSE="LGPL-2.1+"
+
+SLOT="0"
+IUSE="+asyncns dbus doc +glib gtk selinux systemd test valgrind X"
+RESTRICT="!test? ( test )"
+
+# NOTE: libpcre needed in some cases, bug #472228
+# TODO: libatomic_ops is only needed on some architectures and conditions, and 
then at runtime too
+RDEPEND="
+   dev-libs/libatomic_ops
+   >=media-libs/libsndfile-1.0.20[${MULTILIB_USEDEP}]
+   asyncns? ( >=net-libs/libasyncns-0.1[${MULTILIB_USEDEP}] )
+   dbus? ( >=sys-apps/dbus-1.4.12[${MULTILIB_USEDEP}] )
+   elibc_mingw? ( dev-libs/libpcre:3 )
+   glib? ( >=dev-libs/glib-2.28.0:2[${MULTILIB_USEDEP}] )
+   gtk? ( x11-libs/gtk+:3 )
+   selinux? ( sec-policy/selinux-pulseaudio )
+   systemd? ( sys-apps/systemd:= )
+   valgrind? ( dev-util/valgrind )
+   X? (
+   x11-libs/libX11[${MULTILIB_USEDEP}]
+   >=x11-libs/libxcb-1.6[${MULTILIB_USEDEP}]
+   )
+   !https://github.com/gentoo/gentoo/pull/28355
+   # mold needs this too but right now tc-ld-is-mold is also not available
+   if tc-ld-is-lld; then
+   append-ldflags -Wl,--undefined-version
+   fi
+
+   local emesonargs=(
+   --localstatedir="${EPREFIX}"/var
+
+   -Ddaemon=false
+   -Dclient=true
+   $(meson_native_use_bool doc doxygen)
+   -Dgcov=false
+   # tests involve random modules, so just do them for the native 
# TODO: tests should run always
+   $(meson_native_use_bool test tests)
+   -Ddatabase=simple # Not used for non-daemon, simple database 
avoids external dep checks
+   -Dstream-restore-clear-old-devices=true
+   -Drunning-from-build-tree=false
+
+   # Paths
+   
-Dmodlibexecdir="${EPREFIX}/usr/$(get_libdir)/pulseaudio/modules" # Was 
$(get_libdir)/${P}
+   -Dsystemduserunitdir=$(systemd_get_userunitdir)
+   -Dudevrulesdir="${EPREFIX}$(get_udevdir)/rules.d"
+   -Dbashcompletiondir="$(get_bashcompdir)" # Alternatively DEPEND 
on app-shells/bash-completion for pkg-config to provide the value
+
+   # Optional features
+   -Dalsa=disabled
+   $(meson_feature asyncns)
+   -Davahi=disabled
+   -Dbluez5=disabled
+   -Dbluez5-gstreamer=disabled
+   -Dbluez5-native-headset=false
+   -Dbluez5-ofono-headset=false
+   $(meson_feature dbus)
+   -Delogind=disabled
+   -Dfftw=disabled
+   $(meson_feature glib) # WARNING: toggling this likely changes 
ABI
+   -Dgsettings=disabled
+   -Dgstreamer=disabled
+   $(meson_native_use_feature gtk)
+   -Dhal-compat=false
+   -Dipv6=true
+   -Djack=disabled
+   -Dlirc=disabled
+   -Dopenssl=disabled
+   -Dorc=disabled
+   -Doss-output=disabled
+   

[gentoo-commits] repo/gentoo:master commit in: media-libs/libpulse/, media-libs/libpulse/files/, ...

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

media-libs/libpulse: Backport memblock alignment fix

Memblock alignment fix changes internal ABI, therefore patch and bump
media-sound/pulseaudio-daemon together with media-libs/libpulse.

Upstream commit 300db779224625144d6279d230c2daa857c967d8

While at it, add similar implementation change for sample rate detection
affecting both places.

Upstream commit 86c5fbab5778685e19b5a4a9b8eb04ca90dff780

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

 ...eaudio-16.1-add-more-standard-samplerates.patch |  35 ++
 .../pulseaudio-16.1-fix-memblock-alignment.patch   | 122 +++
 media-libs/libpulse/libpulse-16.1-r3.ebuild|   4 +-
 ...eaudio-16.1-add-more-standard-samplerates.patch |  35 ++
 .../pulseaudio-16.1-fix-memblock-alignment.patch   | 122 +++
 .../pulseaudio-daemon-16.1-r8.ebuild   | 391 +
 6 files changed, 708 insertions(+), 1 deletion(-)

diff --git 
a/media-libs/libpulse/files/pulseaudio-16.1-add-more-standard-samplerates.patch 
b/media-libs/libpulse/files/pulseaudio-16.1-add-more-standard-samplerates.patch
new file mode 100644
index ..e1ea200c4c4c
--- /dev/null
+++ 
b/media-libs/libpulse/files/pulseaudio-16.1-add-more-standard-samplerates.patch
@@ -0,0 +1,35 @@
+commit 86c5fbab5778685e19b5a4a9b8eb04ca90dff780
+Author: Igor V. Kovalenko 
+Date:   Sun Feb 5 19:49:10 2023 +0300
+
+alsa-util: Add more standard sample rates.
+
+Part-of: 

+
+diff --git a/src/modules/alsa/alsa-util.c b/src/modules/alsa/alsa-util.c
+index 9f35cb20f..fd30f18bd 100644
+--- a/src/modules/alsa/alsa-util.c
 b/src/modules/alsa/alsa-util.c
+@@ -1430,7 +1430,8 @@ unsigned int *pa_alsa_get_supported_rates(snd_pcm_t 
*pcm, unsigned int fallback_
+ 32000, 44100, 48000,
+ 64000, 88200, 96000,
+ 128000, 176400, 192000,
+-384000 };
++352800, 384000,
++705600, 768000 };
+ bool supported[PA_ELEMENTSOF(all_rates)] = { false, };
+ snd_pcm_hw_params_t *hwparams;
+ unsigned int i, j, n, *rates = NULL;
+diff --git a/src/pulse/sample.h b/src/pulse/sample.h
+index 35346a865..65c0c5d6b 100644
+--- a/src/pulse/sample.h
 b/src/pulse/sample.h
+@@ -128,7 +128,7 @@ PA_C_DECL_BEGIN
+ #define PA_CHANNELS_MAX 32U
+ 
+ /** Maximum allowed sample rate */
+-#define PA_RATE_MAX (48000U*8U)
++#define PA_RATE_MAX (48000U*16U)
+ 
+ /** Sample format */
+ typedef enum pa_sample_format {

diff --git 
a/media-libs/libpulse/files/pulseaudio-16.1-fix-memblock-alignment.patch 
b/media-libs/libpulse/files/pulseaudio-16.1-fix-memblock-alignment.patch
new file mode 100644
index ..b05e530ac89d
--- /dev/null
+++ b/media-libs/libpulse/files/pulseaudio-16.1-fix-memblock-alignment.patch
@@ -0,0 +1,122 @@
+commit 300db779224625144d6279d230c2daa857c967d8
+Author: Igor V. Kovalenko 
+Date:   Thu Feb 9 13:28:29 2023 +0300
+
+pstream: Pass frame size to keep split memblock parts aligned
+
+`pa_pstream_send_memblock()` would split incoming memblock into parts not
+exceeding maximum pool block size.
+
+To make sure split parts of memblock are still frame-aligned add new 
`align` arg
+to `pa_pstream_send_memblock`, find out required alignment from stream 
sample
+format and pass it there. Bump default alignment to 256 which is good up to
+32bit 64ch frames.
+
+Part-of: 

+
+diff --git a/src/modules/module-tunnel.c b/src/modules/module-tunnel.c
+index 61f427bd3..ab094ba4e 100644
+--- a/src/modules/module-tunnel.c
 b/src/modules/module-tunnel.c
+@@ -676,7 +676,7 @@ static int sink_process_msg(pa_msgobject *o, int code, 
void *data, int64_t offse
+  * IO thread context where the rest of the messages are
+  * dispatched. Yeah, ugly, but I am a lazy bastard. */
+ 
+-pa_pstream_send_memblock(u->pstream, u->channel, 0, 
PA_SEEK_RELATIVE, chunk);
++pa_pstream_send_memblock(u->pstream, u->channel, 0, 
PA_SEEK_RELATIVE, chunk, pa_frame_size(>sink->sample_spec));
+ 
+ u->receive_counter += chunk->length;
+ 
+diff --git a/src/pulse/stream.c b/src/pulse/stream.c
+index 0aa627396..3585b27e8 100644
+--- a/src/pulse/stream.c
 b/src/pulse/stream.c
+@@ -1535,7 +1535,7 @@ int pa_stream_write_ext_free(
+ s->write_memblock = NULL;
+ s->write_data = NULL;
+ 
+-

[gentoo-commits] repo/gentoo:master commit in: media-libs/libpulse/files/, media-libs/libpulse/

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

media-libs/libpulse: Backport smoother fixes to 16.1

Upstream commits:
8fe50bbc31e11abf2f30864f1e2dbdaa16d0e1c3
c3eae5d00cb79bd897049483126e75bb48a69cd1

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

 .../pulseaudio-16.1-smoother-start-paused.patch| 26 +
 ...pulseaudio-16.1-smoother-time-calculation.patch | 27 ++
 media-libs/libpulse/libpulse-16.1-r3.ebuild|  2 ++
 3 files changed, 55 insertions(+)

diff --git 
a/media-libs/libpulse/files/pulseaudio-16.1-smoother-start-paused.patch 
b/media-libs/libpulse/files/pulseaudio-16.1-smoother-start-paused.patch
new file mode 100644
index ..3f0acbc8f95e
--- /dev/null
+++ b/media-libs/libpulse/files/pulseaudio-16.1-smoother-start-paused.patch
@@ -0,0 +1,26 @@
+commit 8fe50bbc31e11abf2f30864f1e2dbdaa16d0e1c3
+Author: Georg Chini 
+Date:   Thu Aug 25 08:11:04 2022 +0200
+
+time-smoother-2: Fix stream time when stream starts paused
+
+When a stream is started but has not yet called smoother_2_put(), 
pa_smoother_2_get()
+returns the time since the start of the stream even if the stream was 
started paused.
+When the stream is started paused, pa_smoother_2_get() should return 0 
instead. This
+patch fixes the problem.
+
+Part-of: 

+
+diff --git a/src/pulsecore/time-smoother_2.c b/src/pulsecore/time-smoother_2.c
+index e14b52f72..ea7ec1b36 100644
+--- a/src/pulsecore/time-smoother_2.c
 b/src/pulsecore/time-smoother_2.c
+@@ -295,7 +295,7 @@ pa_usec_t pa_smoother_2_get(pa_smoother_2 *s, pa_usec_t 
time_stamp) {
+ 
+ /* If the smoother has not started, just return system time since resume 
*/
+ if (!s->start_time) {
+-if (time_stamp >= s->resume_time)
++if (time_stamp >= s->resume_time && !s->paused)
+ current_time = time_stamp - s->resume_time;
+ else
+ current_time = 0;

diff --git 
a/media-libs/libpulse/files/pulseaudio-16.1-smoother-time-calculation.patch 
b/media-libs/libpulse/files/pulseaudio-16.1-smoother-time-calculation.patch
new file mode 100644
index ..9d976e5be984
--- /dev/null
+++ b/media-libs/libpulse/files/pulseaudio-16.1-smoother-time-calculation.patch
@@ -0,0 +1,27 @@
+commit c3eae5d00cb79bd897049483126e75bb48a69cd1
+Author: flyingOwl 
+Date:   Fri Dec 30 00:16:03 2022 +0100
+
+time-smoother-2: Fix time calculation by comparing timestamps
+
+This fixes the rare case of resume_time being bigger than time_stamp. Which
+happens sometimes when a gstreamer client is quickly seeking through a
+media file. The resulting integer underflow then causes a huge value in
+current_time which will break the playback.
+
+Part-of: 

+
+diff --git a/src/pulsecore/time-smoother_2.c b/src/pulsecore/time-smoother_2.c
+index ea7ec1b36..46cc5e9cc 100644
+--- a/src/pulsecore/time-smoother_2.c
 b/src/pulsecore/time-smoother_2.c
+@@ -307,7 +307,8 @@ pa_usec_t pa_smoother_2_get(pa_smoother_2 *s, pa_usec_t 
time_stamp) {
+ /* If we are initializing, add the time since resume to the card time at 
pause_time */
+ else if (s->init) {
+ current_time += (s->pause_time - s->start_time - s->time_offset - 
s->fixup_time) * s->time_factor;
+-current_time += (time_stamp - s->resume_time) * s->time_factor;
++if (time_stamp > s->resume_time)
++current_time += (time_stamp - s->resume_time) * s->time_factor;
+ 
+ /* Smoother is running, calculate current sound card time */
+ } else

diff --git a/media-libs/libpulse/libpulse-16.1-r3.ebuild 
b/media-libs/libpulse/libpulse-16.1-r3.ebuild
index a924d41221ce..4668093c1a09 100644
--- a/media-libs/libpulse/libpulse-16.1-r3.ebuild
+++ b/media-libs/libpulse/libpulse-16.1-r3.ebuild
@@ -77,6 +77,8 @@ DOCS=( NEWS README )
 PATCHES=(
"${FILESDIR}"/pulseaudio-16.1-memfd-cleanup.patch
"${FILESDIR}"/pulseaudio-16.1-proplist-util-without-gdkx.patch
+   "${FILESDIR}"/pulseaudio-16.1-smoother-start-paused.patch
+   "${FILESDIR}"/pulseaudio-16.1-smoother-time-calculation.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: media-libs/libpulse/

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

media-libs/libpulse: defer to new global USE=valgrind description

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

 media-libs/libpulse/metadata.xml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/media-libs/libpulse/metadata.xml b/media-libs/libpulse/metadata.xml
index 9f2ed729d5f8..e1b0ba44ee04 100644
--- a/media-libs/libpulse/metadata.xml
+++ b/media-libs/libpulse/metadata.xml
@@ -21,6 +21,5 @@
 
 Use libasyncns for asynchronous name 
resolution.
 Build the doxygen-described API documentation.
-Compile in valgrind memory hints
   
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/libpulse/

2023-03-31 Thread Arthur Zamarin
commit: b6e606a01718691b02059754bf5e318d2cf402ba
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Mar 31 11:43:54 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Mar 31 11:43:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6e606a0

media-libs/libpulse: Stabilize 16.1-r2 arm, #892147

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

 media-libs/libpulse/libpulse-16.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libpulse/libpulse-16.1-r2.ebuild 
b/media-libs/libpulse/libpulse-16.1-r2.ebuild
index d2e8fc0680a8..c7d0020fba0d 100644
--- a/media-libs/libpulse/libpulse-16.1-r2.ebuild
+++ b/media-libs/libpulse/libpulse-16.1-r2.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-libs/libpulse/

2023-03-31 Thread Arthur Zamarin
commit: fbe8edb75bca72a474290a6d40f6cb9b2f766308
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Mar 31 11:43:59 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Mar 31 11:43:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbe8edb7

media-libs/libpulse: Stabilize 16.1-r2 ppc64, #892147

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

 media-libs/libpulse/libpulse-16.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libpulse/libpulse-16.1-r2.ebuild 
b/media-libs/libpulse/libpulse-16.1-r2.ebuild
index 7e71d61b4e81..8844a9a3900e 100644
--- a/media-libs/libpulse/libpulse-16.1-r2.ebuild
+++ b/media-libs/libpulse/libpulse-16.1-r2.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-libs/libpulse/

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

media-libs/libpulse: Stabilize 16.1-r2 amd64, #892147

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

 media-libs/libpulse/libpulse-16.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libpulse/libpulse-16.1-r2.ebuild 
b/media-libs/libpulse/libpulse-16.1-r2.ebuild
index 8844a9a3900e..c7789534d7e4 100644
--- a/media-libs/libpulse/libpulse-16.1-r2.ebuild
+++ b/media-libs/libpulse/libpulse-16.1-r2.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-libs/libpulse/

2023-03-31 Thread Arthur Zamarin
commit: 4bcf2b284a4cd6ca618aa1dddbcfdae02d86f747
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Mar 31 11:43:56 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Mar 31 11:43:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bcf2b28

media-libs/libpulse: Stabilize 16.1-r2 ppc, #892147

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

 media-libs/libpulse/libpulse-16.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libpulse/libpulse-16.1-r2.ebuild 
b/media-libs/libpulse/libpulse-16.1-r2.ebuild
index c7d0020fba0d..7e71d61b4e81 100644
--- a/media-libs/libpulse/libpulse-16.1-r2.ebuild
+++ b/media-libs/libpulse/libpulse-16.1-r2.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-libs/libpulse/

2023-03-07 Thread Sam James
commit: 1bb789624b7c283875c7ff9995155e0e826c0e0b
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar  7 17:01:21 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar  7 17:17:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bb78962

media-libs/libpulse: drop obsolete virtual/libc

Remnant of uclibc support, although it was a bit weird anyway.

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

 media-libs/libpulse/libpulse-16.1-r1.ebuild | 3 +--
 media-libs/libpulse/libpulse-16.1-r2.ebuild | 1 -
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/media-libs/libpulse/libpulse-16.1-r1.ebuild 
b/media-libs/libpulse/libpulse-16.1-r1.ebuild
index 1732b83b18ee..6d4f74cbc46c 100644
--- a/media-libs/libpulse/libpulse-16.1-r1.ebuild
+++ b/media-libs/libpulse/libpulse-16.1-r1.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"
@@ -32,7 +32,6 @@ RESTRICT="!test? ( test )"
 RDEPEND="
dev-libs/libatomic_ops
>=media-libs/libsndfile-1.0.20[${MULTILIB_USEDEP}]
-   virtual/libc
asyncns? ( >=net-libs/libasyncns-0.1[${MULTILIB_USEDEP}] )
dbus? ( >=sys-apps/dbus-1.4.12[${MULTILIB_USEDEP}] )
elibc_mingw? ( dev-libs/libpcre:3 )

diff --git a/media-libs/libpulse/libpulse-16.1-r2.ebuild 
b/media-libs/libpulse/libpulse-16.1-r2.ebuild
index 98ced2602c91..d2e8fc0680a8 100644
--- a/media-libs/libpulse/libpulse-16.1-r2.ebuild
+++ b/media-libs/libpulse/libpulse-16.1-r2.ebuild
@@ -32,7 +32,6 @@ RESTRICT="!test? ( test )"
 RDEPEND="
dev-libs/libatomic_ops
>=media-libs/libsndfile-1.0.20[${MULTILIB_USEDEP}]
-   virtual/libc
asyncns? ( >=net-libs/libasyncns-0.1[${MULTILIB_USEDEP}] )
dbus? ( >=sys-apps/dbus-1.4.12[${MULTILIB_USEDEP}] )
elibc_mingw? ( dev-libs/libpcre:3 )



[gentoo-commits] repo/gentoo:master commit in: media-libs/libpulse/

2023-02-01 Thread Arthur Zamarin
commit: 382e1245575e9252203df7d4ab64e5b2dd7c7464
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Feb  1 16:12:12 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Feb  1 16:12:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=382e1245

media-libs/libpulse: Stabilize 16.1-r2 arm64, #892147

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

 media-libs/libpulse/libpulse-16.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libpulse/libpulse-16.1-r2.ebuild 
b/media-libs/libpulse/libpulse-16.1-r2.ebuild
index af07b6423020..98ced2602c91 100644
--- a/media-libs/libpulse/libpulse-16.1-r2.ebuild
+++ b/media-libs/libpulse/libpulse-16.1-r2.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-libs/libpulse/

2023-01-26 Thread Sam James
commit: 95123566c625c94c0e7b24437c90221d1dc26b3c
Author: Sam James  gentoo  org>
AuthorDate: Fri Jan 27 06:21:02 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jan 27 06:21:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95123566

media-libs/libpulse: Stabilize 16.1-r2 x86, #892147

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

 media-libs/libpulse/libpulse-16.1-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/libpulse/libpulse-16.1-r2.ebuild 
b/media-libs/libpulse/libpulse-16.1-r2.ebuild
index 5ee6d6fdcbad..dd44a1b76d8a 100644
--- a/media-libs/libpulse/libpulse-16.1-r2.ebuild
+++ b/media-libs/libpulse/libpulse-16.1-r2.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-libs/libpulse/, media-libs/libpulse/files/

2022-12-10 Thread Mart Raudsepp
commit: deb2056821331da239e3c7feacff70a3cc0eafc3
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Sat Dec 10 09:30:44 2022 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Sat Dec 10 09:35:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=deb20568

media-libs/libpulse: Don't assume gdkx

Upstream commit 89ce6321bd19452097392ddfb416bc51a280b63e

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

 ...ulseaudio-16.1-proplist-util-without-gdkx.patch | 42 ++
 media-libs/libpulse/libpulse-16.1-r2.ebuild|  1 +
 2 files changed, 43 insertions(+)

diff --git 
a/media-libs/libpulse/files/pulseaudio-16.1-proplist-util-without-gdkx.patch 
b/media-libs/libpulse/files/pulseaudio-16.1-proplist-util-without-gdkx.patch
new file mode 100644
index ..a5e025ccb4dc
--- /dev/null
+++ b/media-libs/libpulse/files/pulseaudio-16.1-proplist-util-without-gdkx.patch
@@ -0,0 +1,42 @@
+commit 89ce6321bd19452097392ddfb416bc51a280b63e
+Author: Mart Raudsepp 
+Date:   Wed Nov 30 09:25:22 2022 +0200
+
+proplist-util: Don't assume gdkx is there as gtk could be built without it
+
+Part-of: 

+
+diff --git a/src/pulsecore/proplist-util.c b/src/pulsecore/proplist-util.c
+index 16ea9e006..1330ef5ef 100644
+--- a/src/pulsecore/proplist-util.c
 b/src/pulsecore/proplist-util.c
+@@ -51,10 +51,12 @@ static const gchar* _g_get_application_name(void) 
PA_GCC_WEAKREF(g_get_applicati
+ #if defined(HAVE_GTK) && defined(PA_GCC_WEAKREF)
+ #pragma GCC diagnostic ignored "-Wstrict-prototypes"
+ #include 
+-#include 
+ static const gchar* _gtk_window_get_default_icon_name(void) 
PA_GCC_WEAKREF(gtk_window_get_default_icon_name);
++#ifdef GDK_WINDOWING_X11
++#include 
+ static Display *_gdk_display PA_GCC_WEAKREF(gdk_display);
+ #endif
++#endif
+ 
+ #include "proplist-util.h"
+ 
+@@ -89,6 +91,7 @@ static void add_gtk_properties(pa_proplist *p) {
+ pa_proplist_sets(p, PA_PROP_APPLICATION_ICON_NAME, t);
+ }
+ 
++#ifdef GDK_WINDOWING_X11
+ if (!pa_proplist_contains(p, PA_PROP_WINDOW_X11_DISPLAY))
+ if (&_gdk_display && _gdk_display) {
+ const char *t;
+@@ -99,6 +102,7 @@ static void add_gtk_properties(pa_proplist *p) {
+ pa_proplist_sets(p, PA_PROP_WINDOW_X11_DISPLAY, t);
+ }
+ 
++#endif
+ #endif
+ }
+ 

diff --git a/media-libs/libpulse/libpulse-16.1-r2.ebuild 
b/media-libs/libpulse/libpulse-16.1-r2.ebuild
index 773e74668690..5ee6d6fdcbad 100644
--- a/media-libs/libpulse/libpulse-16.1-r2.ebuild
+++ b/media-libs/libpulse/libpulse-16.1-r2.ebuild
@@ -77,6 +77,7 @@ DOCS=( NEWS README )
 # patches merged upstream, to be removed with 16.2 or later bump
 PATCHES=(
"${FILESDIR}"/pulseaudio-16.1-memfd-cleanup.patch
+   "${FILESDIR}"/pulseaudio-16.1-proplist-util-without-gdkx.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: media-libs/libpulse/files/, media-libs/libpulse/

2022-11-28 Thread Mart Raudsepp
commit: 72f37fd76e4295b8cddc76026a9017cee85d5deb
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Thu Nov 24 22:06:36 2022 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Tue Nov 29 07:09:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72f37fd7

media-libs/libpulse: Clean up memfd on exec

Upstream commit e650c2b33e4fefc0589751b3958bd3b5d3b423ac

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

 .../files/pulseaudio-16.1-memfd-cleanup.patch  |  28 +++
 media-libs/libpulse/libpulse-16.1-r2.ebuild| 208 +
 2 files changed, 236 insertions(+)

diff --git a/media-libs/libpulse/files/pulseaudio-16.1-memfd-cleanup.patch 
b/media-libs/libpulse/files/pulseaudio-16.1-memfd-cleanup.patch
new file mode 100644
index ..b24ab8943899
--- /dev/null
+++ b/media-libs/libpulse/files/pulseaudio-16.1-memfd-cleanup.patch
@@ -0,0 +1,28 @@
+commit e650c2b33e4fefc0589751b3958bd3b5d3b423ac
+Author: Alistair Leslie-Hughes 
+Date:   Thu Nov 3 09:22:48 2022 +1100
+
+Ensure fds are closed when exec functions are used.
+
+When usng shm_open, FD_CLOEXEC is set explicitly.
+
+However when using memfd_create, we must pass the MFD_CLOEXEC flag
+to ensure the same fcntl value (FD_CLOEXEC) is set.
+
+Fixes #1394
+
+Part-of: 

+
+diff --git a/src/pulsecore/shm.c b/src/pulsecore/shm.c
+index e464f6bce..ff54dcb59 100644
+--- a/src/pulsecore/shm.c
 b/src/pulsecore/shm.c
+@@ -164,7 +164,7 @@ static int sharedmem_create(pa_shm *m, pa_mem_type_t type, 
size_t size, mode_t m
+ #endif
+ #ifdef HAVE_MEMFD
+ case PA_MEM_TYPE_SHARED_MEMFD:
+-fd = memfd_create("pulseaudio", MFD_ALLOW_SEALING);
++fd = memfd_create("pulseaudio", MFD_ALLOW_SEALING|MFD_CLOEXEC);
+ break;
+ #endif
+ default:

diff --git a/media-libs/libpulse/libpulse-16.1-r2.ebuild 
b/media-libs/libpulse/libpulse-16.1-r2.ebuild
new file mode 100644
index ..773e74668690
--- /dev/null
+++ b/media-libs/libpulse/libpulse-16.1-r2.ebuild
@@ -0,0 +1,208 @@
+# 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-multilib optfeature systemd udev
+
+DESCRIPTION="Libraries for PulseAudio clients"
+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}"
+
+LICENSE="LGPL-2.1+"
+
+SLOT="0"
+IUSE="+asyncns dbus doc +glib gtk selinux systemd test valgrind X"
+RESTRICT="!test? ( test )"
+
+# NOTE: libpcre needed in some cases, bug #472228
+# TODO: libatomic_ops is only needed on some architectures and conditions, and 
then at runtime too
+RDEPEND="
+   dev-libs/libatomic_ops
+   >=media-libs/libsndfile-1.0.20[${MULTILIB_USEDEP}]
+   virtual/libc
+   asyncns? ( >=net-libs/libasyncns-0.1[${MULTILIB_USEDEP}] )
+   dbus? ( >=sys-apps/dbus-1.4.12[${MULTILIB_USEDEP}] )
+   elibc_mingw? ( dev-libs/libpcre:3 )
+   glib? ( >=dev-libs/glib-2.28.0:2[${MULTILIB_USEDEP}] )
+   gtk? ( x11-libs/gtk+:3 )
+   selinux? ( sec-policy/selinux-pulseaudio )
+   systemd? ( sys-apps/systemd:= )
+   valgrind? ( dev-util/valgrind )
+   X? (
+   x11-libs/libX11[${MULTILIB_USEDEP}]
+   >=x11-libs/libxcb-1.6[${MULTILIB_USEDEP}]
+   )
+   !

[gentoo-commits] repo/gentoo:master commit in: media-libs/libpulse/

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

media-libs/libpulse: drop 16.0-r1

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

 media-libs/libpulse/Manifest|   1 -
 media-libs/libpulse/libpulse-16.0-r1.ebuild | 200 
 2 files changed, 201 deletions(-)

diff --git a/media-libs/libpulse/Manifest b/media-libs/libpulse/Manifest
index 7e2a36fffea5..955eec847d0e 100644
--- a/media-libs/libpulse/Manifest
+++ b/media-libs/libpulse/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-libs/libpulse/libpulse-16.0-r1.ebuild 
b/media-libs/libpulse/libpulse-16.0-r1.ebuild
deleted file mode 100644
index 005c74d6e02b..
--- a/media-libs/libpulse/libpulse-16.0-r1.ebuild
+++ /dev/null
@@ -1,200 +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-multilib optfeature systemd udev
-
-DESCRIPTION="Libraries for PulseAudio clients"
-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}"
-
-LICENSE="LGPL-2.1+"
-
-SLOT="0"
-IUSE="+asyncns dbus doc +glib gtk selinux systemd test valgrind X"
-RESTRICT="!test? ( test )"
-
-# NOTE: libpcre needed in some cases, bug #472228
-# TODO: libatomic_ops is only needed on some architectures and conditions, and 
then at runtime too
-RDEPEND="
-   dev-libs/libatomic_ops
-   >=media-libs/libsndfile-1.0.20[${MULTILIB_USEDEP}]
-   virtual/libc
-   asyncns? ( >=net-libs/libasyncns-0.1[${MULTILIB_USEDEP}] )
-   dbus? ( >=sys-apps/dbus-1.4.12[${MULTILIB_USEDEP}] )
-   elibc_mingw? ( dev-libs/libpcre:3 )
-   glib? ( >=dev-libs/glib-2.28.0:2[${MULTILIB_USEDEP}] )
-   gtk? ( x11-libs/gtk+:3 )
-   selinux? ( sec-policy/selinux-pulseaudio )
-   systemd? ( sys-apps/systemd:= )
-   valgrind? ( dev-util/valgrind )
-   X? (
-   x11-libs/libX11[${MULTILIB_USEDEP}]
-   >=x11-libs/libxcb-1.6[${MULTILIB_USEDEP}]
-   )
-   !

[gentoo-commits] repo/gentoo:master commit in: media-libs/libpulse/

2022-09-26 Thread Sam James
commit: c05fb18ebae2e964fb4030a3f86f1870371c0e9e
Author: Sam James  gentoo  org>
AuthorDate: Mon Sep 26 16:11:34 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Sep 26 16:11:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c05fb18e

media-libs/libpulse: only depend on libpcre for mingw

musl supports regex and it's in POSIX, mingw is the only exception I'm aware of

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

 .../libpulse/{libpulse-16.0.ebuild => libpulse-16.0-r1.ebuild}   | 5 +
 .../libpulse/{libpulse-16.1.ebuild => libpulse-16.1-r1.ebuild}   | 5 +
 2 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/media-libs/libpulse/libpulse-16.0.ebuild 
b/media-libs/libpulse/libpulse-16.0-r1.ebuild
similarity index 98%
rename from media-libs/libpulse/libpulse-16.0.ebuild
rename to media-libs/libpulse/libpulse-16.0-r1.ebuild
index f1409d9fdd36..005c74d6e02b 100644
--- a/media-libs/libpulse/libpulse-16.0.ebuild
+++ b/media-libs/libpulse/libpulse-16.0-r1.ebuild
@@ -35,6 +35,7 @@ RDEPEND="
virtual/libc
asyncns? ( >=net-libs/libasyncns-0.1[${MULTILIB_USEDEP}] )
dbus? ( >=sys-apps/dbus-1.4.12[${MULTILIB_USEDEP}] )
+   elibc_mingw? ( dev-libs/libpcre:3 )
glib? ( >=dev-libs/glib-2.28.0:2[${MULTILIB_USEDEP}] )
gtk? ( x11-libs/gtk+:3 )
selinux? ( sec-policy/selinux-pulseaudio )
@@ -44,10 +45,6 @@ RDEPEND="
x11-libs/libX11[${MULTILIB_USEDEP}]
>=x11-libs/libxcb-1.6[${MULTILIB_USEDEP}]
)
-   || (
-   elibc_glibc? ( virtual/libc )
-   dev-libs/libpcre:3
-   )
!=x11-libs/libxcb-1.6[${MULTILIB_USEDEP}]
)
-   || (
-   elibc_glibc? ( virtual/libc )
-   dev-libs/libpcre:3
-   )
!

[gentoo-commits] repo/gentoo:master commit in: media-libs/libpulse/, media-libs/libpulse/files/

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

media-libs/libpulse: drop 16.0-r1

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

 .../pulseaudio-16.0-fix-pactl-volume-command.patch |  55 --
 media-libs/libpulse/libpulse-16.0-r1.ebuild| 204 -
 2 files changed, 259 deletions(-)

diff --git 
a/media-libs/libpulse/files/pulseaudio-16.0-fix-pactl-volume-command.patch 
b/media-libs/libpulse/files/pulseaudio-16.0-fix-pactl-volume-command.patch
deleted file mode 100644
index 469aaa345102..
--- a/media-libs/libpulse/files/pulseaudio-16.0-fix-pactl-volume-command.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/05c06afa58e30b7958e96766d1e917099c8a4041
-
-From 05c06afa58e30b7958e96766d1e917099c8a4041 Mon Sep 17 00:00:00 2001
-From: Sean Greenslade 
-Date: Sat, 4 Jun 2022 00:24:49 -0700
-Subject: [PATCH] pactl: fix parsing of percentages with decimal points
-
-The logic for detecting which type of volume was given incorrectly interpreted
-any value with a decimal as a VOL_LINEAR. It also could set multiple flags,
-which would put the flags variable into an indeterminate state. Additionally,
-the flags stack variable was uninitialized which could also lead to an
-indeterminate flag state.
-
-Percentages are now prioritized over all other types, and only one type flag
-can be set.

- src/utils/pactl.c | 8 
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/src/utils/pactl.c b/src/utils/pactl.c
-index 35163f277..2761ebaaf 100644
 a/src/utils/pactl.c
-+++ b/src/utils/pactl.c
-@@ -2527,16 +2527,16 @@ static int parse_volume(const char *vol_spec, 
pa_volume_t *vol, enum volume_flag
- vs = pa_xstrdup(vol_spec);
- 
- *vol_flags = (pa_startswith(vs, "+") || pa_startswith(vs, "-")) ? 
VOL_RELATIVE : VOL_ABSOLUTE;
--if (strchr(vs, '.'))
--*vol_flags |= VOL_LINEAR;
- if (pa_endswith(vs, "%")) {
- *vol_flags |= VOL_PERCENT;
- vs[strlen(vs)-1] = 0;
- }
--if (pa_endswith(vs, "db") || pa_endswith(vs, "dB")) {
-+else if (pa_endswith(vs, "db") || pa_endswith(vs, "dB")) {
- *vol_flags |= VOL_DECIBEL;
- vs[strlen(vs)-2] = 0;
- }
-+else if (strchr(vs, '.'))
-+*vol_flags |= VOL_LINEAR;
- 
- atod_input = vs;
- 
-@@ -2597,7 +2597,7 @@ static int parse_volumes(char *args[], unsigned n) {
- 
- volume.channels = n;
- for (i = 0; i < volume.channels; i++) {
--enum volume_flags flags;
-+enum volume_flags flags = 0;
- 
- if (parse_volume(args[i], [i], ) < 0)
- return -1;
--- 
-GitLab
-

diff --git a/media-libs/libpulse/libpulse-16.0-r1.ebuild 
b/media-libs/libpulse/libpulse-16.0-r1.ebuild
deleted file mode 100644
index a134ac58d7b4..
--- a/media-libs/libpulse/libpulse-16.0-r1.ebuild
+++ /dev/null
@@ -1,204 +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-multilib optfeature systemd udev
-
-DESCRIPTION="Libraries for PulseAudio clients"
-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}"
-
-LICENSE="LGPL-2.1+"
-
-SLOT="0"
-IUSE="+asyncns dbus doc +glib gtk selinux systemd test valgrind X"
-RESTRICT="!test? ( test )"
-
-# NOTE: libpcre needed in some cases, bug #472228
-# TODO: libatomic_ops is only needed on some architectures and conditions, and 
then at runtime too
-RDEPEND="
-   dev-libs/libatomic_ops
-   >=media-libs/libsndfile-1.0.20[${MULTILIB_USEDEP}]
-   virtual/libc
-   asyncns? ( >=net-libs/libasyncns-0.1[${MULTILIB_USEDEP}] )
-   dbus? ( >=sys-apps/dbus-1.4.12[${MULTILIB_USEDEP}] )
-   glib? ( >=dev-libs/glib-2.28.0:2[${MULTILIB_USEDEP}] )
-   gtk? ( x11-libs/gtk+:3 )
-   selinux? ( sec-policy/selinux-pulseaudio )
-   systemd? ( sys-apps/systemd:= )
-   valgrind? ( dev-util/valgrind )
-   X? (
-   x11-libs/libX11[${MULTILIB_USEDEP}]
-   >=x11-libs/libxcb-1.6[${MULTILIB_USEDEP}]
-   )
-   || (
-   elibc_glibc? ( virtual/libc )
-   dev-libs/libpcre:3
-   )
-   !

[gentoo-commits] repo/gentoo:master commit in: media-libs/libpulse/

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

media-libs/libpulse: Stabilize 16.1 ppc64, #859280

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

 media-libs/libpulse/libpulse-16.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libpulse/libpulse-16.1.ebuild 
b/media-libs/libpulse/libpulse-16.1.ebuild
index 145720c5f2e2..b8b01eb10b35 100644
--- a/media-libs/libpulse/libpulse-16.1.ebuild
+++ b/media-libs/libpulse/libpulse-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-libs/libpulse/

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

media-libs/libpulse: Stabilize 16.1 ppc, #859280

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

 media-libs/libpulse/libpulse-16.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libpulse/libpulse-16.1.ebuild 
b/media-libs/libpulse/libpulse-16.1.ebuild
index dff32ab4aa8b..145720c5f2e2 100644
--- a/media-libs/libpulse/libpulse-16.1.ebuild
+++ b/media-libs/libpulse/libpulse-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-libs/libpulse/

2022-07-30 Thread Sam James
commit: 84ce37fdf256b1e569217b95986e425bf05770fd
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=84ce37fd

media-libs/libpulse: Stabilize 16.1 arm64, #859280

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

 media-libs/libpulse/libpulse-16.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libpulse/libpulse-16.1.ebuild 
b/media-libs/libpulse/libpulse-16.1.ebuild
index cea948f55dfe..dff32ab4aa8b 100644
--- a/media-libs/libpulse/libpulse-16.1.ebuild
+++ b/media-libs/libpulse/libpulse-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-libs/libpulse/

2022-07-30 Thread Sam James
commit: 3d9ec17a59090eedb3f097a7d8bce65d4b19cd0e
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=3d9ec17a

media-libs/libpulse: Stabilize 16.1 arm, #859280

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

 media-libs/libpulse/libpulse-16.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libpulse/libpulse-16.1.ebuild 
b/media-libs/libpulse/libpulse-16.1.ebuild
index f2dfe8cce294..cea948f55dfe 100644
--- a/media-libs/libpulse/libpulse-16.1.ebuild
+++ b/media-libs/libpulse/libpulse-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-libs/libpulse/

2022-07-29 Thread Agostino Sarubbo
commit: 99ab6811a713aa903b78663ea5f95af293f4cc3c
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jul 29 08:02:12 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jul 29 08:02:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99ab6811

media-libs/libpulse: sparc stable wrt bug #859280

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

 media-libs/libpulse/libpulse-16.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libpulse/libpulse-16.1.ebuild 
b/media-libs/libpulse/libpulse-16.1.ebuild
index 2b7deb245617..f2dfe8cce294 100644
--- a/media-libs/libpulse/libpulse-16.1.ebuild
+++ b/media-libs/libpulse/libpulse-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-libs/libpulse/

2022-07-28 Thread Sam James
commit: ffc8ee91852dcc57d15a0aaf1b42bf15f7ab18d7
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=ffc8ee91

media-libs/libpulse: Stabilize 16.1 x86, #859280

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

 media-libs/libpulse/libpulse-16.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libpulse/libpulse-16.1.ebuild 
b/media-libs/libpulse/libpulse-16.1.ebuild
index 01d7246b93e4..2b7deb245617 100644
--- a/media-libs/libpulse/libpulse-16.1.ebuild
+++ b/media-libs/libpulse/libpulse-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-libs/libpulse/

2022-07-28 Thread Sam James
commit: 98996f0dc62a84802c285563c7c94c38b7f5873c
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=98996f0d

media-libs/libpulse: Stabilize 16.1 amd64, #859280

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

 media-libs/libpulse/libpulse-16.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libpulse/libpulse-16.1.ebuild 
b/media-libs/libpulse/libpulse-16.1.ebuild
index fe632b3d640b..01d7246b93e4 100644
--- a/media-libs/libpulse/libpulse-16.1.ebuild
+++ b/media-libs/libpulse/libpulse-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-libs/libpulse/

2022-07-04 Thread Sam James
commit: f561aab954fbd1737c25cbb7c99d709ae71ae742
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Fri Jun 24 06:37:13 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jul  4 21:35:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f561aab9

media-libs/libpulse: PDEPEND on sound servers

When a package depends on pulseaudio client libraries only, make sure there is
a compatible sound server installed.

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

 media-libs/libpulse/libpulse-16.1.ebuild | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/media-libs/libpulse/libpulse-16.1.ebuild 
b/media-libs/libpulse/libpulse-16.1.ebuild
index a3bd8e6f7528..fe632b3d640b 100644
--- a/media-libs/libpulse/libpulse-16.1.ebuild
+++ b/media-libs/libpulse/libpulse-16.1.ebuild
@@ -67,6 +67,13 @@ BDEPEND="
virtual/pkgconfig
doc? ( app-doc/doxygen )
 "
+PDEPEND="
+   || (
+   media-video/pipewire[sound-server(+)]
+   media-sound/pulseaudio-daemon
+   media-sound/pulseaudio[daemon(+)]
+   )
+"
 
 DOCS=( NEWS README )
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/libpulse/

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

media-libs/libpulse: Version bump to 16.1

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

 media-libs/libpulse/Manifest |   1 +
 media-libs/libpulse/libpulse-16.1.ebuild | 203 +++
 2 files changed, 204 insertions(+)

diff --git a/media-libs/libpulse/Manifest b/media-libs/libpulse/Manifest
index 5bc75fa5795d..7e2a36fffea5 100644
--- a/media-libs/libpulse/Manifest
+++ b/media-libs/libpulse/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-libs/libpulse/libpulse-16.1.ebuild 
b/media-libs/libpulse/libpulse-16.1.ebuild
new file mode 100644
index ..a3bd8e6f7528
--- /dev/null
+++ b/media-libs/libpulse/libpulse-16.1.ebuild
@@ -0,0 +1,203 @@
+# 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-multilib optfeature systemd udev
+
+DESCRIPTION="Libraries for PulseAudio clients"
+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}"
+
+LICENSE="LGPL-2.1+"
+
+SLOT="0"
+IUSE="+asyncns dbus doc +glib gtk selinux systemd test valgrind X"
+RESTRICT="!test? ( test )"
+
+# NOTE: libpcre needed in some cases, bug #472228
+# TODO: libatomic_ops is only needed on some architectures and conditions, and 
then at runtime too
+RDEPEND="
+   dev-libs/libatomic_ops
+   >=media-libs/libsndfile-1.0.20[${MULTILIB_USEDEP}]
+   virtual/libc
+   asyncns? ( >=net-libs/libasyncns-0.1[${MULTILIB_USEDEP}] )
+   dbus? ( >=sys-apps/dbus-1.4.12[${MULTILIB_USEDEP}] )
+   glib? ( >=dev-libs/glib-2.28.0:2[${MULTILIB_USEDEP}] )
+   gtk? ( x11-libs/gtk+:3 )
+   selinux? ( sec-policy/selinux-pulseaudio )
+   systemd? ( sys-apps/systemd:= )
+   valgrind? ( dev-util/valgrind )
+   X? (
+   x11-libs/libX11[${MULTILIB_USEDEP}]
+   >=x11-libs/libxcb-1.6[${MULTILIB_USEDEP}]
+   )
+   || (
+   elibc_glibc? ( virtual/libc )
+   dev-libs/libpcre:3
+   )
+   !

[gentoo-commits] repo/gentoo:master commit in: media-libs/libpulse/, media-libs/libpulse/files/

2022-06-17 Thread Sam James
commit: ebe6de570b89a80d58af7797fd6fdc246b6c9f2e
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:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebe6de57

media-libs/libpulse: Fix parsing of percentages with decimal points

Upstream commit 05c06afa58e30b7958e96766d1e917099c8a4041

Fixes logic for detecting which type of volume was given to pactl.
Percentages are now prioritized over all other volume types.

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

 .../pulseaudio-16.0-fix-pactl-volume-command.patch |  55 ++
 media-libs/libpulse/libpulse-16.0-r1.ebuild| 204 +
 2 files changed, 259 insertions(+)

diff --git 
a/media-libs/libpulse/files/pulseaudio-16.0-fix-pactl-volume-command.patch 
b/media-libs/libpulse/files/pulseaudio-16.0-fix-pactl-volume-command.patch
new file mode 100644
index ..469aaa345102
--- /dev/null
+++ b/media-libs/libpulse/files/pulseaudio-16.0-fix-pactl-volume-command.patch
@@ -0,0 +1,55 @@
+https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/05c06afa58e30b7958e96766d1e917099c8a4041
+
+From 05c06afa58e30b7958e96766d1e917099c8a4041 Mon Sep 17 00:00:00 2001
+From: Sean Greenslade 
+Date: Sat, 4 Jun 2022 00:24:49 -0700
+Subject: [PATCH] pactl: fix parsing of percentages with decimal points
+
+The logic for detecting which type of volume was given incorrectly interpreted
+any value with a decimal as a VOL_LINEAR. It also could set multiple flags,
+which would put the flags variable into an indeterminate state. Additionally,
+the flags stack variable was uninitialized which could also lead to an
+indeterminate flag state.
+
+Percentages are now prioritized over all other types, and only one type flag
+can be set.
+---
+ src/utils/pactl.c | 8 
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/src/utils/pactl.c b/src/utils/pactl.c
+index 35163f277..2761ebaaf 100644
+--- a/src/utils/pactl.c
 b/src/utils/pactl.c
+@@ -2527,16 +2527,16 @@ static int parse_volume(const char *vol_spec, 
pa_volume_t *vol, enum volume_flag
+ vs = pa_xstrdup(vol_spec);
+ 
+ *vol_flags = (pa_startswith(vs, "+") || pa_startswith(vs, "-")) ? 
VOL_RELATIVE : VOL_ABSOLUTE;
+-if (strchr(vs, '.'))
+-*vol_flags |= VOL_LINEAR;
+ if (pa_endswith(vs, "%")) {
+ *vol_flags |= VOL_PERCENT;
+ vs[strlen(vs)-1] = 0;
+ }
+-if (pa_endswith(vs, "db") || pa_endswith(vs, "dB")) {
++else if (pa_endswith(vs, "db") || pa_endswith(vs, "dB")) {
+ *vol_flags |= VOL_DECIBEL;
+ vs[strlen(vs)-2] = 0;
+ }
++else if (strchr(vs, '.'))
++*vol_flags |= VOL_LINEAR;
+ 
+ atod_input = vs;
+ 
+@@ -2597,7 +2597,7 @@ static int parse_volumes(char *args[], unsigned n) {
+ 
+ volume.channels = n;
+ for (i = 0; i < volume.channels; i++) {
+-enum volume_flags flags;
++enum volume_flags flags = 0;
+ 
+ if (parse_volume(args[i], [i], ) < 0)
+ return -1;
+-- 
+GitLab
+

diff --git a/media-libs/libpulse/libpulse-16.0-r1.ebuild 
b/media-libs/libpulse/libpulse-16.0-r1.ebuild
new file mode 100644
index ..a134ac58d7b4
--- /dev/null
+++ b/media-libs/libpulse/libpulse-16.0-r1.ebuild
@@ -0,0 +1,204 @@
+# 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-multilib optfeature systemd udev
+
+DESCRIPTION="Libraries for PulseAudio clients"
+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}"
+
+LICENSE="LGPL-2.1+"
+
+SLOT="0"
+IUSE="+asyncns dbus doc +glib gtk selinux systemd test valgrind X"
+RESTRICT="!test? ( test )"
+
+# NOTE: libpcre needed in some cases, bug #472228
+# TODO: libatomic_ops is only needed on some architectures and conditions, and 
then at runtime too
+RDEPEND="
+   dev-libs/libatomic_ops
+   >=media-libs/libsndfile-1.0.20[${MULTILIB_USEDEP}]
+   virtual/libc
+   asyncns? ( >=net-libs/libasyncns-0.1[${MULTILIB_USEDEP}] )
+   dbus? ( >=sys-apps/dbus-1.4.12[${MULTILIB_USEDEP}] )
+   glib? ( >=dev-libs/glib-2.28.0:2[${MULTILIB_USEDEP}] )
+   gtk? ( x11-libs/gtk+:3 )
+   selinux? ( sec-policy/selinux-pulseaudio )
+   systemd? ( sys-apps/systemd:= )
+   valgrind? ( dev-util/valgrind )
+   X? (
+   x11-libs/libX11[${MULTILIB_USEDEP}]
+   

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

2022-06-15 Thread Sam James
commit: b503874748cd34d65b44eb4f3e5eef1e98a34bae
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Tue Jun 14 20:13:29 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun 15 21:56:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5038747

media-libs/libpulse: Drop IUSE tcpd

This flag used to control server-side sockets implemented in libpulse client
library. With 16.0 release implementation is moved to daemon package.

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

 media-libs/libpulse/libpulse-16.0.ebuild   | 5 ++---
 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r1.ebuild | 2 +-
 media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild | 4 ++--
 3 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/media-libs/libpulse/libpulse-16.0.ebuild 
b/media-libs/libpulse/libpulse-16.0.ebuild
index 9ab4bd86da9c..f1409d9fdd36 100644
--- a/media-libs/libpulse/libpulse-16.0.ebuild
+++ b/media-libs/libpulse/libpulse-16.0.ebuild
@@ -24,7 +24,7 @@ S="${WORKDIR}/${MY_P}"
 LICENSE="LGPL-2.1+"
 
 SLOT="0"
-IUSE="+asyncns dbus doc +glib gtk selinux systemd tcpd test valgrind X"
+IUSE="+asyncns dbus doc +glib gtk selinux systemd test valgrind X"
 RESTRICT="!test? ( test )"
 
 # NOTE: libpcre needed in some cases, bug #472228
@@ -39,7 +39,6 @@ RDEPEND="
gtk? ( x11-libs/gtk+:3 )
selinux? ( sec-policy/selinux-pulseaudio )
systemd? ( sys-apps/systemd:= )
-   tcpd? ( sys-apps/tcp-wrappers )
valgrind? ( dev-util/valgrind )
X? (
x11-libs/libX11[${MULTILIB_USEDEP}]
@@ -130,7 +129,7 @@ multilib_src_configure() {
-Dsoxr=disabled
-Dspeex=disabled
$(meson_native_use_feature systemd)
-   $(meson_native_use_feature tcpd tcpwrap)
+   -Dtcpwrap=disabled
-Dudev=disabled
$(meson_native_use_feature valgrind)
$(meson_feature X x11)

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 ffb4e1a39881..b6489354786a 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-r2.ebuild 
b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild
index 5cdce975c231..fb3c1588301e 100644
--- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.ebuild
+++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-16.0-r2.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?,valgrind?,X?]
dev-libs/libatomic_ops
>=media-libs/libsndfile-1.0.20
>=media-libs/speexdsp-1.2
@@ -229,7 +229,7 @@ src_configure() {
$(meson_feature sox soxr)
-Dspeex=enabled
$(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 tcpd tcpwrap)
$(meson_feature udev)
$(meson_feature valgrind)
$(meson_feature X x11)



[gentoo-commits] repo/gentoo:master commit in: media-libs/libpulse/

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

media-libs/libpulse: 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-libs/libpulse/libpulse-16.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libpulse/libpulse-16.0.ebuild 
b/media-libs/libpulse/libpulse-16.0.ebuild
index d9eba742c977..9ab4bd86da9c 100644
--- a/media-libs/libpulse/libpulse-16.0.ebuild
+++ b/media-libs/libpulse/libpulse-16.0.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-libs/libpulse/

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

media-libs/libpulse: 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-libs/libpulse/libpulse-16.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libpulse/libpulse-16.0.ebuild 
b/media-libs/libpulse/libpulse-16.0.ebuild
index 69c8802713cd..d9eba742c977 100644
--- a/media-libs/libpulse/libpulse-16.0.ebuild
+++ b/media-libs/libpulse/libpulse-16.0.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-libs/libpulse/

2022-06-11 Thread Agostino Sarubbo
commit: 13d4740586bc189642318519ca3c9f3bd4a6e742
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Jun 11 07:40:33 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Jun 11 07:40:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13d47405

media-libs/libpulse: 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-libs/libpulse/libpulse-16.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libpulse/libpulse-16.0.ebuild 
b/media-libs/libpulse/libpulse-16.0.ebuild
index 853b34b61e89..69c8802713cd 100644
--- a/media-libs/libpulse/libpulse-16.0.ebuild
+++ b/media-libs/libpulse/libpulse-16.0.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-libs/libpulse/

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

media-libs/libpulse: 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-libs/libpulse/libpulse-16.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libpulse/libpulse-16.0.ebuild 
b/media-libs/libpulse/libpulse-16.0.ebuild
index 14f7fe7a6515..853b34b61e89 100644
--- a/media-libs/libpulse/libpulse-16.0.ebuild
+++ b/media-libs/libpulse/libpulse-16.0.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-libs/libpulse/

2022-06-11 Thread Agostino Sarubbo
commit: a8a4492a3c955506acad6000a867052ce48751f2
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Jun 11 07:38:02 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Jun 11 07:39:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8a4492a

media-libs/libpulse: 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-libs/libpulse/libpulse-16.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libpulse/libpulse-16.0.ebuild 
b/media-libs/libpulse/libpulse-16.0.ebuild
index 4ed92e5c3d7b..14f7fe7a6515 100644
--- a/media-libs/libpulse/libpulse-16.0.ebuild
+++ b/media-libs/libpulse/libpulse-16.0.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-libs/libpulse/

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

media-libs/libpulse: 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-libs/libpulse/libpulse-16.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libpulse/libpulse-16.0.ebuild 
b/media-libs/libpulse/libpulse-16.0.ebuild
index a5de19e8c6f0..4ed92e5c3d7b 100644
--- a/media-libs/libpulse/libpulse-16.0.ebuild
+++ b/media-libs/libpulse/libpulse-16.0.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-libs/libpulse/

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

media-libs/libpulse: Stabilize 16.0 amd64, #850604

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

 media-libs/libpulse/libpulse-16.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libpulse/libpulse-16.0.ebuild 
b/media-libs/libpulse/libpulse-16.0.ebuild
index 2de9bf92797f..a5de19e8c6f0 100644
--- a/media-libs/libpulse/libpulse-16.0.ebuild
+++ b/media-libs/libpulse/libpulse-16.0.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-libs/libpulse/

2022-06-10 Thread Sam James
commit: 3286b69521b4bcdfebb6ccdc8ecb2dcc04223dea
Author: Sam James  gentoo  org>
AuthorDate: Fri Jun 10 06:55:25 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jun 10 06:55:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3286b695

media-libs/libpulse: reassign maintainers

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

 media-libs/libpulse/metadata.xml | 14 +++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/media-libs/libpulse/metadata.xml b/media-libs/libpulse/metadata.xml
index 7e1166ebdbfd..9f2ed729d5f8 100644
--- a/media-libs/libpulse/metadata.xml
+++ b/media-libs/libpulse/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-libs/libpulse/

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

media-libs/libpulse: Add IUSE valgrind

Replace pulseaudio valgrind auto-detection with explicit local USE.

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

 media-libs/libpulse/libpulse-16.0.ebuild | 5 +++--
 media-libs/libpulse/metadata.xml | 1 +
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/media-libs/libpulse/libpulse-16.0.ebuild 
b/media-libs/libpulse/libpulse-16.0.ebuild
index 8065b23b30d2..2de9bf92797f 100644
--- a/media-libs/libpulse/libpulse-16.0.ebuild
+++ b/media-libs/libpulse/libpulse-16.0.ebuild
@@ -24,7 +24,7 @@ S="${WORKDIR}/${MY_P}"
 LICENSE="LGPL-2.1+"
 
 SLOT="0"
-IUSE="+asyncns dbus doc +glib gtk selinux systemd tcpd test X"
+IUSE="+asyncns dbus doc +glib gtk selinux systemd tcpd test valgrind X"
 RESTRICT="!test? ( test )"
 
 # NOTE: libpcre needed in some cases, bug #472228
@@ -40,6 +40,7 @@ RDEPEND="
selinux? ( sec-policy/selinux-pulseaudio )
systemd? ( sys-apps/systemd:= )
tcpd? ( sys-apps/tcp-wrappers )
+   valgrind? ( dev-util/valgrind )
X? (
x11-libs/libX11[${MULTILIB_USEDEP}]
>=x11-libs/libxcb-1.6[${MULTILIB_USEDEP}]
@@ -131,7 +132,7 @@ multilib_src_configure() {
$(meson_native_use_feature systemd)
$(meson_native_use_feature tcpd tcpwrap)
-Dudev=disabled
-   -Dvalgrind=auto
+   $(meson_native_use_feature valgrind)
$(meson_feature X x11)
 
# Echo cancellation

diff --git a/media-libs/libpulse/metadata.xml b/media-libs/libpulse/metadata.xml
index afe3111f5cf9..7e1166ebdbfd 100644
--- a/media-libs/libpulse/metadata.xml
+++ b/media-libs/libpulse/metadata.xml
@@ -13,5 +13,6 @@
 
 Use libasyncns for asynchronous name 
resolution.
 Build the doxygen-described API documentation.
+Compile in valgrind memory hints
   
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/libpulse/

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

media-libs/libpulse: Version bump to 16.0

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

 media-libs/libpulse/Manifest| 2 +-
 .../libpulse/{libpulse-15.99.1-r1.ebuild => libpulse-16.0.ebuild}   | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libpulse/Manifest b/media-libs/libpulse/Manifest
index fe4662eb346a..5bc75fa5795d 100644
--- a/media-libs/libpulse/Manifest
+++ b/media-libs/libpulse/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-libs/libpulse/libpulse-15.99.1-r1.ebuild 
b/media-libs/libpulse/libpulse-16.0.ebuild
similarity index 100%
rename from media-libs/libpulse/libpulse-15.99.1-r1.ebuild
rename to media-libs/libpulse/libpulse-16.0.ebuild



[gentoo-commits] repo/gentoo:master commit in: media-libs/libpulse/

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

media-libs/libpulse: Client part of split autospawn implementation

No need to enable autospawn for pulseaudio daemon if daemon is not insalled.

Disable autospawn in client.conf installed with libpulse, pulseaudio-daemon
package can enable it via file in /etc/pulse/client.conf.d/

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

 .../libpulse/{libpulse-15.99.1.ebuild => libpulse-15.99.1-r1.ebuild}   | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/media-libs/libpulse/libpulse-15.99.1.ebuild 
b/media-libs/libpulse/libpulse-15.99.1-r1.ebuild
similarity index 97%
rename from media-libs/libpulse/libpulse-15.99.1.ebuild
rename to media-libs/libpulse/libpulse-15.99.1-r1.ebuild
index 357eea6b8537..4fc935f42f75 100644
--- a/media-libs/libpulse/libpulse-15.99.1.ebuild
+++ b/media-libs/libpulse/libpulse-15.99.1-r1.ebuild
@@ -77,6 +77,9 @@ PATCHES=(
 src_prepare() {
default
 
+   # disable autospawn by client
+   sed -i -e 's:; autospawn = yes:autospawn = no:g' 
src/pulse/client.conf.in || die
+
gnome2_environment_reset
 }
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/libpulse/

2022-02-26 Thread Sam James
commit: 7fea3259675f48677668e18fa05171077e8c78c7
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Wed Feb 23 06:56:10 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Feb 27 01:04:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fea3259

media-libs/libpulse: Version bump to 15.99.1

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

 media-libs/libpulse/Manifest | 3 +--
 .../libpulse/{libpulse-15.0-r1.ebuild => libpulse-15.99.1.ebuild}| 5 +
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/media-libs/libpulse/Manifest b/media-libs/libpulse/Manifest
index 620fb8498703..fe4662eb346a 100644
--- a/media-libs/libpulse/Manifest
+++ b/media-libs/libpulse/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-libs/libpulse/libpulse-15.0-r1.ebuild 
b/media-libs/libpulse/libpulse-15.99.1.ebuild
similarity index 96%
rename from media-libs/libpulse/libpulse-15.0-r1.ebuild
rename to media-libs/libpulse/libpulse-15.99.1.ebuild
index 721e285a24b4..357eea6b8537 100644
--- a/media-libs/libpulse/libpulse-15.0-r1.ebuild
+++ b/media-libs/libpulse/libpulse-15.99.1.ebuild
@@ -5,8 +5,7 @@ EAPI="7"
 
 MY_PV="${PV/_pre*}"
 MY_P="pulseaudio-${MY_PV}"
-MY_PATCHSET="pulseaudio-daemon-15.0-patchset-1"
-inherit bash-completion-r1 gnome2-utils meson-multilib optfeature systemd 
tmpfiles udev
+inherit bash-completion-r1 gnome2-utils meson-multilib optfeature systemd udev
 
 DESCRIPTION="Libraries for PulseAudio clients"
 HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/;
@@ -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/media-sound/pulseaudio-daemon/${MY_PATCHSET}.tar.bz2;
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 
@@ -74,7 +72,6 @@ DOCS=( NEWS README )
 
 # patches merged upstream, to be removed with 16.0 bump
 PATCHES=(
-   "${WORKDIR}"/${MY_PATCHSET}/
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: media-libs/libpulse/

2022-02-22 Thread Sam James
commit: 7eb33ad9d367667dbff2df63987ceb954e849e66
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb 22 20:53:29 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb 22 20:53:48 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7eb33ad9

media-libs/libpulse: update SRC_URI

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

 media-libs/libpulse/libpulse-15.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libpulse/libpulse-15.0-r1.ebuild 
b/media-libs/libpulse/libpulse-15.0-r1.ebuild
index 2aeb87d7a189..721e285a24b4 100644
--- a/media-libs/libpulse/libpulse-15.0-r1.ebuild
+++ b/media-libs/libpulse/libpulse-15.0-r1.ebuild
@@ -17,7 +17,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;
-   SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/pulseaudio-daemon/${MY_PATCHSET}.tar.bz2;
+   SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/media-sound/pulseaudio-daemon/${MY_PATCHSET}.tar.bz2;
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/libpulse/, media-libs/libpulse/files/

2022-02-20 Thread Sam James
commit: f26d2e1c7abab9d7e5d1bd0f13ca5f3c06f8e6a4
Author: Sam James  gentoo  org>
AuthorDate: Mon Feb 21 00:51:13 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 21 00:51:21 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f26d2e1c

media-libs/libpulse: use tarball for patches

(I'd missed the same patches got added twice, so only fixed
the filesdir for pulseaudio-daemon.)

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

 media-libs/libpulse/Manifest   |1 +
 ...pulseaudio-15.0-daemon-client-split-build.patch | 1987 
 ...-15.0-move-systemd-socket-activation-code.patch |  284 ---
 ...pulseaudio-15.0-xice-xsm-xtst-daemon-only.patch |   25 -
 media-libs/libpulse/libpulse-15.0-r1.ebuild|7 +-
 5 files changed, 4 insertions(+), 2300 deletions(-)

diff --git a/media-libs/libpulse/Manifest b/media-libs/libpulse/Manifest
index 308d59508744..620fb8498703 100644
--- a/media-libs/libpulse/Manifest
+++ b/media-libs/libpulse/Manifest
@@ -1 +1,2 @@
 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

diff --git 
a/media-libs/libpulse/files/pulseaudio-15.0-daemon-client-split-build.patch 
b/media-libs/libpulse/files/pulseaudio-15.0-daemon-client-split-build.patch
deleted file mode 100644
index 8e3fbae40767..
--- a/media-libs/libpulse/files/pulseaudio-15.0-daemon-client-split-build.patch
+++ /dev/null
@@ -1,1987 +0,0 @@
-From 36a1aab8e61cf846a4ee571c19cf1ce8fd7eca9d Mon Sep 17 00:00:00 2001
-From: Mart Raudsepp 
-Date: Fri, 24 Sep 2021 00:02:40 +0300
-Subject: [PATCH 1/8] build-sys: meson: Relax sanity checks for daemonless
- builds
-
-Echo canceller, udev and speex resampling is only used by the daemon, so
-don't error or warn about those in -Ddaemon=false builds.
-
-Part-of: 


- meson.build | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/meson.build b/meson.build
-index a95fefcd4..d1c419ac2 100644
 a/meson.build
-+++ b/meson.build
-@@ -961,7 +961,7 @@ message('\n'.join(summary))
- 
- # Sanity checks
- 
--if not speex_dep.found() and not webrtc_dep.found() and not 
get_option('adrian-aec')
-+if get_option('daemon') and not speex_dep.found() and not webrtc_dep.found() 
and not get_option('adrian-aec')
-   error('At least one echo canceller implementation must be available!')
- endif
- 
-@@ -981,7 +981,7 @@ if host_machine.system() != 'windows'
- ]
- warning('\n' + '\n'.join(message))
-   endif
--  if host_machine.system() == 'linux' and not udev_dep.found()
-+  if host_machine.system() == 'linux' and not udev_dep.found() and 
get_option('daemon')
- message = [
-   'You do not have udev support enabled. It is strongly recommended',
-   'that you enable udev support if your platform supports it as it is',
-@@ -990,7 +990,7 @@ if host_machine.system() != 'windows'
- ]
- warning('\n' + '\n'.join(message))
-   endif
--  if not speex_dep.found()
-+  if not speex_dep.found() and get_option('daemon')
- message = [
-   'You do not have speex support enabled. It is strongly recommended',
-   'that you enable speex support if your platform supports it as it is',
--- 
-2.35.1
-
-
-From f63f3a9d7f311720dddef1f46e7c7431e3068c38 Mon Sep 17 00:00:00 2001
-From: Mart Raudsepp 
-Date: Fri, 24 Sep 2021 15:19:05 +0300
-Subject: [PATCH 2/8] build-sys: meson: Allow building the daemon only
-
-Part-of: 


- man/meson.build   |  2 ++
- 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 ++
- 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 += [
- 

[gentoo-commits] repo/gentoo:master commit in: media-libs/libpulse/files/, media-libs/libpulse/, ...

2022-02-20 Thread Sam James
commit: 5c0932d5e4d591710f3299f70c2012383ab268bc
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Sat Feb 19 07:21:06 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 21 00:48:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c0932d5

media-sound/pulseaudio-daemon: Update 15.0 split build to patches merged 
upstream

Added patch moving systemd socket activation to server implementation.
No functional changes. This patch is only required to apply upstream
daemon/client split patch with minimal adjustment.
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/640

Updated daemon/client split patch to version merged upstream, rebased to 15.0
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/659

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

 media-libs/libpulse/files/15.0-no-aec.patch|   45 -
 ...pulseaudio-15.0-daemon-client-split-build.patch | 1987 
 ...-15.0-move-systemd-socket-activation-code.patch |  284 +++
 ...ibpulse-15.0.ebuild => libpulse-15.0-r1.ebuild} |   14 +-
 media-sound/pulseaudio-daemon/Manifest |1 +
 .../pulseaudio-daemon/files/15.0-daemon-only.patch |  298 ---
 ...pulseaudio-15.0-xice-xsm-xtst-daemon-only.patch |   25 -
 ...5.0.ebuild => pulseaudio-daemon-15.0-r1.ebuild} |   17 +-
 8 files changed, 2297 insertions(+), 374 deletions(-)

diff --git a/media-libs/libpulse/files/15.0-no-aec.patch 
b/media-libs/libpulse/files/15.0-no-aec.patch
deleted file mode 100644
index bd0b4d58b789..
--- a/media-libs/libpulse/files/15.0-no-aec.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From 4ea50aa41ff0131b380aef97623be578b702cac7 Mon Sep 17 00:00:00 2001
-From: Mart Raudsepp 
-Date: Fri, 24 Sep 2021 00:02:40 +0300
-Subject: [PATCH] build-sys: meson: Relax sanity checks for daemonless builds
-
-Echo canceller, udev and speex resampling is only used by the daemon, so
-don't error or warn about those in -Ddaemon=false builds.

- meson.build | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/meson.build b/meson.build
-index d7e468cab..63ed62342 100644
 a/meson.build
-+++ b/meson.build
-@@ -961,7 +961,7 @@ message('\n'.join(summary))
- 
- # Sanity checks
- 
--if not speex_dep.found() and not webrtc_dep.found() and not 
get_option('adrian-aec')
-+if get_option('daemon') and not speex_dep.found() and not webrtc_dep.found() 
and not get_option('adrian-aec')
-   error('At least one echo canceller implementation must be available!')
- endif
- 
-@@ -981,7 +981,7 @@ if host_machine.system() != 'windows'
- ]
- warning('\n' + '\n'.join(message))
-   endif
--  if host_machine.system() == 'linux' and not udev_dep.found()
-+  if host_machine.system() == 'linux' and not udev_dep.found() and 
get_option('daemon')
- message = [
-   'You do not have udev support enabled. It is strongly recommended',
-   'that you enable udev support if your platform supports it as it is',
-@@ -990,7 +990,7 @@ if host_machine.system() != 'windows'
- ]
- warning('\n' + '\n'.join(message))
-   endif
--  if not speex_dep.found()
-+  if not speex_dep.found() and get_option('daemon')
- message = [
-   'You do not have speex support enabled. It is strongly recommended',
-   'that you enable speex support if your platform supports it as it is',
--- 
-2.32.0
-

diff --git 
a/media-libs/libpulse/files/pulseaudio-15.0-daemon-client-split-build.patch 
b/media-libs/libpulse/files/pulseaudio-15.0-daemon-client-split-build.patch
new file mode 100644
index ..8e3fbae40767
--- /dev/null
+++ b/media-libs/libpulse/files/pulseaudio-15.0-daemon-client-split-build.patch
@@ -0,0 +1,1987 @@
+From 36a1aab8e61cf846a4ee571c19cf1ce8fd7eca9d Mon Sep 17 00:00:00 2001
+From: Mart Raudsepp 
+Date: Fri, 24 Sep 2021 00:02:40 +0300
+Subject: [PATCH 1/8] build-sys: meson: Relax sanity checks for daemonless
+ builds
+
+Echo canceller, udev and speex resampling is only used by the daemon, so
+don't error or warn about those in -Ddaemon=false builds.
+
+Part-of: 

+---
+ meson.build | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/meson.build b/meson.build
+index a95fefcd4..d1c419ac2 100644
+--- a/meson.build
 b/meson.build
+@@ -961,7 +961,7 @@ message('\n'.join(summary))
+ 
+ # Sanity checks
+ 
+-if not speex_dep.found() and not webrtc_dep.found() and not 
get_option('adrian-aec')
++if get_option('daemon') and not speex_dep.found() and not webrtc_dep.found() 
and not get_option('adrian-aec')
+   error('At least one echo canceller implementation must be available!')
+ endif
+ 
+@@ -981,7 +981,7 @@ if host_machine.system() != 'windows'
+ ]
+ warning('\n' + '\n'.join(message))
+   endif
+-  if host_machine.system() == 'linux' and not 

[gentoo-commits] repo/gentoo:master commit in: media-libs/libpulse/

2021-12-28 Thread Sam James
commit: 02b40bc1cd7ad5a68d2458458da7067431b04923
Author: Sam James  gentoo  org>
AuthorDate: Tue Dec 28 22:26:38 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Dec 28 22:26:38 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02b40bc1

media-libs/libpulse: needs libx11[${MULTILIB_USEDEP}]

```
Run-time dependency x11-xcb found: NO (tried pkgconfig and cmake)

../pulseaudio-15.0/meson.build:681:0: ERROR: Dependency "x11-xcb" not found, 
tried pkgconfig and cmake
```

Reported in #gentoo. x11-xcb is provided by libx11. Note that it still
needs libxcb in addition.

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

 media-libs/libpulse/libpulse-15.0.ebuild | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/media-libs/libpulse/libpulse-15.0.ebuild 
b/media-libs/libpulse/libpulse-15.0.ebuild
index 92f3abe61083..28fedf2da21e 100644
--- a/media-libs/libpulse/libpulse-15.0.ebuild
+++ b/media-libs/libpulse/libpulse-15.0.ebuild
@@ -41,7 +41,10 @@ RDEPEND="
selinux? ( sec-policy/selinux-pulseaudio )
systemd? ( sys-apps/systemd:= )
tcpd? ( sys-apps/tcp-wrappers )
-   X? ( >=x11-libs/libxcb-1.6[${MULTILIB_USEDEP}] )
+   X? (
+   x11-libs/libX11[${MULTILIB_USEDEP}]
+   >=x11-libs/libxcb-1.6[${MULTILIB_USEDEP}]
+   )
|| (
elibc_glibc? ( virtual/libc )
elibc_uclibc? ( virtual/libc )



[gentoo-commits] repo/gentoo:master commit in: media-libs/libpulse/

2021-09-24 Thread Mart Raudsepp
commit: 609591132c008e97cc61b1c26564791eb4f0d279
Author: Igor V. Kovalenko  gmail  com>
AuthorDate: Fri Sep 24 19:28:49 2021 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Fri Sep 24 20:13:27 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60959113

media-libs/libpulse: Process systemd USE flag

Pulseaudio server socket implementation sits in libpulsecommon which is split
to separate libpulse package. To support systemd USE flag both need to pass
systemd flag to meson.

Signed-off-by: Mart Raudsepp  gentoo.org>

 media-libs/libpulse/libpulse-15.0.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/media-libs/libpulse/libpulse-15.0.ebuild 
b/media-libs/libpulse/libpulse-15.0.ebuild
index 204d85f6174..92f3abe6108 100644
--- a/media-libs/libpulse/libpulse-15.0.ebuild
+++ b/media-libs/libpulse/libpulse-15.0.ebuild
@@ -25,7 +25,7 @@ S="${WORKDIR}/${MY_P}"
 LICENSE="LGPL-2.1+"
 
 SLOT="0"
-IUSE="+asyncns dbus doc +glib gtk selinux tcpd test X"
+IUSE="+asyncns dbus doc +glib gtk selinux systemd tcpd test X"
 RESTRICT="!test? ( test )"
 
 # NOTE: libpcre needed in some cases, bug #472228
@@ -39,6 +39,7 @@ RDEPEND="
glib? ( >=dev-libs/glib-2.28.0:2[${MULTILIB_USEDEP}] )
gtk? ( x11-libs/gtk+:3 )
selinux? ( sec-policy/selinux-pulseaudio )
+   systemd? ( sys-apps/systemd:= )
tcpd? ( sys-apps/tcp-wrappers )
X? ( >=x11-libs/libxcb-1.6[${MULTILIB_USEDEP}] )
|| (
@@ -123,7 +124,7 @@ multilib_src_configure() {
-Dsamplerate=disabled # Matches upstream
-Dsoxr=disabled
-Dspeex=disabled
-   -Dsystemd=disabled
+   $(meson_native_use_feature systemd)
$(meson_native_use_feature tcpd tcpwrap)
-Dudev=disabled
-Dvalgrind=auto



[gentoo-commits] repo/gentoo:master commit in: media-libs/libpulse/, profiles/, media-libs/libpulse/files/

2021-09-24 Thread Mart Raudsepp
commit: dfd146a6aceb118f1d4f9751ae071f13a7624ffb
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Fri Sep 24 18:00:27 2021 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Fri Sep 24 18:15:56 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfd146a6

media-libs/libpulse: Add split package for pulseaudio libraries

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

 media-libs/libpulse/Manifest   |   1 +
 media-libs/libpulse/files/15.0-no-aec.patch|  45 +
 ...pulseaudio-15.0-xice-xsm-xtst-daemon-only.patch |  25 +++
 media-libs/libpulse/libpulse-15.0.ebuild   | 189 +
 media-libs/libpulse/metadata.xml   |  17 ++
 profiles/package.mask  |   6 +
 6 files changed, 283 insertions(+)

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

diff --git a/media-libs/libpulse/files/15.0-no-aec.patch 
b/media-libs/libpulse/files/15.0-no-aec.patch
new file mode 100644
index 000..bd0b4d58b78
--- /dev/null
+++ b/media-libs/libpulse/files/15.0-no-aec.patch
@@ -0,0 +1,45 @@
+From 4ea50aa41ff0131b380aef97623be578b702cac7 Mon Sep 17 00:00:00 2001
+From: Mart Raudsepp 
+Date: Fri, 24 Sep 2021 00:02:40 +0300
+Subject: [PATCH] build-sys: meson: Relax sanity checks for daemonless builds
+
+Echo canceller, udev and speex resampling is only used by the daemon, so
+don't error or warn about those in -Ddaemon=false builds.
+---
+ meson.build | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/meson.build b/meson.build
+index d7e468cab..63ed62342 100644
+--- a/meson.build
 b/meson.build
+@@ -961,7 +961,7 @@ message('\n'.join(summary))
+ 
+ # Sanity checks
+ 
+-if not speex_dep.found() and not webrtc_dep.found() and not 
get_option('adrian-aec')
++if get_option('daemon') and not speex_dep.found() and not webrtc_dep.found() 
and not get_option('adrian-aec')
+   error('At least one echo canceller implementation must be available!')
+ endif
+ 
+@@ -981,7 +981,7 @@ if host_machine.system() != 'windows'
+ ]
+ warning('\n' + '\n'.join(message))
+   endif
+-  if host_machine.system() == 'linux' and not udev_dep.found()
++  if host_machine.system() == 'linux' and not udev_dep.found() and 
get_option('daemon')
+ message = [
+   'You do not have udev support enabled. It is strongly recommended',
+   'that you enable udev support if your platform supports it as it is',
+@@ -990,7 +990,7 @@ if host_machine.system() != 'windows'
+ ]
+ warning('\n' + '\n'.join(message))
+   endif
+-  if not speex_dep.found()
++  if not speex_dep.found() and get_option('daemon')
+ message = [
+   'You do not have speex support enabled. It is strongly recommended',
+   'that you enable speex support if your platform supports it as it is',
+-- 
+2.32.0
+

diff --git 
a/media-libs/libpulse/files/pulseaudio-15.0-xice-xsm-xtst-daemon-only.patch 
b/media-libs/libpulse/files/pulseaudio-15.0-xice-xsm-xtst-daemon-only.patch
new file mode 100644
index 000..f3df62031d3
--- /dev/null
+++ b/media-libs/libpulse/files/pulseaudio-15.0-xice-xsm-xtst-daemon-only.patch
@@ -0,0 +1,25 @@
+https://bugs.gentoo.org/806052
+
+commit 42af3ee08381faa5807fde68d4c8ec0d7ad5e9a5
+Author: Igor V. Kovalenko 
+Date:   Tue Aug 3 09:43:32 2021 +0300
+
+build-sys: meson: Require xice, xsm and xtst for daemon only
+
+Part-of: 

+
+--- a/meson.build
 b/meson.build
+@@ -681,9 +681,9 @@ endif
+ x11_dep = dependency('x11-xcb', required : get_option('x11'))
+ if x11_dep.found()
+   xcb_dep  = dependency('xcb',  required : true, version : '>= 1.6')
+-  ice_dep  = dependency('ice',  required : true)
+-  sm_dep   = dependency('sm',   required : true)
+-  xtst_dep = dependency('xtst', required : true)
++  ice_dep  = dependency('ice',  required : get_option('daemon'))
++  sm_dep   = dependency('sm',   required : get_option('daemon'))
++  xtst_dep = dependency('xtst', required : get_option('daemon'))
+   cdata.set('HAVE_X11', 1)
+   if cc.has_function('XSetIOErrorExitHandler', dependencies: x11_dep)
+ cdata.set('HAVE_XSETIOERROREXITHANDLER', 1)

diff --git a/media-libs/libpulse/libpulse-15.0.ebuild 
b/media-libs/libpulse/libpulse-15.0.ebuild
new file mode 100644
index 000..204d85f6174
--- /dev/null
+++ b/media-libs/libpulse/libpulse-15.0.ebuild
@@ -0,0 +1,189 @@
+#