mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
office/xpad: Updated for version 4.0.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
3593802184
commit
ccf944d243
3 changed files with 23 additions and 12 deletions
11
office/xpad/patches/xpad-pad.patch
Normal file
11
office/xpad/patches/xpad-pad.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/xpad-pad.c 2009-05-11 03:44:09.000000000 +0200
|
||||
+++ src/xpad-pad.c 2010-04-09 14:36:50.000000000 +0200
|
||||
@@ -275,7 +275,7 @@
|
||||
"gravity", GDK_GRAVITY_STATIC, /* static gravity makes saving pad x,y work */
|
||||
"skip-pager-hint", !xpad_settings_get_has_decorations (xpad_settings ()),
|
||||
"skip-taskbar-hint", !xpad_settings_get_has_decorations (xpad_settings ()),
|
||||
- "type", GTK_WINDOW_TOPLEVEL,
|
||||
+ //"type", GTK_WINDOW_TOPLEVEL,
|
||||
"type-hint", GDK_WINDOW_TYPE_HINT_NORMAL,
|
||||
"window-position", GTK_WIN_POS_MOUSE,
|
||||
"child", vbox,
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
# Slackware build script for xpad
|
||||
|
||||
# Copyright 2011 Howard Pepper <h_pepper {at} bellsouth {dot} net>
|
||||
# Copyright 2008 Frank Caraballo <fecaraballo{at}gmail{dot}com>
|
||||
# All rights reserved.
|
||||
#
|
||||
|
@ -23,16 +24,14 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=xpad
|
||||
VERSION=${VERSION:-3.0}
|
||||
VERSION=${VERSION:-4.0}
|
||||
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
|
||||
|
@ -71,6 +70,9 @@ find . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
|
||||
# patch the relevant files:
|
||||
patch -p0 < $CWD/patches/xpad-pad.patch
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
|
@ -83,10 +85,8 @@ CFLAGS="$SLKCFLAGS" \
|
|||
make
|
||||
make install-strip DESTDIR=$PKG
|
||||
|
||||
( cd $PKG/usr/man
|
||||
find . -type f -exec gzip -9 {} \;
|
||||
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
)
|
||||
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 \
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="xpad"
|
||||
VERSION="3.0"
|
||||
VERSION="4.0"
|
||||
HOMEPAGE="http://mterry.name/xpad/"
|
||||
DOWNLOAD="http://launchpad.net/xpad/stable/3.0/+download/xpad-3.0.tar.bz2"
|
||||
MD5SUM="47e59f13252591f13cc9f611e34731be"
|
||||
DOWNLOAD="http://launchpad.net/xpad/trunk/4.0/+download/xpad-4.0.tar.bz2"
|
||||
MD5SUM="a77bbabb4917c7da9b5d097d9a4e59a7"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Frank Caraballo"
|
||||
EMAIL="fecaraballo{at}gmail{dot}com"
|
||||
MAINTAINER="Howard Pepper"
|
||||
EMAIL="h_pepper <at> bellsouth {dot} net"
|
||||
APPROVED="dsomero"
|
||||
|
|
Loading…
Reference in a new issue