Browse Source

graphics/jhead: Updated for version 3.08.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
pull/202/head
Johannes Schoepfer 2 years ago
committed by Willy Sudiarto Raharjo
parent
commit
8a305641bd
No known key found for this signature in database GPG Key ID: 3F617144D7238786
  1. 4
      graphics/jhead/README
  2. 14
      graphics/jhead/jhead.SlackBuild
  3. 12
      graphics/jhead/jhead.info
  4. 2
      graphics/jhead/slack-desc

4
graphics/jhead/README

@ -1,3 +1,5 @@
jhead (JPEG Exif header manipulation tool)
Jhead is a command line program for manipulating the non-image
parts of Exif JPEG files that most digital cameras produce.
@ -9,5 +11,3 @@ Though there are many programs out there now that can manipulate
Exif headers today, for many tasks, jhead remains the simplest and
most effective tool for the job, especially if used for automated
or scripted tasks.
Homepage: http://www.sentex.net/~mwandel/jhead/

14
graphics/jhead/jhead.SlackBuild

@ -3,6 +3,7 @@
# Slackware build script for jhead
# Copyright 2011 David Spencer, Baildon, West Yorkshire, U.K.
# Copyright 2023 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -25,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=jhead
VERSION=${VERSION:-3.00}
VERSION=${VERSION:-3.08}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -38,9 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@ -52,16 +50,12 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
set -e
@ -75,9 +69,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
-exec chmod 755 {} + -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-exec chmod 644 {} +
make CFLAGS="$SLKCFLAGS"

12
graphics/jhead/jhead.info

@ -1,10 +1,10 @@
PRGNAM="jhead"
VERSION="3.00"
HOMEPAGE="http://www.sentex.net/~mwandel/jhead/"
DOWNLOAD="http://www.sentex.net/~mwandel/jhead/jhead-3.00.tar.gz"
MD5SUM="86cc05ad59d049c35963c7c1a5296801"
VERSION="3.08"
HOMEPAGE="https://github.com/Matthias-Wandel/jhead"
DOWNLOAD="https://github.com/Matthias-Wandel/jhead/archive/3.08/jhead-3.08.tar.gz"
MD5SUM="d861962834d7e54a21478aeb954040b3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="David Spencer"
EMAIL="baildon.research@googlemail.com"
MAINTAINER="Johannes Schoepfer"
EMAIL="slackbuilds@schoepfer.info"

2
graphics/jhead/slack-desc

@ -14,6 +14,6 @@ jhead:
jhead: For many tasks, jhead remains the simplest and most effective tool
jhead: for the job, especially if used for automated or scripted tasks.
jhead:
jhead: Homepage: http://www.sentex.net/~mwandel/jhead/
jhead: https://github.com/Matthias-Wandel/jhead
jhead:
jhead:
Loading…
Cancel
Save