added my Recipes
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
From b2fcd5c09ee6b4ad03f93ee5e1dd32f2f062cf07 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
|
||||
Date: Sun, 3 Jan 2021 15:36:07 +0100
|
||||
Subject: [PATCH] Run native xdt-csource on tests
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Tests cannot be opted out so let them pass.
|
||||
|
||||
Upstream-Status: Inappropriate [OE specific]
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
|
||||
---
|
||||
tests/Makefile.am | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tests/Makefile.am b/tests/Makefile.am
|
||||
index fa0832c..7c46bbf 100644
|
||||
--- a/tests/Makefile.am
|
||||
+++ b/tests/Makefile.am
|
||||
@@ -26,7 +26,7 @@ DISTCLEANFILES = test-xdt-csource-data.c
|
||||
BUILT_SOURCES = test-xdt-csource-data.c
|
||||
|
||||
test-xdt-csource-data.c: Makefile $(srcdir)/data/data.bin $(srcdir)/data/data.txt
|
||||
- $(top_builddir)/xdt-csource/xdt-csource --extern --build-list data_bin $(srcdir)/data/data.bin data_txt $(srcdir)/data/data.txt > test-xdt-csource-data.c
|
||||
+ xdt-csource --extern --build-list data_bin $(srcdir)/data/data.bin data_txt $(srcdir)/data/data.txt > test-xdt-csource-data.c
|
||||
|
||||
clean-local:
|
||||
rm -f *.core core core.*
|
||||
--
|
||||
2.26.2
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
From 8f58e1b5c15fc3b6f775207971d078c058d9eb7b Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Thu, 1 Sep 2022 08:21:56 -0700
|
||||
Subject: [PATCH] m4macros: Check for a function provided by libX11 in
|
||||
AC_CHECK_LIB
|
||||
|
||||
checking for main is not ideal, since its not a function from libX11
|
||||
moreover with newer versions of autoconf this will start to fail [1], so
|
||||
change this to use XFree API which is provided by libX11 and seems more
|
||||
relevant to check here.
|
||||
|
||||
[1] https://lists.gnu.org/archive/html/autoconf-patches/2022-08/msg00018.html
|
||||
|
||||
Upstream-Status: Submitted [https://gitlab.xfce.org/xfce/xfce4-dev-tools/-/issues/57]
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
m4macros/xdt-depends.m4 | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/m4macros/xdt-depends.m4 b/m4macros/xdt-depends.m4
|
||||
index 3c07c90..ce1b272 100644
|
||||
--- a/m4macros/xdt-depends.m4
|
||||
+++ b/m4macros/xdt-depends.m4
|
||||
@@ -213,7 +213,7 @@ AC_DEFUN([XDT_CHECK_LIBX11],
|
||||
|
||||
LIBX11_CFLAGS= LIBX11_LDFLAGS= LIBX11_LIBS=
|
||||
if test x"$no_x" != x"yes"; then
|
||||
- AC_CHECK_LIB([X11], [main],
|
||||
+ AC_CHECK_LIB([X11], [XFree],
|
||||
[
|
||||
AC_DEFINE([HAVE_LIBX11], [1], [Define if libX11 is available])
|
||||
LIBX11_CFLAGS="$X_CFLAGS"
|
||||
--
|
||||
2.37.3
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
SUMMARY = "Xfce4 development tools"
|
||||
HOMEPAGE = "http://www.xfce.org"
|
||||
SECTION = "x11/libs"
|
||||
LICENSE = "GPL-2.0-or-later"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
||||
|
||||
DEPENDS = "glib-2.0"
|
||||
DEPENDS:append:class-target = " ${BPN}-native"
|
||||
|
||||
SRC_URI = "http://archive.xfce.org/src/xfce/${BPN}/${@'${PV}'[0:4]}/${BPN}-${PV}.tar.bz2 \
|
||||
file://0001-m4macros-Check-for-a-function-provided-by-libX11-in-.patch \
|
||||
"
|
||||
SRC_URI:append:class-target = " file://0001-Run-native-xdt-csource-on-tests.patch"
|
||||
SRC_URI[sha256sum] = "eedb4fc955f0e3459c46864ff98579295db2b900743e0ff69cad5970ba76be37"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
do_install:append() {
|
||||
install -d ${D}${datadir}/aclocal
|
||||
install -m 644 ${S}/m4macros/*.m4 ${D}${datadir}/aclocal/
|
||||
}
|
||||
|
||||
FILES:${PN} += "${datadir}/xfce4/dev-tools/m4macros/*.m4"
|
||||
|
||||
RDEPENDS:${PN} = "bash"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
Reference in New Issue
Block a user