diff options
author | Homo <gay@disroot.org> | 2025-06-18 14:54:39 +0300 |
---|---|---|
committer | Maxim Cournoyer <maxim@guixotic.coop> | 2025-07-10 23:19:37 +0900 |
commit | 2a7ba05febe4b0da4f1142097b9bd64d26a83e01 (patch) | |
tree | b264db5cd3049ae6758bcc9201e3c9e3c9200009 /gnu/packages/patches/jami-unbundle-dependencies.patch | |
parent | b77c109a71a4af2977628140360789a6bf59b220 (diff) |
gnu: jami: Update to 20250610.0.
* gnu/packages/patches/jami.scm (libjami): Update to 20250610.0.
[source]: Unregister libgit2 patch.
[inputs]: Delete guile-3.0.
[arguments] <#:configure-flags>: Delete --enable-agent.
(jami): Update to 20250610.0.
[source]: Add patch.
[native-inputs]: Add git.
[inputs]: Add hunspell and zxing-cpp.
* gnu/packages/patches/jami-qwindowkit.patch,
gnu/packages/patches/jami-unbundle-dependencies.patch: Update for jami 20250610.0.
* gnu/local.mk: Unregister patch. Register new patch.
* gnu/packages/patches/libjami-libgit2-compatibility.patch: Remove file.
* gnu/packages/patches/jami-disable-webengine.patch: New file.
Fixes: <https://issues.guix.gnu.org/76231>
Change-Id: I118454aa7c214271725358928b751f4d43cac2db
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
Diffstat (limited to 'gnu/packages/patches/jami-unbundle-dependencies.patch')
-rw-r--r-- | gnu/packages/patches/jami-unbundle-dependencies.patch | 41 |
1 files changed, 24 insertions, 17 deletions
diff --git a/gnu/packages/patches/jami-unbundle-dependencies.patch b/gnu/packages/patches/jami-unbundle-dependencies.patch index 2732087daf..8e32c736e6 100644 --- a/gnu/packages/patches/jami-unbundle-dependencies.patch +++ b/gnu/packages/patches/jami-unbundle-dependencies.patch @@ -1,25 +1,11 @@ -Forwarded here: https://lists.gnu.org/archive/html/jami/2024-01/msg00007.html - -From a302dc0a0faf2778331745a1d01bc3071e182d4d Mon Sep 17 00:00:00 2001 -From: Maxim Cournoyer <maxim.cournoyer@gmail.com> -Date: Mon, 8 Jan 2024 16:07:05 -0500 -Subject: [PATCH] build: Allow using system-provided md4c and tidy libraries. - -* CMakeLists.txt <md4c, tidy>: Search for libraries in the system -first, falling back to bundled copies in case they aren't found. - -Series-to: jami@gnu.org -Fixes: <https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/1506> -Change-Id: I637959fefce6a21b0ee73a793acb6c3c42dcdce0 ---- - CMakeLists.txt | 36 +++++++++++++++++++++++++----------- - 1 file changed, 25 insertions(+), 11 deletions(-) +Upstream-status: https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/1506 +Upstream-status: https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/2073 diff --git a/CMakeLists.txt b/CMakeLists.txt index e802357f..6d2dccfb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -600,20 +600,34 @@ add_subdirectory(3rdparty/SortFilterProxyModel) +@@ -696,29 +696,50 @@ add_subdirectory(3rdparty/SortFilterProx set(SFPM_OBJECTS $<TARGET_OBJECTS:SortFilterProxyModel>) # md4c @@ -64,6 +50,27 @@ index e802357f..6d2dccfb 100644 + list(APPEND CLIENT_LIBS tidy-static) +endif() + # ZXing-cpp configuration +-set(BUILD_EXAMPLES OFF CACHE BOOL "") +-set(BUILD_BLACKBOX_TESTS OFF CACHE BOOL "") +-add_subdirectory(3rdparty/zxing-cpp EXCLUDE_FROM_ALL) ++pkg_check_modules(zxing IMPORTED_TARGET zxing) ++if(zxing_FOUND) ++ message(STATUS "Using system-provided ZXing-cpp") ++ list(APPEND CLIENT_INCLUDE_DIRS ${zxing_INCLUDE_DIRS}) ++ list(APPEND CLIENT_LIBS PkgConfig::zxing) ++else() ++ set(BUILD_EXAMPLES OFF CACHE BOOL "") ++ set(BUILD_BLACKBOX_TESTS OFF CACHE BOOL "") ++ add_subdirectory(3rdparty/zxing-cpp EXCLUDE_FROM_ALL) + + # Add ZXing-cpp to includes and libraries +-list(APPEND CLIENT_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/zxing-cpp/core/src) +-list(APPEND CLIENT_LIBS ZXing) ++ list(APPEND CLIENT_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/zxing-cpp/core/src) ++ list(APPEND CLIENT_LIBS ZXing) ++endif() + # common executable sources qt_add_executable( |