guix-mirrors/gnu/packages/patches/linphone-desktop-ispell.patch
Maxim Cournoyer 5bd2569bd1
gnu: linphone-desktop: Update to 5.2.6.
* gnu/packages/patches/linphone-desktop-without-sdk.patch: Delete file.
* gnu/packages/patches/linphone-desktop-ispell.patch: New file.
* gnu/packages/patches/linphone-desktop-qtkeychain.patch: Likewise.
* gnu/local.mk (dist_patch_DATA): Update accordingly.
* gnu/packages/linphone.scm (linphone-desktop): Update to 5.2.6.
[source]: Remove linphone-desktop-without-sdk.patch patch.  Add
linphone-desktop-cmake-belcard.patch,
linphone-desktop-cmake-find-modules.patch, linphone-desktop-ispell.patch and
linphone-desktop-qtkeychain.patch patches.
[arguments] <configure-flags>: Add -DLINPHONEAPP_VERSION,
-DLinphoneCxx_TARGET=liblinphone++ and -DLINPHONE_QT_ONLY=YES and
-DCMAKE_INSTALL_INCLUDEDIR flags.  Remove -DCMAKE_INSTALL_PREFIX flag.
<phases>: Remove pre-configure phase.
[inputs]: Remove belr.  Add ispell-for-linphone, qtkeychain and
qtmultimedia-5.

Fixes: #1836
Change-Id: I8cbee339c02367a4fb1a3019700702743caaf983
2025-08-25 17:26:12 +09:00

24 lines
1.2 KiB
Diff

Retrieved from: https://git.pld-linux.org/?p=packages/linphone.git;a=blob_plain;f=linphone-ispell.patch;h=67bbae61835c7fa813edcc006b5b67901ca42abe;hb=HEAD
--- linphone-desktop-5.2.2/linphone-app/src/components/other/spell-checker/SpellCheckerLinux.cpp.orig 2024-03-11 18:30:37.000000000 +0100
+++ linphone-desktop-5.2.2/linphone-app/src/components/other/spell-checker/SpellCheckerLinux.cpp 2024-03-31 18:17:09.041543370 +0200
@@ -20,7 +20,7 @@
#include "SpellChecker.hpp"
-#include <libispell.h>
+#include <ISpell/libispell.h>
#include "app/paths/Paths.hpp"
#include <unistd.h>
#include <cstdio>
--- linphone-desktop-5.2.2/linphone-app/cmake_builder/linphone_package/CMakeLists.txt.orig 2024-04-01 08:06:42.275231951 +0200
+++ linphone-desktop-5.2.2/linphone-app/cmake_builder/linphone_package/CMakeLists.txt 2024-04-01 17:44:16.670826307 +0200
@@ -338,8 +338,6 @@ else()# Not Windows and Apple
if(ENABLE_APP_WEBVIEW)
install(FILES "${QT_PATH}/plugins/webview/libqtwebview_webengine.so" DESTINATION "plugins/webview") #Workaround : linuxdeploy doesn't deploy it
endif()
-# ISPELL
- install(DIRECTORY "${ISpell_SOURCE_DIR}/ispell_dictionaries" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/${EXECUTABLE_NAME}" USE_SOURCE_PERMISSIONS)
endif ()