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

Add the packaging metadata to build the tesseract snap #700

Merged
merged 1 commit into from
Mar 10, 2017

Conversation

come-maiz
Copy link

This is a package for the secure installation of apps that works in most Linux distributions.
Landing it upstream will enable builds that then can be distributed to many users through the Ubuntu store.

@come-maiz
Copy link
Author

You can find more information about snapcraft here: http://snapcraft.io/

To test it in an Ubuntu 16.04 machine:

$ sudo apt install git snapcraft
$ git clone https://github.com/elopio/tesseract
$ cd tesseract
$ git checkout snapcraft
$ snapcraft
$ sudo snap install *.snap --dangerous

(dangerous because the snap you build yourself doesn't come signed from the trusted store. Once you push it to the store, your users will just have to do $ sudo snap install tesseract)

The tessdata has to be stored in ~/snap/tesseract/common/.

If you have any questions or comments, please let me know.

@zdenop zdenop merged commit 31486f7 into tesseract-ocr:master Mar 10, 2017
@come-maiz come-maiz deleted the snapcraft branch March 10, 2017 14:12
@come-maiz
Copy link
Author

thanks for the merge @zdenop!

With a few commands you can make your first release to the store, and then maybe you could be interested in automating releases after the travis tests pass: https://snapcraft.io/docs/build-snaps/publish

Any feedback will be appreciated.

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

Successfully merging this pull request may close these issues.

2 participants