Sorry for my previous mail, I sent it by an accident, I didn't finished translation.

I always had problems with installing Zim from source, so I need a good
tutorial. But I didn't find any, which contains description for
dependencies, especially for spell-checking under python 2.7. This is my
way, and it works for me.

Download only packages with UPPERCASE letters, others can install by other way!

        * ZIM DESKTOP WIKI - 0.62 - http://zim-wiki.org/downloads/
        * PYTHON - 2.7.8 x86 - https://www.python.org
* PYGTK-ALL-IN-ONE - 2.24.2 - py2.7 -http://ftp.gnome.org/pub/GNOME/binaries/win32/pygtk/2.24/
        * PIP - https://pip.pypa.io/en/latest/
        * BOXCUTTER - http://keepnote.org/boxcutter/ (Insert screenshot)
        * DITAA - http://ditaa.sourceforge.net/ (Insert Ditaa)
        * JAVA RE - http://java.com/ (Ditaa)
        * GIT - http://git-scm.com/ (Version control)
        * MERCURIAL - http://mercurial.selenic.com/ (Version control)
        * BAZAAR - http://bazaar.canonical.com/ (Version control)
        * GNU LILYPOND - http://www.lilypond.org/ (Insert score)
        * GNU PLOT - http://www.gnuplot.info/ (Insert Gnuplot)
        * GNU R - http://www.r-project.org (Insert GNU R Plot)
        * GRAPHVIZ - http://www.graphviz.org (Diagram editor, Link Map)
        * MIKTEX - http://www.miktex.org (Equation editor)
* seqdiag - https://pypi.python.org/pypi/seqdiag/ (Sequence Diagram editor) * PYGTKSPELL -http://gramps-project.org/wiki/images/f/ff/PyGTKSpell-2.25.3.win32-py2.6.zip (Spellcheck)
        * PyEnchant - http://pypi.python.org/pypi/pyenchant/ (PyGTKSpell)
* MYSPELL - https://packages.debian.org/sid/myspell-hu (Spellcheck)(optional, only for hungarian users)
        * ABIWORD - http://www.abiword.org/ (PyEnchant)
* PATHEDITOR - http://redfernplace.com/ |http://download.cnet.com/Path-Editor/3000-2094_4-10672356.html (optional, I don't like Windows built-in Path editor, unfortunately original link is dead)
        * .Net 3.5 (PathEditor)
        * ZIM TRANSLATIONS - https://translations.launchpad.net/zim/pyzim

### PyGTKSpell
1. Extract PyGTKSpell-2.25.3.win32-py2.6.zip file
2. Open PyGTKSpell-2.25.3.win32-py2.6.exe with Notepad++ or vim (with vim -b PyGTKSpell-2.25.3.win32-py2.6.exe command)
3. Edit 918. line:
So replace "target_version=2.6" to "target_version=2.7", yes it is an ugly hack, but works.
4. Save it as PyGTKSpell-2.25.3.win32-py2.7.exe

### AbiWord
1. Install Abiword
2. Copy to another folder the following dlls:
        a. C:\Program Files (x86)\AbiWord\bin\libenchant.dll
        b. C:\Program Files (x86)\AbiWord\lib\enchant\libenchant_ispell.dll
        c. C:\Program Files (x86)\AbiWord\lib\enchant\libenchant_myspell.dll

1. Install .NET 3.5 (Control Panel\Programs\Turn Windows features on or off\.NET Framework 3.5 (includes .NET 2.0 and 3.0))
2. Install Java Runtime Engine
3. Install PathEditor
4. Extract Zim Desktop Wiki to final place (e.g: C:\Program Files (x86)\Zim Desktop Wiki)
5. Install Python 2.7
        a. Check: Add python.exe to PATH or Add to PATH: C:\Python27
6. Install PyGTK and check following:
        a. PyGTK
        b. PyGObject
        c. PyCairo
        d. PyGTKSourceView2
        e. PyGooCanvas (optional)
        f. PyRsvg (optional)
        g. Glade UI Designer (optional)
        h. Language Tools (optional)
        i. GTK+ Runtime
7. Start Zim
        a. C:\Program Files (x86)\Zim Desktop Wiki\zim.py
8. Copy updated localisation files to C:\Program Files (x86)\Zim Desktop Wiki\translations
9. Build new translations
        a. setup.py build_trans
10. Install pip
        a. python get-pip.py
        b. Add PATH: C:\Python27\Scripts
11. Install seqdiag, pyenchant
        a. pip install seqdiag pyenchant
12. Copy libenchant.dll, libenchant_ispell.dll, libenchant_myspell.dll to C:\Python27\Lib\site-packages\enchant 13. Copy dictionaries to C:\Python27\Lib\site-packages\enchant\share\enchant\myspell, and rename from hu_HU_u8.aff and hu_HU_u8.dic to hu_HU.aff and hu_HU.dic (of course if you use english dictionary, it will be in this folder, and you skip this step)
14. Install PyGTKSpell (use prepared PyGTKSpell-2.25.3.win32-py2.7.exe)
15. Open C:\Python27\Lib\site-packages\gtk-2.0\gtkspell.pyd file with Notepad++ or vim, and replace "python26.dll" with "python27.dll" and save it.
16. Start Zim and check Source View plugin
17. Add to PATH: C:\Python27\Lib\site-packages\enchant\
18 Edit C:\Program Files (x86)\Zim Desktop Wiki\zim\plugins\spell.py 95 line:
        -                       ErrorDialog(self.ui, (
        +                       ErrorDialog(self.window.ui, (
        It is a bugfix, I already reported. Maybe it is fixed in next version.
19 Start Zim and check Spellcheck plugin
20. Install Boxcutter (extract to C:\Program Files (x86)\Boxcutter)
        a. Add to PATH: C:\Program Files (x86)\Boxcutter
        b. Start Zim and check Insert Screenshot plugin
21. Install Ditaa (extract to C:\Program Files (x86)\Ditaa)
a. Edit C:\Program Files (x86)\Zim Desktop Wiki\zim\plugins\ditaaeditor.py at 22. line:
        -dotcmd = ('ditaa')
        +dotcmd = ('java -jar "C:\\Program Files (x86)\\Ditaa\\ditaa0_9.jar"')
        b. Start zim and check Insert Ditaa plugin
22. Install GNU Lilypond
        a. PATH: C:\Program Files (x86)\LilyPond\usr\bin
b. Start Zim and check Score Editor plugin (it doesn't work for me, I reported it, but plugin is enable)
23. Install GNU Plot
        a. PATH: C:\Program Files (x86)\gnuplot\bin
        b. Start Zim and check Insert GnuPlot plugin
24. Install GNU R
        a. PATH: C:\Program Files\R\R-3.1.1\bin
        b. Start Zim and check GNU R Plot Editor plugin
25. Install GraphViz
        a. PATH: C:\Program Files (x86)\Graphviz2.38\bin
        b. Start Zim and check Diagram Editor and Link Map plugin
26. Install MikTex
        a. PATH: C:\Program Files (x86)\MiKTeX 2.9\miktex\bin
b. Start Zim and check Equation Editor plugin (it doesn't work for me, I reported it, but plugin is enable)
27. Install GIT (optional)
        a. PATH: C:\Program Files (x86)\Git\bin
        b. Start Zim and check Version Control plugin
28. Install Mercurial (optional)
a. PATH: C:\Program Files\Mercurial, C:\Program Files TortoiseHG (optional)
        b. Start Zim and check Version Control plugin
29. Install Bazaar (optional)
        a. PATH: C:\Program Files (x86)\Bazaar
        b. Start Zim and check Version Control plugin
30. Rename C:\Program Files (x86)\Zim Desktop Wiki\zim.py to C:\Program Files (x86)\Zim Desktop Wiki\zim.pyw 31. Create a shortcut with command: "C:\Program Files (x86)\Zim Desktop Wiki\zim.pyw" --standalone 32. Use C:\Program Files (x86)\Zim Desktop Wiki\icons\zim.ico for shortcut icon.



 mail: krisztianmu...@mukli.hu
 web: www.mukli.hu

Mailing list: https://launchpad.net/~zim-wiki
Post to     : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp

Reply via email to