gtk-engines: Upgraded to 2.21.0.

Signed-off-by: willysr <willysr@slackware-id.org>
This commit is contained in:
willysr 2014-12-03 13:12:37 +07:00 committed by Willy Sudiarto Raharjo
parent 15dfea7edc
commit a093544ed9
2 changed files with 10 additions and 27 deletions

View file

@ -1,13 +0,0 @@
Index: gtk-engines-2.20.2/engines/clearlooks/src/animation.c
===================================================================
--- gtk-engines-2.20.2.orig/engines/clearlooks/src/animation.c
+++ gtk-engines-2.20.2/engines/clearlooks/src/animation.c
@@ -28,7 +28,7 @@
#include "animation.h"
#ifdef HAVE_WORKING_ANIMATION
-#include <glib/gtimer.h>
+#include <glib.h>
struct _AnimationInfo {
GTimer *timer;

View file

@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gtk-engines
VERSION=${VERSION:-2.20.2}
VERSION=${VERSION:-2.21.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_msb}
@ -36,8 +36,7 @@ if [ -z "$ARCH" ]; then
esac
fi
wget -c \
http://ftp.gnome.org/pub/gnome/sources/gtk-engines/2.20/gtk-engines-2.20.2.tar.gz
wget -c ftp://ftp.archlinux.org/other/gtk-engines/$PRGNAM-$VERSION.tar.gz
NUMJOBS=${NUMJOBS:-" -j8 "}
@ -69,17 +68,15 @@ 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 {} \;
patch -p1 -i $CWD/glib-single-include.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" \
./autogen.sh \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
@ -87,6 +84,7 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-animation \
--disable-deprecated \
--build=$ARCH-slackware-linux
make $NUMJOBS || make
@ -111,9 +109,7 @@ if [ -d $PKG/usr/man ]; then
fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS COPYING ChangeLog INSTALL NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL 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