zim-wiki team mailing list archive
-
zim-wiki team
-
Mailing list archive
-
Message #04593
Re: Zim release 0.68 rc 1
Hello, it is working from source if no Windows-installer yet. Maybe it
seems to bit difficult, you need some experience with environment
variables, and PATH, but it works for me.
I use the next method, for years, I always using the default install
paths and configuration, if I do not write otherwise:
* Install PYTHON 2 (https://www.python.org/ [4]), during the
installation check _Add python.exe to PATH option, _or add to python.exe
to the path manually.
* Install PYGTKALLINONE package
(http://ftp.gnome.org/pub/GNOME/binaries/win32/pygtk/2.24/pygtk-all-in-one-2.24.2.win32-py2.7.msi
[5]). Optional modules maybe unnecessary, but I used to install it.
* Upgrade pip (last Python 2 have it default), so use the next command
in a Terminal: python -m pip install --upgrade pip
* Install PYPIWIN32 dependencies with pip, use the next command in
Terminal: pip install pypiwin32
* Download and extract ZIM (http://zim-wiki.org/downloads/ [6]). I
always extracting to C:\Program Files (x86)\Zim Desktop Wiki\ folder.
* If you need up-to-date LOCALIZATION, you can download it from
Launchpad (https://translations.launchpad.net/zim/pyzim [7]), it depends
on how often updating localization that you use. Extract them to
translation folder of Zim, and run the following command in Zim
directory: python setup.py build_trans
* Add a new environment variable, called LANG, and set to language tag
which you want to use (_hu_HU_ for hungarian, _en_GB_ or _en_US_ to
english, and so on...).
* Running zim.py from Zim directory, in my case I use next command:
C:\Python27\pythonw.exe "C:\Program Files (x86)\Zim Desktop Wiki\zim.py"
--standalone If it is running, yu can create them to a shortcut just
right-click to desktop, choose New\Shortcut and add the used command to
the pop-up window.
* If you want to use plugins you need installing following softwares,
and add them to the PATH:
* BOXCUTTER - http://keepnote.org/boxcutter/ [8] (Add to path:
_C:\Program Files (x86)\Boxcutter_) (Insert Screenshot plugin)
* GNU LILYPOND - http://www.lilypond.org/ [9] (Add to path:_
C:\Program Files (x86)\LilyPond\usr\bin_) (Insert Score plugin)
* GNU PLOT - http://www.gnuplot.info/ [10] (Add to path: C:\Program
Files\gnuplot\bin) (Insert Gnuplot plugin)
* GNU R - http://www.r-project.org [11] (Add to path:_ C:\Program
Files\R\R-3.1.1\bin_) (Insert GNU R Plot plugin)
* GRAPHVIZ - http://www.graphviz.org [12] (Add to path:_ C:\Program
Files (x86)\Graphviz2.38\bin_) (Insert Diagram plugin)
* MIKTEX - http://www.miktex.org [13] (Add to path:_ C:\Program
Files\MiKTeX 2.9\miktex\bin_) (Insert Equation plugin)
* GIT - http://git-scm.com/ [14] (Add to path:_ C:\Program
Files\Git\bin_) (Version Control plugin - optional install only if you
use)
* MERCURIAL - https://www.mercurial-scm.org/ [15] (Add to path:_
C:\Program Files\Mercurial _and C:\Program Files\TortoiseHG) (Version
Control plugin - optional install only if you use)
* BAZAAR - http://bazaar.canonical.com/ [16] (Add to path:_ C:\Program
Files (x86)\Bazaar_) (Version Control plugin - optional install only if
you use)
* FOSSIL -
https://www.fossil-scm.org/index.html/doc/trunk/www/index.wiki [17] (Add
to path:_ C:\Program Files (x86)\Fossil_) (Version Control plugin -
optional install only if you use)
* For Insert Sequence Diagram plugin, you need SEQDIAG python library,
you can install it using pip: pip install seqdiag
* Spellchecker plugin is a bit tricky. It need PYGTKSPELL library but
it compiled only for old Python versions and LIBENCHANT library which I
didn't find easily. Follow this steps:
* Install pyenchant using pip: pip install pyenchant
* Download PyGTKSpell
(http://gramps-project.org/wiki/images/f/ff/PyGTKSpell-2.25.3.win32-py2.6.zip
[18]) and extract it.
* Open the extracted PyGTKSpell-2.25.3.win32-py2.6.exe file in a text
editor (I'm using Notepad++), yes it is a binary file and we will edit
it.
* Using Search&Replace function and replacing "target_version=2.6"
with "target_version=2.7" (line 918)
* Save the file with the following name:
PyGTKSpell-2.25.3.win32-py2.7.exe
* Download and install Abiword
(https://portableapps.com/apps/office/abiword_portable [19]), portable
version is enough, definitely we don't need Abiword, and unfortunately
there are no windows builds for Abiword 3+.
* Copy AbiWordPortable\App\AbiWord\bin\libenchant.dll to
C:\Python27\Lib\site-packages\enchant folder.
* Copy
D:\kmukli\Downloads\AbiWordPortable\App\AbiWord\lib\enchant\libenchant_ispell.dll
and libenchant_myspell.dll to C:\Python27\Lib\site-packages\enchant
folder
* Spellchecking need dictionaries, I'm using myspell dictionaries from
Debian repositories but you can get other dictionaries from other sites
or repos. (I'm using https://packages.debian.org/stable/myspell-hu
[20]). Extract to
C:\Python27\Lib\site-packages\enchant\share\enchant\myspell folder and
rename hu_HU_u8.aff to hu_HU.aff and hu_HU_u8.dic to hu_HU.dic
* Run PyGTKSpell-2.25.3.win32-py2.7.exe and install PyGTKSpell.
* Open C:\Python27\Lib\site-packages\gtk-2.0\gtkspell.pyd file in a
text editor (Notepad++), using Search&Replace function replace
"python26.dll" to "python27.dll". Save the file.
* Add to PATH: C:\Python27\Lib\site-packages\enchant\
* Select SpellChecker plugin in Zim (it should be selectable yet),
click to Configure and add the language code to the plugin.
Maybe it is a difficult way, but it works for me, and it must be doing
once, if Jaap release a new version of Zim, I replacing my Zim folder
only.
---
MUKLI KRISZTIÁN
_tel: +3630 347 4636_
_mail: krisztianmukli@mukli.hu_
_web: www.mukli.hu [21]_
18.01.2018 02:50 időpontban rapide.aston.martin@xxxxxxxxx ezt írta:
> is there any other possibility to get 0.68 working on a windows machine?
>
> 2018-01-09 20:03 GMT+01:00 Jaap Karssenberg <jaap.karssenberg@xxxxxxxxx>:
>
>> Dear all,
>>
>> Last night I published zim version 0.68 release candidate 1. This is mostly a bug fix release due to two critical bugs while I work on the Gtk3 port in the background. Sorry if your favorite patch is not in, but I want to limit the work of merging back into that port later on. And many thanks to the various contributors.
>>
>> You can get the release on github, via the launchpad PPA or via the website.
>>
>> If you want to update translations before the final release, please do so here: https://translations.launchpad.net/zim [1]
>>
>> Regards,
>>
>> Jaap
>>
>> Changes:
>> =======
>>
>> * Critical fix for updating links on move page and rename page
>> * Critical fix for rename page and indexing on case-insensitive file systems (like windows)
>> * Fix for regression in tasklist option to _not_ regard all checkboxes as tasks -- Fabian Stanke
>> * Fix for regression in index navigation with previous page and next page
>> * Fix for memory leak in spell checker plugin -- Alexander Meshcheryakov
>> * Fix issues with multi-line selections in linesorter plugin
>> * Fix bug with opening notebook list from tray icon
>> * Fix bug with "-s" commandline argument for exporting
>> * Fix bug with importing attachments in quicknote plugin commandline use
>> * Pathbar now reveals more path elements in case of ambiguous pages -- Robert Hailey
>> * Add "font" property for use in "styles.conf"
>> * Add "navigation.home" to template parser for export -- Rolf Kleef
>> * Version control plugin updated to better handle git staging -- Paul Becker
>> * Extend interface for "image generator" plugins - Robert Hailey
>> * Code cleaned up to be a bit PEP8 compliant and more future proof for python3 conversion -- Christian Stadelmann
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~zim-wiki [2]
>> Post to : zim-wiki@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~zim-wiki [2]
>> More help : https://help.launchpad.net/ListHelp [3]
>
> _______________________________________________
> Mailing list: https://launchpad.net/~zim-wiki [2]
> Post to : zim-wiki@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~zim-wiki [2]
> More help : https://help.launchpad.net/ListHelp [3]
Links:
------
[1] https://translations.launchpad.net/zim
[2] https://launchpad.net/~zim-wiki
[3] https://help.launchpad.net/ListHelp
[4] https://www.python.org/
[5]
http://ftp.gnome.org/pub/GNOME/binaries/win32/pygtk/2.24/pygtk-all-in-one-2.24.2.win32-py2.7.msi
[6] http://zim-wiki.org/downloads/
[7] https://translations.launchpad.net/zim/pyzim
[8] http://keepnote.org/boxcutter/
[9] http://www.lilypond.org/
[10] http://www.gnuplot.info/
[11] http://www.r-project.org
[12] http://www.graphviz.org
[13] http://www.miktex.org
[14] http://git-scm.com/
[15] https://www.mercurial-scm.org/
[16] http://bazaar.canonical.com/
[17] https://www.fossil-scm.org/index.html/doc/trunk/www/index.wiki
[18]
http://gramps-project.org/wiki/images/f/ff/PyGTKSpell-2.25.3.win32-py2.6.zip
[19] https://portableapps.com/apps/office/abiword_portable
[20] https://packages.debian.org/stable/myspell-hu
[21] http://www.mukli.hu
Follow ups
References