blueprint-compiler: add recipe
PATCH v3 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.
---
v2 changes: Add tag=${PV} in SRC_URI
v3 changes: Fix python site path when enable multilib
meta/conf/distro/include/maintainers.inc | 1 + ...1-Make-python-site-path-configurable.patch | 62 +++++++++++++++++++ .../blueprint-compiler_0.18.0.bb | 21 +++++++ 3 files changed, 84 insertions(+) create mode 100644 meta/recipes-gnome/blueprint-compiler/blueprint-compiler/0001-Make-python-site-path-configurable.patch create mode 100644 meta/recipes-gnome/blueprint-compiler/blueprint-compiler_0.18.0.bb
meta/conf/distro/include/maintainers.inc +1 -0
@@ -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/0001-Make-python-site-path-configurable.patch new file +62 -0
62 lines not on this page · raw message
meta/recipes-gnome/blueprint-compiler/blueprint-compiler_0.18.0.bb new file +21 -0
@@ -0,0 +1,21 @@ +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} \ + file://0001-Make-python-site-path-configurable.patch \ + " + +SRCREV = "07c9c9df9cd1b6b4454ecba21ee58211e9144a4b" + +inherit meson pkgconfig + +EXTRA_OEMESON = "-Dpython_site_dir=${PYTHON_SITEPACKAGES_DIR}" + +PACKAGES += "${PN}-python" + +FILES:${PN}-python = "${PYTHON_SITEPACKAGES_DIR}" +RDEPENDS:${PN}-python = "python3-pygobject" + +BBCLASSEXTEND = "native"
Signature · 1 line
2.34.1
PATCH v3 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
@@ -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
meta/recipes-gnome/blueprint-compiler/blueprint-compiler/0001-Make-python-site-path-configurable.patch line 40
Quoted 8 lines · Yi Zhao via lists.openembedded.org
meta/recipes-gnome/blueprint-compiler/blueprint-compiler/0001-Make-python-site-path-configurable.patch new file +8
-0+Subject: [PATCH] Make python site path configurable + +By making the python site path configurable, we can set the correct +installation directory when enabling multilib. + +Upstream-Status: Inappropriate [oe specific] +- config.set('MODULE_PATH', py.get_install_dir()) ++ config.set('MODULE_PATH', get_option('python_site_dir'))
This needs further investigation. Why isn't get_install_dir() providing the correct value? It should be multilib-aware. Does the recipe need to inherit python3targetconfig to ensure proper target paths are returned?
Alex
Quoted 14 lines · Alexander Kanavin via lists.openembedded.org
meta/recipes-gnome/blueprint-compiler/blueprint-compiler/0001-Make-python-site-path-configurable.patch line 40
Quoted 8 lines · Yi Zhao via lists.openembedded.org
meta/recipes-gnome/blueprint-compiler/blueprint-compiler/0001-Make-python-site-path-configurable.patch new file +8
-0+Subject: [PATCH] Make python site path configurable + +By making the python site path configurable, we can set the correct +installation directory when enabling multilib. + +Upstream-Status: Inappropriate [oe specific] +- config.set('MODULE_PATH', py.get_install_dir()) ++ config.set('MODULE_PATH', get_option('python_site_dir'))This needs further investigation. Why isn't
get_install_dir()providing the correct value? It should be multilib-aware. Does the recipe need to inherit python3targetconfig to ensure proper target paths are returned?
Thanks. Inheriting python3targetconfig can solve this issue. I will send V4.
//Yi
Quoted 11 lines
Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#229976): https://lists.openembedded.org/g/openembedded-core/message/229976
Mute This Topic: https://lists.openembedded.org/mt/117393399/7283133
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-