commit:     0e2ff88702f11a324a4978df9d7d960b1b2992c9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jul  4 23:37:35 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jul  4 23:37:35 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e2ff887

media-video/wireplumber: drop 0.4.9, 0.4.9-r1, 0.4.10-r1

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-video/wireplumber/Manifest                   |   1 -
 ...ment-which-options-need-to-be-turned-off-.patch |  87 ---------------
 ...icy-device-profile-clear-tables-when-devi.patch |  33 ------
 .../wireplumber/wireplumber-0.4.10-r1.ebuild       | 122 ---------------------
 .../wireplumber/wireplumber-0.4.9-r1.ebuild        | 121 --------------------
 media-video/wireplumber/wireplumber-0.4.9.ebuild   | 116 --------------------
 6 files changed, 480 deletions(-)

diff --git a/media-video/wireplumber/Manifest b/media-video/wireplumber/Manifest
index cf271da67018..ece045dc24b3 100644
--- a/media-video/wireplumber/Manifest
+++ b/media-video/wireplumber/Manifest
@@ -1,2 +1 @@
 DIST wireplumber-0.4.10.tar.gz 395588 BLAKE2B 
6df1af17d1e53ab1449a2f6f9af5a0c4f7b1cd981e07556e5ea3c6b4d5d624e66b97ce4f945f7ccccebbf72b75d35d10990fac11b5228275f27e5320885ff1ec
 SHA512 
342e8bba2cf00faab71ef39bb361b5ada66ff3a68ccf7a756ea1ca402da6e94784eece277ca02992bc7573c51cb8b1bad33aa9c593b3d1bfe0bb0286e2f4506f
-DIST wireplumber-0.4.9.tar.gz 376170 BLAKE2B 
50f552c730ac543fc2e8b0e054c861bcd22ed281a62f2921fb956f39b917cce6eb53287dfcfc81db240476f82f5cf1d7556fa34be8bf507ff847089536b81f44
 SHA512 
39b9e9be014489042fe480219b99d7591e0b68dd44b889bd5c6aeee73e771adb807bc21f48d031217f097182827bd2f48b68d52291036d52e95d4fa75e7f9929

diff --git 
a/media-video/wireplumber/files/wireplumber-0.4.9-config-document-which-options-need-to-be-turned-off-.patch
 
b/media-video/wireplumber/files/wireplumber-0.4.9-config-document-which-options-need-to-be-turned-off-.patch
deleted file mode 100644
index 9e664ec56564..000000000000
--- 
a/media-video/wireplumber/files/wireplumber-0.4.9-config-document-which-options-need-to-be-turned-off-.patch
+++ /dev/null
@@ -1,87 +0,0 @@
-https://gitlab.freedesktop.org/pipewire/wireplumber/-/commit/0da29f38181e391160fa8702623050b8544ec775
-
-From 0da29f38181e391160fa8702623050b8544ec775 Mon Sep 17 00:00:00 2001
-From: George Kiagiadakis <[email protected]>
-Date: Mon, 4 Apr 2022 14:38:28 +0300
-Subject: [PATCH] config: document which options need to be turned off to use
- wp without D-Bus
-
-and actually implement an option for the logind module
-
-Related to: #237
----
- src/config/bluetooth.lua.d/30-bluez-monitor.lua    | 4 +++-
- src/config/bluetooth.lua.d/50-bluez-config.lua     | 8 ++++++++
- src/config/main.lua.d/50-alsa-config.lua           | 4 +++-
- src/config/main.lua.d/50-default-access-config.lua | 3 +++
- 4 files changed, 17 insertions(+), 2 deletions(-)
-
-diff --git a/src/config/bluetooth.lua.d/30-bluez-monitor.lua 
b/src/config/bluetooth.lua.d/30-bluez-monitor.lua
-index 266d3e2f..ba86657f 100644
---- a/src/config/bluetooth.lua.d/30-bluez-monitor.lua
-+++ b/src/config/bluetooth.lua.d/30-bluez-monitor.lua
-@@ -8,5 +8,7 @@ function bluez_monitor.enable()
-     rules = bluez_monitor.rules,
-   })
- 
--  load_optional_module("logind")
-+  if bluez_monitor.properties["with-logind"] then
-+    load_optional_module("logind")
-+  end
- end
-diff --git a/src/config/bluetooth.lua.d/50-bluez-config.lua 
b/src/config/bluetooth.lua.d/50-bluez-config.lua
-index 072504ec..dd8033ff 100644
---- a/src/config/bluetooth.lua.d/50-bluez-config.lua
-+++ b/src/config/bluetooth.lua.d/50-bluez-config.lua
-@@ -34,6 +34,14 @@ bluez_monitor.properties = {
-   -- Register dummy AVRCP player, required for AVRCP volume function.
-   -- Disable if you are running mpris-proxy or equivalent.
-   --["bluez5.dummy-avrcp-player"] = true,
-+
-+  -- Enable the logind module, which arbitrates which user will be allowed
-+  -- to have bluetooth audio enabled at any given time (particularly useful
-+  -- if you are using GDM as a display manager, as the gdm user also launches
-+  -- pipewire and wireplumber).
-+  -- This requires access to the D-Bus user session; disable if you are 
running
-+  -- a system-wide instance of wireplumber.
-+  ["with-logind"] = true,
- }
- 
- bluez_monitor.rules = {
-diff --git a/src/config/main.lua.d/50-alsa-config.lua 
b/src/config/main.lua.d/50-alsa-config.lua
-index 6c97e8ad..d29b0b6f 100644
---- a/src/config/main.lua.d/50-alsa-config.lua
-+++ b/src/config/main.lua.d/50-alsa-config.lua
-@@ -7,6 +7,8 @@ alsa_monitor.properties = {
-   --["alsa.jack-device"] = false,
- 
-   -- Reserve devices via org.freedesktop.ReserveDevice1 on D-Bus
-+  -- Disable if you are running a system-wide instance, which
-+  -- doesn't have access to the D-Bus user session
-   ["alsa.reserve"] = true,
-   --["alsa.reserve.priority"] = -20,
-   --["alsa.reserve.application-name"] = "WirePlumber",
-@@ -20,7 +22,7 @@ alsa_monitor.properties = {
- 
- alsa_monitor.rules = {
-   -- An array of matches/actions to evaluate.
--  -- 
-+  --
-   -- If you want to disable some devices or nodes, you can apply properties 
per device as the following example.
-   -- The name can be found by running pw-cli ls Device, or pw-cli dump Device
-   --{
-diff --git a/src/config/main.lua.d/50-default-access-config.lua 
b/src/config/main.lua.d/50-default-access-config.lua
-index 6cf18bed..45cc5b73 100644
---- a/src/config/main.lua.d/50-default-access-config.lua
-+++ b/src/config/main.lua.d/50-default-access-config.lua
-@@ -1,4 +1,7 @@
- default_access.properties = {
-+  -- Enable the use of the flatpak portal integration.
-+  -- Disable if you are running a system-wide instance, which
-+  -- doesn't have access to the D-Bus user session
-   ["enable-flatpak-portal"] = true,
- }
- 
--- 
-GitLab
-

diff --git 
a/media-video/wireplumber/files/wireplumber-0.4.9-scripts-policy-device-profile-clear-tables-when-devi.patch
 
b/media-video/wireplumber/files/wireplumber-0.4.9-scripts-policy-device-profile-clear-tables-when-devi.patch
deleted file mode 100644
index 4dc8e276fbfa..000000000000
--- 
a/media-video/wireplumber/files/wireplumber-0.4.9-scripts-policy-device-profile-clear-tables-when-devi.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-https://gitlab.freedesktop.org/pipewire/wireplumber/-/commit/da5d25acbea5ae03336bd2b4ef2b0687b380978e
-
-From da5d25acbea5ae03336bd2b4ef2b0687b380978e Mon Sep 17 00:00:00 2001
-From: Pauli Virtanen <[email protected]>
-Date: Mon, 28 Mar 2022 20:16:52 +0300
-Subject: [PATCH] scripts: policy-device-profile: clear tables when devices
- removed
-
-When device ids are invalidated, clear all local tables about them,
-because the id may be reused by different object, or the same object
-reappearing.
----
- src/scripts/policy-device-profile.lua | 6 ++++++
- 1 file changed, 6 insertions(+)
-
-diff --git a/src/scripts/policy-device-profile.lua 
b/src/scripts/policy-device-profile.lua
-index d0aa2696..9daeafaa 100644
---- a/src/scripts/policy-device-profile.lua
-+++ b/src/scripts/policy-device-profile.lua
-@@ -229,4 +229,10 @@ self.om:connect("object-added", function (_, device)
-   handleProfiles (device, true)
- end)
- 
-+self.om:connect("object-removed", function (_, device)
-+  local dev_id = device["bound-id"]
-+  self.active_profiles[dev_id] = nil
-+  self.best_profiles[dev_id] = nil
-+end)
-+
- self.om:activate()
--- 
-GitLab
-

diff --git a/media-video/wireplumber/wireplumber-0.4.10-r1.ebuild 
b/media-video/wireplumber/wireplumber-0.4.10-r1.ebuild
deleted file mode 100644
index 4c9a4ce04761..000000000000
--- a/media-video/wireplumber/wireplumber-0.4.10-r1.ebuild
+++ /dev/null
@@ -1,122 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LUA_COMPAT=( lua5-{3,4} )
-
-inherit lua-single meson systemd
-
-if [[ ${PV} == 9999 ]]; then
-       EGIT_REPO_URI="https://gitlab.freedesktop.org/pipewire/${PN}.git";
-       EGIT_BRANCH="master"
-       inherit git-r3
-else
-       
SRC_URI="https://gitlab.freedesktop.org/pipewire/${PN}/-/archive/${PV}/${P}.tar.gz";
-       KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
-fi
-
-DESCRIPTION="Replacement for pipewire-media-session"
-HOMEPAGE="https://gitlab.freedesktop.org/pipewire/wireplumber";
-
-LICENSE="MIT"
-SLOT="0/0.4"
-IUSE="elogind system-service systemd test"
-
-REQUIRED_USE="
-       ${LUA_REQUIRED_USE}
-       ?? ( elogind systemd )
-       system-service? ( systemd )
-"
-
-RESTRICT="!test? ( test )"
-
-# introspection? ( dev-libs/gobject-introspection ) is valid but likely only 
used for doc building
-BDEPEND="
-       dev-libs/glib
-       dev-util/gdbus-codegen
-       dev-util/glib-utils
-       sys-devel/gettext
-"
-
-DEPEND="
-       ${LUA_DEPS}
-       >=dev-libs/glib-2.62
-       >=media-video/pipewire-0.3.48:=
-       virtual/libc
-       virtual/libintl
-       elogind? ( sys-auth/elogind )
-       systemd? ( sys-apps/systemd )
-"
-
-# Any dev-lua/* deps get declared like this inside RDEPEND:
-#      $(lua_gen_cond_dep '
-#              dev-lua/<NAME>[${LUA_USEDEP}]
-#      ')
-RDEPEND="${DEPEND}
-       system-service? (
-               acct-user/pipewire
-               acct-group/pipewire
-       )
-"
-
-DOCS=( {NEWS,README}.rst )
-
-PATCHES=(
-       
"${FILESDIR}"/${P}-config-fix-enabled-property-to-default-to-true-when.patch
-)
-
-src_configure() {
-       local emesonargs=(
-               -Ddoc=disabled # Ebuild not wired up yet (Sphinx, Doxygen?)
-               -Dintrospection=disabled # Only used for Sphinx doc generation
-               -Dsystem-lua=true # We always unbundle everything we can
-               -Dsystem-lua-version=$(ver_cut 1-2 $(lua_get_version))
-               $(meson_feature elogind)
-               $(meson_feature systemd)
-               $(meson_use system-service systemd-system-service)
-               $(meson_use systemd systemd-user-service)
-               -Dsystemd-system-unit-dir=$(systemd_get_systemunitdir)
-               -Dsystemd-user-unit-dir=$(systemd_get_userunitdir)
-               $(meson_use test tests)
-       )
-
-       meson_src_configure
-}
-
-src_install() {
-       meson_src_install
-
-       # We copy the default config, so that Gentoo tools can pick up on any
-       # updates and /etc does not end up with stale overrides.
-       # If a reflinking CoW filesystem is used (e.g. Btrfs), then the files
-       # will not actually get stored twice until modified.
-       insinto /etc
-       doins -r "${ED}"/usr/share/wireplumber
-}
-
-pkg_postinst() {
-       if systemd_is_booted ; then
-               ewarn "pipewire-media-session.service is no longer installed. 
You must switch"
-               ewarn "to wireplumber.service user unit before your next 
logout/reboot:"
-               ewarn "systemctl --user disable pipewire-media-session.service"
-               ewarn "systemctl --user --force enable wireplumber.service"
-       else
-               ewarn "Switch to WirePlumber will happen the next time 
gentoo-pipewire-launcher"
-               ewarn "is started (a replacement for directly calling pipewire 
binary)."
-               ewarn
-               ewarn "Please ensure that ${EROOT}/etc/pipewire/pipewire.conf 
either does not exist"
-               ewarn "or, if it does exist, that any reference to"
-               ewarn "${EROOT}/usr/bin/pipewire-media-session is commented out 
(begins with a #)."
-       fi
-       if use system-service; then
-               ewarn
-               ewarn "WARNING: you have enabled the system-service USE flag, 
which installs"
-               ewarn "the system-wide systemd units that enable WirePlumber to 
run as a system"
-               ewarn "service. This is more than likely NOT what you want. You 
are strongly"
-               ewarn "advised not to enable this mode and instead stick with 
systemd user"
-               ewarn "units. The default configuration files will likely not 
work out of"
-               ewarn "box, and you are on your own with configuration."
-               ewarn
-       fi
-}

diff --git a/media-video/wireplumber/wireplumber-0.4.9-r1.ebuild 
b/media-video/wireplumber/wireplumber-0.4.9-r1.ebuild
deleted file mode 100644
index b2cb2a7e4d87..000000000000
--- a/media-video/wireplumber/wireplumber-0.4.9-r1.ebuild
+++ /dev/null
@@ -1,121 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LUA_COMPAT=( lua5-{3,4} )
-
-inherit lua-single meson systemd
-
-if [[ ${PV} == 9999 ]]; then
-       EGIT_REPO_URI="https://gitlab.freedesktop.org/pipewire/${PN}.git";
-       EGIT_BRANCH="master"
-       inherit git-r3
-else
-       
SRC_URI="https://gitlab.freedesktop.org/pipewire/${PN}/-/archive/${PV}/${P}.tar.gz";
-       KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
-fi
-
-DESCRIPTION="Replacement for pipewire-media-session"
-HOMEPAGE="https://gitlab.freedesktop.org/pipewire/wireplumber";
-
-LICENSE="MIT"
-SLOT="0/0.4"
-IUSE="elogind system-service systemd test"
-
-REQUIRED_USE="
-       ${LUA_REQUIRED_USE}
-       ?? ( elogind systemd )
-       system-service? ( systemd )
-"
-
-RESTRICT="!test? ( test )"
-
-# introspection? ( dev-libs/gobject-introspection ) is valid but likely only 
used for doc building
-BDEPEND="
-       dev-libs/glib
-       dev-util/gdbus-codegen
-       dev-util/glib-utils
-"
-
-DEPEND="
-       ${LUA_DEPS}
-       >=dev-libs/glib-2.62
-       >=media-video/pipewire-0.3.48:=
-       virtual/libc
-       elogind? ( sys-auth/elogind )
-       systemd? ( sys-apps/systemd )
-"
-
-# Any dev-lua/* deps get declared like this inside RDEPEND:
-#      $(lua_gen_cond_dep '
-#              dev-lua/<NAME>[${LUA_USEDEP}]
-#      ')
-RDEPEND="${DEPEND}
-       system-service? (
-               acct-user/pipewire
-               acct-group/pipewire
-       )
-"
-
-DOCS=( {NEWS,README}.rst )
-
-PATCHES=(
-       
"${FILESDIR}"/${P}-scripts-policy-device-profile-clear-tables-when-devi.patch
-       
"${FILESDIR}"/${P}-config-document-which-options-need-to-be-turned-off-.patch
-)
-
-src_configure() {
-       local emesonargs=(
-               -Ddoc=disabled # Ebuild not wired up yet (Sphinx, Doxygen?)
-               -Dintrospection=disabled # Only used for Sphinx doc generation
-               -Dsystem-lua=true # We always unbundle everything we can
-               -Dsystem-lua-version=$(ver_cut 1-2 $(lua_get_version))
-               $(meson_feature elogind)
-               $(meson_feature systemd)
-               $(meson_use system-service systemd-system-service)
-               $(meson_use systemd systemd-user-service)
-               -Dsystemd-system-unit-dir=$(systemd_get_systemunitdir)
-               -Dsystemd-user-unit-dir=$(systemd_get_userunitdir)
-               $(meson_use test tests)
-       )
-
-       meson_src_configure
-}
-
-src_install() {
-       meson_src_install
-
-       # We copy the default config, so that Gentoo tools can pick up on any
-       # updates and /etc does not end up with stale overrides.
-       # If a reflinking CoW filesystem is used (e.g. Btrfs), then the files
-       # will not actually get stored twice until modified.
-       insinto /etc
-       doins -r "${ED}"/usr/share/wireplumber
-}
-
-pkg_postinst() {
-       if systemd_is_booted ; then
-               ewarn "pipewire-media-session.service is no longer installed. 
You must switch"
-               ewarn "to wireplumber.service user unit before your next 
logout/reboot:"
-               ewarn "systemctl --user disable pipewire-media-session.service"
-               ewarn "systemctl --user --force enable wireplumber.service"
-       else
-               ewarn "Switch to WirePlumber will happen the next time 
gentoo-pipewire-launcher"
-               ewarn "is started (a replacement for directly calling pipewire 
binary)."
-               ewarn
-               ewarn "Please ensure that ${EROOT}/etc/pipewire/pipewire.conf 
either does not exist"
-               ewarn "or, if it does exist, that any reference to"
-               ewarn "${EROOT}/usr/bin/pipewire-media-session is commented out 
(begins with a #)."
-       fi
-       if use system-service; then
-               ewarn
-               ewarn "WARNING: you have enabled the system-service USE flag, 
which installs"
-               ewarn "the system-wide systemd units that enable WirePlumber to 
run as a system"
-               ewarn "service. This is more than likely NOT what you want. You 
are strongly"
-               ewarn "advised not to enable this mode and instead stick with 
systemd user"
-               ewarn "units. The default configuration files will likely not 
work out of"
-               ewarn "box, and you are on your own with configuration."
-               ewarn
-       fi
-}

diff --git a/media-video/wireplumber/wireplumber-0.4.9.ebuild 
b/media-video/wireplumber/wireplumber-0.4.9.ebuild
deleted file mode 100644
index 0c71a9ba7f9b..000000000000
--- a/media-video/wireplumber/wireplumber-0.4.9.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LUA_COMPAT=( lua5-{3,4} )
-
-inherit lua-single meson systemd
-
-if [[ ${PV} == 9999 ]]; then
-       EGIT_REPO_URI="https://gitlab.freedesktop.org/pipewire/${PN}.git";
-       EGIT_BRANCH="master"
-       inherit git-r3
-else
-       
SRC_URI="https://gitlab.freedesktop.org/pipewire/${PN}/-/archive/${PV}/${P}.tar.gz";
-       KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~sparc x86"
-fi
-
-DESCRIPTION="Replacement for pipewire-media-session"
-HOMEPAGE="https://gitlab.freedesktop.org/pipewire/wireplumber";
-
-LICENSE="MIT"
-SLOT="0/0.4"
-IUSE="elogind system-service systemd test"
-
-REQUIRED_USE="
-       ${LUA_REQUIRED_USE}
-       ?? ( elogind systemd )
-       system-service? ( systemd )
-"
-
-RESTRICT="!test? ( test )"
-
-# introspection? ( dev-libs/gobject-introspection ) is valid but likely only 
used for doc building
-BDEPEND="
-       dev-libs/glib
-       dev-util/gdbus-codegen
-       dev-util/glib-utils
-"
-
-DEPEND="
-       ${LUA_DEPS}
-       >=dev-libs/glib-2.62
-       >=media-video/pipewire-0.3.48:=
-       virtual/libc
-       elogind? ( sys-auth/elogind )
-       systemd? ( sys-apps/systemd )
-"
-
-# Any dev-lua/* deps get declared like this inside RDEPEND:
-#      $(lua_gen_cond_dep '
-#              dev-lua/<NAME>[${LUA_USEDEP}]
-#      ')
-RDEPEND="${DEPEND}
-       system-service? (
-               acct-user/pipewire
-               acct-group/pipewire
-       )
-"
-
-DOCS=( {NEWS,README}.rst )
-
-src_configure() {
-       local emesonargs=(
-               -Ddoc=disabled # Ebuild not wired up yet (Sphinx, Doxygen?)
-               -Dintrospection=disabled # Only used for Sphinx doc generation
-               -Dsystem-lua=true # We always unbundle everything we can
-               -Dsystem-lua-version=$(ver_cut 1-2 $(lua_get_version))
-               $(meson_feature elogind)
-               $(meson_feature systemd)
-               $(meson_use system-service systemd-system-service)
-               $(meson_use systemd systemd-user-service)
-               -Dsystemd-system-unit-dir=$(systemd_get_systemunitdir)
-               -Dsystemd-user-unit-dir=$(systemd_get_userunitdir)
-               $(meson_use test tests)
-       )
-
-       meson_src_configure
-}
-
-src_install() {
-       meson_src_install
-
-       # We copy the default config, so that Gentoo tools can pick up on any
-       # updates and /etc does not end up with stale overrides.
-       # If a reflinking CoW filesystem is used (e.g. Btrfs), then the files
-       # will not actually get stored twice until modified.
-       insinto /etc
-       doins -r "${ED}"/usr/share/wireplumber
-}
-
-pkg_postinst() {
-       if systemd_is_booted ; then
-               ewarn "pipewire-media-session.service is no longer installed. 
You must switch"
-               ewarn "to wireplumber.service user unit before your next 
logout/reboot:"
-               ewarn "systemctl --user disable pipewire-media-session.service"
-               ewarn "systemctl --user --force enable wireplumber.service"
-       else
-               ewarn "Switch to WirePlumber will happen the next time 
gentoo-pipewire-launcher"
-               ewarn "is started (a replacement for directly calling pipewire 
binary)."
-               ewarn
-               ewarn "Please ensure that ${EROOT}/etc/pipewire/pipewire.conf 
either does not exist"
-               ewarn "or, if it does exist, that any reference to"
-               ewarn "${EROOT}/usr/bin/pipewire-media-session is commented out 
(begins with a #)."
-       fi
-       if use system-service; then
-               ewarn
-               ewarn "WARNING: you have enabled the system-service USE flag, 
which installs"
-               ewarn "the system-wide systemd units that enable WirePlumber to 
run as a system"
-               ewarn "service. This is more than likely NOT what you want. You 
are strongly"
-               ewarn "advised not to enable this mode and instead stick with 
systemd user"
-               ewarn "units. The default configuration files will likely not 
work out of"
-               ewarn "box, and you are on your own with configuration."
-               ewarn
-       fi
-}

Reply via email to