Changes

Jump to: navigation, search

Gramps for Windows with MSYS2

403 bytes added, 05:11, 29 March 2022
m
Install Gramps dependencies
How to use MSYS2 to run latest Gramps development version from source in 64bit Windows.
In similar way you can build the 32bit version([https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported 2020-05-17 - 32-bit MSYS2 no longer actively supported])
==Install MSYS2==
{{man note|Installation restrictions|MSYS2 can't be installed on [https://en.wikipedia.org/wiki/File_Allocation_Table FAT* formatted disk partitions].<br>Current MSYS2 can't be installed on Windows XP anymore.}}
From the MSYS2 home page httphttps://www.msys2.org / download the latest MSYS2 64bit installer( msys2-x86_64-YYYYMMDD.exe ) from [httphttps://repo.msys2.org/distrib/x86_64/ https:// repo.msys2.org/distrib/x86_64/] and run it.
Install it in short path like <code>C:\msys64</code>
The Genealogical Symbols preferences tab needs Python Fontconfig version 0.5 so we need to build it.
From a suitble suitable build directory (I use ~/build)
<pre>
git clone git://github.com/Vayn/python-fontconfig.git
===graphviz===
 As of 2019.09.17 package mingw-w64-osm-gps-map is available so all you have to do is: <pre>pacman -S mingw-w64-x86_64-graphviz</pre> Previously Graphviz is was in MSYS2 MINGW-packages git repository but is was not build-able at this moment that time (2017-03-26) so it is not available via pacman.
We build latest version from Graphviz git repository by manually patching code in process so we can't yet provide PKGBUILD
* Easy way
* Hard way (TODO)
====pygraphviz====
Needed for NetworkChart report (3rd Third-party pluginaddon)
* Easy way:
<pre>
{{man warn|Warning it is not advised for users to mix various libraries like the following it is a direct way to dll hell.|This way Gramps will use graphviz libs instead of MSYS2 ones and they are older and in much way incompatible with rest of Gramps dependencies.<br> until Graphviz becomes available from MSYS2 directly this is an alternate method.}}
<i>Download the current GraphViz ZIP archive from httphttps://www.graphviz.org/download/ and extract it to C:\graphviz, so that it directly contains the directories bin, lib, share and so on.</i>
From the msys2 prompt type:
rm get-pip.py
==Keep your [[Gramps_{{man version}}_Wiki_Manual_-_Command_Line#GRAMPSHOME |GRAMPSHOME]] separate==
To keep your test family trees separate from your personal family trees you may want to use your MSYS2 home directory which you can set from mingw64 shell either:
echo 'export GRAMPSHOME=~' >> ~/.profile
source ~/.profile
==See also==
* [[Running a development version of Gramps]]
* [httphttps://sourceforge.net/p/gramps.1791082.n4.nabble.com/Gramps-on-WSL-Win10-Ubuntu-14-04-VcXsvr-td4676752.html mailman/message/35346200/ Gramps on WSL (Win10/Ubuntu 14.04/VcXsvr)]
[[Category:GEPS|M]]
[[Category:Developers/General]]
1,965
edits

Navigation menu