From 93d3cf04f2336b2bc1d1bfc2217aee685a9f8654 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Fri, 5 Jan 2024 12:24:56 +0100 Subject: [PATCH] Update to 1.84.1 --- .gitignore | 1 + leptonica.spec | 7 +++++-- leptonica_cmake.patch | 18 +++++++++--------- sources | 2 +- 4 files changed, 16 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index cceb45f..69f3af1 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ /leptonica-1.83.0.tar.gz /leptonica-1.83.1.tar.gz /leptonica-1.84.0.tar.gz +/leptonica-1.84.1.tar.gz diff --git a/leptonica.spec b/leptonica.spec index 856e420..acd3e9d 100644 --- a/leptonica.spec +++ b/leptonica.spec @@ -11,8 +11,8 @@ %endif Name: leptonica -Version: 1.84.0 -Release: 2%{?dist} +Version: 1.84.1 +Release: 1%{?dist} Summary: C library for efficient image processing and image analysis operations License: Leptonica @@ -197,6 +197,9 @@ ln -s %{mingw64_libdir}/libleptonica.dll.a %{buildroot}%{mingw64_libdir}/liblept %changelog +* Fri Jan 05 2024 Sandro Mani - 1.84.1-1 +- Update to 1.84.1 + * Wed Dec 27 2023 Michael J Gruber - 1.84.0-2 - Fix pkgconfig file regression (rhbz#2255937) diff --git a/leptonica_cmake.patch b/leptonica_cmake.patch index f4160b3..e9f9d91 100644 --- a/leptonica_cmake.patch +++ b/leptonica_cmake.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference leptonica-1.84.0-orig/CMakeLists.txt leptonica-1.84.0/CMakeLists.txt ---- leptonica-1.84.0-orig/CMakeLists.txt 2023-12-24 09:24:30.000000000 +0100 -+++ leptonica-1.84.0/CMakeLists.txt 2023-12-27 13:49:02.576324545 +0100 +diff -rupN --no-dereference leptonica-1.84.1/CMakeLists.txt leptonica-1.84.1-new/CMakeLists.txt +--- leptonica-1.84.1/CMakeLists.txt 2024-01-03 01:03:10.000000000 +0100 ++++ leptonica-1.84.1-new/CMakeLists.txt 2024-01-05 12:23:14.492871244 +0100 @@ -71,7 +71,7 @@ option(ENABLE_WEBP "Enable WebP support" option(ENABLE_OPENJPEG "Enable OpenJPEG support" ON) @@ -30,9 +30,9 @@ diff -rupN --no-dereference leptonica-1.84.0-orig/CMakeLists.txt leptonica-1.84. install(FILES ${CMAKE_CURRENT_BINARY_DIR}/LeptonicaConfig.cmake ${CMAKE_CURRENT_BINARY_DIR}/LeptonicaConfig-version.cmake DESTINATION ${leptonica_INSTALL_CMAKE_DIR}) -diff -rupN --no-dereference leptonica-1.84.0-orig/prog/CMakeLists.txt leptonica-1.84.0/prog/CMakeLists.txt ---- leptonica-1.84.0-orig/prog/CMakeLists.txt 2023-12-24 09:24:30.000000000 +0100 -+++ leptonica-1.84.0/prog/CMakeLists.txt 2023-12-27 13:49:02.576324545 +0100 +diff -rupN --no-dereference leptonica-1.84.1/prog/CMakeLists.txt leptonica-1.84.1-new/prog/CMakeLists.txt +--- leptonica-1.84.1/prog/CMakeLists.txt 2024-01-03 01:03:10.000000000 +0100 ++++ leptonica-1.84.1-new/prog/CMakeLists.txt 2024-01-05 12:23:14.495871319 +0100 @@ -12,7 +12,7 @@ function(add_prog_target target) if (BUILD_SHARED_LIBS) target_compile_definitions (${target} PRIVATE -DLIBLEPT_IMPORTS) @@ -42,9 +42,9 @@ diff -rupN --no-dereference leptonica-1.84.0-orig/prog/CMakeLists.txt leptonica- set_target_properties (${target} PROPERTIES FOLDER prog) endfunction(add_prog_target) ######################################## -diff -rupN --no-dereference leptonica-1.84.0-orig/src/CMakeLists.txt leptonica-1.84.0/src/CMakeLists.txt ---- leptonica-1.84.0-orig/src/CMakeLists.txt 2023-12-24 09:24:30.000000000 +0100 -+++ leptonica-1.84.0/src/CMakeLists.txt 2023-12-27 14:34:36.751976070 +0100 +diff -rupN --no-dereference leptonica-1.84.1/src/CMakeLists.txt leptonica-1.84.1-new/src/CMakeLists.txt +--- leptonica-1.84.1/src/CMakeLists.txt 2024-01-03 01:03:10.000000000 +0100 ++++ leptonica-1.84.1-new/src/CMakeLists.txt 2024-01-05 12:23:14.499871419 +0100 @@ -16,7 +16,10 @@ string(REPLACE "-O3" "-O2" CMAKE_C_FLAGS add_library (leptonica ${src} ${hdr}) set_target_properties (leptonica PROPERTIES VERSION 6.0.0) diff --git a/sources b/sources index f0157ce..cd36fe9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (leptonica-1.84.0.tar.gz) = f4b2eebfa991e6a49432e13de86d57d8efe427216a757a47e6ed00babbb74c141f271b5a70aafbad9e4dedbdec0cb6245e6c0fb56e3c68c01b437022a05a9af2 +SHA512 (leptonica-1.84.1.tar.gz) = 968a88d2074717e6f379d2f9b8f7f0d5193fe9b8856051e09e2b31c939689b196a4a9b2cde595ce76ff8ae2784680ef5e68c40709c051d3d23738e862968016f