aboutsummarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHaomin Kong2024-09-12 18:24:21 +0800
committerHaomin Kong2024-09-12 18:24:21 +0800
commit6510509e1a74246335d49e94a36c7e5268106a61 (patch)
tree60cca91692735404744ac0ca5b53ecbaa7905d62
parentda481212cac9c5f15dc7feca2799f8a4828abfe4 (diff)
downloadaur-6510509e1a74246335d49e94a36c7e5268106a61.tar.gz
Update .SRCINFO
-rw-r--r--.SRCINFO27
-rw-r--r--PKGBUILD15
-rw-r--r--README.md46
3 files changed, 71 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3ee154d6c2ca..bca43a64a8b2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -21,26 +21,27 @@ pkgbase = fcitx5-sogou
depends = dbus
depends = cairo
depends = curl
- noextract = cpis-base_10.0.9.0.6_amd64.deb
+ optdepends = kcm-fcitx5
+ noextract = cpis-base_10.0.9.0.6-202311280935_amd64.deb
noextract = sogou-ime-ng-cpis-dict-keyboard-chs-pcpy_10.0.1-48_all.deb
noextract = sogou-ime-ng-cpis-dict-keyboard-chs-pcwb_10.0.1-48_all.deb
noextract = sogou-ime-ng-cpis-dict-keyboard-multilingual-pcen_10.0.1-48_all.deb
noextract = sogou-ime-ng-cpis-user-default-profile_10.0.1-48_all.deb
- noextract = sogou-ime-ng-fcitx5-kylin-desktop_10.0.9.0.6-20230921003706_amd64.deb
- noextract = sogou-ime-ng_10.0.9.0.6-20230921003706_amd64.deb
- source = http://archive.build.openkylin.top/openkylin/pool/pty/c/cpis/cpis-base_10.0.9.0.6_amd64.deb
- source = http://archive.build.openkylin.top/openkylin/pool/pty/s/sogou-ime-ng-data/sogou-ime-ng-cpis-dict-keyboard-chs-pcpy_10.0.1-48_all.deb
- source = http://archive.build.openkylin.top/openkylin/pool/pty/s/sogou-ime-ng-data/sogou-ime-ng-cpis-dict-keyboard-chs-pcwb_10.0.1-48_all.deb
- source = http://archive.build.openkylin.top/openkylin/pool/pty/s/sogou-ime-ng-data/sogou-ime-ng-cpis-dict-keyboard-multilingual-pcen_10.0.1-48_all.deb
- source = http://archive.build.openkylin.top/openkylin/pool/pty/s/sogou-ime-ng-data/sogou-ime-ng-cpis-user-default-profile_10.0.1-48_all.deb
- source = http://archive.build.openkylin.top/openkylin/pool/pty/s/sogou-ime-ng/sogou-ime-ng-fcitx5-kylin-desktop_10.0.9.0.6-20230921003706_amd64.deb
- source = http://archive.build.openkylin.top/openkylin/pool/pty/s/sogou-ime-ng/sogou-ime-ng_10.0.9.0.6-20230921003706_amd64.deb
- sha256sums = 639f459cb1f5110a7f161fa4329832bc542483db895e30591726b20ea69af8b7
+ noextract = sogou-ime-ng-fcitx5-kylin-desktop_10.0.9.0.6-20231128000607_amd64.deb
+ noextract = sogou-ime-ng_10.0.9.0.6-20231128000607_amd64.deb
+ source = https://mirrors.aliyun.com/openkylin/pool/pty/c/cpis/cpis-base_10.0.9.0.6-202311280935_amd64.deb
+ source = https://mirrors.aliyun.com/openkylin/pool/pty/s/sogou-ime-ng-data/sogou-ime-ng-cpis-dict-keyboard-chs-pcpy_10.0.1-48_all.deb
+ source = https://mirrors.aliyun.com/openkylin/pool/pty/s/sogou-ime-ng-data/sogou-ime-ng-cpis-dict-keyboard-chs-pcwb_10.0.1-48_all.deb
+ source = https://mirrors.aliyun.com/openkylin/pool/pty/s/sogou-ime-ng-data/sogou-ime-ng-cpis-dict-keyboard-multilingual-pcen_10.0.1-48_all.deb
+ source = https://mirrors.aliyun.com/openkylin/pool/pty/s/sogou-ime-ng-data/sogou-ime-ng-cpis-user-default-profile_10.0.1-48_all.deb
+ source = https://mirrors.aliyun.com/openkylin/pool/pty/s/sogou-ime-ng/sogou-ime-ng-fcitx5-kylin-desktop_10.0.9.0.6-20231128000607_amd64.deb
+ source = https://mirrors.aliyun.com/openkylin/pool/pty/s/sogou-ime-ng/sogou-ime-ng_10.0.9.0.6-20231128000607_amd64.deb
+ sha256sums = 615482541d573bd5b07d119f9b5f93d741a7c5a4d89fc6cc3bd93c1b76205af5
sha256sums = 5ed618852c4ff691d1a13bc1c36d3e94a931019c93d32b321d6b150ec3d31140
sha256sums = 39e3e00ad43071122b3ef31da3b5864f1f620ddadfe056050bc75be51cea026b
sha256sums = a63571863249ce86a3ec510c07ea55a00459bc782cedfb9d6a99d9c205116ddc
sha256sums = b6d98c6ec9eebcd7c579c9e845d7de04bb7ea682adc738da67e186a4cc99233a
- sha256sums = df58e0463ad0cdd5d07193376ccfedec335ac302cad61deeaec8e4202c3273d8
- sha256sums = 43dda80262345bb25f3b0fcbd0558a49b16b521231f0a646bd0ac1096e86519b
+ sha256sums = 99fd9f7b512cc367b44f13029b282fcb2387ddb1e26f7caa1ffa1cfe5f0b5532
+ sha256sums = 9fd28578f1980ed715bcda5e7e0ae80239638e3af82f57c3d156f8d5946e6c82
pkgname = fcitx5-sogou
diff --git a/PKGBUILD b/PKGBUILD
index 5577a2df9cec..95240e46175f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,23 +16,38 @@ optdepends=("kcm-fcitx5")
mirrors="https://mirrors.aliyun.com"
source=(
"${mirrors}/openkylin/pool/pty/c/cpis/cpis-base_10.0.9.0.6-202311280935_amd64.deb"
+
"${mirrors}/openkylin/pool/pty/s/sogou-ime-ng-data/sogou-ime-ng-cpis-dict-keyboard-chs-pcpy_10.0.1-48_all.deb"
"${mirrors}/openkylin/pool/pty/s/sogou-ime-ng-data/sogou-ime-ng-cpis-dict-keyboard-chs-pcwb_10.0.1-48_all.deb"
"${mirrors}/openkylin/pool/pty/s/sogou-ime-ng-data/sogou-ime-ng-cpis-dict-keyboard-multilingual-pcen_10.0.1-48_all.deb"
"${mirrors}/openkylin/pool/pty/s/sogou-ime-ng-data/sogou-ime-ng-cpis-user-default-profile_10.0.1-48_all.deb"
+
"${mirrors}/openkylin/pool/pty/s/sogou-ime-ng/sogou-ime-ng-fcitx5-kylin-desktop_10.0.9.0.6-20231128000607_amd64.deb"
"${mirrors}/openkylin/pool/pty/s/sogou-ime-ng/sogou-ime-ng_10.0.9.0.6-20231128000607_amd64.deb"
)
noextract=("${source[@]##*/}")
sha256sums=(
'615482541d573bd5b07d119f9b5f93d741a7c5a4d89fc6cc3bd93c1b76205af5'
+
'5ed618852c4ff691d1a13bc1c36d3e94a931019c93d32b321d6b150ec3d31140'
'39e3e00ad43071122b3ef31da3b5864f1f620ddadfe056050bc75be51cea026b'
'a63571863249ce86a3ec510c07ea55a00459bc782cedfb9d6a99d9c205116ddc'
'b6d98c6ec9eebcd7c579c9e845d7de04bb7ea682adc738da67e186a4cc99233a'
+
'99fd9f7b512cc367b44f13029b282fcb2387ddb1e26f7caa1ffa1cfe5f0b5532'
'9fd28578f1980ed715bcda5e7e0ae80239638e3af82f57c3d156f8d5946e6c82'
)
+# sha256sums=(
+# 'SKIP'
+
+# 'SKIP'
+# 'SKIP'
+# 'SKIP'
+# 'SKIP'
+
+# 'SKIP'
+# 'SKIP'
+# )
prepare() {
for deb in "${noextract[@]}"; do
diff --git a/README.md b/README.md
index d94ab3b65a9d..1cf770a8eeef 100644
--- a/README.md
+++ b/README.md
@@ -2,9 +2,37 @@
Support `Wayland` and `X11`
+## About `10.0.9.0.8`
+
+OpenKylin源添加一开始添加了一部分 `10.0.9.0.8` 的包,但是也不能用。
+OpenKylin源后面索性直接删除了所有 `10.0.9.0.8` ,因此本仓库暂时回退。
+
+Deepin V23的源中有包,但是需要重新适配。
+
+## Build
+
+```bash
+makepkg -si
+```
+
+## Update `.SRCINFO`
+
+```bash
+makepkg --printsrcinfo > .SRCINFO
+```
+
+## KDE
+
+KDE可能需要额外安装 `kcm-fcitx5` ,
+这样您的设置界面才会出现 `输入法` 选项卡。
+
+```
+sudo pacman -S kcm-fcitx5
+```
+
## Wayland环境变量的设置
-编辑或创建`~/.fcitx_env.sh`文件,添加下列内容:
+编辑或创建 `/etc/fcitx_env.sh` 文件,添加下列内容:
```bash
export XMODIFIERS=@im=fcitx
@@ -14,12 +42,17 @@ export SDL_IM_MODULE=fcitx
export GLFW_IM_MODULE=fcitx
```
-最好在`~/.bashrc`和`~/.zshrc`中都添加下面的内容:
+最好在 `~/.bashrc` 和 `~/.zshrc` 中都添加下面的内容:
```bash
-source ~/.fcitx_env.sh
+source /etc/fcitx_env.sh
```
+有些发行版本这样做并不能生效,比如EndavourOS,
+您可以尝试修改 `/etc/profile` 文件。
+
+## 其他文件配置
+
```bash
vim ~/.pam_environment
```
@@ -32,7 +65,7 @@ XMODIFIERS=@im=fcitx
## 开机自启
-`vim ~/.xinitrc`
+ `vim ~/.xinitrc`
```
fcitx5 &
@@ -40,4 +73,9 @@ fcitx5 &
## Ref
+https://fcitx-im.org/wiki/Setup_Fcitx_5/zh-cn
+https://fcitx-im.org/wiki/Using_Fcitx_5_on_Wayland
+https://bbs.deepin.org/post/270209
+https://blog.p2hp.com/archives/11752
https://wszqkzqk.github.io/2024/03/09/WPS-Fcitx5/
+https://blog.csdn.net/duapple/article/details/121770444