diff --git a/build.cfg b/build.cfg index 932c0b14..732b3303 100644 --- a/build.cfg +++ b/build.cfg @@ -1,10 +1,12 @@ +## https://github.com/fcitx/fcitx5/blob/master/src/modules/spell/CMakeLists.txt#L31 # en dict en_dict = en_dict-20121020.tar.gz en_dict_sha256 = c44a5d7847925eea9e4d2d04748d442cd28dd9299a0b572ef7d91eac4f5a6ceb +## https://github.com/fcitx/libime/blob/master/data/CMakeLists.txt # lm -lm_sc = lm_sc.arpa-20241001.tar.zst -lm_sc_sha256 = 54934e73966eb38ea4fe8eae9c61dfe486af37da1cb5316a06b19c7d289e3063 +lm_sc = lm_sc.arpa-20250113.tar.zst +lm_sc_sha256 = ee83ecf20d52e8bccdba4cf6cd57183d53c257713a5eb77ee3a63d50fc3796dd # pinyin dict pinyin_dict = dict-20241001.tar.zst @@ -14,10 +16,12 @@ pinyin_dict_sha256 = d3313b88a68620a23bc8d5f9564cf1b678848dc7af541c4f5f02198e5a3 table = table-20240108.tar.gz table_sha256 = 729c596d86907de727c74d0fc3fd241c406c5debd2b4cb74eefe022387ee9dae +## https://github.com/fcitx/fcitx5-chinese-addons/blob/master/im/pinyin/chaizi.txt # extra pinyin dict chinese_addon_repo = https://raw.githubusercontent.com/fcitx/fcitx5-chinese-addons/5.1.2/im/pinyin/ chaizi_sha256 = cd659605360120f7390fda1a278eea12c4df6d763a95c8099068ab09cfafd058 +## https://github.com/fcitx/fcitx5-chinese-addons/blob/master/modules/pinyinhelper/CMakeLists.txt # py stroke py_stroke = py_stroke-20121124.tar.gz py_stroke_sha256 = 8eb128a9bfa43952e67cf2fcee1fd134c6f4cfd317bc2f6c38a615f5eb64e248 @@ -26,10 +30,12 @@ py_stroke_sha256 = 8eb128a9bfa43952e67cf2fcee1fd134c6f4cfd317bc2f6c38a615f5eb64e py_table = py_table-20121124.tar.gz py_table_sha256 = 42146ac97de6c13d55f9e99ed873915f4c66739e9c11532a34556badf9792c04 +## https://github.com/boostorg/boost/releases # boost boost_version = 1.86.0 boost_sha256 = 2c5ec5edcdff47ff55e27ed9560b0a0b94b07bd07ed9928b476150e16b0efc57 +## https://github.com/fcitx/libime-jyutping/blob/master/data/CMakeLists.txt # jyutping dict jyutping_dict = jyutping-dict-20180104.tar.xz jyutping_dict_sha256 = e3a5b13edb8efa2f764245a3232f99ba7e7670e22b8cbe666a4fffa84b35f35b diff --git a/libime b/libime index 86d1651d..d5a28230 160000 --- a/libime +++ b/libime @@ -1 +1 @@ -Subproject commit 86d1651d84d0ca81480ffd742de89526c283f3ec +Subproject commit d5a28230c4794426437f31a5b774006a41a443e1 diff --git a/librime b/librime index 0a983b4e..6f6f5401 160000 --- a/librime +++ b/librime @@ -1 +1 @@ -Subproject commit 0a983b4ea8ae69546313287c1d2651ac2e742b4c +Subproject commit 6f6f5401b0178b789a0ea6a5c49dbf1358be6f5c diff --git a/librime-lua b/librime-lua index b210d0cf..e3912a4b 160000 --- a/librime-lua +++ b/librime-lua @@ -1 +1 @@ -Subproject commit b210d0cfbd2a3cc6edd4709dd0a92c479bfca10b +Subproject commit e3912a4b3ac2c202d89face3fef3d41eb1d7fcd6 diff --git a/patches/librime.patch b/patches/librime.patch index 1ad76bf1..dc503ce1 100644 --- a/patches/librime.patch +++ b/patches/librime.patch @@ -63,7 +63,7 @@ index 2e1c8b81..94a6b500 100644 @@ -35,6 +36,7 @@ class Engine : public Messenger { void set_active_engine(Engine* engine = nullptr) { active_engine_ = engine; } - RIME_API static Engine* Create(); + RIME_DLL static Engine* Create(); + an switcher_; protected: @@ -92,14 +92,14 @@ diff --git a/src/rime_api_impl.h b/src/rime_api_impl.h index 7749ce98..b0200a67 100644 --- a/src/rime_api_impl.h +++ b/src/rime_api_impl.h -@@ -15,6 +15,8 @@ +@@ -17,6 +17,8 @@ #include #include #include +#include +#include - #include "rime_api.h" + using namespace rime; @@ -426,6 +428,13 @@ RIME_DEPRECATED void RimeSetOption(RimeSessionId session_id, if (!ctx)