Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Dec 2001 16:48:18 -0700 (MST)
From:      Jamie Hermans <jamie@hermans.ca>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/32916: NEW PORT: graphics/jhead
Message-ID:  <20011216234818.163942F98FC@spyros.hermans.ca>

next in thread | raw e-mail | index | archive | help

>Number:         32916
>Category:       ports
>Synopsis:       NEW PORT: graphics/jhead
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 16 15:50:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Jamie Hermans
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
hermans.ca
>Environment:
System: FreeBSD spyros.hermans.ca 4.4-STABLE FreeBSD 4.4-STABLE #1: Wed Dec 5 09:58:46 MST 2001 root@spyros.hermans.ca:/usr/obj/usr/src/sys/SPYROS i386
>Description:
Exif Jpeg camera setting parser and thumbnail remover
>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	jhead
#	jhead/distinfo
#	jhead/pkg-plist
#	jhead/pkg-descr
#	jhead/pkg-comment
#	jhead/Makefile
#	jhead/files
#	jhead/files/Makefile
#
echo c - jhead
mkdir -p jhead > /dev/null 2>&1
echo x - jhead/distinfo
sed 's/^X//' >jhead/distinfo << 'END-of-jhead/distinfo'
XMD5 (jhead.zip) = 4baed69ea14629f49ff4935915be6b12
END-of-jhead/distinfo
echo x - jhead/pkg-plist
sed 's/^X//' >jhead/pkg-plist << 'END-of-jhead/pkg-plist'
Xbin/jhead
END-of-jhead/pkg-plist
echo x - jhead/pkg-descr
sed 's/^X//' >jhead/pkg-descr << 'END-of-jhead/pkg-descr'
X'jhead' is a program to parse through the little file system in the Exif
Xheaders and extract digital camera settings.
X
XInformation that the 'jhead' program can extract from an Exif file:
X
X	Integral low-res Exif thumbnail 
X	Shutter speed 
X	Camera F-stop number 
X	Flash used (yes/no) 
X	Focus distance (some digital cameras store this element) 
X	Focal length (most zoom cameras store their zoomed-to focal length) 
X	Equivalent 35mm focal length (Calculated from focal length, CCD
X	 size, and CCD resolution) 
X	Image resolution 
X	Time and date picture was taken 
X	Camera make and model 
X
XWWW: http://www.sentex.net/~mwandel/jhead/
X    
X- Jamie
Xjamie@hermans.ca
END-of-jhead/pkg-descr
echo x - jhead/pkg-comment
sed 's/^X//' >jhead/pkg-comment << 'END-of-jhead/pkg-comment'
XExif Jpeg camera setting parser and thumbnail remover
END-of-jhead/pkg-comment
echo x - jhead/Makefile
sed 's/^X//' >jhead/Makefile << 'END-of-jhead/Makefile'
X# New ports collection makefile for:   jhead
X# Date created:                01 Dec 2001
X# Whom:                        Jamie Hermans <jamie@hermans.ca>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	jhead
XPORTVERSION=	1.5
XCATEGORIES=	graphics
XMASTER_SITES=	http://www.sentex.net/~mwandel/jhead/
XMASTER_SITE_SUBDIR=	${PORTNAME}
XDISTNAME=	jhead
X
XMAINTAINER=	jamie@hermans.ca
X
XUSE_ZIP=	yes
X
XWRKSRC=		${WRKDIR}
X
Xpre-build:
X	${CP} ${FILESDIR}/Makefile ${WRKDIR}
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKDIR}/jhead ${PREFIX}/bin
X
X.include <bsd.port.mk>
END-of-jhead/Makefile
echo c - jhead/files
mkdir -p jhead/files > /dev/null 2>&1
echo x - jhead/files/Makefile
sed 's/^X//' >jhead/files/Makefile << 'END-of-jhead/files/Makefile'
X#--------------------------------
X# jhead makefile for FreeBSD
X#--------------------------------
X
XOBJ=.
XSRC=.
X
Xall: jhead
X
Xobjs = $(OBJ)/jhead.o $(OBJ)/exif.o
X
X$(OBJ)/%.o:$(SRC)/%.c
X	cc -O3 -Wall -c $< -o $@
X
Xjhead: $(objs) jhead.h
X	cc -o jhead $(objs) -lm
END-of-jhead/files/Makefile
exit
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011216234818.163942F98FC>