all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#49816] [PATCH] gnu: audacious: Update to 4.1.
@ 2021-08-01 22:14 Felix Gruber
  2021-08-05  7:00 ` Nicolas Goaziou
  0 siblings, 1 reply; 5+ messages in thread
From: Felix Gruber @ 2021-08-01 22:14 UTC (permalink / raw)
  To: 49816; +Cc: Felix Gruber

* gnu/packages/music.scm (audacious): Update to 4.1.
[inputs]: Add gtk+-2 and replace libmodplug with libopenmpt.
---
 gnu/packages/music.scm | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 9c69204610..ef9f78ffbe 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -40,6 +40,7 @@
 ;;; Copyright © 2021 Frank Pursel <frank.pursel@gmail.com>
 ;;; Copyright © 2021 Rovanion Luckey <rovanion.luckey@gmail.com>
 ;;; Copyright © 2021 Justin Veilleux <terramorpha@cock.li>
+;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -177,14 +178,14 @@
 (define-public audacious
   (package
     (name "audacious")
-    (version "4.0.5")
+    (version "4.1")
     (source
      (origin
        (method url-fetch)
        (uri (string-append "https://distfiles.audacious-media-player.org/"
                            "audacious-" version ".tar.bz2"))
        (sha256
-        (base32 "028zjgz0p7ys15lk2a30m5zcv9xrx3ga50wjsh4m4zxilgkakbji"))))
+        (base32 "0p734psjjvjcmla2hg5h6a9v1prvy63jj9xm2g2ngs49jy7qan0z"))))
     (build-system gnu-build-system)
     (arguments
      `(#:configure-flags
@@ -228,12 +229,13 @@
            (uri (string-append "https://distfiles.audacious-media-player.org/"
                                "audacious-plugins-" version ".tar.bz2"))
            (sha256
-            (base32 "0ny5w1agr9jaz5w3wyyxf1ygmzmd1sivaf97lcm4z4w6529520lz"))))
+            (base32 "0k0xnqmxi5lna034i2cnzvfzrykxmv4fbs1nkrc9sd2ma1igrmns"))))
        ("gettext" ,gettext-minimal)
        ("glib:bin" ,glib "bin")         ; for gdbus-codegen
        ("pkg-config" ,pkg-config)))
     (inputs
      `(("dbus" ,dbus)
+       ("gtk+" ,gtk+-2)
        ("qtbase" ,qtbase-5)
        ("qtmultimedia" ,qtmultimedia)
        ;; Plugin dependencies
@@ -248,9 +250,9 @@
        ("libcddb" ,libcddb)
        ("libcdio-paranoia" ,libcdio-paranoia)
        ("libcue" ,libcue)
-       ("libmodplug" ,libmodplug)
        ("libnotify" ,libnotify)
        ("libogg" ,libogg)
+       ("libopenmpt" ,libopenmpt)
        ("libsamplerate" ,libsamplerate)
        ("libsndfile" ,libsndfile)
        ("libvorbis" ,libvorbis)
-- 
2.30.2





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#49816] [PATCH] gnu: audacious: Update to 4.1.
  2021-08-01 22:14 [bug#49816] [PATCH] gnu: audacious: Update to 4.1 Felix Gruber
@ 2021-08-05  7:00 ` Nicolas Goaziou
  2021-08-05 17:02   ` Felix Gruber
  0 siblings, 1 reply; 5+ messages in thread
From: Nicolas Goaziou @ 2021-08-05  7:00 UTC (permalink / raw)
  To: Felix Gruber; +Cc: 49816

Hello,

Felix Gruber <felgru@posteo.net> writes:

> * gnu/packages/music.scm (audacious): Update to 4.1.
> [inputs]: Add gtk+-2 and replace libmodplug with libopenmpt.

Thank you.

Why do you add gtk+-2 as an input? There's a more recent Qt UI. You
might want to consider adding audacious-gtk package instead.

WDYT?

Regards,
-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#49816] [PATCH] gnu: audacious: Update to 4.1.
  2021-08-05  7:00 ` Nicolas Goaziou
@ 2021-08-05 17:02   ` Felix Gruber
  2021-08-05 17:11     ` [bug#49816] [PATCH v2] " Felix Gruber
  0 siblings, 1 reply; 5+ messages in thread
From: Felix Gruber @ 2021-08-05 17:02 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: 49816

Hello Nicolas,

On 8/5/21 9:00 AM, Nicolas Goaziou wrote:
> Why do you add gtk+-2 as an input? There's a more recent Qt UI. You
> might want to consider adding audacious-gtk package instead.

I've added gtk+-2 as an input as otherwise the configure script failed
with the following error:

```
checking for GTK... no
configure: error: Package requirements (gtk+-2.0 >= 2.24) were not met:

No package 'gtk+-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GTK_CFLAGS
and GTK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
```

I've thought that GTK+ had become a required dependency, but now that
you've asked, I've looked a bit closer and apparently one can still
disable it by passing `--disable-gtk` to the configure script.

I'll send an updated patch without gtk+-2 input.

Best regards,
Felix




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#49816] [PATCH v2] gnu: audacious: Update to 4.1.
  2021-08-05 17:02   ` Felix Gruber
@ 2021-08-05 17:11     ` Felix Gruber
  2021-08-05 20:09       ` bug#49816: " Nicolas Goaziou
  0 siblings, 1 reply; 5+ messages in thread
From: Felix Gruber @ 2021-08-05 17:11 UTC (permalink / raw)
  To: 49816; +Cc: Felix Gruber, Nicolas Goaziou

* gnu/packages/music.scm (audacious): Update to 4.1.
[inputs]: Replace libmodplug with libopenmpt.
[arguments]: Add --disable-gtk configure flag as building against GTK,
in addition to QT, has otherwise become the default.
---
 gnu/packages/music.scm | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 9c69204610..b95be813dc 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -40,6 +40,7 @@
 ;;; Copyright © 2021 Frank Pursel <frank.pursel@gmail.com>
 ;;; Copyright © 2021 Rovanion Luckey <rovanion.luckey@gmail.com>
 ;;; Copyright © 2021 Justin Veilleux <terramorpha@cock.li>
+;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -177,18 +178,19 @@
 (define-public audacious
   (package
     (name "audacious")
-    (version "4.0.5")
+    (version "4.1")
     (source
      (origin
        (method url-fetch)
        (uri (string-append "https://distfiles.audacious-media-player.org/"
                            "audacious-" version ".tar.bz2"))
        (sha256
-        (base32 "028zjgz0p7ys15lk2a30m5zcv9xrx3ga50wjsh4m4zxilgkakbji"))))
+        (base32 "0p734psjjvjcmla2hg5h6a9v1prvy63jj9xm2g2ngs49jy7qan0z"))))
     (build-system gnu-build-system)
     (arguments
      `(#:configure-flags
-       (list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib"))
+       (list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib")
+             "--disable-gtk")
        #:tests? #f                      ; no check target
        #:phases
        (modify-phases %standard-phases
@@ -228,7 +230,7 @@
            (uri (string-append "https://distfiles.audacious-media-player.org/"
                                "audacious-plugins-" version ".tar.bz2"))
            (sha256
-            (base32 "0ny5w1agr9jaz5w3wyyxf1ygmzmd1sivaf97lcm4z4w6529520lz"))))
+            (base32 "0k0xnqmxi5lna034i2cnzvfzrykxmv4fbs1nkrc9sd2ma1igrmns"))))
        ("gettext" ,gettext-minimal)
        ("glib:bin" ,glib "bin")         ; for gdbus-codegen
        ("pkg-config" ,pkg-config)))
@@ -248,9 +250,9 @@
        ("libcddb" ,libcddb)
        ("libcdio-paranoia" ,libcdio-paranoia)
        ("libcue" ,libcue)
-       ("libmodplug" ,libmodplug)
        ("libnotify" ,libnotify)
        ("libogg" ,libogg)
+       ("libopenmpt" ,libopenmpt)
        ("libsamplerate" ,libsamplerate)
        ("libsndfile" ,libsndfile)
        ("libvorbis" ,libvorbis)
-- 
2.30.2





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* bug#49816: [PATCH v2] gnu: audacious: Update to 4.1.
  2021-08-05 17:11     ` [bug#49816] [PATCH v2] " Felix Gruber
@ 2021-08-05 20:09       ` Nicolas Goaziou
  0 siblings, 0 replies; 5+ messages in thread
From: Nicolas Goaziou @ 2021-08-05 20:09 UTC (permalink / raw)
  To: Felix Gruber; +Cc: 49816-done

Hello,

Felix Gruber <felgru@posteo.net> writes:

> * gnu/packages/music.scm (audacious): Update to 4.1.
> [inputs]: Replace libmodplug with libopenmpt.
> [arguments]: Add --disable-gtk configure flag as building against GTK,
> in addition to QT, has otherwise become the default.

Applied. Thank you.

Regards,
-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-08-05 20:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-01 22:14 [bug#49816] [PATCH] gnu: audacious: Update to 4.1 Felix Gruber
2021-08-05  7:00 ` Nicolas Goaziou
2021-08-05 17:02   ` Felix Gruber
2021-08-05 17:11     ` [bug#49816] [PATCH v2] " Felix Gruber
2021-08-05 20:09       ` bug#49816: " Nicolas Goaziou

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.