From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:45636) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hzqpj-00080x-Ln for guix-patches@gnu.org; Mon, 19 Aug 2019 19:13:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hzqpi-0006UY-DM for guix-patches@gnu.org; Mon, 19 Aug 2019 19:13:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51802) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hzqph-0006UL-UB for guix-patches@gnu.org; Mon, 19 Aug 2019 19:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hzqph-0007cI-NP for guix-patches@gnu.org; Mon, 19 Aug 2019 19:13:01 -0400 Subject: [bug#37091] [PATCH] gnu: Add template-glib. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:45588) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hzqpM-00080a-DK for guix-patches@gnu.org; Mon, 19 Aug 2019 19:12:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hzqpI-0006FU-F4 for guix-patches@gnu.org; Mon, 19 Aug 2019 19:12:40 -0400 Received: from devianza.investici.org ([198.167.222.108]:30293) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hzqpI-0006EA-6G for guix-patches@gnu.org; Mon, 19 Aug 2019 19:12:36 -0400 From: Giacomo Leidi Date: Tue, 20 Aug 2019 01:12:11 +0200 Message-Id: <20190819231211.11154-1-goodoldpaul@autistici.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 37091@debbugs.gnu.org * 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 =C2=A9 2017 Petter ;;; Copyright =C2=A9 2018, 2019 Tobias Geerinckx-Rice ;;; Copyright =C2=A9 2018 Alex Vong +;;; Copyright =C2=A9 2019 Giacomo Leidi ;;; ;;; This file is part of GNU Guix. ;;; @@ -891,3 +892,41 @@ main loop, simply get a connection to the bus via th= e methods in @code{Net::DBus::GLib} rather than the usual @code{Net::DBus} module. E= very 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=3Dtrue"))) + (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 int= o +GObject Introspection from templates") + (description + "Template-GLib is a library to help you generate text based on a te= mplate and +user defined state. Template-GLib does not use a language runtime, so i= t is +safe to use from any GObject-Introspectable language. + +Template-GLib allows you to access properties on GObjects as well as cal= l +simple methods via GObject-Introspection.") + (license license:lgpl2.1+))) --=20 2.23.0