summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author dsomero <xgizzmo@slackbuilds.org>2012-09-06 14:52:47 -0400
committer Robby Workman <rworkman@slackbuilds.org>2012-09-06 17:13:43 -0500
commitac027590f05665081b3c362aee08cab56d559d9c (patch)
treef636458ab68b05de35214ba7a648a7902137c974
parent32cd769130b1690af53b794f9bf13ceda9b44ef0 (diff)
downloadslackbuilds-ac027590f05665081b3c362aee08cab56d559d9c.tar.gz
slackbuilds-ac027590f05665081b3c362aee08cab56d559d9c.tar.xz
desktop/parcellite: Updated for version 1.0.2rc5.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-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 0000000000..e2a849c56c
--- /dev/null
+++ b/desktop/parcellite/glib-single-include.patch
@@ -0,0 +1,13 @@
1Index: parcellite-1.0.2rc5/src/keybinder.h
2===================================================================
3--- parcellite-1.0.2rc5.orig/src/keybinder.h
4+++ parcellite-1.0.2rc5/src/keybinder.h
5@@ -20,7 +20,7 @@
6 #ifndef __KEY_BINDER_H__
7 #define __KEY_BINDER_H__
8
9-#include <glib/gtypes.h>
10+#include <glib.h>
11
12 G_BEGIN_DECLS
13
diff --git a/desktop/parcellite/parcellite.SlackBuild b/desktop/parcellite/parcellite.SlackBuild
index 18a3019248..1f1e7e9d7d 100644
--- a/desktop/parcellite/parcellite.SlackBuild
+++ b/desktop/parcellite/parcellite.SlackBuild
@@ -4,16 +4,14 @@
4# Written by Phillip Warner <pc_warner@yahoo.com> 4# Written by Phillip Warner <pc_warner@yahoo.com>
5 5
6PRGNAM=parcellite 6PRGNAM=parcellite
7VERSION=${VERSION:-1.0.2rc2} 7VERSION=${VERSION:-1.0.2rc5}
8BUILD=${BUILD:-1} 8BUILD=${BUILD:-1}
9TAG=${TAG:-_SBo} 9TAG=${TAG:-_SBo}
10 10
11# Automatically determine the architecture we're building on:
12if [ -z "$ARCH" ]; then 11if [ -z "$ARCH" ]; then
13 case "$( uname -m )" in 12 case "$( uname -m )" in
14 i?86) ARCH=i486 ;; 13 i?86) ARCH=i486 ;;
15 arm*) ARCH=arm ;; 14 arm*) ARCH=arm ;;
16 # Unless $ARCH is already set, use uname -m for all other archs:
17 *) ARCH=$( uname -m ) ;; 15 *) ARCH=$( uname -m ) ;;
18 esac 16 esac
19fi 17fi
@@ -57,6 +55,9 @@ if [ "$NOICON" = "YES" ]; then
57 sed -i "s/PARCELLITE_ICON/GTK_STOCK_PASTE/" src/main.c 55 sed -i "s/PARCELLITE_ICON/GTK_STOCK_PASTE/" src/main.c
58 sed -i "s/#define GTK_STOCK_PASTE \"parcellite\"//" src/main.c 56 sed -i "s/#define GTK_STOCK_PASTE \"parcellite\"//" src/main.c
59fi 57fi
58# Starting with glib 2.32 it is now mandatory to
59# include glib.h instead of individual headers.
60patch -p1 -i $CWD/glib-single-include.patch
60 61
61CFLAGS="$SLKCFLAGS" \ 62CFLAGS="$SLKCFLAGS" \
62CPPFLAGS="$SLKCFLAGS" \ 63CPPFLAGS="$SLKCFLAGS" \
diff --git a/desktop/parcellite/parcellite.info b/desktop/parcellite/parcellite.info
index d9af00d5a5..bf0271e82d 100644
--- a/desktop/parcellite/parcellite.info
+++ b/desktop/parcellite/parcellite.info
@@ -1,8 +1,8 @@
1PRGNAM="parcellite" 1PRGNAM="parcellite"
2VERSION="1.0.2rc2" 2VERSION="1.0.2rc5"
3HOMEPAGE="http://parcellite.sourceforge.net" 3HOMEPAGE="http://parcellite.sourceforge.net"
4DOWNLOAD="http://downloads.sourceforge.net/parcellite/parcellite-1.0.2rc2.tar.gz" 4DOWNLOAD="http://downloads.sourceforge.net/parcellite/parcellite-1.0.2rc5.tar.gz"
5MD5SUM="c1ade542f9b5e836af18773171e70e95" 5MD5SUM="fa2d3ac8ec70df47e425695919bbc097"
6DOWNLOAD_x86_64="" 6DOWNLOAD_x86_64=""
7MD5SUM_x86_64="" 7MD5SUM_x86_64=""
8REQUIRES="" 8REQUIRES=""