pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

blueprint-compiler: add new package



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By:	wiz
Date:		Wed Aug 3 23:47:21 2022 +0200
Changeset:	5acae35aa4e30d35f5c311a5044e62f52feb902c

Modified Files:
	Makefile
Added Files:
	blueprint-compiler/DESCR
	blueprint-compiler/Makefile
	blueprint-compiler/PLIST
	blueprint-compiler/distinfo

Log Message:
blueprint-compiler: add new package

GtkBuilder XML format is quite verbose, and many app developers
don't like using WYSIWYG editors for creating UIs. Blueprint files
are intended to be a concise, easy-to-read format that makes it
easier to create and edit GTK UIs.

Internally, it compiles to GtkBuilder XML as part of an app's build
system. It adds no new features, just makes the features that exist
more accessible.

Another goal is to have excellent developer tooling--including a
language server--so that less knowledge of the format is required.
Hopefully this will increase adoption of cool advanced features
like GtkExpression.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5acae35aa4e30d35f5c311a5044e62f52feb902c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                    |  3 +++
 blueprint-compiler/DESCR    | 13 +++++++++++++
 blueprint-compiler/Makefile | 26 ++++++++++++++++++++++++++
 blueprint-compiler/PLIST    | 41 +++++++++++++++++++++++++++++++++++++++++
 blueprint-compiler/distinfo |  5 +++++
 5 files changed, 88 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 72db772774..290599b803 100644
--- a/Makefile
+++ b/Makefile
@@ -286,6 +286,7 @@ SUBDIR+=	blasr_libcpp
 SUBDIR+=	blast2go
 SUBDIR+=	bleachbit
 SUBDIR+=	blink
+SUBDIR+=	blueprint-compiler
 SUBDIR+=	blueproxy
 SUBDIR+=	bluez
 SUBDIR+=	bluez-alsa
@@ -2318,6 +2319,7 @@ SUBDIR+=	mac-robber
 SUBDIR+=	macaulay2
 SUBDIR+=	mackerel-agent
 SUBDIR+=	mackerel-agent-plugins
+SUBDIR+=	macos-libptytty
 SUBDIR+=	macro11
 SUBDIR+=	madonctl
 SUBDIR+=	magit-git
@@ -3781,6 +3783,7 @@ SUBDIR+=	py-exocode
 SUBDIR+=	py-expander
 SUBDIR+=	py-expression
 SUBDIR+=	py-extremes
+SUBDIR+=	py-face
 SUBDIR+=	py-factory-boy
 SUBDIR+=	py-fancyimpute
 SUBDIR+=	py-fanova
diff --git a/blueprint-compiler/DESCR b/blueprint-compiler/DESCR
new file mode 100644
index 0000000000..fc4af6ada7
--- /dev/null
+++ b/blueprint-compiler/DESCR
@@ -0,0 +1,13 @@
+GtkBuilder XML format is quite verbose, and many app developers
+don't like using WYSIWYG editors for creating UIs. Blueprint files
+are intended to be a concise, easy-to-read format that makes it
+easier to create and edit GTK UIs.
+
+Internally, it compiles to GtkBuilder XML as part of an app's build
+system. It adds no new features, just makes the features that exist
+more accessible.
+
+Another goal is to have excellent developer tooling--including a
+language server--so that less knowledge of the format is required.
+Hopefully this will increase adoption of cool advanced features
+like GtkExpression.
diff --git a/blueprint-compiler/Makefile b/blueprint-compiler/Makefile
new file mode 100644
index 0000000000..e354b54a89
--- /dev/null
+++ b/blueprint-compiler/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD$
+
+DISTNAME=	blueprint-compiler-v0.2.0
+PKGNAME=	${DISTNAME:S,-v,-,}
+CATEGORIES=	devel
+MASTER_SITES=	https://gitlab.gnome.org/jwestman/blueprint-compiler/-/archive/v${PKGVERSION_NOREV}/
+EXTRACT_SUFX=	.tar.bz2
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://jwestman.pages.gitlab.gnome.org/blueprint-compiler/index.html
+COMMENT=	Markup language and compiler for GTK 4 user interfaces
+LICENSE=	gnu-lgpl-v3
+
+DEPENDS+=	${PYPKGPREFIX}-gobject3-[0-9]*:../../devel/py-gobject3
+
+USE_TOOLS+=	pkg-config
+USE_LANGUAGES=	# none
+
+REPLACE_PYTHON+=	blueprint-compiler.py
+
+PKGCONFIG_OVERRIDE+=	blueprint-compiler.pc.in
+
+.include "../../devel/meson/build.mk"
+.include "../../lang/python/application.mk"
+.include "../../lang/python/tool.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/blueprint-compiler/PLIST b/blueprint-compiler/PLIST
new file mode 100644
index 0000000000..20ff41716a
--- /dev/null
+++ b/blueprint-compiler/PLIST
@@ -0,0 +1,41 @@
+@comment $NetBSD$
+bin/blueprint-compiler
+share/blueprint-compiler/blueprintcompiler/__init__.py
+share/blueprint-compiler/blueprintcompiler/ast_utils.py
+share/blueprint-compiler/blueprintcompiler/completions.py
+share/blueprint-compiler/blueprintcompiler/completions_utils.py
+share/blueprint-compiler/blueprintcompiler/decompiler.py
+share/blueprint-compiler/blueprintcompiler/errors.py
+share/blueprint-compiler/blueprintcompiler/gir.py
+share/blueprint-compiler/blueprintcompiler/interactive_port.py
+share/blueprint-compiler/blueprintcompiler/language/__init__.py
+share/blueprint-compiler/blueprintcompiler/language/attributes.py
+share/blueprint-compiler/blueprintcompiler/language/common.py
+share/blueprint-compiler/blueprintcompiler/language/gobject_object.py
+share/blueprint-compiler/blueprintcompiler/language/gobject_property.py
+share/blueprint-compiler/blueprintcompiler/language/gobject_signal.py
+share/blueprint-compiler/blueprintcompiler/language/gtk_a11y.py
+share/blueprint-compiler/blueprintcompiler/language/gtk_combo_box_text.py
+share/blueprint-compiler/blueprintcompiler/language/gtk_file_filter.py
+share/blueprint-compiler/blueprintcompiler/language/gtk_layout.py
+share/blueprint-compiler/blueprintcompiler/language/gtk_menu.py
+share/blueprint-compiler/blueprintcompiler/language/gtk_size_group.py
+share/blueprint-compiler/blueprintcompiler/language/gtk_string_list.py
+share/blueprint-compiler/blueprintcompiler/language/gtk_styles.py
+share/blueprint-compiler/blueprintcompiler/language/gtkbuilder_child.py
+share/blueprint-compiler/blueprintcompiler/language/gtkbuilder_template.py
+share/blueprint-compiler/blueprintcompiler/language/imports.py
+share/blueprint-compiler/blueprintcompiler/language/response_id.py
+share/blueprint-compiler/blueprintcompiler/language/ui.py
+share/blueprint-compiler/blueprintcompiler/language/values.py
+share/blueprint-compiler/blueprintcompiler/lsp.py
+share/blueprint-compiler/blueprintcompiler/lsp_utils.py
+share/blueprint-compiler/blueprintcompiler/main.py
+share/blueprint-compiler/blueprintcompiler/parse_tree.py
+share/blueprint-compiler/blueprintcompiler/parser.py
+share/blueprint-compiler/blueprintcompiler/parser_utils.py
+share/blueprint-compiler/blueprintcompiler/tokenizer.py
+share/blueprint-compiler/blueprintcompiler/utils.py
+share/blueprint-compiler/blueprintcompiler/xml_emitter.py
+share/blueprint-compiler/blueprintcompiler/xml_reader.py
+share/pkgconfig/blueprint-compiler.pc
diff --git a/blueprint-compiler/distinfo b/blueprint-compiler/distinfo
new file mode 100644
index 0000000000..ea55392be8
--- /dev/null
+++ b/blueprint-compiler/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (blueprint-compiler-v0.2.0.tar.bz2) = 2a0592851113c1866db6cf490a2a94d9cbfd5db180cf35b14d3251fd905b55e2
+SHA512 (blueprint-compiler-v0.2.0.tar.bz2) = dfb16354a13a18c0e6db52dc0b88ab7339fbf3eb56541d0a273551c009c7f05c651d41814397986ef2cebdefb6d4e57d0eb3690dd2a7a9eebfb0cfb23e96e3e6
+Size (blueprint-compiler-v0.2.0.tar.bz2) = 45480 bytes


Home | Main Index | Thread Index | Old Index