Add jhead 1.5, exif Jpeg camera setting parser and thumbnail remover.

PR:		32916
Submitted by:	Jamie Hermans <jamie@hermans.ca>
This commit is contained in:
Pete Fritchman 2001-12-19 10:00:41 +00:00
parent 91e2db011f
commit 556fa28444
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=51811
7 changed files with 73 additions and 0 deletions

View file

@ -120,6 +120,7 @@
SUBDIR += jbigkit
SUBDIR += jgraph
SUBDIR += jgv
SUBDIR += jhead
SUBDIR += jpeg
SUBDIR += jpeg2ps-a4
SUBDIR += jpeg2ps-letter

29
graphics/jhead/Makefile Normal file
View file

@ -0,0 +1,29 @@
# New ports collection makefile for: jhead
# Date created: 01 Dec 2001
# Whom: Jamie Hermans <jamie@hermans.ca>
#
# $FreeBSD$
#
PORTNAME= jhead
PORTVERSION= 1.5
CATEGORIES= graphics
MASTER_SITES= http://www.sentex.net/~mwandel/jhead/
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= jhead
MAINTAINER= jamie@hermans.ca
USE_ZIP= yes
NO_WRKSUBDIR= yes
MAKEFILE= ${FILESDIR}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/jhead ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/usage.html ${DOCSDIR}
.endif
.include <bsd.port.mk>

1
graphics/jhead/distinfo Normal file
View file

@ -0,0 +1 @@
MD5 (jhead.zip) = 4baed69ea14629f49ff4935915be6b12

View file

@ -0,0 +1,17 @@
#--------------------------------
# jhead makefile for FreeBSD
# $FreeBSD$
#--------------------------------
OBJ=.
SRC=.
all: jhead
objs = $(OBJ)/jhead.o $(OBJ)/exif.o
$(OBJ)/%.o:$(SRC)/%.c
cc ${CFLAGS} -Wall -c $< -o $@
jhead: $(objs) jhead.h
cc -o jhead $(objs) -lm

View file

@ -0,0 +1 @@
Exif Jpeg camera setting parser and thumbnail remover

21
graphics/jhead/pkg-descr Normal file
View file

@ -0,0 +1,21 @@
'jhead' is a program to parse through the little file system in the Exif
headers and extract digital camera settings.
Information that the 'jhead' program can extract from an Exif file:
Integral low-res Exif thumbnail
Shutter speed
Camera F-stop number
Flash used (yes/no)
Focus distance (some digital cameras store this element)
Focal length (most zoom cameras store their zoomed-to focal length)
Equivalent 35mm focal length (Calculated from focal length, CCD
size, and CCD resolution)
Image resolution
Time and date picture was taken
Camera make and model
WWW: http://www.sentex.net/~mwandel/jhead/
- Jamie
jamie@hermans.ca

3
graphics/jhead/pkg-plist Normal file
View file

@ -0,0 +1,3 @@
bin/jhead
%%PORTDOCS%%share/doc/jhead/usage.html
%%PORTDOCS%%@dirrm share/doc/jhead