Package Details: kana 1.2-2

Git Clone URL: https://aur.archlinux.org/kana.git (read-only, click to copy)
Package Base: kana
Description: Learn Japanese characters
Upstream URL: https://gitlab.gnome.org/fkinoshita/kana
Licenses: GPL3
Submitter: muflone
Maintainer: muflone
Last Packager: muflone
Votes: 1
Popularity: 0.166598
First Submitted: 2023-11-13 23:32 (UTC)
Last Updated: 2023-11-17 01:37 (UTC)

Latest Comments

muflone commented on 2023-11-18 16:32 (UTC)

the exports are available also in build, so they are used also in build.

however it's better to move them in build, in the case someone wanted to build with makepkg -e

begin-theadventu commented on 2023-11-17 19:24 (UTC)

Lines 17 and 18 are only in prepare, so they do not affect build.

The current command in prepare seems to do nothing, because Directory . does not seem to have subprojects.

muflone commented on 2023-11-17 01:38 (UTC)

I've included your changes, it works fine in chroot where pacman decides to install rust when downloading a cargo package.

please let me know if it works also with rustup

begin-theadventu commented on 2023-11-17 00:14 (UTC)

  1. The rust package takes much more space compared to rustup.

  2. Both rust and rustup provide cargo.

  3. There are no issues with building this application using rustup.

  4. I have linked my proposed changes in the first comment. I can create a changelog if you would like me to.

  5. If you have more questions or concerns, perhaps you could ask yochananmarqos or see his PKGBUILDs, as he is (in my opinion) really knowledgeable on the subject.

muflone commented on 2023-11-16 23:58 (UTC)

@begin-theadventu sorry I don't get what you mean.

the package lists explicitly rust. it builds fine if you use rust/rustc. I cannot express if it will also work using cargo with rustup.

what is the change you propose? Why should the meson/rust dependency be changed in favor of cargo?

begin-theadventu commented on 2023-11-16 22:24 (UTC) (edited on 2023-11-16 22:26 (UTC) by begin-theadventu)

I have rustup installed, which is sufficient. Instead of the rust dependency, cargo should be used.

Another PKGBUILD example. Edit, link.

muflone commented on 2023-11-16 21:23 (UTC)

@begin-theadventu

rustc is included in the rust package which is make dependency, if you have not rustc then you have not rust installed or your paths are not properly set.

The package was tested in clean chroot and it builds and installs fine with no errors

begin-theadventu commented on 2023-11-15 01:43 (UTC) (edited on 2023-11-16 22:26 (UTC) by begin-theadventu)

Uh, I wanted to package this project, but unfortunately I was late. Well.. Currently this fails to build Unknown compiler(s): [['rustc']]. Here's my improved PKGBUILD. Edit, link.