diff --git a/deps/gtk-engines/glib-single-include.patch b/deps/gtk-engines/glib-single-include.patch deleted file mode 100644 index ca64fee..0000000 --- a/deps/gtk-engines/glib-single-include.patch +++ /dev/null @@ -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 -+#include - - struct _AnimationInfo { - GTimer *timer; diff --git a/deps/gtk-engines/gtk-engines.SlackBuild b/deps/gtk-engines/gtk-engines.SlackBuild index 28ef194..2d9b8f1 100644 --- a/deps/gtk-engines/gtk-engines.SlackBuild +++ b/deps/gtk-engines/gtk-engines.SlackBuild @@ -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