From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 985E8158042 for ; Sun, 10 Nov 2024 10:18:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B6233E07C9; Sun, 10 Nov 2024 10:18:56 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 905D1E07C9 for ; Sun, 10 Nov 2024 10:18:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C1A9034069F for ; Sun, 10 Nov 2024 10:18:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 56D6611DF for ; Sun, 10 Nov 2024 10:18:54 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1731233915.a79464d7a2a35772d1829b21a84a0778b293aa63.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libpulse/, media-libs/libpulse/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libpulse/Manifest media-libs/libpulse/files/pulseaudio-16.1-memfd-cleanup.patch media-libs/libpulse/files/pulseaudio-16.1-proplist-util-without-gdkx.patch media-libs/libpulse/files/pulseaudio-16.99.1-memfd-compat.patch media-libs/libpulse/libpulse-16.1-r2.ebuild media-libs/libpulse/libpulse-16.99.1.ebuild X-VCS-Directories: media-libs/libpulse/ media-libs/libpulse/files/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: a79464d7a2a35772d1829b21a84a0778b293aa63 X-VCS-Branch: master Date: Sun, 10 Nov 2024 10:18:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 687ef127-8efb-427e-a349-ff7e40394c1b X-Archives-Hash: 68013dc07b912bebb167dc9deaca2cd4 commit: a79464d7a2a35772d1829b21a84a0778b293aa63 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Nov 9 19:38:10 2024 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Nov 10 10:18:35 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a79464d7 media-libs/libpulse: drop 16.1-r2, 16.99.1 Signed-off-by: Andreas Sturmlechner gentoo.org> media-libs/libpulse/Manifest | 2 - .../files/pulseaudio-16.1-memfd-cleanup.patch | 28 --- ...ulseaudio-16.1-proplist-util-without-gdkx.patch | 42 ---- .../files/pulseaudio-16.99.1-memfd-compat.patch | 24 --- media-libs/libpulse/libpulse-16.1-r2.ebuild | 208 -------------------- media-libs/libpulse/libpulse-16.99.1.ebuild | 215 --------------------- 6 files changed, 519 deletions(-) diff --git a/media-libs/libpulse/Manifest b/media-libs/libpulse/Manifest index 776caac18a80..42cd89ab8f99 100644 --- a/media-libs/libpulse/Manifest +++ b/media-libs/libpulse/Manifest @@ -1,3 +1 @@ -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/files/pulseaudio-16.1-memfd-cleanup.patch b/media-libs/libpulse/files/pulseaudio-16.1-memfd-cleanup.patch deleted file mode 100644 index b24ab8943899..000000000000 --- a/media-libs/libpulse/files/pulseaudio-16.1-memfd-cleanup.patch +++ /dev/null @@ -1,28 +0,0 @@ -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/files/pulseaudio-16.1-proplist-util-without-gdkx.patch b/media-libs/libpulse/files/pulseaudio-16.1-proplist-util-without-gdkx.patch deleted file mode 100644 index a5e025ccb4dc..000000000000 --- a/media-libs/libpulse/files/pulseaudio-16.1-proplist-util-without-gdkx.patch +++ /dev/null @@ -1,42 +0,0 @@ -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/files/pulseaudio-16.99.1-memfd-compat.patch b/media-libs/libpulse/files/pulseaudio-16.99.1-memfd-compat.patch deleted file mode 100644 index 77af0ac915f6..000000000000 --- a/media-libs/libpulse/files/pulseaudio-16.99.1-memfd-compat.patch +++ /dev/null @@ -1,24 +0,0 @@ -commit 421cf15486eea1b52f10e2b0be305018fee8c285 -Author: Rudi Heitbaum -Date: Sun Aug 13 09:37:32 2023 +0000 - - shm: allow for older versions of Linux without MFD_NOEXEC_SEAL - - Part-of: - -diff --git a/src/pulsecore/shm.c b/src/pulsecore/shm.c -index 4247b0921..694f971b4 100644 ---- a/src/pulsecore/shm.c -+++ b/src/pulsecore/shm.c -@@ -164,7 +164,11 @@ 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: -+ /* For linux >= 6.3 create fd with MFD_NOEXEC_SEAL flag */ - fd = memfd_create("pulseaudio", MFD_ALLOW_SEALING|MFD_CLOEXEC|MFD_NOEXEC_SEAL); -+ /* Retry creating fd without MFD_NOEXEC_SEAL to support linux < 6.3 */ -+ if (fd < 0) -+ 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 deleted file mode 100644 index 1a552c4be5cb..000000000000 --- a/media-libs/libpulse/libpulse-16.1-r2.ebuild +++ /dev/null @@ -1,208 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -MY_PV="${PV/_pre*}" -MY_P="pulseaudio-${MY_PV}" -inherit bash-completion-r1 gnome2-utils meson-multilib optfeature systemd udev - -DESCRIPTION="Libraries for PulseAudio clients" -HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio/" - -if [[ ${PV} = 9999 ]]; 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 ~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}] - ) - !