unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: 75167@debbugs.gnu.org
Cc: liliana.prikler@gmail.com, maxim.cournoyer@gmail.com,
	vivien@planete-kraus.eu
Subject: [bug#75167] [PATCH gnome-team 1/6] gnu: Add libpeas-2.
Date: Sat, 28 Dec 2024 20:22:21 +0100	[thread overview]
Message-ID: <f06380bc0347bf30b6a22a1a7772696ed0bfebfa.1735418244.git.liliana.prikler@gmail.com> (raw)
In-Reply-To: <cover.1735418244.git.liliana.prikler@gmail.com>

* gnu/packages/gnome.scm (libpeas-2): New variable.
---
 gnu/packages/gnome.scm | 60 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 38d5043ef71..26ebd02e74c 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3173,6 +3173,66 @@ (define-public libnotify
 some form of information without getting in the user's way.")
     (license license:lgpl2.1+)))
 
+(define-public libpeas-2
+  (package
+    (name "libpeas")
+    (version "2.0.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://gnome/sources/" name "/"
+                           (version-major+minor version)  "/"
+                           name "-" version ".tar.xz"))
+       (sha256
+        (base32
+         "1pg6km41bp9ayr6z9pi40nc6mkw2ccdxkcdsvl9lxd9isxrjyvrp"))))
+    (build-system meson-build-system)
+    (arguments
+     (list
+      #:configure-flags #~'("-Dvapi=true" "-Dgtk_doc=true"
+                            ;; XXX: fails to find lua-lgi
+                            "-Dlua51=false")
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'check 'start-xserver
+            (lambda* (#:key inputs #:allow-other-keys)
+              (let ((disp ":1"))
+                (setenv "DISPLAY" disp)
+                (setenv "XDG_CACHE_HOME" "/tmp/xdg-cache")
+                (setenv "XDG_CONFIG_HOME" "/tmp")
+                ;; Tests require a running X server.
+                (system (format #f "~a ~a &"
+                                (search-input-file inputs "bin/Xvfb")
+                                disp))))))))
+    (inputs
+     (list gtk
+           gjs
+           glade3
+           ;; lua-5.1
+           ;; lua5.1-lgi
+           python
+           python-pygobject))
+    (native-inputs
+     (list pkg-config
+           gettext-minimal
+           gi-docgen
+           `(,glib "bin")
+           gobject-introspection
+           xorg-server-for-tests
+           vala))
+    (propagated-inputs
+     ;; The .pc file "Requires" gobject-introspection.
+     (list glib gobject-introspection))
+    (home-page "https://wiki.gnome.org/Projects/Libpeas")
+    (synopsis "GObject plugin system")
+    (description
+     "Libpeas is a gobject-based plugin engine, targeted at giving every
+application the chance to assume its own extensibility.  It also has a set of
+features including, but not limited to: multiple extension points; on-demand
+(lazy) programming language support for C, Python and JS; simplicity of the
+API.")
+    (license license:lgpl2.0+)))
+
 (define-public libpeas
   (package
     (name "libpeas")
-- 
2.46.0





  reply	other threads:[~2024-12-28 21:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-28 20:37 [bug#75167] [PATCH gnome-team 0/6] Update GNOME Builder to 47.2 Liliana Marie Prikler
2024-12-28 19:22 ` Liliana Marie Prikler [this message]
2024-12-29  3:29   ` [bug#75167] [PATCH gnome-team 1/6] gnu: Add libpeas-2 Maxim Cournoyer
2024-12-28 19:22 ` [bug#75167] [PATCH gnome-team 2/6] gnu: jsonrpc-glib: Update to 3.44.1 Liliana Marie Prikler
2024-12-28 19:23 ` [bug#75167] [PATCH gnome-team 3/6] gnu: libdex: Update to 0.8.1 Liliana Marie Prikler
2024-12-28 20:34 ` [bug#75167] [PATCH gnome-team 4/6] gnu: gom: Update to 0.5.3 Liliana Marie Prikler
2024-12-28 20:34 ` [bug#75167] [PATCH gnome-team 5/6] gnu: Add libspelling Liliana Marie Prikler
2024-12-29  4:34   ` Maxim Cournoyer
2024-12-28 20:35 ` [bug#75167] [PATCH gnome-team 6/6] gnu: gnome-builder: Update to 47.2 Liliana Marie Prikler
2024-12-29  4:38   ` Maxim Cournoyer
2024-12-29  4:38 ` [bug#75167] [PATCH gnome-team 0/6] Update GNOME Builder " Maxim Cournoyer
2024-12-29  8:31   ` bug#75167: " Liliana Marie Prikler
2024-12-30  2:49     ` [bug#75167] " Maxim Cournoyer

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=f06380bc0347bf30b6a22a1a7772696ed0bfebfa.1735418244.git.liliana.prikler@gmail.com \
    --to=liliana.prikler@gmail.com \
    --cc=75167@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 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).