libraries/gtk-aurora-engine: Patched for glib 2.32+.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
dsomero 2012-09-06 21:51:28 -04:00 committed by Robby Workman
parent 92410e150a
commit 5060b9ff10
2 changed files with 18 additions and 4 deletions

View file

@ -0,0 +1,13 @@
Index: aurora-1.5/src/animation.c
===================================================================
--- aurora-1.5.orig/src/animation.c
+++ aurora-1.5/src/animation.c
@@ -7,7 +7,7 @@
#include "animation.h"
#ifdef HAVE_ANIMATION
-#include <glib/gtimer.h>
+#include <glib.h>
struct _AnimationInfo {
GTimer *timer;

View file

@ -31,15 +31,13 @@
PRGNAM=gtk-aurora-engine
VERSION=1.5.1
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
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
@ -83,6 +81,10 @@ else
DO_ANIM="dis"
fi
# Starting with glib 2.32 it is now mandatory to
# include glib.h instead of individual headers.
patch -p1 -i $CWD/glib-single-include.patch
# Configure:
CFLAGS="$SLKCFLAGS" \
./configure \
@ -94,7 +96,6 @@ CFLAGS="$SLKCFLAGS" \
--${DO_ANIM}able-animation \
--build=$ARCH-slackware-linux
#Build and install:
make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/share/themes