-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New package: fcitx5-lotus-3.5.0 #61742
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
Open
0353618151hao-png
wants to merge
1
commit into
void-linux:master
Choose a base branch
from
0353618151hao-png:fcitx5-lotus
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+76
−0
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| fcitx5-lotus |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| --- a/misc/99-lotus.rules 2026-08-11 12:33:06.082306200 +0700 | ||
| +++ b/misc/99-lotus.rules 2026-08-11 12:33:19.216168487 +0700 | ||
| @@ -1,3 +1,3 @@ | ||
| KERNEL=="uinput", SUBSYSTEM=="misc", OPTIONS+="static_node=uinput", MODE="0660", GROUP="input" | ||
| -ACTION=="add|change", KERNEL=="uinput", SUBSYSTEM=="misc", RUN+="/usr/bin/setfacl -m u:uinput_proxy:rw /dev/uinput" | ||
| +ACTION=="add|change", KERNEL=="uinput", SUBSYSTEM=="misc", RUN+="/usr/bin/setfacl -m u:_uinput_proxy:rw /dev/uinput" | ||
| SUBSYSTEM=="input", MODE="0660", GROUP="input" | ||
| \ No newline at end of file | ||
| --- a/misc/fcitx5-lotus.runit 2026-08-11 12:33:12.728236517 +0700 | ||
| +++ b/misc/fcitx5-lotus.runit 2026-08-11 12:33:19.216168487 +0700 | ||
| @@ -13,10 +13,10 @@ | ||
| exit 1 | ||
| fi | ||
|
|
||
| -setfacl -m u:uinput_proxy:rw /dev/uinput | ||
| +setfacl -m u:_uinput_proxy:rw /dev/uinput | ||
|
|
||
| exec setpriv \ | ||
| - --reuid=uinput_proxy \ | ||
| + --reuid=_uinput_proxy \ | ||
| --regid=input \ | ||
| --init-groups \ | ||
| --bounding-set -all,+sys_nice,+sys_ptrace \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| # Template file for 'fcitx5-lotus' | ||
| pkgname=fcitx5-lotus | ||
| version=3.5.0 | ||
| revision=1 | ||
| _bamboo_commit="9197d2cc164380a80d219f12cc90576ff2fbf5e6" | ||
| build_style=cmake | ||
| hostmakedepends="extra-cmake-modules pkg-config gettext go python3" | ||
| makedepends="libfcitx5-devel libinput-devel eudev-libudev-devel acl-devel libX11-devel" | ||
| depends="fcitx5 acl acl-progs" | ||
| short_desc="Vietnamese input method for fcitx5" | ||
| maintainer="Leanhduc <0353618151hao@gmail.com>" | ||
| license="GPL-3.0-or-later" | ||
| homepage="https://github.com/LotusInputMethod/fcitx5-lotus" | ||
| distfiles="https://github.com/LotusInputMethod/fcitx5-lotus/archive/refs/tags/v${version}.tar.gz>fcitx5-lotus-${version}.tar.gz | ||
| https://github.com/LotusInputMethod/bamboo-core/archive/${_bamboo_commit}.tar.gz>bamboo-core-${_bamboo_commit}.tar.gz" | ||
| checksum="213adffbd172b5e12fddbafa324d0894252512ca102f01a65b334ebf156ba4ea aa446dcebcda95feb384bf3caa98418dd553d54f138f25cad716472c387a1d90" | ||
| skip_extraction="bamboo-core-${_bamboo_commit}.tar.gz" | ||
|
|
||
| system_accounts="_uinput_proxy" | ||
| _uinput_proxy_groups="input" | ||
|
|
||
| post_extract() { | ||
| mkdir -p bamboo/bamboo-core | ||
| vsrcextract -C bamboo/bamboo-core "bamboo-core-${_bamboo_commit}.tar.gz" | ||
| } | ||
|
|
||
| pre_build() { | ||
| export CGO_ENABLED=1 | ||
| if [ "$CROSS_BUILD" ]; then | ||
| case "$XBPS_TARGET_MACHINE" in | ||
| aarch64*) export GOARCH=arm64 ;; | ||
| armv6l*) export GOARCH=arm; export GOARM=6 ;; | ||
| armv7l*) export GOARCH=arm; export GOARM=7 ;; | ||
| i686*) export GOARCH=386 ;; | ||
| x86_64*) export GOARCH=amd64 ;; | ||
| esac | ||
| fi | ||
| } | ||
|
|
||
| post_install() { | ||
| vinstall misc/${pkgname}.runit 644 usr/share/examples/${pkgname} ${pkgname}.runit | ||
| } | ||
|
|
||
| fcitx5-lotus-settings_package() { | ||
| short_desc+=" - GUI settings" | ||
| depends="python3 python3-QtPy python3-pyqt6 python3-dbus python3-pyqt6-widgets python3-pyqt6-gui qt6-wayland" | ||
| pkg_install() { | ||
| vmove usr/bin/fcitx5-lotus-settings | ||
| vmove usr/share/fcitx5-lotus/settings-gui | ||
| vmove usr/share/applications/org.fcitx.Fcitx5.Addon.Lotus.Settings.desktop | ||
| } | ||
| } | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.