aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 000000000000..fe747aa259e2
--- /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 2c24d7d9bc19..43858753bd7e 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