[oe-commits] Philip Balister : omniorb : Update to version 4.1.4

git version control git at git.openembedded.org
Fri Mar 5 07:25:32 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 2cdfa33e57e80ac236274343a5635ce9a6de380e
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=2cdfa33e57e80ac236274343a5635ce9a6de380e

Author: Philip Balister <philip at balister.org>
Date:   Fri Mar  5 02:24:14 2010 -0500

omniorb : Update to version 4.1.4

 * Recipe from majo.huber at googlemail.com
 * Recipe needs updating to BBCLASSEXTEND, but I wanted to get it in first.

---

 recipes/omniorb/files/omniorb_4.1.4.patch |   13 ++++++++
 recipes/omniorb/omniorb-native_4.1.4.bb   |   23 +++++++++++++++
 recipes/omniorb/omniorb_4.1.4.bb          |   45 +++++++++++++++++++++++++++++
 3 files changed, 81 insertions(+), 0 deletions(-)

diff --git a/recipes/omniorb/files/omniorb_4.1.4.patch b/recipes/omniorb/files/omniorb_4.1.4.patch
new file mode 100644
index 0000000..3521198
--- /dev/null
+++ b/recipes/omniorb/files/omniorb_4.1.4.patch
@@ -0,0 +1,13 @@
+diff -aur --recursive omniorb_native_org/configure.ac omniorb_native_cop/configure.ac
+--- omniorb_native_org/configure.ac	2010-02-19 14:00:06.905777529 +0100
++++ omniorb_native_cop/configure.ac	2010-02-19 13:38:20.000000000 +0100
+@@ -10,6 +10,7 @@
+ 
+ AC_CONFIG_HEADERS(include/omniORB4/acconfig.h)
+
++m4_pattern_allow(PKG_CONFIG_LIBDIR)
+ dnl ** CFLAGS / CXXFLAGS
+ 
+ if test "${CFLAGS+set}" != set; then
+ #############################################################################
+ #
\ No newline at end of file
diff --git a/recipes/omniorb/omniorb-native_4.1.4.bb b/recipes/omniorb/omniorb-native_4.1.4.bb
new file mode 100644
index 0000000..c06a74a
--- /dev/null
+++ b/recipes/omniorb/omniorb-native_4.1.4.bb
@@ -0,0 +1,23 @@
+SECTION = "devel"
+DEPENDS += "python-native"
+PR = "r0"
+
+SRC_URI = "http://downloads.sourceforge.net/omniorb/omniORB-4.1.4.tar.gz;name=omniORB414targz \
+	  file://omniorb_4.1.4.patch;patch=1 \
+"
+
+SRC_URI[omniORB414targz.md5sum] = "1f6070ff9b6339876976d61981eeaa6a"
+SRC_URI[omniORB414targz.sha256sum] = "84fb9790c25d6e46248c9773747e393b429573190da2150850d4a49debda4e8e"
+
+S = "${WORKDIR}/omniORB-${PV}"
+
+inherit native autotools
+
+do_compile () {
+        oe_runmake
+}
+# Ugly hack so libtool does not find native libs when building cross packages
+# We really only build this package for omniidl anyway
+do_stage_append() {
+        rm -f  ${STAGING_LIBDIR_NATIVE}/libomni*
+}
diff --git a/recipes/omniorb/omniorb_4.1.4.bb b/recipes/omniorb/omniorb_4.1.4.bb
new file mode 100644
index 0000000..3d0c43c
--- /dev/null
+++ b/recipes/omniorb/omniorb_4.1.4.bb
@@ -0,0 +1,45 @@
+DESCRIPTION = "OmniORB High Performance ORB"
+SECTION = "devel"
+PRIORITY = "optional"
+LICENSE = "LGPL"
+DEPENDS = "omniorb-native"
+PR = "r0"
+
+SRC_URI = "http://downloads.sourceforge.net/omniorb/omniORB-4.1.4.tar.gz;name=omniORB414targz \
+file://omniorb_4.1.4.patch;patch=1 \ 
+file://omniORB.cfg \
+file://omniORB-cross.patch;patch=1 \
+file://omniORB_embedded_appl.patch;patch=1 \
+file://rm_LongDouble.patch;patch=1 \
+"
+
+SRC_URI[omniORB414targz.md5sum] = "1f6070ff9b6339876976d61981eeaa6a"
+SRC_URI[omniORB414targz.sha256sum] = "84fb9790c25d6e46248c9773747e393b429573190da2150850d4a49debda4e8e"
+
+S = "${WORKDIR}/omniORB-${PV}"
+
+FILES_${PN}-dev += "${datadir}/idl/omniORB/* ${datadir}/idl/omniORB/cos/*
+TARGET_CC_ARCH += ${LDFLAGS}
+
+inherit autotools pkgconfig 
+
+do_compile () {
+        export EmbeddedSystem=1
+        export TOOLBINDIR=${STAGING_BINDIR_NATIVE}
+	oe_runmake
+	
+}
+do_install () {
+        export EmbeddedSystem=1
+        make DESTDIR=${D} install
+        install -d ${D}${sysconfdir}
+        install -m 0644 ${WORKDIR}/omniORB.cfg ${D}${sysconfdir}
+        install -d ${D}${localstatedir}/omninames
+	
+	#only executable libraries are stripped by the stripper
+	chmod +x ${WORKDIR}/image/usr/lib/lib*
+}
+do_stage () {
+        export EmbeddedSystem=1
+        autotools_stage_all
+}





More information about the Openembedded-commits mailing list