GNU bug report logs - #57497
[PATCH] gnu: Add blueprint-compiler

Previous Next

Package: guix-patches;

Reported by: Ahriman <ahriman <at> fedora.email>

Date: Wed, 31 Aug 2022 06:51:02 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 57497 in the body.
You can then email your comments to 57497 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#57497; Package guix-patches. (Wed, 31 Aug 2022 06:51:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ahriman <ahriman <at> fedora.email>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 31 Aug 2022 06:51:02 GMT) Full text and rfc822 format available.

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

From: Ahriman <ahriman <at> fedora.email>
To: guix-patches <at> gnu.org
Cc: Ahriman <ahriman <at> fedora.email>
Subject: [PATCH] gnu: Add blueprint-compiler
Date: Wed, 31 Aug 2022 04:21:15 +0100
---
 gnu/packages/blueprint-compiler.scm | 35 +++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 gnu/packages/blueprint-compiler.scm

diff --git a/gnu/packages/blueprint-compiler.scm b/gnu/packages/blueprint-compiler.scm
new file mode 100644
index 0000000000..299f0b3635
--- /dev/null
+++ b/gnu/packages/blueprint-compiler.scm
@@ -0,0 +1,35 @@
+(define-module (gnu packages blueprint-compiler)
+  #:use-module (guix packages)
+  #:use-module (guix licenses)
+  #:use-module (guix download)
+  #:use-module (gnu packages python)
+  #:use-module (gnu packages glib)
+  #:use-module (guix build-system meson))
+
+(define-public blueprint-compiler
+  (package
+    (name "blueprint-compiler")
+    (version "0.2.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                   "https://gitlab.gnome.org/jwestman/blueprint-compiler/-/archive/v"
+                   version
+                   "/blueprint-compiler-v"
+                   version
+                   ".tar.gz"))
+              (sha256
+               (base32
+                "10qd9bax2n83n0pmmsbb55rjdsm7g5pvj2lxh460dl78jm649rfl"))))
+    (build-system meson-build-system)
+    (arguments `(#:tests? #f))
+    (native-inputs (list gobject-introspection))
+    (inputs (list python))
+    (synopsis "Markup language compiler for GTK user interface files")
+    (description
+     "This package provides the compiler for the blueprint markup language for
+GTK user interfaces")
+    (home-page "https://gitlab.gnome.org/jwestman/blueprint-compiler")
+    (license gpl3+)))
+
+blueprint-compiler
-- 
2.37.2





Information forwarded to guix-patches <at> gnu.org:
bug#57497; Package guix-patches. (Wed, 31 Aug 2022 14:43:01 GMT) Full text and rfc822 format available.

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

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Ahriman <ahriman <at> fedora.email>, 57497 <at> debbugs.gnu.org
Subject: Re: [PATCH] gnu: Add blueprint-compiler
Date: Wed, 31 Aug 2022 16:42:30 +0200
Hi Ahriman,

Am Mittwoch, dem 31.08.2022 um 04:21 +0100 schrieb Ahriman:
> ---
>  gnu/packages/blueprint-compiler.scm | 35
Missing a ChangeLog.  Also, you don't need an extra file, insert it
into gnome.scm after glade.

> +++++++++++++++++++++++++++++
>  1 file changed, 35 insertions(+)
>  create mode 100644 gnu/packages/blueprint-compiler.scm
> 
> diff --git a/gnu/packages/blueprint-compiler.scm
> b/gnu/packages/blueprint-compiler.scm
> new file mode 100644
> index 0000000000..299f0b3635
> --- /dev/null
> +++ b/gnu/packages/blueprint-compiler.scm
> @@ -0,0 +1,35 @@
> +(define-module (gnu packages blueprint-compiler)
> +  #:use-module (guix packages)
> +  #:use-module (guix licenses)
> +  #:use-module (guix download)
> +  #:use-module (gnu packages python)
> +  #:use-module (gnu packages glib)
> +  #:use-module (guix build-system meson))
> +
> +(define-public blueprint-compiler
> +  (package
> +    (name "blueprint-compiler")
> +    (version "0.2.0")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append
> +                  
> "https://gitlab.gnome.org/jwestman/blueprint-compiler/-/archive/v"
> +                   version
> +                   "/blueprint-compiler-v"
> +                   version
> +                   ".tar.gz"))
> +              (sha256
> +               (base32
> +               
> "10qd9bax2n83n0pmmsbb55rjdsm7g5pvj2lxh460dl78jm649rfl"))))
git-fetch exists, use it.
> +    (build-system meson-build-system)
> +    (arguments `(#:tests? #f))
Tests are not meant to be ignored.
> +    (native-inputs (list gobject-introspection))
> +    (inputs (list python))
I'm pretty sure you're missing inputs.  On my local stash, I have at
least glib, gtk, and python-pygobject, but even with those I have yet
to get the tests running.
> +    (synopsis "Markup language compiler for GTK user interface files")
I'd suggest shortening this to "Template markup language"
> +    (description
> +     "This package provides the compiler for the blueprint markup
> language for
> +GTK user interfaces")
"Blueprint is a markup language for GTK user interfaces.
Internally, it compiles to GTKBuilder XML."
> +    (home-page
> "https://gitlab.gnome.org/jwestman/blueprint-compiler")
> +    (license gpl3+)))
Are you sure it's not LGPL?


> +blueprint-compiler
You don't need trailing variables.

Cheers





Information forwarded to guix-patches <at> gnu.org:
bug#57497; Package guix-patches. (Wed, 31 Aug 2022 20:01:02 GMT) Full text and rfc822 format available.

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

From: Ahriman <ahriman <at> fedora.email>
To: 57497 <at> debbugs.gnu.org
Cc: Ahriman <ahriman <at> fedora.email>
Subject: [PATCH] gnu: Add blueprint-compiler
Date: Wed, 31 Aug 2022 19:18:49 +0100
* gnu/packages/gnome.scm (blueprint-compiler): New variable.
---
It seems gtk was the only dependency missing. Or maybe im building all wrong.

 gnu/packages/gnome.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 251d08ae01..042f009337 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3204,6 +3204,32 @@ (define-public glade3
                                 (variable "GLADE_MODULE_SEARCH_PATH")
                                 (files '("lib/glade/modules")))))))
 
+(define-public blueprint-compiler
+  (let ((commit "87cedc2c7e48b01dc1b07aef937e2fe02111b18c"))
+    (package
+     (name "blueprint-compiler")
+     (version "0.2.0")
+     (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://gitlab.gnome.org/jwestman/blueprint-compiler")
+                    (commit commit)))
+              (file-name (string-append name "-" commit "-checkout"))
+              (sha256
+               (base32
+                "1mrj5dyjf5d325yc28fpph588qfsz6bm2nx5nnsgcv02bagplxid"))))
+     (build-system meson-build-system)
+     (native-inputs (list
+                     gobject-introspection
+                     gtk))
+     (inputs (list python))
+     (synopsis "Template markup language")
+     (description
+      "Blueprint is a markup language for GTK user interfaces.  Internally, it
+compiles to GTKBuilder XML.")
+     (home-page "https://gitlab.gnome.org/jwestman/blueprint-compiler")
+     (license license:lgpl3+))))
+
 (define-public cambalache
   (package
    (name "cambalache")
-- 
2.37.2





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Tue, 06 Sep 2022 14:47:01 GMT) Full text and rfc822 format available.

Notification sent to Ahriman <ahriman <at> fedora.email>:
bug acknowledged by developer. (Tue, 06 Sep 2022 14:47:01 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Ahriman <ahriman <at> fedora.email>
Cc: 57497-done <at> debbugs.gnu.org
Subject: Re: bug#57497: [PATCH] gnu: Add blueprint-compiler
Date: Tue, 06 Sep 2022 16:46:21 +0200
Hi,

Ahriman <ahriman <at> fedora.email> skribis:

> * gnu/packages/gnome.scm (blueprint-compiler): New variable.

I passed it through ‘guix style’ and applied, thanks!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 05 Oct 2022 11:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 204 days ago.

Previous Next


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