Skip to contentSkip to conversation

blueprint-compiler: add recipe

PATCH Superseded Yi Zhao 2 participants 3 messages Jan 27

v4 of 5 Superseded Latest is v5 →

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

PATCH v4 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 v4 changes: Fix python site path according to Alex's suggestion

 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..2a6636d8ac
@@ -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 python3targetconfig
+
+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 v4 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

There is 0.19.0 upgrade posted for meta-gnome, please bring that upgrade here as well.

Quoted 81 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.

---
v2 changes: Add tag=${PV} in SRC_URI
v3 changes: Fix python site path when enable multilib v4 changes: Fix python site path according to Alex's suggestion

 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 +0 -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]

Quoted 1 line

"

+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]>"

(quoted diff) +0 -0

blueprint-compiler_0.18.0.bb b/meta/recipes-gnome/blueprint-compiler/ blueprint-compiler_0.18.0.bb
new file mode 100644
index 0000000000..2a6636d8ac

meta/recipes-gnome/blueprint-compiler/blueprint-compiler_0.18.0.bb new file +6 -0
@@ -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}
<http://gitlab.gnome.org/GNOME/blueprint-compiler;protocol=https;branch=main;tag=$%7BPV%7D>
"

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

2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#230051):
https://lists.openembedded.org/g/openembedded-core/message/230051
Mute This Topic: https://lists.openembedded.org/mt/117489774/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-