mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
vanadium: disable fcitx5-chinese-addons fullwidth
This commit is contained in:
parent
00d53b091d
commit
0784b8f52a
2 changed files with 44 additions and 0 deletions
|
|
@ -40,5 +40,6 @@ in
|
||||||
];
|
];
|
||||||
fcitx5-chinese-addons.__output.patches.__append = [
|
fcitx5-chinese-addons.__output.patches.__append = [
|
||||||
./patches/fcitx5-chinese-addons/disable-chttrans.patch
|
./patches/fcitx5-chinese-addons/disable-chttrans.patch
|
||||||
|
./patches/fcitx5-chinese-addons/disable-fullwidth.patch
|
||||||
];
|
];
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,43 @@
|
||||||
|
diff --git a/modules/fullwidth/CMakeLists.txt b/modules/fullwidth/CMakeLists.txt
|
||||||
|
index 6e275bd..2dabd86 100644
|
||||||
|
--- a/modules/fullwidth/CMakeLists.txt
|
||||||
|
+++ b/modules/fullwidth/CMakeLists.txt
|
||||||
|
@@ -1,10 +1,10 @@
|
||||||
|
-set(FULLWIDTH_SOURCES
|
||||||
|
- fullwidth.cpp
|
||||||
|
-)
|
||||||
|
-add_fcitx5_addon(fullwidth ${FULLWIDTH_SOURCES})
|
||||||
|
-target_link_libraries(fullwidth Fcitx5::Core Fcitx5::Config Fcitx5::Module::Notifications)
|
||||||
|
-install(TARGETS fullwidth DESTINATION "${CMAKE_INSTALL_LIBDIR}/fcitx5")
|
||||||
|
+# set(FULLWIDTH_SOURCES
|
||||||
|
+# fullwidth.cpp
|
||||||
|
+# )
|
||||||
|
+# add_fcitx5_addon(fullwidth ${FULLWIDTH_SOURCES})
|
||||||
|
+# target_link_libraries(fullwidth Fcitx5::Core Fcitx5::Config Fcitx5::Module::Notifications)
|
||||||
|
+# install(TARGETS fullwidth DESTINATION "${CMAKE_INSTALL_LIBDIR}/fcitx5")
|
||||||
|
configure_file(fullwidth.conf.in.in fullwidth.conf.in)
|
||||||
|
fcitx5_translate_desktop_file("${CMAKE_CURRENT_BINARY_DIR}/fullwidth.conf.in" fullwidth.conf)
|
||||||
|
-install(FILES "${CMAKE_CURRENT_BINARY_DIR}/fullwidth.conf" DESTINATION "${FCITX_INSTALL_PKGDATADIR}/addon"
|
||||||
|
- COMPONENT config)
|
||||||
|
+# install(FILES "${CMAKE_CURRENT_BINARY_DIR}/fullwidth.conf" DESTINATION "${FCITX_INSTALL_PKGDATADIR}/addon"
|
||||||
|
+# COMPONENT config)
|
||||||
|
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
|
||||||
|
index 994a4d1..f354bfd 100644
|
||||||
|
--- a/test/CMakeLists.txt
|
||||||
|
+++ b/test/CMakeLists.txt
|
||||||
|
@@ -17,10 +17,10 @@ target_link_libraries(testpinyinhelper Fcitx5::Core Fcitx5::Module::PinyinHelper
|
||||||
|
add_dependencies(testpinyinhelper pinyin pinyin.conf.in-fmt pinyinhelper pinyinhelper.conf.in-fmt)
|
||||||
|
add_test(NAME testpinyinhelper COMMAND testpinyinhelper)
|
||||||
|
|
||||||
|
-add_executable(testfullwidth testfullwidth.cpp)
|
||||||
|
-target_link_libraries(testfullwidth Fcitx5::Core Fcitx5::Module::TestFrontend Fcitx5::Module::TestIM Pthread::Pthread)
|
||||||
|
-add_dependencies(testfullwidth fullwidth fullwidth.conf.in-fmt)
|
||||||
|
-add_test(NAME testfullwidth COMMAND testfullwidth)
|
||||||
|
+# add_executable(testfullwidth testfullwidth.cpp)
|
||||||
|
+# target_link_libraries(testfullwidth Fcitx5::Core Fcitx5::Module::TestFrontend Fcitx5::Module::TestIM Pthread::Pthread)
|
||||||
|
+# add_dependencies(testfullwidth fullwidth fullwidth.conf.in-fmt)
|
||||||
|
+# add_test(NAME testfullwidth COMMAND testfullwidth)
|
||||||
|
|
||||||
|
add_subdirectory(inputmethod)
|
||||||
|
add_executable(testchttrans testchttrans.cpp)
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue