summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-03-08 10:31:35 -0600
committerErik Hanson <erik@slackbuilds.org>2010-05-13 13:26:15 +0200
commit2663f9f7dca90f535c31711c073a6230225a3812 (patch)
tree7a187a62d66490d5b7dbec481167c19a48f5da35
parenteb51748e611017c8488a0f3d1387ecb5195e61df (diff)
downloadslackbuilds-2663f9f7dca90f535c31711c073a6230225a3812.tar.gz
desktop/google-gadgets-for-linux: Updated for version 0.11.2.
This now requires xulrunner. Thanks to new maintainer Heinz Wiesinger.
-rw-r--r--desktop/google-gadgets-for-linux/README2
-rw-r--r--desktop/google-gadgets-for-linux/google-gadgets-for-linux.SlackBuild24
-rw-r--r--desktop/google-gadgets-for-linux/google-gadgets-for-linux.info12
3 files changed, 16 insertions, 22 deletions
diff --git a/desktop/google-gadgets-for-linux/README b/desktop/google-gadgets-for-linux/README
index 38a914db2d..42ab9ee87a 100644
--- a/desktop/google-gadgets-for-linux/README
+++ b/desktop/google-gadgets-for-linux/README
@@ -3,3 +3,5 @@ Linux, catering to the unique needs of Linux users. It's compatible with the
gadgets written for Google Desktop for Windows as well as the Universal
Gadgets on iGoogle. Following Linux norms, this project is open-sourced under
the Apache License.
+
+This requires xulrunner, also available from SlackBuilds.org
diff --git a/desktop/google-gadgets-for-linux/google-gadgets-for-linux.SlackBuild b/desktop/google-gadgets-for-linux/google-gadgets-for-linux.SlackBuild
index ead159ba65..abd79307f0 100644
--- a/desktop/google-gadgets-for-linux/google-gadgets-for-linux.SlackBuild
+++ b/desktop/google-gadgets-for-linux/google-gadgets-for-linux.SlackBuild
@@ -1,6 +1,7 @@
#!/bin/sh
# Slackbuild for google-gadgets-for-linux
# Written by JK Wood <joshuakwood@gmail.com>
+# Modified by Heinz Wiesinger, Amsterdam, The Netherlands
# Slackbuild is released under the Dog-on-Fire License:
# If use of this script causes your dog to catch on fire,
@@ -19,7 +20,7 @@
# Modified by SlackBuilds.org
PRGNAM=google-gadgets-for-linux
-VERSION=0.11.0
+VERSION=0.11.2
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -40,7 +41,7 @@ elif [ "$ARCH" = "x86_64" ]; then
LIBDIRSUFFIX="64"
fi
-set -eu
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -55,19 +56,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# These are needed to properly link the seamonkey stuff
-EXTRA_INCLUDES="\
- -I/usr/include/seamonkey/dom \
- -I/usr/include/seamonkey/content \
- -I/usr/include/seamonkey/widget \
- -I/usr/include/seamonkey/xpconnect"
-
-GTKMOZEMBED_CFLAGS="$(pkg-config --cflags seamonkey-gtkmozembed)" \
-GTKMOZEMBED_LIBS="$(pkg-config --libs seamonkey-gtkmozembed)" \
-LIBMOZJS_CFLAGS="$(pkg-config --cflags seamonkey-js)" \
-LIBMOZJS_LIBS="$(pkg-config --libs seamonkey-js)" \
-CFLAGS="$SLKCFLAGS $EXTRA_INCLUDES" \
-CXXFLAGS="$SLKCFLAGS $EXTRA_INCLUDES" \
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+LIBS="-lssp" \
./configure \
--prefix=/usr \
--libdir=/usr/lib$LIBDIRSUFFIX \
@@ -75,10 +66,11 @@ CXXFLAGS="$SLKCFLAGS $EXTRA_INCLUDES" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--mandir=/usr/man \
--disable-static \
+ --with-gtkmozembed=libxul \
--with-browser-plugins-dir=/usr/lib$LIBDIRSUFFIX/mozilla/plugins \
--build=$ARCH-slackware-linux
-make
+make -j1
make install-strip DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
diff --git a/desktop/google-gadgets-for-linux/google-gadgets-for-linux.info b/desktop/google-gadgets-for-linux/google-gadgets-for-linux.info
index 5671621438..f397cc0fad 100644
--- a/desktop/google-gadgets-for-linux/google-gadgets-for-linux.info
+++ b/desktop/google-gadgets-for-linux/google-gadgets-for-linux.info
@@ -1,10 +1,10 @@
PRGNAM="google-gadgets-for-linux"
-VERSION="0.11.0"
+VERSION="0.11.2"
HOMEPAGE="http://code.google.com/p/google-gadgets-for-linux/"
-DOWNLOAD="http://google-gadgets-for-linux.googlecode.com/files/google-gadgets-for-linux-0.11.0.tar.bz2"
+DOWNLOAD="http://google-gadgets-for-linux.googlecode.com/files/google-gadgets-for-linux-0.11.2.tar.bz2"
+MD5SUM="279305553bcbf74f3e3615f6abc36a5e"
DOWNLOAD_x86_64=""
-MD5SUM="714b65738f4edeae361e2b164088c50d"
MD5SUM_x86_64=""
-MAINTAINER="JK Wood"
-EMAIL="joshuakwood@gmail.com"
-APPROVED="rworkman,michiel,erik,pprkut"
+MAINTAINER="Heinz Wiesinger"
+EMAIL="pprkut@liwjatan.at"
+APPROVED="Erik Hanson"