[oe-commits] Ash Charles : xfce4-dev-tools: Allow out of tree builds

git at git.openembedded.org git at git.openembedded.org
Tue Jun 10 10:44:02 UTC 2014


Module: meta-openembedded.git
Branch: master-next
Commit: 799bff981545c48a33f84c93c3fc979708f39b49
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=799bff981545c48a33f84c93c3fc979708f39b49

Author: Ash Charles <ash at gumstix.com>
Date:   Mon May 26 08:52:51 2014 -0700

xfce4-dev-tools: Allow out of tree builds

The xdt-autogen target in the generated scripts/Makefile refers to
a $(srcdir)/xdt-autogen.in file.  For an out-of-tree build, this file
is actually located in $(builddir)/xdt-autogen.in. See [1]

Upstream-Status: Submitted

[1] https://bugzilla.xfce.org/show_bug.cgi?id=10899

Signed-off-by: Ash Charles <ash at gumstix.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 .../xfce4-dev-tools-4.11.0/xdt-autogen_dependency.patch     | 13 +++++++++++++
 .../recipes-xfce/xfce4-dev-tools/xfce4-dev-tools_4.11.0.bb  |  7 +++++--
 2 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/meta-xfce/recipes-xfce/xfce4-dev-tools/xfce4-dev-tools-4.11.0/xdt-autogen_dependency.patch b/meta-xfce/recipes-xfce/xfce4-dev-tools/xfce4-dev-tools-4.11.0/xdt-autogen_dependency.patch
new file mode 100644
index 0000000..8e6bd35
--- /dev/null
+++ b/meta-xfce/recipes-xfce/xfce4-dev-tools/xfce4-dev-tools-4.11.0/xdt-autogen_dependency.patch
@@ -0,0 +1,13 @@
+diff --git a/scripts/Makefile.am b/scripts/Makefile.am
+index f2f0600..8e677dc 100644
+--- a/scripts/Makefile.am
++++ b/scripts/Makefile.am
+@@ -10,7 +10,7 @@ bin_SCRIPTS =								\
+	xdt-autogen							\
+	xdt-commit
+
+-xdt-autogen: Makefile $(srcdir)/xdt-autogen.in
++xdt-autogen: Makefile xdt-autogen.in
+	rm -f xdt-autogen xdt-autogen.gen
+	sed -e 's,\@DATADIR\@,$(datadir),g' \
+		xdt-autogen.in \
diff --git a/meta-xfce/recipes-xfce/xfce4-dev-tools/xfce4-dev-tools_4.11.0.bb b/meta-xfce/recipes-xfce/xfce4-dev-tools/xfce4-dev-tools_4.11.0.bb
index 3312fbd..ad3140e 100644
--- a/meta-xfce/recipes-xfce/xfce4-dev-tools/xfce4-dev-tools_4.11.0.bb
+++ b/meta-xfce/recipes-xfce/xfce4-dev-tools/xfce4-dev-tools_4.11.0.bb
@@ -9,13 +9,16 @@ inherit autotools
 
 BBCLASSEXTEND = "native"
 
-SRC_URI = "http://archive.xfce.org/src/xfce/${BPN}/${@'${PV}'[0:4]}/${BPN}-${PV}.tar.bz2"
+SRC_URI = " \
+    http://archive.xfce.org/src/xfce/${BPN}/${@'${PV}'[0:4]}/${BPN}-${PV}.tar.bz2 \
+    file://xdt-autogen_dependency.patch \
+"
 SRC_URI[md5sum] = "36112d0256092c30bd1b47105c547edf"
 SRC_URI[sha256sum] = "2dccdd4935716a97db28464ba2403572ce03134fd7adf294e1a59eaf297e6555"
 
 do_install_append() {
     install -d ${D}${datadir}/aclocal
-    install -m 644 m4macros/*.m4 ${D}${datadir}/aclocal/
+    install -m 644 ${S}/m4macros/*.m4 ${D}${datadir}/aclocal/
 }
 
 FILES_${PN} += "${datadir}/xfce4/dev-tools/m4macros/*.m4"



More information about the Openembedded-commits mailing list