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. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gtk-engines PRGNAM=gtk-engines
VERSION=${VERSION:-2.20.2} VERSION=${VERSION:-2.21.0}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_msb} TAG=${TAG:-_msb}
@ -36,8 +36,7 @@ if [ -z "$ARCH" ]; then
esac esac
fi fi
wget -c \ wget -c ftp://ftp.archlinux.org/other/gtk-engines/$PRGNAM-$VERSION.tar.gz
http://ftp.gnome.org/pub/gnome/sources/gtk-engines/2.20/gtk-engines-2.20.2.tar.gz
NUMJOBS=${NUMJOBS:-" -j8 "} NUMJOBS=${NUMJOBS:-" -j8 "}
@ -69,17 +68,15 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION cd $PRGNAM-$VERSION
chown -R root:root . chown -R root:root .
find . \ find -L . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-exec chmod 755 {} \; -o \ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
patch -p1 -i $CWD/glib-single-include.patch
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \
./autogen.sh \ ./configure \
--prefix=/usr \ --prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \ --sysconfdir=/etc \
@ -87,6 +84,7 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \ --mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \ --docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-animation \ --enable-animation \
--disable-deprecated \
--build=$ARCH-slackware-linux --build=$ARCH-slackware-linux
make $NUMJOBS || make make $NUMJOBS || make
@ -111,9 +109,7 @@ if [ -d $PKG/usr/man ]; then
fi fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \ cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
AUTHORS COPYING ChangeLog INSTALL NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \; find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \;
chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION