From 0e00044ed979dfe857f147ab51bf4597a6d62a28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Salazar=20Molina?= Date: Tue, 3 Dec 2013 00:19:24 +0700 Subject: [PATCH] development/mono: Updated for version 3.2.3. Force march to i686 even on i486 to fix GCC bug. Signed-off-by: Willy Sudiarto Raharjo --- development/mono/doinst.sh | 5 ++++- development/mono/mono.SlackBuild | 21 +++++++++++++-------- development/mono/mono.info | 6 +++--- 3 files changed, 20 insertions(+), 12 deletions(-) diff --git a/development/mono/doinst.sh b/development/mono/doinst.sh index a272d5aea8..47554f5fd9 100644 --- a/development/mono/doinst.sh +++ b/development/mono/doinst.sh @@ -23,4 +23,7 @@ config etc/mono/4.0/DefaultWsdlHelpGenerator.aspx.new config etc/mono/4.0/machine.config.new config etc/mono/4.0/settings.map.new config etc/mono/4.0/web.config.new - +config etc/mono/4.5/DefaultWsdlHelpGenerator.aspx.new +config etc/mono/4.5/machine.config.new +config etc/mono/4.5/settings.map.new +config etc/mono/4.5/web.config.new diff --git a/development/mono/mono.SlackBuild b/development/mono/mono.SlackBuild index 22f401c62c..67abbfa664 100644 --- a/development/mono/mono.SlackBuild +++ b/development/mono/mono.SlackBuild @@ -4,7 +4,7 @@ # Written by Sebastián Salazar Molina PRGNAM=mono -VERSION=${VERSION:-2.11.4} +VERSION=${VERSION:-3.2.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -22,7 +22,7 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" + SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -45,10 +45,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -83,14 +83,19 @@ find $PKG/usr/man -type f -exec gzip -9 {} \; mv 4.0/machine.config 4.0/machine.config.new mv 4.0/settings.map 4.0/settings.map.new mv 4.0/web.config 4.0/web.config.new + + mv 4.5/DefaultWsdlHelpGenerator.aspx 4.5/DefaultWsdlHelpGenerator.aspx.new + mv 4.5/machine.config 4.5/machine.config.new + mv 4.5/settings.map 4.5/settings.map.new + mv 4.5/web.config 4.5/web.config.new ) find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS ChangeLog COPYING.LIB LICENSE NEWS README \ +cp -ar \ + AUTHORS ChangeLog COPYING.LIB LICENSE NEWS README docs \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/development/mono/mono.info b/development/mono/mono.info index 3d934220ee..1e1ec35a12 100644 --- a/development/mono/mono.info +++ b/development/mono/mono.info @@ -1,8 +1,8 @@ PRGNAM="mono" -VERSION="2.11.4" +VERSION="3.2.3" HOMEPAGE="http://www.mono-project.com/" -DOWNLOAD="http://download.mono-project.com/sources/mono/mono-2.11.4.tar.bz2" -MD5SUM="5e295d670a0f71902cd26c45e7a5b1f3" +DOWNLOAD="http://download.mono-project.com/sources/mono/mono-3.2.3.tar.bz2" +MD5SUM="a66c6309fad071e21f77f4c6b67a0f10" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libgdiplus"