Skip to contentSkip to conversation

upgrade mono-basic to 4.0

PATCH New Richard Tollerton 1 participant 3 messages Jul 16, 2015

lore
Share & tools
lore
#0 lore raw

cover upgrade mono-basic to 4.0

I don't use mono-basic and haven't tested it -- I just noticed there was a newer version.

This is the first of three patchsets for mono packages, to prepare for two additional patchsets I will submit on top of these three:

1. Refactoring common mono recipe variables into a bbclass
2. Setting PACKAGE_ARCH=all on packages with all-managed code

The following changes since commit 8c613bf3d82dd5edb58472e5b016d86a1a9e4a63:

README: Add contributors section (2015-07-16 10:17:06 +0100)

are available in the git repository at:

git://github.com/rtollert/meta-mono dev/rtollert/v3/mono-basic
https://github.com/rtollert/meta-mono/tree/dev/rtollert/v3/mono-basic

Richard Tollerton (2):
mono-basic-4.xx.inc: copy from mono-basic.inc
mono-basic: add version 4.0

 recipes-mono/mono-basic/mono-basic-4.xx.inc | 33 +++++++++++++++++++++++++++++
 recipes-mono/mono-basic/mono-basic_4.0.bb   |  5 +++++
 2 files changed, 38 insertions(+)
 create mode 100644 recipes-mono/mono-basic/mono-basic-4.xx.inc
 create mode 100644 recipes-mono/mono-basic/mono-basic_4.0.bb
Signature · 1 line
2.4.4
#1 lore raw

PATCH 1/2 mono-basic-4.xx.inc: copy from mono-basic.inc

---
 recipes-mono/mono-basic/mono-basic-4.xx.inc | 33 +++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 recipes-mono/mono-basic/mono-basic-4.xx.inc
recipes-mono/mono-basic/mono-basic-4.xx.inc new file +33 -0
new file mode 100644
index 0000000..ad26924
@@ -0,0 +1,33 @@
+DESCRIPTION = "Visual Basic.NET support in Mono"
+SECTION = "devel/mono"
+DEPENDS = "mono"
+RDEPENDS_${PN} = "mono"
+LICENSE = "LGPLv2"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d8c5dc22eb6f25667cf8d96f603635e7"
+
+inherit autotools 
+
+SRC_URI = "http://download.mono-project.com/sources/mono-basic/mono-basic-${PV}.tar.bz2"
+
+FILES_${PN} += " \
+  ${libdir}/mono/*/* \
+  ${libdir}/mono/gac/*/*/*.dll \
+"
+
+FILES_${PN}-dbg += " \
+  ${libdir}/mono/*/*.mdb \
+  ${libdir}/mono/*/*.Pdb \
+  ${libdir}/mono/*/*.Mdb \
+  ${libdir}/mono/*/*/*/*.mdb \
+"
+
+do_compile_prepend() {
+  sed -e "s|\$(prefix)|${STAGING_DIR_NATIVE}/usr|" -i build/profiles/net_2_0.make
+  sed -e "s|\$(prefix)|${STAGING_DIR_NATIVE}/usr|" -i build/profiles/net_4_0.make
+}
+
+do_install_append() {
+ install -d "${D}${libdir}/mono/4.5"
+ ln -sf ${libdir}/mono/4.0/Microsoft.VisualBasic.dll  ${D}${libdir}/mono/4.5/Microsoft.VisualBasic.dll
+}
+
Signature · 1 line
2.4.4
#2 lore raw

PATCH 2/2 mono-basic: add version 4.0

In reply to Richard Tollerton
---
 recipes-mono/mono-basic/mono-basic-4.xx.inc | 4 ++--
 recipes-mono/mono-basic/mono-basic_4.0.bb   | 5 +++++
 2 files changed, 7 insertions(+), 2 deletions(-)
 create mode 100644 recipes-mono/mono-basic/mono-basic_4.0.bb
recipes-mono/mono-basic/mono-basic-4.xx.inc +2 -2
index ad26924..1eec933 100644
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d8c5dc22eb6f25667cf8d96f603635e7"
 
 inherit autotools 
 
-SRC_URI = "http://download.mono-project.com/sources/mono-basic/mono-basic-${PV}.tar.bz2"
+SRC_URI = "https://github.com/mono/mono-basic/archive/${PV}.tar.gz"
 
 FILES_${PN} += " \
   ${libdir}/mono/*/* \
@@ -22,8 +22,8 @@ FILES_${PN}-dbg += " \
 "
 
 do_compile_prepend() {
-  sed -e "s|\$(prefix)|${STAGING_DIR_NATIVE}/usr|" -i build/profiles/net_2_0.make
   sed -e "s|\$(prefix)|${STAGING_DIR_NATIVE}/usr|" -i build/profiles/net_4_0.make
+  sed -e "s|\$(prefix)|${STAGING_DIR_NATIVE}/usr|" -i build/profiles/net_4_5.make
 }
 
 do_install_append() {
recipes-mono/mono-basic/mono-basic_4.0.bb new file +5 -0
new file mode 100644
index 0000000..af674cd
@@ -0,0 +1,5 @@
+require mono-basic-4.xx.inc
+
+SRC_URI[md5sum] = "c0783a53234ba878a103fcbc2f10630d"
+SRC_URI[sha256sum] = "1760936b2b4d780fb69ccf230280216836d28a2c49d08f483afe2c3192d8359d"
+
Signature · 1 line
2.4.4