GNU bug report logs -
#58448
[PATCH] gnu: helm: fix not finding Factory Presets
Previous Next
Reported by: Sughosha <Sughosha <at> proton.me>
Date: Tue, 11 Oct 2022 18:35:01 UTC
Severity: normal
Tags: patch
Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
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 58448 in the body.
You can then email your comments to 58448 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#58448
; Package
guix-patches
.
(Tue, 11 Oct 2022 18:35:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Sughosha <Sughosha <at> proton.me>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Tue, 11 Oct 2022 18:35:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/music.scm (helm): Fix not finding Factory Presets.
This change fixes hardcoded paths so that Factory Presets can be found.
---
gnu/packages/music.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 6b37c79389..000b372303 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -6144,6 +6144,13 @@ (define-public helm
(substitute* "Makefile"
(("/usr") ""))
#t))
+ (add-after 'unpack 'fix-hardcoded-paths
+ (lambda* (#:key outputs #:allow-other-keys)
+ (substitute* "src/common/load_save.cpp"
+ (("/usr") (assoc-ref outputs "out")))
+ (substitute* "src/editor_sections/patch_browser.cpp"
+ (("/usr") (assoc-ref outputs "out")))
+ #t))
(delete 'configure))))
(inputs
`(("alsa-lib" ,alsa-lib)
--
2.38.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#58448
; Package
guix-patches
.
(Sat, 29 Oct 2022 21:55:02 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello,
Sughosha via Guix-patches via <guix-patches <at> gnu.org> writes:
> * gnu/packages/music.scm (helm): Fix not finding Factory Presets.
> This change fixes hardcoded paths so that Factory Presets can be
> found.
Thank you. Applied with the following changes:
> + (add-after 'unpack 'fix-hardcoded-paths
> + (lambda* (#:key outputs #:allow-other-keys)
> + (substitute* "src/common/load_save.cpp"
> + (("/usr") (assoc-ref outputs "out")))
> + (substitute* "src/editor_sections/patch_browser.cpp"
> + (("/usr") (assoc-ref outputs "out")))
> + #t))
I removed trailing #t, and merged both substitute* calls.
Regards,
--
Nicolas Goaziou
Reply sent
to
Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
:
You have taken responsibility.
(Sat, 29 Oct 2022 21:55:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Sughosha <Sughosha <at> proton.me>
:
bug acknowledged by developer.
(Sat, 29 Oct 2022 21:55:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 27 Nov 2022 12:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 268 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.