Conversation
|
Putting this here first as a draft, I haven't tested it at all. Will update the descriptions after I've done testing. |
|
Shell completions can be added with something like this in post_install for _shell in bash fish zsh; do
vtargetrun ${DESTDIR}/usr/bin/fj completion ${_shell} > forgejo-cli.${_shell}
vcompletion forgejo-cli.${_shell} ${_shell} fj
done |
98f7e57 to
194bcaf
Compare
|
Done. Thanks, @hosaka. |
|
You can workaround the cross build issues with something like this: |
|
@Duncaen The cross-build still fails for armv6l, armv7l, and aarch64. The linker can't resolve libgit2, libssh2, libssl, and libcrypto for the cross target. It finds the sysroot libraries but rejects them as incompatible. The Should I restrict the build to x64 and i686 instead? Does that seem reasonable, or is there a better approach for the C dependencies? |
|
Looks like the target is x86_64, so it's building it for the host (for some reason, maybe it's executed during the build) which means you have to add those libraries to |
|
Done :) Thanks |
Testing the changes
New package
Local build testing