GNU bug report logs - #57437
[PATCH] Add the wmamixer window maker applet package

Previous Next

Package: guix-patches;

Reported by: Jessica Tallon <tsyesika <at> tsyesika.se>

Date: Fri, 26 Aug 2022 20:09:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 57437 in the body.
You can then email your comments to 57437 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#57437; Package guix-patches. (Fri, 26 Aug 2022 20:09:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jessica Tallon <tsyesika <at> tsyesika.se>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 26 Aug 2022 20:09:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jessica Tallon <tsyesika <at> tsyesika.se>
To: guix-patches <at> gnu.org
Subject: [PATCH] Add the wmamixer window maker applet package 
Date: Fri, 26 Aug 2022 22:06:20 +0200
[0001-Add-the-wmamixer-window-maker-applet-package.patch (text/x-patch, inline)]
From c3ce865bf0835a6d0771abad6d86e7ffec060e19 Mon Sep 17 00:00:00 2001
Message-Id: <c3ce865bf0835a6d0771abad6d86e7ffec060e19.1661544356.git.tsyesika <at> tsyesika.se>
From: Jessica Tallon <tsyesika <at> tsyesika.se>
Date: Fri, 26 Aug 2022 21:34:05 +0200
Subject: [PATCH] Add the wmamixer window maker applet package

---
 gnu/packages/gnustep.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/gnustep.scm b/gnu/packages/gnustep.scm
index ba7060504c..5243fa8d66 100644
--- a/gnu/packages/gnustep.scm
+++ b/gnu/packages/gnustep.scm
@@ -36,6 +36,7 @@ (define-module (gnu packages gnustep)
   #:use-module (gnu packages gcc)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gtk)
+  #:use-module (gnu packages linux)
   #:use-module (gnu packages llvm)
   #:use-module (gnu packages texinfo)
   #:use-module (gnu packages autotools)
@@ -335,3 +336,39 @@ (define-public wmfire
 symbols to represent the current monitor are \"burnt\" onscreen.  The flame
 colour can also be changed.")
     (license license:gpl2+)))
+
+(define-public wmamixer
+  (package
+    (name "wmamixer")
+    (version "1.0")
+    (source
+     (origin (method git-fetch)
+             (uri (git-reference
+                   (url "https://github.com/gryf/wmamixer")
+                   (commit version)))
+             (file-name (git-file-name name version))
+             (sha256
+              (base32
+               "04vv4kr4mj1nwri6zqgdg4yzbbmmng73qd4h0azliril75m7sldf"))))
+    (inputs (list libx11 libxpm libxext alsa-lib))
+    (build-system gnu-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          ;; The make file doesn't support these phases.
+          (delete 'configure)
+          (delete 'check)
+          (replace 'install
+            (lambda* (#:key inputs outputs #:allow-other-keys)
+              (let* ((out (assoc-ref outputs "out"))
+                     (bin (string-append out "/bin")))
+                (install-file "wmamixer" bin)))))))
+    (synopsis "Window maker applet to display the current volume")
+    (description "wmamixer is an applet for window maker which displays the
+current volume level both numerically and visiaully with a volume bar.  It
+includes the ability to toggle through different outputs to show their
+respective volume level.")
+    (home-page "https://github.com/gryf/wmamixer")
+    (license license:gpl2+)))
+

base-commit: 80baa8f87aa69151dffe04fb432a37c91d4dd242
-- 
2.37.2





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Sun, 04 Sep 2022 21:19:01 GMT) Full text and rfc822 format available.

Notification sent to Jessica Tallon <tsyesika <at> tsyesika.se>:
bug acknowledged by developer. (Sun, 04 Sep 2022 21:19:02 GMT) Full text and rfc822 format available.

Message #10 received at 57437-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Jessica Tallon <tsyesika <at> tsyesika.se>
Cc: 57437-done <at> debbugs.gnu.org
Subject: Re: bug#57437: [PATCH] Add the wmamixer window maker applet package 
Date: Sun, 04 Sep 2022 23:18:29 +0200
Hi,

Jessica Tallon <tsyesika <at> tsyesika.se> skribis:

>>From c3ce865bf0835a6d0771abad6d86e7ffec060e19 Mon Sep 17 00:00:00 2001
> Message-Id: <c3ce865bf0835a6d0771abad6d86e7ffec060e19.1661544356.git.tsyesika <at> tsyesika.se>
> From: Jessica Tallon <tsyesika <at> tsyesika.se>
> Date: Fri, 26 Aug 2022 21:34:05 +0200
> Subject: [PATCH] Add the wmamixer window maker applet package
>
> ---
>  gnu/packages/gnustep.scm | 37 +++++++++++++++++++++++++++++++++++++

I passed it through ‘guix style’, tweaked the commit log following our
conventions, and applied it.

Thank you!

Ludo’.




Information forwarded to guix-patches <at> gnu.org:
bug#57437; Package guix-patches. (Tue, 06 Sep 2022 11:13:02 GMT) Full text and rfc822 format available.

Message #13 received at 57437 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: Jessica Tallon <tsyesika <at> tsyesika.se>, 57437 <at> debbugs.gnu.org
Subject: Re: [bug#57437] [PATCH] Add the wmamixer window maker applet package
Date: Tue, 6 Sep 2022 13:12:30 +0200
[Message part 1 (text/plain, inline)]
On 26-08-2022 22:06, Jessica Tallon wrote:
> +          ;; The make file doesn't support these phases.
> +          (delete 'configure)

The Makefile uses gcc, even when compiling natively. But when 
cross-compiling, it needs to use a cross-compiler.

You will need to replace 'gcc' by (cc-for-target):

(replace 'configure
  (lambda _
    (substitute "Makefile"
      ;; For cross-compilation.
      (("\\bgcc\\b") #$(cc-for-target))
      ;; Stripping is already handled by gnu-build-system.
      (("\\bstrip\\b") ":"))))

Greetings,
Maxime.

[OpenPGP_0x49E3EE22191725EE.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 04 Oct 2022 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 204 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.