Skip to contentSkip to conversation

blueprint-compiler: add recipe

PATCH New Yi Zhao 1 participant 2 messages Jan 28

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

PATCH v5 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 v5 changes: update to 0.19.0

 meta/conf/distro/include/maintainers.inc         |  1 +
 .../blueprint-compiler_0.19.0.bb                 | 16 ++++++++++++++++
 2 files changed, 17 insertions(+)
 create mode 100644 meta/recipes-gnome/blueprint-compiler/blueprint-compiler_0.19.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.19.0.bb new file +16 -0
new file mode 100644
index 0000000000..6e2ebd741d
@@ -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 = "de8e15f7791bd6243279cef1efc27edf4cb93674"
+
+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 v5 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