Skip to content

Commit f33b9c5

Browse files
authored
mono: update 5.20.1 and adapt applications (SynoCommunity#3865)
* Update mono - update mono to version 5.20 - update mono icon - add symlinks (fix SynoCommunity#3755) - remove obsolete patch * add workaround for mono bug with armv5 - ref: mono/mono#12537
1 parent ea4da74 commit f33b9c5

16 files changed

+98
-87
lines changed

cross/mono/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
PKG_NAME = mono
2-
PKG_VERS_MAJOR = 5.18.0
3-
PKG_VERS_MINOR = 240
2+
PKG_VERS_MAJOR = 5.20.1
3+
PKG_VERS_MINOR = 34
44
PKG_VERS = $(PKG_VERS_MAJOR).$(PKG_VERS_MINOR)
55
PKG_EXT = tar.bz2
66
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)

cross/mono/PLIST

+48-48
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,51 @@
1-
bin:bin/al
2-
bin:bin/al2
3-
bin:bin/csc
4-
bin:bin/csc-dim
5-
bin:bin/csi
6-
bin:bin/gacutil
7-
bin:bin/gacutil2
8-
bin:bin/ilasm
9-
bin:bin/makecert
10-
bin:bin/mcs
11-
bin:bin/mdassembler
12-
bin:bin/mdoc-assemble
13-
bin:bin/mdoc-export-html
14-
bin:bin/mdoc-export-msxdoc
15-
bin:bin/mdoc-update
16-
bin:bin/mdoc-validate
17-
bin:bin/mdvalidater
18-
bin:bin/mkbundle
1+
rsc:bin/al
2+
rsc:bin/al2
3+
rsc:bin/csc
4+
rsc:bin/csc-dim
5+
rsc:bin/csi
6+
rsc:bin/gacutil
7+
rsc:bin/gacutil2
8+
rsc:bin/ilasm
9+
rsc:bin/makecert
10+
rsc:bin/mcs
11+
rsc:bin/mdassembler
12+
rsc:bin/mdoc-assemble
13+
rsc:bin/mdoc-export-html
14+
rsc:bin/mdoc-export-msxdoc
15+
rsc:bin/mdoc-update
16+
rsc:bin/mdoc-validate
17+
rsc:bin/mdvalidater
18+
rsc:bin/mkbundle
1919
bin:bin/mono
2020
bin:bin/mono-boehm
21-
bin:bin/mono-configuration-crypto
22-
bin:bin/monodis
23-
bin:bin/monodocer
24-
bin:bin/monodocs2html
25-
bin:bin/monodocs2slashdoc
26-
bin:bin/mono-find-provides
27-
bin:bin/mono-find-requires
28-
bin:bin/mono-gdb.py
29-
bin:bin/mono-heapviz
30-
bin:bin/monop
31-
bin:bin/monop2
32-
bin:bin/mono-package-runtime
33-
bin:bin/mono-service
34-
bin:bin/mono-service2
21+
rsc:bin/mono-configuration-crypto
22+
rsc:bin/monodis
23+
rsc:bin/monodocer
24+
rsc:bin/monodocs2html
25+
rsc:bin/monodocs2slashdoc
26+
rsc:bin/mono-find-provides
27+
rsc:bin/mono-find-requires
28+
rsc:bin/mono-gdb.py
29+
rsc:bin/mono-heapviz
30+
rsc:bin/monop
31+
rsc:bin/monop2
32+
rsc:bin/mono-package-runtime
33+
rsc:bin/mono-service
34+
rsc:bin/mono-service2
3535
bin:bin/mono-sgen
36-
bin:bin/mono-sgen-gdb.py
37-
bin:bin/mono-test-install
36+
rsc:bin/mono-sgen-gdb.py
37+
rsc:bin/mono-test-install
3838
bin:bin/mprof-report
39-
bin:bin/nunit-console
40-
bin:bin/nunit-console2
41-
bin:bin/nunit-console4
42-
bin:bin/peverify
43-
bin:bin/resgen
44-
bin:bin/resgen2
45-
bin:bin/sn
46-
bin:bin/vbc
47-
bin:bin/wsdl
48-
bin:bin/wsdl2
39+
rsc:bin/nunit-console
40+
rsc:bin/nunit-console2
41+
rsc:bin/nunit-console4
42+
rsc:bin/peverify
43+
rsc:bin/resgen
44+
rsc:bin/resgen2
45+
rsc:bin/sn
46+
rsc:bin/vbc
47+
rsc:bin/wsdl
48+
rsc:bin/wsdl2
4949
rsc:etc/mono/2.0/Browsers/Compat.browser
5050
rsc:etc/mono/2.0/DefaultWsdlHelpGenerator.aspx
5151
rsc:etc/mono/2.0/machine.config
@@ -85,10 +85,10 @@ lnk:lib/libmonosgen-2.0.so
8585
lnk:lib/libmonosgen-2.0.so.1
8686
lib:lib/libmonosgen-2.0.so.1.0.0
8787
lib:lib/libMonoSupportW.so
88-
lnk:lib/libmono-system-native.so
89-
lnk:lib/libmono-system-native.so.0
90-
lib:lib/libmono-system-native.so.0.0.0
88+
lnk:lib/libmono-native.so
89+
lnk:lib/libmono-native.so.0
90+
lib:lib/libmono-native.so.0.0.0
91+
rsc:lib/mono/lldb/mono.py
9192
rsc:share/mono-2.0/mono/cil/cil-opcodes.xml
9293
rsc:share/mono-2.0/mono/eglib/eglib-config.h
9394
rsc:share/mono-2.0/mono/profiler/mono-profiler-coverage.suppression
94-

cross/mono/digests

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
mono-5.18.0.240.tar.bz2 SHA1 a58aedde88c775659c9eda85ac162c9d73585e35
2-
mono-5.18.0.240.tar.bz2 SHA256 143e80eb00519ff496742e78ee07403a3c3629437f3a498eee539de8108da895
3-
mono-5.18.0.240.tar.bz2 MD5 304c05c402c110543fb2ebe2999bc28e
1+
mono-5.20.1.34.tar.bz2 SHA1 06f6bce0644c87ed132f3f2155a940c3b6fcf8e6
2+
mono-5.20.1.34.tar.bz2 SHA256 cd91d44cf62515796ba90dfdc274bb33471c25a2f1a262689a3bdc0a672b7c8b
3+
mono-5.20.1.34.tar.bz2 MD5 b4af6c8d1f23f19809a5c18d43bac613

cross/mono/patches/002-fix-shm-open-configuration-regression.patch

-11
This file was deleted.

native/mono/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
PKG_NAME = mono
2-
PKG_VERS_MAJOR = 5.18.0
3-
PKG_VERS_MINOR = 240
2+
PKG_VERS_MAJOR = 5.20.1
3+
PKG_VERS_MINOR = 34
44
PKG_VERS = $(PKG_VERS_MAJOR).$(PKG_VERS_MINOR)
55
PKG_EXT = tar.bz2
66
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)

native/mono/digests

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
mono-5.18.0.240.tar.bz2 SHA1 a58aedde88c775659c9eda85ac162c9d73585e35
2-
mono-5.18.0.240.tar.bz2 SHA256 143e80eb00519ff496742e78ee07403a3c3629437f3a498eee539de8108da895
3-
mono-5.18.0.240.tar.bz2 MD5 304c05c402c110543fb2ebe2999bc28e
1+
mono-5.20.1.34.tar.bz2 SHA1 06f6bce0644c87ed132f3f2155a940c3b6fcf8e6
2+
mono-5.20.1.34.tar.bz2 SHA256 cd91d44cf62515796ba90dfdc274bb33471c25a2f1a262689a3bdc0a672b7c8b
3+
mono-5.20.1.34.tar.bz2 MD5 b4af6c8d1f23f19809a5c18d43bac613

spk/jackett/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
SPK_NAME = jackett
22
SPK_VERS = 0.11.43
3-
SPK_REV = 8
3+
SPK_REV = 9
44
SPK_ICON = src/jackett.png
55
DSM_UI_DIR = app
66

@@ -14,7 +14,7 @@ RELOAD_UI = yes
1414
DISPLAY_NAME = Jackett
1515
BETA = 1
1616
STARTABLE = yes
17-
CHANGELOG = "Update Jackett to version 0.11.43"
17+
CHANGELOG = "Add workaround for mono bug with armv5/88f6281"
1818
HOMEPAGE = https://github.com/Jackett/Jackett
1919
LICENSE = GPLv2
2020

spk/jackett/src/service-setup.sh

+6-2
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,17 @@
55
service_prestart ()
66
{
77
# Replace generic service startup
8-
98
MONO_PATH="${SYNOPKG_PKGDEST}/../mono/bin"
109
PATH="${SYNOPKG_PKGDEST}/bin:${MONO_PATH}:${PATH}"
1110
MONO="${MONO_PATH}/mono"
1211
JACKETT="${SYNOPKG_PKGDEST}/share/${SYNOPKG_PKGNAME}/JackettConsole.exe"
1312
HOME_DIR="${SYNOPKG_PKGDEST}/var"
1413

14+
# workaround for mono bug with armv5 (https://github.com/mono/mono/issues/12537)
15+
if [ "$SYNOPKG_DSM_ARCH" == "88f8621" -o "$SYNOPKG_DSM_ARCH" == "88f8622" ]; then
16+
MONO="MONO_ENV_OPTIONS='-O=-aot,-float32' ${MONO_PATH}/mono"
17+
fi
18+
1519
echo "Starting Jackett as user ${EFF_USER}" >> ${LOG_FILE}
1620
COMMAND="env HOME=${HOME_DIR} PATH=${PATH} LD_LIBRARY_PATH=${SYNOPKG_PKGDEST}/lib ${MONO} ${JACKETT} --PIDFile ${PID_FILE}"
1721

@@ -30,5 +34,5 @@ service_postinst ()
3034
$BIN/delgroup "${USER}" "users" >> ${INST_LOG}
3135
$BIN/deluser "${USER}" >> ${INST_LOG}
3236

33-
echo "service_postinst ${SYNOPKG_PKG_STATUS}" >> $INST_LOG
37+
echo "service_postinst ${SYNOPKG_PKG_STATUS}" >> ${INST_LOG}
3438
}

spk/lidarr/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
SPK_NAME = lidarr
22
SPK_VERS = $(shell date +%Y%m%d)
3-
SPK_REV = 2
3+
SPK_REV = 3
44
SPK_ICON = src/lidarr.png
55

66
REQUIRED_DSM = 5.0
@@ -16,7 +16,7 @@ DESCRIPTION = Lidarr is a music collection manager for Usenet and BitTorrent us
1616
RELOAD_UI = yes
1717
STARTABLE = yes
1818
DISPLAY_NAME = Lidarr
19-
CHANGELOG = "Update Lidarr to v0.5.0.583"
19+
CHANGELOG = "Add workaround for mono bug with armv5/88f6281"
2020

2121
HOMEPAGE = http://lidarr.audio/
2222
LICENSE = GPLv3

spk/lidarr/src/service-setup.sh

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PATH="${SYNOPKG_PKGDEST}/bin:${PATH}"
2-
MONO_PATH="/usr/local/mono/bin"
2+
MONO_PATH="${SYNOPKG_PKGDEST}/../mono/bin"
33
MONO="${MONO_PATH}/mono"
44

55
# Check versions during upgrade
@@ -14,6 +14,11 @@ PID_FILE="${CONFIG_DIR}/Lidarr/lidarr.pid"
1414
# Some have it stored in the root of package
1515
LEGACY_CONFIG_DIR="${SYNOPKG_PKGDEST}/.config"
1616

17+
# workaround for mono bug with armv5 (https://github.com/mono/mono/issues/12537)
18+
if [ "$SYNOPKG_DSM_ARCH" == "88f8621" -o "$SYNOPKG_DSM_ARCH" == "88f8622" ]; then
19+
MONO="MONO_ENV_OPTIONS='-O=-aot,-float32' ${MONO_PATH}/mono"
20+
fi
21+
1722
GROUP="sc-download"
1823

1924
SERVICE_COMMAND="env PATH=${MONO_PATH}:${PATH} HOME=${HOME_DIR} LD_LIBRARY_PATH=${SYNOPKG_PKGDEST}/lib ${MONO} ${LIDARR}"
@@ -46,7 +51,7 @@ service_preupgrade ()
4651

4752
service_postupgrade ()
4853
{
49-
# Restore Current Lidarr Binary If Current Ver. >= SPK Ver.
54+
# Restore Current Lidarr Binary if Current Ver. >= SPK Ver.
5055
. ${CONFIG_DIR}/KEEP_VAR
5156
if [ "$KEEP_CUR" == "yes" ]; then
5257
echo "Restoring Lidarr version from before upgrade" >> ${INST_LOG}

spk/mono/Makefile

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
SPK_NAME = mono
2-
SPK_VERS = 5.18.0.240
3-
SPK_REV = 12
2+
SPK_VERS = 5.20.1.34
3+
SPK_REV = 13
44
SPK_ICON = src/mono.png
55

66
DEPENDS = cross/$(SPK_NAME)
@@ -9,7 +9,7 @@ MAINTAINER = SynoCommunity
99
DESCRIPTION = Cross platform, open source .NET development framework
1010
DISPLAY_NAME = Mono
1111
STARTABLE = no
12-
CHANGELOG = "Update to 5.18.0.240"
12+
CHANGELOG = "Update to version 5.20.1.34"
1313

1414
HOMEPAGE = http://mono-project.com
1515
LICENSE = http://www.mono-project.com/docs/faq/licensing
@@ -20,6 +20,9 @@ POST_STRIP_TARGET = mono_extra_install
2020

2121
MONO_NATIVE_INSTALL = $(WORK_DIR)/../../../native/$(SPK_NAME)/work-native/install
2222

23+
SPK_COMMANDS = bin/mono bin/mcs bin/gacutil bin/gacutil2 bin/makecert
24+
25+
2326
include ../../mk/spksrc.spk.mk
2427

2528
.PHONY: mono_extra_install

spk/mono/src/mono.png

4.03 KB
Loading

spk/radarr/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
SPK_NAME = radarr
22
SPK_VERS = $(shell date +%Y%m%d)
3-
SPK_REV = 8
3+
SPK_REV = 9
44
SPK_ICON = src/radarr.png
55

66
REQUIRED_DSM = 5.0
@@ -16,7 +16,7 @@ DESCRIPTION = Radarr is a movie manager like Couchpotato, but based on the Sona
1616
RELOAD_UI = yes
1717
STARTABLE = yes
1818
DISPLAY_NAME = Radarr
19-
CHANGELOG = "Update Radarr to v0.2.0.1293."
19+
CHANGELOG = "Add workaround for mono bug with armv5/88f6281"
2020

2121
HOMEPAGE = https://radarr.video/
2222
LICENSE = GPLv3

spk/radarr/src/service-setup.sh

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PATH="${SYNOPKG_PKGDEST}/bin:${PATH}"
2-
MONO_PATH="/usr/local/mono/bin"
2+
MONO_PATH="${SYNOPKG_PKGDEST}/../mono/bin"
33
MONO="${MONO_PATH}/mono"
44

55
# Check versions during upgrade
@@ -14,6 +14,11 @@ PID_FILE="${CONFIG_DIR}/Radarr/nzbdrone.pid"
1414
# Some have it stored in the root of package
1515
LEGACY_CONFIG_DIR="${SYNOPKG_PKGDEST}/.config"
1616

17+
# workaround for mono bug with armv5 (https://github.com/mono/mono/issues/12537)
18+
if [ "$SYNOPKG_DSM_ARCH" == "88f8621" -o "$SYNOPKG_DSM_ARCH" == "88f8622" ]; then
19+
MONO="MONO_ENV_OPTIONS='-O=-aot,-float32' ${MONO_PATH}/mono"
20+
fi
21+
1722
GROUP="sc-download"
1823
LEGACY_GROUP="sc-media"
1924

@@ -68,7 +73,7 @@ service_preupgrade ()
6873

6974
service_postupgrade ()
7075
{
71-
# Restore Current Radarr Binary If Current Ver. >= SPK Ver.
76+
# Restore Current Radarr Binary if Current Ver. >= SPK Ver.
7277
. ${CONFIG_DIR}/KEEP_VAR
7378
if [ "$KEEP_CUR" == "yes" ]; then
7479
echo "Restoring Radarr version from before upgrade" >> ${INST_LOG}

spk/sonarr/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
SPK_NAME = nzbdrone
22
SPK_VERS = $(shell date +%Y%m%d)
3-
SPK_REV = 15
3+
SPK_REV = 16
44
SPK_ICON = src/sonarr.png
55

66
REQUIRED_DSM = 5.0
@@ -18,7 +18,7 @@ DESCRIPTION_SPN = Sonarr es un PVR para los usuarios de grupos de noticias y tor
1818
RELOAD_UI = yes
1919
DISPLAY_NAME = Sonarr
2020
STARTABLE = yes
21-
CHANGELOG = "Update Sonarr to v2.0.0.5301."
21+
CHANGELOG = "Add workaround for mono bug with armv5/88f6281"
2222

2323
HOMEPAGE = https://sonarr.tv
2424
LICENSE = GPLv3

spk/sonarr/src/service-setup.sh

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PATH="${SYNOPKG_PKGDEST}/bin:${PATH}"
2-
MONO_PATH="/usr/local/mono/bin"
2+
MONO_PATH="${SYNOPKG_PKGDEST}/../mono/bin"
33
MONO="${MONO_PATH}/mono"
44

55
# Sonarr uses the home directory to store it's ".config"
@@ -29,6 +29,11 @@ fi
2929
# Some have it stored in the root of package
3030
LEGACY_CONFIG_DIR="${SYNOPKG_PKGDEST}/.config"
3131

32+
# workaround for mono bug with armv5 (https://github.com/mono/mono/issues/12537)
33+
if [ "$SYNOPKG_DSM_ARCH" == "88f8621" -o "$SYNOPKG_DSM_ARCH" == "88f8622" ]; then
34+
MONO="MONO_ENV_OPTIONS='-O=-aot,-float32' ${MONO_PATH}/mono"
35+
fi
36+
3237
GROUP="sc-download"
3338
LEGACY_GROUP="sc-media"
3439

0 commit comments

Comments
 (0)