Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openjph for openSUSE:Factory checked 
in at 2025-10-11 22:48:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openjph (Old)
 and      /work/SRC/openSUSE:Factory/.openjph.new.5300 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "openjph"

Sat Oct 11 22:48:12 2025 rev:11 rq:1310431 version:0.24.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/openjph/openjph.changes  2025-09-29 
16:32:59.380334596 +0200
+++ /work/SRC/openSUSE:Factory/.openjph.new.5300/openjph.changes        
2025-10-11 22:48:17.308366409 +0200
@@ -1,0 +2,12 @@
+Fri Oct 10 05:18:47 UTC 2025 - Michael Vetter <[email protected]>
+
+- Update to 0.24.2:
+  * ojph_stream_expand build tweaks #211
+  * Fix another Windows detection macro #212
+  * Support testing for both Cygwin and MSYS #213
+  * Issues #216
+  * Fixes compilation and tests for MSYS2 #217
+  * Issues3 #218
+  * nlt_type3[i] not initialized when get_nonlinear_transform() == false #220
+
+-------------------------------------------------------------------

Old:
----
  0.24.1.tar.gz

New:
----
  0.24.2.tar.gz

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

Other differences:
------------------
++++++ openjph.spec ++++++
--- /var/tmp/diff_new_pack.mGvxdG/_old  2025-10-11 22:48:17.996395146 +0200
+++ /var/tmp/diff_new_pack.mGvxdG/_new  2025-10-11 22:48:17.996395146 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           openjph
-Version:        0.24.1
+Version:        0.24.2
 Release:        0
 Summary:        An implementation of JPEG2000 Part-15
 License:        BSD-2-Clause

++++++ 0.24.1.tar.gz -> 0.24.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/OpenJPH-0.24.1/.github/workflows/ccp-workflow.yml 
new/OpenJPH-0.24.2/.github/workflows/ccp-workflow.yml
--- old/OpenJPH-0.24.1/.github/workflows/ccp-workflow.yml       2025-09-24 
01:07:57.000000000 +0200
+++ new/OpenJPH-0.24.2/.github/workflows/ccp-workflow.yml       2025-10-08 
10:33:45.000000000 +0200
@@ -20,7 +20,7 @@
     name: ${{ matrix.system }} Build
     runs-on: ${{ matrix.runner }}
     steps:
-    - uses: actions/checkout@v4
+    - uses: actions/checkout@v5
     - name: cmake
       run: cmake -DOJPH_BUILD_STREAM_EXPAND=ON ..
       working-directory: build
@@ -38,7 +38,7 @@
     name: ${{ matrix.system }} Build
     runs-on: ${{ matrix.runner }}
     steps:
-    - uses: actions/checkout@v4
+    - uses: actions/checkout@v5
     - name: cmake
       run: cmake -DOJPH_BUILD_STREAM_EXPAND=ON 
-DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" -DOJPH_ENABLE_TIFF_SUPPORT=OFF ..
       working-directory: build
@@ -56,7 +56,7 @@
     name: ${{ matrix.system }} Build
     runs-on: ${{ matrix.runner }}
     steps:
-    - uses: actions/checkout@v4
+    - uses: actions/checkout@v5
     - name: cmake
       run: cmake -G "Visual Studio 17 2022" -A x64 
-DOJPH_ENABLE_TIFF_SUPPORT=OFF -DOJPH_BUILD_STREAM_EXPAND=ON ..
       working-directory: build
@@ -64,6 +64,32 @@
       run: cmake --build . --config Release
       working-directory: build
 
+  build_msys2:
+    strategy:
+      fail-fast: false
+      matrix:
+        include: [
+          { system: Windows-MSYS2,  runner: windows-latest },
+        ]
+    name: ${{ matrix.system }} Build
+    runs-on: ${{ matrix.runner }}
+    defaults:
+      run:
+        shell: msys2 {0}
+    steps:
+    - uses: actions/checkout@v5
+    - uses: msys2/setup-msys2@v2
+      with:
+        msystem: UCRT64
+        update: false
+        pacboy: cc:p cmake:p libtiff:p
+    - name: cmake
+      run: cmake -DOJPH_BUILD_STREAM_EXPAND=ON ..
+      working-directory: build
+    - name: build
+      run: cmake --build . --config Release
+      working-directory: build
+
   build_windows_on_arm:
     strategy:
       fail-fast: false
@@ -74,7 +100,7 @@
     name: ${{ matrix.system }} Build
     runs-on: ${{ matrix.runner }}
     steps:
-    - uses: actions/checkout@v4
+    - uses: actions/checkout@v5
     - name: cmake
       run: cmake -G "Visual Studio 17 2022" -A ARM64 
-DOJPH_ENABLE_TIFF_SUPPORT=OFF -DOJPH_BUILD_STREAM_EXPAND=ON ..
       working-directory: build
@@ -94,7 +120,7 @@
     name: ${{ matrix.system }} Test
     runs-on: ${{ matrix.runner }}
     steps:
-    - uses: actions/checkout@v4
+    - uses: actions/checkout@v5
     - name: cmake
       run: cmake -DOJPH_BUILD_TESTS=yes ..
       working-directory: build
@@ -115,7 +141,7 @@
     name: ${{ matrix.system }} Test
     runs-on: ${{ matrix.runner }}
     steps:
-    - uses: actions/checkout@v4
+    - uses: actions/checkout@v5
     - name: cmake
       run: cmake -G "Visual Studio 17 2022" -A x64 
-DOJPH_ENABLE_TIFF_SUPPORT=OFF -DOJPH_BUILD_TESTS=ON ..
       working-directory: build
@@ -126,6 +152,35 @@
       run: ctest --output-on-failure -C Release
       working-directory: build
 
+  test_msys2:
+    strategy:
+      fail-fast: false
+      matrix:
+        include: [
+          { system: Windows-MSYS2,  runner: windows-latest },
+        ]
+    name: ${{ matrix.system }} Test
+    runs-on: ${{ matrix.runner }}
+    defaults:
+      run:
+        shell: msys2 {0}
+    steps:
+    - uses: actions/checkout@v5
+    - uses: msys2/setup-msys2@v2
+      with:
+        msystem: UCRT64
+        update: false
+        pacboy: cc:p cmake:p python:p
+    - name: cmake
+      run: cmake -DOJPH_ENABLE_TIFF_SUPPORT=OFF -DOJPH_BUILD_TESTS=ON 
-DPython3_EXECUTABLE=${MINGW_PREFIX}/bin/python.exe ..
+      working-directory: build
+    - name: build
+      run: cmake --build . --config Release
+      working-directory: build
+    - name: test
+      run: ctest --output-on-failure -C Release
+      working-directory: build
+
   test_windows_on_arm:
     strategy:
       fail-fast: false
@@ -136,7 +191,7 @@
     name: ${{ matrix.system }} Test
     runs-on: ${{ matrix.runner }}
     steps:
-    - uses: actions/checkout@v4
+    - uses: actions/checkout@v5
     - name: cmake
       run: cmake -G "Visual Studio 17 2022" -A ARM64 
-DOJPH_ENABLE_TIFF_SUPPORT=OFF -DOJPH_BUILD_TESTS=ON ..
       working-directory: build
@@ -147,242 +202,3 @@
       run: ctest --output-on-failure -C Release
       working-directory: build
 
-
-#jobs:
-#  ci:
-#    name: ${{ matrix.name }}
-#    runs-on: ${{ matrix.os }}
-#
-#    strategy:
-#      fail-fast: false
-#      matrix:
-#        # Github Actions requires a single row to be added to the build 
matrix.
-#        # See 
https://help.github.com/en/articles/workflow-syntax-for-github-actions.
-#        name: [
-#          ubuntu-18.04-gcc-4.8,
-#          ubuntu-18.04-gcc-4.9,
-#          ubuntu-18.04-gcc-5,
-#          ubuntu-18.04-gcc-6,
-#          ubuntu-18.04-gcc-7,
-#          ubuntu-18.04-gcc-8,
-#          ubuntu-18.04-gcc-9,
-#          ubuntu-18.04-clang-3.5,
-#          ubuntu-18.04-clang-3.6,
-#          ubuntu-18.04-clang-3.7,
-#          ubuntu-18.04-clang-3.8,
-#          ubuntu-18.04-clang-3.9,
-#          ubuntu-18.04-clang-4.0,
-#          ubuntu-18.04-clang-5.0,
-#          ubuntu-18.04-clang-6.0,
-#          ubuntu-18.04-clang-7,
-#          ubuntu-18.04-clang-8,
-#          ubuntu-18.04-clang-9,
-#          macOS-10.14-xcode-9.4.1,
-#          macOS-10.14-xcode-10.0,
-#          macOS-10.14-xcode-10.1,
-#          macOS-10.14-xcode-10.2,
-#          macOS-10.14-xcode-10.2.1,
-#          macOS-10.14-xcode-10.3,
-#          macOS-10.14-gcc-7,
-#          macOS-10.14-gcc-8,
-#          macOS-10.14-gcc-9,
-#        ]
-#
-#        include:
-#          - name: ubuntu-18.04-gcc-4.8
-#            os: ubuntu-18.04
-#            compiler: gcc
-#            version: "4.8"
-#
-#          - name: ubuntu-18.04-gcc-4.9
-#            os: ubuntu-18.04
-#            compiler: gcc
-#            version: "4.9"
-#
-#          - name: ubuntu-18.04-gcc-5
-#            os: ubuntu-18.04
-#            compiler: gcc
-#            version: "5"
-#
-#          - name: ubuntu-18.04-gcc-6
-#            os: ubuntu-18.04
-#            compiler: gcc
-#            version: "6"
-#
-#          - name: ubuntu-18.04-gcc-7
-#            os: ubuntu-18.04
-#            compiler: gcc
-#            version: "7"
-#
-#          - name: ubuntu-18.04-gcc-8
-#            os: ubuntu-18.04
-#            compiler: gcc
-#            version: "8"
-#
-#          - name: ubuntu-18.04-gcc-9
-#            os: ubuntu-18.04
-#            compiler: gcc
-#            version: "9"
-#
-#          - name: ubuntu-18.04-clang-3.5
-#            os: ubuntu-18.04
-#            compiler: clang
-#            version: "3.5"
-#
-#          - name: ubuntu-18.04-clang-3.6
-#            os: ubuntu-18.04
-#            compiler: clang
-#            version: "3.6"
-#
-#          - name: ubuntu-18.04-clang-3.7
-#            os: ubuntu-18.04
-#            compiler: clang
-#            version: "3.7"
-#
-#          - name: ubuntu-18.04-clang-3.8
-#            os: ubuntu-18.04
-#            compiler: clang
-#            version: "3.8"
-#
-#          - name: ubuntu-18.04-clang-3.9
-#            os: ubuntu-18.04
-#            compiler: clang
-#            version: "3.9"
-#
-#          - name: ubuntu-18.04-clang-4.0
-#            os: ubuntu-18.04
-#            compiler: clang
-#            version: "4.0"
-#
-#          - name: ubuntu-18.04-clang-5.0
-#            os: ubuntu-18.04
-#            compiler: clang
-#            version: "5.0"
-#
-#          - name: ubuntu-18.04-clang-6.0
-#            os: ubuntu-18.04
-#            compiler: clang
-#            version: "6.0"
-#
-#          - name: ubuntu-18.04-clang-7
-#            os: ubuntu-18.04
-#            compiler: clang
-#            version: "7"
-#
-#          - name: ubuntu-18.04-clang-8
-#            os: ubuntu-18.04
-#            compiler: clang
-#            version: "8"
-#
-#          - name: ubuntu-18.04-clang-9
-#            os: ubuntu-18.04
-#            compiler: clang
-#            version: "9"
-#
-#          - name: macOS-10.14-xcode-9.4.1
-#            os: macOS-10.14
-#            compiler: xcode
-#            version: "9.4.1"
-#
-#          - name: macOS-10.14-xcode-10.0
-#            os: macOS-10.14
-#            compiler: xcode
-#            version: "10"
-#
-#          - name: macOS-10.14-xcode-10.1
-#            os: macOS-10.14
-#            compiler: xcode
-#            version: "10.1"
-#
-#          - name: macOS-10.14-Xcode-10.2
-#            os: macOS-10.14
-#            compiler: xcode
-#            version: "10.2"
-#
-#          - name: macOS-10.14-xcode-10.2.1
-#            os: macOS-10.14
-#            compiler: xcode
-#            version: "10.2.1"
-#
-#          - name: macOS-10.14-xcode-10.3
-#            os: macOS-10.14
-#            compiler: xcode
-#            version: "10.3"
-#
-#          - name: macOS-10.14-gcc-7
-#            os: macOS-10.14
-#            compiler: gcc
-#            version: "7"
-#
-#          - name: macOS-10.14-gcc-8
-#            os: macOS-10.14
-#            compiler: gcc
-#            version: "8"
-#
-#          - name: macOS-10.14-gcc-9
-#            os: macOS-10.14
-#            compiler: gcc
-#            version: "9"
-#
-#    steps:
-#    - uses: actions/checkout@v2
-#    - name: cmake
-#      run: cmake ..
-#      working-directory: build
-#    - name: build
-#      run: make
-#      working-directory: build
-
-
-
-#  build1:
-#    name: main build for Unix-like
-#    runs-on: ${{ matrix.os }}
-#    strategy:
-#      matrix:
-#        os: [macos-10.14, macos-latest, ubuntu-16.04, ubuntu-latest]
-#        node: [8]
-#    steps:
-#    - uses: actions/checkout@v2
-#    - name: cmake
-#      run: cmake ..
-#      working-directory: build
-#    - name: build
-#      run: make
-#      working-directory: build
-#
-#  build2:
-#    name: main build for Windows
-#    runs-on: ${{ matrix.os }}
-#    strategy:
-#      matrix:
-#        os: [windows-latest]
-#        node: [8]
-#    steps:
-#    - uses: actions/checkout@v2
-#    - name: install visual studio
-#      run: python install.py --clang-completer --ts-completer --msvc=14
-#    - name: cmake
-#      run: cmake -G "Visual Studio 14 2015 Win64" ..
-#      working-directory: build
-#    - name: build
-#      run: cmake --build .
-#      working-directory: build
-#
-#  build3:
-#    name: main build for Windows
-#    runs-on: ${{ matrix.os }}
-#    strategy:
-#      matrix:
-#        os: [windows-latest]
-#        node: [8]
-#    steps:
-#    - uses: actions/checkout@v2
-#    - name: install visual studio
-#      run: python install.py --clang-completer --ts-completer --msvc=14
-#    - name: cmake
-#      run: cmake -G "Visual Studio 15 2017 Win64" ..
-#      working-directory: build
-#    - name: build
-#      run: cmake --build .
-#      working-directory: build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/OpenJPH-0.24.1/src/apps/ojph_stream_expand/CMakeLists.txt 
new/OpenJPH-0.24.2/src/apps/ojph_stream_expand/CMakeLists.txt
--- old/OpenJPH-0.24.1/src/apps/ojph_stream_expand/CMakeLists.txt       
2025-09-24 01:07:57.000000000 +0200
+++ new/OpenJPH-0.24.2/src/apps/ojph_stream_expand/CMakeLists.txt       
2025-10-08 10:33:45.000000000 +0200
@@ -1,7 +1,7 @@
 ## building ojph_stream_expand
 ##############################
 
-set(CMAKE_CXX_STANDARD 14)
+find_package(Threads)
 
 file(GLOB OJPH_STREAM_EXPAND  "*.cpp" "*.h")
 file(GLOB OJPH_SOCKETS         "../others/ojph_sockets.cpp")
@@ -17,10 +17,9 @@
 
 add_executable(ojph_stream_expand ${SOURCES})
 target_include_directories(ojph_stream_expand PRIVATE ../common)
-if(MSVC)
-    target_link_libraries(ojph_stream_expand PUBLIC openjph ws2_32)
-else()
-    target_link_libraries(ojph_stream_expand PUBLIC openjph pthread)
-endif(MSVC)
+target_link_libraries(ojph_stream_expand PRIVATE openjph Threads::Threads)
+if(WIN32)
+    target_link_libraries(ojph_stream_expand PRIVATE ws2_32)
+endif()
 
 install(TARGETS ojph_stream_expand)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/OpenJPH-0.24.1/src/apps/others/ojph_sockets.cpp 
new/OpenJPH-0.24.2/src/apps/others/ojph_sockets.cpp
--- old/OpenJPH-0.24.1/src/apps/others/ojph_sockets.cpp 2025-09-24 
01:07:57.000000000 +0200
+++ new/OpenJPH-0.24.2/src/apps/others/ojph_sockets.cpp 2025-10-08 
10:33:45.000000000 +0200
@@ -127,7 +127,7 @@
       --ojph_socket_manager_counter;
       if (ojph_socket_manager_counter == 0)
       {
-      #ifdef _MSC_VER  
+      #ifdef OJPH_OS_WINDOWS  
        WSACleanup();
       #endif
       }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/OpenJPH-0.24.1/src/core/codestream/ojph_tile.cpp 
new/OpenJPH-0.24.2/src/core/codestream/ojph_tile.cpp
--- old/OpenJPH-0.24.1/src/core/codestream/ojph_tile.cpp        2025-09-24 
01:07:57.000000000 +0200
+++ new/OpenJPH-0.24.2/src/core/codestream/ojph_tile.cpp        2025-10-08 
10:33:45.000000000 +0200
@@ -276,6 +276,8 @@
             "(bit_depth = %d, is_signed = %s) from NLT marker segment, "
             "for component %d", i, num_bits[i], 
             is_signed[i] ? "True" : "False", bd, is ? "True" : "False");
+        if (result == false)
+          nlt_type3[i] = param_nlt::nonlinearity::OJPH_NLT_NO_NLT;
         cur_line[i] = 0;
         reversible[i] = codestream->get_coc(i)->is_reversible();
       }
@@ -894,4 +896,4 @@
     }
 
   }
-}
\ No newline at end of file
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/OpenJPH-0.24.1/src/core/common/ojph_version.h 
new/OpenJPH-0.24.2/src/core/common/ojph_version.h
--- old/OpenJPH-0.24.1/src/core/common/ojph_version.h   2025-09-24 
01:07:57.000000000 +0200
+++ new/OpenJPH-0.24.2/src/core/common/ojph_version.h   2025-10-08 
10:33:45.000000000 +0200
@@ -35,4 +35,4 @@
 
 #define OPENJPH_VERSION_MAJOR 0
 #define OPENJPH_VERSION_MINOR 24
-#define OPENJPH_VERSION_PATCH 1
+#define OPENJPH_VERSION_PATCH 2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/OpenJPH-0.24.1/tests/CMakeLists.txt 
new/OpenJPH-0.24.2/tests/CMakeLists.txt
--- old/OpenJPH-0.24.1/tests/CMakeLists.txt     2025-09-24 01:07:57.000000000 
+0200
+++ new/OpenJPH-0.24.2/tests/CMakeLists.txt     2025-10-08 10:33:45.000000000 
+0200
@@ -57,12 +57,12 @@
   add_custom_command(TARGET mse_pae POST_BUILD
     COMMAND ${CMAKE_COMMAND} -E copy "./\$(Configuration)/mse_pae.exe" "./"
   )
-  if (MSVC AND OJPH_ENABLE_TIFF_SUPPORT)
+  if (OJPH_ENABLE_TIFF_SUPPORT)
       file(COPY "${TIFF_INCLUDE_DIR}\\..\\bin\\tiff.dll" DESTINATION "./")
       file(COPY "${TIFF_INCLUDE_DIR}\\..\\bin\\tiffxx.dll" DESTINATION "./")
       file(COPY "${TIFF_INCLUDE_DIR}\\..\\bin\\tiffd.dll" DESTINATION "./")
       file(COPY "${TIFF_INCLUDE_DIR}\\..\\bin\\tiffxxd.dll" DESTINATION "./")
-  endif() 
+  endif()
 else()
   add_custom_command(TARGET test_executables POST_BUILD
     COMMAND ${CMAKE_COMMAND} -E copy "$<TARGET_FILE:ojph_expand>" "./"
@@ -74,10 +74,11 @@
       COMMAND ${CMAKE_COMMAND} -E copy 
"$<TARGET_FILE_DIR:ojph_compress>/ojph_compress.wasm" "./"
     )
   endif(EMSCRIPTEN)
-  if(MSYS)
+  if(CYGWIN OR MINGW)
     add_custom_command(TARGET test_executables POST_BUILD
-      COMMAND ${CMAKE_COMMAND} -E copy "../bin/msys-gtest.dll" "./"
-      COMMAND ${CMAKE_COMMAND} -E copy "../bin/msys-gtest_main.dll" "./"
+      COMMAND ${CMAKE_COMMAND} -E copy 
"../bin/${CMAKE_SHARED_LIBRARY_PREFIX}gtest.dll" "./"
+      COMMAND ${CMAKE_COMMAND} -E copy 
"../bin/${CMAKE_SHARED_LIBRARY_PREFIX}gtest_main.dll" "./"
+      COMMAND ${CMAKE_COMMAND} -E copy "$<TARGET_FILE:openjph>" "./"
     )
-  endif(MSYS)
+  endif()
 endif(MSVC)

Reply via email to