summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-gnome/gnome/orbit2-2.14.17/configure-lossage.patch37
-rw-r--r--recipes-gnome/gnome/orbit2-native_2.14.12.bb26
-rw-r--r--recipes-gnome/gnome/orbit2.inc30
-rw-r--r--recipes-gnome/gnome/orbit2/configure-lossage.patch35
-rw-r--r--recipes-gnome/gnome/orbit2/pkgconfig-fix.patch12
-rw-r--r--recipes-gnome/gnome/orbit2_2.14.17.bb5
6 files changed, 145 insertions, 0 deletions
diff --git a/recipes-gnome/gnome/orbit2-2.14.17/configure-lossage.patch b/recipes-gnome/gnome/orbit2-2.14.17/configure-lossage.patch
new file mode 100644
index 0000000000..5fc1de5610
--- /dev/null
+++ b/recipes-gnome/gnome/orbit2-2.14.17/configure-lossage.patch
@@ -0,0 +1,37 @@
1--- ORBit2-2.14.17/configure.in-orig 2009-01-10 09:36:18.000000000 -0800
2+++ ORBit2-2.14.17/configure.in 2009-06-17 15:10:59.000000000 -0700
3@@ -217,20 +217,20 @@ dnl
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-AC_MSG_WARN([Could not check for borked linking while cross-compiling]))
20-LIBS="$dofus_save_libs"
21+dnl dofus_save_libs="$LIBS"
22+dnl LIBS="$ORBIT_LIBS $LIBS"
23+dnl AC_TRY_RUN([ #include <stdio.h>
24+dnl main ()
25+dnl {
26+dnl return 0;
27+dnl } ],,
28+dnl AC_MSG_ERROR([
29+dnl Linking is badly borked on your system. Please ensure your library path is correct
30+dnl Check config.log for details - check near the end of the log above 'failed program was'
31+dnl Alternatively ensure that your /etc/ld.so.conf (and/or LD_LIBRARY_PATH) includes the
32+dnl prefix you're compiling on: '${prefix}' ]),
33+dnl AC_MSG_WARN([Could not check for borked linking while cross-compiling]))
34+dnl LIBS="$dofus_save_libs"
35
36 orig_CPPFLAGS=$CPPFLAGS
37 CPPFLAGS="$CPPFLAGS $ORBIT_CFLAGS"
diff --git a/recipes-gnome/gnome/orbit2-native_2.14.12.bb b/recipes-gnome/gnome/orbit2-native_2.14.12.bb
new file mode 100644
index 0000000000..bf69e99dce
--- /dev/null
+++ b/recipes-gnome/gnome/orbit2-native_2.14.12.bb
@@ -0,0 +1,26 @@
1DESCRIPTION = "CORBA ORB"
2PR = "r0"
3LICENSE = "LGPL GPL"
4SECTION = "x11/gnome/libs"
5SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/ORBit2/2.14/ORBit2-${PV}.tar.bz2 \
6 file://configure-lossage.patch \
7 file://gtk-doc.m4 \
8 file://gtk-doc.make"
9DEPENDS = "libidl-native popt-native gtk-doc"
10
11S = "${WORKDIR}/ORBit2-${PV}"
12FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/orbit2"
13
14PARALLEL_MAKE = ""
15inherit autotools native pkgconfig
16
17EXTRA_OECONF = "--disable-gtk-doc"
18
19do_configure_prepend() {
20 mkdir -p m4
21 install ${WORKDIR}/gtk-doc.m4 ./m4/
22 install ${WORKDIR}/gtk-doc.make ./
23}
24
25SRC_URI[md5sum] = "6f4bf7d803d442e9d093a0daa203d506"
26SRC_URI[sha256sum] = "d60027a4a36e64d02723d00b76c08e8d92850cab6269b2edcda4a1bb30cc7723"
diff --git a/recipes-gnome/gnome/orbit2.inc b/recipes-gnome/gnome/orbit2.inc
new file mode 100644
index 0000000000..157d8d9230
--- /dev/null
+++ b/recipes-gnome/gnome/orbit2.inc
@@ -0,0 +1,30 @@
1LICENSE = "GPL"
2DESCRIPTION = "CORBA ORB"
3SECTION = "x11/gnome/libs"
4SRC_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"
9DEPENDS = "libidl popt orbit2-native gtk-doc"
10PARALLEL_MAKE = ""
11
12FILES_${PN} += "${libdir}/orbit-2.0/*.so"
13FILES_${PN}-dev += "${libdir}/orbit-2.0/*.a ${libdir}/orbit-2.0/*.la"
14FILES_${PN}-dbg += "${libdir}/orbit-2.0/.debug"
15
16S = "${WORKDIR}/ORBit2-${PV}"
17
18LEAD_SONAME = "libORBit-2.so"
19
20inherit autotools pkgconfig
21
22EXTRA_OECONF = "--disable-gtk-doc"
23EXTRA_OEMAKE = "IDL_COMPILER='${STAGING_BINDIR_NATIVE}/orbit-idl-2'"
24
25do_configure_prepend() {
26 mkdir -p m4
27 install ${WORKDIR}/gtk-doc.m4 ./m4/
28 install ${WORKDIR}/gtk-doc.make ./
29}
30
diff --git a/recipes-gnome/gnome/orbit2/configure-lossage.patch b/recipes-gnome/gnome/orbit2/configure-lossage.patch
new file mode 100644
index 0000000000..7485a0ce0c
--- /dev/null
+++ b/recipes-gnome/gnome/orbit2/configure-lossage.patch
@@ -0,0 +1,35 @@
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/recipes-gnome/gnome/orbit2/pkgconfig-fix.patch b/recipes-gnome/gnome/orbit2/pkgconfig-fix.patch
new file mode 100644
index 0000000000..f629e506dd
--- /dev/null
+++ b/recipes-gnome/gnome/orbit2/pkgconfig-fix.patch
@@ -0,0 +1,12 @@
1diff -urN ORBit2-2.14.12.orig/ORBit-2.0.pc.in ORBit2-2.14.12/ORBit-2.0.pc.in
2--- ORBit2-2.14.12.orig/ORBit-2.0.pc.in 2008-01-29 13:45:22.000000000 +0100
3+++ ORBit2-2.14.12/ORBit-2.0.pc.in 2008-09-23 20:13:07.000000000 +0200
4@@ -2,7 +2,7 @@
5 exec_prefix=@exec_prefix@
6 libdir=@libdir@
7 includedir=@includedir@
8-orbit_idl=@bindir@/orbit-idl-2@EXEEXT@
9+orbit_idl=@exec_prefix@/bin/orbit-idl-2@EXEEXT@
10
11
12 Name: ORBit-2.0
diff --git a/recipes-gnome/gnome/orbit2_2.14.17.bb b/recipes-gnome/gnome/orbit2_2.14.17.bb
new file mode 100644
index 0000000000..47f632793c
--- /dev/null
+++ b/recipes-gnome/gnome/orbit2_2.14.17.bb
@@ -0,0 +1,5 @@
1require orbit2.inc
2
3
4SRC_URI[md5sum] = "10bfb957fa4a8935a0b4afaee7d71df7"
5SRC_URI[sha256sum] = "62bfce3f678f9347a19c766944e8aef7b89bc32b25ac23eb3e4c25929ce8974c"