Skip to content

Commit aea8833

Browse files
authored
Merge pull request #24 from Geontech/rocko
REDHAWK 2.1.3 Pre-release support
2 parents 97e40d7 + e79631e commit aea8833

26 files changed

+150
-150
lines changed

classes/redhawk-core-framework.bbclass

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ require recipes-core/include/redhawk-repo.inc
66
inherit autotools-brokensep pkgconfig pythonnative redhawk-oeconf redhawk-sysroot
77

88
# For parsing IDL during compile and autoconf detect omniORB IDL
9-
DEPENDS += "omniorbpy-native"
9+
DEPENDS += "omniorbpy-native python-setuptools-native"
1010

1111
# Each typically provides a python package
1212
PACKAGES += "${PN}-python"
@@ -46,6 +46,7 @@ INSANE_SKIP_${PN}-dbg += "libdir"
4646
# OECONF
4747
EXTRA_OECONF += "\
4848
--disable-java \
49+
OMNIORB_INCLUDEDIR=${STAGING_INCDIR} \
4950
idldir=${STAGING_DATADIR}/idl/omniORB \
5051
OMNICOS_IDLDIR=${STAGING_DATADIR}/idl/omniORB/COS \
5152
"

recipes-core-framework/bulkioInterfaces/bulkiointerfaces_2.0.8.bb renamed to recipes-core-framework/bulkioInterfaces/bulkiointerfaces_2.1.3.bb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ RDEPENDS_${PN}-python = "redhawk-python"
2828
PR = "r2"
2929

3030
SRC_URI_append = "\
31-
file://subdir_objects.patch \
31+
file://remove_cppunit.patch \
3232
"
3333

3434
S = "${WORKDIR}/git/redhawk-core-framework/bulkioInterfaces"
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
--- git/configure.ac
2+
+++ git-patched/configure.ac
3+
@@ -131,7 +131,7 @@ # End optional java support
4+
5+
# C++ unit testing support. May want to conditionally enable/disable this.
6+
-AM_PATH_CPPUNIT(1.12.1)
7+
+ifdef([AM_PATH_CPPUNIT], [AM_PATH_CPPUNIT([1.12.1])], [])
8+
AS_IF([test "x$HAVE_JAVASUPPORT" == "xyes"], [
9+
dnl Use RPM location hard-coded for now
10+
AC_SUBST([JUNIT_CLASSPATH], "/usr/share/java/junit4.jar")
11+
])

recipes-core-framework/bulkioInterfaces/files/subdir_objects.patch

Lines changed: 0 additions & 13 deletions
This file was deleted.

recipes-core-framework/burstioInterfaces/burstiointerfaces_2.0.8.bb renamed to recipes-core-framework/burstioInterfaces/burstiointerfaces_2.1.3.bb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,14 @@ PR = "r2"
2929

3030
SRC_URI_append = "\
3131
file://subdir_objects.patch \
32-
file://IDLDIR.patch \
32+
file://fix_idldir_and_remove_cppunit.patch \
33+
file://burstioInterfaces_libs.patch \
3334
"
3435

3536
S = "${WORKDIR}/git/redhawk-core-framework/burstioInterfaces"
3637

3738
EXTRA_OECONF += "\
39+
--disable-testing \
3840
--with-boost-system=boost_system \
3941
"
4042

@@ -53,3 +55,7 @@ do_configure_prepend() {
5355
export STAGING_BASE=${STAGING_DIR_TARGET}
5456
export PKG_CONFIG_PATH="${OSSIEHOME_STAGED}/lib/pkgconfig:${PKG_CONFIG_PATH}"
5557
}
58+
59+
do_compile_prepend(){
60+
export INTERFACES_LIBDIR="${OSSIEHOME_STAGED}/lib"
61+
}

recipes-core-framework/burstioInterfaces/files/IDLDIR.patch

Lines changed: 0 additions & 13 deletions
This file was deleted.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
--- git/src/cpp/Makefile.am
2+
+++ git-patched/src/cpp/Makefile.am
3+
@@ -58,7 +58,8 @@
4+
libburstioInterfaces_la_CPPFLAGS = -I . $(OSSIE_CFLAGS)
5+
libburstioInterfaces_la_LDFLAGS = -lbulkioInterfaces
6+
+libburstioInterfaces_la_LIBADD = -L$(INTERFACES_LIBDIR)
7+
8+
BUILT_SOURCES = $(nobase_nodist_include_HEADERS) $(nodist_libburstioInterfaces_la_SOURCES)
9+
CLEANFILES = $(BUILT_SOURCES)
10+
11+
idl_srcdir = $(top_srcdir)/src/idl
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
--- git/configure.ac 2016-03-02 07:00:31.568548917 -0500
2+
+++ git-patched/configure.ac 2016-03-02 07:06:48.800526356 -0500
3+
@@ -48,6 +48,10 @@
4+
PKG_CHECK_MODULES([BULKIO], [bulkio >= 2.1])
5+
RH_PKG_IDLDIR([BULKIO], [bulkioInterfaces])
6+
7+
+# Adjust the variables from RH_PKG_IDLDIR for the staging area.
8+
+OSSIE_IDLDIR="${STAGING_BASE}${OSSIE_IDLDIR}"
9+
+BULKIO_IDLDIR="${STAGING_BASE}${BULKIO_IDLDIR}"
10+
+
11+
AX_BOOST_BASE([1.41])
12+
AX_BOOST_THREAD
13+
AX_BOOST_SYSTEM
14+
@@ -135,7 +139,7 @@
15+
# Optionally disable unit tests
16+
AC_ARG_ENABLE([testing], AS_HELP_STRING([--disable-testing], [disable build of unit tests]))
17+
AS_IF([test "x$enable_testing" != "xno"], [
18+
- AM_PATH_CPPUNIT(1.12.1)
19+
+ ifdef([AM_PATH_CPPUNIT], [AM_PATH_CPPUNIT([1.12.1])], [])
20+
AS_IF([test "x$HAVE_JAVASUPPORT" == "xyes"], [
21+
dnl Use RPM location hard-coded for now
22+
AC_SUBST([JUNIT_CLASSPATH], "/usr/share/java/junit4.jar")
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--- git/configure.ac 2016-03-02 07:18:49.966842098 -0500
22
+++ git-patched/configure.ac 2016-03-02 07:23:28.780067757 -0500
3-
@@ -47,6 +47,10 @@
3+
@@ -49,6 +49,10 @@
44
AC_CHECK_PYMODULE(bulkio.bulkioInterfaces, [], [AC_MSG_ERROR([the python bulkio.bulkioInterfaces module is required])])
55
RH_PKG_IDLDIR([BULKIO], [bulkioInterfaces])
66

@@ -9,5 +9,14 @@
99
+BULKIO_IDLDIR="${STAGING_BASE}${BULKIO_IDLDIR}"
1010
+
1111
AC_SUBST([FRONTEND_SO_VERSION],[0:0:0])
12-
AC_SUBST([FRONTEND_API_VERSION],[2.3])
12+
AC_SUBST([FRONTEND_API_VERSION],[2.4])
1313

14+
@@ -131,7 +131,7 @@ # fi
15+
AM_CONDITIONAL(HAVE_JAVASUPPORT, test $HAVE_JAVASUPPORT = yes)
16+
17+
-AM_PATH_CPPUNIT(1.12.1)
18+
+ifdef([AM_PATH_CPPUNIT], [AM_PATH_CPPUNIT([1.12.1])], [])
19+
AS_IF([test "x$HAVE_JAVASUPPORT" == "xyes"], [
20+
dnl Use RPM location hard-coded for now
21+
AC_SUBST([JUNIT_CLASSPATH], "/usr/share/java/junit4.jar")
22+
])

recipes-core-framework/frontendInterfaces/frontendinterfaces_2.3.6.bb renamed to recipes-core-framework/frontendInterfaces/frontendinterfaces_2.4.3.bb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ RDEPENDS_${PN}-python = "bulkiointerfaces-python"
2828
PR = "r2"
2929

3030
SRC_URI_append = "\
31-
file://IDLDIR.patch \
31+
file://fix_idldir_and_remove_cppunit.patch \
3232
"
3333

3434
S = "${WORKDIR}/git/redhawk-core-framework/frontendInterfaces"

0 commit comments

Comments
 (0)