Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package jpegoptim for openSUSE:Factory 
checked in at 2023-11-20 21:19:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/jpegoptim (Old)
 and      /work/SRC/openSUSE:Factory/.jpegoptim.new.2521 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "jpegoptim"

Mon Nov 20 21:19:21 2023 rev:10 rq:1127515 version:1.5.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/jpegoptim/jpegoptim.changes      2023-05-16 
14:27:22.707725520 +0200
+++ /work/SRC/openSUSE:Factory/.jpegoptim.new.2521/jpegoptim.changes    
2023-11-20 21:19:58.695753435 +0100
@@ -1,0 +2,7 @@
+Sat Nov 18 16:59:34 UTC 2023 - Dirk Müller <dmuel...@suse.com>
+
+- update to 1.5.5:
+  * Improved JFIF marker handling
+  * New command line options: --keep-jfif and --strip-jfif
+
+-------------------------------------------------------------------

Old:
----
  jpegoptim-1.5.4.tar.gz
  jpegoptim-1.5.4.tar.gz.asc

New:
----
  jpegoptim-1.5.5.tar.gz
  jpegoptim-1.5.5.tar.gz.asc

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ jpegoptim.spec ++++++
--- /var/tmp/diff_new_pack.RRzMg6/_old  2023-11-20 21:19:59.211772479 +0100
+++ /var/tmp/diff_new_pack.RRzMg6/_new  2023-11-20 21:19:59.211772479 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           jpegoptim
-Version:        1.5.4
+Version:        1.5.5
 Release:        0
 Summary:        Utility for Optimizing JPEG Files
 License:        GPL-2.0-or-later

++++++ jpegoptim-1.5.4.tar.gz -> jpegoptim-1.5.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jpegoptim-1.5.4/Makefile.in 
new/jpegoptim-1.5.5/Makefile.in
--- old/jpegoptim-1.5.4/Makefile.in     2023-05-15 01:46:12.000000000 +0200
+++ new/jpegoptim-1.5.5/Makefile.in     2023-08-10 03:11:13.000000000 +0200
@@ -2,7 +2,7 @@
 # Makefile for jpegoptim
 #
 #
-Version = 1.5.4
+Version = 1.5.5
 PKGNAME = jpegoptim
 
 SHELL = /bin/sh
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jpegoptim-1.5.4/README new/jpegoptim-1.5.5/README
--- old/jpegoptim-1.5.4/README  2023-05-15 01:46:12.000000000 +0200
+++ new/jpegoptim-1.5.5/README  2023-08-10 03:11:13.000000000 +0200
@@ -1,5 +1,5 @@
 
-Jpegoptim v1.5.4 - Copyright (C)  Timo Kokkonen, 1996-2023. All Rights 
Reserved.
+Jpegoptim v1.5.5 - Copyright (C)  Timo Kokkonen, 1996-2023. All Rights 
Reserved.
 
 
 REQUIREMENTS
@@ -18,8 +18,8 @@
        tar file, make necessary changes to the Makefile,  and then
         compile the program. You may wanna do something like this:
 
-               tar xzvf jpegoptim-1.5.4.tar.gz
-               cd jpegoptim-1.5.4
+               tar xzvf jpegoptim-1.5.5.tar.gz
+               cd jpegoptim-1.5.5
                ./configure
                make
                make strip
@@ -27,6 +27,10 @@
 
 
 HISTORY
+        v1.5.5 - improved JFIF handling (it should not longer get added
+                in some instances if it was not present in original),
+                new options --keep-jfif and --strip-jfif,
+                other minor fixes
         v1.5.4 - make sure JPEG mode (progressive vs non-progressive) is
                  preserved by default,
                 fix parallel processing when reading file list
@@ -139,4 +143,4 @@
 
 
 Timo <t...@iki.fi>
-14-May-2023
+09-Aug-2023
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jpegoptim-1.5.4/jpegoptim.1 
new/jpegoptim-1.5.5/jpegoptim.1
--- old/jpegoptim-1.5.4/jpegoptim.1     2023-05-15 01:46:12.000000000 +0200
+++ new/jpegoptim-1.5.5/jpegoptim.1     2023-08-10 03:11:13.000000000 +0200
@@ -1,4 +1,4 @@
-.TH JPEGOPTIM 1 "14 Sep 2022"
+.TH JPEGOPTIM 1 "21 Jun 2023"
 .UC 4
 .SH NAME
 jpegoptim \- utility to optimize/compress JPEG/JFIF files.
@@ -197,7 +197,7 @@
 on colorspace used in the image, as these markers are generated by the libjpeg 
encoder
 automatically.
 .TP 0.6i
-.B --strip-none
+.B --strip-none, --keep-all
 Preserve "all" markers in the image. This will leave all markers untouched in 
the image,
 except JFIF (APP0) and Adobe (APP14) markers as those get regenerated by the 
libjpeg library.
 
@@ -219,8 +219,11 @@
 .B --strip-xmp
 Strip XMP profiles from output file.
 .TP 0.6i
+.B --strip-jfif
+Strip JFIF markers from output file.
+.TP 0.6i
 .B --strip-jfxx
-Strip JFXX (JFIF Extensions) from output file.
+Strip JFXX (JFIF Extensions) markers from output file.
 .TP 0.6i
 .B --strip-Adobe
 Strip Adobe markers from output file.
@@ -242,8 +245,11 @@
 .B --keep-xmp
 Do not strip any XMP profiles from output file.
 .TP 0.6i
+.B --strip-jfif
+Do not strip any JFIF markers from output file.
+.TP 0.6i
 .B --strip-jfxx
-Do not strip any JFXX (JFIF Extensions) from output file.
+Do not strip any JFXX (JFIF Extensions) markers from output file.
 .TP 0.6i
 .B --keep-Adobe
 Do not strip Adobe markers from output file.
@@ -262,7 +268,7 @@
 Timo Kokkonen <t...@iki.fi>
 
 .SH COPYING
-Copyright (C) 1996-2022  Timo Kokkonen
+Copyright (C) 1996-2023  Timo Kokkonen
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jpegoptim-1.5.4/jpegoptim.c 
new/jpegoptim-1.5.5/jpegoptim.c
--- old/jpegoptim-1.5.4/jpegoptim.c     2023-05-15 01:46:12.000000000 +0200
+++ new/jpegoptim-1.5.5/jpegoptim.c     2023-08-10 03:11:13.000000000 +0200
@@ -64,7 +64,7 @@
 #include "jpegoptim.h"
 
 
-#define VERSION "1.5.4"
+#define VERSION "1.5.5"
 #define COPYRIGHT  "Copyright (C) 1996-2023, Timo Kokkonen"
 
 #if HAVE_WAIT && HAVE_FORK
@@ -118,6 +118,7 @@
 int save_xmp = 1;
 int save_adobe = 0;
 int save_jfxx = 0;
+int save_jfif = 1;
 int strip_none = 0;
 double threshold = -1.0;
 int csv = 0;
@@ -142,52 +143,55 @@
 double total_save = 0.0;
 
 struct option long_options[] = {
-       {"verbose",0,0,'v'},
-       {"help",0,0,'h'},
-       {"quiet",0,0,'q'},
-       {"max",1,0,'m'},
-       {"totals",0,0,'t'},
-       {"noaction",0,0,'n'},
-       {"dest",1,0,'d'},
-       {"force",0,0,'f'},
-       {"version",0,0,'V'},
-       {"overwrite",0,0,'o'},
-       {"preserve",0,0,'p'},
-       {"preserve-perms",0,0,'P'},
-       {"strip-all",0,0,'s'},
-       {"strip-none",0,&strip_none,1},
-       {"strip-com",0,&save_com,0},
-       {"strip-exif",0,&save_exif,0},
-       {"strip-iptc",0,&save_iptc,0},
-       {"strip-icc",0,&save_icc,0},
-       {"strip-xmp",0,&save_xmp,0},
-       {"strip-jfxx",0,&save_jfxx,0},
-       {"strip-adobe",0,&save_adobe,0},
-       {"keep-com",0,&save_com,1},
-       {"keep-exif",0,&save_exif,1},
-       {"keep-iptc",0,&save_iptc,1},
-       {"keep-icc",0,&save_icc,1},
-       {"keep-xmp",0,&save_xmp,1},
-       {"keep-jfxx",0,&save_jfxx,1},
-       {"keep-adobe",0,&save_adobe,1},
-       {"threshold",1,0,'T'},
-       {"csv",0,0,'b'},
-       {"all-normal",0,&all_normal,1},
-       {"all-progressive",0,&all_progressive,1},
-       {"size",1,0,'S'},
-       {"stdout",0,&stdout_mode,1},
-       {"stdin",0,&stdin_mode,1},
-       {"files-stdin",0,&files_stdin,1},
-       {"files-from",1,0,'F'},
 #ifdef HAVE_ARITH_CODE
-       {"all-arith",0,&arith_mode,1},
-       {"all-huffman",0,&arith_mode,0},
+       { "all-arith",          0, &arith_mode,          1 },
+       { "all-huffman",        0, &arith_mode,          0 },
 #endif
+       { "all-normal",         0, &all_normal,          1 },
+       { "all-progressive",    0, &all_progressive,     1 },
+       { "csv",                0, 0,                    'b' },
+       { "dest",               1, 0,                    'd' },
+       { "files-stdin",        0, &files_stdin,         1 },
+       { "files-from",         1, 0,                    'F' },
+       { "force",              0, 0,                    'f' },
+       { "help",               0, 0,                    'h' },
+       { "keep-adobe",         0, &save_adobe,          1 },
+       { "keep-all",           0, &strip_none,          1 },
+       { "keep-com",           0, &save_com,            1 },
+       { "keep-exif",          0, &save_exif,           1 },
+       { "keep-iptc",          0, &save_iptc,           1 },
+       { "keep-icc",           0, &save_icc,            1 },
+       { "keep-jfif",          0, &save_jfif,           1 },
+       { "keep-jfxx",          0, &save_jfxx,           1 },
+       { "keep-xmp",           0, &save_xmp,            1 },
+       { "max",                1, 0,                    'm' },
+       { "noaction",           0, 0,                    'n' },
+       { "nofix",              0, &nofix_mode,          1 },
+       { "overwrite",          0, 0,                    'o' },
+       { "preserve",           0, 0,                    'p' },
+       { "preserve-perms",     0, 0,                    'P' },
+       { "quiet",              0, 0,                    'q' },
+       { "size",               1, 0,                    'S' },
+       { "stdin",              0, &stdin_mode,          1 },
+       { "stdout",             0, &stdout_mode,         1 },
+       { "strip-all",          0, 0,                    's' },
+       { "strip-none",         0, &strip_none,          1 },
+       { "strip-com",          0, &save_com,            0 },
+       { "strip-exif",         0, &save_exif,           0 },
+       { "strip-iptc",         0, &save_iptc,           0 },
+       { "strip-icc",          0, &save_icc,            0 },
+       { "strip-xmp",          0, &save_xmp,            0 },
+       { "strip-jfif",         0, &save_jfif,           0 },
+       { "strip-jfxx",         0, &save_jfxx,           0 },
+       { "strip-adobe",        0, &save_adobe,          0 },
+       { "threshold",          1, 0,                    'T' },
+       { "totals",             0, 0,                    't' },
+       { "verbose",            0, 0,                    'v' },
+       { "version",            0, 0,                    'V' },
 #ifdef PARALLEL_PROCESSING
-       {"workers",1,&max_workers,'w'},
+       { "workers",            1, &max_workers,         'w' },
 #endif
-       {"nofix",0,&nofix_mode,1},
-       {0,0,0,0}
+       { 0, 0, 0, 0 }
 };
 
 
@@ -263,14 +267,17 @@
                "  --strip-exif      strip Exif markers from output file\n"
                "  --strip-iptc      strip IPTC/Photoshop (APP13) markers from 
output file\n"
                "  --strip-icc       strip ICC profile markers from output 
file\n"
+               "  --strip-jfif      strip JFIF markers from output file\n"
                "  --strip-jfxx      strip JFXX (JFIF Extension) markers from 
output file\n"
                "  --strip-xmp       strip XMP markers markers from output 
file\n"
                "\n"
+               "  --keep-all        do not strip any markers (same as 
--strip-none)\n"
                "  --keep-adobe      preserve any Adobe (APP14) markers\n"
                "  --keep-com        preserve any Comment markers\n"
                "  --keep-exif       preserve any Exif markers\n"
                "  --keep-iptc       preserve any IPTC/Photoshop (APP13) 
markers\n"
                "  --keep-icc        preserve any ICC profile markers\n"
+               "  --keep-jfif       preserve any JFIF markers\n"
                "  --keep-jfxx       preserve any JFXX (JFIF Extension) 
markers\n"
                "  --keep-xmp        preserve any XMP markers markers\n"
                "\n"
@@ -404,6 +411,7 @@
                        save_icc=0;
                        save_xmp=0;
                        save_adobe=0;
+                       save_jfif=0;
                        save_jfxx=0;
                        break;
 
@@ -846,6 +854,11 @@
                if (arith_mode >= 0)
                        cinfo.arith_code = (arith_mode > 0 ? TRUE : FALSE);
 #endif
+               if (dinfo.saw_JFIF_marker && (save_jfif || strip_none)) {
+                       cinfo.write_JFIF_header = TRUE;
+               } else {
+                       cinfo.write_JFIF_header = FALSE;
+               }
                if (dinfo.saw_Adobe_marker && (save_adobe || strip_none)) {
                        /* If outputting Adobe marker, don't write JFIF 
marker... */
                        cinfo.write_JFIF_header = FALSE;
@@ -884,6 +897,11 @@
                if (arith_mode >= 0)
                        cinfo.arith_code = (arith_mode > 0 ? TRUE : FALSE);
 #endif
+               if (dinfo.saw_JFIF_marker && (save_jfif || strip_none)) {
+                       cinfo.write_JFIF_header = TRUE;
+               } else {
+                       cinfo.write_JFIF_header = FALSE;
+               }
                if (dinfo.saw_Adobe_marker && (save_adobe || strip_none)) {
                        /* If outputting Adobe marker, don't write JFIF 
marker... */
                        cinfo.write_JFIF_header = FALSE;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jpegoptim-1.5.4/redhat/jpegoptim.spec 
new/jpegoptim-1.5.5/redhat/jpegoptim.spec
--- old/jpegoptim-1.5.4/redhat/jpegoptim.spec   2023-05-15 01:46:12.000000000 
+0200
+++ new/jpegoptim-1.5.5/redhat/jpegoptim.spec   2023-08-10 03:11:13.000000000 
+0200
@@ -1,6 +1,6 @@
 Summary: Utility for optimizing/compressing JPEG files.
 Name: jpegoptim
-Version: 1.5.4
+Version: 1.5.5
 Release: 1
 License: GPL
 Group: Applications/Multimedia
@@ -11,7 +11,7 @@
 %description
 Jpegoptim can optimize/compress jpeg files. Program support
 lossless optimization, which is based on optimizing the Huffman
-tables. So called, "lossy" optimization (compression) is done 
+tables. So called, "lossy" optimization (compression) is done
 by re-encoding the image using user specified image quality factor.
 
 %prep
@@ -44,7 +44,7 @@
 
 
 %changelog
-* Sat Dec  7 2002 Timo Kokkonen <t...@iki.fi> 
+* Sat Dec  7 2002 Timo Kokkonen <t...@iki.fi>
 - Initial build.
 
 

Reply via email to