Skip to contentSkip to conversation

fsharp: Add support for F# programming language v3.1

PATCH New Alex J Lennon 1 participant 2 messages Mar 3, 2014

lore
Share & tools
lore
#0 lore raw

cover fsharp: Add support for F# programming language v3.1

See following patch for details

The following changes since commit 3caf7ee6e56c2c0f009724f36665afe647b7873a:

mono-native: Modify build to eliminate dependency on on host system mscorlib.dll (2014-03-03 10:37:28 +0000)

are available in the git repository at:

git://git.yoctoproject.org/meta-mono ajl/fsharp
http://git.yoctoproject.org/cgit.cgi/meta-mono/log/?h=ajl/fsharp

Alex J Lennon (1):
fsharp: Add support for F# programming language v3.1

 recipes-mono/fsharp/fsharp.inc        |   43 +++++++++++++++++++++++++++++++++
 recipes-mono/fsharp/fsharp_3.1.1.1.bb |    7 ++++++
 2 files changed, 50 insertions(+)
 create mode 100644 recipes-mono/fsharp/fsharp.inc
 create mode 100644 recipes-mono/fsharp/fsharp_3.1.1.1.bb
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 fsharp: Add support for F# programming language v3.1

Testing
=======

qemux86 image was created including the interactive shell (fsharpi) and the compiler (fsharpc) which could both be executed

Examples from the Wikipiedia page were successfully compiled and executed with mono, including Hello World, Windows Forms, and Asynchronous Parallel Programming

@see: http://en.wikipedia.org/wiki/F_Sharp_(programming_language)

---
 recipes-mono/fsharp/fsharp.inc        |   43 +++++++++++++++++++++++++++++++++
 recipes-mono/fsharp/fsharp_3.1.1.1.bb |    7 ++++++
 2 files changed, 50 insertions(+)
 create mode 100644 recipes-mono/fsharp/fsharp.inc
 create mode 100644 recipes-mono/fsharp/fsharp_3.1.1.1.bb
recipes-mono/fsharp/fsharp.inc new file +43 -0
new file mode 100644
index 0000000..569f9ab
@@ -0,0 +1,43 @@
+SUMMARY = "F# programming language"
+DESCRIPTION = "F# is a strongly-typed, functional-first programming language for writing simple code to solve complex problems."
+SECTION = "devel/mono"
+DEPENDS = "mono"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "files://LICENSE;md5=512efb9375da0bd2fee9e2b9352c08af"
+
+inherit autotools
+
+# For some reason the URL template changes from version to version,
+# therefore use some variables for the directory and extension
+SRC_URI = "https://github.com/fsharp/fsharp/archive/${PV}.tar.gz"
+
+# AJL - Could split out mdb debugging files into -dbg package in future?
+FILES_${PN} += "\
+  ${libdir}/mono/* \  
+  ${libdir}/mono/xbuild/Microsoft/VisualStudio/* \
+  ${libdir}/mono/Microsoft F#/v4.0/* \
+  ${libdir}/mono/Microsoft SDKs/F#/3.0/* \
+  ${libdir}/mono/Microsoft SDKs/F#/3.1/* \
+  ${libdir}/mono/2.0/* \
+  ${libdir}/lib/mono/gac/* \
+  ${libdir}/mono/gac/FSharp.Compiler.Interactive.Settings/4.3.1.0__f536804aa0eb945b/* \
+  ${libdir}/mono/gac/FSharp.Compiler.Server.Shared/4.3.1.0__f536804aa0eb945b/* \
+  ${libdir}/mono/gac/FSharp.Data.TypeProviders/4.3.1.0__f536804aa0eb945b/* \
+  ${libdir}/mono/gac/policy.2.3.FSharp.Core/0.0.0.0__b03f5f7f11d50a3a/* \
+  ${libdir}/mono/gac/policy.2.3.FSharp.Core/0.0.0.0__b03f5f7f11d50a3a/* \
+  ${libdir}/mono/gac/policy.4.0.FSharp.Core/0.0.0.0__b03f5f7f11d50a3a/* \
+  ${libdir}/mono/gac/policy.3.3.FSharp.Core/0.0.0.0__b03f5f7f11d50a3a/* \
+  ${libdir}/mono/gac/policy.3.3.FSharp.Core/0.0.0.0__b03f5f7f11d50a3a/* \
+  ${libdir}/mono/gac/policy.2.0.FSharp.Core/0.0.0.0__b03f5f7f11d50a3a/* \
+  ${libdir}/mono/gac/FSharp.Core/2.3.98.1__b03f5f7f11d50a3a/* \
+  ${libdir}/mono/gac/FSharp.Core/2.3.1.0__b03f5f7f11d50a3a/* \
+  ${libdir}/mono/gac/FSharp.Core/4.3.1.0__b03f5f7f11d50a3a/* \
+  ${libdir}/mono/gac/FSharp.Core/2.3.99.1__b03f5f7f11d50a3a/* \
+  ${libdir}/mono/gac/FSharp.Compiler/4.3.1.0__f536804aa0eb945b/* \
+  ${libdir}/mono/gac/policy.4.3.FSharp.Core/0.0.0.0__b03f5f7f11d50a3a/* \
+  ${libdir}/mono/gac/FSharp.Build/* \
+  ${libdir}/mono/4.0/* \
+  ${libdir}/mono/monotouch/* \
+  ${libdir}/mono/monodroid/* \
+"
+
recipes-mono/fsharp/fsharp_3.1.1.1.bb new file +7 -0
new file mode 100644
index 0000000..bc3533f
@@ -0,0 +1,7 @@
+require fsharp.inc
+
+inherit pkgconfig
+
+SRC_URI[md5sum] = "2900b258f57db34ca51d0caba58c9cd3"
+SRC_URI[sha256sum] = "ad3f53e835d18a0c53a12101c118619a1cb8e4f6c216001572790e9509679bcf"
+
Signature · 1 line
1.7.9.5