Patchwork [meta-xfce/meta-gnome,01/10] xfce-git.bbclass initial add

login
register
mail settings
Submitter Andreas Müller
Date April 1, 2014, 3:21 p.m.
Message ID <1396365706-14220-2-git-send-email-schnitzeltony@googlemail.com>
Download mbox | patch
Permalink /patch/69831/
State Accepted, archived
Headers show

Comments

Andreas Müller - April 1, 2014, 3:21 p.m.
common preparations for xfce-git-repos

* implement autogen.sh call in do_configure_prepend
* AUTOTOOLS_COPYACLOCAL = "1": In oe-core commit
  79ea036de331bde65a88fb777647dc099ef05acf copying aclocals was moved to
  do_configure[prefuncs]. These are called before do_configure_prepend which
  causes configure.ac not yet being created and autotools_copy_aclocals
  returning undone.

By using this class tons of errors like

| aclocal: error: couldn't open directory '/home/a.mueller/tmp/oe-core-eglibc/work/armv7at2hf-vfp-neon-angstrom-linux-gnueabi/xfce4-settings/4.11.0+gitAUTOINC+b7a0e1fd77-r0/git/aclocal-copy/': No such file or directory
| autoreconf: aclocal failed with exit status: 1

are fixed.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 meta-xfce/classes/xfce-git.bbclass | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 meta-xfce/classes/xfce-git.bbclass

Patch

diff --git a/meta-xfce/classes/xfce-git.bbclass b/meta-xfce/classes/xfce-git.bbclass
new file mode 100644
index 0000000..c4be554
--- /dev/null
+++ b/meta-xfce/classes/xfce-git.bbclass
@@ -0,0 +1,5 @@ 
+do_configure_prepend() {
+       NOCONFIGURE=yes ./autogen.sh
+}
+
+AUTOTOOLS_COPYACLOCAL = "1"