all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#38850] Fix GNOME Characters
@ 2020-01-01 10:59 kanichos
  2020-01-06 14:34 ` bug#38850: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: kanichos @ 2020-01-01 10:59 UTC (permalink / raw)
  To: 38850

GNOME Characters needs Typelib files from GTK and gnome-desktop.

---
 gnu/packages/gnome.scm | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index ad3e78c284..fd21b577c0 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -494,7 +494,13 @@ to other formats.")
         (base32
          "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
     (build-system meson-build-system)
-    (arguments '(#:glib-or-gtk? #t))
+    (arguments `(#:glib-or-gtk? #t
+                 #:phases (modify-phases %standard-phases
+                            (add-after 'install 'wrap
+                              (lambda* (#:key outputs #:allow-other-keys)
+                                (wrap-program (string-append (assoc-ref outputs "out") "/bin/gnome-characters")
+                                  `("GI_TYPELIB_PATH" ":" prefix (,(getenv "GI_TYPELIB_PATH"))))
+                                #t)))))
     (native-inputs
      `(("gettext" ,gettext-minimal)
        ("glib:bin" ,glib "bin")
@@ -504,7 +510,8 @@ to other formats.")
     (inputs
      `(("gjs" ,gjs)
        ("gtk+" ,gtk+)
-       ("libunistring" ,libunistring)))
+       ("libunistring" ,libunistring)
+       ("gnome-desktop" ,gnome-desktop)))
     (home-page "https://wiki.gnome.org/Apps/CharacterMap")
     (synopsis "Find and insert unusual characters")
     (description "Characters is a simple utility application to find
-- 
2.23.0

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

* bug#38850: Fix GNOME Characters
  2020-01-01 10:59 [bug#38850] Fix GNOME Characters kanichos
@ 2020-01-06 14:34 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2020-01-06 14:34 UTC (permalink / raw)
  To: kanichos; +Cc: 38850-done

kanichos@yandex.ru skribis:

> GNOME Characters needs Typelib files from GTK and gnome-desktop.
>
> ---
>  gnu/packages/gnome.scm | 11 +++++++++--
>  1 file changed, 9 insertions(+), 2 deletions(-)

Applied with changes similar to the previous patch.

Thanks,
Ludo’.

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

end of thread, other threads:[~2020-01-06 14:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-01 10:59 [bug#38850] Fix GNOME Characters kanichos
2020-01-06 14:34 ` bug#38850: " Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.