aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-06 14:52:47 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-06 17:13:43 -0500
commitac027590f05665081b3c362aee08cab56d559d9c (patch)
treef636458ab68b05de35214ba7a648a7902137c974 /desktop
parent32cd769130b1690af53b794f9bf13ceda9b44ef0 (diff)
desktop/parcellite: Updated for version 1.0.2rc5.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/parcellite/glib-single-include.patch13
-rw-r--r--desktop/parcellite/parcellite.SlackBuild7
-rw-r--r--desktop/parcellite/parcellite.info6
3 files changed, 20 insertions, 6 deletions
diff --git a/desktop/parcellite/glib-single-include.patch b/desktop/parcellite/glib-single-include.patch
new file mode 100644
index 0000000000000..e2a849c56c5e9
--- /dev/null
+++ b/desktop/parcellite/glib-single-include.patch
@@ -0,0 +1,13 @@
+Index: parcellite-1.0.2rc5/src/keybinder.h
+===================================================================
+--- parcellite-1.0.2rc5.orig/src/keybinder.h
++++ parcellite-1.0.2rc5/src/keybinder.h
+@@ -20,7 +20,7 @@
+ #ifndef __KEY_BINDER_H__
+ #define __KEY_BINDER_H__
+
+-#include <glib/gtypes.h>
++#include <glib.h>
+
+ G_BEGIN_DECLS
+
diff --git a/desktop/parcellite/parcellite.SlackBuild b/desktop/parcellite/parcellite.SlackBuild
index 18a3019248c1b..1f1e7e9d7d218 100644
--- a/desktop/parcellite/parcellite.SlackBuild
+++ b/desktop/parcellite/parcellite.SlackBuild
@@ -4,16 +4,14 @@
# Written by Phillip Warner <pc_warner@yahoo.com>
PRGNAM=parcellite
-VERSION=${VERSION:-1.0.2rc2}
+VERSION=${VERSION:-1.0.2rc5}
BUILD=${BUILD:-1}
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
@@ -57,6 +55,9 @@ if [ "$NOICON" = "YES" ]; then
sed -i "s/PARCELLITE_ICON/GTK_STOCK_PASTE/" src/main.c
sed -i "s/#define GTK_STOCK_PASTE \"parcellite\"//" src/main.c
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
CFLAGS="$SLKCFLAGS" \
CPPFLAGS="$SLKCFLAGS" \
diff --git a/desktop/parcellite/parcellite.info b/desktop/parcellite/parcellite.info
index d9af00d5a512a..bf0271e82d098 100644
--- a/desktop/parcellite/parcellite.info
+++ b/desktop/parcellite/parcellite.info
@@ -1,8 +1,8 @@
PRGNAM="parcellite"
-VERSION="1.0.2rc2"
+VERSION="1.0.2rc5"
HOMEPAGE="http://parcellite.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/parcellite/parcellite-1.0.2rc2.tar.gz"
-MD5SUM="c1ade542f9b5e836af18773171e70e95"
+DOWNLOAD="http://downloads.sourceforge.net/parcellite/parcellite-1.0.2rc5.tar.gz"
+MD5SUM="fa2d3ac8ec70df47e425695919bbc097"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""