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 59E6A158042 for ; Wed, 23 Oct 2024 18:19:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7D6EDE090A; Wed, 23 Oct 2024 18:19:20 +0000 (UTC) Received: from smtp.gentoo.org (dev.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 45BEFE08F3 for ; Wed, 23 Oct 2024 18:19:20 +0000 (UTC) From: Andreas Sturmlechner To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] RFC: virtual/sound-theme: New package providing freedesktop.org spec compliant theme for desktop env. system sounds Date: Wed, 23 Oct 2024 20:19:09 +0200 Message-ID: <4962238.31r3eYUQgx@tuxbrain.fritz.box> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4606342.LvFx2qVVIh"; micalg="pgp-sha512"; protocol="application/pgp-signature" X-Archives-Salt: 9078269b-5471-47bd-9816-38303e3df374 X-Archives-Hash: bda3c09d1861b1a18225ae55e3e14086 --nextPart4606342.LvFx2qVVIh Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8"; protected-headers="v1" From: Andreas Sturmlechner To: gentoo-dev@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org Date: Wed, 23 Oct 2024 20:19:09 +0200 Message-ID: <4962238.31r3eYUQgx@tuxbrain.fritz.box> MIME-Version: 1.0 See also: https://specifications.freedesktop.org/sound-naming-spec/latest/ https://bugs.gentoo.org/941986 https://github.com/gentoo/gentoo/pull/38648 (as part of a libcanberra split) https://bugs.gentoo.org/323379 (some history) media-libs/libcanberra is still broadly used as sound event library, even media-video/pipewire[X] depends on it, and KDE Plasma packages as well. media-libs/libcanberra has IUSE=+sounds, which currently pulls in x11-themes/ sound-theme-freedesktop. But it can be replaced by other sound themes as long as they adhere to freedesktop.org spec, which essentially seems to come down to standardised notification sound names and some index file in /usr/share/sounds//index.them In KDE world there are two alternatives: - kde-plasma/ocean-sound-theme - kde-plasma/oxygen-sounds But it is possible there are other themes already in ::gentoo that I am not aware of, or maybe other DE maintainers have their own ideas, so CCing relevant maintainers. Current x11-themes/sound-theme-freedesktop RDEPENDs: gnome-base/gnome gnome-extra/gnome-tweaks kde-plasma/kpipewire kde-plasma/plasma-pa media-libs/libcanberra-0.30-r7:sound There are also a few media-libs/libcanberra[sound] revdeps that are addressed in the linked PR. Subject: [PATCH] virtual/sound-theme: new package, add 0 - IUSE sound: derived from media-libs/libcanberra[sound] - KEYWORDS: derived from x11-themes/sound-theme-freedesktop plus ~s390 for media-libs/libcanberra Bug: https://bugs.gentoo.org/323379 Bug: https://bugs.gentoo.org/941986 Signed-off-by: Andreas Sturmlechner --- create mode 100644 virtual/sound-theme/metadata.xml create mode 100644 virtual/sound-theme/sound-theme-0.ebuild diff --git a/virtual/sound-theme/metadata.xml b/virtual/sound-theme/ metadata.xml new file mode 100644 index 0000000000000..ff357f23fed56 --- /dev/null +++ b/virtual/sound-theme/metadata.xml @@ -0,0 +1,11 @@ + + + + + freedesktop-bugs@gentoo.org + + + + Install freedesktop.org spec compliant theme for desktop environment system sounds + + diff --git a/virtual/sound-theme/sound-theme-0.ebuild b/virtual/sound-theme/ sound-theme-0.ebuild new file mode 100644 index 0000000000000..c57c588d63aa9 --- /dev/null +++ b/virtual/sound-theme/sound-theme-0.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Virtual for themes following the freedesktop.org sound naming spec" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="+sound" + +RDEPEND=" + sound? ( || ( + x11-themes/sound-theme-freedesktop + kde-plasma/ocean-sound-theme:* + >=kde-plasma/oxygen-sounds-6.0.0:* + ) ) +" --nextPart4606342.LvFx2qVVIh Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQITBAABCgB9FiEESn1gz6RHOTQPAoX/ASQjMY0fts0FAmcZPh1fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDRB N0Q2MENGQTQ0NzM5MzQwRjAyODVGRjAxMjQyMzMxOEQxRkI2Q0QACgkQASQjMY0f ts0eHwwArvd001x1GHGtn9bnJVEceE7T+ETdUoHasKpUDCVJBtRLElbSNE/2132T w8jNut9q61j+QKyYkzN7ius+vRkYL2KCmYPYZswYO25WZ8iM/0Q7AydBYfjtdmxR h1m1STLpVudl97ZT+jJVRSJhE9PcMcGX/d6xrtzg8BadIM4ISvR981R2p8HFB4Ni dfDThbenD8dWyI5oa8YYGi7veBefblW1qKZwEPx/FUj4Wa0+cFIsqDupa1ycNN8/ yuc9i+b1UPMwJtRWNorVdud/aB6Obvjm8UANHx+9mM2lfg91VZv4e4YQ/ZTSU1vc /7ZwYu16pg+LjNLIfs6e/gXdAHy7D18rDnzB/G878G9PrpuwbbugJfc9JnpIpMHq npN+0o21UZtg3of0vj6bsmlJjWiKSZwJ3EfUcCZ3EFOOtVKu0u8AKo6k7IFEMfm8 bRbEVx9usRZbztKdKkPJp9RvO8PzFkgGRlktTMT5SwGt+0Vdkc8B8fi7l0lEFl7l pBBK9458 =2vjg -----END PGP SIGNATURE----- --nextPart4606342.LvFx2qVVIh--