diff options
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 |
commit | ac027590f05665081b3c362aee08cab56d559d9c (patch) | |
tree | f636458ab68b05de35214ba7a648a7902137c974 | |
parent | 32cd769130b1690af53b794f9bf13ceda9b44ef0 (diff) | |
download | slackbuilds-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.patch | 13 | ||||
-rw-r--r-- | desktop/parcellite/parcellite.SlackBuild | 7 | ||||
-rw-r--r-- | desktop/parcellite/parcellite.info | 6 |
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 @@ | |||
1 | Index: 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 | ||
6 | PRGNAM=parcellite | 6 | PRGNAM=parcellite |
7 | VERSION=${VERSION:-1.0.2rc2} | 7 | VERSION=${VERSION:-1.0.2rc5} |
8 | BUILD=${BUILD:-1} | 8 | BUILD=${BUILD:-1} |
9 | TAG=${TAG:-_SBo} | 9 | TAG=${TAG:-_SBo} |
10 | 10 | ||
11 | # Automatically determine the architecture we're building on: | ||
12 | if [ -z "$ARCH" ]; then | 11 | if [ -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 |
19 | fi | 17 | fi |
@@ -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 |
59 | fi | 57 | fi |
58 | # Starting with glib 2.32 it is now mandatory to | ||
59 | # include glib.h instead of individual headers. | ||
60 | patch -p1 -i $CWD/glib-single-include.patch | ||
60 | 61 | ||
61 | CFLAGS="$SLKCFLAGS" \ | 62 | CFLAGS="$SLKCFLAGS" \ |
62 | CPPFLAGS="$SLKCFLAGS" \ | 63 | 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 @@ | |||
1 | PRGNAM="parcellite" | 1 | PRGNAM="parcellite" |
2 | VERSION="1.0.2rc2" | 2 | VERSION="1.0.2rc5" |
3 | HOMEPAGE="http://parcellite.sourceforge.net" | 3 | HOMEPAGE="http://parcellite.sourceforge.net" |
4 | DOWNLOAD="http://downloads.sourceforge.net/parcellite/parcellite-1.0.2rc2.tar.gz" | 4 | DOWNLOAD="http://downloads.sourceforge.net/parcellite/parcellite-1.0.2rc5.tar.gz" |
5 | MD5SUM="c1ade542f9b5e836af18773171e70e95" | 5 | MD5SUM="fa2d3ac8ec70df47e425695919bbc097" |
6 | DOWNLOAD_x86_64="" | 6 | DOWNLOAD_x86_64="" |
7 | MD5SUM_x86_64="" | 7 | MD5SUM_x86_64="" |
8 | REQUIRES="" | 8 | REQUIRES="" |