aboutsummaryrefslogtreecommitdiff
path: root/office
diff options
context:
space:
mode:
authorHoward Pepper <h_pepper at bellsouth {dot} net>2011-09-05 21:53:04 -0400
committerRobby Workman <rworkman@slackbuilds.org>2011-09-05 23:03:07 -0500
commitccf944d24355f857c1beade34daae6b8094fd77c (patch)
tree4dd8b5de498ff620f83f02f69e80f928273bf772 /office
parent3593802184f4f5f733a97b40ed6e2e90c13d1fcf (diff)
office/xpad: Updated for version 4.0.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'office')
-rw-r--r--office/xpad/patches/xpad-pad.patch11
-rw-r--r--office/xpad/xpad.SlackBuild14
-rw-r--r--office/xpad/xpad.info10
3 files changed, 23 insertions, 12 deletions
diff --git a/office/xpad/patches/xpad-pad.patch b/office/xpad/patches/xpad-pad.patch
new file mode 100644
index 000000000000..52e6c358c084
--- /dev/null
+++ b/office/xpad/patches/xpad-pad.patch
@@ -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,
diff --git a/office/xpad/xpad.SlackBuild b/office/xpad/xpad.SlackBuild
index 5878e7268d0e..50784952009b 100644
--- a/office/xpad/xpad.SlackBuild
+++ b/office/xpad/xpad.SlackBuild
@@ -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 \
diff --git a/office/xpad/xpad.info b/office/xpad/xpad.info
index 53a2edd9c161..ca052d4b9855 100644
--- a/office/xpad/xpad.info
+++ b/office/xpad/xpad.info
@@ -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"