Giter VIP home page Giter VIP logo

prevo's Introduction

PReVo

PReVo is an android application containing a portable version of the Reta Vortaro which is an open source dictionary for Esperanto. It contains all of the dictionary data in the package so the application does not need to access the internet.

The official website for the program is here:

http://www.busydoingnothing.co.uk/prevo/

It is also available in the Google play store here:

https://play.google.com/store/apps/details?id=uk.co.busydoingnothing.prevo

Building

This git repo does not include the assets containing the dictionary data. These must be separately built from the dictionary's XML data using a program called prevodb, which is available here:

https://github.com/bpeel/prevodb/

The dictionary data is available from the website for the Reta Vortaro here:

http://reta-vortaro.de/tgz/index.html

You should download the latest ‘fontodosiero’ which just has the XML files without the pictures. You can also download the ‘sanĝitaj dosieroj’ and extract that on top of the XML sources to get the latest updates. Alternatively you can you use my git clone of the data which contains the exact data I use to make releases:

https://github.com/bpeel/revo

You can build prevodb with the usual automake commands:

./autogen.sh
make -j4

Note that it will need the developer packages for expat and glib in order to build.

Now assuming you have the source for ReVo in $HOME/revo, prevodb in $HOME/prevodb and PReVo in $HOME/prevo, you can use the following command to build the database and put it in the right location to build the application:

$HOME/prevodb/src/prevodb -i $HOME/revo -o $HOME/prevo/app/src/main

You will likely see some warnings about inconsistencies in the XML sources. It is safe to ignore these.

Assuming you have the Android SDK installed correctly, you can build the app either with Android Studio or the command line as follows.

Debug mode:

cd $HOME/prevo
./gradlew assembleDebug

Release mode:

cd $HOME/prevo
./gradlew assembleRelease

You should then have the final package in either app/build/outputs/apk/debug/ or app/build/outputs/apk/release/ depending on the build type.

Building a specific release

The releases are all tagged and signed in the git repo using the following public key:

http://www.busydoingnothing.co.uk/neilroberts.asc

The message for each tag contains the git hashes used for the ReVo sources and the prevodb program. This information can be used to build a copy of a release using exactly the same data. You can see this information for example with:

git show 0.12

prevo's People

Contributors

bpeel avatar spagy avatar robinvandervliet avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.