[neon/backports-jammy/zxing-cpp-jammy/Neon/unstable] debian/patches: drop soname patch

Carlos De Maine null at kde.org
Mon Jan 16 21:57:29 GMT 2023


Git commit a638a11bcef8dcf9294d09a863f60c016364dc03 by Carlos De Maine.
Committed on 16/01/2023 at 21:57.
Pushed by carlosdem into branch 'Neon/unstable'.

drop soname patch

M  +0    -36   debian/patches/0004-Bump-SONAME-to-2.patch

https://invent.kde.org/neon/backports-jammy/zxing-cpp-jammy/commit/a638a11bcef8dcf9294d09a863f60c016364dc03

diff --git a/debian/patches/0004-Bump-SONAME-to-2.patch b/debian/patches/0004-Bump-SONAME-to-2.patch
index a18bb63..8b13789 100644
--- a/debian/patches/0004-Bump-SONAME-to-2.patch
+++ b/debian/patches/0004-Bump-SONAME-to-2.patch
@@ -1,37 +1 @@
-From: Boyuan Yang <byang at debian.org>
-Date: Wed, 13 Jul 2022 16:30:48 -0400
-Subject: Bump SONAME to 2
 
-Prepare for future transition due to SONAME change.
-
-See: https://github.com/nu-book/zxing-cpp/issues/333
----
- CMakeLists.txt      | 1 +
- core/CMakeLists.txt | 2 +-
- 2 files changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 513f8c4..58a6d1a 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -1,6 +1,7 @@
- cmake_minimum_required (VERSION 3.14)
- 
- project (ZXing VERSION "1.4.0" LANGUAGES CXX)
-+set (ZXING_SONAME 2)
- 
- option (BUILD_WRITERS "Build with writer support (encoders)" ON)
- option (BUILD_READERS "Build with reader support (decoders)" ON)
-diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt
-index 7382bca..b4cd63a 100644
---- a/core/CMakeLists.txt
-+++ b/core/CMakeLists.txt
-@@ -486,7 +486,7 @@ set_target_properties(ZXing PROPERTIES EXPORT_NAME ZXing)
- set_target_properties(ZXing PROPERTIES POSITION_INDEPENDENT_CODE ON)
- if (PROJECT_VERSION)
-     set_target_properties(ZXing PROPERTIES VERSION ${PROJECT_VERSION})
--    set_target_properties(ZXing PROPERTIES SOVERSION ${PROJECT_VERSION_MAJOR})
-+    set_target_properties(ZXing PROPERTIES SOVERSION ${ZXING_SONAME})
- endif()
- 
- set_target_properties(ZXing PROPERTIES PUBLIC_HEADER "${PUBLIC_HEADERS}")


More information about the Neon-commits mailing list