Skip to contentSkip to conversation

libmypaint: Add m4 dir to autoconf macro search paths

PATCH New Khem Raj 1 participant 2 messages Mar 1, 2025

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/2 libmypaint: Add m4 dir to autoconf macro search paths

autotools bblass do not search for the .m4 files in srctree anymore [1]

[1] https://git.yoctoproject.org/poky/commit/?id=a4b1fa2b22794d59fee716afe6e269dae7f87ace

---
 meta-gnome/recipes-gimp/mypaint/libmypaint_git.bb | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
meta-gnome/recipes-gimp/mypaint/libmypaint_git.bb +5 -2
index d509aa3dd0..b0f9b82e42 100644
@@ -16,11 +16,14 @@ SRC_URI = "git://github.com/mypaint/libmypaint.git;protocol=https;branch=libmypa
            file://0001-make-build-compatible-w.-autoconf-2.7.patch \
           "
 SRCREV = "2768251dacce3939136c839aeca413f4aa4241d0"
+
 PV = "1.6.1"
+
 S = "${WORKDIR}/git"
 
+EXTRA_AUTORECONF += "-I m4"
+
 do_configure:append() {
     # autogen uses python2 so generate headers ourselves
-    cd ${S}
-    python3 generate.py mypaint-brush-settings-gen.h brushsettings-gen.h
+    (cd ${S} && python3 generate.py mypaint-brush-settings-gen.h brushsettings-gen.h)
 }
author
#1 lore raw

PATCH 2/2 cogl-1.0: Add m4 dir to autoconf macro search paths

autotools bblass do not search for the .m4 files in srctree anymore [1]

[1] https://git.yoctoproject.org/poky/commit/?id=a4b1fa2b22794d59fee716afe6e269dae7f87ace

---
 meta-gnome/recipes-graphics/cogl/cogl-1.0.inc | 2 ++
 1 file changed, 2 insertions(+)
meta-gnome/recipes-graphics/cogl/cogl-1.0.inc +2 -0
index 3da361b3ff..b1ef57ce57 100644
@@ -29,6 +29,8 @@ EDEPENDS_WAYLAND = "virtual/egl virtual/libgles2 wayland"
 ERDEPENDS_GL    = "libgl"
 ERDEPENDS_GLES2 = "libgles2"
 
+# Needed for introspection.m4
+EXTRA_AUTORECONF += "-I m4"
 # GLESv1 is rarely tested, so disable it
 EXTRA_OECONF += "--enable-examples-install	\
 	       	 --enable-debug		 	\