www/HACKING.rst
changeset 875 ebba66b977b6
parent 851 a45ebb513160
child 878 691dafb44619
equal deleted inserted replaced
874:1355b4b6cadc 875:ebba66b977b6
    34     hgweb at home page.
    34     hgweb at home page.
    35   http://hg.code.sf.net/p/gadict/code
    35   http://hg.code.sf.net/p/gadict/code
    36     hgweb at old home page (but supported as mirror).
    36     hgweb at old home page (but supported as mirror).
    37   https://sourceforge.net/p/gadict/code/
    37   https://sourceforge.net/p/gadict/code/
    38     Sourceforge Allure interface (not primary, a mirror).
    38     Sourceforge Allure interface (not primary, a mirror).
       
    39 
       
    40 Building project
       
    41 ================
       
    42 
       
    43 ``gadict`` project provides dictionaries encoded in custom format. In order to
       
    44 precess them you need GNU Make and Python 2.7 and possibly other tools.
       
    45 
       
    46 To produce dictionaries in ``dictd`` format you need to install ``dictd``
       
    47 dictribution with ``dictfmt`` and ``dictzip`` utilities and run::
       
    48 
       
    49   $ make dict
       
    50 
       
    51 To produce Anki decks install Anki v... on Linux or get Anki sources at specific
       
    52 version (before port to Python 3)::
       
    53 
       
    54   $ git clone https://github.com/dae/anki.git
       
    55   $ git co  15b349e3^
       
    56 
       
    57 and put path to Anki project source dir inside ``Makefile.config``::
       
    58 
       
    59   ANKI_PY_DIR := $(HOME)/devel/anki
       
    60 
       
    61 Build command to make Anki deks is::
       
    62 
       
    63   $ make anki
    39 
    64 
    40 Dictionary source file format
    65 Dictionary source file format
    41 =============================
    66 =============================
    42 
    67 
    43 gadict project uses dictd C5 source file format in the past. C5 format have
    68 gadict project uses dictd C5 source file format in the past. C5 format have