From ac027590f05665081b3c362aee08cab56d559d9c Mon Sep 17 00:00:00 2001 From: dsomero Date: Thu, 6 Sep 2012 14:52:47 -0400 Subject: desktop/parcellite: Updated for version 1.0.2rc5. Signed-off-by: dsomero --- desktop/parcellite/glib-single-include.patch | 13 +++++++++++++ desktop/parcellite/parcellite.SlackBuild | 7 ++++--- desktop/parcellite/parcellite.info | 6 +++--- 3 files changed, 20 insertions(+), 6 deletions(-) create mode 100644 desktop/parcellite/glib-single-include.patch (limited to 'desktop') 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 @@ +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 ++#include + + G_BEGIN_DECLS + 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 @@ # Written by Phillip Warner 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 d9af00d5a5..bf0271e82d 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="" -- cgit v1.2.3