mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
graphics/ufraw: Updated for version 0.18.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
parent
3ae22242d4
commit
873134a4ba
5 changed files with 18 additions and 20 deletions
|
@ -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.
|
||||
|
|
3
graphics/ufraw/doinst.sh
Normal file
3
graphics/ufraw/doinst.sh
Normal file
|
@ -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
|
|
@ -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:
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue