all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: 75470@debbugs.gnu.org
Cc: liliana.prikler@gmail.com, maxim.cournoyer@gmail.com,
	vivien@planete-kraus.eu
Subject: [bug#75470] [PATCH gnome-team 01/59] gnu: gjs: Wrap GI_TYPELIB_PATH to include necessary typelibs.
Date: Thu, 9 Jan 2025 22:38:02 +0100	[thread overview]
Message-ID: <b5465ebee7623584a95b27da0d5aca6d403e9968.1736458798.git.liliana.prikler@gmail.com> (raw)
In-Reply-To: <cover.1736458798.git.liliana.prikler@gmail.com>

Some packages, like gnome-maps rely on being able to patch the GIRepository
search path from inside gjs.  For this to work, however, gjs must be able to
load GIRepository, needing both glib and gobject-introspection to do so.

* gnu/packages/gnome.scm (gjs)[#:phases]: Add ‘wrap-gi’.
---
 gnu/packages/gnome.scm | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index dd61b544d5..134b1b75ac 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -7922,7 +7922,20 @@ (define-public gjs
              (setenv "DISPLAY" ":1")
 
              ;; For the missing /etc/machine-id.
-             (setenv "DBUS_FATAL_WARNINGS" "0"))))))
+             (setenv "DBUS_FATAL_WARNINGS" "0")))
+         (add-after 'install 'wrap-gi
+           (lambda* (#:key inputs outputs #:allow-other-keys)
+             (wrap-program (string-append (assoc-ref outputs "out")
+                                          "/bin/gjs")
+               `("GI_TYPELIB_PATH" suffix
+                 (,(dirname
+                    (search-input-file
+                     inputs
+                     "lib/girepository-1.0/GObject-2.0.typelib"))
+                  ,(dirname
+                    (search-input-file
+                     inputs
+                     "lib/girepository-1.0/GIRepository-2.0.typelib"))))))))))
     (native-inputs
      (list `(,glib "bin")               ;for glib-compile-resources
            pkg-config
-- 
2.47.1





  parent reply	other threads:[~2025-01-09 22:31 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-09 21:39 [bug#75470] [PATCH gnome-team 00/59] To 46.7 and beyond Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 02/59] gnu: gmobile: Update to 0.2.1 Liliana Marie Prikler
2025-01-09 21:38 ` Liliana Marie Prikler [this message]
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 06/59] gnu: gexiv2: Update to 0.14.3 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 03/59] gnu: feedbackd: Update to 0.6.0 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 05/59] gnu: colord-gtk: Update to 0.3.1 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 07/59] gnu: gnome-autoar: Update to 0.4.5 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 10/59] gnu: gupnp: Update to 1.6.7 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 09/59] gnu: gtksourceview-4: Update to 4.8.4 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 08/59] gnu: gnome-online-accounts: Update to 3.50.7 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 04/59] gnu: cairomm: Update to 1.18.0 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 12/59] gnu: libgweather: Update to 4.4.4 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 14/59] gnu: mobile-broadband-provider-info: Update to 20240407 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 16/59] gnu: uhttpmock: Use G-Expressions Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 19/59] gnu: osinfo-db: Update to 20240701 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 13/59] gnu: libvirt: Update to 10.10.0 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 17/59] gnu: Add msgraph Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 18/59] gnu: gvfs: Update to 1.56.1 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 15/59] gnu: uhttpmock: Update to 0.11.0 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 11/59] gnu: libgsf: Update to 1.14.53 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 20/59] gnu: osinfo-db-tools: Update to 1.12.0 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 29/59] gnu: appstream-glib: Update to 0.8.3 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 27/59] gnu: liburing: Update to 2.8 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 30/59] gnu: gdk-pixbuf: Update to 2.42.12 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 21/59] gnu: plymouth: Update to 24.004.60 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 23/59] gnu: vte: Update to 0.78.2 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 28/59] gnu: webp-pixbuf-loader: Update to 0.2.7 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 31/59] gnu: glibmm: Update to 2.82.0 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 24/59] gnu: adwaita-icon-theme: Update to 46.2 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 26/59] gnu: libmanette: Update to 0.2.9 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 32/59] gnu: glib-networking: Update to 2.78.1 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 25/59] gnu: gcr: Update to 4.2.1 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 22/59] gnu: usbredir: Update to 0.14.0 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 39/59] gnu: libdvdread: Update to 6.1.3 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 35/59] gnu: gsettings-desktop-schemas: Update to 46.1 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 44/59] gnu: rpcsvc-proto: Update to 1.4.4 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 36/59] gnu: hwdata: Update to 0.391 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 38/59] gnu: libcloudproviders-minimal: Update to 0.3.6 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 41/59] gnu: libsoup-minimal: Add upstream-name Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 42/59] gnu: libsoup-minimal: Update to 3.6.1 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 37/59] gnu: libbluray: Update to 1.3.4 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 34/59] gnu: graphene: Update to 1.10.8 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 43/59] gnu: openh264: Update to 2.5.0 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 40/59] gnu: libjxl: Update to 0.11.1 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 33/59] gnu: gnome-backgrounds: Update to 46.0 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 53/59] gnu: gnome-music: Update to 46.1 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 55/59] gnu: libgtop: Update to 2.41.3 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 48/59] gnu: gnome-bluetooth: Update to 46.2 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 52/59] gnu: gnome-maps: Update to 46.12 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 46/59] gnu: epiphany: Update to 46.5 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 56/59] gnu: gnome-system-monitor: Update to 46.0 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 49/59] gnu: gnome-control-center: Update to 46.6 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 51/59] gnu: gnome-initial-setup: Update to 46.7 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 45/59] gnu: calls: Update to 46.0 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 57/59] gnu: gnome-user-docs: Update to 46.7 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 50/59] gnu: gnome-disk-utility: Update to 46.1 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 47/59] gnu: evince: Update to 46.3.1 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 54/59] gnu: gnome-remote-desktop: Update to 46.5 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 58/59] gnu: eog: Update to 47.0 Liliana Marie Prikler
2025-01-09 21:38 ` [bug#75470] [PATCH gnome-team 59/59] gnu: totem: Update to 43.1 Liliana Marie Prikler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b5465ebee7623584a95b27da0d5aca6d403e9968.1736458798.git.liliana.prikler@gmail.com \
    --to=liliana.prikler@gmail.com \
    --cc=75470@debbugs.gnu.org \
    --cc=maxim.cournoyer@gmail.com \
    --cc=vivien@planete-kraus.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.