diff options
author | Ash Charles <ash@gumstix.com> | 2014-05-26 08:52:51 -0700 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-06-10 12:16:23 +0200 |
commit | 799bff981545c48a33f84c93c3fc979708f39b49 (patch) | |
tree | 5ccd64307a5079fd0c69f03fe494fb5fe18611f7 /meta-xfce | |
parent | cb41796a5e0573bf3676b5c54fcc12c6dd42f9fb (diff) | |
download | meta-openembedded-799bff981545c48a33f84c93c3fc979708f39b49.tar.gz |
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@gumstix.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-xfce')
-rw-r--r-- | meta-xfce/recipes-xfce/xfce4-dev-tools/xfce4-dev-tools-4.11.0/xdt-autogen_dependency.patch | 13 | ||||
-rw-r--r-- | meta-xfce/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 0000000000..8e6bd35425 --- /dev/null +++ b/meta-xfce/recipes-xfce/xfce4-dev-tools/xfce4-dev-tools-4.11.0/xdt-autogen_dependency.patch | |||
@@ -0,0 +1,13 @@ | |||
1 | diff --git a/scripts/Makefile.am b/scripts/Makefile.am | ||
2 | index f2f0600..8e677dc 100644 | ||
3 | --- a/scripts/Makefile.am | ||
4 | +++ b/scripts/Makefile.am | ||
5 | @@ -10,7 +10,7 @@ bin_SCRIPTS = \ | ||
6 | xdt-autogen \ | ||
7 | xdt-commit | ||
8 | |||
9 | -xdt-autogen: Makefile $(srcdir)/xdt-autogen.in | ||
10 | +xdt-autogen: Makefile xdt-autogen.in | ||
11 | rm -f xdt-autogen xdt-autogen.gen | ||
12 | sed -e 's,\@DATADIR\@,$(datadir),g' \ | ||
13 | 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 3312fbdfe3..ad3140e23c 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 | |||
9 | 9 | ||
10 | BBCLASSEXTEND = "native" | 10 | BBCLASSEXTEND = "native" |
11 | 11 | ||
12 | SRC_URI = "http://archive.xfce.org/src/xfce/${BPN}/${@'${PV}'[0:4]}/${BPN}-${PV}.tar.bz2" | 12 | SRC_URI = " \ |
13 | http://archive.xfce.org/src/xfce/${BPN}/${@'${PV}'[0:4]}/${BPN}-${PV}.tar.bz2 \ | ||
14 | file://xdt-autogen_dependency.patch \ | ||
15 | " | ||
13 | SRC_URI[md5sum] = "36112d0256092c30bd1b47105c547edf" | 16 | SRC_URI[md5sum] = "36112d0256092c30bd1b47105c547edf" |
14 | SRC_URI[sha256sum] = "2dccdd4935716a97db28464ba2403572ce03134fd7adf294e1a59eaf297e6555" | 17 | SRC_URI[sha256sum] = "2dccdd4935716a97db28464ba2403572ce03134fd7adf294e1a59eaf297e6555" |
15 | 18 | ||
16 | do_install_append() { | 19 | do_install_append() { |
17 | install -d ${D}${datadir}/aclocal | 20 | install -d ${D}${datadir}/aclocal |
18 | install -m 644 m4macros/*.m4 ${D}${datadir}/aclocal/ | 21 | install -m 644 ${S}/m4macros/*.m4 ${D}${datadir}/aclocal/ |
19 | } | 22 | } |
20 | 23 | ||
21 | FILES_${PN} += "${datadir}/xfce4/dev-tools/m4macros/*.m4" | 24 | FILES_${PN} += "${datadir}/xfce4/dev-tools/m4macros/*.m4" |