xen0n / autojump-rs

A fast drop-in replacement of autojump written in Rust
https://github.com/xen0n/autojump-rs/releases
GNU General Public License v3.0
242 stars 14 forks source link

Arch Linux package #24

Open jonhoo opened 4 years ago

jonhoo commented 4 years ago

I was very excited to find this project, so I went ahead and made an Arch Linux package out of it: autojump-rs.

Some notes:

xen0n commented 4 years ago

Hi @jonhoo, first of all thanks for your packaging effort!

As it turns out the upstream autojump is dead since 2018, so I've just decided to absorb its remaining non-code parts into this repo. This will take some time but things like documentation can be amended. After that the autojump-rs package will block autojump because they both provide $BINDIR/autojump, but accommodating that change should be trivial.

As for the resulting executable lacking PIE and such security features, I'll look into it after reworking the CI to get us new binaries to play with. Maybe updating toolchain versions will help, maybe not, I forgot the exact details.

jonhoo commented 4 years ago

I've already set autojump-rs to conflicts=(autojump), so that should be fine.

Absorbing the non-code parts seems like a good call, though make sure you then also attribute correctly as the GPL requires!

midnightexigent commented 3 years ago

hello, looking at the installation script, the location of autocomplete.fish seems wrong:

install -d "${pkgdir}"/usr/share/fish/completions
mv "${pkgdir}"/etc/profile.d/autojump.fish "${pkgdir}"/usr/share/fish/completions

Shouldn't it be in /usr/share/fish/functions as it provides functions rather than completions ?

It being in /usr/share/fish/completions is causing a weird behavior where j jc etc. are only sourced once I type autojump THEN press twice to try and get the completions of the command

Edit: Actually putting it in /usr/share/fish/functions is no good either. It should be in /usr/share/fish/vendor_conf.d/

jonhoo commented 3 years ago

Good catch! Updated in package revision 2.