pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/blueprint-compiler



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Tue Sep 22 09:04:54 UTC 2026

Added Files:
        pkgsrc/x11/blueprint-compiler: DESCR Makefile PLIST buildlink3.mk
            distinfo
        pkgsrc/x11/blueprint-compiler/patches: patch-meson.build

Log Message:
x11/blueprint-compiler: import blueprint-compiler-0.22.2

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 generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/blueprint-compiler/DESCR \
    pkgsrc/x11/blueprint-compiler/Makefile \
    pkgsrc/x11/blueprint-compiler/PLIST \
    pkgsrc/x11/blueprint-compiler/buildlink3.mk \
    pkgsrc/x11/blueprint-compiler/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/x11/blueprint-compiler/patches/patch-meson.build

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

Added files:

Index: pkgsrc/x11/blueprint-compiler/DESCR
diff -u /dev/null pkgsrc/x11/blueprint-compiler/DESCR:1.1
--- /dev/null   Tue Sep 22 09:04:54 2026
+++ pkgsrc/x11/blueprint-compiler/DESCR Tue Sep 22 09:04:53 2026
@@ -0,0 +1,10 @@
+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.
Index: pkgsrc/x11/blueprint-compiler/Makefile
diff -u /dev/null pkgsrc/x11/blueprint-compiler/Makefile:1.1
--- /dev/null   Tue Sep 22 09:04:54 2026
+++ pkgsrc/x11/blueprint-compiler/Makefile      Tue Sep 22 09:04:53 2026
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2026/09/22 09:04:53 ryoon Exp $
+
+DISTNAME=      blueprint-compiler-v0.22.2
+PKGNAME=       ${DISTNAME:S,-v,-,}
+CATEGORIES=    x11 python
+MASTER_SITES=  https://gitlab.gnome.org/GNOME/blueprint-compiler/-/archive/v${PKGVERSION_NOREV}/
+EXTRACT_SUFX=  .tar.bz2
+
+MAINTAINER=    ryoon%NetBSD.org@localhost
+HOMEPAGE=      https://gitlab.gnome.org/GNOME/blueprint-compiler
+COMMENT=       Markup language for GTK user interfaces
+LICENSE=       gnu-lgpl-v3
+
+USE_TOOLS+=    pkg-config
+USE_LANGUAGES= # none
+
+SUBST_CLASSES+=                py3
+SUBST_STAGE.py3=       pre-configure
+SUBST_MESSAGE.py3=     Replacing python3
+SUBST_FILES.py3=       meson.build
+SUBST_SED.py3=         -e "s,'python3','${PYTHONBIN}',g"
+
+REPLACE_PYTHON+=       docs/collect-sections.py
+
+PKGCONFIG_OVERRIDE+=   data/blueprint-compiler.pc.in
+
+.include "../../devel/meson/build.mk"
+.include "../../lang/python/application.mk"
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/x11/blueprint-compiler/PLIST
diff -u /dev/null pkgsrc/x11/blueprint-compiler/PLIST:1.1
--- /dev/null   Tue Sep 22 09:04:54 2026
+++ pkgsrc/x11/blueprint-compiler/PLIST Tue Sep 22 09:04:53 2026
@@ -0,0 +1,147 @@
+@comment $NetBSD: PLIST,v 1.1 2026/09/22 09:04:53 ryoon Exp $
+bin/blueprint-compiler
+lib/pkgconfig/blueprint-compiler.pc
+${PYSITELIB}/blueprintcompiler/__init__.py
+${PYSITELIB}/blueprintcompiler/__init__.pyc
+${PYSITELIB}/blueprintcompiler/annotations.py
+${PYSITELIB}/blueprintcompiler/annotations.pyc
+${PYSITELIB}/blueprintcompiler/ast_utils.py
+${PYSITELIB}/blueprintcompiler/ast_utils.pyc
+${PYSITELIB}/blueprintcompiler/completions.py
+${PYSITELIB}/blueprintcompiler/completions.pyc
+${PYSITELIB}/blueprintcompiler/completions_utils.py
+${PYSITELIB}/blueprintcompiler/completions_utils.pyc
+${PYSITELIB}/blueprintcompiler/config.py
+${PYSITELIB}/blueprintcompiler/config.pyc
+${PYSITELIB}/blueprintcompiler/data/collect_stats.py
+${PYSITELIB}/blueprintcompiler/data/collect_stats.pyc
+${PYSITELIB}/blueprintcompiler/data/stats.json
+${PYSITELIB}/blueprintcompiler/decompiler.py
+${PYSITELIB}/blueprintcompiler/decompiler.pyc
+${PYSITELIB}/blueprintcompiler/errors.py
+${PYSITELIB}/blueprintcompiler/errors.pyc
+${PYSITELIB}/blueprintcompiler/formatter.py
+${PYSITELIB}/blueprintcompiler/formatter.pyc
+${PYSITELIB}/blueprintcompiler/gir.py
+${PYSITELIB}/blueprintcompiler/gir.pyc
+${PYSITELIB}/blueprintcompiler/interactive_port.py
+${PYSITELIB}/blueprintcompiler/interactive_port.pyc
+${PYSITELIB}/blueprintcompiler/language/__init__.py
+${PYSITELIB}/blueprintcompiler/language/__init__.pyc
+${PYSITELIB}/blueprintcompiler/language/adw_breakpoint.py
+${PYSITELIB}/blueprintcompiler/language/adw_breakpoint.pyc
+${PYSITELIB}/blueprintcompiler/language/adw_response_dialog.py
+${PYSITELIB}/blueprintcompiler/language/adw_response_dialog.pyc
+${PYSITELIB}/blueprintcompiler/language/binding.py
+${PYSITELIB}/blueprintcompiler/language/binding.pyc
+${PYSITELIB}/blueprintcompiler/language/common.py
+${PYSITELIB}/blueprintcompiler/language/common.pyc
+${PYSITELIB}/blueprintcompiler/language/contexts.py
+${PYSITELIB}/blueprintcompiler/language/contexts.pyc
+${PYSITELIB}/blueprintcompiler/language/expression.py
+${PYSITELIB}/blueprintcompiler/language/expression.pyc
+${PYSITELIB}/blueprintcompiler/language/gobject_object.py
+${PYSITELIB}/blueprintcompiler/language/gobject_object.pyc
+${PYSITELIB}/blueprintcompiler/language/gobject_property.py
+${PYSITELIB}/blueprintcompiler/language/gobject_property.pyc
+${PYSITELIB}/blueprintcompiler/language/gobject_signal.py
+${PYSITELIB}/blueprintcompiler/language/gobject_signal.pyc
+${PYSITELIB}/blueprintcompiler/language/gtk_a11y.py
+${PYSITELIB}/blueprintcompiler/language/gtk_a11y.pyc
+${PYSITELIB}/blueprintcompiler/language/gtk_combo_box_text.py
+${PYSITELIB}/blueprintcompiler/language/gtk_combo_box_text.pyc
+${PYSITELIB}/blueprintcompiler/language/gtk_file_filter.py
+${PYSITELIB}/blueprintcompiler/language/gtk_file_filter.pyc
+${PYSITELIB}/blueprintcompiler/language/gtk_layout.py
+${PYSITELIB}/blueprintcompiler/language/gtk_layout.pyc
+${PYSITELIB}/blueprintcompiler/language/gtk_level_bar.py
+${PYSITELIB}/blueprintcompiler/language/gtk_level_bar.pyc
+${PYSITELIB}/blueprintcompiler/language/gtk_list_item_factory.py
+${PYSITELIB}/blueprintcompiler/language/gtk_list_item_factory.pyc
+${PYSITELIB}/blueprintcompiler/language/gtk_menu.py
+${PYSITELIB}/blueprintcompiler/language/gtk_menu.pyc
+${PYSITELIB}/blueprintcompiler/language/gtk_scale.py
+${PYSITELIB}/blueprintcompiler/language/gtk_scale.pyc
+${PYSITELIB}/blueprintcompiler/language/gtk_size_group.py
+${PYSITELIB}/blueprintcompiler/language/gtk_size_group.pyc
+${PYSITELIB}/blueprintcompiler/language/gtk_string_list.py
+${PYSITELIB}/blueprintcompiler/language/gtk_string_list.pyc
+${PYSITELIB}/blueprintcompiler/language/gtk_styles.py
+${PYSITELIB}/blueprintcompiler/language/gtk_styles.pyc
+${PYSITELIB}/blueprintcompiler/language/gtkbuilder_child.py
+${PYSITELIB}/blueprintcompiler/language/gtkbuilder_child.pyc
+${PYSITELIB}/blueprintcompiler/language/gtkbuilder_template.py
+${PYSITELIB}/blueprintcompiler/language/gtkbuilder_template.pyc
+${PYSITELIB}/blueprintcompiler/language/imports.py
+${PYSITELIB}/blueprintcompiler/language/imports.pyc
+${PYSITELIB}/blueprintcompiler/language/response_id.py
+${PYSITELIB}/blueprintcompiler/language/response_id.pyc
+${PYSITELIB}/blueprintcompiler/language/translated.py
+${PYSITELIB}/blueprintcompiler/language/translated.pyc
+${PYSITELIB}/blueprintcompiler/language/translation_domain.py
+${PYSITELIB}/blueprintcompiler/language/translation_domain.pyc
+${PYSITELIB}/blueprintcompiler/language/types.py
+${PYSITELIB}/blueprintcompiler/language/types.pyc
+${PYSITELIB}/blueprintcompiler/language/ui.py
+${PYSITELIB}/blueprintcompiler/language/ui.pyc
+${PYSITELIB}/blueprintcompiler/language/values.py
+${PYSITELIB}/blueprintcompiler/language/values.pyc
+${PYSITELIB}/blueprintcompiler/linter.py
+${PYSITELIB}/blueprintcompiler/linter.pyc
+${PYSITELIB}/blueprintcompiler/linter_rules/__init__.py
+${PYSITELIB}/blueprintcompiler/linter_rules/__init__.pyc
+${PYSITELIB}/blueprintcompiler/linter_rules/avoid_all_caps.py
+${PYSITELIB}/blueprintcompiler/linter_rules/avoid_all_caps.pyc
+${PYSITELIB}/blueprintcompiler/linter_rules/incorrect_widget_placement.py
+${PYSITELIB}/blueprintcompiler/linter_rules/incorrect_widget_placement.pyc
+${PYSITELIB}/blueprintcompiler/linter_rules/missing_user_facing_properties.py
+${PYSITELIB}/blueprintcompiler/linter_rules/missing_user_facing_properties.pyc
+${PYSITELIB}/blueprintcompiler/linter_rules/no_gtk_switch_state.py
+${PYSITELIB}/blueprintcompiler/linter_rules/no_gtk_switch_state.pyc
+${PYSITELIB}/blueprintcompiler/linter_rules/no_visible_true.py
+${PYSITELIB}/blueprintcompiler/linter_rules/no_visible_true.pyc
+${PYSITELIB}/blueprintcompiler/linter_rules/number_of_children.py
+${PYSITELIB}/blueprintcompiler/linter_rules/number_of_children.pyc
+${PYSITELIB}/blueprintcompiler/linter_rules/order_properties_gtk_adjustment.py
+${PYSITELIB}/blueprintcompiler/linter_rules/order_properties_gtk_adjustment.pyc
+${PYSITELIB}/blueprintcompiler/linter_rules/prefer_adw_bin.py
+${PYSITELIB}/blueprintcompiler/linter_rules/prefer_adw_bin.pyc
+${PYSITELIB}/blueprintcompiler/linter_rules/prefer_unicode_chars.py
+${PYSITELIB}/blueprintcompiler/linter_rules/prefer_unicode_chars.pyc
+${PYSITELIB}/blueprintcompiler/linter_rules/require_a11y_label.py
+${PYSITELIB}/blueprintcompiler/linter_rules/require_a11y_label.pyc
+${PYSITELIB}/blueprintcompiler/linter_rules/scrollable_parent.py
+${PYSITELIB}/blueprintcompiler/linter_rules/scrollable_parent.pyc
+${PYSITELIB}/blueprintcompiler/linter_rules/translatable_display_string.py
+${PYSITELIB}/blueprintcompiler/linter_rules/translatable_display_string.pyc
+${PYSITELIB}/blueprintcompiler/linter_rules/unused_widget.py
+${PYSITELIB}/blueprintcompiler/linter_rules/unused_widget.pyc
+${PYSITELIB}/blueprintcompiler/linter_rules/use_styles_over_css_classes.py
+${PYSITELIB}/blueprintcompiler/linter_rules/use_styles_over_css_classes.pyc
+${PYSITELIB}/blueprintcompiler/linter_rules/utils.py
+${PYSITELIB}/blueprintcompiler/linter_rules/utils.pyc
+${PYSITELIB}/blueprintcompiler/lsp.py
+${PYSITELIB}/blueprintcompiler/lsp.pyc
+${PYSITELIB}/blueprintcompiler/lsp_utils.py
+${PYSITELIB}/blueprintcompiler/lsp_utils.pyc
+${PYSITELIB}/blueprintcompiler/main.py
+${PYSITELIB}/blueprintcompiler/main.pyc
+${PYSITELIB}/blueprintcompiler/outputs/__init__.py
+${PYSITELIB}/blueprintcompiler/outputs/__init__.pyc
+${PYSITELIB}/blueprintcompiler/outputs/xml/__init__.py
+${PYSITELIB}/blueprintcompiler/outputs/xml/__init__.pyc
+${PYSITELIB}/blueprintcompiler/outputs/xml/xml_emitter.py
+${PYSITELIB}/blueprintcompiler/outputs/xml/xml_emitter.pyc
+${PYSITELIB}/blueprintcompiler/parse_tree.py
+${PYSITELIB}/blueprintcompiler/parse_tree.pyc
+${PYSITELIB}/blueprintcompiler/parser.py
+${PYSITELIB}/blueprintcompiler/parser.pyc
+${PYSITELIB}/blueprintcompiler/reference_docs.json
+${PYSITELIB}/blueprintcompiler/tokenizer.py
+${PYSITELIB}/blueprintcompiler/tokenizer.pyc
+${PYSITELIB}/blueprintcompiler/types.py
+${PYSITELIB}/blueprintcompiler/types.pyc
+${PYSITELIB}/blueprintcompiler/utils.py
+${PYSITELIB}/blueprintcompiler/utils.pyc
+${PYSITELIB}/blueprintcompiler/xml_reader.py
+${PYSITELIB}/blueprintcompiler/xml_reader.pyc
Index: pkgsrc/x11/blueprint-compiler/buildlink3.mk
diff -u /dev/null pkgsrc/x11/blueprint-compiler/buildlink3.mk:1.1
--- /dev/null   Tue Sep 22 09:04:54 2026
+++ pkgsrc/x11/blueprint-compiler/buildlink3.mk Tue Sep 22 09:04:53 2026
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2026/09/22 09:04:53 ryoon Exp $
+
+BUILDLINK_TREE+=       blueprint-compiler
+
+.if !defined(BLUEPRINT_COMPILER_BUILDLINK3_MK)
+BLUEPRINT_COMPILER_BUILDLINK3_MK:=
+
+BUILDLINK_DEPMETHOD.blueprint-compiler?=       build
+
+BUILDLINK_API_DEPENDS.blueprint-compiler+=     blueprint-compiler>=0.22.2
+BUILDLINK_PKGSRCDIR.blueprint-compiler?=       ../../x11/blueprint-compiler
+.endif # BLUEPRINT_COMPILER_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -blueprint-compiler
Index: pkgsrc/x11/blueprint-compiler/distinfo
diff -u /dev/null pkgsrc/x11/blueprint-compiler/distinfo:1.1
--- /dev/null   Tue Sep 22 09:04:54 2026
+++ pkgsrc/x11/blueprint-compiler/distinfo      Tue Sep 22 09:04:53 2026
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2026/09/22 09:04:53 ryoon Exp $
+
+BLAKE2s (blueprint-compiler-v0.22.2.tar.bz2) = 8aff134df4fc475120a204ebcc1e3037a76930d818615cd41763025266066635
+SHA512 (blueprint-compiler-v0.22.2.tar.bz2) = f046cfdfba0553ff8b38347b5cef6c4af2fa2df1fd27e7cd842ff76028cc57bc83dc7fbd5b71d235b0fd3be22236c6c380b72885d0201e54f844fa1f201ef9fd
+Size (blueprint-compiler-v0.22.2.tar.bz2) = 121857 bytes
+SHA1 (patch-meson.build) = 0c3b3bdeca2e1a989dcaefc134eff762ef0ad9fc

Index: pkgsrc/x11/blueprint-compiler/patches/patch-meson.build
diff -u /dev/null pkgsrc/x11/blueprint-compiler/patches/patch-meson.build:1.1
--- /dev/null   Tue Sep 22 09:04:54 2026
+++ pkgsrc/x11/blueprint-compiler/patches/patch-meson.build     Tue Sep 22 09:04:53 2026
@@ -0,0 +1,26 @@
+$NetBSD: patch-meson.build,v 1.1 2026/09/22 09:04:53 ryoon Exp $
+
+* Install pkg-config pc file under lib/pkgconfig.
+
+--- meson.build.orig   2026-09-01 08:18:55.120664955 +0000
++++ meson.build
+@@ -53,17 +53,13 @@ else
+ 
+   meson.override_find_program('blueprint-compiler', blueprint_compiler)
+ else
+-  if get_option('python_wheel')
+-    pkgconfig_path = 'share' / 'pkgconfig'
+-  else
+-    pkgconfig_path = 'pkgconfig'
+-  endif
++  pkgconfig_path = 'pkgconfig'
+ 
+   blueprint_compiler_pc = configure_file(
+     input: 'data/blueprint-compiler.pc.in',
+     output: 'blueprint-compiler.pc',
+     configuration: { 'VERSION': meson.project_version() },
+-    install_dir: get_option('datadir') / pkgconfig_path,
++    install_dir: get_option('libdir') / pkgconfig_path,
+   )
+ 
+   install_subdir(



Home | Main Index | Thread Index | Old Index