diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2012-05-08 09:57:16 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2012-05-08 10:20:16 +0200 |
commit | 7e5b1e477a25c3dc661a2c155a22022a07903d0a (patch) | |
tree | c1150804bf0d9811cc3778c541529641b1be8dd9 /meta-gnome/recipes-gnome/orbit2 | |
parent | eaafb0b441e9645cad3e1a7a6730be4b19c65d54 (diff) | |
download | meta-openembedded-7e5b1e477a25c3dc661a2c155a22022a07903d0a.tar.gz |
orbit2: cleanup recipe, merge .inc and -native
* fix LICENSE field
* this also upgrades -native from 2.14.12 to 2.14.17, because 2.14.12 is failing to
configure:13143: checking alignment of CORBA_octet
configure:13170: gcc -o conftest -isystem/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/include -O2 -pipe -isystem/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/include -pthread -I/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/include/glib-2.0 -I/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib/glib-2.0/include -L/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib -L/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/lib -Wl,-rpath-link,/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/lib -Wl,-rpath,/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/lib -Wl,-O1 conftest.c -pthread -Wl,--export-dynamic -L/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lrt -lglib-2.0 >&5
In file included from ./include/orbit/util/basic_types.h:5:0,
from conftest.c:45:
/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/include/glib-2.0/glib/gunicode.h:23:2: error: #error 'Only <glib.h> can be included directly.'
* use GNOME_MIRROR and SHRT_VER in SRC_URI
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-gnome/recipes-gnome/orbit2')
-rw-r--r-- | meta-gnome/recipes-gnome/orbit2/orbit2-2.14.17/gtk-doc.m4 (renamed from meta-gnome/recipes-gnome/orbit2/orbit2/gtk-doc.m4) | 0 | ||||
-rw-r--r-- | meta-gnome/recipes-gnome/orbit2/orbit2-2.14.17/gtk-doc.make (renamed from meta-gnome/recipes-gnome/orbit2/orbit2/gtk-doc.make) | 0 | ||||
-rw-r--r-- | meta-gnome/recipes-gnome/orbit2/orbit2-2.14.17/pkgconfig-fix.patch (renamed from meta-gnome/recipes-gnome/orbit2/orbit2/pkgconfig-fix.patch) | 0 | ||||
-rw-r--r-- | meta-gnome/recipes-gnome/orbit2/orbit2-native_2.14.12.bb | 27 | ||||
-rw-r--r-- | meta-gnome/recipes-gnome/orbit2/orbit2.inc | 32 | ||||
-rw-r--r-- | meta-gnome/recipes-gnome/orbit2/orbit2/configure-lossage.patch | 35 | ||||
-rw-r--r-- | meta-gnome/recipes-gnome/orbit2/orbit2_2.14.17.bb | 48 |
7 files changed, 44 insertions, 98 deletions
diff --git a/meta-gnome/recipes-gnome/orbit2/orbit2/gtk-doc.m4 b/meta-gnome/recipes-gnome/orbit2/orbit2-2.14.17/gtk-doc.m4 index 3ec41666b..3ec41666b 100644 --- a/meta-gnome/recipes-gnome/orbit2/orbit2/gtk-doc.m4 +++ b/meta-gnome/recipes-gnome/orbit2/orbit2-2.14.17/gtk-doc.m4 | |||
diff --git a/meta-gnome/recipes-gnome/orbit2/orbit2/gtk-doc.make b/meta-gnome/recipes-gnome/orbit2/orbit2-2.14.17/gtk-doc.make index 354ffb7c6..354ffb7c6 100644 --- a/meta-gnome/recipes-gnome/orbit2/orbit2/gtk-doc.make +++ b/meta-gnome/recipes-gnome/orbit2/orbit2-2.14.17/gtk-doc.make | |||
diff --git a/meta-gnome/recipes-gnome/orbit2/orbit2/pkgconfig-fix.patch b/meta-gnome/recipes-gnome/orbit2/orbit2-2.14.17/pkgconfig-fix.patch index f629e506d..f629e506d 100644 --- a/meta-gnome/recipes-gnome/orbit2/orbit2/pkgconfig-fix.patch +++ b/meta-gnome/recipes-gnome/orbit2/orbit2-2.14.17/pkgconfig-fix.patch | |||
diff --git a/meta-gnome/recipes-gnome/orbit2/orbit2-native_2.14.12.bb b/meta-gnome/recipes-gnome/orbit2/orbit2-native_2.14.12.bb deleted file mode 100644 index 1db2496c3..000000000 --- a/meta-gnome/recipes-gnome/orbit2/orbit2-native_2.14.12.bb +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | DESCRIPTION = "CORBA ORB" | ||
2 | PR = "r0" | ||
3 | LICENSE = "LGPL GPL" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | ||
5 | SECTION = "x11/gnome/libs" | ||
6 | SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/ORBit2/2.14/ORBit2-${PV}.tar.bz2 \ | ||
7 | file://configure-lossage.patch \ | ||
8 | file://gtk-doc.m4 \ | ||
9 | file://gtk-doc.make" | ||
10 | DEPENDS = "libidl-native popt-native gtk-doc" | ||
11 | |||
12 | S = "${WORKDIR}/ORBit2-${PV}" | ||
13 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/orbit2" | ||
14 | |||
15 | PARALLEL_MAKE = "" | ||
16 | inherit autotools native pkgconfig | ||
17 | |||
18 | EXTRA_OECONF = "--disable-gtk-doc" | ||
19 | |||
20 | do_configure_prepend() { | ||
21 | mkdir -p m4 | ||
22 | install ${WORKDIR}/gtk-doc.m4 ./m4/ | ||
23 | install ${WORKDIR}/gtk-doc.make ./ | ||
24 | } | ||
25 | |||
26 | SRC_URI[md5sum] = "6f4bf7d803d442e9d093a0daa203d506" | ||
27 | SRC_URI[sha256sum] = "d60027a4a36e64d02723d00b76c08e8d92850cab6269b2edcda4a1bb30cc7723" | ||
diff --git a/meta-gnome/recipes-gnome/orbit2/orbit2.inc b/meta-gnome/recipes-gnome/orbit2/orbit2.inc deleted file mode 100644 index 51978909b..000000000 --- a/meta-gnome/recipes-gnome/orbit2/orbit2.inc +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | LICENSE = "GPL" | ||
2 | DESCRIPTION = "CORBA ORB" | ||
3 | SECTION = "x11/gnome/libs" | ||
4 | SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/ORBit2/2.14/ORBit2-${PV}.tar.bz2 \ | ||
5 | file://configure-lossage.patch \ | ||
6 | file://pkgconfig-fix.patch \ | ||
7 | file://gtk-doc.m4 \ | ||
8 | file://gtk-doc.make" | ||
9 | DEPENDS = "libidl popt orbit2-native gtk-doc" | ||
10 | PARALLEL_MAKE = "" | ||
11 | |||
12 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | ||
13 | |||
14 | FILES_${PN} += "${libdir}/orbit-2.0/*.so" | ||
15 | FILES_${PN}-dev += "${libdir}/orbit-2.0/*.a ${libdir}/orbit-2.0/*.la" | ||
16 | FILES_${PN}-dbg += "${libdir}/orbit-2.0/.debug" | ||
17 | |||
18 | S = "${WORKDIR}/ORBit2-${PV}" | ||
19 | |||
20 | LEAD_SONAME = "libORBit-2.so" | ||
21 | |||
22 | inherit autotools pkgconfig | ||
23 | |||
24 | EXTRA_OECONF = "--disable-gtk-doc" | ||
25 | EXTRA_OEMAKE = "IDL_COMPILER='${STAGING_BINDIR_NATIVE}/orbit-idl-2'" | ||
26 | |||
27 | do_configure_prepend() { | ||
28 | mkdir -p m4 | ||
29 | install ${WORKDIR}/gtk-doc.m4 ./m4/ | ||
30 | install ${WORKDIR}/gtk-doc.make ./ | ||
31 | } | ||
32 | |||
diff --git a/meta-gnome/recipes-gnome/orbit2/orbit2/configure-lossage.patch b/meta-gnome/recipes-gnome/orbit2/orbit2/configure-lossage.patch deleted file mode 100644 index 7485a0ce0..000000000 --- a/meta-gnome/recipes-gnome/orbit2/orbit2/configure-lossage.patch +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | --- orbit/configure.in~ 2004-05-07 09:31:32.000000000 +0100 | ||
2 | +++ orbit/configure.in 2004-05-08 19:27:35.000000000 +0100 | ||
3 | @@ -193,19 +193,19 @@ | ||
4 | dnl So many people with broken linking setups asked about this | ||
5 | dnl it turned out to be necessary to check for this. | ||
6 | dnl | ||
7 | -dofus_save_libs="$LIBS" | ||
8 | -LIBS="$ORBIT_LIBS $LIBS" | ||
9 | -AC_TRY_RUN([ #include <stdio.h> | ||
10 | - main () | ||
11 | - { | ||
12 | - return 0; | ||
13 | - } ],, | ||
14 | - AC_MSG_ERROR([ | ||
15 | -Linking is badly borked on your system. Please ensure your library path is correct | ||
16 | -Check config.log for details - check near the end of the log above 'failed program was' | ||
17 | -Alternatively ensure that your /etc/ld.so.conf (and/or LD_LIBRARY_PATH) includes the | ||
18 | -prefix you're compiling on: '${prefix}' ])) | ||
19 | -LIBS="$dofus_save_libs" | ||
20 | +dnl dofus_save_libs="$LIBS" | ||
21 | +dnl LIBS="$ORBIT_LIBS $LIBS" | ||
22 | +dnl AC_TRY_RUN([ #include <stdio.h> | ||
23 | +dnl main () | ||
24 | +dnl { | ||
25 | +dnl return 0; | ||
26 | +dnl } ],, | ||
27 | +dnl AC_MSG_ERROR([ | ||
28 | +dnl Linking is badly borked on your system. Please ensure your library path is correct | ||
29 | +dnl Check config.log for details - check near the end of the log above 'failed program was' | ||
30 | +dnl Alternatively ensure that your /etc/ld.so.conf (and/or LD_LIBRARY_PATH) includes the | ||
31 | +dnl prefix you're compiling on: '${prefix}' ])) | ||
32 | +dnl LIBS="$dofus_save_libs" | ||
33 | |||
34 | orig_CPPFLAGS=$CPPFLAGS | ||
35 | CPPFLAGS="$CPPFLAGS $ORBIT_CFLAGS" | ||
diff --git a/meta-gnome/recipes-gnome/orbit2/orbit2_2.14.17.bb b/meta-gnome/recipes-gnome/orbit2/orbit2_2.14.17.bb index 8709cc026..fb7e93eeb 100644 --- a/meta-gnome/recipes-gnome/orbit2/orbit2_2.14.17.bb +++ b/meta-gnome/recipes-gnome/orbit2/orbit2_2.14.17.bb | |||
@@ -1,6 +1,46 @@ | |||
1 | require orbit2.inc | 1 | DESCRIPTION = "CORBA ORB" |
2 | 2 | SECTION = "x11/gnome/libs" | |
3 | PR = "r1" | 3 | LICENSE = "GPL-2.0" |
4 | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | |
5 | SRC_NAME = "ORBit2" | ||
6 | SHRT_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" | ||
7 | SRC_URI = "${GNOME_MIRROR}/${SRC_NAME}/${SHRT_VER}/${SRC_NAME}-${PV}.tar.bz2 \ | ||
8 | file://configure-lossage.patch \ | ||
9 | file://pkgconfig-fix.patch \ | ||
10 | file://gtk-doc.m4 \ | ||
11 | file://gtk-doc.make" | ||
5 | SRC_URI[md5sum] = "10bfb957fa4a8935a0b4afaee7d71df7" | 12 | SRC_URI[md5sum] = "10bfb957fa4a8935a0b4afaee7d71df7" |
6 | SRC_URI[sha256sum] = "62bfce3f678f9347a19c766944e8aef7b89bc32b25ac23eb3e4c25929ce8974c" | 13 | SRC_URI[sha256sum] = "62bfce3f678f9347a19c766944e8aef7b89bc32b25ac23eb3e4c25929ce8974c" |
14 | |||
15 | PR = "r2" | ||
16 | BBCLASSEXTEND = "native" | ||
17 | |||
18 | IDL_COMPILER_DEPENDS = "orbit2-native" | ||
19 | IDL_COMPILER_DEPENDS_virtclass-native = " " | ||
20 | DEPENDS = "libidl popt gtk-doc ${IDL_COMPILER_DEPENDS}" | ||
21 | |||
22 | # IDL_COMPILER_DEPENDS_virtclass-native for some reason didn't work and orbit2-native | ||
23 | # was still in orbit2-native DEPENDS causing circular dependency | ||
24 | DEPENDS_virtclass-native = "libidl-native popt-native gtk-doc-native" | ||
25 | PARALLEL_MAKE = "" | ||
26 | |||
27 | |||
28 | FILES_${PN} += "${libdir}/orbit-2.0/*.so" | ||
29 | FILES_${PN}-dev += "${libdir}/orbit-2.0/*.a ${libdir}/orbit-2.0/*.la" | ||
30 | FILES_${PN}-dbg += "${libdir}/orbit-2.0/.debug" | ||
31 | |||
32 | S = "${WORKDIR}/${SRC_NAME}-${PV}" | ||
33 | |||
34 | LEAD_SONAME = "libORBit-2.so" | ||
35 | |||
36 | inherit autotools pkgconfig | ||
37 | |||
38 | EXTRA_OECONF = "--disable-gtk-doc" | ||
39 | EXTRA_OEMAKE = "IDL_COMPILER='${STAGING_BINDIR_NATIVE}/orbit-idl-2'" | ||
40 | EXTRA_OEMAKE_virtclass-native = " " | ||
41 | |||
42 | do_configure_prepend() { | ||
43 | mkdir -p m4 | ||
44 | install ${WORKDIR}/gtk-doc.m4 ./m4/ | ||
45 | install ${WORKDIR}/gtk-doc.make ./ | ||
46 | } | ||