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
New package: x-unikey-1.0.4 #32405
New package: x-unikey-1.0.4 #32405
Conversation
The patches follow what FreeBSD maintainer did to compile the package in FreeBSD. Here is the link to this package on FreeBSD: https://cgit.freebsd.org/ports/tree/vietnamese/x-unikey I currently use it on my x86_64-glibc laptop 😃 |
srcpkgs/x-unikey/template
Outdated
distfiles="${SOURCEFORGE_SITE}/unikey/${pkgname}-${version}.tar.bz2" | ||
checksum=aa7dd444853538bcba0f24c4c19692c34d4553a1df213a260c2628a7116b2dd9 | ||
|
||
CFLAGS+="-g -O2 -Wno-narrowing" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-g -O2
is set by xbps-src
, I'll add a patch for musl, too.
srcpkgs/x-unikey/template
Outdated
makedepends="libX11-devel" | ||
short_desc="Vietnamese input method for X" | ||
maintainer="Linh Nguyễn <linhvng.2212@gmail.com>" | ||
license="GPL-2.0-only" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most of them are GPL-2.0-or-later
, some files are licensed under MIT
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry, it's my first time adding a package and tracking down the license 😅 thought it was GPL2 because of the COPYING file... what license should i change it to?
|
I've fixed the build for musl libc, however, it's hung when typing. Anyway, just out of curiosity, have you tried another input framework? |
I have tried fcitx but it puts my CPU to 100% for some reasons; I was using fluxbox and the tray icon for fcitx keeps flashing in the toolbar, which makes me suspect fluxbox might be trying to update/refresh the toolbar along with fcitx tray icon too much, thus pushing the CPU usage... Your reason is totally understandable, it is a niche tool after all and the fact that it's broken on musl doesn't help either 😅 I'm totally happy with keeping it in my forked repo and I'll try to bother you again when I get it to work on musl once I get my hand on more hardware 😆 It's been a pleasant working with you 🤗 |
Hm, weird, I've installed fluxbox to try, and fcitx's resource consumption is pretty normal for me. In my experience,
|
I didn't know about |
General
Have the results of the proposed changes been tested?