summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome
diff options
context:
space:
mode:
authorNathan Rossi <nathan.rossi@xilinx.com>2015-04-29 17:44:34 +1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-03 11:43:51 +0100
commitdaf5113a819f970b207da7eb31f9d25f7e146897 (patch)
tree5863234103c28699be891b7dcdf3ba1eb22e4f0e /meta/recipes-gnome
parent29abd1fcfc03f923ad7141133c9bb1571db1e5ea (diff)
downloadpoky-daf5113a819f970b207da7eb31f9d25f7e146897.tar.gz
libart_lgpl: Allow art_config.h to be generated at compile time
* Remove patch that prevents the Makefile from generating the art_config.h file * Remove pre-generated art_config.h for various architecture * Add a do_compile prepend to remove the art_config.h that is provided in the source so that the compilation will regenerate the file (From OE-Core rev: 91f3255ad700736bbf5d1b35b48db1708676a469) Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome')
-rw-r--r--meta/recipes-gnome/gnome/libart-lgpl/Makefile.am.patch17
-rw-r--r--meta/recipes-gnome/gnome/libart-lgpl/aarch64/art_config.h10
-rw-r--r--meta/recipes-gnome/gnome/libart-lgpl/aarch64be/art_config.h10
-rw-r--r--meta/recipes-gnome/gnome/libart-lgpl/aarch64be_32/art_config.h10
-rw-r--r--meta/recipes-gnome/gnome/libart-lgpl/arm/art_config.h10
-rw-r--r--meta/recipes-gnome/gnome/libart-lgpl/armeb/art_config.h10
-rw-r--r--meta/recipes-gnome/gnome/libart-lgpl/i386/art_config.h10
-rw-r--r--meta/recipes-gnome/gnome/libart-lgpl/i586/art_config.h10
-rw-r--r--meta/recipes-gnome/gnome/libart-lgpl/i686/art_config.h10
-rw-r--r--meta/recipes-gnome/gnome/libart-lgpl/mips/art_config.h10
-rw-r--r--meta/recipes-gnome/gnome/libart-lgpl/mips64/art_config.h10
-rw-r--r--meta/recipes-gnome/gnome/libart-lgpl/mips64el/art_config.h10
-rw-r--r--meta/recipes-gnome/gnome/libart-lgpl/mipsel/art_config.h10
-rw-r--r--meta/recipes-gnome/gnome/libart-lgpl/powerpc/art_config.h10
-rw-r--r--meta/recipes-gnome/gnome/libart-lgpl/powerpc64/art_config.h10
-rw-r--r--meta/recipes-gnome/gnome/libart-lgpl/x86_64/art_config.h10
-rw-r--r--meta/recipes-gnome/gnome/libart-lgpl_2.3.21.bb12
17 files changed, 5 insertions, 174 deletions
diff --git a/meta/recipes-gnome/gnome/libart-lgpl/Makefile.am.patch b/meta/recipes-gnome/gnome/libart-lgpl/Makefile.am.patch
deleted file mode 100644
index 190ba96085..0000000000
--- a/meta/recipes-gnome/gnome/libart-lgpl/Makefile.am.patch
+++ /dev/null
@@ -1,17 +0,0 @@
1Upstream-Status: Inappropriate [configuration]
2
3Index: libart_lgpl-2.3.21/Makefile.am
4===================================================================
5--- libart_lgpl-2.3.21.orig/Makefile.am 2009-04-18 05:29:25.000000000 -0700
6+++ libart_lgpl-2.3.21/Makefile.am 2010-11-23 23:12:32.445450075 -0800
7@@ -7,8 +7,8 @@
8
9 BUILT_SOURCES = art_config.h
10
11-art_config.h:
12- ./gen_art_config.sh > art_config.h
13+#art_config.h:
14+# ./gen_art_config.sh > art_config.h
15
16 EXTRA_DIST = \
17 libart.def \
diff --git a/meta/recipes-gnome/gnome/libart-lgpl/aarch64/art_config.h b/meta/recipes-gnome/gnome/libart-lgpl/aarch64/art_config.h
deleted file mode 100644
index 500ffc38f1..0000000000
--- a/meta/recipes-gnome/gnome/libart-lgpl/aarch64/art_config.h
+++ /dev/null
@@ -1,10 +0,0 @@
1/* Automatically generated by gen_art_config.c */
2
3#define ART_SIZEOF_CHAR 1
4#define ART_SIZEOF_SHORT 2
5#define ART_SIZEOF_INT 4
6#define ART_SIZEOF_LONG 8
7
8typedef unsigned char art_u8;
9typedef unsigned short art_u16;
10typedef unsigned int art_u32;
diff --git a/meta/recipes-gnome/gnome/libart-lgpl/aarch64be/art_config.h b/meta/recipes-gnome/gnome/libart-lgpl/aarch64be/art_config.h
deleted file mode 100644
index 500ffc38f1..0000000000
--- a/meta/recipes-gnome/gnome/libart-lgpl/aarch64be/art_config.h
+++ /dev/null
@@ -1,10 +0,0 @@
1/* Automatically generated by gen_art_config.c */
2
3#define ART_SIZEOF_CHAR 1
4#define ART_SIZEOF_SHORT 2
5#define ART_SIZEOF_INT 4
6#define ART_SIZEOF_LONG 8
7
8typedef unsigned char art_u8;
9typedef unsigned short art_u16;
10typedef unsigned int art_u32;
diff --git a/meta/recipes-gnome/gnome/libart-lgpl/aarch64be_32/art_config.h b/meta/recipes-gnome/gnome/libart-lgpl/aarch64be_32/art_config.h
deleted file mode 100644
index b0e74ad6ae..0000000000
--- a/meta/recipes-gnome/gnome/libart-lgpl/aarch64be_32/art_config.h
+++ /dev/null
@@ -1,10 +0,0 @@
1/* Automatically generated by gen_art_config.c */
2
3#define ART_SIZEOF_CHAR 1
4#define ART_SIZEOF_SHORT 2
5#define ART_SIZEOF_INT 4
6#define ART_SIZEOF_LONG 4
7
8typedef unsigned char art_u8;
9typedef unsigned short art_u16;
10typedef unsigned int art_u32;
diff --git a/meta/recipes-gnome/gnome/libart-lgpl/arm/art_config.h b/meta/recipes-gnome/gnome/libart-lgpl/arm/art_config.h
deleted file mode 100644
index b0e74ad6ae..0000000000
--- a/meta/recipes-gnome/gnome/libart-lgpl/arm/art_config.h
+++ /dev/null
@@ -1,10 +0,0 @@
1/* Automatically generated by gen_art_config.c */
2
3#define ART_SIZEOF_CHAR 1
4#define ART_SIZEOF_SHORT 2
5#define ART_SIZEOF_INT 4
6#define ART_SIZEOF_LONG 4
7
8typedef unsigned char art_u8;
9typedef unsigned short art_u16;
10typedef unsigned int art_u32;
diff --git a/meta/recipes-gnome/gnome/libart-lgpl/armeb/art_config.h b/meta/recipes-gnome/gnome/libart-lgpl/armeb/art_config.h
deleted file mode 100644
index b0e74ad6ae..0000000000
--- a/meta/recipes-gnome/gnome/libart-lgpl/armeb/art_config.h
+++ /dev/null
@@ -1,10 +0,0 @@
1/* Automatically generated by gen_art_config.c */
2
3#define ART_SIZEOF_CHAR 1
4#define ART_SIZEOF_SHORT 2
5#define ART_SIZEOF_INT 4
6#define ART_SIZEOF_LONG 4
7
8typedef unsigned char art_u8;
9typedef unsigned short art_u16;
10typedef unsigned int art_u32;
diff --git a/meta/recipes-gnome/gnome/libart-lgpl/i386/art_config.h b/meta/recipes-gnome/gnome/libart-lgpl/i386/art_config.h
deleted file mode 100644
index b0e74ad6ae..0000000000
--- a/meta/recipes-gnome/gnome/libart-lgpl/i386/art_config.h
+++ /dev/null
@@ -1,10 +0,0 @@
1/* Automatically generated by gen_art_config.c */
2
3#define ART_SIZEOF_CHAR 1
4#define ART_SIZEOF_SHORT 2
5#define ART_SIZEOF_INT 4
6#define ART_SIZEOF_LONG 4
7
8typedef unsigned char art_u8;
9typedef unsigned short art_u16;
10typedef unsigned int art_u32;
diff --git a/meta/recipes-gnome/gnome/libart-lgpl/i586/art_config.h b/meta/recipes-gnome/gnome/libart-lgpl/i586/art_config.h
deleted file mode 100644
index b0e74ad6ae..0000000000
--- a/meta/recipes-gnome/gnome/libart-lgpl/i586/art_config.h
+++ /dev/null
@@ -1,10 +0,0 @@
1/* Automatically generated by gen_art_config.c */
2
3#define ART_SIZEOF_CHAR 1
4#define ART_SIZEOF_SHORT 2
5#define ART_SIZEOF_INT 4
6#define ART_SIZEOF_LONG 4
7
8typedef unsigned char art_u8;
9typedef unsigned short art_u16;
10typedef unsigned int art_u32;
diff --git a/meta/recipes-gnome/gnome/libart-lgpl/i686/art_config.h b/meta/recipes-gnome/gnome/libart-lgpl/i686/art_config.h
deleted file mode 100644
index b0e74ad6ae..0000000000
--- a/meta/recipes-gnome/gnome/libart-lgpl/i686/art_config.h
+++ /dev/null
@@ -1,10 +0,0 @@
1/* Automatically generated by gen_art_config.c */
2
3#define ART_SIZEOF_CHAR 1
4#define ART_SIZEOF_SHORT 2
5#define ART_SIZEOF_INT 4
6#define ART_SIZEOF_LONG 4
7
8typedef unsigned char art_u8;
9typedef unsigned short art_u16;
10typedef unsigned int art_u32;
diff --git a/meta/recipes-gnome/gnome/libart-lgpl/mips/art_config.h b/meta/recipes-gnome/gnome/libart-lgpl/mips/art_config.h
deleted file mode 100644
index b0e74ad6ae..0000000000
--- a/meta/recipes-gnome/gnome/libart-lgpl/mips/art_config.h
+++ /dev/null
@@ -1,10 +0,0 @@
1/* Automatically generated by gen_art_config.c */
2
3#define ART_SIZEOF_CHAR 1
4#define ART_SIZEOF_SHORT 2
5#define ART_SIZEOF_INT 4
6#define ART_SIZEOF_LONG 4
7
8typedef unsigned char art_u8;
9typedef unsigned short art_u16;
10typedef unsigned int art_u32;
diff --git a/meta/recipes-gnome/gnome/libart-lgpl/mips64/art_config.h b/meta/recipes-gnome/gnome/libart-lgpl/mips64/art_config.h
deleted file mode 100644
index d10cd957d5..0000000000
--- a/meta/recipes-gnome/gnome/libart-lgpl/mips64/art_config.h
+++ /dev/null
@@ -1,10 +0,0 @@
1/* Automatically generated by gen_art_config */
2
3#define ART_SIZEOF_CHAR 1
4#define ART_SIZEOF_SHORT 2
5#define ART_SIZEOF_INT 4
6#define ART_SIZEOF_LONG 8
7
8typedef unsigned char art_u8;
9typedef unsigned short art_u16;
10typedef unsigned int art_u32;
diff --git a/meta/recipes-gnome/gnome/libart-lgpl/mips64el/art_config.h b/meta/recipes-gnome/gnome/libart-lgpl/mips64el/art_config.h
deleted file mode 100644
index d10cd957d5..0000000000
--- a/meta/recipes-gnome/gnome/libart-lgpl/mips64el/art_config.h
+++ /dev/null
@@ -1,10 +0,0 @@
1/* Automatically generated by gen_art_config */
2
3#define ART_SIZEOF_CHAR 1
4#define ART_SIZEOF_SHORT 2
5#define ART_SIZEOF_INT 4
6#define ART_SIZEOF_LONG 8
7
8typedef unsigned char art_u8;
9typedef unsigned short art_u16;
10typedef unsigned int art_u32;
diff --git a/meta/recipes-gnome/gnome/libart-lgpl/mipsel/art_config.h b/meta/recipes-gnome/gnome/libart-lgpl/mipsel/art_config.h
deleted file mode 100644
index b0e74ad6ae..0000000000
--- a/meta/recipes-gnome/gnome/libart-lgpl/mipsel/art_config.h
+++ /dev/null
@@ -1,10 +0,0 @@
1/* Automatically generated by gen_art_config.c */
2
3#define ART_SIZEOF_CHAR 1
4#define ART_SIZEOF_SHORT 2
5#define ART_SIZEOF_INT 4
6#define ART_SIZEOF_LONG 4
7
8typedef unsigned char art_u8;
9typedef unsigned short art_u16;
10typedef unsigned int art_u32;
diff --git a/meta/recipes-gnome/gnome/libart-lgpl/powerpc/art_config.h b/meta/recipes-gnome/gnome/libart-lgpl/powerpc/art_config.h
deleted file mode 100644
index b0e74ad6ae..0000000000
--- a/meta/recipes-gnome/gnome/libart-lgpl/powerpc/art_config.h
+++ /dev/null
@@ -1,10 +0,0 @@
1/* Automatically generated by gen_art_config.c */
2
3#define ART_SIZEOF_CHAR 1
4#define ART_SIZEOF_SHORT 2
5#define ART_SIZEOF_INT 4
6#define ART_SIZEOF_LONG 4
7
8typedef unsigned char art_u8;
9typedef unsigned short art_u16;
10typedef unsigned int art_u32;
diff --git a/meta/recipes-gnome/gnome/libart-lgpl/powerpc64/art_config.h b/meta/recipes-gnome/gnome/libart-lgpl/powerpc64/art_config.h
deleted file mode 100644
index 500ffc38f1..0000000000
--- a/meta/recipes-gnome/gnome/libart-lgpl/powerpc64/art_config.h
+++ /dev/null
@@ -1,10 +0,0 @@
1/* Automatically generated by gen_art_config.c */
2
3#define ART_SIZEOF_CHAR 1
4#define ART_SIZEOF_SHORT 2
5#define ART_SIZEOF_INT 4
6#define ART_SIZEOF_LONG 8
7
8typedef unsigned char art_u8;
9typedef unsigned short art_u16;
10typedef unsigned int art_u32;
diff --git a/meta/recipes-gnome/gnome/libart-lgpl/x86_64/art_config.h b/meta/recipes-gnome/gnome/libart-lgpl/x86_64/art_config.h
deleted file mode 100644
index 500ffc38f1..0000000000
--- a/meta/recipes-gnome/gnome/libart-lgpl/x86_64/art_config.h
+++ /dev/null
@@ -1,10 +0,0 @@
1/* Automatically generated by gen_art_config.c */
2
3#define ART_SIZEOF_CHAR 1
4#define ART_SIZEOF_SHORT 2
5#define ART_SIZEOF_INT 4
6#define ART_SIZEOF_LONG 8
7
8typedef unsigned char art_u8;
9typedef unsigned short art_u16;
10typedef unsigned int art_u32;
diff --git a/meta/recipes-gnome/gnome/libart-lgpl_2.3.21.bb b/meta/recipes-gnome/gnome/libart-lgpl_2.3.21.bb
index 4966ea4c7a..138461684c 100644
--- a/meta/recipes-gnome/gnome/libart-lgpl_2.3.21.bb
+++ b/meta/recipes-gnome/gnome/libart-lgpl_2.3.21.bb
@@ -4,12 +4,8 @@ LICENSE = "LGPLv2"
4LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7" 4LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7"
5PR = "r2" 5PR = "r2"
6 6
7ART_CONFIG = "${HOST_ARCH}/art_config.h"
8
9# can't use gnome.oeclass due to _ in filename 7# can't use gnome.oeclass due to _ in filename
10SRC_URI = "${GNOME_MIRROR}/libart_lgpl/2.3/libart_lgpl-${PV}.tar.bz2 \ 8SRC_URI = "${GNOME_MIRROR}/libart_lgpl/2.3/libart_lgpl-${PV}.tar.bz2"
11 file://${ART_CONFIG} \
12 file://Makefile.am.patch"
13 9
14SRC_URI[md5sum] = "08559ff3c67fd95d57b0c5e91a6b4302" 10SRC_URI[md5sum] = "08559ff3c67fd95d57b0c5e91a6b4302"
15SRC_URI[sha256sum] = "fdc11e74c10fc9ffe4188537e2b370c0abacca7d89021d4d303afdf7fd7476fa" 11SRC_URI[sha256sum] = "fdc11e74c10fc9ffe4188537e2b370c0abacca7d89021d4d303afdf7fd7476fa"
@@ -23,6 +19,8 @@ FILES_${PN}-dev += "${bindir}/libart2-config"
23 19
24S = "${WORKDIR}/libart_lgpl-${PV}" 20S = "${WORKDIR}/libart_lgpl-${PV}"
25 21
26do_configure_prepend() { 22do_compile_prepend() {
27 cp ${WORKDIR}/${ART_CONFIG} ${S}/art_config.h 23 # enforce regeneration of art_config.h
24 rm ${S}/art_config.h
28} 25}
26