aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2013-12-25 16:20:58 -0600
committerErik Hanson <erik@slackbuilds.org>2014-01-07 11:13:30 -0600
commit67415a1571d2bff9910fb6d06ac4a1642b2af35b (patch)
tree58a2410f4263aa7d95dd945561b46a7f684fbd36
parentf2cd23f78cb22566edee9da0241fa9e37152ce7d (diff)
libraries/libgda: Updated for version 5.2.2.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--libraries/libgda/doinst.sh16
-rw-r--r--libraries/libgda/libgda.SlackBuild8
-rw-r--r--libraries/libgda/libgda.info6
3 files changed, 24 insertions, 6 deletions
diff --git a/libraries/libgda/doinst.sh b/libraries/libgda/doinst.sh
index 3e5691a052b5b..695a78da1da14 100644
--- a/libraries/libgda/doinst.sh
+++ b/libraries/libgda/doinst.sh
@@ -1,3 +1,16 @@
+config() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ # If there's no config file by that name, mv it over:
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
+ # toss the redundant copy
+ rm $NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
@@ -7,3 +20,6 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
fi
fi
+
+config etc/libgda-5.0/config.new
+
diff --git a/libraries/libgda/libgda.SlackBuild b/libraries/libgda/libgda.SlackBuild
index 86b6af03a0915..201b00dc95890 100644
--- a/libraries/libgda/libgda.SlackBuild
+++ b/libraries/libgda/libgda.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libgda
-# Copyright 2012-2013 Willy Sudiarto Raharjo <willysr@slackware-id.org>
+# Copyright 2012-2013 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libgda
-VERSION=${VERSION:-5.2.1}
+VERSION=${VERSION:-5.2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -88,9 +88,11 @@ make install DESTDIR=$PKG
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
+mv $PKG/etc/libgda-5.0/config $PKG/etc/libgda-5.0/config.new
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- ABOUT-NLS AUTHORS COPYING* ChangeLog INSTALL NEWS README \
+ AUTHORS COPYING* ChangeLog INSTALL NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/libraries/libgda/libgda.info b/libraries/libgda/libgda.info
index a32c48edf9c60..ba6b8af9cfe78 100644
--- a/libraries/libgda/libgda.info
+++ b/libraries/libgda/libgda.info
@@ -1,8 +1,8 @@
PRGNAM="libgda"
-VERSION="5.2.1"
+VERSION="5.2.2"
HOMEPAGE="http://www.gnome.org/"
-DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/libgda/5.2/libgda-5.2.1.tar.xz"
-MD5SUM="b42958a36765183ecce1926e40067ffd"
+DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/libgda/5.2/libgda-5.2.2.tar.xz"
+MD5SUM="d2676630e621ddf5db6e336e62c23742"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""