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-05-16 14:16:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/jpegoptim (Old)
 and      /work/SRC/openSUSE:Factory/.jpegoptim.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "jpegoptim"

Tue May 16 14:16:24 2023 rev:9 rq:1087284 version:1.5.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/jpegoptim/jpegoptim.changes      2023-03-28 
17:49:13.574934594 +0200
+++ /work/SRC/openSUSE:Factory/.jpegoptim.new.1533/jpegoptim.changes    
2023-05-16 14:27:22.707725520 +0200
@@ -1,0 +2,8 @@
+Mon May 15 16:14:09 UTC 2023 - Dirk Müller <[email protected]>
+
+- update to 1.5.4:
+  * Fix mozjpeg not preserving JPEG mode (progressive vs normal)
+  * Fix parallel processing and reading file list looping
+    infinitely
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ jpegoptim.spec ++++++
--- /var/tmp/diff_new_pack.XtN4sX/_old  2023-05-16 14:27:23.231728516 +0200
+++ /var/tmp/diff_new_pack.XtN4sX/_new  2023-05-16 14:27:23.239728562 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           jpegoptim
-Version:        1.5.3
+Version:        1.5.4
 Release:        0
 Summary:        Utility for Optimizing JPEG Files
 License:        GPL-2.0-or-later

++++++ jpegoptim-1.5.3.tar.gz -> jpegoptim-1.5.4.tar.gz ++++++
++++ 6453 lines of diff (skipped)
++++    retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/jpegoptim-1.5.3/.gitattributes new/jpegoptim-1.5.4/.gitattributes
--- old/jpegoptim-1.5.3/.gitattributes  2023-03-25 04:02:50.000000000 +0100
+++ new/jpegoptim-1.5.4/.gitattributes  2023-05-15 01:46:12.000000000 +0200
@@ -1,4 +1,6 @@
+# Enforce Unix newlines
+* text=auto eol=lf
+
 *.c    ident
 *.in   ident
 README ident
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/jpegoptim-1.5.3/.github/codeql/codeql-config.yml 
new/jpegoptim-1.5.4/.github/codeql/codeql-config.yml
--- old/jpegoptim-1.5.3/.github/codeql/codeql-config.yml        1970-01-01 
01:00:00.000000000 +0100
+++ new/jpegoptim-1.5.4/.github/codeql/codeql-config.yml        2023-05-15 
01:46:12.000000000 +0200
@@ -0,0 +1,11 @@
+name: "jpegoptim CodeQL config"
+
+languages: cpp
+
+queries:
+  - uses: security-and-quality
+  - uses: security-extended
+  
+paths-ignore:
+  - build/mozjpeg
+  
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/jpegoptim-1.5.3/.github/dependabot.yml 
new/jpegoptim-1.5.4/.github/dependabot.yml
--- old/jpegoptim-1.5.3/.github/dependabot.yml  1970-01-01 01:00:00.000000000 
+0100
+++ new/jpegoptim-1.5.4/.github/dependabot.yml  2023-05-15 01:46:12.000000000 
+0200
@@ -0,0 +1,6 @@
+version: 2
+updates:
+  - package-ecosystem: "github-actions"
+    directory: "/"
+    schedule:
+      interval: monthly
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/jpegoptim-1.5.3/.github/workflows/codeql.yml 
new/jpegoptim-1.5.4/.github/workflows/codeql.yml
--- old/jpegoptim-1.5.3/.github/workflows/codeql.yml    1970-01-01 
01:00:00.000000000 +0100
+++ new/jpegoptim-1.5.4/.github/workflows/codeql.yml    2023-05-15 
01:46:12.000000000 +0200
@@ -0,0 +1,52 @@
+name: "CodeQL"
+
+on:
+  push:
+    branches:
+      - "**"
+      - "!dependabot/**"
+  pull_request:
+    branches:
+      - "**"
+      - "!dependabot/**"
+  schedule:
+    - cron: "0 0 * * 0"
+  workflow_dispatch:
+
+jobs:
+  analyze:
+    name: Analyze
+    runs-on: ubuntu-latest
+    permissions:
+      actions: read
+      contents: read
+      security-events: write
+
+    steps:
+      - name: Clone repository
+        uses: actions/checkout@v3
+        with:
+          persist-credentials: false
+
+      - name: Initialize CodeQL
+        uses: github/codeql-action/init@v2
+        with:
+          languages: cpp
+          queries: security-extended
+          config-file: ./.github/codeql/codeql-config.yml
+
+      # Install CMake
+      - uses: lukka/[email protected]
+      # Install NASM
+      - uses: ilammy/setup-nasm@v1
+
+      # Initialize the CMake directory and build
+      - name: Build
+        run: |
+          cmake -S . -B build -DCMAKE_BUILD_TYPE=Release 
-DBUILD_NO_SUBFOLDERS=1
+          cmake --build build --config Release
+
+      - name: Perform CodeQL Analysis
+        uses: github/codeql-action/analyze@v2
+        with:
+          category: "/language:cpp"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/jpegoptim-1.5.3/.github/workflows/compile.yml 
new/jpegoptim-1.5.4/.github/workflows/compile.yml
--- old/jpegoptim-1.5.3/.github/workflows/compile.yml   2023-03-25 
04:02:50.000000000 +0100
+++ new/jpegoptim-1.5.4/.github/workflows/compile.yml   2023-05-15 
01:46:12.000000000 +0200
@@ -1,5 +1,11 @@
 name: compile
-on: [push, workflow_dispatch]
+on:
+  push:
+    branches:
+      - "**"
+      - "!dependabot/**"
+  pull_request:
+  workflow_dispatch:
 
 jobs:
   job:
@@ -8,19 +14,22 @@
     strategy:
       fail-fast: false
       matrix:
-        os: [ubuntu-latest, macos-latest, windows-latest]
+        os: [ubuntu-20.04, ubuntu-latest, macos-latest, windows-latest]
         include:
           - os: windows-latest
             triplet: x64-windows
-          - os: ubuntu-latest
+          - os: ubuntu-20.04
             triplet: x64-linux
           - os: macos-latest
             triplet: x64-osx
     steps:
-      - uses: actions/checkout@v3
+      - name: Clone repository
+        uses: actions/checkout@v3
+        with:
+          persist-credentials: false
 
       # Install CMake
-      - uses: lukka/[email protected]  # CMake 3.24.2, Ninja 1.11.1
+      - uses: lukka/[email protected]
       # Install NASM
       - uses: ilammy/setup-nasm@v1
       # Launch the MSVC Tools Command Prompt (Windows)
@@ -35,6 +44,7 @@
       # Gather documentation and executables to a common directory
       # Ignore copying errors from only one of build/jpegoptim or 
build/jpegoptim.exe existing
       - name: Prepare files
+        if: matrix.os != 'ubuntu-latest'
         run: |
           mkdir build/dist
           cp build/jpegoptim build/jpegoptim.exe COPYRIGHT LICENSE README 
build/dist/ 2>/dev/null || true
@@ -42,6 +52,7 @@
 
       # Upload the compiled binary
       - uses: actions/upload-artifact@v3
+        if: matrix.os != 'ubuntu-latest'
         with:
           name: jpegoptim-${{ matrix.triplet }}
           path: build/dist
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/jpegoptim-1.5.3/.gitignore new/jpegoptim-1.5.4/.gitignore
--- old/jpegoptim-1.5.3/.gitignore      2023-03-25 04:02:50.000000000 +0100
+++ new/jpegoptim-1.5.4/.gitignore      2023-05-15 01:46:12.000000000 +0200
@@ -8,3 +8,5 @@
 jpegoptim.txt
 *.o
 *.jpg
+build/
+autom4te.cache/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/jpegoptim-1.5.3/README new/jpegoptim-1.5.4/README
--- old/jpegoptim-1.5.3/README  2023-03-25 04:02:50.000000000 +0100
+++ new/jpegoptim-1.5.4/README  2023-05-15 01:46:12.000000000 +0200
@@ -1,5 +1,5 @@
 
-Jpegoptim v1.5.3 - Copyright (C)  Timo Kokkonen, 1996-2023. All Rights 
Reserved.
+Jpegoptim v1.5.4 - 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.3.tar.gz
-               cd jpegoptim-1.5.3
+               tar xzvf jpegoptim-1.5.4.tar.gz
+               cd jpegoptim-1.5.4
                ./configure
                make
                make strip
@@ -27,7 +27,11 @@
 
 
 HISTORY
-       v1.5.3 - fix potential heap-buffer-overflor (read) when using
+        v1.5.4 - make sure JPEG mode (progressive vs non-progressive) is
+                 preserved by default,
+                fix parallel processing when reading file list
+                (thanks to Cubittus)
+       v1.5.3 - fix potential heap-buffer-overflow (read) when using
                 stdin/stdout and processing corrupt JPEG
         v1.5.2 - add support for reading list of files to process from a file
                 (--files-from) or from standard input (--files-stdin),
@@ -135,4 +139,4 @@
 
 
 Timo <[email protected]>
-24-Mar-2023
+14-May-2023
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/jpegoptim-1.5.3/jpegoptim.c new/jpegoptim-1.5.4/jpegoptim.c
--- old/jpegoptim-1.5.3/jpegoptim.c     2023-03-25 04:02:50.000000000 +0100
+++ new/jpegoptim-1.5.4/jpegoptim.c     2023-05-15 01:46:12.000000000 +0200
@@ -64,7 +64,7 @@
 #include "jpegoptim.h"
 
 
-#define VERSION "1.5.3"
+#define VERSION "1.5.4"
 #define COPYRIGHT  "Copyright (C) 1996-2023, Timo Kokkonen"
 
 #if HAVE_WAIT && HAVE_FORK
@@ -244,7 +244,7 @@
                "                    keep old file if the gain is below a 
threshold (%%)\n"
 #ifdef PARALLEL_PROCESSING
                "  -w<max>, --workers=<max>\n"
-               "                    set mximum number of parallel threads 
(default is 1)\n"
+               "                    set maximum number of parallel threads 
(default is 1)\n"
 #endif
                "  -b, --csv         print progress info in CSV format\n"
                "  -o, --overwrite   overwrite target file even if it exists 
(meaningful\n"
@@ -833,11 +833,12 @@
                if (jpeg_c_int_param_supported(&cinfo, JINT_DC_SCAN_OPT_MODE))
                        jpeg_c_set_int_param(&cinfo, JINT_DC_SCAN_OPT_MODE, 1);
 #endif
-               if (all_normal) {
-                       /* Explicitly disables progressive if libjpeg had it on 
by default */
+               if (all_normal || (!dinfo.progressive_mode && 
!all_progressive)) {
+                       /* Explicitly disable progressive mode. */
                        cinfo.scan_info = NULL;
                        cinfo.num_scans = 0;
-               } else if (dinfo.progressive_mode || all_progressive) {
+               } else if (all_progressive || dinfo.progressive_mode) {
+                       /* Enable progressive mode. */
                        jpeg_simple_progression(&cinfo);
                }
                cinfo.optimize_coding = TRUE;
@@ -870,11 +871,12 @@
                if (jpeg_c_int_param_supported(&cinfo, JINT_DC_SCAN_OPT_MODE))
                        jpeg_c_set_int_param(&cinfo, JINT_DC_SCAN_OPT_MODE, 1);
 #endif
-               if (all_normal) {
-                       /* Explicitly disables progressive if libjpeg had it on 
by default */
+               if (all_normal || (!dinfo.progressive_mode && 
!all_progressive)) {
+                       /* Explicitly disable progressive mode. */
                        cinfo.scan_info = NULL;
                        cinfo.num_scans = 0;
-               } else if ( dinfo.progressive_mode || all_progressive ) {
+               } else if (all_progressive || dinfo.progressive_mode) {
+                       /* Enable progressive mode. */
                        jpeg_simple_progression(&cinfo);
                }
                cinfo.optimize_coding = TRUE;
@@ -1331,6 +1333,8 @@
                                fatal("fork() failed");
                        if (pid == 0) {
                                /* Child process starts here... */
+                               if (files_from)
+                                       fclose(files_from);
                                close(pipe_fd[0]);
                                FILE *p;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/jpegoptim-1.5.3/redhat/jpegoptim.spec 
new/jpegoptim-1.5.4/redhat/jpegoptim.spec
--- old/jpegoptim-1.5.3/redhat/jpegoptim.spec   2023-03-25 04:02:50.000000000 
+0100
+++ new/jpegoptim-1.5.4/redhat/jpegoptim.spec   2023-05-15 01:46:12.000000000 
+0200
@@ -1,6 +1,6 @@
 Summary: Utility for optimizing/compressing JPEG files.
 Name: jpegoptim
-Version: 1.5.3
+Version: 1.5.4
 Release: 1
 License: GPL
 Group: Applications/Multimedia

Reply via email to