unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Cyril Roelandt <tipecaml@gmail.com>
To: guix-devel@gnu.org
Subject: [PATCH 3/6 v2] gnu: Add libpeas.
Date: Sun,  8 Dec 2013 21:33:09 +0100	[thread overview]
Message-ID: <1386534789-17655-1-git-send-email-tipecaml@gmail.com> (raw)
In-Reply-To: <87d2lgp6d9.fsf@gnu.org>

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

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 713b64f..6b852fb 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -355,3 +355,67 @@ notification daemon, as defined in the Desktop Notifications spec. These
 notifications can be used to inform the user about an event or display
 some form of information without getting in the user's way.")
     (license lgpl2.1+)))
+
+(define-public libpeas
+  (package
+    (name "libpeas")
+    (version "1.9.0")
+    (source
+     (origin
+      (method url-fetch)
+      (uri (string-append "mirror://gnome/sources/" name "/"
+                          (string-copy version 0 (string-rindex version #\.)) "/"
+                          name "-" version ".tar.xz"))
+      (sha256
+       (base32
+        "13fzyzv6c0cfdj83z1s16lv8k997wpnzyzr0wfwcfkcmvz64g1q0"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:modules ((guix build gnome)
+                  (guix build gnu-build-system)
+                  (guix build utils))
+       #:imported-modules ((guix build gnome)
+                           (guix build gnu-build-system)
+                           (guix build utils))
+       #:phases
+        (alist-replace
+         'configure
+         (lambda* (#:key inputs #:allow-other-keys #:rest args)
+          (let ((configure (assoc-ref %standard-phases 'configure)))
+           (substitute* "libpeas-gtk/Makefile.in"
+            (("--add-include-path")
+             (string-append
+               " --add-include-path=" (gir-path inputs "atk")
+               " --add-include-path=" (gir-path inputs "gdk-pixbuf")
+               " --add-include-path=" (gir-path inputs "gtk+")
+               " --add-include-path=" (gir-path inputs "pango")
+               " --add-include-path")))
+           (substitute* "libpeas-gtk/Makefile.in"
+            (("--includedir=\\$\\(top_builddir")
+             (string-append
+              " --includedir=" (gir-path inputs "atk")
+              " --includedir=" (gir-path inputs "gdk-pixbuf")
+              " --includedir=" (gir-path inputs "gtk+")
+              " --includedir=" (gir-path inputs "pango")
+              " --includedir=$(top_builddir")))
+           (apply configure args)))
+         %standard-phases)))
+    (inputs
+     `(("atk" ,atk)
+       ("gdk-pixbuf" ,gdk-pixbuf)
+       ("glib" ,glib)
+       ("gobject-introspection" ,gobject-introspection)
+       ("gtk+" ,gtk+)
+       ("intltool" ,intltool)
+       ("pango" ,pango)
+       ("pkg-config" ,pkg-config)))
+    (home-page "https://wiki.gnome.org/Libpeas")
+    (synopsis "GObject plugin system")
+    (description
+     "libpeas is a gobject-based plugins engine, and is targetted 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 lgpl2.0+)))
-- 
1.8.4.rc3

  reply	other threads:[~2013-12-08 20:32 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-30  1:13 [PATCH 0/6] Add eog Cyril Roelandt
2013-11-30  1:13 ` [PATCH 1/6] gnu: gobject-introspection: look for 'gcc' when no compiler seems available Cyril Roelandt
2013-11-30 21:59   ` Ludovic Courtès
2013-12-01  3:15     ` Cyril Roelandt
2013-12-01 22:11       ` Ludovic Courtès
2013-11-30  1:13 ` [PATCH 2/6] gnu: gtk+: enable introspection Cyril Roelandt
2013-11-30 22:01   ` Ludovic Courtès
2013-12-01  3:43     ` Cyril Roelandt
2013-12-01 22:12       ` Ludovic Courtès
2013-12-07 15:11         ` Cyril Roelandt
2013-12-07 15:27           ` Ludovic Courtès
2013-12-08 20:32             ` [PATCH 2/6 v2] " Cyril Roelandt
2013-12-08 23:53               ` Ludovic Courtès
2013-12-10 23:43                 ` [PATCH 2/6 v3] " Cyril Roelandt
2013-12-11 21:09                   ` Ludovic Courtès
2013-11-30  1:13 ` [PATCH 3/6] gnu: Add libpeas Cyril Roelandt
2013-11-30 22:03   ` Ludovic Courtès
2013-12-01  3:45     ` Cyril Roelandt
2013-12-01 22:13       ` Ludovic Courtès
2013-12-08 20:33         ` Cyril Roelandt [this message]
2013-12-08 23:55           ` [PATCH 3/6 v2] " Ludovic Courtès
2013-12-10 23:44             ` [PATCH 3/6 v6] " Cyril Roelandt
2013-12-11 21:10               ` Ludovic Courtès
2013-11-30  1:13 ` [PATCH 4/6] gnu: Add iso-codes Cyril Roelandt
2013-11-30 22:05   ` Ludovic Courtès
2013-12-01  3:47     ` Cyril Roelandt
2013-12-01 22:13       ` Ludovic Courtès
2013-12-08 20:33         ` [PATCH 4/6 v2] " Cyril Roelandt
2013-12-08 23:55           ` Ludovic Courtès
2013-11-30  1:13 ` [PATCH 5/6] gnu: Add gnome-desktop Cyril Roelandt
2013-11-30 22:07   ` Ludovic Courtès
2013-12-08 20:34     ` [PATCH 5/6 v2] " Cyril Roelandt
2013-12-08 23:57       ` Ludovic Courtès
2013-12-09  0:06         ` Cyril Roelandt
2013-12-09 17:34           ` Ludovic Courtès
2013-12-10 23:44             ` [PATCH 5/6 v3] " Cyril Roelandt
2013-12-11 21:11               ` Ludovic Courtès
2013-12-12  6:07                 ` John Darrington
2013-12-12 21:22                   ` Ludovic Courtès
2013-11-30  1:13 ` [PATCH 6/6] gnu: Add eog Cyril Roelandt
2013-11-30 22:06   ` Ludovic Courtès

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=1386534789-17655-1-git-send-email-tipecaml@gmail.com \
    --to=tipecaml@gmail.com \
    --cc=guix-devel@gnu.org \
    /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).