From 3e806739b73ef176727743e740d3f8adb75c174a Mon Sep 17 00:00:00 2001 From: crocket Date: Thu, 23 Jun 2011 21:18:14 -0400 Subject: [PATCH] graphics/gthumb: Updated for version 2.13.2. Signed-off-by: dsomero --- graphics/gthumb/README | 7 +++++-- graphics/gthumb/doinst.sh | 4 ---- graphics/gthumb/gthumb.SlackBuild | 14 ++++++++------ graphics/gthumb/gthumb.info | 8 ++++---- graphics/gthumb/slack-desc | 6 +++--- 5 files changed, 20 insertions(+), 19 deletions(-) diff --git a/graphics/gthumb/README b/graphics/gthumb/README index 9a39ff56b6..00cbf30ada 100644 --- a/graphics/gthumb/README +++ b/graphics/gthumb/README @@ -1,8 +1,11 @@ gThumb is an image viewer and browser for the GNOME desktop. It also includes an importer tool for transferring photos from cameras. - -gThumb supports printing multiple images on a single page using a printer + +gThumb supports printing multiple images on a single page using a printer while many other image viewers don't support it. Thus, it comes handy. This requires GConf and libunique, and evince is needed for runtime. clutter, libsoup, gnome-keyring, and brasero are optional dependencies. + +GConf and ORBit2 are available both in slackbuilds.org and slackware /extra repository. + diff --git a/graphics/gthumb/doinst.sh b/graphics/gthumb/doinst.sh index b256fcd168..e9903996f3 100644 --- a/graphics/gthumb/doinst.sh +++ b/graphics/gthumb/doinst.sh @@ -10,10 +10,6 @@ if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi -if [ -x /usr/bin/update-mime-database ]; then - /usr/bin/update-mime-database usr/share/mime >/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 diff --git a/graphics/gthumb/gthumb.SlackBuild b/graphics/gthumb/gthumb.SlackBuild index a2e6c474dd..4ef3607d25 100644 --- a/graphics/gthumb/gthumb.SlackBuild +++ b/graphics/gthumb/gthumb.SlackBuild @@ -2,10 +2,10 @@ # Slackware build script for gthumb -# Written by crocket (crockabiscuit@yahoo.com) +# Written by crocket (crockabiscuit@gmail.com) PRGNAM=gthumb -VERSION=${VERSION:-2.13.1} +VERSION=${VERSION:-2.13.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -42,7 +42,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +tar xvf $CWD/$PRGNAM-$VERSION.tar.xz cd $PRGNAM-$VERSION chown -R root:root . find . \ @@ -63,6 +63,7 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-static=no \ --disable-schemas-install \ --disable-scrollkeeper \ + --disable-gnome-3 \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux @@ -74,7 +75,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS COPYING INSTALL MAINTAINERS NEWS README \ + AUTHORS COPYING ChangeLog INSTALL MAINTAINERS NEWS README \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild @@ -82,9 +83,10 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh -for i in $PKG/etc/gconf/schemas/* ; do - printf "schema_install $(basename $i)\n" >> $PKG/install/doinst.sh ; +for f in $PKG/etc/gconf/schemas/* ; do + printf "schema_install $(basename $f)\n" >> $PKG/install/doinst.sh ; done cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} + diff --git a/graphics/gthumb/gthumb.info b/graphics/gthumb/gthumb.info index 4bc5531cde..a10f5f8287 100644 --- a/graphics/gthumb/gthumb.info +++ b/graphics/gthumb/gthumb.info @@ -1,10 +1,10 @@ PRGNAM="gthumb" -VERSION="2.13.1" +VERSION="2.13.2" HOMEPAGE="http://live.gnome.org/gthumb" -DOWNLOAD="ftp://ftp.gnome.org/pub/gnome/sources/gthumb/2.13/gthumb-2.13.1.tar.bz2" -MD5SUM="353f135b233a3ebe69917785a0409043" +DOWNLOAD="ftp://ftp.gnome.org/pub/gnome/sources/gthumb/2.13/gthumb-2.13.2.tar.xz" +MD5SUM="b07aac2e59bb714e0812e5f28d4f6427" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="crocket" -EMAIL="crockabiscuit@yahoo.com" +EMAIL="crockabiscuit@gmail.com" APPROVED="dsomero" diff --git a/graphics/gthumb/slack-desc b/graphics/gthumb/slack-desc index 1fab336a2c..fbbf899d43 100644 --- a/graphics/gthumb/slack-desc +++ b/graphics/gthumb/slack-desc @@ -10,10 +10,10 @@ gthumb: gThumb ( An image viewer ) gthumb: gthumb: gThumb is an image viewer and browser for the GNOME desktop. It also gthumb: includes an importer tool for transferring photos from cameras. -gthumb: +gthumb: gthumb: gThumb supports printing multiple images on a single page using gthumb: a printer while many other image viewers don't support it. gthumb: Thus, it comes handy. -gthumb: -gthumb: The website is http://live.gnome.org/gthumb +gthumb: +gthumb: Website: http://live.gnome.org/gthumb gthumb: