summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'desktop')
-rw-r--r--desktop/parcellite/glib-single-include.patch13
-rw-r--r--desktop/parcellite/parcellite.SlackBuild18
-rw-r--r--desktop/parcellite/parcellite.info10
3 files changed, 12 insertions, 29 deletions
diff --git a/desktop/parcellite/glib-single-include.patch b/desktop/parcellite/glib-single-include.patch
deleted file mode 100644
index e2a849c56c..0000000000
--- a/desktop/parcellite/glib-single-include.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-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 8df1607d34..911cefbb01 100644
--- a/desktop/parcellite/parcellite.SlackBuild
+++ b/desktop/parcellite/parcellite.SlackBuild
@@ -4,7 +4,7 @@
# Written by Phillip Warner <pc_warner@yahoo.com>
PRGNAM=parcellite
-VERSION=${VERSION:-1.0.2rc5}
+VERSION=${VERSION:-1.1.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -44,10 +44,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
if [ "$NOICON" = "YES" ]; then
# Force parcellite to use the stock GTK icons
@@ -55,9 +55,6 @@ 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" \
@@ -78,15 +75,14 @@ if [ "$NOICON" = "YES" ]; then
rm -rfv $PKG/usr/share/pixmaps/
fi
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog README TODO INSTALL NEWS \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog README TODO INSTALL NEWS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/desktop/parcellite/parcellite.info b/desktop/parcellite/parcellite.info
index bf0271e82d..9d4359c2fd 100644
--- a/desktop/parcellite/parcellite.info
+++ b/desktop/parcellite/parcellite.info
@@ -1,10 +1,10 @@
PRGNAM="parcellite"
-VERSION="1.0.2rc5"
+VERSION="1.1.7"
HOMEPAGE="http://parcellite.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/parcellite/parcellite-1.0.2rc5.tar.gz"
-MD5SUM="fa2d3ac8ec70df47e425695919bbc097"
+DOWNLOAD="http://downloads.sourceforge.net/parcellite/parcellite-1.1.7.tar.gz"
+MD5SUM="a542aab0df50ac7a7de6501957e78fb3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Phillip Warner"
-EMAIL="pc_warner@yahoo.com"
+MAINTAINER="Luka Novsak"
+EMAIL="lnovsak@gmail.com"