[packages/openjph] - updated to 0.33.0 (fixes CVE-2026-111151, new soname)

qboosh qboosh at pld-linux.org
Fri Nov 13 21:56:18 CET 2026


commit ba2332d3e63ccf7846be8991f556b8517666c883
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Nov 13 21:56:12 2026 +0100

    - updated to 0.33.0 (fixes CVE-2026-111151, new soname)

 openjph-sse.patch | 43 -------------------------------------------
 openjph.spec      |  8 +++-----
 2 files changed, 3 insertions(+), 48 deletions(-)
---
diff --git a/openjph.spec b/openjph.spec
index 1820a4a..d0fd17c 100644
--- a/openjph.spec
+++ b/openjph.spec
@@ -1,14 +1,13 @@
 Summary:	Open-source implementation of HTJ2K encoder and decoder
 Summary(pl.UTF-8):	Implementacja kodera i dekodera HTJ2K o otwartych źródłach
 Name:		openjph
-Version:	0.31.0
+Version:	0.33.0
 Release:	1
 License:	BSD
 Group:		Libraries
 #Source0Download: https://github.com/aous72/OpenJPH/releases
 Source0:	https://github.com/aous72/OpenJPH/archive/%{version}/OpenJPH-%{version}.tar.gz
-# Source0-md5:	0648857971a89f1a0330607cedb47b94
-Patch0:		%{name}-sse.patch
+# Source0-md5:	ff4b1fd07374ba4ac3cfd4915661827a
 URL:		https://openjph.org/
 BuildRequires:	cmake >= 3.12.0
 BuildRequires:	gcc >= 6:4.7
@@ -58,7 +57,6 @@ Narzędzia do kodowania i dekodowania plików JPH.
 
 %prep
 %setup -q -n OpenJPH-%{version}
-%patch -P0 -p1
 
 %build
 cd build
@@ -82,7 +80,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc LICENSE README.md docs/{status,usage_examples,web_demos}.md
 %{_libdir}/libopenjph.so.*.*.*
-%ghost %{_libdir}/libopenjph.so.0.31
+%ghost %{_libdir}/libopenjph.so.0.33
 
 %files devel
 %defattr(644,root,root,755)
diff --git a/openjph-sse.patch b/openjph-sse.patch
deleted file mode 100644
index 5e4d681..0000000
--- a/openjph-sse.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-Since 0.30.0 sse_mem_clear() switched from SSE SIMD (_mm_storeu_ps) to SSE2 (_mm_storeu_si128)
-
---- OpenJPH-0.31.0/src/core/codestream/ojph_codeblock_fun.cpp.orig	2026-07-27 09:29:06.000000000 +0200
-+++ OpenJPH-0.31.0/src/core/codestream/ojph_codeblock_fun.cpp	2026-09-05 18:08:54.283388739 +0200
-@@ -183,8 +183,8 @@ namespace ojph {
-     #if (defined(OJPH_ARCH_X86_64) || defined(OJPH_ARCH_I386))
- 
-       // Accelerated functions for INTEL/AMD CPUs
--      #ifndef OJPH_DISABLE_SSE
--        if (get_cpu_ext_level() >= X86_CPU_EXT_LEVEL_SSE)
-+      #ifndef OJPH_DISABLE_SSE2
-+        if (get_cpu_ext_level() >= X86_CPU_EXT_LEVEL_SSE2)
-           mem_clear = sse_mem_clear;
-       #endif // !OJPH_DISABLE_SSE
- 
---- OpenJPH-0.31.0/src/core/CMakeLists.txt.orig	2026-09-05 18:11:33.289193997 +0200
-+++ OpenJPH-0.31.0/src/core/CMakeLists.txt	2026-09-05 18:11:35.772513877 +0200
-@@ -48,13 +48,12 @@ else()
-       OR MULTI_GEN_X86_64)
- 
-       if (NOT OJPH_DISABLE_SSE)
--        list(APPEND SOURCES ${CODESTREAM_SSE} ${TRANSFORM_SSE})
--        source_group("codestream" FILES ${CODESTREAM_SSE})
-+        list(APPEND SOURCES ${TRANSFORM_SSE})
-         source_group("transform" FILES ${TRANSFORM_SSE})
-       endif()
-       if (NOT OJPH_DISABLE_SSE2)
--        list(APPEND SOURCES ${CODESTREAM_SSE2} ${TRANSFORM_SSE2})
--        source_group("codestream" FILES ${CODESTREAM_SSE2})
-+        list(APPEND SOURCES ${CODESTREAM_SSE} ${CODESTREAM_SSE2} ${TRANSFORM_SSE2})
-+        source_group("codestream" FILES ${CODESTREAM_SSE} ${CODESTREAM_SSE2})
-         source_group("transform" FILES ${TRANSFORM_SSE2})
-       endif()
-       if (NOT OJPH_DISABLE_SSSE3)
-@@ -91,7 +90,7 @@ else()
-         set_source_files_properties(transform/ojph_transform_avx2.cpp PROPERTIES COMPILE_FLAGS "/arch:AVX2")
-         set_source_files_properties(transform/ojph_transform_avx512.cpp PROPERTIES COMPILE_FLAGS "/arch:AVX512")
-       else()
--        set_source_files_properties(codestream/ojph_codestream_sse.cpp PROPERTIES COMPILE_FLAGS -msse)
-+        set_source_files_properties(codestream/ojph_codestream_sse.cpp PROPERTIES COMPILE_FLAGS -msse2)
-         set_source_files_properties(codestream/ojph_codestream_sse2.cpp PROPERTIES COMPILE_FLAGS -msse2)
-         set_source_files_properties(codestream/ojph_codestream_avx.cpp PROPERTIES COMPILE_FLAGS -mavx)
-         set_source_files_properties(codestream/ojph_codestream_avx2.cpp PROPERTIES COMPILE_FLAGS -mavx2)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openjph.git/commitdiff/ba2332d3e63ccf7846be8991f556b8517666c883



More information about the pld-cvs-commit mailing list