summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2011-03-25 22:12:57 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-03-25 23:26:50 -0500
commitbe1180c91fffe9175ce5848337a49fb08cea547c (patch)
treef18298db3b8063fccdcf4ea975b1cfc5647665ff
parente9eea28ccecd20a97c24eee01cfb74bdd25b970f (diff)
downloadslackbuilds-be1180c91fffe9175ce5848337a49fb08cea547c.tar.gz
libraries/GConf: Updated for version 2.32.1.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--libraries/GConf/GConf.SlackBuild45
-rw-r--r--libraries/GConf/GConf.info6
-rw-r--r--libraries/GConf/doinst.sh1
-rw-r--r--libraries/GConf/slack-desc2
4 files changed, 31 insertions, 23 deletions
diff --git a/libraries/GConf/GConf.SlackBuild b/libraries/GConf/GConf.SlackBuild
index 25422bfa69..0ab6084acb 100644
--- a/libraries/GConf/GConf.SlackBuild
+++ b/libraries/GConf/GConf.SlackBuild
@@ -2,8 +2,7 @@
# Slackware build script for GConf
-# Copyright 2007 koolniczka <koolniczka@szm.com>
-# Copyright 2007 Daniel Liljeqvist (dasajev@gmail.com)
+# Copyright 2010, 2011 Robby Workman, Northport, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -12,19 +11,19 @@
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=GConf
-VERSION=2.28.1
+VERSION=2.32.1
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -78,23 +77,31 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
+ --with-gtk=2.0 \
--disable-static \
--enable-debug=no \
--build=$ARCH-slackware-linux
make
-make install-strip DESTDIR=$PKG
+make install DESTDIR=$PKG
+
+find $PKG | xargs 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 -name "*.?" -exec gzip -9f {} \;
-# Let's not clobber this file on upgrades
mv $PKG/etc/gconf/2/path $PKG/etc/gconf/2/path.new
+mv $PKG/etc/gconf/2/evoldap.conf $PKG/etc/gconf/2/evoldap.conf.new
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog NEWS README TODO \
+cp -a AUTHORS COPYING NEWS README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
+if [ -r ChangeLog ]; then
+ DOCSDIR=$(echo $PKG/usr/doc/$PRGNAM-$VERSION)
+ head -n 1000 ChangeLog > $DOCSDIR/ChangeLog
+ touch -r ChangeLog $DOCSDIR/ChangeLog
+fi
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-( cd $PKG/usr/doc/$PRGNAM-$VERSION ; ln -s /usr/share/gtk-doc/html/gconf html )
-
-find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/libraries/GConf/GConf.info b/libraries/GConf/GConf.info
index 3833bf776d..d2b8835816 100644
--- a/libraries/GConf/GConf.info
+++ b/libraries/GConf/GConf.info
@@ -1,8 +1,8 @@
PRGNAM="GConf"
-VERSION="2.28.1"
+VERSION="2.32.1"
HOMEPAGE="http://www.gnome.org/projects/gconf/"
-DOWNLOAD="ftp://ftp.gnome.org/pub/gnome/sources/GConf/2.28/GConf-2.28.1.tar.bz2"
-MD5SUM="27663faf0af4f6a6d534de9270f6d24a"
+DOWNLOAD="ftp://ftp.gnome.org/pub/gnome/sources/GConf/2.32/GConf-2.32.1.tar.bz2"
+MD5SUM="e3952c493cabee2903690fc4d203dca3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Robby Workman"
diff --git a/libraries/GConf/doinst.sh b/libraries/GConf/doinst.sh
index e2936a9e96..e4c115f3a8 100644
--- a/libraries/GConf/doinst.sh
+++ b/libraries/GConf/doinst.sh
@@ -12,4 +12,5 @@ config() {
}
config etc/gconf/2/path.new
+config etc/gconf/2/evoldap.conf.new
diff --git a/libraries/GConf/slack-desc b/libraries/GConf/slack-desc
index 3d33029870..0250ce47a3 100644
--- a/libraries/GConf/slack-desc
+++ b/libraries/GConf/slack-desc
@@ -7,7 +7,7 @@
|-----handy-ruler-------------------------------------------------------|
GConf: GConf (GNOME configuration library)
-GConf:
+GConf:
GConf: GConf is a system for storing application preferences.
GConf: It is intended for user preferences. GNOME desktop relies
GConf: on this package.