https://www.gramps-project.org/wiki/api.php?action=feedcontributions&user=Josipsf&feedformat=atomGramps - User contributions [en]2024-03-28T20:50:37ZUser contributionsMediaWiki 1.31.3https://www.gramps-project.org/wiki/index.php?title=Template:Version_windows_AIO64&diff=69869Template:Version windows AIO642018-07-28T22:46:51Z<p>Josipsf: </p>
<hr />
<div>5.0.0<noinclude><br />
[[Category:Developers/Packaging ]]<br />
[[Category:Versions]]<br />
[[Category:Templates]]<br />
</noinclude></div>Josipsfhttps://www.gramps-project.org/wiki/index.php?title=Previous_releases_of_Gramps&diff=63728Previous releases of Gramps2017-06-10T20:08:27Z<p>Josipsf: Gramps 5.0.0-alpha2 release</p>
<hr />
<div><!-- http://sourceforge.net/project/admin/editreleases.php?package_id=109309&group_id=25770 --><br />
{{man note|You may find Gramps downloads|On the following page [[Download]]}}<br />
{| class="wikitable sortable"<br />
|-<br />
!<br />
! Meaning<br />
|-<br />
| style="background-color:#fa8072;" | Red<br />
| Not supported (Update to the last release for that version)<br />
|-<br />
| style="background-color:#f0e68c;" | Yellow<br />
| Still supported (Update to the last release for that version / Strongly Recommended you upgrade to the '''Current version''')<br />
|-<br />
| style="background-color:#A0E75A;" | Green<br />
| Current version. '''Recommended for all new installs'''<br />
|-<br />
| style="background-color:#66ccff;" | Blue<br />
| Current Public testing version (Unstable/Alpha/Beta/Release Candidate)<br />
|-<br />
| style="background-color:#C0C0C0;" | Silver<br />
| Development version (Git Version - Here be dragons - Recommended only for testing the future of Gramps)<br />
|}<br />
<!-- RELEASE HISTORY --><br />
{| class="wikitable sortable"<br />
|-<br />
!Version<br />
!Release Date<br />
!Name<br />
!Notes<br />
|-<br />
| style="background-color:#C0C0C0;" |[https://github.com/gramps-project/gramps Git]||N/A||N/A||Development version (Python 3.2+ only / GTK 3.10+ / BSDDB 3)<br />
|-<br />
| style="background-color:#fa8072;" |0.1.1 || 2001-04-21 || || <br />
|-<br />
| style="background-color:#fa8072;" |0.1.2 || 2001-04-27 || || <br />
|-<br />
| style="background-color:#fa8072;" |0.1.3 || 2001-05-05 || || [http://sourceforge.net/mailarchive/message.php?msg_name=989071692.5867.0.camel%40wallace]<br />
|-<br />
| style="background-color:#fa8072;" |0.1.4 || 2001-05-19 || ||<br />
|-<br />
| style="background-color:#fa8072;" |0.1.5 || 2001-05-26 || ||<br />
|-<br />
| style="background-color:#fa8072;" |0.2.0 || 2001-06-03 || ||<br />
|-<br />
| style="background-color:#fa8072;" |0.3.0 || 2001-06-17 || ||<br />
|-<br />
| style="background-color:#fa8072;" |0.3.1 || 2001-06-23 || ||<br />
|-<br />
| style="background-color:#fa8072;" |0.3.2 || 2001-07-06 || ||<br />
|-<br />
| style="background-color:#fa8072;" |0.4.0 || 2001-08-09 || ||<br />
|- <br />
| style="background-color:#fa8072;" |0.4.1 || 2001-08-13 || ||<br />
|-<br />
| style="background-color:#fa8072;" |0.5.0 || 2001-09-19 || || [http://sourceforge.net/mailarchive/message.php?msg_name=1000858783.857.10.camel%40wallace]<br />
|-<br />
| style="background-color:#fa8072;" |0.5.1 || 2001-09-30 || ||<br />
|-<br />
| style="background-color:#fa8072;" |0.6.0 || 2001-11-09 || ||<br />
|- <br />
| style="background-color:#fa8072;" |0.6.1 || 2001-11-10 || ||<br />
|-<br />
| style="background-color:#fa8072;" |0.6.2 || 2001-11-18 || ||<br />
|-<br />
| style="background-color:#fa8072;" |0.7.0 || 2001-12-24 || || [http://sourceforge.net/mailarchive/message.php?msg_name=1009153059.18962.16.camel%40wallace]<br />
|-<br />
| style="background-color:#fa8072;" |0.7.1 || 2002-01-26 || ||<br />
|-<br />
| style="background-color:#fa8072;" |0.7.2 || 2002-03-16 || ||<br />
|-<br />
| style="background-color:#fa8072;" |0.7.3 || 2002-05-06 || ||<br />
|-<br />
| style="background-color:#fa8072;" |0.8.0 || 2002-08-20 || || [http://sourceforge.net/mailarchive/message.php?msg_name=1029808789.30044.12.camel%40feathers]<br />
|-<br />
| style="background-color:#fa8072;" |0.8.1 || 2002-12-01 || ||<br />
|-<br />
| style="background-color:#fa8072;" |0.9.0 || 2003-02-16 || || [http://gnomedesktop.org/node/940]<br />
|-<br />
| style="background-color:#fa8072;" |0.9.1 || 2003-04-20 || ||<br />
|-<br />
| style="background-color:#fa8072;" |0.9.2 || 2003-06-01 || ||<br />
|-<br />
| style="background-color:#fa8072;" |0.9.3 || 2003-07-15 || ||<br />
|-<br />
| style="background-color:#fa8072;" |0.9.4 || 2003-09-29 || This used to bug me || [http://gnomedesktop.org/node/1369]<br />
|-<br />
| style="background-color:#fa8072;" |0.9.5 || 2003-10-07 || Fix me up || [http://gnomedesktop.org/node/1385]<br />
|-<br />
| style="background-color:#fa8072;" |0.98.0 || 2003-12-08 || Round me off || [http://gnomedesktop.org/node/1509]<br />
|-<br />
| style="background-color:#fa8072;" |0.99 || 2004-01-27 || || [http://sourceforge.net/mailarchive/message.php?msg_name=1075265584.2202.20.camel%40gromit]<br />
|-<br />
! style="background-color:#fa8072;" |1.0.0 || 2004-02-11 || Stable as a tombstone || [http://gnomedesktop.org/node/1644] (Python 1.5.2+, Gnome 1.2+, PyGnome 1.0.53+ / XML )<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/1.0.1|1.0.1]] || 2004-02-18 || Revenge of Ed Wood || [https://web.archive.org/web/20061005083907/http://gnomedesktop.org/node/1659]<br />
|-<br />
| style="background-color:#fa8072;" |1.0.2 || 2004-04-02 || Pining for the fjords || [http://gnomedesktop.org/node/1732]<br />
|-<br />
| style="background-color:#fa8072;" |1.0.3 || 2004-04-22 || 'Tis but a scratch! || [http://gnomedesktop.org/node/1761]<br />
|-<br />
| style="background-color:#fa8072;" |1.0.4 || 2004-06-15 || Say no more! || [http://osdir.com/ml/genealogy.gramps.user/2004-06/msg00049.html]<br />
|-<br />
| style="background-color:#fa8072;" |1.1.0 (unstable) || 2004-06-16 ||And now for something completely different || [http://osdir.com/ml/genealogy.gramps.user/2004-06/msg00060.html]<br />
|-<br />
| style="background-color:#fa8072;" |1.0.5 || 2004-07-31 || Weighs the same as a duck || [http://osdir.com/ml/genealogy.gramps.user/2004-07/msg00136.html]<br />
|-<br />
| style="background-color:#fa8072;" |1.0.6 || 2004-08-13 || Pink frilly edges || [http://osdir.com/ml/genealogy.gramps.user/2004-08/msg00070.html]<br />
|-<br />
| style="background-color:#fa8072;" |1.0.7 || 2004-08-14 || Run away! Run away! || [http://osdir.com/ml/genealogy.gramps.user/2004-08/msg00072.html]<br />
|-<br />
| style="background-color:#fa8072;" |1.1.1 (unstable) || 2004-09-27 || Rat cake, rat sorbet, rat pudding, or strawberry tart || [http://osdir.com/ml/genealogy.gramps.user/2004-09/msg00075.html]<br />
|-<br />
| style="background-color:#fa8072;" |1.0.8 || 2004-10-31 || Sideways completely unexpected deposit || [http://osdir.com/ml/genealogy.gramps.user/2004-10/msg00080.html]<br />
|-<br />
| style="background-color:#fa8072;" |1.1.2 (unstable) ||2004-12-06|| Confuse-a-cat || [http://osdir.com/ml/genealogy.gramps.user/2004-12/msg00024.html]<br />
|-<br />
| style="background-color:#fa8072;" |1.1.3 (unstable) ||2005-01-18 || Splunge: this is a great idea, but possibly lousy, and I’m not being indecisive || [http://osdir.com/ml/genealogy.gramps.user/2005-01/msg00015.html]<br />
|-<br />
| style="background-color:#fa8072;" |1.0.9 || 2005-01-29 || Ekki-Ekki-Ekki-Ekki-PTANG. Zoom-Boing. Z'nourrwringmm || [http://osdir.com/ml/genealogy.gramps.user/2005-01/msg00037.html]<br />
|-<br />
| style="background-color:#fa8072;" |1.0.10 || 2005-01-30 || Migrating coconuts || [http://osdir.com/ml/genealogy.gramps.user/2005-01/msg00038.html]<br />
|-<br />
| style="background-color:#fa8072;" |1.1.90 (unstable) ||2005-02-21|| Successful encyclopedia salesman || [http://osdir.com/ml/genealogy.gramps.user/2005-02/msg00062.html]<br />
|-<br />
| style="background-color:#fa8072;" |1.0.11 || 2005-03-19 || What have the Romans done for us? || [http://osdir.com/ml/genealogy.gramps.user/2005-03/msg00041.html]<br />
|-<br />
| style="background-color:#fa8072;" |1.1.95 (unstable) ||2005-04-11|| When danger reared its ugly head, he bravely turned his tail and fled || [http://osdir.com/ml/genealogy.gramps.user/2005-04/msg00026.html]<br />
|-<br />
| style="background-color:#fa8072;" |1.1.99 (unstable) ||2005-04-24|| What… is your favourite colour? || [http://osdir.com/ml/genealogy.gramps.devel/2005-04/msg00200.html]<br />
|-<br />
! style="background-color:#fa8072;" |2.0.0 || 2005-05-10 || The bright side of life || [http://gnomedesktop.org/node/2246] [http://osdir.com/ml/genealogy.gramps.user/2005-05/msg00032.html] ( Python 2.3+ /Gnome 2.8+ /PyGTK2 2.4+ /Gnome-python 2.6 + / BSDDB )<br />
|-<br />
| style="background-color:#fa8072;" |2.0.1 || 2005-05-23 || None shall pass || [http://osdir.com/ml/genealogy.gramps.user/2005-05/msg00087.html]<br />
|-<br />
| style="background-color:#fa8072;" |2.0.2 || 2005-06-04 || Little fermented curd will do the trick || [http://osdir.com/ml/genealogy.gramps.user/2005-06/msg00007.html]<br />
|-<br />
| style="background-color:#fa8072;" |2.0.3 || 2005-06-04 || Mynd you, møøse bites Kan be pretty nasti... || [http://osdir.com/ml/genealogy.gramps.user/2005-06/msg00010.html]<br />
|-<br />
| style="background-color:#fa8072;" |2.0.4 || 2005-06-27 || That's enough music for now, lads. || [http://osdir.com/ml/genealogy.gramps.user/2005-06/msg00039.html]<br />
|-<br />
| style="background-color:#fa8072;" |2.0.5 || 2005-07-05 || It's certainly uncontaminated by cheese || [http://gnomedesktop.org/node/2313] [http://osdir.com/ml/genealogy.gramps.user/2005-07/msg00011.html]<br />
|-<br />
| style="background-color:#fa8072;" |2.0.6 || 2005-08-15 || Just like my dear papa! || [http://osdir.com/ml/genealogy.gramps.user/2005-08/msg00007.html]<br />
|-<br />
| style="background-color:#fa8072;" |2.0.7 || 2005-09-04 || Romanes eunt domus || [http://osdir.com/ml/genealogy.gramps.user/2005-09/msg00003.html]<br />
|-<br />
| style="background-color:#fa8072;" |2.0.8 || 2005-09-05 || Romani ite domum || [http://osdir.com/ml/genealogy.gramps.user/2005-09/msg00010.html]<br />
|-<br />
| style="background-color:#fa8072;" |2.0.9 || 2005-12-11 || Nobody expects the Spanish inquisition! || [http://osdir.com/ml/genealogy.gramps.user/2005-12/msg00009.html]<br />
|-<br />
| style="background-color:#fa8072;" |2.0.10 || 2006-02-27 || Holy Hand Grenade of Antioch || [http://osdir.com/ml/genealogy.gramps.user/2006-02/msg00051.html]<br />
|-<br />
| style="background-color:#fa8072;" |2.0.11 || 2006-04-29 || I will not buy this record, it is scratched || [http://osdir.com/ml/genealogy.gramps.user/2006-04/msg00078.html]<br />
|-<br />
| style="background-color:#fa8072;" |2.1.0 (unstable) || 2006-04-29 || What are you going to do, bleed on me? || [http://osdir.com/ml/genealogy.gramps.user/2006-04/msg00080.html]<br />
|-<br />
| style="background-color:#fa8072;" |2.1.91 (unstable) || 2006-08-13 || Strange women lying in ponds distributing swords is no basis for a system of government || [http://www.nabble.com/GRAMPS-2.1.91-released-t2101226.html]<br />
|-<br />
| style="background-color:#fa8072;" |2.1.95 (unstable) || 2006-08-27 || Listen! I can't give it to you now. It says, 'in the event of death'. Uh. Oh! Ah. Ah. Eh. || [http://www.nabble.com/GRAMPS-2.1.95-Beta-released-t2174953.html]<br />
|-<br />
| style="background-color:#fa8072;" |2.2.0rc1 (unstable) || 2006-10-12 || Help, Help! I'm being repressed!|| [http://thread.gmane.org/gmane.comp.genealogy.gramps.user/3018]<br />
|-<br />
| style="background-color:#fa8072;" |2.2.0rc2 (unstable) || 2006-10-24 || What is your quest? || [http://thread.gmane.org/gmane.comp.genealogy.gramps.user/3079]<br />
|-<br />
| style="background-color:#fa8072;" |2.2.1 || 2006-10-29 || One, two, five! || [http://osdir.com/ml/genealogy.gramps.user/2006-10/msg00107.html] (This release added support for MS-Windows.)<br />
|-<br />
| style="background-color:#fa8072;" |2.2.2 || 2006-11-02 || We interrupt this program to annoy you and make things generally irritating || [http://osdir.com/ml/genealogy.gramps.user/2006-11/msg00008.html]<br />
|-<br />
| style="background-color:#fa8072;" |2.2.3 || 2006-11-26 || My philosophy, like color television, is all there in black and white || [http://osdir.com/ml/genealogy.gramps.user/2006-11/msg00069.html]<br />
|-<br />
| style="background-color:#fa8072;" |2.2.4 || 2006-12-24 || When you're chewing on life's gristle, Don't grumble, give a whistle || [http://osdir.com/ml/genealogy.gramps.user/2006-12/msg00112.html]<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/2.2.5|2.2.5]] || 2007-01-28 || Now go away or I shall taunt you a second time || [http://sourceforge.net/mailarchive/message.php?msg_name=1170014849.5125.10.camel%40gromit.hsd1.co.comcast.net.]<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/2.2.6|2.2.6]] || 2007-01-29 || Summarize Proust Competition || [http://sourceforge.net/mailarchive/message.php?msg_name=1170093157.19476.8.camel%40shaun]<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/2.2.7|2.2.7]] || 2007-04-22 || Well, I didn't vote for you. || [http://sourceforge.net/mailarchive/message.php?msg_name=528057.58505.qm%40web52901.mail.re2.yahoo.com]<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/2.2.8|2.2.8]] || 2007-05-27 || You sons of a silly person || [http://sourceforge.net/mailarchive/message.php?msg_name=1180325674.6710.10.camel%40gromit.hsd1.co.comcast.net.]<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/2.2.9|2.2.9]] || 2007-10-18 || Here's your ninepence || [http://sourceforge.net/mailarchive/message.php?msg_name=1e15d0630710180845m5be854f5l7cff75c5856798a8%40mail.gmail.com]<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/2.2.10|2.2.10]] || 2008-01-13 || Lemon Curry? || [http://sourceforge.net/mailarchive/message.php?msg_name=1e15d0630801132242s57f981a1x2140df7010d75b87%40mail.gmail.com]<br />
|-<br />
| style="background-color:#fa8072;" |2.90.0 (unstable) || 2008-01-16 || || [http://sourceforge.net/mailarchive/message.php?msg_name=1e15d0630801162244m3d1bed7dnc5def6a8fc8251fa%40mail.gmail.com]<br />
|-<br />
! style="background-color:#fa8072;" |[[Template:Releases/3.0.0|3.0.0]] || 2008-03-24 || It was just getting interesting. || (Python 2.5+ / PyGTK2 2.10+ / BSDDB ) <br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/3.0.1|3.0.1]] || 2008-05-17 || Don't call me "Señor!" ||<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/3.0.2|3.0.2]] || 2008-09-27 || You look like a milkman to me. ||<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/3.0.3|3.0.3]] || 2008-10-19 || I have this terrible feeling of déjà vu. ||<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/3.0.4|3.0.4]] || 2008-12-06 || All the children sing ||<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/3.1.0|3.1.0]] || 2009-03-07 || I am the director of a publishing company. ||<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/3.1.1|3.1.1]] || 2009-03-09 || Spam, bacon, sausage and spam ||<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/3.1.2|3.1.2]] || 2009-06-06 || Skip the impersonations ||<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/3.1.3|3.1.3]] || 2009-12-06 || What Name? ||<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/3.2.0|3.2.0]] || 2010-03-15 || I am your father ||<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/3.2.1|3.2.1]] || 2010-04-21 || One of those men is my father ||<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/3.2.2|3.2.2]] || 2010-04-25 || Mea navis aëricumbens anguillis abundat ||<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/3.2.3|3.2.3]] || 2010-05-16 || I used to eat there. Really good noodles. ||<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/3.2.4|3.2.4]] || 2010-10-10 || Tententen ||<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/3.2.4|3.2.4]] || 2010-10-11 || Tententen || (Re-released due to missing .css file.)<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/3.2.5|3.2.5]] || 2010-11-17 || I intend to live forever. ||<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/3.2.6|3.2.6]] || 2011-04-30 || So far, so good. ||<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/3.3.0|3.3.0]] || 2011-06-12 || Prelude to the next version ||<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/3.3.1|3.3.1]] || 2011-10-01 || The Tenth Anniversary Edition ||<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/3.3.2|3.3.2]] || 2012-05-18 || The Knights who say 'Ni' ||<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/3.4.0|3.4.0]] || 2012-05-21 || The "always look on the bright side of life" feature release. ||<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/3.4.1|3.4.1]] || 2012-08-23 || A tiger? In Africa?! ||[https://gramps-project.org/2012/07/in-memory-of-rob-g-healey/ In Memory of Rob G. Healey].<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/3.4.2|3.4.2]] || 2012-10-28 || We're all individuals! ||<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/4.0.0alpha1|4.0.0-alpha1]] (unstable)|| 2012-12-21 || ||<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/4.0.0alpha2|4.0.0-alpha2]] (unstable)|| 2012-12-31 || ||<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/4.0.0alpha3|4.0.0-alpha3]] (unstable)|| 2013-01-03 || ||<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/4.0.0alpha4|4.0.0-alpha4]] (unstable)|| 2013-01-26 || ||<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/4.0.0alpha5|4.0.0-alpha5]] (unstable)|| 2013-03-06 || ||<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/3.4.3|3.4.3]] || 2013-03-19 || Whenever life gets you down, Mrs. Brown ||<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/4.0.0beta|4.0.0-beta]] (unstable)|| 2013-04-06 || ||<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/3.4.4|3.4.4]] ||2013-05-15||The Ministry of Silly Names||<br />
|-<br />
! style="background-color:#fa8072;" |[[Template:Releases/4.0.0|4.0.0]] ||2013-05-21||The Miracle Of Birth || (Python 2.7+ or Python 3.2+ / GTK 3.0+ / BSDDB )<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/3.4.5|3.4.5]] ||2013-05-22||We have also developed a tomato which can eject itself when an accident is imminent||<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/4.0.1|4.0.1]] ||2013-06-24||What is washing when we are on the verge of a great scientific breakthrough?||<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/3.4.6|3.4.6]] ||2013-10-28||The Answer to the Ultimate Question||<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/4.0.2|4.0.2]] ||2013-11-08||Welcome to our humble abode||<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/3.4.7|3.4.7]] ||2014-01-27||Ask me tomorrow, but not today||<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/4.0.3|4.0.3]] ||2014-01-27||It's tomorrow, ask me now||<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/4.0.4|4.0.4]] ||2014-05-22||Not the comfy chair||<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/3.4.8|3.4.8]] ||2014-05-29||Forget about your sin, give the audience a grin||<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/4.1.0|4.1.0]] ||2014-06-16||Name go in book|| (Full Python 3 support added)<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/4.1.1|4.1.1]] ||2014-10-24||MachineThatGoes...Ping!||<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/4.1.2|4.1.2]] ||2015-02-28||That's no ordinary rabbit ||<br />
|-<br />
| style="background-color:#f0e68c;" |[[Template:Releases/3.4.9|3.4.9]] ||2015-04-30||I am no longer infected ||<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/4.1.3|4.1.3]] ||2015-05-01||Thou shalt not count to five||<br />
|-<br />
| style="background-color:#fa8072;" |4.2.0beta1 (unstable)||2015-06-21|| || [http://sourceforge.net/p/gramps/mailman/message/34226994/]<br />
|-<br />
| style="background-color:#fa8072;" |4.2.0beta2 (unstable)||2015-07-08|| || [http://gramps.1791082.n4.nabble.com/Gramps-4-2-Release-schedule-tp4670805p4671491.html]<br />
|-<br />
! style="background-color:#fa8072;" |[[Template:Releases/4.2.0|4.2.0]]||2015-08-02|||| (Python 3.2+ only / GTK 3.10+ / BSDDB 3)<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/4.2.1|4.2.1]]||2015-10-12||||<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/4.2.2|4.2.2]]||2016-01-06||||<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/4.2.3|4.2.3]]||2016-04-10||||<br />
|-<br />
| style="background-color:#66ccff;" |[https://github.com/gramps-project/gramps/releases/tag/v5.0.0-alpha1 5.0.0-alpha1 (unstable)]||2016-06-04|| [http://gramps.1791082.n4.nabble.com/Re-Gramps-5-0-alpha-announcement-draft-td4675918.html]<br />
|-<br />
| style="background-color:#fa8072;" |[[Template:Releases/4.2.4|4.2.4]]||2016-09-04|||[https://sourceforge.net/p/gramps/mailman/message/35340899/]||<br />
|-<br />
| style="background-color:#A0E75A;" |[[Template:Releases/4.2.5|4.2.5]]||2016-12-15|||<br />
|-<br />
| style="background-color:#66ccff;" |[https://github.com/gramps-project/gramps/releases/tag/v5.0.0-alpha2 5.0.0-alpha2 (unstable)]||2017-06-10|| [http://gramps.1791082.n4.nabble.com/Gramps-5-0-0-alpha2-released-tt4680209.html]<br />
|-<br />
|}<br />
<br />
== See also ==<br />
* [[News|Changelog]]<br />
* [[History of Gramps]]<br />
* [[Features#Checklist]] - table<br />
* [[Gramps XML]] - Database version<br />
* [[What to do for a release]]<br />
<br />
[[Category:Community/General]]<br />
[[Category:Documentation]]</div>Josipsfhttps://www.gramps-project.org/wiki/index.php?title=Gramps_for_Windows_with_MSYS2&diff=63610Gramps for Windows with MSYS22017-03-27T22:05:26Z<p>Josipsf: /* graphviz */</p>
<hr />
<div>{{man warn|1=Warning|2=Do not open your existing databases with the master branch, it might destroy your data, and will make it impossible to use the data in the stable version {{stable_branch}}. To try it out, export your database to a gramps xml file, eg <code>test_master.gramps</code>, create a new family tree in the master branch, and import this xml file.<br>Alternatively you can [[Gramps_for_Windows_with_MSYS2#Keep_your_GRAMPSHOME_separate|Keep your GRAMPSHOME separate]] }}<br />
<br />
How to use MSYS2 to run latest Gramps development version from source in 64bit Windows.<br />
<br />
In similar way you can build the 32bit version<br />
<br />
==Install MSYS2==<br />
<br />
{{man note|Installation restrictions|MSYS2 can't be installed on FAT* partitions.<br>Current MSYS2 can't be installed on Windows XP anymore.}}<br />
<br />
From the MSYS2 home page http://www.msys2.org download [http://repo.msys2.org/distrib/x86_64/msys2-x86_64-20161025.exe MSYS2 64bit] installer and run it.<br />
<br />
Install it in short path like <code>C:\msys64</code><br />
<br />
At the end of install select to run mingw64 shell eg: use the '''MSYS2 MinGW 64-bit''' shortcut.<br />
<br />
===Update MSYS2===<br />
First keep running the following command(multiple times) until it has updated the list of packages and updated all core packages nothing else to do: <br />
<br />
<pre><br />
pacman -Syuu<br />
</pre><br />
<br />
If core packages are updated you must close the mingw64 shell (forcefully with close button, not just typing exit on it) and then restart the mingw64 shell from the shortcut.<br />
<br />
===Install Gramps dependencies===<br />
Start mingw64 shell and use '''pacman''' package manager to download and install Gramps dependencies<br />
<br />
<pre><br />
pacman -S mingw-w64-x86_64-python3-bsddb3 mingw-w64-x86_64-gexiv2 mingw-w64-x86_64-ghostscript mingw-w64-x86_64-python3-cairo mingw-w64-x86_64-python3-gobject mingw-w64-x86_64-python3-icu mingw-w64-x86_64-iso-codes mingw-w64-x86_64-hunspell mingw-w64-x86_64-hunspell-en mingw-w64-x86_64-enchant<br />
</pre><br />
<br />
To handle the following warning '''No intltool or version < 0.25.0, build_intl is aborting''' install:<br />
pacman -S intltool<br />
<br />
You will also need the following to run the test:<br />
<pre><br />
pacman -S mingw-w64-x86_64-python3-lxml<br />
pacman -S mingw-w64-x86_64-python3-jsonschema<br />
</pre><br />
<br />
To use the Graph reports follow the alternate instructions to install [[Gramps_for_Windows_with_MSYS2#Issue|Graphviz]] and to run the Graph View addon also install:<br />
<pre><br />
pacman -S mingw-w64-x86_64-goocanvas<br />
</pre><br />
<br />
{{man warn|osmgpsmap not working|When [[Gramps_for_Windows_with_MSYS2#osmgpsmap_2|fixed]] you will be able to install osmgpsmap for the Geography Views with the following command:<br><code>pacman -S mingw-w64-x86_64-osmgpsmap-git</code>}}<br />
<br />
===Install Git===<br />
<pre><br />
pacman -S msys/git<br />
</pre><br />
<br />
==Install Gramps==<br />
===Prepare source===<br />
Create directory to store Gramps source in and go to it<br />
<pre><br />
mkdir ~/grampsdev<br />
cd ~/grampsdev<br />
</pre><br />
<br />
===Download source===<br />
Download Gramps master branch from source repository<br />
<pre><br />
git init<br />
git remote add -t master -f origin https://github.com/gramps-project/gramps.git<br />
git checkout master<br />
</pre><br />
Check which Gramps version is used<br />
<pre><br />
git describe<br />
</pre><br />
it should return something like:<br />
<blockquote><br />
v5.0.0-alpha1-1024-g0919763f1<br />
</blockquote><br />
===Setup source===<br />
Before using Gramps you must set-it up.<br />
<br>You just use '''setup build''' command not '''install''' one<br />
<pre><br />
python3 setup.py build<br />
</pre><br />
==Run Gramps==<br />
Start mingw64 shell and go to directory where Gramps source reside<br />
<pre><br />
cd ~/grampsdev<br />
</pre><br />
Use python3 to start Gramps<br />
<br>To check gramps version use "v" flag<br />
<pre><br />
python3 Gramps.py -v<br />
</pre><br />
It should return something like:<br />
<pre><br />
Gramps Settings:<br />
----------------<br />
python : 3.5.3<br />
gramps : 5.0.0-alpha1-0919763f1<br />
gtk++ : 3.22.9<br />
pygobject : 3.22.0<br />
pango : 1.40.3<br />
cairo : 1.15.4<br />
pycairo : 1.1.10<br />
osmgpsmap : 1.0<br />
GExiv2 : 0.10<br />
ICU : 57.1<br />
PyICU : 1.9.3<br />
o.s. : win32<br />
<br />
Non-python dependencies:<br />
------------------------<br />
Graphviz : Graphviz not in system PATH<br />
Ghostscr. : 9.20<br />
</pre><br />
Run Gramps<br />
<pre><br />
python3 Gramps.py<br />
</pre><br />
==Building and updating MSYS2/MinGW packages==<br />
===Install build tools===<br />
<pre><br />
pacman -S --needed --noconfirm base-devel mingw-w64-x86_64-toolchain<br />
</pre><br />
[https://github.com/Alexpux/MINGW-packages MINGW-packages recipes] are on GitHub so you can use git to clone it. If instead you want to access recipe one by one you can download it with Subversion so install it first<br />
<pre><br />
pacman -S subversion<br />
</pre><br />
We need a place to download and build from source code so we will create folder called "build" inside our home folder<br />
<pre><br />
mkdir ~/build<br />
</pre><br />
To prevent pacman to upgrade packages we rebuilt for our needs we can assign them to group '''gramps_fixed''' and add them to IgnoreGroup list.<br />
Open in text editor file ''etc/pacman.conf'' (C:\MSYS2\etc\pacman.conf) and add line ''IgnoreGroup = gramps_fixed'' to ''options'' section.<br />
<pre><br />
[options]<br />
IgnoreGroup = gramps_fixed<br />
</pre><br />
===db===<br />
GrampsAIO uses Oracle Berkeley DB version 6.0.30 but MSYS2 have it at version 6.0.19 and most probably never update it to a newer version.<br />
<br>Gramps will ask permission to downgrade database version at import of any family tree created with GrampsAIO bundle. To prevent that build right version of DB.<br />
<br>You can do it in easy way by downloading prebuilt package or hard way by building it yourself.<br />
<br>Start ''msys2 shell'' and type (easy way):<br />
<pre><br />
cd ~/build<br />
wget https://github.com/bpisoj/MINGW-packages/releases/download/v5.0/mingw-w64-x86_64-db-6.0.30-1-any.pkg.tar.xz<br />
pacman -U mingw-w64-x86_64-db-6.0.30-1-any.pkg.tar.xz<br />
</pre><br />
Hard way (it can take some time to finish)<br />
<pre><br />
cd ~/build<br />
svn checkout https://github.com/bpisoj/MINGW-packages/branches/gramps5/mingw-w64-db<br />
cd mingw-w64-db<br />
MINGW_INSTALLS=mingw64 makepkg-mingw -sLf<br />
pacman -U mingw-w64-x86_64-db-6.0.30-1-any.pkg.tar.xz<br />
</pre><br />
<br />
===bsddb3===<br />
As db version is changed then we have to rebuild Python bindings for Oracle Berkeley DB<br />
<br>From ''msys2 shell'' (easy way):<br />
<pre><br />
cd ~/build<br />
wget https://github.com/bpisoj/MINGW-packages/releases/download/v5.0/mingw-w64-x86_64-python3-bsddb3-6.1.0-3.1-any.pkg.tar.xz<br />
pacman -U mingw-w64-x86_64-python3-bsddb3-6.1.0-3.1-any.pkg.tar.xz<br />
</pre><br />
Or hard way:<br />
<pre><br />
cd ~/build<br />
svn checkout https://github.com/bpisoj/MINGW-packages/branches/gramps5/mingw-w64-python-bsddb3<br />
cd mingw-w64-python-bsddb3<br />
MINGW_INSTALLS=mingw64 makepkg-mingw -sLf<br />
pacman -U mingw-w64-x86_64-python3-bsddb3-6.1.0-3.1-any.pkg.tar.xz<br />
</pre><br />
<br />
===gtk3===<br />
[https://www.gtk.org/ GTK+] since version 3.20 drag-and-drop code has been rearchitected to move the drag cancel animation and most input handling into GDK, thereby dropping most of the platform-dependent code out of GTK (MSYS2 version of GTK is currently 3.22.10). This change is not yet present in Windows port of code so we have to use older GTK version 3.18 where it still works.<br />
<br>Latest in gtk-3.18 branch is gtk-3.18.9 (previous versions of this branch have working dnd but have other bugs) so we build that.<br />
* Easy way:<br />
<pre><br />
cd ~/build<br />
wget https://github.com/bpisoj/MINGW-packages/releases/download/v5.0/mingw-w64-x86_64-gtk3-3.18.9-1-any.pkg.tar.xz<br />
pacman -U mingw-w64-x86_64-gtk3-3.18.9-1-any.pkg.tar.xz<br />
</pre><br />
* Hard Way:<br />
<pre><br />
cd ~/build<br />
svn checkout https://github.com/bpisoj/MINGW-packages/branches/gramps5/mingw-w64-gtk3<br />
cd mingw-w64-gtk3<br />
MINGW_INSTALLS=mingw64 makepkg-mingw -sLf<br />
pacman -U mingw-w64-x86_64-gtk3-3.18.9-1-any.pkg.tar.xz<br />
</pre><br />
<br />
===graphviz===<br />
Graphviz is in MSYS2 MINGW-packages git repository but is not build-able at this moment (2017-03-26) so it is not available via pacman.<br />
We build latest version from Graphviz git repository by manually patching code in process so we can't yet provide PKGBUILD<br />
* Easy way<br />
As we use simple archive not real packages we need to make care that dependencies are satisfied<br />
<pre><br />
pacman -S --needed mingw-w64-x86_64-cairo mingw-w64-x86_64-devil mingw-w64-x86_64-expat mingw-w64-x86_64-freetype mingw-w64-x86_64-glib2 mingw-w64-x86_64-gtk2 mingw-w64-x86_64-gtkglext mingw-w64-x86_64-fontconfig mingw-w64-x86_64-freeglut mingw-w64-x86_64-libglade mingw-w64-x86_64-libgd mingw-w64-x86_64-libpng mingw-w64-x86_64-libsystre mingw-w64-x86_64-pango mingw-w64-x86_64-poppler mingw-w64-x86_64-zlib<br />
</pre><br />
Next we download prebuilt archive and extract it<br />
<pre><br />
cd ~/build<br />
wget https://github.com/bpisoj/MINGW-packages/releases/download/v5.0/win64_graphviz_20170323.1842.tar.xz<br />
tar xfv win64_graphviz_20170323.1842.tar.xz -C /<br />
</pre> <br />
After successful install we first need to configure it (from mingw64 shell)<br />
<pre><br />
dot -c<br />
</pre><br />
If no error is displayed everything is working fine and Graphviz registered their plugins.<br />
We can check version with<br />
<pre><br />
dot -V<br />
<br />
dot - graphviz version 2.41.20170323.1842 (20170323.1842)<br />
</pre><br />
<pre><br />
winpty dot -v<br />
<br />
dot - graphviz version 2.41.20170323.1842 (20170323.1842)<br />
libdir = "C:\MSYS2\mingw64\bin"<br />
Activated plugin library: libgvplugin_dot_layout-6.dll<br />
Using layout: dot:dot_layout<br />
Activated plugin library: libgvplugin_core-6.dll<br />
Using render: dot:core<br />
Using device: dot:dot:core<br />
The plugin configuration file: C:\MSYS2\mingw64\bin\config6<br />
was successfully loaded.<br />
render : cairo dot fig gd map pic pov ps svg tk vml vrml xdot<br />
layout : circo dot fdp neato nop nop1 nop2 osage patchwork sfdp twopi<br />
textlayout : textlayout<br />
device : bmp canon cmap cmapx cmapx_np dot eps fig gd gd2 gif gv ico imap <br />
imap_np ismap jpe jpeg jpg pdf pic plain plain-ext png pov ps ps2<br />
svg svgz tga tif tiff tk vml vmlz vrml wbmp xdot xdot1.2 xdot1.4<br />
loadimage : (lib) bmp eps gd gd2 gif ico jpe jpeg jpg pdf png ps svg xbm<br />
</pre><br />
* Hard way (TODO)<br />
====pygraphviz====<br />
Needed for NetworkChart report (3rd party plugin)<br />
* Easy way:<br />
<pre><br />
cd ~/build<br />
wget https://github.com/bpisoj/MINGW-packages/releases/download/v5.0/mingw-w64-x86_64-python3-pygraphviz-1.4rc1-1-any.pkg.tar.xz<br />
pacman -U mingw-w64-x86_64-python3-pygraphviz-1.4rc1-1-any.pkg.tar.xz<br />
</pre><br />
For NetworkChart report to work install also networkx package<br />
<pre><br />
pacman -S mingw-w64-x86_64-python3-networkx<br />
</pre><br />
<br />
===osmgpsmap===<br />
As of 2017.03.21 package mingw-w64-osmgpsmap-git (r443.c24d08d-1) is outdated due to changes in MINGW-packages repository so Gramps GeoView will fail to work.<br />
<br>We will rebuild him!<br />
<br>Start '''msys2 shell''' (always build package recipes from msys2 shell)<br />
<br>Easy way:<br />
<pre><br />
cd ~/build<br />
wget https://github.com/bpisoj/MINGW-packages/releases/download/v5.0/mingw-w64-x86_64-osmgpsmap-git-r483.d275a5d-1-any.pkg.tar.xz<br />
pacman -U mingw-w64-x86_64-osmgpsmap-git-r483.d275a5d-1-any.pkg.tar.xz<br />
</pre><br />
Hard way:<br />
<pre><br />
cd ~/build<br />
svn checkout https://github.com/Alexpux/MINGW-packages/trunk/mingw-w64-osmgpsmap-git<br />
cd mingw-w64-osmgpsmap-git<br />
sed -i 's/patch -p1 -i/#patch -p1 -i/' PKGBUILD<br />
MINGW_INSTALLS=mingw64 makepkg-mingw -sLf<br />
pacman -U mingw-w64-x86_64-osmgpsmap-git-r483.d275a5d-1-any.pkg.tar.xz<br />
</pre><br />
<br />
==Issue==<br />
===Graphviz===<br />
* No Graphviz see: [https://github.com/Alexpux/MINGW-packages/issues/737 MSYS2:Package request: graphviz] <br />
** Marked as WIP see: https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-graphviz<br />
<br />
====Alternate method using Windows version of Graphviz====<br />
Tested alternate method to use Windows version of Graphviz[http://felsin9.de/nnis/ghc-vis/installing-windows/]<br />
{{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.}}<br />
<br />
<i>Download the current GraphViz ZIP archive from http://www.graphviz.org/Download_windows.php and extract it to C:\graphviz, so that it directly contains the directories bin, lib, share and so on.</i><br />
<br />
From the msys2 prompt type:<br />
<pre><br />
echo 'export PATH=/c/graphviz/bin:$PATH' >> ~/.bashrc<br />
source ~/.bashrc<br />
</pre><br />
Then type:<br />
<br />
python3 Gramps.py -v<br />
<br />
and Graphviz will be listed.<br />
<br />
<pre>Non-python dependencies:<br />
------------------------<br />
Graphviz : 2.38<br />
</pre><br />
<br />
===osmgpsmap===<br />
The MSYS2 version of osmgpsmap has issues eg:<br />
(python3.exe:348): WARNING **: Failed to load shared library 'libosmgpsmap-1.0-0.dll' referenced by the typelib: 'libosmgpsmap-1.0-0.dll': The specified procedure could not be found.<br />
<br />
You can uninstall osmgpsmap package with:<br />
<br />
pacman -R mingw-w64-x86_64-osmgpsmap-git<br />
<br />
==Install Python pip==<br />
To install a working version of pip use the following steps:<br />
<br />
<pre> <br />
mkdir ~/scripts<br />
cd ~/scripts<br />
curl -O 'https://bootstrap.pypa.io/get-pip.py'<br />
./get-pip.py<br />
</pre> <br />
<br />
Test that it works:<br />
<br />
pip3 --version<br />
<br />
If that succeeds you can now remove the installation script if wanted:<br />
<br />
rm get-pip.py<br />
<br />
==Keep your GRAMPSHOME separate==<br />
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:<br />
<br />
On each run like:<br />
<br />
GRAMPSHOME=~ python3 Gramps.py<br />
<br />
If you want it persistent:<br />
<br />
echo 'export GRAMPSHOME=~' >> ~/.profile<br />
source ~/.profile<br />
<br />
==See also==<br />
* [[Running a development version of Gramps]]<br />
* [http://gramps.1791082.n4.nabble.com/Gramps-on-WSL-Win10-Ubuntu-14-04-VcXsvr-td4676752.html Gramps on WSL (Win10/Ubuntu 14.04/VcXsvr)]<br />
<br />
[[Category:GEPS|M]]<br />
[[Category:Developers/General]]</div>Josipsfhttps://www.gramps-project.org/wiki/index.php?title=Gramps_for_Windows_with_MSYS2&diff=63609Gramps for Windows with MSYS22017-03-27T19:44:45Z<p>Josipsf: /* gtk3 */</p>
<hr />
<div>{{man warn|1=Warning|2=Do not open your existing databases with the master branch, it might destroy your data, and will make it impossible to use the data in the stable version {{stable_branch}}. To try it out, export your database to a gramps xml file, eg <code>test_master.gramps</code>, create a new family tree in the master branch, and import this xml file.<br>Alternatively you can [[Gramps_for_Windows_with_MSYS2#Keep_your_GRAMPSHOME_separate|Keep your GRAMPSHOME separate]] }}<br />
<br />
How to use MSYS2 to run latest Gramps development version from source in 64bit Windows.<br />
<br />
In similar way you can build the 32bit version<br />
<br />
==Install MSYS2==<br />
<br />
{{man note|Installation restrictions|MSYS2 can't be installed on FAT* partitions.<br>Current MSYS2 can't be installed on Windows XP anymore.}}<br />
<br />
From the MSYS2 home page http://www.msys2.org download [http://repo.msys2.org/distrib/x86_64/msys2-x86_64-20161025.exe MSYS2 64bit] installer and run it.<br />
<br />
Install it in short path like <code>C:\msys64</code><br />
<br />
At the end of install select to run mingw64 shell eg: use the '''MSYS2 MinGW 64-bit''' shortcut.<br />
<br />
===Update MSYS2===<br />
First keep running the following command(multiple times) until it has updated the list of packages and updated all core packages nothing else to do: <br />
<br />
<pre><br />
pacman -Syuu<br />
</pre><br />
<br />
If core packages are updated you must close the mingw64 shell (forcefully with close button, not just typing exit on it) and then restart the mingw64 shell from the shortcut.<br />
<br />
===Install Gramps dependencies===<br />
Start mingw64 shell and use '''pacman''' package manager to download and install Gramps dependencies<br />
<br />
<pre><br />
pacman -S mingw-w64-x86_64-python3-bsddb3 mingw-w64-x86_64-gexiv2 mingw-w64-x86_64-ghostscript mingw-w64-x86_64-python3-cairo mingw-w64-x86_64-python3-gobject mingw-w64-x86_64-python3-icu mingw-w64-x86_64-iso-codes mingw-w64-x86_64-hunspell mingw-w64-x86_64-hunspell-en mingw-w64-x86_64-enchant<br />
</pre><br />
<br />
To handle the following warning '''No intltool or version < 0.25.0, build_intl is aborting''' install:<br />
pacman -S intltool<br />
<br />
You will also need the following to run the test:<br />
<pre><br />
pacman -S mingw-w64-x86_64-python3-lxml<br />
pacman -S mingw-w64-x86_64-python3-jsonschema<br />
</pre><br />
<br />
To use the Graph reports follow the alternate instructions to install [[Gramps_for_Windows_with_MSYS2#Issue|Graphviz]] and to run the Graph View addon also install:<br />
<pre><br />
pacman -S mingw-w64-x86_64-goocanvas<br />
</pre><br />
<br />
{{man warn|osmgpsmap not working|When [[Gramps_for_Windows_with_MSYS2#osmgpsmap_2|fixed]] you will be able to install osmgpsmap for the Geography Views with the following command:<br><code>pacman -S mingw-w64-x86_64-osmgpsmap-git</code>}}<br />
<br />
===Install Git===<br />
<pre><br />
pacman -S msys/git<br />
</pre><br />
<br />
==Install Gramps==<br />
===Prepare source===<br />
Create directory to store Gramps source in and go to it<br />
<pre><br />
mkdir ~/grampsdev<br />
cd ~/grampsdev<br />
</pre><br />
<br />
===Download source===<br />
Download Gramps master branch from source repository<br />
<pre><br />
git init<br />
git remote add -t master -f origin https://github.com/gramps-project/gramps.git<br />
git checkout master<br />
</pre><br />
Check which Gramps version is used<br />
<pre><br />
git describe<br />
</pre><br />
it should return something like:<br />
<blockquote><br />
v5.0.0-alpha1-1024-g0919763f1<br />
</blockquote><br />
===Setup source===<br />
Before using Gramps you must set-it up.<br />
<br>You just use '''setup build''' command not '''install''' one<br />
<pre><br />
python3 setup.py build<br />
</pre><br />
==Run Gramps==<br />
Start mingw64 shell and go to directory where Gramps source reside<br />
<pre><br />
cd ~/grampsdev<br />
</pre><br />
Use python3 to start Gramps<br />
<br>To check gramps version use "v" flag<br />
<pre><br />
python3 Gramps.py -v<br />
</pre><br />
It should return something like:<br />
<pre><br />
Gramps Settings:<br />
----------------<br />
python : 3.5.3<br />
gramps : 5.0.0-alpha1-0919763f1<br />
gtk++ : 3.22.9<br />
pygobject : 3.22.0<br />
pango : 1.40.3<br />
cairo : 1.15.4<br />
pycairo : 1.1.10<br />
osmgpsmap : 1.0<br />
GExiv2 : 0.10<br />
ICU : 57.1<br />
PyICU : 1.9.3<br />
o.s. : win32<br />
<br />
Non-python dependencies:<br />
------------------------<br />
Graphviz : Graphviz not in system PATH<br />
Ghostscr. : 9.20<br />
</pre><br />
Run Gramps<br />
<pre><br />
python3 Gramps.py<br />
</pre><br />
==Building and updating MSYS2/MinGW packages==<br />
===Install build tools===<br />
<pre><br />
pacman -S --needed --noconfirm base-devel mingw-w64-x86_64-toolchain<br />
</pre><br />
[https://github.com/Alexpux/MINGW-packages MINGW-packages recipes] are on GitHub so you can use git to clone it. If instead you want to access recipe one by one you can download it with Subversion so install it first<br />
<pre><br />
pacman -S subversion<br />
</pre><br />
We need a place to download and build from source code so we will create folder called "build" inside our home folder<br />
<pre><br />
mkdir ~/build<br />
</pre><br />
To prevent pacman to upgrade packages we rebuilt for our needs we can assign them to group '''gramps_fixed''' and add them to IgnoreGroup list.<br />
Open in text editor file ''etc/pacman.conf'' (C:\MSYS2\etc\pacman.conf) and add line ''IgnoreGroup = gramps_fixed'' to ''options'' section.<br />
<pre><br />
[options]<br />
IgnoreGroup = gramps_fixed<br />
</pre><br />
===db===<br />
GrampsAIO uses Oracle Berkeley DB version 6.0.30 but MSYS2 have it at version 6.0.19 and most probably never update it to a newer version.<br />
<br>Gramps will ask permission to downgrade database version at import of any family tree created with GrampsAIO bundle. To prevent that build right version of DB.<br />
<br>You can do it in easy way by downloading prebuilt package or hard way by building it yourself.<br />
<br>Start ''msys2 shell'' and type (easy way):<br />
<pre><br />
cd ~/build<br />
wget https://github.com/bpisoj/MINGW-packages/releases/download/v5.0/mingw-w64-x86_64-db-6.0.30-1-any.pkg.tar.xz<br />
pacman -U mingw-w64-x86_64-db-6.0.30-1-any.pkg.tar.xz<br />
</pre><br />
Hard way (it can take some time to finish)<br />
<pre><br />
cd ~/build<br />
svn checkout https://github.com/bpisoj/MINGW-packages/branches/gramps5/mingw-w64-db<br />
cd mingw-w64-db<br />
MINGW_INSTALLS=mingw64 makepkg-mingw -sLf<br />
pacman -U mingw-w64-x86_64-db-6.0.30-1-any.pkg.tar.xz<br />
</pre><br />
<br />
===bsddb3===<br />
As db version is changed then we have to rebuild Python bindings for Oracle Berkeley DB<br />
<br>From ''msys2 shell'' (easy way):<br />
<pre><br />
cd ~/build<br />
wget https://github.com/bpisoj/MINGW-packages/releases/download/v5.0/mingw-w64-x86_64-python3-bsddb3-6.1.0-3.1-any.pkg.tar.xz<br />
pacman -U mingw-w64-x86_64-python3-bsddb3-6.1.0-3.1-any.pkg.tar.xz<br />
</pre><br />
Or hard way:<br />
<pre><br />
cd ~/build<br />
svn checkout https://github.com/bpisoj/MINGW-packages/branches/gramps5/mingw-w64-python-bsddb3<br />
cd mingw-w64-python-bsddb3<br />
MINGW_INSTALLS=mingw64 makepkg-mingw -sLf<br />
pacman -U mingw-w64-x86_64-python3-bsddb3-6.1.0-3.1-any.pkg.tar.xz<br />
</pre><br />
<br />
===gtk3===<br />
[https://www.gtk.org/ GTK+] since version 3.20 drag-and-drop code has been rearchitected to move the drag cancel animation and most input handling into GDK, thereby dropping most of the platform-dependent code out of GTK (MSYS2 version of GTK is currently 3.22.10). This change is not yet present in Windows port of code so we have to use older GTK version 3.18 where it still works.<br />
<br>Latest in gtk-3.18 branch is gtk-3.18.9 (previous versions of this branch have working dnd but have other bugs) so we build that.<br />
* Easy way:<br />
<pre><br />
cd ~/build<br />
wget https://github.com/bpisoj/MINGW-packages/releases/download/v5.0/mingw-w64-x86_64-gtk3-3.18.9-1-any.pkg.tar.xz<br />
pacman -U mingw-w64-x86_64-gtk3-3.18.9-1-any.pkg.tar.xz<br />
</pre><br />
* Hard Way:<br />
<pre><br />
cd ~/build<br />
svn checkout https://github.com/bpisoj/MINGW-packages/branches/gramps5/mingw-w64-gtk3<br />
cd mingw-w64-gtk3<br />
MINGW_INSTALLS=mingw64 makepkg-mingw -sLf<br />
pacman -U mingw-w64-x86_64-gtk3-3.18.9-1-any.pkg.tar.xz<br />
</pre><br />
<br />
===graphviz===<br />
Graphviz is in MSYS2 MINGW-packages git repository but is not build-able at this moment (2017-03-26) so it is not available via pacman.<br />
We build latest version from Graphviz git repository by manually patching code in process so we can't yet provide PKGBUILD<br />
* Easy way<br />
As we use simple archive not real packages we need to make care that dependencies are satisfied<br />
<pre><br />
pacman -S --needed mingw-w64-x86_64-cairo mingw-w64-x86_64-devil mingw-w64-x86_64-expat mingw-w64-x86_64-freetype mingw-w64-x86_64-glib2 mingw-w64-x86_64-gtk2 mingw-w64-x86_64-gtkglext mingw-w64-x86_64-fontconfig mingw-w64-x86_64-freeglut mingw-w64-x86_64-libglade mingw-w64-x86_64-libgd mingw-w64-x86_64-libpng mingw-w64-x86_64-libsystre mingw-w64-x86_64-pango mingw-w64-x86_64-poppler mingw-w64-x86_64-zlib<br />
</pre><br />
Next we download prebuilt archive and extract it<br />
<pre><br />
cd ~/build<br />
wget https://github.com/bpisoj/MINGW-packages/releases/download/v5.0/win64_graphviz_20170323.1842.tar.xz<br />
tar xfv win64_graphviz_20170323.1842.tar.xz -C /<br />
</pre> <br />
After successful install we first need to configure it (from mingw64 shell)<br />
<pre><br />
dot -c<br />
</pre><br />
If no error is displayed everything is working fine and Graphviz registered their plugins.<br />
We can check version with<br />
<pre><br />
dot -V<br />
<br />
dot - graphviz version 2.41.20170323.1842 (20170323.1842)<br />
</pre><br />
<pre><br />
winpty dot -v<br />
<br />
dot - graphviz version 2.41.20170323.1842 (20170323.1842)<br />
libdir = "C:\MSYS2\mingw64\bin"<br />
Activated plugin library: libgvplugin_dot_layout-6.dll<br />
Using layout: dot:dot_layout<br />
Activated plugin library: libgvplugin_core-6.dll<br />
Using render: dot:core<br />
Using device: dot:dot:core<br />
The plugin configuration file: C:\MSYS2\mingw64\bin\config6<br />
was successfully loaded.<br />
render : cairo dot fig gd map pic pov ps svg tk vml vrml xdot<br />
layout : circo dot fdp neato nop nop1 nop2 osage patchwork sfdp twopi<br />
textlayout : textlayout<br />
device : bmp canon cmap cmapx cmapx_np dot eps fig gd gd2 gif gv ico imap <br />
imap_np ismap jpe jpeg jpg pdf pic plain plain-ext png pov ps ps2<br />
svg svgz tga tif tiff tk vml vmlz vrml wbmp xdot xdot1.2 xdot1.4<br />
loadimage : (lib) bmp eps gd gd2 gif ico jpe jpeg jpg pdf png ps svg xbm<br />
</pre><br />
* Hard way (TODO)<br />
<br />
===osmgpsmap===<br />
As of 2017.03.21 package mingw-w64-osmgpsmap-git (r443.c24d08d-1) is outdated due to changes in MINGW-packages repository so Gramps GeoView will fail to work.<br />
<br>We will rebuild him!<br />
<br>Start '''msys2 shell''' (always build package recipes from msys2 shell)<br />
<br>Easy way:<br />
<pre><br />
cd ~/build<br />
wget https://github.com/bpisoj/MINGW-packages/releases/download/v5.0/mingw-w64-x86_64-osmgpsmap-git-r483.d275a5d-1-any.pkg.tar.xz<br />
pacman -U mingw-w64-x86_64-osmgpsmap-git-r483.d275a5d-1-any.pkg.tar.xz<br />
</pre><br />
Hard way:<br />
<pre><br />
cd ~/build<br />
svn checkout https://github.com/Alexpux/MINGW-packages/trunk/mingw-w64-osmgpsmap-git<br />
cd mingw-w64-osmgpsmap-git<br />
sed -i 's/patch -p1 -i/#patch -p1 -i/' PKGBUILD<br />
MINGW_INSTALLS=mingw64 makepkg-mingw -sLf<br />
pacman -U mingw-w64-x86_64-osmgpsmap-git-r483.d275a5d-1-any.pkg.tar.xz<br />
</pre><br />
<br />
==Issue==<br />
===Graphviz===<br />
* No Graphviz see: [https://github.com/Alexpux/MINGW-packages/issues/737 MSYS2:Package request: graphviz] <br />
** Marked as WIP see: https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-graphviz<br />
<br />
====Alternate method using Windows version of Graphviz====<br />
Tested alternate method to use Windows version of Graphviz[http://felsin9.de/nnis/ghc-vis/installing-windows/]<br />
{{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.}}<br />
<br />
<i>Download the current GraphViz ZIP archive from http://www.graphviz.org/Download_windows.php and extract it to C:\graphviz, so that it directly contains the directories bin, lib, share and so on.</i><br />
<br />
From the msys2 prompt type:<br />
<pre><br />
echo 'export PATH=/c/graphviz/bin:$PATH' >> ~/.bashrc<br />
source ~/.bashrc<br />
</pre><br />
Then type:<br />
<br />
python3 Gramps.py -v<br />
<br />
and Graphviz will be listed.<br />
<br />
<pre>Non-python dependencies:<br />
------------------------<br />
Graphviz : 2.38<br />
</pre><br />
<br />
===osmgpsmap===<br />
The MSYS2 version of osmgpsmap has issues eg:<br />
(python3.exe:348): WARNING **: Failed to load shared library 'libosmgpsmap-1.0-0.dll' referenced by the typelib: 'libosmgpsmap-1.0-0.dll': The specified procedure could not be found.<br />
<br />
You can uninstall osmgpsmap package with:<br />
<br />
pacman -R mingw-w64-x86_64-osmgpsmap-git<br />
<br />
==Install Python pip==<br />
To install a working version of pip use the following steps:<br />
<br />
<pre> <br />
mkdir ~/scripts<br />
cd ~/scripts<br />
curl -O 'https://bootstrap.pypa.io/get-pip.py'<br />
./get-pip.py<br />
</pre> <br />
<br />
Test that it works:<br />
<br />
pip3 --version<br />
<br />
If that succeeds you can now remove the installation script if wanted:<br />
<br />
rm get-pip.py<br />
<br />
==Keep your GRAMPSHOME separate==<br />
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:<br />
<br />
On each run like:<br />
<br />
GRAMPSHOME=~ python3 Gramps.py<br />
<br />
If you want it persistent:<br />
<br />
echo 'export GRAMPSHOME=~' >> ~/.profile<br />
source ~/.profile<br />
<br />
==See also==<br />
* [[Running a development version of Gramps]]<br />
* [http://gramps.1791082.n4.nabble.com/Gramps-on-WSL-Win10-Ubuntu-14-04-VcXsvr-td4676752.html Gramps on WSL (Win10/Ubuntu 14.04/VcXsvr)]<br />
<br />
[[Category:GEPS|M]]<br />
[[Category:Developers/General]]</div>Josipsfhttps://www.gramps-project.org/wiki/index.php?title=Gramps_for_Windows_with_MSYS2&diff=63607Gramps for Windows with MSYS22017-03-26T20:28:34Z<p>Josipsf: /* graphviz */</p>
<hr />
<div>{{man warn|1=Warning|2=Do not open your existing databases with the master branch, it might destroy your data, and will make it impossible to use the data in the stable version {{stable_branch}}. To try it out, export your database to a gramps xml file, eg <code>test_master.gramps</code>, create a new family tree in the master branch, and import this xml file.<br>Alternatively you can [[Gramps_for_Windows_with_MSYS2#Keep_your_GRAMPSHOME_separate|Keep your GRAMPSHOME separate]] }}<br />
<br />
How to use MSYS2 to run latest Gramps development version from source in 64bit Windows.<br />
<br />
In similar way you can build the 32bit version<br />
<br />
==Install MSYS2==<br />
<br />
{{man note|Installation restrictions|MSYS2 can't be installed on FAT* partitions.<br>Current MSYS2 can't be installed on Windows XP anymore.}}<br />
<br />
From the MSYS2 home page http://www.msys2.org download [http://repo.msys2.org/distrib/x86_64/msys2-x86_64-20161025.exe MSYS2 64bit] installer and run it.<br />
<br />
Install it in short path like <code>C:\msys64</code><br />
<br />
At the end of install select to run mingw64 shell eg: use the '''MSYS2 MinGW 64-bit''' shortcut.<br />
<br />
===Update MSYS2===<br />
First keep running the following command(multiple times) until it has updated the list of packages and updated all core packages nothing else to do: <br />
<br />
<pre><br />
pacman -Syuu<br />
</pre><br />
<br />
If core packages are updated you must close the mingw64 shell (forcefully with close button, not just typing exit on it) and then restart the mingw64 shell from the shortcut.<br />
<br />
===Install Gramps dependencies===<br />
Start mingw64 shell and use '''pacman''' package manager to download and install Gramps dependencies<br />
<br />
<pre><br />
pacman -S mingw-w64-x86_64-python3-bsddb3 mingw-w64-x86_64-gexiv2 mingw-w64-x86_64-ghostscript mingw-w64-x86_64-python3-cairo mingw-w64-x86_64-python3-gobject mingw-w64-x86_64-python3-icu mingw-w64-x86_64-iso-codes mingw-w64-x86_64-hunspell mingw-w64-x86_64-hunspell-en mingw-w64-x86_64-enchant<br />
</pre><br />
<br />
To handle the following warning '''No intltool or version < 0.25.0, build_intl is aborting''' install:<br />
pacman -S intltool<br />
<br />
You will also need the following to run the test:<br />
<pre><br />
pacman -S mingw-w64-x86_64-python3-lxml<br />
pacman -S mingw-w64-x86_64-python3-jsonschema<br />
</pre><br />
<br />
To use the Graph reports follow the alternate instructions to install [[Gramps_for_Windows_with_MSYS2#Issue|Graphviz]] and to run the Graph View addon also install:<br />
<pre><br />
pacman -S mingw-w64-x86_64-goocanvas<br />
</pre><br />
<br />
{{man warn|osmgpsmap not working|When [[Gramps_for_Windows_with_MSYS2#osmgpsmap_2|fixed]] you will be able to install osmgpsmap for the Geography Views with the following command:<br><code>pacman -S mingw-w64-x86_64-osmgpsmap-git</code>}}<br />
<br />
===Install Git===<br />
<pre><br />
pacman -S msys/git<br />
</pre><br />
<br />
==Install Gramps==<br />
===Prepare source===<br />
Create directory to store Gramps source in and go to it<br />
<pre><br />
mkdir ~/grampsdev<br />
cd ~/grampsdev<br />
</pre><br />
<br />
===Download source===<br />
Download Gramps master branch from source repository<br />
<pre><br />
git init<br />
git remote add -t master -f origin https://github.com/gramps-project/gramps.git<br />
git checkout master<br />
</pre><br />
Check which Gramps version is used<br />
<pre><br />
git describe<br />
</pre><br />
it should return something like:<br />
<blockquote><br />
v5.0.0-alpha1-1024-g0919763f1<br />
</blockquote><br />
===Setup source===<br />
Before using Gramps you must set-it up.<br />
<br>You just use '''setup build''' command not '''install''' one<br />
<pre><br />
python3 setup.py build<br />
</pre><br />
==Run Gramps==<br />
Start mingw64 shell and go to directory where Gramps source reside<br />
<pre><br />
cd ~/grampsdev<br />
</pre><br />
Use python3 to start Gramps<br />
<br>To check gramps version use "v" flag<br />
<pre><br />
python3 Gramps.py -v<br />
</pre><br />
It should return something like:<br />
<pre><br />
Gramps Settings:<br />
----------------<br />
python : 3.5.3<br />
gramps : 5.0.0-alpha1-0919763f1<br />
gtk++ : 3.22.9<br />
pygobject : 3.22.0<br />
pango : 1.40.3<br />
cairo : 1.15.4<br />
pycairo : 1.1.10<br />
osmgpsmap : 1.0<br />
GExiv2 : 0.10<br />
ICU : 57.1<br />
PyICU : 1.9.3<br />
o.s. : win32<br />
<br />
Non-python dependencies:<br />
------------------------<br />
Graphviz : Graphviz not in system PATH<br />
Ghostscr. : 9.20<br />
</pre><br />
Run Gramps<br />
<pre><br />
python3 Gramps.py<br />
</pre><br />
==Building and updating MSYS2/MinGW packages==<br />
===Install build tools===<br />
<pre><br />
pacman -S --needed --noconfirm base-devel mingw-w64-x86_64-toolchain<br />
</pre><br />
[https://github.com/Alexpux/MINGW-packages MINGW-packages recipes] are on GitHub so you can use git to clone it. If instead you want to access recipe one by one you can download it with Subversion so install it first<br />
<pre><br />
pacman -S subversion<br />
</pre><br />
We need a place to download and build from source code so we will create folder called "build" inside our home folder<br />
<pre><br />
mkdir ~/build<br />
</pre><br />
To prevent pacman to upgrade packages we rebuilt for our needs we can assign them to group '''gramps_fixed''' and add them to IgnoreGroup list.<br />
Open in text editor file ''etc/pacman.conf'' (C:\MSYS2\etc\pacman.conf) and add line ''IgnoreGroup = gramps_fixed'' to ''options'' section.<br />
<pre><br />
[options]<br />
IgnoreGroup = gramps_fixed<br />
</pre><br />
===db===<br />
GrampsAIO uses Oracle Berkeley DB version 6.0.30 but MSYS2 have it at version 6.0.19 and most probably never update it to a newer version.<br />
<br>Gramps will ask permission to downgrade database version at import of any family tree created with GrampsAIO bundle. To prevent that build right version of DB.<br />
<br>You can do it in easy way by downloading prebuilt package or hard way by building it yourself.<br />
<br>Start ''msys2 shell'' and type (easy way):<br />
<pre><br />
cd ~/build<br />
wget https://github.com/bpisoj/MINGW-packages/releases/download/v5.0/mingw-w64-x86_64-db-6.0.30-1-any.pkg.tar.xz<br />
pacman -U mingw-w64-x86_64-db-6.0.30-1-any.pkg.tar.xz<br />
</pre><br />
Hard way (it can take some time to finish)<br />
<pre><br />
cd ~/build<br />
svn checkout https://github.com/bpisoj/MINGW-packages/branches/gramps5/mingw-w64-db<br />
cd mingw-w64-db<br />
MINGW_INSTALLS=mingw64 makepkg-mingw -sLf<br />
pacman -U mingw-w64-x86_64-db-6.0.30-1-any.pkg.tar.xz<br />
</pre><br />
<br />
===bsddb3===<br />
As db version is changed then we have to rebuild Python bindings for Oracle Berkeley DB<br />
<br>From ''msys2 shell'' (easy way):<br />
<pre><br />
cd ~/build<br />
wget https://github.com/bpisoj/MINGW-packages/releases/download/v5.0/mingw-w64-x86_64-python3-bsddb3-6.1.0-3.1-any.pkg.tar.xz<br />
pacman -U mingw-w64-x86_64-python3-bsddb3-6.1.0-3.1-any.pkg.tar.xz<br />
</pre><br />
Or hard way:<br />
<pre><br />
cd ~/build<br />
svn checkout https://github.com/bpisoj/MINGW-packages/branches/gramps5/mingw-w64-python-bsddb3<br />
cd mingw-w64-python-bsddb3<br />
MINGW_INSTALLS=mingw64 makepkg-mingw -sLf<br />
pacman -U mingw-w64-x86_64-python3-bsddb3-6.1.0-3.1-any.pkg.tar.xz<br />
</pre><br />
<br />
===gtk3===<br />
[https://www.gtk.org/ GTK+] since version 3.20 drag-and-drop code has been rearchitected to move the drag cancel animation and most input handling into GDK, thereby dropping most of the platform-dependent code out of GTK (MSYS2 version of GTK is currently 3.22.10). This change is not yet present in Windows port of code so we have to use older GTK version 3.18 where it still works.<br />
<br>Latest in gtk-3.18 branch is gtk-3.18.9 (previous versions of this branch have working dnd but have other bugs) so we build that.<br />
<pre><br />
cd ~/build<br />
svn checkout https://github.com/bpisoj/MINGW-packages/branches/gramps5/mingw-w64-gtk3<br />
cd mingw-w64-gtk3<br />
MINGW_INSTALLS=mingw64 makepkg-mingw -sLf<br />
pacman -U mingw-w64-x86_64-gtk3-3.18.9-1-any.pkg.tar.xz<br />
</pre><br />
<br />
===graphviz===<br />
Graphviz is in MSYS2 MINGW-packages git repository but is not build-able at this moment (2017-03-26) so it is not available via pacman.<br />
We build latest version from Graphviz git repository by manually patching code in process so we can't yet provide PKGBUILD<br />
* Easy way<br />
As we use simple archive not real packages we need to make care that dependencies are satisfied<br />
<pre><br />
pacman -S --needed mingw-w64-x86_64-cairo mingw-w64-x86_64-devil mingw-w64-x86_64-expat mingw-w64-x86_64-freetype mingw-w64-x86_64-glib2 mingw-w64-x86_64-gtk2 mingw-w64-x86_64-gtkglext mingw-w64-x86_64-fontconfig mingw-w64-x86_64-freeglut mingw-w64-x86_64-libglade mingw-w64-x86_64-libgd mingw-w64-x86_64-libpng mingw-w64-x86_64-libsystre mingw-w64-x86_64-pango mingw-w64-x86_64-poppler mingw-w64-x86_64-zlib<br />
</pre><br />
Next we download prebuilt archive and extract it<br />
<pre><br />
cd ~/build<br />
wget https://github.com/bpisoj/MINGW-packages/releases/download/v5.0/win64_graphviz_20170323.1842.tar.xz<br />
tar xfv win64_graphviz_20170323.1842.tar.xz -C /<br />
</pre> <br />
After successful install we first need to configure it (from mingw64 shell)<br />
<pre><br />
dot -c<br />
</pre><br />
If no error is displayed everything is working fine and Graphviz registered their plugins.<br />
We can check version with<br />
<pre><br />
dot -V<br />
<br />
dot - graphviz version 2.41.20170323.1842 (20170323.1842)<br />
</pre><br />
<pre><br />
winpty dot -v<br />
<br />
dot - graphviz version 2.41.20170323.1842 (20170323.1842)<br />
libdir = "C:\MSYS2\mingw64\bin"<br />
Activated plugin library: libgvplugin_dot_layout-6.dll<br />
Using layout: dot:dot_layout<br />
Activated plugin library: libgvplugin_core-6.dll<br />
Using render: dot:core<br />
Using device: dot:dot:core<br />
The plugin configuration file: C:\MSYS2\mingw64\bin\config6<br />
was successfully loaded.<br />
render : cairo dot fig gd map pic pov ps svg tk vml vrml xdot<br />
layout : circo dot fdp neato nop nop1 nop2 osage patchwork sfdp twopi<br />
textlayout : textlayout<br />
device : bmp canon cmap cmapx cmapx_np dot eps fig gd gd2 gif gv ico imap <br />
imap_np ismap jpe jpeg jpg pdf pic plain plain-ext png pov ps ps2<br />
svg svgz tga tif tiff tk vml vmlz vrml wbmp xdot xdot1.2 xdot1.4<br />
loadimage : (lib) bmp eps gd gd2 gif ico jpe jpeg jpg pdf png ps svg xbm<br />
</pre><br />
* Hard way (TODO)<br />
<br />
===osmgpsmap===<br />
As of 2017.03.21 package mingw-w64-osmgpsmap-git (r443.c24d08d-1) is outdated due to changes in MINGW-packages repository so Gramps GeoView will fail to work.<br />
<br>We will rebuild him!<br />
<br>Start '''msys2 shell''' (always build package recipes from msys2 shell)<br />
<br>Easy way:<br />
<pre><br />
cd ~/build<br />
wget https://github.com/bpisoj/MINGW-packages/releases/download/v5.0/mingw-w64-x86_64-osmgpsmap-git-r483.d275a5d-1-any.pkg.tar.xz<br />
pacman -U mingw-w64-x86_64-osmgpsmap-git-r483.d275a5d-1-any.pkg.tar.xz<br />
</pre><br />
Hard way:<br />
<pre><br />
cd ~/build<br />
svn checkout https://github.com/Alexpux/MINGW-packages/trunk/mingw-w64-osmgpsmap-git<br />
cd mingw-w64-osmgpsmap-git<br />
sed -i 's/patch -p1 -i/#patch -p1 -i/' PKGBUILD<br />
MINGW_INSTALLS=mingw64 makepkg-mingw -sLf<br />
pacman -U mingw-w64-x86_64-osmgpsmap-git-r483.d275a5d-1-any.pkg.tar.xz<br />
</pre><br />
<br />
==Issue==<br />
===Graphviz===<br />
* No Graphviz see: [https://github.com/Alexpux/MINGW-packages/issues/737 MSYS2:Package request: graphviz] <br />
** Marked as WIP see: https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-graphviz<br />
<br />
====Alternate method using Windows version of Graphviz====<br />
Tested alternate method to use Windows version of Graphviz[http://felsin9.de/nnis/ghc-vis/installing-windows/]<br />
{{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.}}<br />
<br />
<i>Download the current GraphViz ZIP archive from http://www.graphviz.org/Download_windows.php and extract it to C:\graphviz, so that it directly contains the directories bin, lib, share and so on.</i><br />
<br />
From the msys2 prompt type:<br />
<pre><br />
echo 'export PATH=/c/graphviz/bin:$PATH' >> ~/.bashrc<br />
source ~/.bashrc<br />
</pre><br />
Then type:<br />
<br />
python3 Gramps.py -v<br />
<br />
and Graphviz will be listed.<br />
<br />
<pre>Non-python dependencies:<br />
------------------------<br />
Graphviz : 2.38<br />
</pre><br />
<br />
===osmgpsmap===<br />
The MSYS2 version of osmgpsmap has issues eg:<br />
(python3.exe:348): WARNING **: Failed to load shared library 'libosmgpsmap-1.0-0.dll' referenced by the typelib: 'libosmgpsmap-1.0-0.dll': The specified procedure could not be found.<br />
<br />
You can uninstall osmgpsmap package with:<br />
<br />
pacman -R mingw-w64-x86_64-osmgpsmap-git<br />
<br />
==Install Python pip==<br />
To install a working version of pip use the following steps:<br />
<br />
<pre> <br />
mkdir ~/scripts<br />
cd ~/scripts<br />
curl -O 'https://bootstrap.pypa.io/get-pip.py'<br />
./get-pip.py<br />
</pre> <br />
<br />
Test that it works:<br />
<br />
pip3 --version<br />
<br />
If that succeeds you can now remove the installation script if wanted:<br />
<br />
rm get-pip.py<br />
<br />
==Keep your GRAMPSHOME separate==<br />
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:<br />
<br />
On each run like:<br />
<br />
GRAMPSHOME=~ python3 Gramps.py<br />
<br />
If you want it persistent:<br />
<br />
echo 'export GRAMPSHOME=~' >> ~/.profile<br />
source ~/.profile<br />
<br />
==See also==<br />
* [[Running a development version of Gramps]]<br />
* [http://gramps.1791082.n4.nabble.com/Gramps-on-WSL-Win10-Ubuntu-14-04-VcXsvr-td4676752.html Gramps on WSL (Win10/Ubuntu 14.04/VcXsvr)]<br />
<br />
[[Category:GEPS|M]]<br />
[[Category:Developers/General]]</div>Josipsfhttps://www.gramps-project.org/wiki/index.php?title=Gramps_for_Windows_with_MSYS2&diff=63606Gramps for Windows with MSYS22017-03-26T19:46:29Z<p>Josipsf: /* osmgpsmap */</p>
<hr />
<div>{{man warn|1=Warning|2=Do not open your existing databases with the master branch, it might destroy your data, and will make it impossible to use the data in the stable version {{stable_branch}}. To try it out, export your database to a gramps xml file, eg <code>test_master.gramps</code>, create a new family tree in the master branch, and import this xml file.<br>Alternatively you can [[Gramps_for_Windows_with_MSYS2#Keep_your_GRAMPSHOME_separate|Keep your GRAMPSHOME separate]] }}<br />
<br />
How to use MSYS2 to run latest Gramps development version from source in 64bit Windows.<br />
<br />
In similar way you can build the 32bit version<br />
<br />
==Install MSYS2==<br />
<br />
{{man note|Installation restrictions|MSYS2 can't be installed on FAT* partitions.<br>Current MSYS2 can't be installed on Windows XP anymore.}}<br />
<br />
From the MSYS2 home page http://www.msys2.org download [http://repo.msys2.org/distrib/x86_64/msys2-x86_64-20161025.exe MSYS2 64bit] installer and run it.<br />
<br />
Install it in short path like <code>C:\msys64</code><br />
<br />
At the end of install select to run mingw64 shell eg: use the '''MSYS2 MinGW 64-bit''' shortcut.<br />
<br />
===Update MSYS2===<br />
First keep running the following command(multiple times) until it has updated the list of packages and updated all core packages nothing else to do: <br />
<br />
<pre><br />
pacman -Syuu<br />
</pre><br />
<br />
If core packages are updated you must close the mingw64 shell (forcefully with close button, not just typing exit on it) and then restart the mingw64 shell from the shortcut.<br />
<br />
===Install Gramps dependencies===<br />
Start mingw64 shell and use '''pacman''' package manager to download and install Gramps dependencies<br />
<br />
<pre><br />
pacman -S mingw-w64-x86_64-python3-bsddb3 mingw-w64-x86_64-gexiv2 mingw-w64-x86_64-ghostscript mingw-w64-x86_64-python3-cairo mingw-w64-x86_64-python3-gobject mingw-w64-x86_64-python3-icu mingw-w64-x86_64-iso-codes mingw-w64-x86_64-hunspell mingw-w64-x86_64-hunspell-en mingw-w64-x86_64-enchant<br />
</pre><br />
<br />
To handle the following warning '''No intltool or version < 0.25.0, build_intl is aborting''' install:<br />
pacman -S intltool<br />
<br />
You will also need the following to run the test:<br />
<pre><br />
pacman -S mingw-w64-x86_64-python3-lxml<br />
pacman -S mingw-w64-x86_64-python3-jsonschema<br />
</pre><br />
<br />
To use the Graph reports follow the alternate instructions to install [[Gramps_for_Windows_with_MSYS2#Issue|Graphviz]] and to run the Graph View addon also install:<br />
<pre><br />
pacman -S mingw-w64-x86_64-goocanvas<br />
</pre><br />
<br />
{{man warn|osmgpsmap not working|When [[Gramps_for_Windows_with_MSYS2#osmgpsmap_2|fixed]] you will be able to install osmgpsmap for the Geography Views with the following command:<br><code>pacman -S mingw-w64-x86_64-osmgpsmap-git</code>}}<br />
<br />
===Install Git===<br />
<pre><br />
pacman -S msys/git<br />
</pre><br />
<br />
==Install Gramps==<br />
===Prepare source===<br />
Create directory to store Gramps source in and go to it<br />
<pre><br />
mkdir ~/grampsdev<br />
cd ~/grampsdev<br />
</pre><br />
<br />
===Download source===<br />
Download Gramps master branch from source repository<br />
<pre><br />
git init<br />
git remote add -t master -f origin https://github.com/gramps-project/gramps.git<br />
git checkout master<br />
</pre><br />
Check which Gramps version is used<br />
<pre><br />
git describe<br />
</pre><br />
it should return something like:<br />
<blockquote><br />
v5.0.0-alpha1-1024-g0919763f1<br />
</blockquote><br />
===Setup source===<br />
Before using Gramps you must set-it up.<br />
<br>You just use '''setup build''' command not '''install''' one<br />
<pre><br />
python3 setup.py build<br />
</pre><br />
==Run Gramps==<br />
Start mingw64 shell and go to directory where Gramps source reside<br />
<pre><br />
cd ~/grampsdev<br />
</pre><br />
Use python3 to start Gramps<br />
<br>To check gramps version use "v" flag<br />
<pre><br />
python3 Gramps.py -v<br />
</pre><br />
It should return something like:<br />
<pre><br />
Gramps Settings:<br />
----------------<br />
python : 3.5.3<br />
gramps : 5.0.0-alpha1-0919763f1<br />
gtk++ : 3.22.9<br />
pygobject : 3.22.0<br />
pango : 1.40.3<br />
cairo : 1.15.4<br />
pycairo : 1.1.10<br />
osmgpsmap : 1.0<br />
GExiv2 : 0.10<br />
ICU : 57.1<br />
PyICU : 1.9.3<br />
o.s. : win32<br />
<br />
Non-python dependencies:<br />
------------------------<br />
Graphviz : Graphviz not in system PATH<br />
Ghostscr. : 9.20<br />
</pre><br />
Run Gramps<br />
<pre><br />
python3 Gramps.py<br />
</pre><br />
==Building and updating MSYS2/MinGW packages==<br />
===Install build tools===<br />
<pre><br />
pacman -S --needed --noconfirm base-devel mingw-w64-x86_64-toolchain<br />
</pre><br />
[https://github.com/Alexpux/MINGW-packages MINGW-packages recipes] are on GitHub so you can use git to clone it. If instead you want to access recipe one by one you can download it with Subversion so install it first<br />
<pre><br />
pacman -S subversion<br />
</pre><br />
We need a place to download and build from source code so we will create folder called "build" inside our home folder<br />
<pre><br />
mkdir ~/build<br />
</pre><br />
To prevent pacman to upgrade packages we rebuilt for our needs we can assign them to group '''gramps_fixed''' and add them to IgnoreGroup list.<br />
Open in text editor file ''etc/pacman.conf'' (C:\MSYS2\etc\pacman.conf) and add line ''IgnoreGroup = gramps_fixed'' to ''options'' section.<br />
<pre><br />
[options]<br />
IgnoreGroup = gramps_fixed<br />
</pre><br />
===db===<br />
GrampsAIO uses Oracle Berkeley DB version 6.0.30 but MSYS2 have it at version 6.0.19 and most probably never update it to a newer version.<br />
<br>Gramps will ask permission to downgrade database version at import of any family tree created with GrampsAIO bundle. To prevent that build right version of DB.<br />
<br>You can do it in easy way by downloading prebuilt package or hard way by building it yourself.<br />
<br>Start ''msys2 shell'' and type (easy way):<br />
<pre><br />
cd ~/build<br />
wget https://github.com/bpisoj/MINGW-packages/releases/download/v5.0/mingw-w64-x86_64-db-6.0.30-1-any.pkg.tar.xz<br />
pacman -U mingw-w64-x86_64-db-6.0.30-1-any.pkg.tar.xz<br />
</pre><br />
Hard way (it can take some time to finish)<br />
<pre><br />
cd ~/build<br />
svn checkout https://github.com/bpisoj/MINGW-packages/branches/gramps5/mingw-w64-db<br />
cd mingw-w64-db<br />
MINGW_INSTALLS=mingw64 makepkg-mingw -sLf<br />
pacman -U mingw-w64-x86_64-db-6.0.30-1-any.pkg.tar.xz<br />
</pre><br />
<br />
===bsddb3===<br />
As db version is changed then we have to rebuild Python bindings for Oracle Berkeley DB<br />
<br>From ''msys2 shell'' (easy way):<br />
<pre><br />
cd ~/build<br />
wget https://github.com/bpisoj/MINGW-packages/releases/download/v5.0/mingw-w64-x86_64-python3-bsddb3-6.1.0-3.1-any.pkg.tar.xz<br />
pacman -U mingw-w64-x86_64-python3-bsddb3-6.1.0-3.1-any.pkg.tar.xz<br />
</pre><br />
Or hard way:<br />
<pre><br />
cd ~/build<br />
svn checkout https://github.com/bpisoj/MINGW-packages/branches/gramps5/mingw-w64-python-bsddb3<br />
cd mingw-w64-python-bsddb3<br />
MINGW_INSTALLS=mingw64 makepkg-mingw -sLf<br />
pacman -U mingw-w64-x86_64-python3-bsddb3-6.1.0-3.1-any.pkg.tar.xz<br />
</pre><br />
<br />
===gtk3===<br />
[https://www.gtk.org/ GTK+] since version 3.20 drag-and-drop code has been rearchitected to move the drag cancel animation and most input handling into GDK, thereby dropping most of the platform-dependent code out of GTK (MSYS2 version of GTK is currently 3.22.10). This change is not yet present in Windows port of code so we have to use older GTK version 3.18 where it still works.<br />
<br>Latest in gtk-3.18 branch is gtk-3.18.9 (previous versions of this branch have working dnd but have other bugs) so we build that.<br />
<pre><br />
cd ~/build<br />
svn checkout https://github.com/bpisoj/MINGW-packages/branches/gramps5/mingw-w64-gtk3<br />
cd mingw-w64-gtk3<br />
MINGW_INSTALLS=mingw64 makepkg-mingw -sLf<br />
pacman -U mingw-w64-x86_64-gtk3-3.18.9-1-any.pkg.tar.xz<br />
</pre><br />
<br />
===graphviz===<br />
* TODO<br />
===osmgpsmap===<br />
As of 2017.03.21 package mingw-w64-osmgpsmap-git (r443.c24d08d-1) is outdated due to changes in MINGW-packages repository so Gramps GeoView will fail to work.<br />
<br>We will rebuild him!<br />
<br>Start '''msys2 shell''' (always build package recipes from msys2 shell)<br />
<br>Easy way:<br />
<pre><br />
cd ~/build<br />
wget https://github.com/bpisoj/MINGW-packages/releases/download/v5.0/mingw-w64-x86_64-osmgpsmap-git-r483.d275a5d-1-any.pkg.tar.xz<br />
pacman -U mingw-w64-x86_64-osmgpsmap-git-r483.d275a5d-1-any.pkg.tar.xz<br />
</pre><br />
Hard way:<br />
<pre><br />
cd ~/build<br />
svn checkout https://github.com/Alexpux/MINGW-packages/trunk/mingw-w64-osmgpsmap-git<br />
cd mingw-w64-osmgpsmap-git<br />
sed -i 's/patch -p1 -i/#patch -p1 -i/' PKGBUILD<br />
MINGW_INSTALLS=mingw64 makepkg-mingw -sLf<br />
pacman -U mingw-w64-x86_64-osmgpsmap-git-r483.d275a5d-1-any.pkg.tar.xz<br />
</pre><br />
<br />
==Issue==<br />
===Graphviz===<br />
* No Graphviz see: [https://github.com/Alexpux/MINGW-packages/issues/737 MSYS2:Package request: graphviz] <br />
** Marked as WIP see: https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-graphviz<br />
<br />
====Alternate method using Windows version of Graphviz====<br />
Tested alternate method to use Windows version of Graphviz[http://felsin9.de/nnis/ghc-vis/installing-windows/]<br />
{{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.}}<br />
<br />
<i>Download the current GraphViz ZIP archive from http://www.graphviz.org/Download_windows.php and extract it to C:\graphviz, so that it directly contains the directories bin, lib, share and so on.</i><br />
<br />
From the msys2 prompt type:<br />
<pre><br />
echo 'export PATH=/c/graphviz/bin:$PATH' >> ~/.bashrc<br />
source ~/.bashrc<br />
</pre><br />
Then type:<br />
<br />
python3 Gramps.py -v<br />
<br />
and Graphviz will be listed.<br />
<br />
<pre>Non-python dependencies:<br />
------------------------<br />
Graphviz : 2.38<br />
</pre><br />
<br />
===osmgpsmap===<br />
The MSYS2 version of osmgpsmap has issues eg:<br />
(python3.exe:348): WARNING **: Failed to load shared library 'libosmgpsmap-1.0-0.dll' referenced by the typelib: 'libosmgpsmap-1.0-0.dll': The specified procedure could not be found.<br />
<br />
You can uninstall osmgpsmap package with:<br />
<br />
pacman -R mingw-w64-x86_64-osmgpsmap-git<br />
<br />
==Install Python pip==<br />
To install a working version of pip use the following steps:<br />
<br />
<pre> <br />
mkdir ~/scripts<br />
cd ~/scripts<br />
curl -O 'https://bootstrap.pypa.io/get-pip.py'<br />
./get-pip.py<br />
</pre> <br />
<br />
Test that it works:<br />
<br />
pip3 --version<br />
<br />
If that succeeds you can now remove the installation script if wanted:<br />
<br />
rm get-pip.py<br />
<br />
==Keep your GRAMPSHOME separate==<br />
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:<br />
<br />
On each run like:<br />
<br />
GRAMPSHOME=~ python3 Gramps.py<br />
<br />
If you want it persistent:<br />
<br />
echo 'export GRAMPSHOME=~' >> ~/.profile<br />
source ~/.profile<br />
<br />
==See also==<br />
* [[Running a development version of Gramps]]<br />
* [http://gramps.1791082.n4.nabble.com/Gramps-on-WSL-Win10-Ubuntu-14-04-VcXsvr-td4676752.html Gramps on WSL (Win10/Ubuntu 14.04/VcXsvr)]<br />
<br />
[[Category:GEPS|M]]<br />
[[Category:Developers/General]]</div>Josipsfhttps://www.gramps-project.org/wiki/index.php?title=Gramps_for_Windows_with_MSYS2&diff=63605Gramps for Windows with MSYS22017-03-26T19:42:58Z<p>Josipsf: /* bsddb3 */</p>
<hr />
<div>{{man warn|1=Warning|2=Do not open your existing databases with the master branch, it might destroy your data, and will make it impossible to use the data in the stable version {{stable_branch}}. To try it out, export your database to a gramps xml file, eg <code>test_master.gramps</code>, create a new family tree in the master branch, and import this xml file.<br>Alternatively you can [[Gramps_for_Windows_with_MSYS2#Keep_your_GRAMPSHOME_separate|Keep your GRAMPSHOME separate]] }}<br />
<br />
How to use MSYS2 to run latest Gramps development version from source in 64bit Windows.<br />
<br />
In similar way you can build the 32bit version<br />
<br />
==Install MSYS2==<br />
<br />
{{man note|Installation restrictions|MSYS2 can't be installed on FAT* partitions.<br>Current MSYS2 can't be installed on Windows XP anymore.}}<br />
<br />
From the MSYS2 home page http://www.msys2.org download [http://repo.msys2.org/distrib/x86_64/msys2-x86_64-20161025.exe MSYS2 64bit] installer and run it.<br />
<br />
Install it in short path like <code>C:\msys64</code><br />
<br />
At the end of install select to run mingw64 shell eg: use the '''MSYS2 MinGW 64-bit''' shortcut.<br />
<br />
===Update MSYS2===<br />
First keep running the following command(multiple times) until it has updated the list of packages and updated all core packages nothing else to do: <br />
<br />
<pre><br />
pacman -Syuu<br />
</pre><br />
<br />
If core packages are updated you must close the mingw64 shell (forcefully with close button, not just typing exit on it) and then restart the mingw64 shell from the shortcut.<br />
<br />
===Install Gramps dependencies===<br />
Start mingw64 shell and use '''pacman''' package manager to download and install Gramps dependencies<br />
<br />
<pre><br />
pacman -S mingw-w64-x86_64-python3-bsddb3 mingw-w64-x86_64-gexiv2 mingw-w64-x86_64-ghostscript mingw-w64-x86_64-python3-cairo mingw-w64-x86_64-python3-gobject mingw-w64-x86_64-python3-icu mingw-w64-x86_64-iso-codes mingw-w64-x86_64-hunspell mingw-w64-x86_64-hunspell-en mingw-w64-x86_64-enchant<br />
</pre><br />
<br />
To handle the following warning '''No intltool or version < 0.25.0, build_intl is aborting''' install:<br />
pacman -S intltool<br />
<br />
You will also need the following to run the test:<br />
<pre><br />
pacman -S mingw-w64-x86_64-python3-lxml<br />
pacman -S mingw-w64-x86_64-python3-jsonschema<br />
</pre><br />
<br />
To use the Graph reports follow the alternate instructions to install [[Gramps_for_Windows_with_MSYS2#Issue|Graphviz]] and to run the Graph View addon also install:<br />
<pre><br />
pacman -S mingw-w64-x86_64-goocanvas<br />
</pre><br />
<br />
{{man warn|osmgpsmap not working|When [[Gramps_for_Windows_with_MSYS2#osmgpsmap_2|fixed]] you will be able to install osmgpsmap for the Geography Views with the following command:<br><code>pacman -S mingw-w64-x86_64-osmgpsmap-git</code>}}<br />
<br />
===Install Git===<br />
<pre><br />
pacman -S msys/git<br />
</pre><br />
<br />
==Install Gramps==<br />
===Prepare source===<br />
Create directory to store Gramps source in and go to it<br />
<pre><br />
mkdir ~/grampsdev<br />
cd ~/grampsdev<br />
</pre><br />
<br />
===Download source===<br />
Download Gramps master branch from source repository<br />
<pre><br />
git init<br />
git remote add -t master -f origin https://github.com/gramps-project/gramps.git<br />
git checkout master<br />
</pre><br />
Check which Gramps version is used<br />
<pre><br />
git describe<br />
</pre><br />
it should return something like:<br />
<blockquote><br />
v5.0.0-alpha1-1024-g0919763f1<br />
</blockquote><br />
===Setup source===<br />
Before using Gramps you must set-it up.<br />
<br>You just use '''setup build''' command not '''install''' one<br />
<pre><br />
python3 setup.py build<br />
</pre><br />
==Run Gramps==<br />
Start mingw64 shell and go to directory where Gramps source reside<br />
<pre><br />
cd ~/grampsdev<br />
</pre><br />
Use python3 to start Gramps<br />
<br>To check gramps version use "v" flag<br />
<pre><br />
python3 Gramps.py -v<br />
</pre><br />
It should return something like:<br />
<pre><br />
Gramps Settings:<br />
----------------<br />
python : 3.5.3<br />
gramps : 5.0.0-alpha1-0919763f1<br />
gtk++ : 3.22.9<br />
pygobject : 3.22.0<br />
pango : 1.40.3<br />
cairo : 1.15.4<br />
pycairo : 1.1.10<br />
osmgpsmap : 1.0<br />
GExiv2 : 0.10<br />
ICU : 57.1<br />
PyICU : 1.9.3<br />
o.s. : win32<br />
<br />
Non-python dependencies:<br />
------------------------<br />
Graphviz : Graphviz not in system PATH<br />
Ghostscr. : 9.20<br />
</pre><br />
Run Gramps<br />
<pre><br />
python3 Gramps.py<br />
</pre><br />
==Building and updating MSYS2/MinGW packages==<br />
===Install build tools===<br />
<pre><br />
pacman -S --needed --noconfirm base-devel mingw-w64-x86_64-toolchain<br />
</pre><br />
[https://github.com/Alexpux/MINGW-packages MINGW-packages recipes] are on GitHub so you can use git to clone it. If instead you want to access recipe one by one you can download it with Subversion so install it first<br />
<pre><br />
pacman -S subversion<br />
</pre><br />
We need a place to download and build from source code so we will create folder called "build" inside our home folder<br />
<pre><br />
mkdir ~/build<br />
</pre><br />
To prevent pacman to upgrade packages we rebuilt for our needs we can assign them to group '''gramps_fixed''' and add them to IgnoreGroup list.<br />
Open in text editor file ''etc/pacman.conf'' (C:\MSYS2\etc\pacman.conf) and add line ''IgnoreGroup = gramps_fixed'' to ''options'' section.<br />
<pre><br />
[options]<br />
IgnoreGroup = gramps_fixed<br />
</pre><br />
===db===<br />
GrampsAIO uses Oracle Berkeley DB version 6.0.30 but MSYS2 have it at version 6.0.19 and most probably never update it to a newer version.<br />
<br>Gramps will ask permission to downgrade database version at import of any family tree created with GrampsAIO bundle. To prevent that build right version of DB.<br />
<br>You can do it in easy way by downloading prebuilt package or hard way by building it yourself.<br />
<br>Start ''msys2 shell'' and type (easy way):<br />
<pre><br />
cd ~/build<br />
wget https://github.com/bpisoj/MINGW-packages/releases/download/v5.0/mingw-w64-x86_64-db-6.0.30-1-any.pkg.tar.xz<br />
pacman -U mingw-w64-x86_64-db-6.0.30-1-any.pkg.tar.xz<br />
</pre><br />
Hard way (it can take some time to finish)<br />
<pre><br />
cd ~/build<br />
svn checkout https://github.com/bpisoj/MINGW-packages/branches/gramps5/mingw-w64-db<br />
cd mingw-w64-db<br />
MINGW_INSTALLS=mingw64 makepkg-mingw -sLf<br />
pacman -U mingw-w64-x86_64-db-6.0.30-1-any.pkg.tar.xz<br />
</pre><br />
<br />
===bsddb3===<br />
As db version is changed then we have to rebuild Python bindings for Oracle Berkeley DB<br />
<br>From ''msys2 shell'' (easy way):<br />
<pre><br />
cd ~/build<br />
wget https://github.com/bpisoj/MINGW-packages/releases/download/v5.0/mingw-w64-x86_64-python3-bsddb3-6.1.0-3.1-any.pkg.tar.xz<br />
pacman -U mingw-w64-x86_64-python3-bsddb3-6.1.0-3.1-any.pkg.tar.xz<br />
</pre><br />
Or hard way:<br />
<pre><br />
cd ~/build<br />
svn checkout https://github.com/bpisoj/MINGW-packages/branches/gramps5/mingw-w64-python-bsddb3<br />
cd mingw-w64-python-bsddb3<br />
MINGW_INSTALLS=mingw64 makepkg-mingw -sLf<br />
pacman -U mingw-w64-x86_64-python3-bsddb3-6.1.0-3.1-any.pkg.tar.xz<br />
</pre><br />
<br />
===gtk3===<br />
[https://www.gtk.org/ GTK+] since version 3.20 drag-and-drop code has been rearchitected to move the drag cancel animation and most input handling into GDK, thereby dropping most of the platform-dependent code out of GTK (MSYS2 version of GTK is currently 3.22.10). This change is not yet present in Windows port of code so we have to use older GTK version 3.18 where it still works.<br />
<br>Latest in gtk-3.18 branch is gtk-3.18.9 (previous versions of this branch have working dnd but have other bugs) so we build that.<br />
<pre><br />
cd ~/build<br />
svn checkout https://github.com/bpisoj/MINGW-packages/branches/gramps5/mingw-w64-gtk3<br />
cd mingw-w64-gtk3<br />
MINGW_INSTALLS=mingw64 makepkg-mingw -sLf<br />
pacman -U mingw-w64-x86_64-gtk3-3.18.9-1-any.pkg.tar.xz<br />
</pre><br />
<br />
===graphviz===<br />
* TODO<br />
===osmgpsmap===<br />
As of 2017.03.21 package mingw-w64-osmgpsmap-git (r443.c24d08d-1) is outdated due to changes in MINGW-packages repository so Gramps GeoView will fail to work.<br />
<br>We will rebuild him!<br />
<br>Start '''msys2 shell''' (always build package recipes from msys2 shell)<br />
<pre><br />
cd ~/build<br />
svn checkout https://github.com/Alexpux/MINGW-packages/trunk/mingw-w64-osmgpsmap-git<br />
cd mingw-w64-osmgpsmap-git<br />
sed -i 's/patch -p1 -i/#patch -p1 -i/' PKGBUILD<br />
MINGW_INSTALLS=mingw64 makepkg-mingw -sLf<br />
</pre><br />
When (If) package is successfully built install it with<br />
<pre><br />
pacman -U mingw-w64-x86_64-osmgpsmap-git-r483.d275a5d-1-any.pkg.tar.xz<br />
</pre><br />
<br />
==Issue==<br />
===Graphviz===<br />
* No Graphviz see: [https://github.com/Alexpux/MINGW-packages/issues/737 MSYS2:Package request: graphviz] <br />
** Marked as WIP see: https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-graphviz<br />
<br />
====Alternate method using Windows version of Graphviz====<br />
Tested alternate method to use Windows version of Graphviz[http://felsin9.de/nnis/ghc-vis/installing-windows/]<br />
{{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.}}<br />
<br />
<i>Download the current GraphViz ZIP archive from http://www.graphviz.org/Download_windows.php and extract it to C:\graphviz, so that it directly contains the directories bin, lib, share and so on.</i><br />
<br />
From the msys2 prompt type:<br />
<pre><br />
echo 'export PATH=/c/graphviz/bin:$PATH' >> ~/.bashrc<br />
source ~/.bashrc<br />
</pre><br />
Then type:<br />
<br />
python3 Gramps.py -v<br />
<br />
and Graphviz will be listed.<br />
<br />
<pre>Non-python dependencies:<br />
------------------------<br />
Graphviz : 2.38<br />
</pre><br />
<br />
===osmgpsmap===<br />
The MSYS2 version of osmgpsmap has issues eg:<br />
(python3.exe:348): WARNING **: Failed to load shared library 'libosmgpsmap-1.0-0.dll' referenced by the typelib: 'libosmgpsmap-1.0-0.dll': The specified procedure could not be found.<br />
<br />
You can uninstall osmgpsmap package with:<br />
<br />
pacman -R mingw-w64-x86_64-osmgpsmap-git<br />
<br />
==Install Python pip==<br />
To install a working version of pip use the following steps:<br />
<br />
<pre> <br />
mkdir ~/scripts<br />
cd ~/scripts<br />
curl -O 'https://bootstrap.pypa.io/get-pip.py'<br />
./get-pip.py<br />
</pre> <br />
<br />
Test that it works:<br />
<br />
pip3 --version<br />
<br />
If that succeeds you can now remove the installation script if wanted:<br />
<br />
rm get-pip.py<br />
<br />
==Keep your GRAMPSHOME separate==<br />
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:<br />
<br />
On each run like:<br />
<br />
GRAMPSHOME=~ python3 Gramps.py<br />
<br />
If you want it persistent:<br />
<br />
echo 'export GRAMPSHOME=~' >> ~/.profile<br />
source ~/.profile<br />
<br />
==See also==<br />
* [[Running a development version of Gramps]]<br />
* [http://gramps.1791082.n4.nabble.com/Gramps-on-WSL-Win10-Ubuntu-14-04-VcXsvr-td4676752.html Gramps on WSL (Win10/Ubuntu 14.04/VcXsvr)]<br />
<br />
[[Category:GEPS|M]]<br />
[[Category:Developers/General]]</div>Josipsfhttps://www.gramps-project.org/wiki/index.php?title=Gramps_for_Windows_with_MSYS2&diff=63604Gramps for Windows with MSYS22017-03-26T19:40:04Z<p>Josipsf: /* db */</p>
<hr />
<div>{{man warn|1=Warning|2=Do not open your existing databases with the master branch, it might destroy your data, and will make it impossible to use the data in the stable version {{stable_branch}}. To try it out, export your database to a gramps xml file, eg <code>test_master.gramps</code>, create a new family tree in the master branch, and import this xml file.<br>Alternatively you can [[Gramps_for_Windows_with_MSYS2#Keep_your_GRAMPSHOME_separate|Keep your GRAMPSHOME separate]] }}<br />
<br />
How to use MSYS2 to run latest Gramps development version from source in 64bit Windows.<br />
<br />
In similar way you can build the 32bit version<br />
<br />
==Install MSYS2==<br />
<br />
{{man note|Installation restrictions|MSYS2 can't be installed on FAT* partitions.<br>Current MSYS2 can't be installed on Windows XP anymore.}}<br />
<br />
From the MSYS2 home page http://www.msys2.org download [http://repo.msys2.org/distrib/x86_64/msys2-x86_64-20161025.exe MSYS2 64bit] installer and run it.<br />
<br />
Install it in short path like <code>C:\msys64</code><br />
<br />
At the end of install select to run mingw64 shell eg: use the '''MSYS2 MinGW 64-bit''' shortcut.<br />
<br />
===Update MSYS2===<br />
First keep running the following command(multiple times) until it has updated the list of packages and updated all core packages nothing else to do: <br />
<br />
<pre><br />
pacman -Syuu<br />
</pre><br />
<br />
If core packages are updated you must close the mingw64 shell (forcefully with close button, not just typing exit on it) and then restart the mingw64 shell from the shortcut.<br />
<br />
===Install Gramps dependencies===<br />
Start mingw64 shell and use '''pacman''' package manager to download and install Gramps dependencies<br />
<br />
<pre><br />
pacman -S mingw-w64-x86_64-python3-bsddb3 mingw-w64-x86_64-gexiv2 mingw-w64-x86_64-ghostscript mingw-w64-x86_64-python3-cairo mingw-w64-x86_64-python3-gobject mingw-w64-x86_64-python3-icu mingw-w64-x86_64-iso-codes mingw-w64-x86_64-hunspell mingw-w64-x86_64-hunspell-en mingw-w64-x86_64-enchant<br />
</pre><br />
<br />
To handle the following warning '''No intltool or version < 0.25.0, build_intl is aborting''' install:<br />
pacman -S intltool<br />
<br />
You will also need the following to run the test:<br />
<pre><br />
pacman -S mingw-w64-x86_64-python3-lxml<br />
pacman -S mingw-w64-x86_64-python3-jsonschema<br />
</pre><br />
<br />
To use the Graph reports follow the alternate instructions to install [[Gramps_for_Windows_with_MSYS2#Issue|Graphviz]] and to run the Graph View addon also install:<br />
<pre><br />
pacman -S mingw-w64-x86_64-goocanvas<br />
</pre><br />
<br />
{{man warn|osmgpsmap not working|When [[Gramps_for_Windows_with_MSYS2#osmgpsmap_2|fixed]] you will be able to install osmgpsmap for the Geography Views with the following command:<br><code>pacman -S mingw-w64-x86_64-osmgpsmap-git</code>}}<br />
<br />
===Install Git===<br />
<pre><br />
pacman -S msys/git<br />
</pre><br />
<br />
==Install Gramps==<br />
===Prepare source===<br />
Create directory to store Gramps source in and go to it<br />
<pre><br />
mkdir ~/grampsdev<br />
cd ~/grampsdev<br />
</pre><br />
<br />
===Download source===<br />
Download Gramps master branch from source repository<br />
<pre><br />
git init<br />
git remote add -t master -f origin https://github.com/gramps-project/gramps.git<br />
git checkout master<br />
</pre><br />
Check which Gramps version is used<br />
<pre><br />
git describe<br />
</pre><br />
it should return something like:<br />
<blockquote><br />
v5.0.0-alpha1-1024-g0919763f1<br />
</blockquote><br />
===Setup source===<br />
Before using Gramps you must set-it up.<br />
<br>You just use '''setup build''' command not '''install''' one<br />
<pre><br />
python3 setup.py build<br />
</pre><br />
==Run Gramps==<br />
Start mingw64 shell and go to directory where Gramps source reside<br />
<pre><br />
cd ~/grampsdev<br />
</pre><br />
Use python3 to start Gramps<br />
<br>To check gramps version use "v" flag<br />
<pre><br />
python3 Gramps.py -v<br />
</pre><br />
It should return something like:<br />
<pre><br />
Gramps Settings:<br />
----------------<br />
python : 3.5.3<br />
gramps : 5.0.0-alpha1-0919763f1<br />
gtk++ : 3.22.9<br />
pygobject : 3.22.0<br />
pango : 1.40.3<br />
cairo : 1.15.4<br />
pycairo : 1.1.10<br />
osmgpsmap : 1.0<br />
GExiv2 : 0.10<br />
ICU : 57.1<br />
PyICU : 1.9.3<br />
o.s. : win32<br />
<br />
Non-python dependencies:<br />
------------------------<br />
Graphviz : Graphviz not in system PATH<br />
Ghostscr. : 9.20<br />
</pre><br />
Run Gramps<br />
<pre><br />
python3 Gramps.py<br />
</pre><br />
==Building and updating MSYS2/MinGW packages==<br />
===Install build tools===<br />
<pre><br />
pacman -S --needed --noconfirm base-devel mingw-w64-x86_64-toolchain<br />
</pre><br />
[https://github.com/Alexpux/MINGW-packages MINGW-packages recipes] are on GitHub so you can use git to clone it. If instead you want to access recipe one by one you can download it with Subversion so install it first<br />
<pre><br />
pacman -S subversion<br />
</pre><br />
We need a place to download and build from source code so we will create folder called "build" inside our home folder<br />
<pre><br />
mkdir ~/build<br />
</pre><br />
To prevent pacman to upgrade packages we rebuilt for our needs we can assign them to group '''gramps_fixed''' and add them to IgnoreGroup list.<br />
Open in text editor file ''etc/pacman.conf'' (C:\MSYS2\etc\pacman.conf) and add line ''IgnoreGroup = gramps_fixed'' to ''options'' section.<br />
<pre><br />
[options]<br />
IgnoreGroup = gramps_fixed<br />
</pre><br />
===db===<br />
GrampsAIO uses Oracle Berkeley DB version 6.0.30 but MSYS2 have it at version 6.0.19 and most probably never update it to a newer version.<br />
<br>Gramps will ask permission to downgrade database version at import of any family tree created with GrampsAIO bundle. To prevent that build right version of DB.<br />
<br>You can do it in easy way by downloading prebuilt package or hard way by building it yourself.<br />
<br>Start ''msys2 shell'' and type (easy way):<br />
<pre><br />
cd ~/build<br />
wget https://github.com/bpisoj/MINGW-packages/releases/download/v5.0/mingw-w64-x86_64-db-6.0.30-1-any.pkg.tar.xz<br />
pacman -U mingw-w64-x86_64-db-6.0.30-1-any.pkg.tar.xz<br />
</pre><br />
Hard way (it can take some time to finish)<br />
<pre><br />
cd ~/build<br />
svn checkout https://github.com/bpisoj/MINGW-packages/branches/gramps5/mingw-w64-db<br />
cd mingw-w64-db<br />
MINGW_INSTALLS=mingw64 makepkg-mingw -sLf<br />
pacman -U mingw-w64-x86_64-db-6.0.30-1-any.pkg.tar.xz<br />
</pre><br />
<br />
===bsddb3===<br />
As db version is changed then we have to rebuild Python bindings for Oracle Berkeley DB<br />
<br>From ''msys2 shell'':<br />
<pre><br />
cd ~/build<br />
svn checkout https://github.com/bpisoj/MINGW-packages/branches/gramps5/mingw-w64-python-bsddb3<br />
cd mingw-w64-python-bsddb3<br />
MINGW_INSTALLS=mingw64 makepkg-mingw -sLf<br />
pacman -U mingw-w64-x86_64-python3-bsddb3-6.1.0-3.1-any.pkg.tar.xz<br />
</pre><br />
===gtk3===<br />
[https://www.gtk.org/ GTK+] since version 3.20 drag-and-drop code has been rearchitected to move the drag cancel animation and most input handling into GDK, thereby dropping most of the platform-dependent code out of GTK (MSYS2 version of GTK is currently 3.22.10). This change is not yet present in Windows port of code so we have to use older GTK version 3.18 where it still works.<br />
<br>Latest in gtk-3.18 branch is gtk-3.18.9 (previous versions of this branch have working dnd but have other bugs) so we build that.<br />
<pre><br />
cd ~/build<br />
svn checkout https://github.com/bpisoj/MINGW-packages/branches/gramps5/mingw-w64-gtk3<br />
cd mingw-w64-gtk3<br />
MINGW_INSTALLS=mingw64 makepkg-mingw -sLf<br />
pacman -U mingw-w64-x86_64-gtk3-3.18.9-1-any.pkg.tar.xz<br />
</pre><br />
<br />
===graphviz===<br />
* TODO<br />
===osmgpsmap===<br />
As of 2017.03.21 package mingw-w64-osmgpsmap-git (r443.c24d08d-1) is outdated due to changes in MINGW-packages repository so Gramps GeoView will fail to work.<br />
<br>We will rebuild him!<br />
<br>Start '''msys2 shell''' (always build package recipes from msys2 shell)<br />
<pre><br />
cd ~/build<br />
svn checkout https://github.com/Alexpux/MINGW-packages/trunk/mingw-w64-osmgpsmap-git<br />
cd mingw-w64-osmgpsmap-git<br />
sed -i 's/patch -p1 -i/#patch -p1 -i/' PKGBUILD<br />
MINGW_INSTALLS=mingw64 makepkg-mingw -sLf<br />
</pre><br />
When (If) package is successfully built install it with<br />
<pre><br />
pacman -U mingw-w64-x86_64-osmgpsmap-git-r483.d275a5d-1-any.pkg.tar.xz<br />
</pre><br />
<br />
==Issue==<br />
===Graphviz===<br />
* No Graphviz see: [https://github.com/Alexpux/MINGW-packages/issues/737 MSYS2:Package request: graphviz] <br />
** Marked as WIP see: https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-graphviz<br />
<br />
====Alternate method using Windows version of Graphviz====<br />
Tested alternate method to use Windows version of Graphviz[http://felsin9.de/nnis/ghc-vis/installing-windows/]<br />
{{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.}}<br />
<br />
<i>Download the current GraphViz ZIP archive from http://www.graphviz.org/Download_windows.php and extract it to C:\graphviz, so that it directly contains the directories bin, lib, share and so on.</i><br />
<br />
From the msys2 prompt type:<br />
<pre><br />
echo 'export PATH=/c/graphviz/bin:$PATH' >> ~/.bashrc<br />
source ~/.bashrc<br />
</pre><br />
Then type:<br />
<br />
python3 Gramps.py -v<br />
<br />
and Graphviz will be listed.<br />
<br />
<pre>Non-python dependencies:<br />
------------------------<br />
Graphviz : 2.38<br />
</pre><br />
<br />
===osmgpsmap===<br />
The MSYS2 version of osmgpsmap has issues eg:<br />
(python3.exe:348): WARNING **: Failed to load shared library 'libosmgpsmap-1.0-0.dll' referenced by the typelib: 'libosmgpsmap-1.0-0.dll': The specified procedure could not be found.<br />
<br />
You can uninstall osmgpsmap package with:<br />
<br />
pacman -R mingw-w64-x86_64-osmgpsmap-git<br />
<br />
==Install Python pip==<br />
To install a working version of pip use the following steps:<br />
<br />
<pre> <br />
mkdir ~/scripts<br />
cd ~/scripts<br />
curl -O 'https://bootstrap.pypa.io/get-pip.py'<br />
./get-pip.py<br />
</pre> <br />
<br />
Test that it works:<br />
<br />
pip3 --version<br />
<br />
If that succeeds you can now remove the installation script if wanted:<br />
<br />
rm get-pip.py<br />
<br />
==Keep your GRAMPSHOME separate==<br />
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:<br />
<br />
On each run like:<br />
<br />
GRAMPSHOME=~ python3 Gramps.py<br />
<br />
If you want it persistent:<br />
<br />
echo 'export GRAMPSHOME=~' >> ~/.profile<br />
source ~/.profile<br />
<br />
==See also==<br />
* [[Running a development version of Gramps]]<br />
* [http://gramps.1791082.n4.nabble.com/Gramps-on-WSL-Win10-Ubuntu-14-04-VcXsvr-td4676752.html Gramps on WSL (Win10/Ubuntu 14.04/VcXsvr)]<br />
<br />
[[Category:GEPS|M]]<br />
[[Category:Developers/General]]</div>Josipsfhttps://www.gramps-project.org/wiki/index.php?title=Gramps_for_Windows_with_MSYS2&diff=63603Gramps for Windows with MSYS22017-03-25T14:33:30Z<p>Josipsf: /* gtk3 */</p>
<hr />
<div>{{man warn|1=Warning|2=Do not open your existing databases with the master branch, it might destroy your data, and will make it impossible to use the data in the stable version {{stable_branch}}. To try it out, export your database to a gramps xml file, eg <code>test_master.gramps</code>, create a new family tree in the master branch, and import this xml file.<br>Alternatively you can [[Gramps_for_Windows_with_MSYS2#Keep_your_GRAMPSHOME_separate|Keep your GRAMPSHOME separate]] }}<br />
<br />
How to use MSYS2 to run latest Gramps development version from source in 64bit Windows.<br />
<br />
In similar way you can build the 32bit version<br />
<br />
==Install MSYS2==<br />
<br />
{{man note|Installation restrictions|MSYS2 can't be installed on FAT* partitions.<br>Current MSYS2 can't be installed on Windows XP anymore.}}<br />
<br />
From the MSYS2 home page http://www.msys2.org download [http://repo.msys2.org/distrib/x86_64/msys2-x86_64-20161025.exe MSYS2 64bit] installer and run it.<br />
<br />
Install it in short path like <code>C:\msys64</code><br />
<br />
At the end of install select to run mingw64 shell eg: use the '''MSYS2 MinGW 64-bit''' shortcut.<br />
<br />
===Update MSYS2===<br />
First keep running the following command(multiple times) until it has updated the list of packages and updated all core packages nothing else to do: <br />
<br />
<pre><br />
pacman -Syuu<br />
</pre><br />
<br />
If core packages are updated you must close the mingw64 shell (forcefully with close button, not just typing exit on it) and then restart the mingw64 shell from the shortcut.<br />
<br />
===Install Gramps dependencies===<br />
Start mingw64 shell and use '''pacman''' package manager to download and install Gramps dependencies<br />
<br />
<pre><br />
pacman -S mingw-w64-x86_64-python3-bsddb3 mingw-w64-x86_64-gexiv2 mingw-w64-x86_64-ghostscript mingw-w64-x86_64-python3-cairo mingw-w64-x86_64-python3-gobject mingw-w64-x86_64-python3-icu mingw-w64-x86_64-iso-codes mingw-w64-x86_64-hunspell mingw-w64-x86_64-hunspell-en mingw-w64-x86_64-enchant<br />
</pre><br />
<br />
To handle the following warning '''No intltool or version < 0.25.0, build_intl is aborting''' install:<br />
pacman -S intltool<br />
<br />
You will also need the following to run the test:<br />
<pre><br />
pacman -S mingw-w64-x86_64-python3-lxml<br />
pacman -S mingw-w64-x86_64-python3-jsonschema<br />
</pre><br />
<br />
To use the Graph reports follow the alternate instructions to install [[Gramps_for_Windows_with_MSYS2#Issue|Graphviz]] and to run the Graph View addon also install:<br />
<pre><br />
pacman -S mingw-w64-x86_64-goocanvas<br />
</pre><br />
<br />
{{man warn|osmgpsmap not working|When [[Gramps_for_Windows_with_MSYS2#osmgpsmap_2|fixed]] you will be able to install osmgpsmap for the Geography Views with the following command:<br><code>pacman -S mingw-w64-x86_64-osmgpsmap-git</code>}}<br />
<br />
===Install Git===<br />
<pre><br />
pacman -S msys/git<br />
</pre><br />
<br />
==Install Gramps==<br />
===Prepare source===<br />
Create directory to store Gramps source in and go to it<br />
<pre><br />
mkdir ~/grampsdev<br />
cd ~/grampsdev<br />
</pre><br />
<br />
===Download source===<br />
Download Gramps master branch from source repository<br />
<pre><br />
git init<br />
git remote add -t master -f origin https://github.com/gramps-project/gramps.git<br />
git checkout master<br />
</pre><br />
Check which Gramps version is used<br />
<pre><br />
git describe<br />
</pre><br />
it should return something like:<br />
<blockquote><br />
v5.0.0-alpha1-1024-g0919763f1<br />
</blockquote><br />
===Setup source===<br />
Before using Gramps you must set-it up.<br />
<br>You just use '''setup build''' command not '''install''' one<br />
<pre><br />
python3 setup.py build<br />
</pre><br />
==Run Gramps==<br />
Start mingw64 shell and go to directory where Gramps source reside<br />
<pre><br />
cd ~/grampsdev<br />
</pre><br />
Use python3 to start Gramps<br />
<br>To check gramps version use "v" flag<br />
<pre><br />
python3 Gramps.py -v<br />
</pre><br />
It should return something like:<br />
<pre><br />
Gramps Settings:<br />
----------------<br />
python : 3.5.3<br />
gramps : 5.0.0-alpha1-0919763f1<br />
gtk++ : 3.22.9<br />
pygobject : 3.22.0<br />
pango : 1.40.3<br />
cairo : 1.15.4<br />
pycairo : 1.1.10<br />
osmgpsmap : 1.0<br />
GExiv2 : 0.10<br />
ICU : 57.1<br />
PyICU : 1.9.3<br />
o.s. : win32<br />
<br />
Non-python dependencies:<br />
------------------------<br />
Graphviz : Graphviz not in system PATH<br />
Ghostscr. : 9.20<br />
</pre><br />
Run Gramps<br />
<pre><br />
python3 Gramps.py<br />
</pre><br />
==Building and updating MSYS2/MinGW packages==<br />
===Install build tools===<br />
<pre><br />
pacman -S --needed --noconfirm base-devel mingw-w64-x86_64-toolchain<br />
</pre><br />
[https://github.com/Alexpux/MINGW-packages MINGW-packages recipes] are on GitHub so you can use git to clone it. If instead you want to access recipe one by one you can download it with Subversion so install it first<br />
<pre><br />
pacman -S subversion<br />
</pre><br />
We need a place to download and build from source code so we will create folder called "build" inside our home folder<br />
<pre><br />
mkdir ~/build<br />
</pre><br />
To prevent pacman to upgrade packages we rebuilt for our needs we can assign them to group '''gramps_fixed''' and add them to IgnoreGroup list.<br />
Open in text editor file ''etc/pacman.conf'' (C:\MSYS2\etc\pacman.conf) and add line ''IgnoreGroup = gramps_fixed'' to ''options'' section.<br />
<pre><br />
[options]<br />
IgnoreGroup = gramps_fixed<br />
</pre><br />
===db===<br />
GrampsAIO uses Oracle Berkeley DB version 6.0.30 but MSYS2 have it at version 6.0.19 and most probably never update it to a newer version.<br />
<br>Gramps will ask permission to downgrade database version at import of any family tree created with GrampsAIO bundle. To prevent that build right version of DB.<br />
<br>Start ''msys2 shell'' and type:<br />
<pre><br />
cd ~/build<br />
svn checkout https://github.com/bpisoj/MINGW-packages/branches/gramps5/mingw-w64-db<br />
cd mingw-w64-db<br />
MINGW_INSTALLS=mingw64 makepkg-mingw -sLf<br />
pacman -U mingw-w64-x86_64-db-6.0.30-1-any.pkg.tar.xz<br />
</pre><br />
===bsddb3===<br />
As db version is changed then we have to rebuild Python bindings for Oracle Berkeley DB<br />
<br>From ''msys2 shell'':<br />
<pre><br />
cd ~/build<br />
svn checkout https://github.com/bpisoj/MINGW-packages/branches/gramps5/mingw-w64-python-bsddb3<br />
cd mingw-w64-python-bsddb3<br />
MINGW_INSTALLS=mingw64 makepkg-mingw -sLf<br />
pacman -U mingw-w64-x86_64-python3-bsddb3-6.1.0-3.1-any.pkg.tar.xz<br />
</pre><br />
===gtk3===<br />
[https://www.gtk.org/ GTK+] since version 3.20 drag-and-drop code has been rearchitected to move the drag cancel animation and most input handling into GDK, thereby dropping most of the platform-dependent code out of GTK (MSYS2 version of GTK is currently 3.22.10). This change is not yet present in Windows port of code so we have to use older GTK version 3.18 where it still works.<br />
<br>Latest in gtk-3.18 branch is gtk-3.18.9 (previous versions of this branch have working dnd but have other bugs) so we build that.<br />
<pre><br />
cd ~/build<br />
svn checkout https://github.com/bpisoj/MINGW-packages/branches/gramps5/mingw-w64-gtk3<br />
cd mingw-w64-gtk3<br />
MINGW_INSTALLS=mingw64 makepkg-mingw -sLf<br />
pacman -U mingw-w64-x86_64-gtk3-3.18.9-1-any.pkg.tar.xz<br />
</pre><br />
<br />
===graphviz===<br />
* TODO<br />
===osmgpsmap===<br />
As of 2017.03.21 package mingw-w64-osmgpsmap-git (r443.c24d08d-1) is outdated due to changes in MINGW-packages repository so Gramps GeoView will fail to work.<br />
<br>We will rebuild him!<br />
<br>Start '''msys2 shell''' (always build package recipes from msys2 shell)<br />
<pre><br />
cd ~/build<br />
svn checkout https://github.com/Alexpux/MINGW-packages/trunk/mingw-w64-osmgpsmap-git<br />
cd mingw-w64-osmgpsmap-git<br />
sed -i 's/patch -p1 -i/#patch -p1 -i/' PKGBUILD<br />
MINGW_INSTALLS=mingw64 makepkg-mingw -sLf<br />
</pre><br />
When (If) package is successfully built install it with<br />
<pre><br />
pacman -U mingw-w64-x86_64-osmgpsmap-git-r483.d275a5d-1-any.pkg.tar.xz<br />
</pre><br />
<br />
==Issue==<br />
===Graphviz===<br />
* No Graphviz see: [https://github.com/Alexpux/MINGW-packages/issues/737 MSYS2:Package request: graphviz] <br />
** Marked as WIP see: https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-graphviz<br />
<br />
====Alternate method using Windows version of Graphviz====<br />
Tested alternate method to use Windows version of Graphviz[http://felsin9.de/nnis/ghc-vis/installing-windows/]<br />
{{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.}}<br />
<br />
<i>Download the current GraphViz ZIP archive from http://www.graphviz.org/Download_windows.php and extract it to C:\graphviz, so that it directly contains the directories bin, lib, share and so on.</i><br />
<br />
From the msys2 prompt type:<br />
<pre><br />
echo 'export PATH=/c/graphviz/bin:$PATH' >> ~/.bashrc<br />
source ~/.bashrc<br />
</pre><br />
Then type:<br />
<br />
python3 Gramps.py -v<br />
<br />
and Graphviz will be listed.<br />
<br />
<pre>Non-python dependencies:<br />
------------------------<br />
Graphviz : 2.38<br />
</pre><br />
<br />
===osmgpsmap===<br />
The MSYS2 version of osmgpsmap has issues eg:<br />
(python3.exe:348): WARNING **: Failed to load shared library 'libosmgpsmap-1.0-0.dll' referenced by the typelib: 'libosmgpsmap-1.0-0.dll': The specified procedure could not be found.<br />
<br />
You can uninstall osmgpsmap package with:<br />
<br />
pacman -R mingw-w64-x86_64-osmgpsmap-git<br />
<br />
==Install Python pip==<br />
To install a working version of pip use the following steps:<br />
<br />
<pre> <br />
mkdir ~/scripts<br />
cd ~/scripts<br />
curl -O 'https://bootstrap.pypa.io/get-pip.py'<br />
./get-pip.py<br />
</pre> <br />
<br />
Test that it works:<br />
<br />
pip3 --version<br />
<br />
If that succeeds you can now remove the installation script if wanted:<br />
<br />
rm get-pip.py<br />
<br />
==Keep your GRAMPSHOME separate==<br />
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:<br />
<br />
On each run like:<br />
<br />
GRAMPSHOME=~ python3 Gramps.py<br />
<br />
If you want it persistent:<br />
<br />
echo 'export GRAMPSHOME=~' >> ~/.profile<br />
source ~/.profile<br />
<br />
==See also==<br />
* [[Running a development version of Gramps]]<br />
* [http://gramps.1791082.n4.nabble.com/Gramps-on-WSL-Win10-Ubuntu-14-04-VcXsvr-td4676752.html Gramps on WSL (Win10/Ubuntu 14.04/VcXsvr)]<br />
<br />
[[Category:GEPS|M]]<br />
[[Category:Developers/General]]</div>Josipsfhttps://www.gramps-project.org/wiki/index.php?title=Gramps_for_Windows_with_MSYS2&diff=63602Gramps for Windows with MSYS22017-03-25T13:31:04Z<p>Josipsf: /* Building and updating MSYS2/MinGW packages */</p>
<hr />
<div>{{man warn|1=Warning|2=Do not open your existing databases with the master branch, it might destroy your data, and will make it impossible to use the data in the stable version {{stable_branch}}. To try it out, export your database to a gramps xml file, eg <code>test_master.gramps</code>, create a new family tree in the master branch, and import this xml file.<br>Alternatively you can [[Gramps_for_Windows_with_MSYS2#Keep_your_GRAMPSHOME_separate|Keep your GRAMPSHOME separate]] }}<br />
<br />
How to use MSYS2 to run latest Gramps development version from source in 64bit Windows.<br />
<br />
In similar way you can build the 32bit version<br />
<br />
==Install MSYS2==<br />
<br />
{{man note|Installation restrictions|MSYS2 can't be installed on FAT* partitions.<br>Current MSYS2 can't be installed on Windows XP anymore.}}<br />
<br />
From the MSYS2 home page http://www.msys2.org download [http://repo.msys2.org/distrib/x86_64/msys2-x86_64-20161025.exe MSYS2 64bit] installer and run it.<br />
<br />
Install it in short path like <code>C:\msys64</code><br />
<br />
At the end of install select to run mingw64 shell eg: use the '''MSYS2 MinGW 64-bit''' shortcut.<br />
<br />
===Update MSYS2===<br />
First keep running the following command(multiple times) until it has updated the list of packages and updated all core packages nothing else to do: <br />
<br />
<pre><br />
pacman -Syuu<br />
</pre><br />
<br />
If core packages are updated you must close the mingw64 shell (forcefully with close button, not just typing exit on it) and then restart the mingw64 shell from the shortcut.<br />
<br />
===Install Gramps dependencies===<br />
Start mingw64 shell and use '''pacman''' package manager to download and install Gramps dependencies<br />
<br />
<pre><br />
pacman -S mingw-w64-x86_64-python3-bsddb3 mingw-w64-x86_64-gexiv2 mingw-w64-x86_64-ghostscript mingw-w64-x86_64-python3-cairo mingw-w64-x86_64-python3-gobject mingw-w64-x86_64-python3-icu mingw-w64-x86_64-iso-codes mingw-w64-x86_64-hunspell mingw-w64-x86_64-hunspell-en mingw-w64-x86_64-enchant<br />
</pre><br />
<br />
To handle the following warning '''No intltool or version < 0.25.0, build_intl is aborting''' install:<br />
pacman -S intltool<br />
<br />
You will also need the following to run the test:<br />
<pre><br />
pacman -S mingw-w64-x86_64-python3-lxml<br />
pacman -S mingw-w64-x86_64-python3-jsonschema<br />
</pre><br />
<br />
To use the Graph reports follow the alternate instructions to install [[Gramps_for_Windows_with_MSYS2#Issue|Graphviz]] and to run the Graph View addon also install:<br />
<pre><br />
pacman -S mingw-w64-x86_64-goocanvas<br />
</pre><br />
<br />
{{man warn|osmgpsmap not working|When [[Gramps_for_Windows_with_MSYS2#osmgpsmap_2|fixed]] you will be able to install osmgpsmap for the Geography Views with the following command:<br><code>pacman -S mingw-w64-x86_64-osmgpsmap-git</code>}}<br />
<br />
===Install Git===<br />
<pre><br />
pacman -S msys/git<br />
</pre><br />
<br />
==Install Gramps==<br />
===Prepare source===<br />
Create directory to store Gramps source in and go to it<br />
<pre><br />
mkdir ~/grampsdev<br />
cd ~/grampsdev<br />
</pre><br />
<br />
===Download source===<br />
Download Gramps master branch from source repository<br />
<pre><br />
git init<br />
git remote add -t master -f origin https://github.com/gramps-project/gramps.git<br />
git checkout master<br />
</pre><br />
Check which Gramps version is used<br />
<pre><br />
git describe<br />
</pre><br />
it should return something like:<br />
<blockquote><br />
v5.0.0-alpha1-1024-g0919763f1<br />
</blockquote><br />
===Setup source===<br />
Before using Gramps you must set-it up.<br />
<br>You just use '''setup build''' command not '''install''' one<br />
<pre><br />
python3 setup.py build<br />
</pre><br />
==Run Gramps==<br />
Start mingw64 shell and go to directory where Gramps source reside<br />
<pre><br />
cd ~/grampsdev<br />
</pre><br />
Use python3 to start Gramps<br />
<br>To check gramps version use "v" flag<br />
<pre><br />
python3 Gramps.py -v<br />
</pre><br />
It should return something like:<br />
<pre><br />
Gramps Settings:<br />
----------------<br />
python : 3.5.3<br />
gramps : 5.0.0-alpha1-0919763f1<br />
gtk++ : 3.22.9<br />
pygobject : 3.22.0<br />
pango : 1.40.3<br />
cairo : 1.15.4<br />
pycairo : 1.1.10<br />
osmgpsmap : 1.0<br />
GExiv2 : 0.10<br />
ICU : 57.1<br />
PyICU : 1.9.3<br />
o.s. : win32<br />
<br />
Non-python dependencies:<br />
------------------------<br />
Graphviz : Graphviz not in system PATH<br />
Ghostscr. : 9.20<br />
</pre><br />
Run Gramps<br />
<pre><br />
python3 Gramps.py<br />
</pre><br />
==Building and updating MSYS2/MinGW packages==<br />
===Install build tools===<br />
<pre><br />
pacman -S --needed --noconfirm base-devel mingw-w64-x86_64-toolchain<br />
</pre><br />
[https://github.com/Alexpux/MINGW-packages MINGW-packages recipes] are on GitHub so you can use git to clone it. If instead you want to access recipe one by one you can download it with Subversion so install it first<br />
<pre><br />
pacman -S subversion<br />
</pre><br />
We need a place to download and build from source code so we will create folder called "build" inside our home folder<br />
<pre><br />
mkdir ~/build<br />
</pre><br />
To prevent pacman to upgrade packages we rebuilt for our needs we can assign them to group '''gramps_fixed''' and add them to IgnoreGroup list.<br />
Open in text editor file ''etc/pacman.conf'' (C:\MSYS2\etc\pacman.conf) and add line ''IgnoreGroup = gramps_fixed'' to ''options'' section.<br />
<pre><br />
[options]<br />
IgnoreGroup = gramps_fixed<br />
</pre><br />
===db===<br />
GrampsAIO uses Oracle Berkeley DB version 6.0.30 but MSYS2 have it at version 6.0.19 and most probably never update it to a newer version.<br />
<br>Gramps will ask permission to downgrade database version at import of any family tree created with GrampsAIO bundle. To prevent that build right version of DB.<br />
<br>Start ''msys2 shell'' and type:<br />
<pre><br />
cd ~/build<br />
svn checkout https://github.com/bpisoj/MINGW-packages/branches/gramps5/mingw-w64-db<br />
cd mingw-w64-db<br />
MINGW_INSTALLS=mingw64 makepkg-mingw -sLf<br />
pacman -U mingw-w64-x86_64-db-6.0.30-1-any.pkg.tar.xz<br />
</pre><br />
===bsddb3===<br />
As db version is changed then we have to rebuild Python bindings for Oracle Berkeley DB<br />
<br>From ''msys2 shell'':<br />
<pre><br />
cd ~/build<br />
svn checkout https://github.com/bpisoj/MINGW-packages/branches/gramps5/mingw-w64-python-bsddb3<br />
cd mingw-w64-python-bsddb3<br />
MINGW_INSTALLS=mingw64 makepkg-mingw -sLf<br />
pacman -U mingw-w64-x86_64-python3-bsddb3-6.1.0-3.1-any.pkg.tar.xz<br />
</pre><br />
===gtk3===<br />
* TODO<br />
===graphviz===<br />
* TODO<br />
===osmgpsmap===<br />
As of 2017.03.21 package mingw-w64-osmgpsmap-git (r443.c24d08d-1) is outdated due to changes in MINGW-packages repository so Gramps GeoView will fail to work.<br />
<br>We will rebuild him!<br />
<br>Start '''msys2 shell''' (always build package recipes from msys2 shell)<br />
<pre><br />
cd ~/build<br />
svn checkout https://github.com/Alexpux/MINGW-packages/trunk/mingw-w64-osmgpsmap-git<br />
cd mingw-w64-osmgpsmap-git<br />
sed -i 's/patch -p1 -i/#patch -p1 -i/' PKGBUILD<br />
MINGW_INSTALLS=mingw64 makepkg-mingw -sLf<br />
</pre><br />
When (If) package is successfully built install it with<br />
<pre><br />
pacman -U mingw-w64-x86_64-osmgpsmap-git-r483.d275a5d-1-any.pkg.tar.xz<br />
</pre><br />
<br />
==Issue==<br />
===Graphviz===<br />
* No Graphviz see: [https://github.com/Alexpux/MINGW-packages/issues/737 MSYS2:Package request: graphviz] <br />
** Marked as WIP see: https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-graphviz<br />
<br />
====Alternate method using Windows version of Graphviz====<br />
Tested alternate method to use Windows version of Graphviz[http://felsin9.de/nnis/ghc-vis/installing-windows/]<br />
{{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.}}<br />
<br />
<i>Download the current GraphViz ZIP archive from http://www.graphviz.org/Download_windows.php and extract it to C:\graphviz, so that it directly contains the directories bin, lib, share and so on.</i><br />
<br />
From the msys2 prompt type:<br />
<pre><br />
echo 'export PATH=/c/graphviz/bin:$PATH' >> ~/.bashrc<br />
source ~/.bashrc<br />
</pre><br />
Then type:<br />
<br />
python3 Gramps.py -v<br />
<br />
and Graphviz will be listed.<br />
<br />
<pre>Non-python dependencies:<br />
------------------------<br />
Graphviz : 2.38<br />
</pre><br />
<br />
===osmgpsmap===<br />
The MSYS2 version of osmgpsmap has issues eg:<br />
(python3.exe:348): WARNING **: Failed to load shared library 'libosmgpsmap-1.0-0.dll' referenced by the typelib: 'libosmgpsmap-1.0-0.dll': The specified procedure could not be found.<br />
<br />
You can uninstall osmgpsmap package with:<br />
<br />
pacman -R mingw-w64-x86_64-osmgpsmap-git<br />
<br />
==Install Python pip==<br />
To install a working version of pip use the following steps:<br />
<br />
<pre> <br />
mkdir ~/scripts<br />
cd ~/scripts<br />
curl -O 'https://bootstrap.pypa.io/get-pip.py'<br />
./get-pip.py<br />
</pre> <br />
<br />
Test that it works:<br />
<br />
pip3 --version<br />
<br />
If that succeeds you can now remove the installation script if wanted:<br />
<br />
rm get-pip.py<br />
<br />
==Keep your GRAMPSHOME separate==<br />
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:<br />
<br />
On each run like:<br />
<br />
GRAMPSHOME=~ python3 Gramps.py<br />
<br />
If you want it persistent:<br />
<br />
echo 'export GRAMPSHOME=~' >> ~/.profile<br />
source ~/.profile<br />
<br />
==See also==<br />
* [[Running a development version of Gramps]]<br />
* [http://gramps.1791082.n4.nabble.com/Gramps-on-WSL-Win10-Ubuntu-14-04-VcXsvr-td4676752.html Gramps on WSL (Win10/Ubuntu 14.04/VcXsvr)]<br />
<br />
[[Category:GEPS|M]]<br />
[[Category:Developers/General]]</div>Josipsfhttps://www.gramps-project.org/wiki/index.php?title=Gramps_for_Windows_with_MSYS2&diff=63600Gramps for Windows with MSYS22017-03-22T00:21:37Z<p>Josipsf: </p>
<hr />
<div>{{man warn|1=Warning|2=Do not open your existing databases with the master branch, it might destroy your data, and will make it impossible to use the data in the stable version {{stable_branch}}. To try it out, export your database to a gramps xml file, eg <code>test_master.gramps</code>, create a new family tree in the master branch, and import this xml file.<br>Alternatively you can [[Gramps_for_Windows_with_MSYS2#Keep_your_GRAMPSHOME_separate|Keep your GRAMPSHOME separate]] }}<br />
<br />
How to use MSYS2 to run latest Gramps development version from source in 64bit Windows.<br />
<br />
In similar way you can build the 32bit version<br />
<br />
==Install MSYS2==<br />
<br />
{{man note|Installation restrictions|MSYS2 can't be installed on FAT* partitions.<br>Current MSYS2 can't be installed on Windows XP anymore.}}<br />
<br />
From the MSYS2 home page http://www.msys2.org download [http://repo.msys2.org/distrib/x86_64/msys2-x86_64-20161025.exe MSYS2 64bit] installer and run it.<br />
<br />
Install it in short path like <code>C:\msys64</code><br />
<br />
At the end of install select to run mingw64 shell eg: use the '''MSYS2 MinGW 64-bit''' shortcut.<br />
<br />
===Update MSYS2===<br />
First keep running the following command(multiple times) until it has updated the list of packages and updated all core packages nothing else to do: <br />
<br />
<pre><br />
pacman -Syuu<br />
</pre><br />
<br />
If core packages are updated you must close the mingw64 shell (forcefully with close button, not just typing exit on it) and then restart the mingw64 shell from the shortcut.<br />
<br />
===Install Gramps dependencies===<br />
Start mingw64 shell and use '''pacman''' package manager to download and install Gramps dependencies<br />
<br />
<pre><br />
pacman -S mingw-w64-x86_64-python3-bsddb3 mingw-w64-x86_64-gexiv2 mingw-w64-x86_64-ghostscript mingw-w64-x86_64-python3-cairo mingw-w64-x86_64-python3-gobject mingw-w64-x86_64-python3-icu mingw-w64-x86_64-iso-codes mingw-w64-x86_64-hunspell mingw-w64-x86_64-hunspell-en mingw-w64-x86_64-enchant<br />
</pre><br />
<br />
To handle the following warning '''No intltool or version < 0.25.0, build_intl is aborting''' install:<br />
pacman -S intltool<br />
<br />
You will also need the following to run the test:<br />
<pre><br />
pacman -S mingw-w64-x86_64-python3-lxml<br />
pacman -S mingw-w64-x86_64-python3-jsonschema<br />
</pre><br />
<br />
To use the Graph reports follow the alternate instructions to install [[Gramps_for_Windows_with_MSYS2#Issue|Graphviz]] and to run the Graph View addon also install:<br />
<pre><br />
pacman -S mingw-w64-x86_64-goocanvas<br />
</pre><br />
<br />
{{man warn|osmgpsmap not working|When [[Gramps_for_Windows_with_MSYS2#osmgpsmap_2|fixed]] you will be able to install osmgpsmap for the Geography Views with the following command:<br><code>pacman -S mingw-w64-x86_64-osmgpsmap-git</code>}}<br />
<br />
===Install Git===<br />
<pre><br />
pacman -S msys/git<br />
</pre><br />
<br />
==Install Gramps==<br />
===Prepare source===<br />
Create directory to store Gramps source in and go to it<br />
<pre><br />
mkdir ~/grampsdev<br />
cd ~/grampsdev<br />
</pre><br />
<br />
===Download source===<br />
Download Gramps master branch from source repository<br />
<pre><br />
git init<br />
git remote add -t master -f origin https://github.com/gramps-project/gramps.git<br />
git checkout master<br />
</pre><br />
Check which Gramps version is used<br />
<pre><br />
git describe<br />
</pre><br />
it should return something like:<br />
<blockquote><br />
v5.0.0-alpha1-1024-g0919763f1<br />
</blockquote><br />
===Setup source===<br />
Before using Gramps you must set-it up.<br />
<br>You just use '''setup build''' command not '''install''' one<br />
<pre><br />
python3 setup.py build<br />
</pre><br />
==Run Gramps==<br />
Start mingw64 shell and go to directory where Gramps source reside<br />
<pre><br />
cd ~/grampsdev<br />
</pre><br />
Use python3 to start Gramps<br />
<br>To check gramps version use "v" flag<br />
<pre><br />
python3 Gramps.py -v<br />
</pre><br />
It should return something like:<br />
<pre><br />
Gramps Settings:<br />
----------------<br />
python : 3.5.3<br />
gramps : 5.0.0-alpha1-0919763f1<br />
gtk++ : 3.22.9<br />
pygobject : 3.22.0<br />
pango : 1.40.3<br />
cairo : 1.15.4<br />
pycairo : 1.1.10<br />
osmgpsmap : 1.0<br />
GExiv2 : 0.10<br />
ICU : 57.1<br />
PyICU : 1.9.3<br />
o.s. : win32<br />
<br />
Non-python dependencies:<br />
------------------------<br />
Graphviz : Graphviz not in system PATH<br />
Ghostscr. : 9.20<br />
</pre><br />
Run Gramps<br />
<pre><br />
python3 Gramps.py<br />
</pre><br />
==Building and updating MSYS2/MinGW packages==<br />
===Install build tools===<br />
<pre><br />
pacman -S --needed --noconfirm base-devel mingw-w64-x86_64-toolchain<br />
</pre><br />
[https://github.com/Alexpux/MINGW-packages MINGW-packages recipes] are on GitHub so you can use git to clone it. If instead you want to access recipe one by one you can download it with Subversion so install it first<br />
<pre><br />
pacman -S subversion<br />
</pre><br />
We need a place to download and build from source code so we will create folder called "build" inside our home folder<br />
<pre><br />
mkdir ~/build<br />
</pre><br />
===OsmGpsMap===<br />
As of 2017.03.21 package mingw-w64-osmgpsmap-git (r443.c24d08d-1) is outdated due to changes in MINGW-packages repository so Gramps GeoView will fail to work.<br />
<br>We will rebuild him!<br />
<br>Start '''msys2 shell''' (always build package recipes from msys2 shell)<br />
<pre><br />
cd ~/build<br />
svn checkout https://github.com/Alexpux/MINGW-packages/trunk/mingw-w64-osmgpsmap-git<br />
cd mingw-w64-osmgpsmap-git<br />
sed -i 's/patch -p1 -i/#patch -p1 -i/' PKGBUILD<br />
MINGW_INSTALLS=mingw64 makepkg-mingw -sLf<br />
</pre><br />
When (If) package is successfully built install it with<br />
<pre><br />
pacman -U mingw-w64-x86_64-osmgpsmap-git-r483.d275a5d-1-any.pkg.tar.xz<br />
</pre><br />
<br />
==Issue==<br />
===Graphviz===<br />
* No Graphviz see: [https://github.com/Alexpux/MINGW-packages/issues/737 MSYS2:Package request: graphviz] <br />
** Marked as WIP see: https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-graphviz<br />
<br />
====Alternate method using Windows version of Graphviz====<br />
Tested alternate method to use Windows version of Graphviz[http://felsin9.de/nnis/ghc-vis/installing-windows/]<br />
{{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.}}<br />
<br />
<i>Download the current GraphViz ZIP archive from http://www.graphviz.org/Download_windows.php and extract it to C:\graphviz, so that it directly contains the directories bin, lib, share and so on.</i><br />
<br />
From the msys2 prompt type:<br />
<pre><br />
echo 'export PATH=/c/graphviz/bin:$PATH' >> ~/.bashrc<br />
source ~/.bashrc<br />
</pre><br />
Then type:<br />
<br />
python3 Gramps.py -v<br />
<br />
and Graphviz will be listed.<br />
<br />
<pre>Non-python dependencies:<br />
------------------------<br />
Graphviz : 2.38<br />
</pre><br />
<br />
===osmgpsmap===<br />
The MSYS2 version of osmgpsmap has issues eg:<br />
(python3.exe:348): WARNING **: Failed to load shared library 'libosmgpsmap-1.0-0.dll' referenced by the typelib: 'libosmgpsmap-1.0-0.dll': The specified procedure could not be found.<br />
<br />
You can uninstall osmgpsmap package with:<br />
<br />
pacman -R mingw-w64-x86_64-osmgpsmap-git<br />
<br />
==Install Python pip==<br />
To install a working version of pip use the following steps:<br />
<br />
<pre> <br />
mkdir ~/scripts<br />
cd ~/scripts<br />
curl -O 'https://bootstrap.pypa.io/get-pip.py'<br />
./get-pip.py<br />
</pre> <br />
<br />
Test that it works:<br />
<br />
pip3 --version<br />
<br />
If that succeeds you can now remove the installation script if wanted:<br />
<br />
rm get-pip.py<br />
<br />
==Keep your GRAMPSHOME separate==<br />
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:<br />
<br />
On each run like:<br />
<br />
GRAMPSHOME=~ python3 Gramps.py<br />
<br />
If you want it persistent:<br />
<br />
echo 'export GRAMPSHOME=~' >> ~/.profile<br />
source ~/.profile<br />
<br />
==See also==<br />
* [[Running a development version of Gramps]]<br />
* [http://gramps.1791082.n4.nabble.com/Gramps-on-WSL-Win10-Ubuntu-14-04-VcXsvr-td4676752.html Gramps on WSL (Win10/Ubuntu 14.04/VcXsvr)]<br />
<br />
[[Category:GEPS|M]]<br />
[[Category:Developers/General]]</div>Josipsfhttps://www.gramps-project.org/wiki/index.php?title=Gramps_for_Windows_with_MSYS2&diff=63595Gramps for Windows with MSYS22017-03-22T00:16:06Z<p>Josipsf: </p>
<hr />
<div>{{man warn|1=Warning|2=Do not open your existing databases with the master branch, it might destroy your data, and will make it impossible to use the data in the stable version {{stable_branch}}. To try it out, export your database to a gramps xml file, eg <code>test_master.gramps</code>, create a new family tree in the master branch, and import this xml file.<br>Alternatively you can [[Gramps_for_Windows_with_MSYS2#Keep_your_GRAMPSHOME_separate|Keep your GRAMPSHOME separate]] }}<br />
<br />
How to use MSYS2 to run latest Gramps development version from source in 64bit Windows.<br />
<br />
In similar way you can build the 32bit version<br />
<br />
==Install MSYS2==<br />
<br />
{{man note|Installation restrictions|MSYS2 can't be installed on FAT* partitions.<br>Current MSYS2 can't be installed on Windows XP anymore.}}<br />
<br />
From the MSYS2 home page http://www.msys2.org download [http://repo.msys2.org/distrib/x86_64/msys2-x86_64-20161025.exe MSYS2 64bit] installer and run it.<br />
<br />
Install it in short path like <code>C:\msys64</code><br />
<br />
At the end of install select to run mingw64 shell eg: use the '''MSYS2 MinGW 64-bit''' shortcut.<br />
<br />
===Update MSYS2===<br />
First keep running the following command(multiple times) until it has updated the list of packages and updated all core packages nothing else to do: <br />
<br />
<pre><br />
pacman -Syuu<br />
</pre><br />
<br />
If core packages are updated you must close the mingw64 shell (forcefully with close button, not just typing exit on it) and then restart the mingw64 shell from the shortcut.<br />
<br />
===Install Gramps dependencies===<br />
Start mingw64 shell and use '''pacman''' package manager to download and install Gramps dependencies<br />
<br />
<pre><br />
pacman -S mingw-w64-x86_64-python3-bsddb3 mingw-w64-x86_64-gexiv2 mingw-w64-x86_64-ghostscript mingw-w64-x86_64-python3-cairo mingw-w64-x86_64-python3-gobject mingw-w64-x86_64-python3-icu mingw-w64-x86_64-iso-codes mingw-w64-x86_64-hunspell mingw-w64-x86_64-hunspell-en mingw-w64-x86_64-enchant<br />
</pre><br />
<br />
To handle the following warning '''No intltool or version < 0.25.0, build_intl is aborting''' install:<br />
pacman -S intltool<br />
<br />
You will also need the following to run the test:<br />
<pre><br />
pacman -S mingw-w64-x86_64-python3-lxml<br />
pacman -S mingw-w64-x86_64-python3-jsonschema<br />
</pre><br />
<br />
To use the Graph reports follow the alternate instructions to install [[Gramps_for_Windows_with_MSYS2#Issue|Graphviz]] and to run the Graph View addon also install:<br />
<pre><br />
pacman -S mingw-w64-x86_64-goocanvas<br />
</pre><br />
<br />
{{man warn|osmgpsmap not working|When fixed you will be able to install osmgpsmap for the Geography Views}}<br />
pacman -S mingw-w64-x86_64-osmgpsmap-git<br />
<br />
===Install Git===<br />
<pre><br />
pacman -S msys/git<br />
</pre><br />
<br />
==Install Gramps==<br />
===Prepare source===<br />
Create directory to store Gramps source in and go to it<br />
<pre><br />
mkdir ~/grampsdev<br />
cd ~/grampsdev<br />
</pre><br />
<br />
===Download source===<br />
Download Gramps master branch from source repository<br />
<pre><br />
git init<br />
git remote add -t master -f origin https://github.com/gramps-project/gramps.git<br />
git checkout master<br />
</pre><br />
Check which Gramps version is used<br />
<pre><br />
git describe<br />
</pre><br />
it should return something like:<br />
<blockquote><br />
v5.0.0-alpha1-1024-g0919763f1<br />
</blockquote><br />
===Setup source===<br />
Before using Gramps you must set-it up.<br />
<br>You just use '''setup build''' command not '''install''' one<br />
<pre><br />
python3 setup.py build<br />
</pre><br />
==Run Gramps==<br />
Start mingw64 shell and go to directory where Gramps source reside<br />
<pre><br />
cd ~/grampsdev<br />
</pre><br />
Use python3 to start Gramps<br />
<br>To check gramps version use "v" flag<br />
<pre><br />
python3 Gramps.py -v<br />
</pre><br />
It should return something like:<br />
<pre><br />
Gramps Settings:<br />
----------------<br />
python : 3.5.3<br />
gramps : 5.0.0-alpha1-0919763f1<br />
gtk++ : 3.22.9<br />
pygobject : 3.22.0<br />
pango : 1.40.3<br />
cairo : 1.15.4<br />
pycairo : 1.1.10<br />
osmgpsmap : 1.0<br />
GExiv2 : 0.10<br />
ICU : 57.1<br />
PyICU : 1.9.3<br />
o.s. : win32<br />
<br />
Non-python dependencies:<br />
------------------------<br />
Graphviz : Graphviz not in system PATH<br />
Ghostscr. : 9.20<br />
</pre><br />
Run Gramps<br />
<pre><br />
python3 Gramps.py<br />
</pre><br />
==Building and updating MSYS2/MinGW packages==<br />
===Install build tools===<br />
<pre><br />
pacman -S --needed --noconfirm base-devel mingw-w64-x86_64-toolchain<br />
</pre><br />
[https://github.com/Alexpux/MINGW-packages MINGW-packages recipes] are on GitHub so you can use git to clone it. If instead you want to access recipe one by one you can download it with Subversion so install it first<br />
<pre><br />
pacman -S subversion<br />
</pre><br />
We need a place to download and build from source code so we will create folder called "build" inside our home folder<br />
<pre><br />
mkdir ~/build<br />
</pre><br />
===OsmGpsMap===<br />
As of 2017.03.21 package mingw-w64-osmgpsmap-git (r443.c24d08d-1) is outdated due to changes in MINGW-packages repository so Gramps GeoView will fail to work.<br />
</br>We will rebuild him!<br />
</br>Start '''msys2 shell''' (always build package recipes from msys2 shell)<br />
<pre><br />
cd ~/build<br />
svn checkout https://github.com/Alexpux/MINGW-packages/trunk/mingw-w64-osmgpsmap-git<br />
cd mingw-w64-osmgpsmap-git<br />
sed -i 's/patch -p1 -i/#patch -p1 -i/' PKGBUILD<br />
MINGW_INSTALLS=mingw64 makepkg-mingw -sLf<br />
</pre><br />
When (If) package is successfully built install it with<br />
<pre><br />
pacman -U mingw-w64-x86_64-osmgpsmap-git-r483.d275a5d-1-any.pkg.tar.xz<br />
</pre><br />
==Issue==<br />
===Graphviz===<br />
* No Graphviz see: [https://github.com/Alexpux/MINGW-packages/issues/737 MSYS2:Package request: graphviz] <br />
** Marked as WIP see: https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-graphviz<br />
<br />
====Alternate method using Windows version of Graphviz====<br />
Tested alternate method to use Windows version of Graphviz[http://felsin9.de/nnis/ghc-vis/installing-windows/]<br />
{{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.}}<br />
<br />
<i>Download the current GraphViz ZIP archive from http://www.graphviz.org/Download_windows.php and extract it to C:\graphviz, so that it directly contains the directories bin, lib, share and so on.</i><br />
<br />
From the msys2 prompt type:<br />
<pre><br />
echo 'export PATH=/c/graphviz/bin:$PATH' >> ~/.bashrc<br />
source ~/.bashrc<br />
</pre><br />
Then type:<br />
<br />
python3 Gramps.py -v<br />
<br />
and Graphviz will be listed.<br />
<br />
<pre>Non-python dependencies:<br />
------------------------<br />
Graphviz : 2.38<br />
</pre><br />
<br />
===osmgpsmap===<br />
The MSYS2 version of osmgpsmap has issues eg:<br />
(python3.exe:348): WARNING **: Failed to load shared library 'libosmgpsmap-1.0-0.dll' referenced by the typelib: 'libosmgpsmap-1.0-0.dll': The specified procedure could not be found.<br />
<br />
You can uninstall osmgpsmap package with:<br />
<br />
pacman -R mingw-w64-x86_64-osmgpsmap-git<br />
<br />
==Install Python pip==<br />
To install a working version of pip use the following steps:<br />
<br />
<pre> <br />
mkdir ~/scripts<br />
cd ~/scripts<br />
curl -O 'https://bootstrap.pypa.io/get-pip.py'<br />
./get-pip.py<br />
</pre> <br />
<br />
Test that it works:<br />
<br />
pip3 --version<br />
<br />
If that succeeds you can now remove the installation script if wanted:<br />
<br />
rm get-pip.py<br />
<br />
==Keep your GRAMPSHOME separate==<br />
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:<br />
<br />
On each run like:<br />
<br />
GRAMPSHOME=~ python3 Gramps.py<br />
<br />
If you want it persistent:<br />
<br />
echo 'export GRAMPSHOME=~' >> ~/.profile<br />
source ~/.profile<br />
<br />
==See also==<br />
* [[Running a development version of Gramps]]<br />
* [http://gramps.1791082.n4.nabble.com/Gramps-on-WSL-Win10-Ubuntu-14-04-VcXsvr-td4676752.html Gramps on WSL (Win10/Ubuntu 14.04/VcXsvr)]<br />
<br />
[[Category:GEPS|M]]<br />
[[Category:Developers/General]]</div>Josipsfhttps://www.gramps-project.org/wiki/index.php?title=Talk:Gramps_for_Windows_with_MSYS2&diff=63574Talk:Gramps for Windows with MSYS22017-03-21T21:57:49Z<p>Josipsf: Created page with "'''graphviz''' from graphviz.org Please do not advise user to mix various libraries like that. It is a direct way to dll hell. This way Gramps will use graphviz libs instead o..."</p>
<hr />
<div>'''graphviz''' from graphviz.org<br />
Please do not advise user to mix various libraries like that. 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.</div>Josipsfhttps://www.gramps-project.org/wiki/index.php?title=Gramps_for_Windows_with_MSYS2&diff=63552Gramps for Windows with MSYS22017-03-20T22:03:52Z<p>Josipsf: MSYS2</p>
<hr />
<div>This page will describe how to use MSYS2 to run last Gramps development version from source in 64bit Windows.<br />
<br>In similar way you can built 32bit version<br />
==Install MSYS2==<br />
Download [http://repo.msys2.org/distrib/x86_64/msys2-x86_64-20161025.exe MSYS2 64bit] installer and run it.<br />
<br>Install it in short path like C:\MSYS2<br />
<br>At the end of install select to run mingw64 shell<br />
===Update MSYS2===<br />
First update list of packages and update core packages<br />
<pre><br />
pacman -Syuu<br />
</pre><br />
If core packages are updated close the mingw64 shell <br />
===Install Gramps dependencies===<br />
Start mingw64 shell and use '''pacman''' package menager to download and install Gramps dependencies<br />
<pre><br />
pacman -S mingw-w64-x86_64-python3-bsddb3 mingw-w64-x86_64-gexiv2 mingw-w64-x86_64-osmgpsmap-git mingw-w64-x86_64-ghostscript mingw-w64-x86_64-python3-cairo mingw-w64-x86_64-python3-gobject mingw-w64-x86_64-python3-icu mingw-w64-x86_64-iso-codes mingw-w64-x86_64-hunspell mingw-w64-x86_64-hunspell-en mingw-w64-x86_64-enchant<br />
</pre><br />
===Install Git===<br />
<pre><br />
pacman -S msys/git<br />
</pre><br />
==Install Gramps==<br />
===Prepare source===<br />
Create directory when to store Gramps source and go to it<br />
<pre><br />
mkdir ~/grampsdev<br />
cd ~/grampsdev<br />
</pre><br />
===Download source===<br />
Download Gramps master branch from source repository<br />
<pre><br />
git init<br />
git remote add -t master -f origin https://github.com/gramps-project/gramps.git<br />
git checkout master<br />
</pre><br />
Check which Gramps version is used<br />
<pre><br />
git describe<br />
</pre><br />
it should return something like:<br />
<blockquote><br />
v5.0.0-alpha1-1024-g0919763f1<br />
</blockquote><br />
===Setup source===<br />
Before using Gramps you must set-it up.<br />
<br>You just use '''setup build''' command not '''install''' one<br />
<pre><br />
python3 setup.py build<br />
</pre><br />
==Run Gramps==<br />
Start mingw64 shell and go to directory where Gramps source reside<br />
<pre><br />
cd ~/grampsdev<br />
</pre><br />
Use python3 to start Gramps<br />
<br>To check gramps version use "v" flag<br />
<pre><br />
python3 Gramps.py -v<br />
</pre><br />
It should return something like:<br />
<pre><br />
Gramps Settings:<br />
----------------<br />
python : 3.5.3<br />
gramps : 5.0.0-alpha1-0919763f1<br />
gtk++ : 3.22.9<br />
pygobject : 3.22.0<br />
pango : 1.40.3<br />
cairo : 1.15.4<br />
pycairo : 1.1.10<br />
osmgpsmap : 1.0<br />
GExiv2 : 0.10<br />
ICU : 57.1<br />
PyICU : 1.9.3<br />
o.s. : win32<br />
<br />
Non-python dependencies:<br />
------------------------<br />
Graphviz : Graphviz not in system PATH<br />
Ghostscr. : 9.20<br />
</pre><br />
Run Gramps<br />
<pre><br />
python3 Gramps.py<br />
</pre><br />
[[Category:GEPS|M]]<br />
[[Category:Developers/General]]</div>Josipsfhttps://www.gramps-project.org/wiki/index.php?title=Gramps_for_Windows_with_MSYS2&diff=63548Gramps for Windows with MSYS22017-03-20T21:10:45Z<p>Josipsf: Created page with "==Install MSYS2== Download [http://repo.msys2.org/distrib/x86_64/msys2-x86_64-20161025.exe MSYS2 64bit] installer ===Update MSYS2=== <pre> pacman -Syuu </pre> ===Install Gramp..."</p>
<hr />
<div>==Install MSYS2==<br />
Download [http://repo.msys2.org/distrib/x86_64/msys2-x86_64-20161025.exe MSYS2 64bit] installer<br />
===Update MSYS2===<br />
<pre><br />
pacman -Syuu<br />
</pre><br />
===Install Gramps dependencies===<br />
<pre><br />
pacman -S mingw-w64-x86_64-python3-bsddb3 mingw-w64-x86_64-gexiv2 mingw-w64-x86_64-osmgpsmap-git mingw-w64-x86_64-ghostscript mingw-w64-x86_64-python3-cairo mingw-w64-x86_64-python3-gobject mingw-w64-x86_64-python3-icu mingw-w64-x86_64-iso-codes mingw-w64-x86_64-hunspell mingw-w64-x86_64-hunspell-en mingw-w64-x86_64-enchant<br />
</pre><br />
===Install Git===<br />
<pre><br />
pacman -S msys/git<br />
</pre><br />
==Install Gramps==<br />
Create directory when to store Gramps source and go to it<br />
<pre><br />
mkdir ~/grampsdev<br />
cd ~/grampsdev<br />
</pre><br />
Download Gramps master branch from source repository<br />
<pre><br />
git init<br />
git remote add -t master -f origin https://github.com/gramps-project/gramps.git<br />
git checkout master<br />
</pre><br />
Check which Gramps version is used<br />
<pre><br />
git describe<br />
</pre><br />
it should return something like: v5.0.0-alpha1-1024-g0919763f1</div>Josipsfhttps://www.gramps-project.org/wiki/index.php?title=Template:Filename_windows_AIO64&diff=62232Template:Filename windows AIO642016-10-30T23:05:16Z<p>Josipsf: </p>
<hr />
<div>GrampsAIO-{{version_windows_AIO64}}-3_win64<noinclude><br />
[[Category:Developers/Packaging ]]<br />
[[Category:Versions]]<br />
[[Category:Templates]]<br />
</noinclude></div>Josipsfhttps://www.gramps-project.org/wiki/index.php?title=Template:Filename_windows_AIO64&diff=62228Template:Filename windows AIO642016-10-29T18:22:37Z<p>Josipsf: </p>
<hr />
<div>GrampsAIO-{{version_windows_AIO64}}-2_win64<noinclude><br />
[[Category:Developers/Packaging ]]<br />
[[Category:Versions]]<br />
[[Category:Templates]]<br />
</noinclude></div>Josipsfhttps://www.gramps-project.org/wiki/index.php?title=Template:Filename_windows_AIO64&diff=57648Template:Filename windows AIO642015-08-22T13:11:30Z<p>Josipsf: </p>
<hr />
<div>GrampsAIO-{{version_windows_AIO64}}-1_win64</div>Josipsfhttps://www.gramps-project.org/wiki/index.php?title=Template:Version_windows_AIO64&diff=57647Template:Version windows AIO642015-08-22T13:10:11Z<p>Josipsf: </p>
<hr />
<div>4.2.0</div>Josipsfhttps://www.gramps-project.org/wiki/index.php?title=GrampsAIO-4&diff=54754GrampsAIO-42015-05-08T20:12:35Z<p>Josipsf: added 4.1.3 AIO</p>
<hr />
<div>The '''Gramps''' "software bundle" for Windows or '''GrampsAIO''' is an all-in-one (a.k.a. '''"AIO"''') installation package of Gramps which includes all dependencies for the Windows platform.<br />
<br />
==GrampsAIO-4.0.x==<br />
AIO bundle for 4th generation of Gramps which now use Gtk3 with [https://wiki.gnome.org/Projects/PyGObject PyGobject] and [https://wiki.gnome.org/Projects/GObjectIntrospection GObject Introspection].<br />
<br />
Although Gramps now support Python3 older Python2 is still used instead.<br />
<br />
===GrampsAIO64-4.0.2===<br />
Release made for 64bit version of Windows.<br />
<br />
Dependent libraries are built with "march=core2" compiler flag so you will need hardware with MMX, SSE, SSE2, SSE3 and SSSE3 instruction set support to use it.<br />
<br />
===GrampsAIO-4.0.3-1===<br />
* '''What's new:'''<br />
** '''''Gramps launchers:'''''<br />
*** '''''gramps.exe'''''<br/>It is a console application so if it is not started from one he will pop-up new one.<br/>Gramps will prints warnings and errors in that.<br/>For those who want to script Gramps. This is for use when asked to do "gramps -v" for example<br />
*** '''''grampsw.exe'''''<br/>This is GUI application (hence the "w" endings) so no "DOS box"<br/>That is probably preferred way to use Gramps for most users.<br/>Since there is not standard handles in gui application, all info, warning, and error prints are redirected to file %APPDATA%\gramps\Gramps40.log<br />
*** '''''grampsd.exe'''''<br/>For time when you have problem running Gramps.<br/>Unlike previous two it not runs optimized byte-compiled files but normal ones (*.pyc no *.pyo).<br/>It is console application which create one early in startup process if is not started from one to catch early errors. At the end of program it must be closed by hand (pressing any key or clicking close button) giving you chance to see and copy errors to report them.<br/>For those reason it will always start Gramps in English no matter of your Windows locale settings.<br />
<br />
===GrampsAIO-4.0.3-2===<br />
* '''Fix:'''<br />
** '''''HotKeys in launchers shortcut-links'''''<br/>Looks like something is wrong with shortcut-link creation so start of their description ends up as their hot-keys.<br />
<br />
===GrampsAIO-4.0.3-3===<br />
* '''Fix:'''<br />
** '''''Graphviz'''''<br/>File "config6" where Graphviz store his configuration is not included in bundle. Because of that creation of graphical report will fail.<br/>You can make your own until 3rd version is released.<br/>Open up console in GrampsAIO\bin folder and type:<br />
<pre><br />
dot.exe -c<br />
</pre><br />
<br />
===GrampsAIO-4.0.3-4===<br />
<br />
* '''Fix:'''<br />
** Visual Styles<br />
** User Account Control<br />
** DPI Awareness<br />
** Program Compatibility Assistant<br />
<br />
==GrampsAIO-4.1.x==<br />
===GrampsAIO32===<br />
====GrampsAIO-4.1.2-1_win32_py27.exe====<br />
* '''Release date:''' 2015-03-01<br/>Initial release<br />
====GrampsAIO-4.1.2-2_win32_py27.exe====<br />
* '''Release date:''' 2015-03-14<br />
* '''Fix:'''<br />
** '''''PDF generation'''''<br/>Update version of [http://cairographics.org/ Cairo] library to [http://cairographics.org/news/cairo-1.14.2/ 1.14.2] to prevent line truncation in textual reports exported as PDF <br />
** '''''missing folder icon in FileChooserDialog'''''<br/>[http://gramps.1791082.n4.nabble.com/Folder-icon-and-Gramps-4-1-2-td4669544.html#none Patch] [https://wiki.gnome.org/Projects/GLib GLib library]<br />
** '''''inclusion of images in some reports'''''<br/>Added all dependencies of PIL ([https://pillow.readthedocs.org/ Pillow]) library <br />
====GrampsAIO-4.1.2-3_win32_py27.exe====<br />
* '''Release date:''' 2015-03-16<br />
* '''Fix:'''<br />
** '''''non-ascii characters in database path'''''<br/>Compiled db library with ''-DUNICODE'' and ''-D_UNICODE'' flags<br />
====GrampsAIO-4.1.2-4_win32_py27.exe====<br />
* '''Release date:''' 2015-03-22<br />
* '''Fix:'''<br />
** '''''graphviz not working in Windows XP'''''<br/>Build [http://www.graphviz.org/ Graphviz] without ''strtok_s''<br />
** '''''gtk drag-and-drop instability''''''<br/>Added [https://git.gnome.org/browse/gtk+/commit/?id=e7eaca9 patch] ''DND: Clean up weak pointers when they are no longer needed'' to gtk-3.14.9 build<br />
====GrampsAIO-4.1.3-1_win32_py27.exe====<br />
* '''Release date:''' 2015-05-02<br/><br />
===GrampsAIO64===<br />
====GrampsAIO-4.1.2-1_win64_py27.exe====<br />
* '''Release date:''' 2015-03-24<br/>Initial release<br />
====GrampsAIO-4.1.2-2_win64_py27.exe====<br />
* '''Release date:''' 2015-04-10<br/><br />
* '''Fix:'''<br />
** '''''[https://gramps-project.org/bugs/view.php?id=8472 Hangs loading images]'''''<br/>Corrected GdkPixbuf introspection<br />
====GrampsAIO-4.1.3-1_win64_py27.exe====<br />
* '''Release date:''' 2015-05-02<br/><br />
[[Category:Documentation]]<br />
[[Category:Developers/General]]</div>Josipsfhttps://www.gramps-project.org/wiki/index.php?title=Template:Version_windows_AIO64&diff=54714Template:Version windows AIO642015-05-02T18:54:59Z<p>Josipsf: update AIO64</p>
<hr />
<div>4.1.3</div>Josipsfhttps://www.gramps-project.org/wiki/index.php?title=Template:Filename_windows_AIO64&diff=54713Template:Filename windows AIO642015-05-02T18:54:26Z<p>Josipsf: update AIO64</p>
<hr />
<div>GrampsAIO-{{version_windows_AIO64}}-1_win64_py27</div>Josipsfhttps://www.gramps-project.org/wiki/index.php?title=Template:Filename_windows_AIO32&diff=54712Template:Filename windows AIO322015-05-02T18:52:14Z<p>Josipsf: update AIO32</p>
<hr />
<div>GrampsAIO-{{version_windows_AIO32}}-1_win32_py27</div>Josipsfhttps://www.gramps-project.org/wiki/index.php?title=Template:Version_windows_AIO32&diff=54711Template:Version windows AIO322015-05-02T18:51:29Z<p>Josipsf: update AIO32</p>
<hr />
<div>4.1.3</div>Josipsfhttps://www.gramps-project.org/wiki/index.php?title=Template:Filename_windows_AIO64&diff=54363Template:Filename windows AIO642015-04-10T12:36:18Z<p>Josipsf: update for GrampsAIO-4.1.2-2_win64_py27.exe</p>
<hr />
<div>GrampsAIO-{{version_windows_AIO64}}-2_win64_py27</div>Josipsfhttps://www.gramps-project.org/wiki/index.php?title=GrampsAIO-4&diff=54362GrampsAIO-42015-04-10T12:34:15Z<p>Josipsf: update for GrampsAIO-4.1.2-2_win64_py27.exe</p>
<hr />
<div>The '''Gramps''' "software bundle" for Windows or '''GrampsAIO''' is an all-in-one (a.k.a. '''"AIO"''') installation package of Gramps which includes all dependencies for the Windows platform.<br />
<br />
==GrampsAIO-4.0.x==<br />
AIO bundle for 4th generation of Gramps which now use Gtk3 with [https://wiki.gnome.org/Projects/PyGObject PyGobject] and [https://wiki.gnome.org/Projects/GObjectIntrospection GObject Introspection].<br />
<br />
Although Gramps now support Python3 older Python2 is still used instead.<br />
<br />
===GrampsAIO64-4.0.2===<br />
Release made for 64bit version of Windows.<br />
<br />
Dependent libraries are built with "march=core2" compiler flag so you will need hardware with MMX, SSE, SSE2, SSE3 and SSSE3 instruction set support to use it.<br />
<br />
===GrampsAIO-4.0.3-1===<br />
* '''What's new:'''<br />
** '''''Gramps launchers:'''''<br />
*** '''''gramps.exe'''''<br/>It is a console application so if it is not started from one he will pop-up new one.<br/>Gramps will prints warnings and errors in that.<br/>For those who want to script Gramps. This is for use when asked to do "gramps -v" for example<br />
*** '''''grampsw.exe'''''<br/>This is GUI application (hence the "w" endings) so no "DOS box"<br/>That is probably preferred way to use Gramps for most users.<br/>Since there is not standard handles in gui application, all info, warning, and error prints are redirected to file %APPDATA%\gramps\Gramps40.log<br />
*** '''''grampsd.exe'''''<br/>For time when you have problem running Gramps.<br/>Unlike previous two it not runs optimized byte-compiled files but normal ones (*.pyc no *.pyo).<br/>It is console application which create one early in startup process if is not started from one to catch early errors. At the end of program it must be closed by hand (pressing any key or clicking close button) giving you chance to see and copy errors to report them.<br/>For those reason it will always start Gramps in English no matter of your Windows locale settings.<br />
<br />
===GrampsAIO-4.0.3-2===<br />
* '''Fix:'''<br />
** '''''HotKeys in launchers shortcut-links'''''<br/>Looks like something is wrong with shortcut-link creation so start of their description ends up as their hot-keys.<br />
<br />
===GrampsAIO-4.0.3-3===<br />
* '''Fix:'''<br />
** '''''Graphviz'''''<br/>File "config6" where Graphviz store his configuration is not included in bundle. Because of that creation of graphical report will fail.<br/>You can make your own until 3rd version is released.<br/>Open up console in GrampsAIO\bin folder and type:<br />
<pre><br />
dot.exe -c<br />
</pre><br />
<br />
===GrampsAIO-4.0.3-4===<br />
<br />
* '''Fix:'''<br />
** Visual Styles<br />
** User Account Control<br />
** DPI Awareness<br />
** Program Compatibility Assistant<br />
<br />
==GrampsAIO-4.1.x==<br />
===GrampsAIO32===<br />
====GrampsAIO-4.1.2-1_win32_py27.exe====<br />
* '''Release date:''' 2015-03-01<br/>Initial release<br />
====GrampsAIO-4.1.2-2_win32_py27.exe====<br />
* '''Release date:''' 2015-03-14<br />
* '''Fix:'''<br />
** '''''PDF generation'''''<br/>Update version of [http://cairographics.org/ Cairo] library to [http://cairographics.org/news/cairo-1.14.2/ 1.14.2] to prevent line truncation in textual reports exported as PDF <br />
** '''''missing folder icon in FileChooserDialog'''''<br/>[http://gramps.1791082.n4.nabble.com/Folder-icon-and-Gramps-4-1-2-td4669544.html#none Patch] [https://wiki.gnome.org/Projects/GLib GLib library]<br />
** '''''inclusion of images in some reports'''''<br/>Added all dependencies of PIL ([https://pillow.readthedocs.org/ Pillow]) library <br />
====GrampsAIO-4.1.2-3_win32_py27.exe====<br />
* '''Release date:''' 2015-03-16<br />
* '''Fix:'''<br />
** '''''non-ascii characters in database path'''''<br/>Compiled db library with ''-DUNICODE'' and ''-D_UNICODE'' flags<br />
====GrampsAIO-4.1.2-4_win32_py27.exe====<br />
* '''Release date:''' 2015-03-22<br />
* '''Fix:'''<br />
** '''''graphviz not working in Windows XP'''''<br/>Build [http://www.graphviz.org/ Graphviz] without ''strtok_s''<br />
** '''''gtk drag-and-drop instability''''''<br/>Added [https://git.gnome.org/browse/gtk+/commit/?id=e7eaca9 patch] ''DND: Clean up weak pointers when they are no longer needed'' to gtk-3.14.9 build<br />
===GrampsAIO64===<br />
====GrampsAIO-4.1.2-1_win64_py27.exe====<br />
* '''Release date:''' 2015-03-24<br/>Initial release<br />
====GrampsAIO-4.1.2-2_win64_py27.exe====<br />
* '''Release date:''' 2015-04-10<br/><br />
* '''Fix:'''<br />
** '''''[https://gramps-project.org/bugs/view.php?id=8472 Hangs loading images]'''''<br/>Corrected GdkPixbuf introspection<br />
[[Category:Documentation]]<br />
[[Category:Developers/General]]</div>Josipsfhttps://www.gramps-project.org/wiki/index.php?title=GrampsAIO-4&diff=54257GrampsAIO-42015-03-25T22:49:18Z<p>Josipsf: /* GrampsAIO-4.1.2-1_win64_py27.exe */</p>
<hr />
<div>The '''Gramps''' "software bundle" for Windows or '''GrampsAIO''' is an all-in-one (a.k.a. '''"AIO"''') installation package of Gramps which includes all dependencies for the Windows platform.<br />
<br />
==GrampsAIO-4.0.x==<br />
AIO bundle for 4th generation of Gramps which now use Gtk3 with [https://wiki.gnome.org/Projects/PyGObject PyGobject] and [https://wiki.gnome.org/Projects/GObjectIntrospection GObject Introspection].<br />
<br />
Although Gramps now support Python3 older Python2 is still used instead.<br />
<br />
===GrampsAIO64-4.0.2===<br />
Release made for 64bit version of Windows.<br />
<br />
Dependent libraries are built with "march=core2" compiler flag so you will need hardware with MMX, SSE, SSE2, SSE3 and SSSE3 instruction set support to use it.<br />
<br />
===GrampsAIO-4.0.3-1===<br />
* '''What's new:'''<br />
** '''''Gramps launchers:'''''<br />
*** '''''gramps.exe'''''<br/>It is a console application so if it is not started from one he will pop-up new one.<br/>Gramps will prints warnings and errors in that.<br/>For those who want to script Gramps. This is for use when asked to do "gramps -v" for example<br />
*** '''''grampsw.exe'''''<br/>This is GUI application (hence the "w" endings) so no "DOS box"<br/>That is probably preferred way to use Gramps for most users.<br/>Since there is not standard handles in gui application, all info, warning, and error prints are redirected to file %APPDATA%\gramps\Gramps40.log<br />
*** '''''grampsd.exe'''''<br/>For time when you have problem running Gramps.<br/>Unlike previous two it not runs optimized byte-compiled files but normal ones (*.pyc no *.pyo).<br/>It is console application which create one early in startup process if is not started from one to catch early errors. At the end of program it must be closed by hand (pressing any key or clicking close button) giving you chance to see and copy errors to report them.<br/>For those reason it will always start Gramps in English no matter of your Windows locale settings.<br />
<br />
===GrampsAIO-4.0.3-2===<br />
* '''Fix:'''<br />
** '''''HotKeys in launchers shortcut-links'''''<br/>Looks like something is wrong with shortcut-link creation so start of their description ends up as their hot-keys.<br />
<br />
===GrampsAIO-4.0.3-3===<br />
* '''Fix:'''<br />
** '''''Graphviz'''''<br/>File "config6" where Graphviz store his configuration is not included in bundle. Because of that creation of graphical report will fail.<br/>You can make your own until 3rd version is released.<br/>Open up console in GrampsAIO\bin folder and type:<br />
<pre><br />
dot.exe -c<br />
</pre><br />
<br />
===GrampsAIO-4.0.3-4===<br />
<br />
* '''Fix:'''<br />
** Visual Styles<br />
** User Account Control<br />
** DPI Awareness<br />
** Program Compatibility Assistant<br />
<br />
==GrampsAIO-4.1.x==<br />
===GrampsAIO-4.1.2-1_win32_py27.exe===<br />
* '''Release date:''' 2015-03-01<br/>Initial release<br />
===GrampsAIO-4.1.2-1_win64_py27.exe===<br />
* '''Release date:''' 2015-03-24<br/>Initial release<br />
<br />
===GrampsAIO-4.1.2-2_win32_py27.exe===<br />
* '''Release date:''' 2015-03-14<br />
* '''Fix:'''<br />
** '''''PDF generation'''''<br/>Update version of [http://cairographics.org/ Cairo] library to [http://cairographics.org/news/cairo-1.14.2/ 1.14.2] to prevent line truncation in textual reports exported as PDF <br />
** '''''missing folder icon in FileChooserDialog'''''<br/>[http://gramps.1791082.n4.nabble.com/Folder-icon-and-Gramps-4-1-2-td4669544.html#none Patch] [https://wiki.gnome.org/Projects/GLib GLib library]<br />
** '''''inclusion of images in some reports'''''<br/>Added all dependencies of PIL ([https://pillow.readthedocs.org/ Pillow]) library <br />
===GrampsAIO-4.1.2-3_win32_py27.exe===<br />
* '''Release date:''' 2015-03-16<br />
* '''Fix:'''<br />
** '''''non-ascii characters in database path'''''<br/>Compiled db library with ''-DUNICODE'' and ''-D_UNICODE'' flags<br />
===GrampsAIO-4.1.2-4_win32_py27.exe===<br />
* '''Release date:''' 2015-03-22<br />
* '''Fix:'''<br />
** '''''graphviz not working in Windows XP'''''<br/>Build [http://www.graphviz.org/ Graphviz] without ''strtok_s''<br />
** '''''gtk drag-and-drop instability''''''<br/>Added [https://git.gnome.org/browse/gtk+/commit/?id=e7eaca9 patch] ''DND: Clean up weak pointers when they are no longer needed'' to gtk-3.14.9 build<br />
[[Category:Documentation]]<br />
[[Category:Developers/General]]</div>Josipsfhttps://www.gramps-project.org/wiki/index.php?title=Template:Filename_windows_AIO64&diff=54250Template:Filename windows AIO642015-03-24T22:19:58Z<p>Josipsf: </p>
<hr />
<div>GrampsAIO-{{version_windows_AIO64}}-1_win64_py27</div>Josipsfhttps://www.gramps-project.org/wiki/index.php?title=Template:Filename_windows_AIO64&diff=54249Template:Filename windows AIO642015-03-24T22:17:35Z<p>Josipsf: </p>
<hr />
<div>GrampsAIO64-{{version_windows_AIO64}}-1_win64_py27</div>Josipsfhttps://www.gramps-project.org/wiki/index.php?title=Template:Version_windows_AIO64&diff=54248Template:Version windows AIO642015-03-24T22:15:58Z<p>Josipsf: </p>
<hr />
<div>4.1.2</div>Josipsfhttps://www.gramps-project.org/wiki/index.php?title=GrampsAIO-4&diff=54160GrampsAIO-42015-03-22T22:51:09Z<p>Josipsf: </p>
<hr />
<div>The '''Gramps''' "software bundle" for Windows or '''GrampsAIO''' is an all-in-one (a.k.a. '''"AIO"''') installation package of Gramps which includes all dependencies for the Windows platform.<br />
<br />
==GrampsAIO-4.0.x==<br />
AIO bundle for 4th generation of Gramps which now use Gtk3 with [https://wiki.gnome.org/Projects/PyGObject PyGobject] and [https://wiki.gnome.org/Projects/GObjectIntrospection GObject Introspection].<br />
<br />
Although Gramps now support Python3 older Python2 is still used instead.<br />
<br />
===GrampsAIO64-4.0.2===<br />
Release made for 64bit version of Windows.<br />
<br />
Dependent libraries are built with "march=core2" compiler flag so you will need hardware with MMX, SSE, SSE2, SSE3 and SSSE3 instruction set support to use it.<br />
<br />
===GrampsAIO-4.0.3-1===<br />
* '''What's new:'''<br />
** '''''Gramps launchers:'''''<br />
*** '''''gramps.exe'''''<br/>It is a console application so if it is not started from one he will pop-up new one.<br/>Gramps will prints warnings and errors in that.<br/>For those who want to script Gramps. This is for use when asked to do "gramps -v" for example<br />
*** '''''grampsw.exe'''''<br/>This is GUI application (hence the "w" endings) so no "DOS box"<br/>That is probably preferred way to use Gramps for most users.<br/>Since there is not standard handles in gui application, all info, warning, and error prints are redirected to file %APPDATA%\gramps\Gramps40.log<br />
*** '''''grampsd.exe'''''<br/>For time when you have problem running Gramps.<br/>Unlike previous two it not runs optimized byte-compiled files but normal ones (*.pyc no *.pyo).<br/>It is console application which create one early in startup process if is not started from one to catch early errors. At the end of program it must be closed by hand (pressing any key or clicking close button) giving you chance to see and copy errors to report them.<br/>For those reason it will always start Gramps in English no matter of your Windows locale settings.<br />
<br />
===GrampsAIO-4.0.3-2===<br />
* '''Fix:'''<br />
** '''''HotKeys in launchers shortcut-links'''''<br/>Looks like something is wrong with shortcut-link creation so start of their description ends up as their hot-keys.<br />
<br />
===GrampsAIO-4.0.3-3===<br />
* '''Fix:'''<br />
** '''''Graphviz'''''<br/>File "config6" where Graphviz store his configuration is not included in bundle. Because of that creation of graphical report will fail.<br/>You can make your own until 3rd version is released.<br/>Open up console in GrampsAIO\bin folder and type:<br />
<pre><br />
dot.exe -c<br />
</pre><br />
<br />
===GrampsAIO-4.0.3-4===<br />
<br />
* '''Fix:'''<br />
** Visual Styles<br />
** User Account Control<br />
** DPI Awareness<br />
** Program Compatibility Assistant<br />
<br />
==GrampsAIO-4.1.x==<br />
===GrampsAIO-4.1.2-1_win32_py27.exe===<br />
* '''Release date:''' 2015-03-01<br/>Initial release<br />
===GrampsAIO-4.1.2-1_win64_py27.exe===<br />
* '''Release date:'''<br/>Initial release<br />
===GrampsAIO-4.1.2-2_win32_py27.exe===<br />
* '''Release date:''' 2015-03-14<br />
* '''Fix:'''<br />
** '''''PDF generation'''''<br/>Update version of [http://cairographics.org/ Cairo] library to [http://cairographics.org/news/cairo-1.14.2/ 1.14.2] to prevent line truncation in textual reports exported as PDF <br />
** '''''missing folder icon in FileChooserDialog'''''<br/>[http://gramps.1791082.n4.nabble.com/Folder-icon-and-Gramps-4-1-2-td4669544.html#none Patch] [https://wiki.gnome.org/Projects/GLib GLib library]<br />
** '''''inclusion of images in some reports'''''<br/>Added all dependencies of PIL ([https://pillow.readthedocs.org/ Pillow]) library <br />
===GrampsAIO-4.1.2-3_win32_py27.exe===<br />
* '''Release date:''' 2015-03-16<br />
* '''Fix:'''<br />
** '''''non-ascii characters in database path'''''<br/>Compiled db library with ''-DUNICODE'' and ''-D_UNICODE'' flags<br />
===GrampsAIO-4.1.2-4_win32_py27.exe===<br />
* '''Release date:''' 2015-03-22<br />
* '''Fix:'''<br />
** '''''graphviz not working in Windows XP'''''<br/>Build [http://www.graphviz.org/ Graphviz] without ''strtok_s''<br />
** '''''gtk drag-and-drop instability''''''<br/>Added [https://git.gnome.org/browse/gtk+/commit/?id=e7eaca9 patch] ''DND: Clean up weak pointers when they are no longer needed'' to gtk-3.14.9 build<br />
[[Category:Documentation]]<br />
[[Category:Developers/General]]</div>Josipsfhttps://www.gramps-project.org/wiki/index.php?title=GrampsAIO-4&diff=54149GrampsAIO-42015-03-22T17:50:31Z<p>Josipsf: Update AIO descriptions</p>
<hr />
<div>The '''Gramps''' "software bundle" for Windows or '''GrampsAIO''' is an all-in-one (a.k.a. '''"AIO"''') installation package of Gramps which includes all dependencies for the Windows platform.<br />
<br />
==GrampsAIO-4.0.x==<br />
AIO bundle for 4th generation of Gramps which now use Gtk3 with [https://wiki.gnome.org/Projects/PyGObject PyGobject] and [https://wiki.gnome.org/Projects/GObjectIntrospection GObject Introspection].<br />
<br />
Although Gramps now support Python3 older Python2 is still used instead.<br />
<br />
===GrampsAIO64-4.0.2===<br />
Release made for 64bit version of Windows.<br />
<br />
Dependent libraries are built with "march=core2" compiler flag so you will need hardware with MMX, SSE, SSE2, SSE3 and SSSE3 instruction set support to use it.<br />
<br />
===GrampsAIO-4.0.3-1===<br />
* '''What's new:'''<br />
** '''''Gramps launchers:'''''<br />
*** '''''gramps.exe'''''<br/>It is a console application so if it is not started from one he will pop-up new one.<br/>Gramps will prints warnings and errors in that.<br/>For those who want to script Gramps. This is for use when asked to do "gramps -v" for example<br />
*** '''''grampsw.exe'''''<br/>This is GUI application (hence the "w" endings) so no "DOS box"<br/>That is probably preferred way to use Gramps for most users.<br/>Since there is not standard handles in gui application, all info, warning, and error prints are redirected to file %APPDATA%\gramps\Gramps40.log<br />
*** '''''grampsd.exe'''''<br/>For time when you have problem running Gramps.<br/>Unlike previous two it not runs optimized byte-compiled files but normal ones (*.pyc no *.pyo).<br/>It is console application which create one early in startup process if is not started from one to catch early errors. At the end of program it must be closed by hand (pressing any key or clicking close button) giving you chance to see and copy errors to report them.<br/>For those reason it will always start Gramps in English no matter of your Windows locale settings.<br />
<br />
===GrampsAIO-4.0.3-2===<br />
* '''Fix:'''<br />
** '''''HotKeys in launchers shortcut-links'''''<br/>Looks like something is wrong with shortcut-link creation so start of their description ends up as their hot-keys.<br />
<br />
===GrampsAIO-4.0.3-3===<br />
* '''Fix:'''<br />
** '''''Graphviz'''''<br/>File "config6" where Graphviz store his configuration is not included in bundle. Because of that creation of graphical report will fail.<br/>You can make your own until 3rd version is released.<br/>Open up console in GrampsAIO\bin folder and type:<br />
<pre><br />
dot.exe -c<br />
</pre><br />
<br />
===GrampsAIO-4.0.3-4===<br />
<br />
* '''Fix:'''<br />
** Visual Styles<br />
** User Account Control<br />
** DPI Awareness<br />
** Program Compatibility Assistant<br />
<br />
==GrampsAIO-4.1.x==<br />
===GrampsAIO-4.1.2-1_win32_py27.exe===<br />
* '''Release date:''' 2015-03-01<br/>Initial release<br />
===GrampsAIO-4.1.2-1_win64_py27.exe===<br />
* '''Release date:'''<br/>Initial release<br />
===GrampsAIO-4.1.2-2_win32_py27.exe===<br />
* '''Release date:''' 2015-03-14<br />
* '''Fix:'''<br />
** '''''PDF generation'''''<br/>Update version of [http://cairographics.org/ Cairo] library to [http://cairographics.org/news/cairo-1.14.2/ 1.14.2] to prevent line truncation in textual reports exported as PDF <br />
** '''''missing folder icon in FileChooserDialog'''''<br/>[http://gramps.1791082.n4.nabble.com/Folder-icon-and-Gramps-4-1-2-td4669544.html#none Patch] [https://wiki.gnome.org/Projects/GLib GLib library]<br />
** '''''inclusion of images in some reports'''''<br/>Added all dependencies of PIL ([https://pillow.readthedocs.org/ Pillow]) library <br />
===GrampsAIO-4.1.2-3_win32_py27.exe===<br />
* '''Release date:''' 2015-03-16<br />
* '''Fix:'''<br />
** '''''non-ascii characters in database path'''''<br/>Compiled db library with ''-DUNICODE'' and ''-D_UNICODE'' flags<br />
===GrampsAIO-4.1.2-4_win32_py27.exe===<br />
* '''Release date:'''<br />
* '''Fix:'''<br />
** '''''graphviz not working in Windows XP'''''<br/>Build [http://www.graphviz.org/ Graphviz] without ''strtok_s''<br />
<br />
[[Category:Documentation]]<br />
[[Category:Developers/General]]</div>Josipsfhttps://www.gramps-project.org/wiki/index.php?title=GrampsAIO-4&diff=48281GrampsAIO-42014-02-08T00:39:39Z<p>Josipsf: /* GrampsAIO-4.0.3-4 */</p>
<hr />
<div>The '''Gramps''' "software bundle" for Windows or '''GrampsAIO''' is an all-in-one (a.k.a. '''"AIO"''') installation package of Gramps which includes all dependencies for the Windows platform.<br />
<br />
==GrampsAIO-4.0.x==<br />
AIO bundle for 4th generation of Gramps which now use Gtk3 with [https://wiki.gnome.org/Projects/PyGObject PyGobject] and [https://wiki.gnome.org/Projects/GObjectIntrospection GObject Introspection].<br/>Although Gramps now support Python3 older Python2 is still used instead .<br />
<br />
===GrampsAIO64-4.0.2===<br />
Release made for 64bit version of Windows.<br/>Dependent libraries are built with "march=core2" compiler flag so you will need hardware with MMX, SSE, SSE2, SSE3 <br />
and SSSE3 instruction set support to use it.<br />
----<br />
===GrampsAIO-4.0.3-1===<br />
* '''What's new:'''<br />
** '''''Gramps launchers:'''''<br />
*** '''''gramps.exe'''''<br/>It is a console application so if it is not started from one he will pop-up new one.<br/>Gramps will prints warnings and errors in that.<br/>For those who want to script Gramps. This is for use when asked to do "gramps -v" for example<br />
*** '''''grampsw.exe'''''<br/>This is GUI application (hence the "w" endings) so no "DOS box"<br/>That is probably preferred way to use Gramps for most users.<br/>Since there is not standard handles in gui application, all info, warning, and error prints are redirected to file %APPDATA%\gramps\Gramps40.log<br />
*** '''''grampsd.exe'''''<br/>For time when you have problem running Gramps.<br/>Unlike previous two it not runs optimized byte-compiled files but normal ones (*.pyc no *.pyo).<br/>It is console application which create one early in startup process if is not started from one to catch early errors. At the end of program it must be closed by hand (pressing any key or clicking close button) giving you chance to see and copy errors to report them.<br/>For those reason it will always start Gramps in English no matter of your Windows locale settings.<br />
----<br />
===GrampsAIO-4.0.3-2===<br />
* '''Fix:'''<br />
** '''''HotKeys in launchers shortcut-links'''''<br/>Looks like something is wrong with shortcut-link creation so start of their description ends up as their hot-keys.<br />
----<br />
===GrampsAIO-4.0.3-3===<br />
* '''Fix:'''<br />
** '''''Graphviz'''''<br/>File "config6" where Graphviz store his configuration is not included in bundle. Because of that creation of graphical report will fail.<br/>You can make your own until 3rd version is released.<br/>Open up console in GrampsAIO\bin folder and type:<br />
<code><br />
dot.exe -c<br />
</code><br />
----<br />
===GrampsAIO-4.0.3-4===<br />
<br />
* '''Fix:'''<br />
** '''''Visual Styles'''''<br />
** '''''User Account Control'''''<br />
** '''''DPI Awareness'''''<br />
** '''''Program Compatibility Assistant'''''<br />
----<br />
<br />
==GrampsAIO-4.1.x==</div>Josipsfhttps://www.gramps-project.org/wiki/index.php?title=GrampsAIO-4&diff=48280GrampsAIO-42014-02-07T22:41:27Z<p>Josipsf: </p>
<hr />
<div>The '''Gramps''' "software bundle" for Windows or '''GrampsAIO''' is an all-in-one (a.k.a. '''"AIO"''') installation package of Gramps which includes all dependencies for the Windows platform.<br />
<br />
==GrampsAIO-4.0.x==<br />
AIO bundle for 4th generation of Gramps which now use Gtk3 with [https://wiki.gnome.org/Projects/PyGObject PyGobject] and [https://wiki.gnome.org/Projects/GObjectIntrospection GObject Introspection].<br/>Although Gramps now support Python3 older Python2 is still used instead .<br />
<br />
===GrampsAIO64-4.0.2===<br />
Release made for 64bit version of Windows.<br/>Dependent libraries are built with "march=core2" compiler flag so you will need hardware with MMX, SSE, SSE2, SSE3 <br />
and SSSE3 instruction set support to use it.<br />
----<br />
===GrampsAIO-4.0.3-1===<br />
* '''What's new:'''<br />
** '''''Gramps launchers:'''''<br />
*** '''''gramps.exe'''''<br/>It is a console application so if it is not started from one he will pop-up new one.<br/>Gramps will prints warnings and errors in that.<br/>For those who want to script Gramps. This is for use when asked to do "gramps -v" for example<br />
*** '''''grampsw.exe'''''<br/>This is GUI application (hence the "w" endings) so no "DOS box"<br/>That is probably preferred way to use Gramps for most users.<br/>Since there is not standard handles in gui application, all info, warning, and error prints are redirected to file %APPDATA%\gramps\Gramps40.log<br />
*** '''''grampsd.exe'''''<br/>For time when you have problem running Gramps.<br/>Unlike previous two it not runs optimized byte-compiled files but normal ones (*.pyc no *.pyo).<br/>It is console application which create one early in startup process if is not started from one to catch early errors. At the end of program it must be closed by hand (pressing any key or clicking close button) giving you chance to see and copy errors to report them.<br/>For those reason it will always start Gramps in English no matter of your Windows locale settings.<br />
----<br />
===GrampsAIO-4.0.3-2===<br />
* '''Fix:'''<br />
** '''''HotKeys in launchers shortcut-links'''''<br/>Looks like something is wrong with shortcut-link creation so start of their description ends up as their hot-keys.<br />
----<br />
===GrampsAIO-4.0.3-3===<br />
* '''Fix:'''<br />
** '''''Graphviz'''''<br/>File "config6" where Graphviz store his configuration is not included in bundle. Because of that creation of graphical report will fail.<br/>You can make your own until 3rd version is released.<br/>Open up console in GrampsAIO\bin folder and type:<br />
<code><br />
dot.exe -c<br />
</code><br />
----<br />
===GrampsAIO-4.0.3-4===<br />
* '''Fix:'''<br />
** '''''HighDPI resolution problem'''''<br />
----<br />
==GrampsAIO-4.1.x==</div>Josipsfhttps://www.gramps-project.org/wiki/index.php?title=GrampsAIO-4&diff=48279GrampsAIO-42014-02-07T21:01:26Z<p>Josipsf: /* GrampsAIO-4.0.3-1 */</p>
<hr />
<div>The '''Gramps''' "software bundle" for Windows or '''GrampsAIO''' is an all-in-one (a.k.a. '''"AIO"''') installation package of Gramps which includes all dependencies for the Windows platform.<br />
<br />
=GrampsAIO-4.0.x=<br />
==GrampsAIO64-4.0.2==<br />
First AIO bundle for 4th generation of Gramps which now use Gtk3 with [https://wiki.gnome.org/Projects/PyGObject PyGobject] and [https://wiki.gnome.org/Projects/GObjectIntrospection GObject Introspection]<br />
Although Gramps now support Python3 older Python2 is still used instead <br />
<br />
==GrampsAIO-4.0.3-1==<br />
* '''What's new:'''<br />
** Gramps launchers:<br />
*** gramps.exe<br />
*** grampsw.exe<br />
*** grampsd.exe<br />
<br />
==GrampsAIO-4.0.3-2==<br />
==GrampsAIO-4.0.3-3==<br />
==GrampsAIO-4.0.3-4==</div>Josipsfhttps://www.gramps-project.org/wiki/index.php?title=GrampsAIO-4&diff=48256GrampsAIO-42014-02-07T18:21:15Z<p>Josipsf: Initial description of GrampsAIO-4 development</p>
<hr />
<div>The '''Gramps''' "software bundle" for Windows or '''GrampsAIO''' is an all-in-one (a.k.a. '''"AIO"''') installation package of Gramps which includes all dependencies for the Windows platform.<br />
<br />
=GrampsAIO-4.0.x=<br />
==GrampsAIO64-4.0.2==<br />
First AIO bundle for 4th generation of Gramps which now use Gtk3 with [https://wiki.gnome.org/Projects/PyGObject PyGobject] and [https://wiki.gnome.org/Projects/GObjectIntrospection GObject Introspection]<br />
Although Gramps now support Python3 older Python2 is still used instead <br />
<br />
==GrampsAIO-4.0.3-1==<br />
==GrampsAIO-4.0.3-2==<br />
==GrampsAIO-4.0.3-3==<br />
==GrampsAIO-4.0.3-4==</div>Josipsfhttps://www.gramps-project.org/wiki/index.php?title=All_In_One_Gramps_Software_Bundle_for_Windows&diff=48255All In One Gramps Software Bundle for Windows2014-02-07T17:38:46Z<p>Josipsf: </p>
<hr />
<div>{{man warn| This is a work in progress... |Any files listed here may be '''not suitable''' for normal every day use! (My lawyer advised me to say that, but many people are using this and have reported no problems at all.)<br/>Any comments and help (e.g. on wiki pages) are welcome. Josip}}<br />
<br />
The '''Gramps "software bundle" for Windows''' or '''GrampsAIO''' is an all-in-one (a.k.a. "AIO") installation package of Gramps which includes all dependencies for the Windows platform. (See also [[Gramps and Windows]].)<br />
<br />
Not only are all dependencies included ("bundled"), so that users do not have to first manually install each one of them, but they are<br />
installed in such a fashion that Gramps can easily find them.<br />
<br />
(Technical details: The<br />
logic for this bundle is that in Windows the first entry in the search path is the current working directory (the one in which the program is started), so if any Gramps dependency is in that same directory there is thus no need to look for that dependency in a system folder and possibly load an incompatible one -- thus "dependency hell" is avoided. This is also the reason why GrampsAIO must be started from its own folder. Also, in newer Windows versions there may be security restriction with shell scripts so GrampsAIO does not use one.)<br />
<br />
For the technically sophisticated, GrampsAIO is rebuild-able: it contains an install script which can make a new installable program from the installed one.<br />
<br />
For example somebody might like to repackage Gramps with their code changes, or favorite addons, or even their own family trees, etc. <br />
<br />
==Installation folder==<br />
This distribution is directory based, which means it loads all dependencies from the directory in which they have been installed.<br />
<br />
That folder's location depends on whether the person doing the installation has administrative rights on the Windows machine. If an administrator installs it the directory may be chosen, with the default suggestion being %ProgramFiles%\GrampsAIO (for example C:\Program Files\GrampsAIO). If a non-administrator installs it, it will be placed in the user's personal tree, in %APPDATA%\GrampsAIO (for example C:\Documents and Settings\Jones\Application Data\GrampsAIO).<br />
<br />
So if you want to use it from the console/terminal (dos/cmd.exe prompt) you must first go to the directory where those dependencies were installed (GrampsAIO\bin); for example:<br />
<code><br />
cd C:\GrampsAIO\bin; python -EO ..\share\gramps\gramps.py<br />
</code><br />
(but the installation may have been put somewhere else and so you should probably first search for the GrampsAIO\bin folder to make sure).<br />
<br />
==Why GrampsAIO was made==<br />
* easy installation:<br />
** no searching web for appropriate packages<br />
** one click install<br />
* no dependency hell:<br />
** all libraries work together<br />
** on upgrade of a library all other libraries are rebuilt with that version<br />
<br />
==How GrampsAIO was made==<br />
* put all software Gramps needs in one package:<br />
# all core non-python libraries and applications<br />
# any optional non-python libraries and applications<br />
# python bindings for core libraries<br />
# python bindings for optional libraries<br />
* use NSIS (Nullsoft Script-able Install System)<br />
<br />
==Software releases:==<br />
<br />
The preferred way to get the GrampsAIO bundle is<br />
to download it from the official Gramps software<br />
repository. See [[Download#Community supported|Download]]<br />
for the current version and link to it.<br />
<br />
You can follow progress of GrampAIO-4 bundle development at their [[GrampsAIO-4|page]]<br />
Older versions or developmental versions are available<br />
directly from the GrampsAIO bundle's author. See below.<br />
<br />
===Gramps AIO (32bit)===<br />
<br />
<!-- update last version numbers on[[Template:version_windows_AIO32]]--><br />
<br />
{|align="top" cellspacing="20" width=80%<br />
|-<br />
|{{Release/Box-header|AIO 3.4.6-1|'''2013-10-28'''}}<br />
|-<br />
|{{Release/Box-header|AIO 3.2.5-1|'''2010-12-04'''}}<br />
|-<br />
|{{Release/Box-header|AIO 3.2.5-2|'''2010-12-04'''}}<br />
|-<br />
|{{Release/Box-header|AIO 3.2.5-3|'''2010-12-21'''}}<br />
|-<br />
|{{Release/Box-header|AIO 3.2.5-4|'''2011-01-01'''}} <br />
|-<br />
|{{Release/Box-header|AIO 3.2.5-5|'''2011-01-08'''}} <br />
|-<br />
|{{Release/Box-header|AIO 3.2.6-1|'''2011-05-01'''}}<br />
|-<br />
|{{Release/Box-header|[http://sourceforge.net/projects/gramps/files/Stable/3.3.0/ AIO 3.3.0]|'''2011-06-21''' <br>Includes: Gramps 3.3.0, Python (2.7.2), GTK & PyGTK ... plus GhostScript for reports, GraphViz and goocanvas for graphs, GtkSpell and various dictionaries for spell-checking, osmgpsmap for GeographyView, pyexiv2, convert and jhead for ImageMetadata}} <br />
|-<br />
|{{Release/Box-header|[http://sourceforge.net/projects/gramps/files/Stable/3.3.1/ AIO 3.3.1-1]|'''2011-10-02''' <br>Includes: Gramps 3.3.1, Python (2.7.2), GTK & PyGTK ... plus GhostScript for reports, GraphViz and goocanvas for graphs, GtkSpell and various dictionaries for spell-checking, osmgpsmap for GeographyView, pyexiv2, convert and jhead for ImageMetadata}}<br />
|-<br />
|{{Release/Box-header|[http://sourceforge.net/projects/gramps/files/Stable/3.3.1/ AIO 3.3.1-2]|'''2011-10-05''' <br>Added: Python Imaging Library (PIL) 1.1.7}}<br />
|}<br />
<br />
===Gramps AIO (64bit)===<br />
<br />
<!-- update last version numbers on [[Template:version_windows_AIO64]] --><br />
<br />
{|align="top" cellspacing="20" width=80%<br />
|-<br />
|{{Release/Box-header|AIO64 4.0.2-1|'''2013-11-09'''}}<br />
<br />
<br />
* '''bump version'''<br />
* gexiv2-0.7.0: recent fix for libmetadata.py<br />
* libgoocanvas-2.0.2 (for GraphView see bug {{bug|7109}})<br />
* opencv-2.4.6 + cv2 (see bug {{bug|5674}})<br />
** http://www.gramps-project.org/bugs/view.php?id=5674#c32484<br />
* django-1.4.10<br />
|-<br />
|{{Release/Box-header|AIO64 3.2.5-1|'''2010-12-29'''}}<br />
|-<br />
|{{Release/Box-header|AIO64 3.2.5-2|'''2010-12-29'''}}<br />
|-<br />
|{{Release/Box-header|AIO64 3.2.5-3|'''2010-12-31'''}}<br />
|-<br />
|{{Release/Box-header|AIO64 3.2.5-4|'''2011-01-06'''}}<br />
|-<br />
|<br />
|-<br />
|{{Release/Box-header|AIO64 3.2.6-1|'''2011-06-05'''}} <br />
|-<br />
|{{Release/Box-header|AIO64 3.3.0_beta-1|'''2011-05-29''' <br>Includes: Gramps 3.3.0, Python (2.7.2), GTK & PyGTK ... plus GhostScript for reports, GraphViz and goocanvas for graphs, GtkSpell and various dictionaries for spell-checking, osmgpsmap for GeographyView, pyexiv2, convert and jhead for ImageMetadata}}<br />
|-<br />
|{{Release/Box-header|[http://sourceforge.net/projects/gramps/files/Stable/3.3.0/ AIO64 3.3.1-1]|'''2011-11-13'''<br/><br/><br/><br />
* '''bump version:'''<br />
** GTK 2.24.7<br />
** Graphviz 2.28.0<br />
** GooCanvas 1.0.0<br />
* '''fix:'''<br />
** pango warnings<br />
}}<br />
|-<br />
|{{Release/Box-header|[http://sourceforge.net/projects/gramps/files/Stable/3.4.0/ AIO64 3.4.0]|'''2012-05-23'''<br/><br />
}}<br />
|}<br />
<br />
<br />
[[Category:Developers/Packaging]]</div>Josipsf