From 6d3f11f6fe56b2d88ca35dfe78dbab19f87a09bf Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Thu, 27 Apr 2017 20:32:20 +0700 Subject: [PATCH] vala: Upgraded to 0.36.2. Signed-off-by: Willy Sudiarto Raharjo --- deps/vala/slack-desc | 4 ++-- deps/vala/vala.SlackBuild | 13 +++++-------- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/deps/vala/slack-desc b/deps/vala/slack-desc index cf4d0ef..d043df8 100644 --- a/deps/vala/slack-desc +++ b/deps/vala/slack-desc @@ -1,12 +1,12 @@ |-----handy-ruler------------------------------------------------------| -vala: Vala (Compiler for the GObject type system) +vala: vala (Compiler for the GObject type system) vala: vala: Vala is a new programming language that aims to bring modern vala: programming language features to GNOME developers without imposing vala: any additional runtime requirements and without using a different vala: ABI compared to applications and libraries written in C. vala: -vala: +vala: Project URL: https://github.com/GNOME/vala/ vala: vala: vala: diff --git a/deps/vala/vala.SlackBuild b/deps/vala/vala.SlackBuild index 4fd3bb5..8372efe 100644 --- a/deps/vala/vala.SlackBuild +++ b/deps/vala/vala.SlackBuild @@ -25,7 +25,7 @@ # Modified by Willy Sudiarto Raharjo for MSB Project PRGNAM=vala -VERSION=${VERSION:-0.34.4} +VERSION=${VERSION:-0.36.2} BUILD=${BUILD:-1} TAG=${TAG:-_msb} @@ -37,7 +37,7 @@ if [ -z "$ARCH" ]; then esac fi -wget -c http://ftp.gnome.org/pub/GNOME/sources/vala/0.34/$PRGNAM-$VERSION.tar.xz +wget -c https://github.com/GNOME/vala/archive/$VERSION/$PRGNAM-$VERSION.tar.gz CWD=$(pwd) TMP=${TMP:-/tmp/msb} @@ -64,7 +64,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.xz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -73,9 +73,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# Patch to support older GTK+3 -patch -p1 < $CWD/patch_support-gtk318.diff - +./autogen.sh CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -92,8 +90,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING ChangeLog INSTALL MAINTAINERS NEWS README THANKS \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING INSTALL NEWS README THANKS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install