Subject: bug#61082: closed (Re: [bug#61082] [PATCH v3] gnu: emacs-pulseaudio-control: Update to 34a61143.)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 29 Jan 2023 14:46:02 +0000

Your bug report

#61082: [PATCH] gnu: emacs-pulseaudio-control: Update to 34a61143.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
61082: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61082
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#61082] [PATCH v3] gnu: emacs-pulseaudio-control: Update to 34a61143.
From: Nicolas Goaziou <[email-masked]>
To: conses <[email-masked]>
Cc: [email-masked]
Date: Sun, 29 Jan 2023 15:45:26 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

conses <[email-masked]> writes:

> * gnu/packages/emacs-xyz.scm (emacs-pulseaudio-control): Update to 34a61143.
> [home-page]: Change upstream URL to new sourcehut repository.
> [arguments]: Clean up patch-file-name phase.

Neat. Thank you.

I added a reference to source update in the commit message and applied
your patch.

Regards,
-- 
Nicolas Goaziou

Subject: [PATCH] gnu: emacs-pulseaudio-control: Update to 34a61143.
From: conses <[email-masked]>
To: [email-masked]
Date: Thu, 26 Jan 2023 20:07:25 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/emacs-xyz.scm (emacs-pulseaudio-control): Update to 34a61143.
---
 gnu/packages/emacs-xyz.scm | 35 ++++++++++++-----------------------
 1 file changed, 12 insertions(+), 23 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index dc378581f5..7b5888a1d1 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -21447,34 +21447,23 @@ (define-public emacs-md4rd
     (license license:gpl3+)))
 
 (define-public emacs-pulseaudio-control
-  (let ((commit "a931533140547510decdc368f39b2d2b97ca725f")
-        (revision "4"))
+  (let ((commit "34a6114357dbbc6b6720aa013e0f8a48f3739403")
+        (revision "5"))
     (package
       (name "emacs-pulseaudio-control")
       (version (git-version "0.0.1" revision commit))
-      (source
-       (origin
-         (method git-fetch)
-         (uri (git-reference
-               (url "https://github.com/flexibeast/pulseaudio-control")
-               (commit commit)))
-         (file-name (git-file-name name version))
-         (sha256
-          (base32
-           "1jvjn9jszjjapi167an49jxcvr88cvgjwykglhp4b8lwhbjfqw76"))))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://git.sr.ht/~flexibeast/pulseaudio-control")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "0wm312pqp0i5i6qh6g3nacnnvsrad58927cl2g42gxzrzlb3slv5"))))
       (build-system emacs-build-system)
-      (arguments
-       '(#:phases (modify-phases %standard-phases
-                    (add-after 'unpack 'patch-file-name
-                      (lambda* (#:key inputs #:allow-other-keys)
-                        (let ((pulseaudio (assoc-ref inputs "pulseaudio")))
-                          (chmod "pulseaudio-control.el" #o600)
-                          (emacs-substitute-variables "pulseaudio-control.el"
-                            ("pulseaudio-control-pactl-path"
-                             (string-append pulseaudio "/bin/pactl")))
-                          #t))))))
       (inputs (list pulseaudio))
-      (home-page "https://github.com/flexibeast/pulseaudio-control")
+      (home-page "https://git.sr.ht/~flexibeast/pulseaudio-control")
       (synopsis "Control @code{pulseaudio} from Emacs")
       (description
        "This package allows controlling @code{pulseaudio} from Emacs.")
-- 
2.38.1

-- 
Best regards,
conses