graphics/jhead: Initial import

This commit is contained in:
Peter Drauden 2010-05-11 14:55:17 +02:00 committed by Michiel van Wessem
parent bfbf63e5b1
commit 7234a8d047
4 changed files with 97 additions and 0 deletions

10
graphics/jhead/README Normal file
View file

@ -0,0 +1,10 @@
Digicam JPEG Exif header manipulation tool
jhead is used to display and manipulate data contained in the Exif
header of JPEG images from digital cameras. jhead can also be used
to manipulate some aspects of the image relating to JPEG and Exif
headers, such as changing the internal timestamps, removing the
thumbnail, or transferring Exif headers back into edited images after
graphical editors deleted the Exif header.
Homepage: http://freshmeat.net/redir/jhead/4822/url_homepage/jhead

View file

@ -0,0 +1,68 @@
#!/bin/sh
# Slackware build script for jhead
# Copyright 2007 Peter Drauden (pjdraud@ilstu.edu)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
set -e
PRGNAM=jhead
VERSION=2.7
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
# Compile the application and strip unneeded symbols
CFLAGS=$SLKCFLAGS CXXFLAGS=$SLKCFLAGS make
strip --strip-unneeded jhead 2> /dev/null
mkdir -p $PKG/usr/{bin,man/man1}
cp -a jhead $PKG/usr/bin
cp -a jhead.1.gz $PKG/usr/man/man1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a changes.txt readme.txt usage.html $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz

View file

@ -0,0 +1,8 @@
PRGNAM="jhead"
VERSION="2.7"
HOMEPAGE="http://www.sentex.net/~mwandel/jhead/"
DOWNLOAD="http://www.sentex.net/~mwandel/jhead/jhead-2.7.tar.gz"
MD5SUM="be10a197a8858de5d86ae89219e806fb"
MAINTAINER="Peter Drauden"
EMAIL="pjdraud@ilstu.edu"
APPROVED="BP{k}"

11
graphics/jhead/slack-desc Normal file
View file

@ -0,0 +1,11 @@
jhead: Digicam JPEG Exif header manipulation tool
jhead:
jhead: jhead is used to display and manipulate data contained in the Exif
jhead: header of JPEG images from digital cameras. jhead can also be used
jhead: to manipulate some aspects of the image relating to JPEG and Exif
jhead: headers, such as changing the internal timestamps, removing the
jhead: thumbnail, or transferring Exif headers back into edited images after
jhead: graphical editors deleted the Exif header.
jhead:
jhead: Homepage: http://freshmeat.net/redir/jhead/4822/url_homepage/jhead
jhead: