mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
vanadium: disable fcitx5 unicode
This commit is contained in:
parent
84f727c463
commit
73671c693e
2 changed files with 42 additions and 0 deletions
|
|
@ -31,5 +31,6 @@ in
|
||||||
fcitx5.__output.patches.__append = [
|
fcitx5.__output.patches.__append = [
|
||||||
./patches/fcitx5/disable-clipboard.patch
|
./patches/fcitx5/disable-clipboard.patch
|
||||||
./patches/fcitx5/disable-quickphrase.patch
|
./patches/fcitx5/disable-quickphrase.patch
|
||||||
|
./patches/fcitx5/disable-unicode.patch
|
||||||
];
|
];
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,41 @@
|
||||||
|
diff --git a/src/modules/unicode/CMakeLists.txt b/src/modules/unicode/CMakeLists.txt
|
||||||
|
index 73f7e064..afddabee 100644
|
||||||
|
--- a/src/modules/unicode/CMakeLists.txt
|
||||||
|
+++ b/src/modules/unicode/CMakeLists.txt
|
||||||
|
@@ -1,11 +1,11 @@
|
||||||
|
-add_fcitx5_addon(unicode unicode.cpp charselectdata.cpp)
|
||||||
|
-target_link_libraries(unicode Fcitx5::Core Fcitx5::Module::Clipboard ${FMT_TARGET})
|
||||||
|
-install(TARGETS unicode DESTINATION "${FCITX_INSTALL_ADDONDIR}")
|
||||||
|
+# add_fcitx5_addon(unicode unicode.cpp charselectdata.cpp)
|
||||||
|
+# target_link_libraries(unicode Fcitx5::Core Fcitx5::Module::Clipboard ${FMT_TARGET})
|
||||||
|
+# install(TARGETS unicode DESTINATION "${FCITX_INSTALL_ADDONDIR}")
|
||||||
|
configure_file(unicode.conf.in.in unicode.conf.in @ONLY)
|
||||||
|
fcitx5_translate_desktop_file(${CMAKE_CURRENT_BINARY_DIR}/unicode.conf.in unicode.conf)
|
||||||
|
-install(FILES "${CMAKE_CURRENT_BINARY_DIR}/unicode.conf" DESTINATION "${FCITX_INSTALL_PKGDATADIR}/addon"
|
||||||
|
- COMPONENT config)
|
||||||
|
+# install(FILES "${CMAKE_CURRENT_BINARY_DIR}/unicode.conf" DESTINATION "${FCITX_INSTALL_PKGDATADIR}/addon"
|
||||||
|
+# COMPONENT config)
|
||||||
|
fcitx5_export_module(Unicode TARGET unicode BUILD_INCLUDE_DIRECTORIES "${CMAKE_CURRENT_SOURCE_DIR}" HEADERS unicode_public.h INSTALL)
|
||||||
|
|
||||||
|
-install(FILES charselectdata DESTINATION "${FCITX_INSTALL_PKGDATADIR}/unicode" COMPONENT config)
|
||||||
|
+# install(FILES charselectdata DESTINATION "${FCITX_INSTALL_PKGDATADIR}/unicode" COMPONENT config)
|
||||||
|
|
||||||
|
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
|
||||||
|
index 97eed1f3..ff902c88 100644
|
||||||
|
--- a/test/CMakeLists.txt
|
||||||
|
+++ b/test/CMakeLists.txt
|
||||||
|
@@ -134,10 +134,10 @@ add_dependencies(testemoji emoji emoji.conf.in-fmt)
|
||||||
|
add_test(NAME testemoji COMMAND testemoji)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
-add_executable(testunicode testunicode.cpp)
|
||||||
|
-target_link_libraries(testunicode Fcitx5::Core Fcitx5::Module::TestFrontend Fcitx5::Module::TestIM)
|
||||||
|
-add_dependencies(testunicode copy-addon unicode testui testfrontend testim)
|
||||||
|
-add_test(NAME testunicode COMMAND testunicode)
|
||||||
|
+# add_executable(testunicode testunicode.cpp)
|
||||||
|
+# target_link_libraries(testunicode Fcitx5::Core Fcitx5::Module::TestFrontend Fcitx5::Module::TestIM)
|
||||||
|
+# add_dependencies(testunicode copy-addon unicode testui testfrontend testim)
|
||||||
|
+# add_test(NAME testunicode COMMAND testunicode)
|
||||||
|
|
||||||
|
|
||||||
|
if (ENABLE_KEYBOARD)
|
||||||
Loading…
Add table
Add a link
Reference in a new issue