← Back to team overview

zim-wiki team mailing list archive

Re: Zim release 0.68 rc 1

 

Thx for the instructions, but since I'm on an restricted machine (no
administration rights), I'm asking if this instructions also work out on a
locked down machine (no installers allowed, no admin rights possible).

Thanks,

Gregor

2018-01-18 10:47 GMT+01:00 Mukli Krisztián <krisztianmukli@xxxxxxxx>:

> 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:
>
>    1. Install *Python 2* (https://www.python.org/), during the
>    installation check *Add python.exe to PATH option, *or add to
>    python.exe to the path manually.
> 2. 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
>    <http://ftp.gnome.org/pub/GNOME/binaries/win32/pygtk/2.24/pygtk-all-in-one-2.24.2.win32-py2.7.msi>).
>    Optional modules maybe unnecessary, but I used to install it.
>    3. Upgrade pip (last Python 2 have it default), so use the next
>    command in a Terminal: python -m pip install --upgrade pip
>    4. Install *pypiwin32* dependencies with pip, use the next command in
>    Terminal: pip install pypiwin32
>    5. Download and extract *Zim* (http://zim-wiki.org/downloads/). I
>    always extracting to C:\Program Files (x86)\Zim Desktop Wiki\ folder.
>    6. If you need up-to-date *localization*, you can download it from
>    Launchpad (https://translations.launchpad.net/zim/pyzim), 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
>    7. 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...).
>    8. 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.
>    9. If you want to use plugins you need installing following softwares,
>    and add them to the PATH:
>       1. *Boxcutter *- http://keepnote.org/boxcutter/ (Add to path: *C:\Program
>       Files (x86)\Boxcutter*) (Insert Screenshot plugin)
>       2. *GNU Lilypond* - http://www.lilypond.org/ (Add to path:*
>       C:\Program Files (x86)\LilyPond\usr\bin*) (Insert Score plugin)
>       3. *GNU Plot* - http://www.gnuplot.info/ (Add to path: C:\Program
>       Files\gnuplot\bin) (Insert Gnuplot plugin)
>       4. *GNU R* - http://www.r-project.org (Add to path:* C:\Program
>       Files\R\R-3.1.1\bin*) (Insert GNU R Plot plugin)
>       5. *GraphViz* - http://www.graphviz.org (Add to path:* C:\Program
>       Files (x86)\Graphviz2.38\bin*) (Insert Diagram plugin)
>       6. *MikTex* - http://www.miktex.org (Add to path:* C:\Program
>       Files\MiKTeX 2.9\miktex\bin*) (Insert Equation plugin)
>       7. *Git* - http://git-scm.com/ (Add to path:* C:\Program
>       Files\Git\bin*) (Version Control plugin - optional install only if
>       you use)
>       8. *Mercurial* - https://www.mercurial-scm.org/ (Add to path:*
>       C:\Program Files\Mercurial *and C:\Program Files\TortoiseHG)
>       (Version Control plugin - optional install only if you use)
>       9. *Bazaar* - http://bazaar.canonical.com/ (Add to path:*
>       C:\Program Files (x86)\Bazaar*) (Version Control plugin - optional
>       install only if you use)
>       10. *Fossil* - https://www.fossil-scm.org/index.html/doc/trunk/www/
>       index.wiki (Add to path:* C:\Program Files (x86)\Fossil*) (Version
>       Control plugin - optional install only if you use)
>    10. For Insert Sequence Diagram plugin, you need *seqdiag* python
>    library, you can install it using pip: pip install seqdiag
>    11. 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:
>       1. Install pyenchant using pip: pip install pyenchant
>       2. Download PyGTKSpell (http://gramps-project.org/
>       wiki/images/f/ff/PyGTKSpell-2.25.3.win32-py2.6.zip
>       <http://gramps-project.org/wiki/images/f/ff/PyGTKSpell-2.25.3.win32-py2.6.zip>)
>       and extract it.
>       3. 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.
>       4. Using Search&Replace function and replacing "target_version=2.6"
>       with "target_version=2.7" (line 918)
>       5. Save the file with the following name:
>       PyGTKSpell-2.25.3.win32-py2.7.exe
>       6. Download and install Abiword (https://portableapps.com/
>       apps/office/abiword_portable), portable version is enough,
>       definitely we don't need Abiword, and unfortunately there are no windows
>       builds for Abiword 3+.
>       7. Copy AbiWordPortable\App\AbiWord\bin\libenchant.dll to
>       C:\Python27\Lib\site-packages\enchant folder.
>       8. Copy D:\kmukli\Downloads\AbiWordPortable\App\AbiWord\
>       lib\enchant\libenchant_ispell.dll and libenchant_myspell.dll to
>       C:\Python27\Lib\site-packages\enchant folder
>       9. 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). 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
>       10. Run PyGTKSpell-2.25.3.win32-py2.7.exe and install PyGTKSpell.
>       11. 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.
>       12. Add to PATH: C:\Python27\Lib\site-packages\enchant\
>       13. 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 <+36%2030%20347%204636>*
> *mail: krisztianmukli@xxxxxxxx <krisztianmukli@xxxxxxxx>*
> *web: www.mukli.hu <http://www.mukli.hu>*
>
>
>
> 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
>>
>> 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
>> Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~zim-wiki
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
> _______________________________________________
> Mailing list: https://launchpad.net/~zim-wiki
> Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~zim-wiki
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References