unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#40960] gnu: Add audacious.
@ 2020-04-29 11:12 Raghav Gururajan
  2020-04-29 11:14 ` Raghav Gururajan
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Raghav Gururajan @ 2020-04-29 11:12 UTC (permalink / raw)
  To: 40960





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

* [bug#40960] gnu: Add audacious.
  2020-04-29 11:12 [bug#40960] gnu: Add audacious Raghav Gururajan
@ 2020-04-29 11:14 ` Raghav Gururajan
  2020-04-29 13:10 ` [bug#40960] gnu: Add audacious. (v2) Raghav Gururajan
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: Raghav Gururajan @ 2020-04-29 11:14 UTC (permalink / raw)
  To: 40960

[-- Attachment #1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2: 0001-gnu-Add-audacious.patch --]
[-- Type: text/x-patch, Size: 2339 bytes --]

From 3a5e3b232815683580b4ffb3078f9f04459c006c Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <raghavgururajan@disroot.org>
Date: Wed, 29 Apr 2020 07:09:59 -0400
Subject: [PATCH] gnu: Add audacious.

* gnu/packages/audio.scm (audacious): New variable.
---
 gnu/packages/audio.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index bf16e09f61..da7164a5aa 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -111,6 +111,7 @@
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system glib-or-gtk)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system qt)
   #:use-module (guix build-system meson)
   #:use-module (guix build-system python)
   #:use-module (guix build-system trivial)
@@ -123,6 +124,47 @@
   #:use-module (srfi srfi-1)
   #:use-module (srfi srfi-26))
 
+(define-public audacious
+  (package
+    (name "audacious")
+    (version "4.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri
+        (string-append "https://distfiles.audacious-media-player.org/"
+                       name "-" version ".tar.bz2"))
+       (sha256
+        (base32 "1mkn3wiqmp0mfaxmmcx41mkaz6xi9bl7jkca5g32mwsp332pf0gk"))))
+    (build-system meson-build-system)
+    (arguments
+     `(#:tests? #f                      ; No target
+       #:configure-flags
+       (list
+        ;; Otherwise, the RUNPATH will lack the final path component.
+        (string-append "-Dc_link_args=-Wl,-rpath="
+                       (assoc-ref %outputs "out")
+                       "/lib/libaudcore"))))
+    (native-inputs
+     `(("gettext" ,gettext-minimal)
+       ("glib:bin" ,glib "bin")
+       ("pkg-config" ,pkg-config)))
+    (inputs
+     `(("glib" ,glib)
+       ("qtbase" ,qtbase)))
+    (synopsis "Lightweight and versatile audio player")
+    (description "Audacious is an audio player software with a focus on low
+resource use, high audio quality, and support for a wide range of audio
+formats.")
+    (home-page "https://audacious-media-player.org/")
+    (license
+     (list
+      license:bsd-2
+      ;; Icons
+      license:cc-by-sa4.0
+      ;; LibGuess
+      license:bsd-3))))
+
 (define-public vo-amrwbenc
   (package
     (name "vo-amrwbenc")
-- 
2.26.2


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

* [bug#40960] gnu: Add audacious. (v2)
  2020-04-29 11:12 [bug#40960] gnu: Add audacious Raghav Gururajan
  2020-04-29 11:14 ` Raghav Gururajan
@ 2020-04-29 13:10 ` Raghav Gururajan
  2020-04-30  4:03 ` [bug#40960] gnu: Add audacious. (v3) Raghav Gururajan
  2020-04-30  4:10 ` [bug#40960] gnu: Add audacious. (v4) Raghav Gururajan
  3 siblings, 0 replies; 7+ messages in thread
From: Raghav Gururajan @ 2020-04-29 13:10 UTC (permalink / raw)
  To: 40960

[-- Attachment #1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2: 0001-gnu-Add-audacious.patch --]
[-- Type: text/x-patch, Size: 2002 bytes --]

From fe1bbc1aa403197cfa19e1fe4ed41b9a079d4c96 Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <raghavgururajan@disroot.org>
Date: Wed, 29 Apr 2020 09:09:26 -0400
Subject: [PATCH] gnu: Add audacious.

* gnu/packages/audio.scm (audacious): New variable.
---
 gnu/packages/audio.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index bf16e09f61..52c9d9370e 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -111,6 +111,7 @@
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system glib-or-gtk)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system qt)
   #:use-module (guix build-system meson)
   #:use-module (guix build-system python)
   #:use-module (guix build-system trivial)
@@ -123,6 +124,39 @@
   #:use-module (srfi srfi-1)
   #:use-module (srfi srfi-26))
 
+(define-public audacious
+  (package
+    (name "audacious")
+    (version "4.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri
+        (string-append "https://distfiles.audacious-media-player.org/"
+                       name "-" version ".tar.bz2"))
+       (sha256
+        (base32 "1mkn3wiqmp0mfaxmmcx41mkaz6xi9bl7jkca5g32mwsp332pf0gk"))))
+    (build-system meson-build-system)
+    (native-inputs
+     `(("gettext" ,gettext-minimal)
+       ("glib:bin" ,glib "bin")
+       ("pkg-config" ,pkg-config)))
+    (inputs
+     `(("glib" ,glib)
+       ("qtbase" ,qtbase)))
+    (synopsis "Lightweight and versatile audio player")
+    (description "Audacious is an audio player software with a focus on low
+resource use, high audio quality, and support for a wide range of audio
+formats.")
+    (home-page "https://audacious-media-player.org/")
+    (license
+     (list
+      license:bsd-2
+      ;; Icons
+      license:cc-by-sa4.0
+      ;; LibGuess
+      license:bsd-3))))
+
 (define-public vo-amrwbenc
   (package
     (name "vo-amrwbenc")
-- 
2.26.2


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

* [bug#40960] gnu: Add audacious. (v3)
  2020-04-29 11:12 [bug#40960] gnu: Add audacious Raghav Gururajan
  2020-04-29 11:14 ` Raghav Gururajan
  2020-04-29 13:10 ` [bug#40960] gnu: Add audacious. (v2) Raghav Gururajan
@ 2020-04-30  4:03 ` Raghav Gururajan
  2020-04-30  4:10 ` [bug#40960] gnu: Add audacious. (v4) Raghav Gururajan
  3 siblings, 0 replies; 7+ messages in thread
From: Raghav Gururajan @ 2020-04-30  4:03 UTC (permalink / raw)
  To: 40960

[-- Attachment #1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2: audacious.patch --]
[-- Type: text/x-patch, Size: 2339 bytes --]

From 3a5e3b232815683580b4ffb3078f9f04459c006c Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <raghavgururajan@disroot.org>
Date: Wed, 29 Apr 2020 07:09:59 -0400
Subject: [PATCH] gnu: Add audacious.

* gnu/packages/audio.scm (audacious): New variable.
---
 gnu/packages/audio.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index bf16e09f61..da7164a5aa 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -111,6 +111,7 @@
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system glib-or-gtk)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system qt)
   #:use-module (guix build-system meson)
   #:use-module (guix build-system python)
   #:use-module (guix build-system trivial)
@@ -123,6 +124,47 @@
   #:use-module (srfi srfi-1)
   #:use-module (srfi srfi-26))
 
+(define-public audacious
+  (package
+    (name "audacious")
+    (version "4.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri
+        (string-append "https://distfiles.audacious-media-player.org/"
+                       name "-" version ".tar.bz2"))
+       (sha256
+        (base32 "1mkn3wiqmp0mfaxmmcx41mkaz6xi9bl7jkca5g32mwsp332pf0gk"))))
+    (build-system meson-build-system)
+    (arguments
+     `(#:tests? #f                      ; No target
+       #:configure-flags
+       (list
+        ;; Otherwise, the RUNPATH will lack the final path component.
+        (string-append "-Dc_link_args=-Wl,-rpath="
+                       (assoc-ref %outputs "out")
+                       "/lib/libaudcore"))))
+    (native-inputs
+     `(("gettext" ,gettext-minimal)
+       ("glib:bin" ,glib "bin")
+       ("pkg-config" ,pkg-config)))
+    (inputs
+     `(("glib" ,glib)
+       ("qtbase" ,qtbase)))
+    (synopsis "Lightweight and versatile audio player")
+    (description "Audacious is an audio player software with a focus on low
+resource use, high audio quality, and support for a wide range of audio
+formats.")
+    (home-page "https://audacious-media-player.org/")
+    (license
+     (list
+      license:bsd-2
+      ;; Icons
+      license:cc-by-sa4.0
+      ;; LibGuess
+      license:bsd-3))))
+
 (define-public vo-amrwbenc
   (package
     (name "vo-amrwbenc")
-- 
2.26.2


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

* [bug#40960] gnu: Add audacious. (v4)
  2020-04-29 11:12 [bug#40960] gnu: Add audacious Raghav Gururajan
                   ` (2 preceding siblings ...)
  2020-04-30  4:03 ` [bug#40960] gnu: Add audacious. (v3) Raghav Gururajan
@ 2020-04-30  4:10 ` Raghav Gururajan
  2020-05-01  9:21   ` Danny Milosavljevic
  3 siblings, 1 reply; 7+ messages in thread
From: Raghav Gururajan @ 2020-04-30  4:10 UTC (permalink / raw)
  To: 40960

[-- Attachment #1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2: 0001-gnu-Add-audacious.patch --]
[-- Type: text/x-patch, Size: 2002 bytes --]

From fe1bbc1aa403197cfa19e1fe4ed41b9a079d4c96 Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <raghavgururajan@disroot.org>
Date: Wed, 29 Apr 2020 09:09:26 -0400
Subject: [PATCH] gnu: Add audacious.

* gnu/packages/audio.scm (audacious): New variable.
---
 gnu/packages/audio.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index bf16e09f61..52c9d9370e 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -111,6 +111,7 @@
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system glib-or-gtk)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system qt)
   #:use-module (guix build-system meson)
   #:use-module (guix build-system python)
   #:use-module (guix build-system trivial)
@@ -123,6 +124,39 @@
   #:use-module (srfi srfi-1)
   #:use-module (srfi srfi-26))
 
+(define-public audacious
+  (package
+    (name "audacious")
+    (version "4.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri
+        (string-append "https://distfiles.audacious-media-player.org/"
+                       name "-" version ".tar.bz2"))
+       (sha256
+        (base32 "1mkn3wiqmp0mfaxmmcx41mkaz6xi9bl7jkca5g32mwsp332pf0gk"))))
+    (build-system meson-build-system)
+    (native-inputs
+     `(("gettext" ,gettext-minimal)
+       ("glib:bin" ,glib "bin")
+       ("pkg-config" ,pkg-config)))
+    (inputs
+     `(("glib" ,glib)
+       ("qtbase" ,qtbase)))
+    (synopsis "Lightweight and versatile audio player")
+    (description "Audacious is an audio player software with a focus on low
+resource use, high audio quality, and support for a wide range of audio
+formats.")
+    (home-page "https://audacious-media-player.org/")
+    (license
+     (list
+      license:bsd-2
+      ;; Icons
+      license:cc-by-sa4.0
+      ;; LibGuess
+      license:bsd-3))))
+
 (define-public vo-amrwbenc
   (package
     (name "vo-amrwbenc")
-- 
2.26.2


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

* [bug#40960] gnu: Add audacious. (v4)
  2020-04-30  4:10 ` [bug#40960] gnu: Add audacious. (v4) Raghav Gururajan
@ 2020-05-01  9:21   ` Danny Milosavljevic
  2020-05-01  9:54     ` Raghav Gururajan
  0 siblings, 1 reply; 7+ messages in thread
From: Danny Milosavljevic @ 2020-05-01  9:21 UTC (permalink / raw)
  To: Raghav Gururajan; +Cc: 40960

[-- Attachment #1: Type: text/plain, Size: 358 bytes --]

Hi Raghav,

thanks for the patch!

When I try to run the program, I get:

LC_ALL=C /gnu/store/n5gw4g2d7yz27329wj6jl0b87c9x07sb-audacious-4.0.3/bin/audacious 
ERROR ../audacious-4.0.3/src/libaudcore/plugin-init.cc:156 [start_required]: No output plugin found.
(Did you forget to install audacious-plugins?)
Aborted

How would it load the plugins?

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* [bug#40960] gnu: Add audacious. (v4)
  2020-05-01  9:21   ` Danny Milosavljevic
@ 2020-05-01  9:54     ` Raghav Gururajan
  0 siblings, 0 replies; 7+ messages in thread
From: Raghav Gururajan @ 2020-05-01  9:54 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: 40960

Hi Danny!

I have closed this bug thread, because it requires more work than I expected. I
will be working on this in future, when I have time. :-)

More work is related to patching the source-code of both audacious and
audacious-plugins packages.

Regards,
RG.




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

end of thread, other threads:[~2020-05-01  9:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-29 11:12 [bug#40960] gnu: Add audacious Raghav Gururajan
2020-04-29 11:14 ` Raghav Gururajan
2020-04-29 13:10 ` [bug#40960] gnu: Add audacious. (v2) Raghav Gururajan
2020-04-30  4:03 ` [bug#40960] gnu: Add audacious. (v3) Raghav Gururajan
2020-04-30  4:10 ` [bug#40960] gnu: Add audacious. (v4) Raghav Gururajan
2020-05-01  9:21   ` Danny Milosavljevic
2020-05-01  9:54     ` Raghav Gururajan

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).