summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorveego <veego>2001-09-02 15:35:37 +0000
committerveego <veego>2001-09-02 15:35:37 +0000
commita32c1550c925eb204d78d7f115be6f9d74d1d724 (patch)
treec84317a6c8d6879a3a3174a20a175d681e17b02c /graphics
parentd06a0be53521c6b339d1a21652344c6f39c30abf (diff)
downloadpkgsrc-a32c1550c925eb204d78d7f115be6f9d74d1d724.tar.gz
Program for extracting Digicam setting information from Exif Jpeg headers
used by most Digital Cameras. Things 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 - very interesting) - 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
Diffstat (limited to 'graphics')
-rw-r--r--graphics/jhead/Makefile27
-rw-r--r--graphics/jhead/distinfo4
-rw-r--r--graphics/jhead/pkg/DESCR15
-rw-r--r--graphics/jhead/pkg/PLIST4
4 files changed, 50 insertions, 0 deletions
diff --git a/graphics/jhead/Makefile b/graphics/jhead/Makefile
new file mode 100644
index 00000000000..600bc3dec5b
--- /dev/null
+++ b/graphics/jhead/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/09/02 15:35:37 veego Exp $
+#
+
+DISTNAME= jhead
+PKGNAME= jhead-1.3
+CATEGORIES= graphics
+MASTER_SITES= http://www.sentex.net/~mwandel/jhead/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= veego@netbsd.org
+HOMEPAGE= http://www.sentex.net/~mwandel/jhead/
+COMMENT= Extract EXIF header from JPEG image
+
+DIST_SUBDIR= ${DISTNAME}
+NO_WRKSUBDIR= YES
+
+LIBS= -lm
+
+do-build:
+ cd ${WRKSRC} && ${CC} ${CFLAGS} ${LIBS} -o jhead jhead.c exif.c
+
+do-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/jhead
+ ${INSTALL_PROGRAM} ${WRKSRC}/jhead ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/usage.html ${PREFIX}/share/doc/html/jhead
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/jhead/distinfo b/graphics/jhead/distinfo
new file mode 100644
index 00000000000..f3e75f9996d
--- /dev/null
+++ b/graphics/jhead/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/09/02 15:35:37 veego Exp $
+
+SHA1 (jhead/jhead.zip) = 6cea04ea736623c5a58b16240f5a08ba5e6c6b33
+Size (jhead/jhead.zip) = 27186 bytes
diff --git a/graphics/jhead/pkg/DESCR b/graphics/jhead/pkg/DESCR
new file mode 100644
index 00000000000..a16f3a3bcb8
--- /dev/null
+++ b/graphics/jhead/pkg/DESCR
@@ -0,0 +1,15 @@
+Program for extracting Digicam setting information from Exif Jpeg headers
+used by most Digital Cameras.
+Things 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 - very
+ interesting)
+ - 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
diff --git a/graphics/jhead/pkg/PLIST b/graphics/jhead/pkg/PLIST
new file mode 100644
index 00000000000..396689c8b36
--- /dev/null
+++ b/graphics/jhead/pkg/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/09/02 15:35:37 veego Exp $
+bin/jhead
+share/doc/html/jhead/usage.html
+@dirrm share/doc/html/jhead