public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/cosmic-settings-daemon] rawhide: Use sound-theme-freedesktop
Date: Sun, 28 Jun 2026 19:57:42 GMT	[thread overview]
Message-ID: <178267666291.1.5825443446849267525.rpms-cosmic-settings-daemon-83a6d7092084@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/cosmic-settings-daemon
            Branch : rawhide
            Commit : 83a6d7092084d33691995cb849d92f717fffaa01
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-06-25T13:55:59-04:00
            Stats  : +34/-1 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/cosmic-settings-daemon/c/83a6d7092084d33691995cb849d92f717fffaa01?branch=rawhide

            Log:
            Use sound-theme-freedesktop

pop-sound-theme is unmaintained and was retired from rawhide.

---
diff --git a/cosmic-settings-daemon.spec b/cosmic-settings-daemon.spec
index 69eead0..25e3665 100644
--- a/cosmic-settings-daemon.spec
+++ b/cosmic-settings-daemon.spec
@@ -32,6 +32,9 @@ Source1:        vendor-%{version_no_tilde}.tar.gz
 # * mv vendor-config-%%{version_no_tilde}.toml ..
 Source2:        vendor-config-%{version_no_tilde}.toml
 
+# pop-sound-theme is unmaintained, use freedesktop
+Patch0:         sound-theme-freedesktop.patch
+
 BuildRequires:  cargo-rpm-macros >= 26
 BuildRequires:  rustc
 BuildRequires:  lld
@@ -50,7 +53,7 @@ BuildRequires:  openssl-devel
 
 Requires:       acpid
 Requires:       adw-gtk3-theme
-Requires:       pop-sound-theme
+Requires:       sound-theme-freedesktop
 Recommends:     breeze-icon-theme
 Recommends:     geoclue2
 Recommends:     playerctl

diff --git a/sound-theme-freedesktop.patch b/sound-theme-freedesktop.patch
new file mode 100644
index 0000000..e543dd6
--- /dev/null
+++ b/sound-theme-freedesktop.patch
@@ -0,0 +1,30 @@
+diff -up a/src/battery.rs b/src/battery.rs
+--- a/src/battery.rs	2026-06-18 12:06:35.000000000 -0400
++++ b/src/battery.rs	2026-06-25 13:52:54.567576176 -0400
+@@ -125,7 +125,7 @@ pub async fn low_power_monitor(mut ac_pl
+                             }
+ 
+                             current_battery = BatteryLevel::Low;
+-                            crate::pipewire::play_sound("Pop", "battery-caution");
++                            crate::pipewire::play_sound("freedesktop", "dialog-warning");
+ 
+                             let now = Instant::now();
+                             if now.duration_since(last_low_notification) > Duration::from_secs(5) {
+@@ -148,7 +148,7 @@ pub async fn low_power_monitor(mut ac_pl
+                             }
+ 
+                             current_battery = BatteryLevel::Full;
+-                            crate::pipewire::play_sound("Pop", "battery-full");
++                            crate::pipewire::play_sound("freedesktop", "complete");
+                         }
+ 
+                         _ => {
+@@ -177,7 +177,7 @@ async fn critical_battery_nag(mut watch:
+                     _ => break,
+                 }
+ 
+-                crate::pipewire::play_sound("Pop", "battery-low");
++                crate::pipewire::play_sound("freedesktop", "dialog-error");
+             },
+             Some(false) => (),
+             None => break,

                 reply	other threads:[~2026-06-28 19:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178267666291.1.5825443446849267525.rpms-cosmic-settings-daemon-83a6d7092084@fedoraproject.org \
    --to=yselkowi@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox