Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

termux构建失败 #8

Open
JuanZoran opened this issue Apr 19, 2023 · 10 comments
Open

termux构建失败 #8

JuanZoran opened this issue Apr 19, 2023 · 10 comments

Comments

@JuanZoran
Copy link

librime-1.8.5
Screenshot_2023-04-19-11-08-34-555_com termux

wlh320 added a commit that referenced this issue Apr 19, 2023
@wlh320
Copy link
Owner

wlh320 commented Apr 19, 2023

看起来是因为 Rust 在不同的平台下对 c_char 的定义不一样,我尝试修一下试试。
不过我手里没有 linux-aarch64 的设备,没法验证修得对不对,你可以试试最新的 commit

@JuanZoran
Copy link
Author

构建成功了, 但是貌似termux安装的librime没有/usr/share/rime-data

@wlh320
Copy link
Owner

wlh320 commented Apr 19, 2023

我不太清楚 termux 的打包方式,有可能在别的包里,比如 arch 里是 librime-data,一般会作为 librime 的依赖项

@JuanZoran
Copy link
Author

我去termux-package提个issue看看好了, 感谢

@wlh320
Copy link
Owner

wlh320 commented Apr 20, 2023

突然想到 rime-data 的内容应该是平台无关的,把其他 linux 下打的包解包到这个位置应该也能用,只是不太方便

@JuanZoran
Copy link
Author

已经给官方提issue了, 干脆等官方打包好了, 目前就是Termux无法输入中文有点难受

@JuanZoran
Copy link
Author

Termux-package 已经添加了librime-data的包, 貌似仍然存在问题
Screenshot_2023-04-23-00-09-33-763_com termux

@wlh320
Copy link
Owner

wlh320 commented Apr 23, 2023

看起来只打包了 rime-prelude 这个基础的配置,rime 默认提供的一些输入方案没有包括进去?感觉那些输入方案不打包也行,只要把自己需要用的方案放在 user_data_dir 里面就可以了。我比较推荐 rime-ice 这个,最近比较火,质量也不错,相比 rime 默认的方案来说,个人基本不再需要太多折腾了。

@JuanZoran
Copy link
Author

感谢, 我去试试

@wlh320
Copy link
Owner

wlh320 commented May 17, 2024

有进展吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants