public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH 1/2 v3] blueprint-compiler: add recipe
@ 2026-01-22  1:58 Yi Zhao
  2026-01-22  1:58 ` [PATCH 2/2 v3] epiphany: upgrade 48.5 -> 49.2 Yi Zhao
  2026-01-26  9:59 ` [OE-core] [PATCH 1/2 v3] blueprint-compiler: add recipe Alexander Kanavin
  0 siblings, 2 replies; 4+ messages in thread
From: Yi Zhao @ 2026-01-22  1:58 UTC (permalink / raw)
  To: openembedded-core

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.

CC: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
---
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

diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc
index e830648945..b231daf485 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -71,6 +71,7 @@ RECIPE_MAINTAINER:pn-binutils-testsuite = "Khem Raj <raj.khem@gmail.com>"
 RECIPE_MAINTAINER:pn-binutils-crosssdk-${SDK_SYS} = "Khem Raj <raj.khem@gmail.com>"
 RECIPE_MAINTAINER:pn-bison = "Chen Qi <Qi.Chen@windriver.com>"
 RECIPE_MAINTAINER:pn-blktrace = "Unassigned <unassigned@yoctoproject.org>"
+RECIPE_MAINTAINER:pn-blueprint-compiler = "Liu Yiding <liuyd.fnst@fujitsu.com>"
 RECIPE_MAINTAINER:pn-bluez5 = "Unassigned <unassigned@yoctoproject.org>"
 RECIPE_MAINTAINER:pn-bmaptool = "Trevor Woerner <twoerner@gmail.com>"
 RECIPE_MAINTAINER:pn-boost = "Unassigned <unassigned@yoctoproject.org>"
diff --git a/meta/recipes-gnome/blueprint-compiler/blueprint-compiler/0001-Make-python-site-path-configurable.patch b/meta/recipes-gnome/blueprint-compiler/blueprint-compiler/0001-Make-python-site-path-configurable.patch
new file mode 100644
index 0000000000..19113457cd
--- /dev/null
+++ b/meta/recipes-gnome/blueprint-compiler/blueprint-compiler/0001-Make-python-site-path-configurable.patch
@@ -0,0 +1,62 @@
+From 3339e2e8c6324fde73a0c5b292fc9f2e5c86931d Mon Sep 17 00:00:00 2001
+From: Yi Zhao <yi.zhao@windriver.com>
+Date: Wed, 21 Jan 2026 20:45:30 +0800
+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]
+
+Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
+---
+ docs/meson.build  | 4 ++--
+ meson.build       | 4 ++--
+ meson_options.txt | 1 +
+ 3 files changed, 5 insertions(+), 4 deletions(-)
+
+diff --git a/docs/meson.build b/docs/meson.build
+index d9ad736..4bf2a9c 100644
+--- a/docs/meson.build
++++ b/docs/meson.build
+@@ -15,5 +15,5 @@ custom_target('reference_docs.json',
+   command: [meson.current_source_dir() / 'collect-sections.py', '@OUTPUT@'],
+   build_always_stale: true,
+   install: true,
+-  install_dir: py.get_install_dir() / 'blueprintcompiler',
+-)
+\ No newline at end of file
++  install_dir: get_option('python_site_dir') / 'blueprintcompiler',
++)
+diff --git a/meson.build b/meson.build
+index 405ed10..2a8d324 100644
+--- a/meson.build
++++ b/meson.build
+@@ -25,7 +25,7 @@ config = configuration_data({
+ if meson.is_subproject()
+   config.set('MODULE_PATH', meson.current_source_dir())
+ else
+-  config.set('MODULE_PATH', py.get_install_dir())
++  config.set('MODULE_PATH', get_option('python_site_dir'))
+ endif
+ 
+ blueprint_compiler = configure_file(
+@@ -39,7 +39,7 @@ blueprint_compiler = configure_file(
+ if meson.is_subproject()
+   meson.override_find_program('blueprint-compiler', blueprint_compiler)
+ else
+-  install_subdir('blueprintcompiler', install_dir: py.get_install_dir())
++  install_subdir('blueprintcompiler', install_dir: get_option('python_site_dir'))
+ endif
+ 
+ subdir('tests')
+diff --git a/meson_options.txt b/meson_options.txt
+index c3c5661..5e71bfa 100644
+--- a/meson_options.txt
++++ b/meson_options.txt
+@@ -1 +1,2 @@
+ option('docs', type: 'boolean', value: false)
++option('python_site_dir', type: 'string', value: '')
+-- 
+2.34.1
+
diff --git a/meta/recipes-gnome/blueprint-compiler/blueprint-compiler_0.18.0.bb b/meta/recipes-gnome/blueprint-compiler/blueprint-compiler_0.18.0.bb
new file mode 100644
index 0000000000..a61db3c4e2
--- /dev/null
+++ b/meta/recipes-gnome/blueprint-compiler/blueprint-compiler_0.18.0.bb
@@ -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"
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2 v3] epiphany: upgrade 48.5 -> 49.2
  2026-01-22  1:58 [PATCH 1/2 v3] blueprint-compiler: add recipe Yi Zhao
@ 2026-01-22  1:58 ` Yi Zhao
  2026-01-26  9:59 ` [OE-core] [PATCH 1/2 v3] blueprint-compiler: add recipe Alexander Kanavin
  1 sibling, 0 replies; 4+ messages in thread
From: Yi Zhao @ 2026-01-22  1:58 UTC (permalink / raw)
  To: openembedded-core

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

Add a dependency on blueprint-compiler-native.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
---
 .../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%)

diff --git a/meta/recipes-gnome/epiphany/epiphany_48.5.bb b/meta/recipes-gnome/epiphany/epiphany_49.2.bb
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
--- a/meta/recipes-gnome/epiphany/epiphany_48.5.bb
+++ b/meta/recipes-gnome/epiphany/epiphany_49.2.bb
@@ -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"
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [OE-core] [PATCH 1/2 v3] blueprint-compiler: add recipe
  2026-01-22  1:58 [PATCH 1/2 v3] blueprint-compiler: add recipe Yi Zhao
  2026-01-22  1:58 ` [PATCH 2/2 v3] epiphany: upgrade 48.5 -> 49.2 Yi Zhao
@ 2026-01-26  9:59 ` Alexander Kanavin
  2026-01-27 13:40   ` Yi Zhao
  1 sibling, 1 reply; 4+ messages in thread
From: Alexander Kanavin @ 2026-01-26  9:59 UTC (permalink / raw)
  To: yi.zhao; +Cc: openembedded-core

On Thu, 22 Jan 2026 at 02:59, Yi Zhao via lists.openembedded.org
<yi.zhao=eng.windriver.com@lists.openembedded.org> wrote:
> +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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [OE-core] [PATCH 1/2 v3] blueprint-compiler: add recipe
  2026-01-26  9:59 ` [OE-core] [PATCH 1/2 v3] blueprint-compiler: add recipe Alexander Kanavin
@ 2026-01-27 13:40   ` Yi Zhao
  0 siblings, 0 replies; 4+ messages in thread
From: Yi Zhao @ 2026-01-27 13:40 UTC (permalink / raw)
  To: alex.kanavin; +Cc: openembedded-core


On 1/26/26 17:59, Alexander Kanavin via lists.openembedded.org wrote:
> On Thu, 22 Jan 2026 at 02:59, Yi Zhao via lists.openembedded.org
> <yi.zhao=eng.windriver.com@lists.openembedded.org> wrote:
>> +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

>
> 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: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [yi.zhao@eng.windriver.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-01-27 13:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-22  1:58 [PATCH 1/2 v3] blueprint-compiler: add recipe Yi Zhao
2026-01-22  1:58 ` [PATCH 2/2 v3] epiphany: upgrade 48.5 -> 49.2 Yi Zhao
2026-01-26  9:59 ` [OE-core] [PATCH 1/2 v3] blueprint-compiler: add recipe Alexander Kanavin
2026-01-27 13:40   ` Yi Zhao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox