exiftool_vendored 12.50.0 → 12.52.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -29,7 +29,7 @@ use vars qw($VERSION $RELEASE @ISA @EXPORT_OK %EXPORT_TAGS $AUTOLOAD @fileTypes
29
29
  %jpegMarker %specialTags %fileTypeLookup $testLen $exeDir
30
30
  %static_vars);
31
31
 
32
- $VERSION = '12.50';
32
+ $VERSION = '12.52';
33
33
  $RELEASE = '';
34
34
  @ISA = qw(Exporter);
35
35
  %EXPORT_TAGS = (
@@ -145,16 +145,16 @@ sub ReadValue($$$;$$$);
145
145
  Samsung::Trailer Sony::SRF2 Sony::SR2SubIFD Sony::PMP ITC ID3 ID3::Lyrics3
146
146
  FLAC Ogg Vorbis APE APE::NewHeader APE::OldHeader Audible MPC MPEG::Audio
147
147
  MPEG::Video MPEG::Xing M2TS QuickTime QuickTime::ImageFile QuickTime::Stream
148
- QuickTime::Tags360Fly Matroska MOI MXF DV Flash Flash::FLV Real::Media
149
- Real::Audio Real::Metafile Red RIFF AIFF ASF WTV DICOM FITS MIE JSON HTML
150
- XMP::SVG Palm Palm::MOBI Palm::EXTH Torrent EXE EXE::PEVersion EXE::PEString
151
- EXE::MachO EXE::PEF EXE::ELF EXE::AR EXE::CHM LNK Font VCard Text
152
- VCard::VCalendar RSRC Rawzor ZIP ZIP::GZIP ZIP::RAR RTF OOXML iWork ISO
148
+ QuickTime::Tags360Fly Matroska Matroska::Tags MOI MXF DV Flash Flash::FLV
149
+ Real::Media Real::Audio Real::Metafile Red RIFF AIFF ASF WTV DICOM FITS MIE
150
+ JSON HTML XMP::SVG Palm Palm::MOBI Palm::EXTH Torrent EXE EXE::PEVersion
151
+ EXE::PEString EXE::MachO EXE::PEF EXE::ELF EXE::AR EXE::CHM LNK Font VCard
152
+ Text VCard::VCalendar RSRC Rawzor ZIP ZIP::GZIP ZIP::RAR RTF OOXML iWork ISO
153
153
  FLIR::AFF FLIR::FPF MacOS MacOS::MDItem FlashPix::DocTable
154
154
  );
155
155
 
156
156
  # alphabetical list of current Lang modules
157
- @langs = qw(cs de en en_ca en_gb es fi fr it ja ko nl pl ru sv tr zh_cn zh_tw);
157
+ @langs = qw(cs de en en_ca en_gb es fi fr it ja ko nl pl ru sk sv tr zh_cn zh_tw);
158
158
 
159
159
  $defaultLang = 'en'; # default language
160
160
 
@@ -174,6 +174,7 @@ $defaultLang = 'en'; # default language
174
174
  nl => 'Dutch (Nederlands)',
175
175
  pl => 'Polish (Polski)',
176
176
  ru => 'Russian (Русский)',
177
+ sk => 'Slovak (Slovenčina)',
177
178
  sv => 'Swedish (Svenska)',
178
179
  'tr'=> 'Turkish (Türkçe)',
179
180
  zh_cn => 'Simplified Chinese (简体中文)',
@@ -1807,6 +1808,16 @@ my %systemTagsNotes = (
1807
1808
  Protected => 1,
1808
1809
  },
1809
1810
  PageCount => { Notes => 'the number of pages in a multi-page TIFF document' },
1811
+ SphericalVideoXML => {
1812
+ Groups => { 0 => 'QuickTime', 1 => 'GSpherical', 2 => 'Video' },
1813
+ # (group 1 is 'GSpherical' to trigger creation of this tag when writing,
1814
+ # but when reading the family 1 group is the track number)
1815
+ Flags => [ 'Writable', 'Binary', 'Protected' ],
1816
+ Notes => q{
1817
+ the SphericalVideoXML block from MP4/MOV videos. This tag is generated only
1818
+ if specifically requested
1819
+ },
1820
+ },
1810
1821
  );
1811
1822
 
1812
1823
  # tags defined by UserParam option (added at runtime)
@@ -2029,6 +2040,7 @@ sub new
2029
2040
  $$self{DEL_GROUP} = { }; # lookup for groups to delete when writing
2030
2041
  $$self{SAVE_COUNT} = 0; # count calls to SaveNewValues()
2031
2042
  $$self{FILE_SEQUENCE} = 0; # sequence number for files when reading
2043
+ $$self{INDENT2} = ''; # indentation of verbose messages from SetNewValue
2032
2044
 
2033
2045
  # initialize our new groups for writing
2034
2046
  $self->SetNewGroups(@defaultWriteGroups);
@@ -3909,7 +3921,7 @@ sub CanCreate($)
3909
3921
  #==============================================================================
3910
3922
  # Functions below this are not part of the public API
3911
3923
 
3912
- # Initialize member variables for reading or writing a new file
3924
+ # Initialize member variables before reading or writing a new file
3913
3925
  # Inputs: 0) ExifTool object reference
3914
3926
  sub Init($)
3915
3927
  {
@@ -4174,10 +4186,15 @@ sub Open($*$;$)
4174
4186
  # handle Windows Unicode file name
4175
4187
  local $SIG{'__WARN__'} = \&SetWarning;
4176
4188
  my ($access, $create);
4177
- if ($mode eq '>') {
4189
+ if ($mode eq '>' or $mode eq '>>') {
4178
4190
  eval {
4179
4191
  $access = Win32API::File::GENERIC_WRITE();
4180
- $create = Win32API::File::CREATE_ALWAYS();
4192
+ if ($mode eq '>>') {
4193
+ $access |= Win32API::File::FILE_APPEND_DATA();
4194
+ $create = Win32API::File::OPEN_ALWAYS();
4195
+ } else {
4196
+ $create = Win32API::File::CREATE_ALWAYS();
4197
+ }
4181
4198
  }
4182
4199
  } else {
4183
4200
  eval {
@@ -4433,11 +4450,15 @@ sub ParseArguments($;@)
4433
4450
  sub IsSameID($$)
4434
4451
  {
4435
4452
  my ($id, $grp) = @_;
4436
- return 1 if $grp eq $id; # decimal ID's or raw ID's
4437
- if ($id =~ /^\d+$/) { # numerical numerical ID's may be in hex
4438
- return 1 if $grp =~ s/^0x0*// and $grp eq sprintf('%x', $id);
4439
- } else { # other ID's may conform to ExifTool group name conventions
4440
- return 1 if $id =~ s/([^-_A-Za-z0-9])/sprintf('%.2x',ord $1)/ge and $grp eq $id;
4453
+ for (;;) {
4454
+ return 1 if $grp eq $id; # decimal ID's or raw ID's
4455
+ if ($id =~ /^\d+$/) { # numerical numerical ID's may be in hex
4456
+ return 1 if $grp =~ s/^0x0*// and $grp eq sprintf('%x', $id);
4457
+ } else { # other ID's may conform to ExifTool group name conventions
4458
+ my $tmp = $id;
4459
+ return 1 if $tmp =~ s/([^-_A-Za-z0-9])/sprintf('%.2x',ord $1)/ge and $grp eq $tmp;
4460
+ }
4461
+ last unless $id =~ s/-.*//; # remove language code if it exists
4441
4462
  }
4442
4463
  return 0;
4443
4464
  }
@@ -1,6 +1,6 @@
1
1
  Summary: perl module for image data extraction
2
2
  Name: perl-Image-ExifTool
3
- Version: 12.50
3
+ Version: 12.52
4
4
  Release: 1
5
5
  License: Artistic/GPL
6
6
  Group: Development/Libraries/Perl
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ExiftoolVendored
4
- VERSION = Gem::Version.new('12.50.0')
4
+ VERSION = Gem::Version.new('12.52.0')
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exiftool_vendored
3
3
  version: !ruby/object:Gem::Version
4
- version: 12.50.0
4
+ version: 12.52.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew McEachen
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-11-15 00:00:00.000000000 Z
12
+ date: 2022-12-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: exiftool
@@ -372,6 +372,7 @@ files:
372
372
  - bin/lib/Image/ExifTool/Lang/nl.pm
373
373
  - bin/lib/Image/ExifTool/Lang/pl.pm
374
374
  - bin/lib/Image/ExifTool/Lang/ru.pm
375
+ - bin/lib/Image/ExifTool/Lang/sk.pm
375
376
  - bin/lib/Image/ExifTool/Lang/sv.pm
376
377
  - bin/lib/Image/ExifTool/Lang/tr.pm
377
378
  - bin/lib/Image/ExifTool/Lang/zh_cn.pm