Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37749409
en ru br
ALT Linux repos
S:12.60-alt1
5.0: 7.56-alt1
4.1: 7.25-alt1
4.0: 6.93-alt1
3.0: 5.32-alt1

Group :: Development/Perl
RPM: perl-Image-ExifTool

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: Image-ExifTool-11.85-alt-syntax.patch
Download


--- Image-ExifTool-11.85/lib/Image/ExifTool/WritePNG.pl	2020-01-02 14:08:56.000000000 +0200
+++ Image-ExifTool-11.85/lib/Image/ExifTool/WritePNG.pl	2020-04-22 16:59:33.594859908 +0300
@@ -68,7 +68,7 @@
 {
     my ($outfile, $rawType, $dataPt, $profile) = @_;
     my ($buff, $prefix, $chunk, $deflate);
-    if ($rawType ne $stdCase{exif} and eval { require Compress::Zlib }) {
+    if ($rawType ne $Image::ExifTool::PNG::stdCase{exif} and eval { require Compress::Zlib }) {
         $deflate = Compress::Zlib::deflateInit();
     }
     if (not defined $profile) {
@@ -79,7 +79,7 @@
             $prefix = "$rawType\0\0";
         } else {
             $chunk = $rawType;
-            if ($rawType eq $stdCase{zxif}) {
+            if ($rawType eq $Image::ExifTool::PNG::stdCase{zxif}) {
                 $prefix = "\0" . pack('N', length $$dataPt); # (proposed compressed EXIF)
             } else {
                 $prefix = '';   # standard EXIF
@@ -273,13 +273,13 @@
         );
         if ($dir eq 'IFD0') {
             next unless $specified;     # wait until specifically asked to write EXIF 'IFD0'
-            my $chunk = $stdCase{exif};
+            my $chunk = $Image::ExifTool::PNG::stdCase{exif};
             # (zxIf was not adopted)
             #if ($et->Options('Compress')) {
             #    if (eval { require Compress::Zlib }) {
-            #        $chunk = $stdCase{zxif};
+            #        $chunk = $Image::ExifTool::PNG::stdCase{zxif};
             #    } else {
-            #        $et->Warn("Creating uncompressed $stdCase{exif} chunk (Compress::Zlib not available)");
+            #        $et->Warn("Creating uncompressed $Image::ExifTool::PNG::stdCase{exif} chunk (Compress::Zlib not available)");
             #    }
             #}
             $et->VPrint(0, "Creating $chunk chunk:\n");
--- Image-ExifTool-11.85/lib/Image/ExifTool/WriteQuickTime.pl	2020-01-02 14:08:56.000000000 +0200
+++ Image-ExifTool-11.85/lib/Image/ExifTool/WriteQuickTime.pl	2020-04-22 17:28:51.054022957 +0300
@@ -1127,8 +1127,8 @@
                                 $len -= 16;
                                 $val = substr($buff, $pos, $len);
                                 # decode value (see QuickTime.pm for an explanation)
-                                if ($stringEncoding{$flags}) {
-                                    $val = $et->Decode($val, $stringEncoding{$flags});
+                                if ($Image::ExifTool::QuickTime::stringEncoding{$flags}) {
+                                    $val = $et->Decode($val, $Image::ExifTool::QuickTime::stringEncoding{$flags});
                                     $val =~ s/\0$// unless $$tagInfo{Binary};
                                     $flags = 0x01;  # write all strings as UTF-8
                                 } else {
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin