summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/mono/README10
-rw-r--r--packages/mono/mono-1.2.5pre5/.mtn2git_empty0
-rw-r--r--packages/mono/mono-1.2.5pre5/configure.patch67
-rw-r--r--packages/mono/mono-native_1.2.5pre5.bb10
-rw-r--r--packages/mono/mono_1.2.5pre5.bb23
-rw-r--r--packages/mono/mono_1.2.5pre5.inc16
6 files changed, 126 insertions, 0 deletions
diff --git a/packages/mono/README b/packages/mono/README
new file mode 100644
index 0000000000..81e478bdb7
--- /dev/null
+++ b/packages/mono/README
@@ -0,0 +1,10 @@
+Mono in OE is still very much a work in progress.
+1.2.4
+ - is reported to work on MIPS.
+ - has floating point problems on ARM
+
+1.2.5pre5
+ - tested on ARM EABI. Floating point issues have been worked around.
+
+There is still a lot of packaging work that needs done to package the mono dll's for installation.
+
diff --git a/packages/mono/mono-1.2.5pre5/.mtn2git_empty b/packages/mono/mono-1.2.5pre5/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/mono/mono-1.2.5pre5/.mtn2git_empty
diff --git a/packages/mono/mono-1.2.5pre5/configure.patch b/packages/mono/mono-1.2.5pre5/configure.patch
new file mode 100644
index 0000000000..1553115c0e
--- /dev/null
+++ b/packages/mono/mono-1.2.5pre5/configure.patch
@@ -0,0 +1,67 @@
+Index: mono-1.2.5/configure.in
+===================================================================
+--- mono-1.2.5.orig/configure.in
++++ mono-1.2.5/configure.in
+@@ -1134,6 +1134,8 @@ if test x$platform_win32 = xno; then
+ ], [
+ AC_MSG_RESULT(no)
+ with_tls=pthread
++ ], [
++ AC_MSG_RESULT(yes)
+ ])
+ fi
+
+@@ -1236,6 +1238,9 @@ if test x$platform_win32 = xno; then
+ ], [
+ with_sigaltstack=no
+ AC_MSG_RESULT(no)
++ ], [
++ AC_MSG_RESULT(yes)
++ AC_DEFINE(HAVE_WORKING_SIGALTSTACK)
+ ])
+ fi
+
+@@ -1893,24 +1898,26 @@ if test "x$with_tls" = "x__thread"; then
+ ])
+ fi
+
+-if test ${TARGET} = ARM; then
+- dnl ******************************************
+- dnl *** Check to see what FPU is available ***
+- dnl ******************************************
+- AC_MSG_CHECKING(which FPU to use)
+-
+- AC_TRY_COMPILE([], [
+- __asm__ ("ldfd f0, [r0]");
+- ], fpu=FPA, [
+- AC_TRY_COMPILE([], [
+- __asm__ ("fldd d0, [r0]");
+- ], fpu=VFP, fpu=NONE)
+- ])
++#if test ${TARGET} = ARM; then
++# dnl ******************************************
++# dnl *** Check to see what FPU is available ***
++# dnl ******************************************
++# AC_MSG_CHECKING(which FPU to use)
++#
++# AC_TRY_COMPILE([], [
++# __asm__ ("ldfd f0, [r0]");
++# ], fpu=FPA, [
++# AC_TRY_COMPILE([], [
++# __asm__ ("fldd d0, [r0]");
++# ], fpu=VFP, fpu=NONE)
++# ])
++#
++# AC_MSG_RESULT($fpu)
++# CPPFLAGS="$CPPFLAGS -DARM_FPU_$fpu=1"
++# unset fpu
++#fi
+
+- AC_MSG_RESULT($fpu)
+- CPPFLAGS="$CPPFLAGS -DARM_FPU_$fpu=1"
+- unset fpu
+-fi
++ CPPFLAGS="$CPPFLAGS -DARM_FPU_NONE=1"
+
+ if test ${TARGET} = unknown; then
+ CPPFLAGS="$CPPFLAGS -DNO_PORT"
diff --git a/packages/mono/mono-native_1.2.5pre5.bb b/packages/mono/mono-native_1.2.5pre5.bb
new file mode 100644
index 0000000000..4664cf8310
--- /dev/null
+++ b/packages/mono/mono-native_1.2.5pre5.bb
@@ -0,0 +1,10 @@
+require mono_1.2.5pre5.inc
+PR = "r2"
+DEPENDS = "glib-2.0-native"
+
+inherit native
+
+#do_stage_prepend() {
+# install -m 755 ${S}/mono/monoburg/monoburg ${STAGING_BINDIR}
+#}
+
diff --git a/packages/mono/mono_1.2.5pre5.bb b/packages/mono/mono_1.2.5pre5.bb
new file mode 100644
index 0000000000..3ba24e9a5a
--- /dev/null
+++ b/packages/mono/mono_1.2.5pre5.bb
@@ -0,0 +1,23 @@
+require mono_1.2.5pre5.inc
+
+#DEPENDS = "mono-native glib-2.0"
+# for now, we skip the mono-native build -- just install
+# mono using your distro package manager for now
+# after we get the target version working, we'll worry
+# about the native package for systems that don't have mono
+# installed
+DEPENDS = "glib-2.0"
+
+PR = "r3"
+
+SRC_URI += "file://configure.patch;patch=1"
+
+do_install_append() {
+ install -d ${D}${libdir}/mono/1.0/
+ cp ${S}/mcs/class/lib/monolite/* ${D}${libdir}/mono/1.0/
+}
+
+PACKAGES =+ "mono-dll"
+FILES_mono-dll = "${libdir}/mono/1.0/"
+
+
diff --git a/packages/mono/mono_1.2.5pre5.inc b/packages/mono/mono_1.2.5pre5.inc
new file mode 100644
index 0000000000..7d7a570eb5
--- /dev/null
+++ b/packages/mono/mono_1.2.5pre5.inc
@@ -0,0 +1,16 @@
+DESCRIPTION = "Mono Programming Language"
+SECTION = "devel/mono"
+LICENSE = "GPL LGPL X11"
+
+# the md5 sum check is required because Novell does not version their pre release versions of mono
+# if the md5sum check fails, contact cbrake on #oe
+# checksums are stored in conf/checksums.ini
+SRC_URI = "http://mono.ximian.com/monobuild/preview/sources/mono/mono-1.2.5.tar.bz2"
+
+S = "${WORKDIR}/mono-1.2.5"
+
+inherit autotools
+EXTRA_OECONF = "--disable-mcs-build"
+EXTRA_OECONF_arm = "--without-tls"
+EXTRA_OECONF_mipsel = "--without-tls"
+