summaryrefslogtreecommitdiff
path: root/graphics/ufraw
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2011-07-08 19:33:42 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-07-14 19:50:58 -0300
commit873134a4bae1c17eecbd8c8719d275901c065bf9 (patch)
tree571317647986063157d71021f75a9328391d5f1a /graphics/ufraw
parent3ae22242d4355da670443dca9c63e8cd7ee071a2 (diff)
downloadslackbuilds-873134a4bae1c17eecbd8c8719d275901c065bf9.tar.gz
graphics/ufraw: Updated for version 0.18.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'graphics/ufraw')
-rw-r--r--graphics/ufraw/README6
-rw-r--r--graphics/ufraw/doinst.sh3
-rw-r--r--graphics/ufraw/slack-desc1
-rw-r--r--graphics/ufraw/ufraw.SlackBuild20
-rw-r--r--graphics/ufraw/ufraw.info8
5 files changed, 18 insertions, 20 deletions
diff --git a/graphics/ufraw/README b/graphics/ufraw/README
index a7c05750b7..7b1cbb00fb 100644
--- a/graphics/ufraw/README
+++ b/graphics/ufraw/README
@@ -7,8 +7,8 @@ UFRaw depends on dcraw, which is also available at SlackBuilds.org.
However, you can add "--enable-extras" to the configure arguments in the
build script to use the included dcraw.
-UFRaw requires gtkimageview to include the image preview window. You can build
-it without gtkimageview (run with GTK=no) but you'll only have command line
-interface to UFRaw.
+UFRaw requires gtkimageview to include the image preview window. You can
+build it without gtkimageview (run with GTK=no) but you'll only have
+command line interface to UFRaw.
Lensfun library is now autodetected.
diff --git a/graphics/ufraw/doinst.sh b/graphics/ufraw/doinst.sh
new file mode 100644
index 0000000000..5fb28930db
--- /dev/null
+++ b/graphics/ufraw/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
diff --git a/graphics/ufraw/slack-desc b/graphics/ufraw/slack-desc
index 8afcf5d7d5..95cfd28e21 100644
--- a/graphics/ufraw/slack-desc
+++ b/graphics/ufraw/slack-desc
@@ -4,7 +4,6 @@
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
-
|-----handy-ruler------------------------------------------------------|
ufraw: ufraw (Unindentified Flying RAW)
ufraw:
diff --git a/graphics/ufraw/ufraw.SlackBuild b/graphics/ufraw/ufraw.SlackBuild
index d9fe2df2ac..50546916ee 100644
--- a/graphics/ufraw/ufraw.SlackBuild
+++ b/graphics/ufraw/ufraw.SlackBuild
@@ -3,7 +3,7 @@
# Slackware Package Build Script for UFRaw (Unidentified Flying Raw)
# Home Page http://ufraw.sourceforge.net/
-# Copyright (c) 2007-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant _AT_ mnspace _DOT_ net)
+# Copyright (c) 2007-2011, Nishant Limbachia, Hoffman Estates, IL, USA (nishant _AT_ mnspace _DOT_ net)
# Copyright (c) 2007, Robby Workman <rworkman@slackbuilds.org>
# All rights reserved.
#
@@ -25,17 +25,15 @@
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=ufraw
-VERSION=0.17
+PRGNAM="ufraw"
+VERSION=${VERSION:-0.18}
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 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -65,7 +63,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e # Exit on most errors
+set -e
rm -rf $TMP/$PRGNAM-$VERSION $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -91,17 +89,14 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux \
$gtk_option
-make
+make V=1
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
-# Compress man pages
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/share/{applications,pixmaps}
install -m 0644 ufraw.desktop $PKG/usr/share/applications
@@ -112,6 +107,7 @@ cp -a COPYING MANIFEST README TODO $PKG/usr/doc/$PRGNAM-$VERSION
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/graphics/ufraw/ufraw.info b/graphics/ufraw/ufraw.info
index 561c97d290..f02cb4b95a 100644
--- a/graphics/ufraw/ufraw.info
+++ b/graphics/ufraw/ufraw.info
@@ -1,10 +1,10 @@
PRGNAM="ufraw"
-VERSION="0.17"
+VERSION="0.18"
HOMEPAGE="http://ufraw.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/project/ufraw/ufraw/ufraw-0.17/ufraw-0.17.tar.gz"
-MD5SUM="5e2c2b4adaea1f6d03eac66e11747fc6"
+DOWNLOAD="http://downloads.sourceforge.net/project/ufraw/ufraw/ufraw-0.18/ufraw-0.18.tar.gz"
+MD5SUM="454f40a402928998a82e2645d9265d96"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Nishant Limbachia"
EMAIL="nishant@mnspace.net"
-APPROVED="Erik Hanson"
+APPROVED="Niels Horn"