* [bug#57497] [PATCH] gnu: Add blueprint-compiler
@ 2022-08-31 3:21 Ahriman via Guix-patches via
2022-08-31 14:42 ` Liliana Marie Prikler
2022-08-31 18:18 ` Ahriman via Guix-patches via
0 siblings, 2 replies; 4+ messages in thread
From: Ahriman via Guix-patches via @ 2022-08-31 3:21 UTC (permalink / raw)
To: 57497; +Cc: Ahriman
---
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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#57497] [PATCH] gnu: Add blueprint-compiler
2022-08-31 3:21 [bug#57497] [PATCH] gnu: Add blueprint-compiler Ahriman via Guix-patches via
@ 2022-08-31 14:42 ` Liliana Marie Prikler
2022-08-31 18:18 ` Ahriman via Guix-patches via
1 sibling, 0 replies; 4+ messages in thread
From: Liliana Marie Prikler @ 2022-08-31 14:42 UTC (permalink / raw)
To: Ahriman, 57497
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#57497] [PATCH] gnu: Add blueprint-compiler
2022-08-31 3:21 [bug#57497] [PATCH] gnu: Add blueprint-compiler Ahriman via Guix-patches via
2022-08-31 14:42 ` Liliana Marie Prikler
@ 2022-08-31 18:18 ` Ahriman via Guix-patches via
2022-09-06 14:46 ` bug#57497: " Ludovic Courtès
1 sibling, 1 reply; 4+ messages in thread
From: Ahriman via Guix-patches via @ 2022-08-31 18:18 UTC (permalink / raw)
To: 57497; +Cc: Ahriman
* 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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* bug#57497: [PATCH] gnu: Add blueprint-compiler
2022-08-31 18:18 ` Ahriman via Guix-patches via
@ 2022-09-06 14:46 ` Ludovic Courtès
0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2022-09-06 14:46 UTC (permalink / raw)
To: Ahriman; +Cc: 57497-done
Hi,
Ahriman <ahriman@fedora.email> skribis:
> * gnu/packages/gnome.scm (blueprint-compiler): New variable.
I passed it through ‘guix style’ and applied, thanks!
Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-09-06 14:56 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-31 3:21 [bug#57497] [PATCH] gnu: Add blueprint-compiler Ahriman via Guix-patches via
2022-08-31 14:42 ` Liliana Marie Prikler
2022-08-31 18:18 ` Ahriman via Guix-patches via
2022-09-06 14:46 ` bug#57497: " 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.