GNU bug report logs - #37091
[PATCH] gnu: Add template-glib.

Previous Next

Package: guix-patches;

Reported by: Giacomo Leidi <goodoldpaul <at> autistici.org>

Date: Mon, 19 Aug 2019 23:13:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 37091 in the body.
You can then email your comments to 37091 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#37091; Package guix-patches. (Mon, 19 Aug 2019 23:13:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Giacomo Leidi <goodoldpaul <at> autistici.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 19 Aug 2019 23:13:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Giacomo Leidi <goodoldpaul <at> autistici.org>
To: guix-patches <at> gnu.org
Cc: Giacomo Leidi <goodoldpaul <at> autistici.org>
Subject: [PATCH] gnu: Add template-glib.
Date: Tue, 20 Aug 2019 01:12:11 +0200
* gnu/packages/glib.scm (template-glib): New variable.
---
 gnu/packages/glib.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index ab9ed0b1bf..3e16c62f53 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -9,6 +9,7 @@
 ;;; Copyright © 2017 Petter <petter <at> mykolab.ch>
 ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me <at> tobias.gr>
 ;;; Copyright © 2018 Alex Vong <alexvong1995 <at> gmail.com>
+;;; Copyright © 2019 Giacomo Leidi <goodoldpaul <at> autistici.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -891,3 +892,41 @@ main loop, simply get a connection to the bus via the methods in
 @code{Net::DBus::GLib} rather than the usual @code{Net::DBus} module.  Every
 other API remains the same.")
     (license license:gpl2+)))
+
+(define-public template-glib
+  (package
+    (name "template-glib")
+    (version "3.32.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://gnome/sources/" name "/"
+                                  (version-major+minor version) "/"
+                                  name "-" version ".tar.xz"))
+              (sha256
+               (base32
+                "1g0zx0sxpw8kqp7p3sgl9kngaqrg9xl6cir24nrahks0vgsk98rr"))))
+    (build-system meson-build-system)
+    (arguments
+     `(#:configure-flags '("-D" "enable_gtk_doc=true")))
+    (inputs
+     `(("gettext" ,gettext-minimal)
+       ("glib" ,glib)
+       ("gobject-introspection" ,gobject-introspection)))
+    (native-inputs
+     `(("bison" ,bison)
+       ("flex" ,flex)
+       ("glib:bin" ,glib "bin") ;; For glib-mkenums
+       ("gtk-doc" ,gtk-doc)
+       ("pkg-config" ,pkg-config)
+       ("vala" ,vala)))
+    (home-page "https://gitlab.gnome.org/GNOME/template-glib")
+    (synopsis "Library for template expansion which supports calling into
+GObject Introspection from templates")
+    (description
+     "Template-GLib is a library to help you generate text based on a template and
+user defined state.  Template-GLib does not use a language runtime, so it is
+safe to use from any GObject-Introspectable language.
+
+Template-GLib allows you to access properties on GObjects as well as call
+simple methods via GObject-Introspection.")
+    (license license:lgpl2.1+)))
-- 
2.23.0





Information forwarded to guix-patches <at> gnu.org:
bug#37091; Package guix-patches. (Mon, 26 Aug 2019 19:01:02 GMT) Full text and rfc822 format available.

Message #8 received at 37091 <at> debbugs.gnu.org (full text, mbox):

From: goodoldpaul <at> autistici.org
To: 37091 <at> debbugs.gnu.org
Subject: Re: [PATCH] gnu: Add template-glib.
Date: Mon, 26 Aug 2019 19:00:25 +0000
Friendly ping ;) .

Thanks

Giacomo




Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Tue, 27 Aug 2019 10:46:02 GMT) Full text and rfc822 format available.

Notification sent to Giacomo Leidi <goodoldpaul <at> autistici.org>:
bug acknowledged by developer. (Tue, 27 Aug 2019 10:46:02 GMT) Full text and rfc822 format available.

Message #13 received at 37091-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Giacomo Leidi <goodoldpaul <at> autistici.org>
Cc: 37091-done <at> debbugs.gnu.org
Subject: Re: [bug#37091] [PATCH] gnu: Add template-glib.
Date: Tue, 27 Aug 2019 12:45:49 +0200
[Message part 1 (text/plain, inline)]
Hello,

Giacomo Leidi <goodoldpaul <at> autistici.org> skribis:

> * gnu/packages/glib.scm (template-glib): New variable.

Applied with the tiny change below, to make the synopsis shorter.

Thanks,
Ludo’.

[Message part 2 (text/x-patch, inline)]
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index 3e16c62f53..77b5715eb0 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -920,8 +920,7 @@ other API remains the same.")
        ("pkg-config" ,pkg-config)
        ("vala" ,vala)))
     (home-page "https://gitlab.gnome.org/GNOME/template-glib")
-    (synopsis "Library for template expansion which supports calling into
-GObject Introspection from templates")
+    (synopsis "Library for template expansion")
     (description
      "Template-GLib is a library to help you generate text based on a template and
 user defined state.  Template-GLib does not use a language runtime, so it is

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 24 Sep 2019 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 210 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.