diff mbox series

[bug#40836] gnu: pavucontrol: Fix icons.

Message ID 20200424201814.547a51b0.raghavgururajan@disroot.org
State Accepted
Headers show
Series [bug#40836] gnu: pavucontrol: Fix icons. | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch fail View Laminar job

Commit Message

Raghav Gururajan April 25, 2020, 12:18 a.m. UTC

Comments

Nicolas Goaziou April 25, 2020, 9:02 p.m. UTC | #1
Hello,

Raghav Gururajan <raghavgururajan@disroot.org> writes:

> From 0556995185bee64c29a19847e84fe42514eec546 Mon Sep 17 00:00:00 2001
> From: Raghav Gururajan <raghavgururajan@disroot.org>
> Date: Fri, 24 Apr 2020 20:07:27 -0400
> Subject: [PATCH] gnu: pavucontrol: Fix icons.
>
> * gnu/packages/pulseaudio.scm (pavucontrol): Fix icons.

Applied. Thank you.

Regards,
diff mbox series

Patch

From 0556995185bee64c29a19847e84fe42514eec546 Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <raghavgururajan@disroot.org>
Date: Fri, 24 Apr 2020 20:07:27 -0400
Subject: [PATCH] gnu: pavucontrol: Fix icons.

* gnu/packages/pulseaudio.scm (pavucontrol): Fix icons.

Since the adwaita icon theme is hard-coded in the application, there is
no choice for the user anyway. So added adwaita-icon-theme to inputs and
changed build-system to glib-or-gtk to fix loading of icons.
---
 gnu/packages/pulseaudio.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/pulseaudio.scm b/gnu/packages/pulseaudio.scm
index c2853dcd82..178c2f2383 100644
--- a/gnu/packages/pulseaudio.scm
+++ b/gnu/packages/pulseaudio.scm
@@ -31,6 +31,7 @@ 
   #:use-module (guix download)
   #:use-module (guix git-download)
   #:use-module ((guix licenses) #:prefix l:)
+  #:use-module (guix build-system glib-or-gtk)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system python)
   #:use-module (gnu packages)
@@ -233,10 +234,11 @@  sound server.")
              (sha256
               (base32
                "14486c6lmmirkhscbfygz114f6yzf97h35n3h3pdr27w4mdfmlmk"))))
-    (build-system gnu-build-system)
+    (build-system glib-or-gtk-build-system)
     (inputs
      `(("libcanberra" ,libcanberra)
        ("gtkmm" ,gtkmm)
+       ("adwaita-icon-theme" ,adwaita-icon-theme)          ; Hard-coded theme
        ("pulseaudio" ,pulseaudio)))
     (native-inputs
      `(("intltool" ,intltool)
-- 
2.26.1