summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2013-11-14 23:40:16 +0700
committerRobby Workman <rworkman@slackbuilds.org>2013-11-14 14:32:31 -0600
commit6bd25f7de3d9fe9efd98f09aa2172ecfd5984541 (patch)
tree72b29b5e2408be80fac78188ccc6214561e9dc87 /libraries
parentd03090b75d490e87390f29a4ac5384759d1dc788 (diff)
downloadslackbuilds-6bd25f7de3d9fe9efd98f09aa2172ecfd5984541.tar.gz
libraries/gtksourceview: Downgraded to version 2.10.5
gtksourceview-2.11.x is a development release, but it's no longer maintained, and sadly, it was left in a broken state, so we decided to downgrade to a stable release that is known to work. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/gtksourceview/gtksourceview.SlackBuild36
-rw-r--r--libraries/gtksourceview/gtksourceview.info6
2 files changed, 13 insertions, 29 deletions
diff --git a/libraries/gtksourceview/gtksourceview.SlackBuild b/libraries/gtksourceview/gtksourceview.SlackBuild
index a457b9a056..8d883affd6 100644
--- a/libraries/gtksourceview/gtksourceview.SlackBuild
+++ b/libraries/gtksourceview/gtksourceview.SlackBuild
@@ -25,16 +25,14 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gtksourceview
-VERSION=${VERSION:-2.11.2}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.10.5}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -58,7 +56,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e # Exit on most errors
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -67,27 +65,11 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -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 {} \;
-
-# In configure.ac, PKG_CONFIG environment variable is used before it
-# is set. Instead of fixing configure.ac and regenerating all of the
-# build framework, let's just monkey patch the configure script.
-patch -p0 <$CWD/fix-pkg-config-use-before-set.patch
-
-# gtksourceview 2.11.2 seems to claim to be compatible with gtk3 =>
-# 2.90, but in reality is not compatible with the one in Slackware
-# 14.0. Let's force the configure script to pick up gtk2 instead by
-# raising the minimum gtk3 version.
-patch -p0 <$CWD/force-gtk2.patch
-
-# Code is still using G_CONST_RETURN which is deprecated in the
-# version of glib shipping with Slackware 14.0. Let's remove the
-# G_DISABLE_DEPRECATED from C preprocessor flags.
-patch -p0 <$CWD/allow-deprecated-glib-symbols.patch
+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 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -113,6 +95,8 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING* ChangeLog* HACKING INSTALL MAINTAINERS NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \;
+chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/libraries/gtksourceview/gtksourceview.info b/libraries/gtksourceview/gtksourceview.info
index 5a04c240bc..7710db82be 100644
--- a/libraries/gtksourceview/gtksourceview.info
+++ b/libraries/gtksourceview/gtksourceview.info
@@ -1,8 +1,8 @@
PRGNAM="gtksourceview"
-VERSION="2.11.2"
+VERSION="2.10.5"
HOMEPAGE="http://projects.gnome.org/gtksourceview/"
-DOWNLOAD="http://ftp.gnome.org/pub/gnome/sources/gtksourceview/2.11/gtksourceview-2.11.2.tar.gz"
-MD5SUM="7c4bbdc1d1628932362b4f222e80afd4"
+DOWNLOAD="http://ftp.acc.umu.se/pub/gnome/sources/gtksourceview/2.10/gtksourceview-2.10.5.tar.gz"
+MD5SUM="220db5518e3f7fa06c980f057b22ba62"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""