Refresh the cross-compile configure.ac patch for 4.0.0. Its configure.ac
now requires the xcursor pkg-config module in the core PKG_CHECK_MODULES,
which the recipe never depended on, so do_configure fails:

  checking for fontconfig xrender xcomposite xcursor xdamage xfixes xext x11... 
no
  configure: error: Package requirements (...) were not met:
  Package 'xcursor' not found

Add libxcursor to DEPENDS.

Signed-off-by: Khem Raj <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
---
 ...igure.ac-skip-running-test-program-when-cross-co.patch | 8 ++++----
 .../icewm/{icewm_3.8.2.bb => icewm_4.0.0.bb}              | 4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)
 rename meta-oe/recipes-extended/icewm/{icewm_3.8.2.bb => icewm_4.0.0.bb} (93%)

diff --git 
a/meta-oe/recipes-extended/icewm/icewm/0001-configure.ac-skip-running-test-program-when-cross-co.patch
 
b/meta-oe/recipes-extended/icewm/icewm/0001-configure.ac-skip-running-test-program-when-cross-co.patch
index 0c04008b69..f713d7704e 100644
--- 
a/meta-oe/recipes-extended/icewm/icewm/0001-configure.ac-skip-running-test-program-when-cross-co.patch
+++ 
b/meta-oe/recipes-extended/icewm/icewm/0001-configure.ac-skip-running-test-program-when-cross-co.patch
@@ -1,4 +1,4 @@
-From bcf7da314d4cd1db1708d48c908ab7da797a733b Mon Sep 17 00:00:00 2001
+From d505f384aea5e565c4207e026b8c0dac485a741a Mon Sep 17 00:00:00 2001
 From: Naveen Saini <[email protected]>
 Date: Fri, 2 Aug 2019 10:41:26 +0800
 Subject: [PATCH] configure.ac: skip running test program when cross-compiling
@@ -11,7 +11,7 @@ Signed-off-by: Naveen Saini <[email protected]>
  1 file changed, 2 insertions(+), 17 deletions(-)
 
 diff --git a/configure.ac b/configure.ac
-index 7d16afb..65cd194 100644
+index 8d3dfea..b21361e 100644
 --- a/configure.ac
 +++ b/configure.ac
 @@ -152,7 +152,7 @@ AC_CHECK_FUNCS([backtrace_symbols_fd memrchr sysctl 
sysctlbyname \
@@ -51,6 +51,6 @@ index 7d16afb..65cd194 100644
 -                             ])
 -              ])
 -
- PKG_CHECK_MODULES([CORE],[fontconfig xrender xcomposite xdamage xfixes xext 
x11])
+ PKG_CHECK_MODULES([CORE],[fontconfig xrender xcomposite
+                           xcursor xdamage xfixes xext x11])
  AC_SUBST([CORE_CFLAGS])
- AC_SUBST([CORE_LIBS])
diff --git a/meta-oe/recipes-extended/icewm/icewm_3.8.2.bb 
b/meta-oe/recipes-extended/icewm/icewm_4.0.0.bb
similarity index 93%
rename from meta-oe/recipes-extended/icewm/icewm_3.8.2.bb
rename to meta-oe/recipes-extended/icewm/icewm_4.0.0.bb
index ad92b7b294..89ae83098a 100644
--- a/meta-oe/recipes-extended/icewm/icewm_3.8.2.bb
+++ b/meta-oe/recipes-extended/icewm/icewm_4.0.0.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=4a26952467ef79a7efca4a9cf52d417b"
 SRC_URI = 
"https://github.com/ice-wm/${BPN}/releases/download/${PV}/${BPN}-${PV}.tar.lz \
            
file://0001-configure.ac-skip-running-test-program-when-cross-co.patch \
            "
-SRC_URI[sha256sum] = 
"c64b1b7c8ee262a3c4796be57349a3198998564d70ed26f11e724e1b73d48394"
+SRC_URI[sha256sum] = 
"b8b22a2f0460c51f92ba785102bd122707966a618bb872c95fa6e6801d620cd1"
 
 UPSTREAM_CHECK_URI = "https://github.com/ice-wm/${BPN}/releases";
 UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
@@ -21,7 +21,7 @@ EXTRA_OECONF += "--with-libdir=${datadir}/icewm \
                 --enable-shape"
 
 DEPENDS = "asciidoc-native fontconfig fribidi gdk-pixbuf imlib2 libxft libxpm 
libxrandr \
-    libxinerama libice libsm libx11 libxext libxrender libxcomposite 
libxdamage \
+    libxinerama libice libsm libx11 libxext libxrender libxcomposite 
libxcursor libxdamage \
     libxfixes"
 DEPENDS:append = " qemu-native"
 RDEPENDS:${PN} = "perl fribidi imlib2 imlib2-loaders"
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#127868): 
https://lists.openembedded.org/g/openembedded-devel/message/127868
Mute This Topic: https://lists.openembedded.org/mt/120013665/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to