void-packages icon indicating copy to clipboard operation
void-packages copied to clipboard

New package: vosk-api-0.3.43

Open johngebbie opened this issue 3 years ago • 18 comments

Testing the changes

  • I tested the changes in this PR: briefly

New package

Local build testing

  • I built this PR locally for my native architecture, (x86_64-glibc)

Closes https://github.com/void-linux/void-packages/issues/39009

johngebbie avatar Aug 31 '22 21:08 johngebbie

That's it working with the openblas-devel package. I still need to work on the other architectures.

johngebbie avatar Sep 17 '22 13:09 johngebbie

Added do_check().

johngebbie avatar Sep 22 '22 20:09 johngebbie

I think it's ready. I've tested x86_64, i686 and aarch64-musl.

johngebbie avatar Sep 23 '22 18:09 johngebbie

Pushed a fix. I think the problem was the lack of --build and maybe why it only worked on my machine. openfst piled for i686 and x86_64.

johngebbie avatar Sep 29 '22 20:09 johngebbie

I added --host="${XBPS_TRIPLET}" for when not cross compiling. i686 is still cross compiling successfully on my machine. I also git pulled to to update my branch.

johngebbie avatar Sep 30 '22 14:09 johngebbie

Could we try the ci again? seems there was just a problem fetching a distfile.

johngebbie avatar Oct 01 '22 10:10 johngebbie

I think I should have added the .so to common/shlibs.

johngebbie avatar Oct 04 '22 19:10 johngebbie

Still a work in progress, for some reason ./xbps-src show-shlib-provides vosk-api prints nothing.

johngebbie avatar Oct 08 '22 15:10 johngebbie

The reason was objdump -p libvosk.so doesn't have SONAME so the hook ignores it, so I've added shlib_provides="libvosk.so". The package should be ready, I'll try to use it for my program and report back.

EDIT: works good!

johngebbie avatar Oct 08 '22 16:10 johngebbie

I'm going to try again to get it working with the latest version of openfst, so openfst could be packaged separately.

johngebbie avatar Oct 28 '22 09:10 johngebbie

That's it ready to merge

johngebbie avatar Oct 29 '22 14:10 johngebbie

what do you think @paper42? here's a video of me using it: https://numenvoice.com

johngebbie avatar Nov 09 '22 17:11 johngebbie

Still ready to merge. I made the vseds into patches and put links to their pull requests in the template as requested.

johngebbie avatar Dec 03 '22 18:12 johngebbie

Hold the phone, might be able to simplify and remove a patch.

johngebbie avatar Dec 03 '22 20:12 johngebbie

There we go, simplified it slightly by using --mathlib=OPENBLAS which works with lapack out of the box.

johngebbie avatar Dec 03 '22 21:12 johngebbie

I reverted back to my pull request patches as they're still an improvement.

johngebbie avatar Dec 04 '22 08:12 johngebbie

ready to merge

johngebbie avatar Dec 04 '22 10:12 johngebbie

Tested numen using this and all well

johngebbie avatar Dec 04 '22 16:12 johngebbie

Thank you! :)))))!

johngebbie avatar Dec 04 '22 16:12 johngebbie