ibus / ibus-anthy

The anthy engine for IBus (github.com/fujiwarat/ibus-anthy:master is a devel repo)
http://wiki.github.com/fujiwarat/ibus-anthy
GNU General Public License v2.0
24 stars 7 forks source link

Code cleanup #38

Open jrom99 opened 9 months ago

jrom99 commented 9 months ago

Shouldn't the debian directory be removed since it's out of sync with the downstream one? If possible, I want to help porting ibus-anthy to GTK4 and dropping support for Python2 as its EOL.

System information

System information: GNOME 45 (Wayland) on Ubuntu 23.10

IBus version: 1.5.29-rc1

ibus-anthy version: 1.5.15

fujiwarat commented 9 months ago

I'm fine with your suggestions. I hardly get time to implement the suggestions for a while but I can reviews the pull requests.

fujiwarat commented 9 months ago

https://devcenter.heroku.com/articles/python-2-7-eol-faq Actually Python2 means EOSL but I'm fine with the issue subject.

jrom99 commented 9 months ago

Thanks for the reply, I'd like to ask it its better to clone this repository or the other one (https://github.com/fujiwarat/ibus-anthy)?

fujiwarat commented 9 months ago

Right. the development tree is fujiwarat/ibus-anthy and you could create a pull request for it but issues are filed in ibus/ibus-anthy as fujiwarat/ibus-anthy will be merged to ibus/ibus-anthy at the new release.

jrom99 commented 8 months ago

Hello, I'm having trouble building the program, on an Ubuntu 23.10 virtual machine, I did the following:

But the building is failing with:

configure: error: Package requirements (anthy) were not met:

Package 'anthy', required by 'virtual:world', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables ANTHY_CFLAGS
and ANTHY_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

The output of apt show anthy is:

apt show anthy
Package: anthy
Version: 1:0.4-2
Priority: optional
Section: universe/utils
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian Input Method Team <debian-input-method@lists.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 75.8 kB
Depends: anthy-common, libanthy1 (= 1:0.4-2), libanthyinput0, libc6 (>= 2.15)
Conflicts: anthy-common (<< 1:0.3-1)
Homepage: https://wiki.debian.org/Teams/DebianAnthy
Download-Size: 15.7 kB
APT-Manual-Installed: yes
APT-Sources: http://br.archive.ubuntu.com/ubuntu mantic/universe amd64 Packages
Description: Japanese kana-kanji conversion - utilities
 Anthy is kana-kanji conversion engine for Japanese.  It converts
 hiragana text to mixed kana and kanji.  It is implemented as a library
 and stores private information in ~/.anthy/.

autogen stdout.txt

fujiwarat commented 8 months ago

The devel repo has the CI for Ubuntu Jammy. https://github.com/fujiwarat/ibus-anthy/blob/main/.github/workflows/main.yml#L83