libraries/gtksourceview: Updated for version 2.6.0

This commit is contained in:
Michiel 2010-05-12 17:40:52 +02:00 committed by David Somero
parent c720990920
commit 838caecd71
4 changed files with 21 additions and 14 deletions

View file

@ -2,4 +2,3 @@ GtkSourceView is a portable C library that extends the standard GTK+
framework for multiline text editing with support for configurable framework for multiline text editing with support for configurable
syntax highlighting, unlimited undo/redo, UTF-8 compliant caseless syntax highlighting, unlimited undo/redo, UTF-8 compliant caseless
searching, printing and other features typical of a source code editor. searching, printing and other features typical of a source code editor.

View file

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
# Slackware build script for gtksourceview # Slackware build script for gtksourceview
# Copyright 2007-2008 Michiel van Wessem, Manchester, United Kingdom # Copyright 2007-2009 Michiel van Wessem, Manchester, United Kingdom
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@ -24,7 +24,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gtksourceview PRGNAM=gtksourceview
VERSION=${VERSION:-2.2.2} VERSION=${VERSION:-2.6.0}
ARCH=${ARCH:-i486} ARCH=${ARCH:-i486}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -36,10 +36,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686" SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686" SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC" SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
fi fi
set -e # Exit on most errors set -e # Exit on most errors
@ -61,16 +64,21 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \ --sysconfdir=/etc \
--localstatedir=/var \ --localstatedir=/var \
--mandir=/usr/man --mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
make make
make install-strip DESTDIR=$PKG make install-strip DESTDIR=$PKG
( cd $PKG ( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null xargs strip --strip-unneeded 2> /dev/null || true
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null
) )
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION

View file

@ -1,8 +1,8 @@
PRGNAM="gtksourceview" PRGNAM="gtksourceview"
VERSION="2.2.2" VERSION="2.6.0"
HOMEPAGE="http://projects.gnome.org/gtksourceview/" HOMEPAGE="http://projects.gnome.org/gtksourceview/"
DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/gtksourceview/2.2/gtksourceview-2.2.2.tar.gz" DOWNLOAD="http://ftp.gnome.org/pub/gnome/sources/gtksourceview/2.6/gtksourceview-2.6.0.tar.gz"
MD5SUM="91f8743c73eeb3a4f49b96ce4a0ac42d" MD5SUM="7d3be2c9463c10dc2ce74b716ffd6400"
MAINTAINER="Michiel" MAINTAINER="Michiel"
EMAIL="michiel@slackbuilds.org" EMAIL="michiel@slackbuilds.org"
APPROVED="David Somero" APPROVED="dsomero,rworkman"

View file

@ -6,14 +6,14 @@
# customary to leave one space after the ':'. # customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------| |-----handy-ruler------------------------------------------------------|
gtksourceview: gtksourceview (C library for multiline text editing) gtksourceview: gtksourceview (a GTK+ framework for source code editing)
gtpsourceview: gtksourceview:
gtksourceview: GtkSourceView is a portable C library that extends the standard gtksourceview: GtkSourceView is a portable C library that extends the standard
gtksourceview: GTK+ framework for multiline text editing with support for gtksourceview: GTK+ framework for multiline text editing with support for
gtksourceview: configurable syntax highlighting, unlimited undo/redo, UTF-8 gtksourceview: configurable syntax highlighting, unlimited undo/redo, UTF-8
gtksourceview: compliant caseless searching, printing and other features gtksourceview: compliant caseless searching, printing and other features
gtksourceview: typical of a source code editor. gtksourceview: typical of a source code editor.
gtksourceview: gtksourceview:
gtksourceview:
gtksourceview: Homepage: http://projects.gnome.org/gtksourceview/ gtksourceview: Homepage: http://projects.gnome.org/gtksourceview/
gtksourceview: gtksourceview:
gtksourceview: