- Update to 2.90
This commit is contained in:
parent
27ce45dd28
commit
350a49af33
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=249691
@ -6,8 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= jhead
|
||||
PORTVERSION= 2.88
|
||||
PORTREVISION= 2
|
||||
PORTVERSION= 2.90
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= http://www.sentex.net/~mwandel/jhead/ \
|
||||
http://www.is-root.com/myports/
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (jhead-2.88.tar.gz) = a2d4a3ede43a72ac7b97fd6b659c328c
|
||||
SHA256 (jhead-2.88.tar.gz) = 821f4717abd8462d113cb3f254e82562318e053036bc7e85ce68128d23c83b2e
|
||||
SIZE (jhead-2.88.tar.gz) = 63483
|
||||
MD5 (jhead-2.90.tar.gz) = 661effa9420bb92cb99ced697c5a177f
|
||||
SHA256 (jhead-2.90.tar.gz) = d18f862349f6d65560de12510f5cc9068b65dda7394b13fdeb6155a4933e0de8
|
||||
SIZE (jhead-2.90.tar.gz) = 64390
|
||||
|
@ -1,39 +0,0 @@
|
||||
--- jhead-2.60.orig/makernote.c 2006-05-18 00:48:56.000000000 +0400
|
||||
+++ makernote.c 2006-12-18 09:57:32.000000000 +0300
|
||||
@@ -147,6 +147,27 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
+//
|
||||
+//--------------------------------------------------------------------------
|
||||
+// Process exif format directory, as used by Nikon maker note
|
||||
+//--------------------------------------------------------------------------
|
||||
+void ProcessNikonMakerNoteDir(unsigned char *MakerNote)
|
||||
+{
|
||||
+ unsigned short iso;
|
||||
+
|
||||
+ if (DumpExifMap){
|
||||
+ printf("(Nikon makernote)\n");
|
||||
+ }
|
||||
+
|
||||
+ iso = Get16u(MakerNote + 20 + 12 + 10); // 20 bytes MakerNote ID ("Nikon" + padding), then TIFF header
|
||||
+
|
||||
+ if (ShowTags){
|
||||
+ printf("ISO derived from Nikon MakerNote: %d\n",iso);
|
||||
+ }
|
||||
+
|
||||
+ if (!ImageInfo.ISOequivalent)
|
||||
+ ImageInfo.ISOequivalent = iso;
|
||||
+}
|
||||
|
||||
//--------------------------------------------------------------------------
|
||||
// Show generic maker note - just hex bytes.
|
||||
@@ -174,6 +195,8 @@
|
||||
{
|
||||
if (strstr(ImageInfo.CameraMake, "Canon")){
|
||||
ProcessCanonMakerNoteDir(ValuePtr, OffsetBase, ExifLength);
|
||||
+ }else if (strncmp((char *)ValuePtr, "Nikon", 5) == 0){
|
||||
+ ProcessNikonMakerNoteDir(ValuePtr);
|
||||
}else{
|
||||
if (ShowTags){
|
||||
ShowMakerNoteGeneric(ValuePtr, ByteCount);
|
Loading…
Reference in New Issue
Block a user