unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#68798] [PATCH] gnu: alsa-scarlett-gui: Wrap with GSETTINGS_SCHEMA_DIR.
@ 2024-01-29 15:10 Robby Zambito
  2024-02-20  9:19 ` bug#68798: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Robby Zambito @ 2024-01-29 15:10 UTC (permalink / raw)
  To: 68798; +Cc: Robby Zambito

* gnu/packages/music.scm (alsa-scarlett-gui)[arguments]: Wrap with
GSETTINGS_SCHEMA_DIR.
---
 gnu/packages/music.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index cd06aeddda..78d8c399e6 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -233,6 +233,14 @@ (define-public alsa-scarlett-gui
                  (string-append "	"
                                 #$(cc-for-target) " -o")))
               (chdir "src")))
+          (add-after 'install 'wrap-program
+            (lambda* (#:key inputs outputs #:allow-other-keys)
+              (wrap-program (string-append (assoc-ref outputs "out")
+                                           "/bin/alsa-scarlett-gui")
+                ;; For GtkFileChooserDialog.
+                `("GSETTINGS_SCHEMA_DIR" =
+                  (,(string-append (assoc-ref inputs "gtk")
+                                   "/share/glib-2.0/schemas"))))))
           (delete 'configure))))
     (inputs
      (list alsa-lib glib gtk))

base-commit: 65dc2d40cb113382fb98796f1d04099f28cab355
-- 
2.41.0





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

* bug#68798: [PATCH] gnu: alsa-scarlett-gui: Wrap with GSETTINGS_SCHEMA_DIR.
  2024-01-29 15:10 [bug#68798] [PATCH] gnu: alsa-scarlett-gui: Wrap with GSETTINGS_SCHEMA_DIR Robby Zambito
@ 2024-02-20  9:19 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2024-02-20  9:19 UTC (permalink / raw)
  To: Robby Zambito; +Cc: 68798-done

Robby Zambito <contact@robbyzambito.me> skribis:

> * gnu/packages/music.scm (alsa-scarlett-gui)[arguments]: Wrap with
> GSETTINGS_SCHEMA_DIR.

Applied, thanks!




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

end of thread, other threads:[~2024-02-20  9:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-29 15:10 [bug#68798] [PATCH] gnu: alsa-scarlett-gui: Wrap with GSETTINGS_SCHEMA_DIR Robby Zambito
2024-02-20  9:19 ` bug#68798: " Ludovic Courtès

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).