Skip to contentSkip to conversation

blueprint-compiler: add recipe

PATCH Superseded Yi Zhao 3 participants 5 messages Jan 16 – Jan 19

v2 of 5 Superseded Latest is v5 →

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

PATCH v2 1/2 blueprint-compiler: add recipe

Blueprint-compiler is a markup language and compiler for GTK 4 user interfaces.

Move it from meta-openembedded to openembedded-core as it is required by epiphany 49.2.

The original author Liu Yiding, is willing to continue maintaining the recipe. Add him as maintainer for this.

---
 meta/conf/distro/include/maintainers.inc         |  1 +
 .../blueprint-compiler_0.18.0.bb                 | 16 ++++++++++++++++
 2 files changed, 17 insertions(+)
 create mode 100644 meta/recipes-gnome/blueprint-compiler/blueprint-compiler_0.18.0.bb
meta/conf/distro/include/maintainers.inc +1 -0
index e830648945..b231daf485 100644
@@ -71,6 +71,7 @@ RECIPE_MAINTAINER:pn-binutils-testsuite = "Khem Raj <[email protected]>"
 RECIPE_MAINTAINER:pn-binutils-crosssdk-${SDK_SYS} = "Khem Raj <[email protected]>"
 RECIPE_MAINTAINER:pn-bison = "Chen Qi <[email protected]>"
 RECIPE_MAINTAINER:pn-blktrace = "Unassigned <[email protected]>"
+RECIPE_MAINTAINER:pn-blueprint-compiler = "Liu Yiding <[email protected]>"
 RECIPE_MAINTAINER:pn-bluez5 = "Unassigned <[email protected]>"
 RECIPE_MAINTAINER:pn-bmaptool = "Trevor Woerner <[email protected]>"
 RECIPE_MAINTAINER:pn-boost = "Unassigned <[email protected]>"
meta/recipes-gnome/blueprint-compiler/blueprint-compiler_0.18.0.bb new file +16 -0
new file mode 100644
index 0000000000..10ac93d452
@@ -0,0 +1,16 @@
+SUMMARY = "A markup language for GTK user interface files."
+HOMEPAGE = "https://gitlab.gnome.org/GNOME/blueprint-compiler"
+LICENSE = "LGPL-3.0-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=3000208d539ec061b899bce1d9ce9404"
+
+SRC_URI = "git://gitlab.gnome.org/GNOME/blueprint-compiler;protocol=https;branch=main;tag=${PV}"
+SRCREV = "07c9c9df9cd1b6b4454ecba21ee58211e9144a4b"
+
+inherit meson pkgconfig
+
+PACKAGES += "${PN}-python"
+
+FILES:${PN}-python = "${PYTHON_SITEPACKAGES_DIR}"
+RDEPENDS:${PN}-python = "python3-pygobject"
+
+BBCLASSEXTEND = "native"
Signature · 1 line
2.34.1
author
#1 lore raw

PATCH v2 2/2 epiphany: upgrade 48.5 -> 49.2

ChangeLog:
https://gitlab.gnome.org/GNOME/epiphany/-/blob/49.2/NEWS

Add a dependency on blueprint-compiler-native.

---
 .../epiphany/{epiphany_48.5.bb => epiphany_49.2.bb}          | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
 rename meta/recipes-gnome/epiphany/{epiphany_48.5.bb => epiphany_49.2.bb} (88%)
meta/recipes-gnome/epiphany/epiphany_49.2.bb renamed from meta/recipes-gnome/epiphany/epiphany_48.5.bb +4 -1
similarity index 88%
rename from meta/recipes-gnome/epiphany/epiphany_48.5.bb
rename to meta/recipes-gnome/epiphany/epiphany_49.2.bb
index 6a1abdc553..4c27a6b6c7 100644
@@ -21,6 +21,7 @@ DEPENDS = " \
           glib-2.0-native \
           coreutils-native \
           desktop-file-utils-native \
+          blueprint-compiler-native \
           "
 
 inherit gnomebase gsettings features_check gettext mime-xdg gtk-icon-cache
@@ -31,7 +32,9 @@ SRC_URI += "\
            file://migrator.patch \
            file://distributor.patch \
            "
-SRC_URI[archive.sha256sum] = "0f66552ad6593c7952a3ddee5bf515656c8c434871076d9f1a91a7af9346b1b4"
+SRC_URI[archive.sha256sum] = "b3ba3d68213e87f81f1733e85500c37b82b5938f9009e4fe89994963d5fb2b8e"
+
+export GI_TYPELIB_PATH = "${STAGING_LIBDIR}/girepository-1.0/"
 
 # Developer mode enables debugging
 PACKAGECONFIG[developer-mode] = "-Ddeveloper_mode=true,-Ddeveloper_mode=false"
Signature · 1 line
2.34.1
#2 lore raw
In reply to Yi Zhao

Hi,

Quoted 41 lines · Yi Zhao via lists.openembedded.org

Blueprint-compiler is a markup language and compiler for GTK 4 user interfaces.

Move it from meta-openembedded to openembedded-core as it is required by epiphany 49.2.

The original author Liu Yiding, is willing to continue maintaining the recipe. Add him as maintainer for this.

---
 meta/conf/distro/include/maintainers.inc         |  1 +
 .../blueprint-compiler_0.18.0.bb                 | 16 ++++++++++++++++
 2 files changed, 17 insertions(+)
 create mode 100644 meta/recipes-gnome/blueprint-compiler/blueprint-compiler_0.18.0.bb
meta/conf/distro/include/maintainers.inc +1 -0
index e830648945..b231daf485 100644
@@ -71,6 +71,7 @@ RECIPE_MAINTAINER:pn-binutils-testsuite = "Khem Raj <[email protected]>"
 RECIPE_MAINTAINER:pn-binutils-crosssdk-${SDK_SYS} = "Khem Raj <[email protected]>"
 RECIPE_MAINTAINER:pn-bison = "Chen Qi <[email protected]>"
 RECIPE_MAINTAINER:pn-blktrace = "Unassigned <[email protected]>"
+RECIPE_MAINTAINER:pn-blueprint-compiler = "Liu Yiding <[email protected]>"
 RECIPE_MAINTAINER:pn-bluez5 = "Unassigned <[email protected]>"
 RECIPE_MAINTAINER:pn-bmaptool = "Trevor Woerner <[email protected]>"
 RECIPE_MAINTAINER:pn-boost = "Unassigned <[email protected]>"
meta/recipes-gnome/blueprint-compiler/blueprint-compiler_0.18.0.bb new file +6 -0
new file mode 100644
index 0000000000..10ac93d452
@@ -0,0 +1,16 @@
+SUMMARY = "A markup language for GTK user interface files."
+HOMEPAGE = "https://gitlab.gnome.org/GNOME/blueprint-compiler"
+LICENSE = "LGPL-3.0-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=3000208d539ec061b899bce1d9ce9404"
+
+SRC_URI = "git://gitlab.gnome.org/GNOME/blueprint-compiler;protocol=https;branch=main;tag=${PV}"

meta/recipes-gnome/blueprint-compiler/blueprint-compiler_0.18.0.bb line 16

Quoted 10 lines
meta/recipes-gnome/blueprint-compiler/blueprint-compiler_0.18.0.bb new file +10 -0
+SRCREV = "07c9c9df9cd1b6b4454ecba21ee58211e9144a4b"
+
+inherit meson pkgconfig
+
+PACKAGES += "${PN}-python"
+
+FILES:${PN}-python = "${PYTHON_SITEPACKAGES_DIR}"
+RDEPENDS:${PN}-python = "python3-pygobject"
+
+BBCLASSEXTEND = "native"

This failed to build:

ERROR: blueprint-compiler-0.18.0-r0 do_package: QA Issue: blueprint-compiler: Files/directories were installed but not shipped in any package:
/usr/lib
/usr/lib/python3.14
/usr/lib/python3.14/site-packages
/usr/lib/python3.14/site-packages/blueprintcompiler
/usr/lib/python3.14/site-packages/blueprintcompiler/formatter.py /usr/lib/python3.14/site-packages/blueprintcompiler/decompiler.py /usr/lib/python3.14/site-packages/blueprintcompiler/interactive_port.py /usr/lib/python3.14/site-packages/blueprintcompiler/__init__.py /usr/lib/python3.14/site-packages/blueprintcompiler/errors.py /usr/lib/python3.14/site-packages/blueprintcompiler/gir.py /usr/lib/python3.14/site-packages/blueprintcompiler/main.py /usr/lib/python3.14/site-packages/blueprintcompiler/ast_utils.py /usr/lib/python3.14/site-packages/blueprintcompiler/utils.py /usr/lib/python3.14/site-packages/blueprintcompiler/reference_docs.json /usr/lib/python3.14/site-packages/blueprintcompiler/completions_utils.py /usr/lib/python3.14/site-packages/blueprintcompiler/parse_tree.py /usr/lib/python3.14/site-packages/blueprintcompiler/tokenizer.py /usr/lib/python3.14/site-packages/blueprintcompiler/typelib.py /usr/lib/python3.14/site-packages/blueprintcompiler/lsp_utils.py /usr/lib/python3.14/site-packages/blueprintcompiler/parser.py /usr/lib/python3.14/site-packages/blueprintcompiler/completions.py /usr/lib/python3.14/site-packages/blueprintcompiler/xml_reader.py /usr/lib/python3.14/site-packages/blueprintcompiler/lsp.py

Log: https://autobuilder.yoctoproject.org/valkyrie/api/v2/logs/4986196/raw_inline
Parent build: https://autobuilder.yoctoproject.org/valkyrie/#/builders/17/builds/2884

It only seemed to happen with the qemux86-64 builds.

Can you have a look?

Antonin

Signature · 3 lines
Antonin Godard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#3 lore raw
Quoted 27 lines · Antonin Godard via lists.openembedded.org

This failed to build:

ERROR: blueprint-compiler-0.18.0-r0 do_package: QA Issue: blueprint-compiler: Files/directories were installed but not shipped in any package:
/usr/lib
/usr/lib/python3.14
/usr/lib/python3.14/site-packages
/usr/lib/python3.14/site-packages/blueprintcompiler
/usr/lib/python3.14/site-packages/blueprintcompiler/formatter.py /usr/lib/python3.14/site-packages/blueprintcompiler/decompiler.py /usr/lib/python3.14/site-packages/blueprintcompiler/interactive_port.py /usr/lib/python3.14/site-packages/blueprintcompiler/__init__.py /usr/lib/python3.14/site-packages/blueprintcompiler/errors.py /usr/lib/python3.14/site-packages/blueprintcompiler/gir.py /usr/lib/python3.14/site-packages/blueprintcompiler/main.py /usr/lib/python3.14/site-packages/blueprintcompiler/ast_utils.py /usr/lib/python3.14/site-packages/blueprintcompiler/utils.py /usr/lib/python3.14/site-packages/blueprintcompiler/reference_docs.json /usr/lib/python3.14/site-packages/blueprintcompiler/completions_utils.py /usr/lib/python3.14/site-packages/blueprintcompiler/parse_tree.py /usr/lib/python3.14/site-packages/blueprintcompiler/tokenizer.py /usr/lib/python3.14/site-packages/blueprintcompiler/typelib.py /usr/lib/python3.14/site-packages/blueprintcompiler/lsp_utils.py /usr/lib/python3.14/site-packages/blueprintcompiler/parser.py /usr/lib/python3.14/site-packages/blueprintcompiler/completions.py /usr/lib/python3.14/site-packages/blueprintcompiler/xml_reader.py /usr/lib/python3.14/site-packages/blueprintcompiler/lsp.py

Quoted 6 lines

Log: https://autobuilder.yoctoproject.org/valkyrie/api/v2/logs/4986196/raw_inline
Parent build: https://autobuilder.yoctoproject.org/valkyrie/#/builders/17/builds/2884

It only seemed to happen with the qemux86-64 builds.

Can you have a look?

I suspect the issue is in multilib setups, e.g. upstream is hardcoding '/usr/lib/' prefix instead of $libdir.

Alex

author
#4 lore raw
Quoted 30 lines · Alexander Kanavin
Quoted 27 lines · Antonin Godard via lists.openembedded.org

This failed to build:

ERROR: blueprint-compiler-0.18.0-r0 do_package: QA Issue: blueprint-compiler: Files/directories were installed but not shipped in any package:

   /usr/lib
   /usr/lib/python3.14
   /usr/lib/python3.14/site-packages
   /usr/lib/python3.14/site-packages/blueprintcompiler
   /usr/lib/python3.14/site-packages/blueprintcompiler/formatter.py
   /usr/lib/python3.14/site-packages/blueprintcompiler/decompiler.py
   /usr/lib/python3.14/site-packages/blueprintcompiler/interactive_port.py
   /usr/lib/python3.14/site-packages/blueprintcompiler/__init__.py
   /usr/lib/python3.14/site-packages/blueprintcompiler/errors.py
   /usr/lib/python3.14/site-packages/blueprintcompiler/gir.py
   /usr/lib/python3.14/site-packages/blueprintcompiler/main.py
   /usr/lib/python3.14/site-packages/blueprintcompiler/ast_utils.py
   /usr/lib/python3.14/site-packages/blueprintcompiler/utils.py
   /usr/lib/python3.14/site-packages/blueprintcompiler/reference_docs.json
   /usr/lib/python3.14/site-packages/blueprintcompiler/completions_utils.py
   /usr/lib/python3.14/site-packages/blueprintcompiler/parse_tree.py
   /usr/lib/python3.14/site-packages/blueprintcompiler/tokenizer.py
   /usr/lib/python3.14/site-packages/blueprintcompiler/typelib.py
   /usr/lib/python3.14/site-packages/blueprintcompiler/lsp_utils.py
   /usr/lib/python3.14/site-packages/blueprintcompiler/parser.py
   /usr/lib/python3.14/site-packages/blueprintcompiler/completions.py
   /usr/lib/python3.14/site-packages/blueprintcompiler/xml_reader.py
   /usr/lib/python3.14/site-packages/blueprintcompiler/lsp.py
Quoted 8 lines
Quoted 6 lines

Log: https://autobuilder.yoctoproject.org/valkyrie/api/v2/logs/4986196/raw_inline
Parent build: https://autobuilder.yoctoproject.org/valkyrie/#/builders/17/builds/2884

It only seemed to happen with the qemux86-64 builds.

Can you have a look?

I suspect the issue is in multilib setups, e.g. upstream is hardcoding '/usr/lib/' prefix instead of $libdir.

Yes, I think so too. I'll take a look.

//Yi

Quoted 2 lines

Alex