mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
desktop/parcellite: Updated for version 1.1.7 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
fa30cf97ce
commit
f3f7963e6e
3 changed files with 12 additions and 29 deletions
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue