tag 154771 + patch
thanks
Hi,
Am 22.11.26 um 13:27 schrieb Rene Engelhard:
Still running, so no tests (but they fail before and the results are
ignored anyway...). No idea whether that actually works...
So that ended with
97% tests passed, 2 tests failed out of 73
Total Test time (real) = 152.38 sec
The following tests FAILED:
36 - FITSFilterTest (Failed)
45 - ImportSqlDatabaseTest (Failed)
so no OdsFilter or so...
(and those ones being ignored)
So the attached patch should do it...
Regards,
Rene
diff -Nru labplot-2.12.1/debian/changelog labplot-2.12.1/debian/changelog
--- labplot-2.12.1/debian/changelog 2026-10-05 11:10:58.000000000 +0000
+++ labplot-2.12.1/debian/changelog 2026-11-22 12:18:51.000000000 +0000
@@ -1,3 +1,11 @@
+labplot (2.12.1-6.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * debian/patches/iixion_0.21_orcus_0.22.diff, debian/patches/c++20.diff:
+ fix build with libixion 0.21/liborcus 0.22 (closes: #1154771)
+
+ -- Rene Engelhard <[email protected]> Sun, 22 Nov 2026 12:18:51 +0000
+
labplot (2.12.1-6) unstable; urgency=medium
* Bump the debhelper compatibility to 14:
diff -Nru labplot-2.12.1/debian/patches/c++20.diff
labplot-2.12.1/debian/patches/c++20.diff
--- labplot-2.12.1/debian/patches/c++20.diff 1970-01-01 00:00:00.000000000
+0000
+++ labplot-2.12.1/debian/patches/c++20.diff 2026-11-22 12:17:39.000000000
+0000
@@ -0,0 +1,35 @@
+From: Rene Engelhard <[email protected]>
+Date: Nov, 22 2026 12:15:29 +0000
+Subject: [PATCH] bump C++ Standard to 20
+
+as needed by libixion 0.21.0/liborcus 0.22
+
+--- labplot-2.12.1.orig/CMakeLists.txt
++++ labplot-2.12.1/CMakeLists.txt
+@@ -6,7 +6,7 @@ set(YEAR 2025)
+ set(CMAKE_C_STANDARD 99)
+ set(CMAKE_C_STANDARD_REQUIRED ON)
+ set(CMAKE_C_EXTENSIONS OFF)
+-set(CMAKE_CXX_STANDARD 17)
++set(CMAKE_CXX_STANDARD 20)
+ set(CMAKE_CXX_STANDARD_REQUIRED ON)
+ set(CMAKE_CXX_EXTENSIONS OFF)
+
+@@ -130,7 +130,7 @@ if(NOT APPLE)
+ endif()
+ set (GENERIC_C_FLAGS "${GENERIC_FLAGS} -fno-exceptions")
+ # liborigin needs exceptions
+-set (GENERIC_CXX_FLAGS "${GENERIC_FLAGS} -fexceptions -std=c++17")
++set (GENERIC_CXX_FLAGS "${GENERIC_FLAGS} -fexceptions -std=c++20")
+
+ if("${CMAKE_C_COMPILER_ID}" MATCHES "GNU")
+ message(STATUS "GNU C compiler ${CMAKE_C_COMPILER_VERSION} detected,
adding compile flags")
+@@ -261,7 +261,7 @@ if(CMAKE_VERSION VERSION_GREATER "3.5")
+ message(STATUS "Clang-tidy supported, found and enabled:
${CLANG_TIDY_EXE}")
+ set(CLANG_TIDY_CHECKS
"modernize-*,-modernize-use-trailing-return-type,clang-analyzer-*,-clang-analyzer-cplusplus*")
+ #set(CLANG_TIDY_CHECKS "-*,modernize-*,clang-analyzer-*")
+- # -extra-arg=--std=c++17
++ # -extra-arg=--std=c++20
+ set(CMAKE_CXX_CLANG_TIDY
"${CLANG_TIDY_EXE};-checks=${CLANG_TIDY_CHECKS};-header-filter='${CMAKE_SOURCE_DIR}/*'"
+ CACHE STRING "" FORCE)
+ else()
diff -Nru labplot-2.12.1/debian/patches/ixion_0.21_orcus_0.22.diff
labplot-2.12.1/debian/patches/ixion_0.21_orcus_0.22.diff
--- labplot-2.12.1/debian/patches/ixion_0.21_orcus_0.22.diff 1970-01-01
00:00:00.000000000 +0000
+++ labplot-2.12.1/debian/patches/ixion_0.21_orcus_0.22.diff 2026-11-22
12:18:43.000000000 +0000
@@ -0,0 +1,55 @@
+From: Rene Engelhard <[email protected]>
+Date: Nov, 22 2026 10:35:29 +0000
+Subject: [PATCH] check for libixion 0.21/liborcus 0.22
+
+--- labplot-2.12.1.orig/cmake/FindOrcus.cmake
++++ labplot-2.12.1/cmake/FindOrcus.cmake
+@@ -14,21 +14,21 @@ if (Orcus_INCLUDE_DIR AND Orcus_LIBRARIE
+ set (Orcus_FOUND TRUE)
+ else ()
+ find_package(PkgConfig QUIET)
+- pkg_search_module(PC_ORCUS liborcus liborcus-0.21 liborcus-0.20
liborcus-0.19 liborcus-0.18 liborcus-0.17 liborcus-0.16 QUIET)
+- pkg_search_module(PC_IXION libixion libixion-0.20 libixion-0.19
libixion-0.18 libixion-0.17 libixion-0.16 QUIET)
++ pkg_search_module(PC_ORCUS liborcus liborcus-0.22 liborcus-0.21
liborcus-0.20 liborcus-0.19 liborcus-0.18 liborcus-0.17 liborcus-0.16 QUIET)
++ pkg_search_module(PC_IXION libixion libixion-0.21 libixion-0.20
libixion-0.19 libixion-0.18 libixion-0.17 libixion-0.16 QUIET)
+
+ find_library (Orcus_LIBRARY
+- NAMES orcus orcus-0.21 orcus-0.20 orcus-0.19 orcus-0.18 orcus-0.17
orcus-0.16
++ NAMES orcus orcus-0.22 orcus-0.21 orcus-0.20 orcus-0.19 orcus-0.18
orcus-0.17 orcus-0.16
+ HINTS ${PC_ORCUS_LIBRARY_DIRS}
+ PATH_SUFFIXES orcus
+ )
+ find_library (Orcus_parser_LIBRARY
+- NAMES orcus-parser orcus-parser-0.21 orcus-parser-0.20
orcus-parser-0.19 orcus-parser-0.18 orcus-parser-0.17 orcus-parser-0.16
++ NAMES orcus-parser orcus-parser-0.22 orcus-parser-0.21
orcus-parser-0.20 orcus-parser-0.19 orcus-parser-0.18 orcus-parser-0.17
orcus-parser-0.16
+ HINTS ${PC_ORCUS_LIBRARY_DIRS}
+ PATH_SUFFIXES orcus
+ )
+ find_library (Orcus_spreadsheet_LIBRARY
+- NAMES orcus-spreadsheet-model orcus-spreadsheet-model-0.21
orcus-spreadsheet-model-0.20 orcus-spreadsheet-model-0.19
orcus-spreadsheet-model-0.18 orcus-spreadsheet-model-0.17
orcus-spreadsheet-model-0.16
++ NAMES orcus-spreadsheet-model orcus-spreadsheet-model-0.22
orcus-spreadsheet-model-0.21 orcus-spreadsheet-model-0.20
orcus-spreadsheet-model-0.19 orcus-spreadsheet-model-0.18
orcus-spreadsheet-model-0.17 orcus-spreadsheet-model-0.16
+ HINTS ${PC_ORCUS_LIBRARY_DIRS}
+ PATH_SUFFIXES orcus
+ )
+@@ -44,7 +44,7 @@ else ()
+ endif ()
+
+ find_library (Ixion_LIBRARY
+- NAMES ixion ixion-0.20 ixion-0.19 ixion-0.18 ixion-0.17 ixion-0.16
++ NAMES ixion ixion-0.21 ixion-0.20 ixion-0.19 ixion-0.18 ixion-0.17
ixion-0.16
+ HINTS ${PC_IXION_LIBRARY_DIRS}
+ PATH_SUFFIXES orcus
+ )
+@@ -69,10 +69,10 @@ else ()
+ set(LIBIXION_VERSION ${PC_IXION_VERSION})
+ # latest version
+ if (NOT DEFINED LIBORCUS_VERSION)
+- set(LIBORCUS_VERSION "0.21.0")
++ set(LIBORCUS_VERSION "0.22.0")
+ endif()
+ if (NOT DEFINED LIBIXION_VERSION)
+- set(LIBIXION_VERSION "0.20.0")
++ set(LIBIXION_VERSION "0.21.0")
+ endif()
+
+ include (FindPackageHandleStandardArgs)
diff -Nru labplot-2.12.1/debian/patches/series
labplot-2.12.1/debian/patches/series
--- labplot-2.12.1/debian/patches/series 2026-10-05 08:52:18.000000000
+0000
+++ labplot-2.12.1/debian/patches/series 2026-11-22 12:15:38.000000000
+0000
@@ -3,3 +3,5 @@
upstream_Fix-build-with-Qt-6.10.patch
upstream_Added-the-missing-include-to-fix-the-build.patch
upstream_Fix-eigen-detection-with-Eigen-5.x.patch
+ixion_0.21_orcus_0.22.diff
+c++20.diff