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

Code cleanup #38

Open
jrom99 opened this issue Jan 16, 2024 · 6 comments
Open

Code cleanup #38

jrom99 opened this issue Jan 16, 2024 · 6 comments

Comments

@jrom99
Copy link

jrom99 commented Jan 16, 2024

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
Copy link
Member

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
Copy link
Member

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

@jrom99
Copy link
Author

jrom99 commented Jan 18, 2024

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
Copy link
Member

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
Copy link
Author

jrom99 commented Jan 21, 2024

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

  • apt install ibus kasumi anthy
  • apt install autoconf autopoint gettext pkg-config
  • autoupdate # to update configure.ac
  • ./autogen.sh --with-python=python3

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
Copy link
Member

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

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