aboutsummaryrefslogtreecommitdiff
path: root/graphics/jhead
diff options
context:
space:
mode:
authorJohannes Schoepfer <slackbuilds@schoepfer.info>2023-06-17 07:58:21 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-06-17 07:58:21 +0700
commit8a305641bd62e9df7943224c6375adb44741ccdb (patch)
treedc02844af8d4ef2f13432ac7809a020ee51e8c72 /graphics/jhead
parent49853566bb6ac10e9003d6b703050437e2fd1511 (diff)
graphics/jhead: Updated for version 3.08.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/jhead')
-rw-r--r--graphics/jhead/README4
-rw-r--r--graphics/jhead/jhead.SlackBuild14
-rw-r--r--graphics/jhead/jhead.info12
-rw-r--r--graphics/jhead/slack-desc2
4 files changed, 13 insertions, 19 deletions
diff --git a/graphics/jhead/README b/graphics/jhead/README
index f66ddff784596..608c82f9748da 100644
--- a/graphics/jhead/README
+++ b/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/
diff --git a/graphics/jhead/jhead.SlackBuild b/graphics/jhead/jhead.SlackBuild
index 50870b6c24958..c2a0525234b3b 100644
--- a/graphics/jhead/jhead.SlackBuild
+++ b/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"
diff --git a/graphics/jhead/jhead.info b/graphics/jhead/jhead.info
index cca85384b9e43..e18a20bfb78cf 100644
--- a/graphics/jhead/jhead.info
+++ b/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"
diff --git a/graphics/jhead/slack-desc b/graphics/jhead/slack-desc
index dca0a5b5aeb85..b0c9ffd290a97 100644
--- a/graphics/jhead/slack-desc
+++ b/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: