GNU bug report logs -
#76572
[PATCH 0/4] Fixes for gnome-shell-extension-gsconnect
Previous Next
Reported by: aurtzy <aurtzy <at> gmail.com>
Date: Tue, 25 Feb 2025 23:27:01 UTC
Severity: normal
Tags: patch
Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #32 received at 76572 <at> debbugs.gnu.org (full text, mbox):
This fixes an error when attempting to open the gsconnect-preferences
application due to Typelib files not being found.
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-gsconnect):
[arguments]<#:phases>: Wrap gsconnect-preferences with GI_TYPELIB_PATH
environment variable. Rename 'wrap-daemons phase to 'wrap-programs.
Change-Id: Ib330766d46dba00a7c68fa3956b28223f07000f8
---
gnu/packages/gnome-xyz.scm | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
index 1a3a275db5..359dc757fd 100644
--- a/gnu/packages/gnome-xyz.scm
+++ b/gnu/packages/gnome-xyz.scm
@@ -778,13 +778,16 @@ (define-public gnome-shell-extension-gsconnect
"prepend_search_path(path));\n"))
(dump-port input output))))
'("src/extension.js" "src/prefs.js")))))
- (add-after 'install 'wrap-daemons
+ (add-after 'install 'wrap-programs
(lambda _
(let* ((out #$output)
- (service-dir
- (string-append out "/share/gnome-shell/extensions"
- "/gsconnect <at> andyholmes.github.io/service"))
+ (gsconnect-dir (string-append
+ out "/share/gnome-shell/extensions"
+ "/gsconnect <at> andyholmes.github.io"))
+ (service-dir (string-append gsconnect-dir "/service"))
(gi-typelib-path (getenv "GI_TYPELIB_PATH")))
+ (wrap-program (string-append gsconnect-dir "/gsconnect-preferences")
+ `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
(wrap-program (string-append service-dir "/daemon.js")
`("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))))))))
(inputs
--
2.48.1
This bug report was last modified 76 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.