summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackware-id.org>2013-06-05 19:45:07 -0400
committerdsomero <xgizzmo@slackbuilds.org>2013-06-05 19:45:07 -0400
commiteb3cbd0717c55e501c4db21005480f0694fa376b (patch)
treec3872a45308e3dc415c89990483ccb08f5a19a0f /libraries
parent06435eea38af2693c641bc11f8d526a686b2a815 (diff)
downloadslackbuilds-eb3cbd0717c55e501c4db21005480f0694fa376b.tar.gz
libraries/libgda: Updated for version 5.1.2.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libgda/doinst.sh9
-rw-r--r--libraries/libgda/libgda.SlackBuild14
-rw-r--r--libraries/libgda/libgda.info6
-rw-r--r--libraries/libgda/slack-desc14
4 files changed, 26 insertions, 17 deletions
diff --git a/libraries/libgda/doinst.sh b/libraries/libgda/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/libraries/libgda/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/libraries/libgda/libgda.SlackBuild b/libraries/libgda/libgda.SlackBuild
index 5e3ab6a0e0..682b83339a 100644
--- a/libraries/libgda/libgda.SlackBuild
+++ b/libraries/libgda/libgda.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libgda
-# Copyright 2012 Willy Sudiarto Raharjo <willysr@slackware-id.org>
+# Copyright 2012-2013 Willy Sudiarto Raharjo <willysr@slackware-id.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,11 +23,10 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libgda
-VERSION=${VERSION:-5.1.1}
+VERSION=${VERSION:-5.1.2}
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 ;;
@@ -37,9 +36,9 @@ if [ -z "$ARCH" ]; then
fi
CWD=$(pwd)
-TMP=${TMP:-/tmp/build}
+TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
+OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
@@ -55,7 +54,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -84,7 +83,7 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
+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
@@ -97,6 +96,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/libraries/libgda/libgda.info b/libraries/libgda/libgda.info
index 0ca68da229..b76aa599c5 100644
--- a/libraries/libgda/libgda.info
+++ b/libraries/libgda/libgda.info
@@ -1,8 +1,8 @@
PRGNAM="libgda"
-VERSION="5.1.1"
+VERSION="5.1.2"
HOMEPAGE="http://www.gnome.org/"
-DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/libgda/5.1/libgda-5.1.1.tar.xz"
-MD5SUM="92a6536418f62b86818f489c2a2dfa94"
+DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/libgda/5.1/libgda-5.1.2.tar.xz"
+MD5SUM="2005c1b024fc9c8f7dd4d3d48936b0c1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libgda/slack-desc b/libraries/libgda/slack-desc
index 0efab65cda..00b6ea2351 100644
--- a/libraries/libgda/slack-desc
+++ b/libraries/libgda/slack-desc
@@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
libgda: libgda (GNOME DB)
libgda:
-libgda: libgda provides data abstraction layer with mysql, pgsql, xml,
+libgda: libgda provides data abstraction layer with mysql, pgsql, xml,
libgda: sqlite providers.
-libgda:
+libgda:
libgda: Project Site: http://www.gnome-db.org/
-libgda:
-libgda:
-libgda:
-libgda:
-libgda:
+libgda:
+libgda:
+libgda:
+libgda:
+libgda: