* [bug#37091] [PATCH] gnu: Add template-glib.
@ 2019-08-19 23:12 Giacomo Leidi
2019-08-26 19:00 ` goodoldpaul
2019-08-27 10:45 ` bug#37091: " Ludovic Courtès
0 siblings, 2 replies; 3+ messages in thread
From: Giacomo Leidi @ 2019-08-19 23:12 UTC (permalink / raw)
To: 37091
* 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@mykolab.ch>
;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Alex Vong <alexvong1995@gmail.com>
+;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#37091] [PATCH] gnu: Add template-glib.
2019-08-19 23:12 [bug#37091] [PATCH] gnu: Add template-glib Giacomo Leidi
@ 2019-08-26 19:00 ` goodoldpaul
2019-08-27 10:45 ` bug#37091: " Ludovic Courtès
1 sibling, 0 replies; 3+ messages in thread
From: goodoldpaul @ 2019-08-26 19:00 UTC (permalink / raw)
To: 37091
Friendly ping ;) .
Thanks
Giacomo
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#37091: [PATCH] gnu: Add template-glib.
2019-08-19 23:12 [bug#37091] [PATCH] gnu: Add template-glib Giacomo Leidi
2019-08-26 19:00 ` goodoldpaul
@ 2019-08-27 10:45 ` Ludovic Courtès
1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2019-08-27 10:45 UTC (permalink / raw)
To: Giacomo Leidi; +Cc: 37091-done
[-- Attachment #1: Type: text/plain, Size: 214 bytes --]
Hello,
Giacomo Leidi <goodoldpaul@autistici.org> skribis:
> * gnu/packages/glib.scm (template-glib): New variable.
Applied with the tiny change below, to make the synopsis shorter.
Thanks,
Ludo’.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 669 bytes --]
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-08-27 10:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-19 23:12 [bug#37091] [PATCH] gnu: Add template-glib Giacomo Leidi
2019-08-26 19:00 ` goodoldpaul
2019-08-27 10:45 ` bug#37091: " 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.