summaryrefslogtreecommitdiff
path: root/libraries/gtk-aurora-engine
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-06 21:51:28 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-06 21:42:28 -0500
commit5060b9ff1025aa823c30e9ef8ddc247d0dbd4dd3 (patch)
tree8fdc511d7a52d0fbb44c7f0c720e18467827af03 /libraries/gtk-aurora-engine
parent92410e150a578d61578431fe810f102d1b79aaa4 (diff)
downloadslackbuilds-5060b9ff1025aa823c30e9ef8ddc247d0dbd4dd3.tar.gz
libraries/gtk-aurora-engine: Patched for glib 2.32+.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries/gtk-aurora-engine')
-rw-r--r--libraries/gtk-aurora-engine/glib-single-include.patch13
-rw-r--r--libraries/gtk-aurora-engine/gtk-aurora-engine.SlackBuild9
2 files changed, 18 insertions, 4 deletions
diff --git a/libraries/gtk-aurora-engine/glib-single-include.patch b/libraries/gtk-aurora-engine/glib-single-include.patch
new file mode 100644
index 0000000000..fe747aa259
--- /dev/null
+++ b/libraries/gtk-aurora-engine/glib-single-include.patch
@@ -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;
diff --git a/libraries/gtk-aurora-engine/gtk-aurora-engine.SlackBuild b/libraries/gtk-aurora-engine/gtk-aurora-engine.SlackBuild
index 2c24d7d9bc..43858753bd 100644
--- a/libraries/gtk-aurora-engine/gtk-aurora-engine.SlackBuild
+++ b/libraries/gtk-aurora-engine/gtk-aurora-engine.SlackBuild
@@ -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