From the Gramps mailing list discussing portable apps.
PortableApps team has this to say about Gramps 4.x:
"Gramps 4.x - Temporarily on hold pending stability and possible licensing issues"
https://portableapps.com/development/outdated
Stability links to this post http://gramps.1791082.n4.nabble.com/Status-update-goals-and-ideas-td4668....
I have no idea what are the licensing issues they refer to.
http://gramps.1791082.n4.nabble.com/Gramps-4-2-1-32-bit-for-Windows-tp46...
and further down the page they speculate that
Note, I suppose the main limitation for the portable app is maybe the bsddb3 licence?
Is that the licensing issue?
And as for stability on Gramps 4.x one of the developers mentions:
I made a list of database corruption bugs:
https://gramps-project.org/bugs/view.php?id=8875
These stability issues also affect v3.4 and most have a known cause.
Considering we have approximately 20,000 users these problems are rare.The next major release, v5.0, will give users the option to choose a
different database backend.
Moved to "Education Apps Support" forum - mod GC
Feature Request on Gramps Bugtracker: 4064: Gramps Portable in PortableApps.com Format
https://gramps-project.org/bugs/view.php?id=4064
About stability:
Lol, they are still ignoring the portable users:
all-time Gramps Portable downloads ~ 600,000
Gramps Portable 3.4.9 downloads > 50,000
Some of the database corruption bugs don't appear in the portable version, because the portable version doesn't allow multiple instances by default.
One of the users mentions in the discussion you linked to:
There is still no stable win32 4.x release!
Even if there will be a GrampsAIO sometime in the future, I won't use this as a base for Gramps Portable due to licensing issues. It integrates Graphviz, which license isn't GPL compatible. And furthermore:
IANAL but I think this violates the GPL.
Graphviz is EPL which is incompatible with the GPL. But it depends on how the data is passed. If the data is prepared, saved to the drive, and then graphviz is launched to handle it, closes down, and then Gramps picks up the result, that's just fine. If Gramps loads the graphviz dll library and does not have permission to include an exception to the GPL from all contributors to Gramps, then that is indeed a violation of the GPL and the copyrights of all the contributors to Gramps. There are two ways around this. One is to save the data to disc and launch a separate process of Graphviz to handle the data. The other is to get permission from every Gramps contributor to relicense their work as GPL with exceptions allowing it to be linked to the graphviz EPL code. Note that this would also involve getting this permission from the developers of every GPL library that is included with Gramps, not just the Gramps developers.
Note that this was not the appropriate location for this discussion (outdated apps thread) so I moved it to its own thread.
Sometimes, the impossible can become possible, if you're awesome!
Thanks for the clarification.
Based on the information there, it sounds like Graphviz is called by Gramps as hoped for. As such, to me it sounds ds li!e the incompatible licenses aren't a problem.
John, what do you think?
Last time I checked, Gramps AIO doesn't bundle original Graphviz binaries. GVEdit (Graphviz) Portable does.
The real showstopper is "making dirty patches without keeping any track of them". The author fixes GTK, Python, Graphviz, ... and if he can't keep track nobody else can.
(which by the way I agree with you on see my earlier reply) but rather the Gramps source code itself and the licences that you mentioned as a reason.
Yes, the license compatibility issue between EPL and GPL would be a non-issue if one calls the other out of process as it appears.
If certain fixes are needed for GTK, Graphviz, etc to get it working on Windows and are made to the official release, we'd need the source of those fixes. If those fixes aren't released, that would be a licensing issue as well.
Sometimes, the impossible can become possible, if you're awesome!
PortableApps.com makes existing windows packages portable.
No working/stable windows package no portable package.
I don't compile source code of applications myself.
It's just repackaging in a portable way (with a custom launcher).
All good points , but raises one question, the thing you mention ("multiple instances by default") can that not incorporated into Gramps to improve it?
I wasn't aware the person doing the ms-window packaging was doing it in an undocumented fashion and that explains why I can not see any scripts that allow you to package the current version of gramps for windows!
How do you create yours for Gramps 3.x?
Looking at https://portableapps.com/node/38245 it seems you had a standalone way of using Graphviz but choose to incorporate it, would going back to this method help? I only ask as the gramps project clearly states that Graphviz is not a requirement https://github.com/gramps-project/gramps#the-following-packages-are-stro... but does strongly recommend it and while the message they show about graphviz reads "Enable creation of graphs using Graphviz engine. Without this, three reports cannot be run. " this message is very clearly wrong in that the reports can be run but not viewed or converted to other formats see: http://gramps.1791082.n4.nabble.com/Graphviz-td1811279.html#a1811281 and my message to John.
Questions
*How is the communication between you and the Gramps project?
*
Am I missing something, I've searched the mailing list and don't see previous correspondence with you?found it i think will read later http://gramps.1791082.n4.nabble.com/Portable-Gramps-Windows-td1813366.ht...*Can you get your changes (the portable stuff) into to Gramps to make your life easier?
At the end of the day I understand and appreciate what you have done and thank you for that
BTW: A 32bit version for windows is now available.
http://gramps.1791082.n4.nabble.com/Gramps-4-2-1-32-bit-for-Windows-td46...
You'll have to ask the gramps developers.
Based on the minimal windows installer (not maintained anymore), the gramps source and the hard way of dependencies installation [#]. Gramps Portable supports GVEdit (Graphviz) Portable and Ghostscript Portable as well.
There is none.
The thread you found is from the author of the previous Gramps Portable test version [#].
Ok I've sent a link to this discussion.
Looks really difficult, but the link only shows for a standard install and does not contain any of the undocumented steps to make a portable version you made. Which means nobody else can recreate the work you have done, so essentially everyone is in the same position for either windows package
Ok
All I can really say is communication is really important Bart S
Thank you once again.
GrampsAIO-4.1.2 package is made with NSIS (Nullsoft Scriptable Install System) using install script from src\gramps.nsi
Source of Gramps launchers (gramps, grampsw and grampsd) are in src\gramps.c together with instruction how to compile it.
All libraries Gramps depend on was built in MSYS2 environment which have all recipes, patches and tools needed to do that.
For repackaging AIO use existing installation do download new Gramps source and build and install it from there to that prefix (build and install instruction is same for all platform).
Change in gramps.nsi: APPNAME, APPVERSION and APPBUILD to reflect source version.
Run that gramps.nsi with NSIS to produce new package.
Amount of patches to build or run depending libraries varies by time. Most of them will be applied upstream in next version.
For example Gtk3 at begin of development cycle requires lots of patches and now can be built clean from source.
Graphviz just need few little changes to be build with mingw-w64 and msys2. Note that their developers announce that will not be any official windows build in future. Most other libraries (including ones graphviz uses) don't have official builds either.
As noted before Gramps is not linked with Graphviz and their libraries and binaries can be safely removed from AIO package.
The gramps mailing list answers this for me and posting here for others to see:
http://gramps.1791082.n4.nabble.com/gramps-4-2-0beta1-windows-launchers-...
Hi everyone,
My plan is that potentially before the Gramps 5.0 release, I'd like to have the Build services from Travis-CI & Appveyor automically building each of the packages (including the portable apps one if possible or even better merge both and make it an option on installation?).
Looks like a fair bit of work needs to been done to document the build process on windows!
Bart.S great work on the Gramps portable package, would you happen to have a Github id so I can add you to the Gramps project, if your interested?
Volunteers are always welcomed
Thanks for pointing out this discussion.
--
Sam Manzi
https://github.com/gramps-project
Sorry, I don't have a Github id and I don't want one.
I'm not a programmer.
What type of Volunteer are you looking for ? I'm also not a programmer. (Was contacted off forum)
Sorry to revive the thread, guys - Bart.S, how's the newest release of Gramps look like with regards to licensing concerns?
from my point of view
This is the current build script for Gramps on Windows, I don't see anything there that would cause licensing problems, particularly in light of the fact that the gramps team is actively working on the package (and all others, for that matter) being automatically built using Travis-CI and appveyor.
Have you been in touch with the gramps team recently to see where they're at, in regards to fixing the concerns you've raised?
I don't think this file is used anymore. It's in a folder 'nonAIO', it has code with svn (Gramps is using Git for years), latest copyright 2008 Stephen George (maintainer of the old nonAIO installers).
And no, as stated above, I'm not in touch with the gramps team. Feel free to touch them if you want.
As the build process has been changed, Gramps on Windows no longer requires dependencies being rebuilt. Accordingly, I'm in the process of updating our package.
The developer/packager of the Windows AIO hasn't commented in that thread at all.
All others take an old package and update Gramps only (the python code) for personal use/testing. They use his rebuilt dependencies.
IMHO nothing has changed in terms of legality.
Yes he did reply in this thread see "How GrampsAIO is made" https://portableapps.com/comment/225420#comment-225420
And also see "How to use MSYS2 to run latest Gramps development version from source in 64bit Windows."
https://www.gramps-project.org/wiki/index.php?title=Gramps_for_Windows_w...
Gramps 5.0.0 has been released, any potential for a test portable version until this supposed licensing issue has been worked out as the the 3.x series has multiple issues that have been fixed in the 5.x series?
https://github.com/gramps-project/gramps/releases/tag/v5.0.0
They still haven't built a 32-bit package of 5.
Sometimes, the impossible can become possible, if you're awesome!
The 32-bit package of Gramps 5.0 was released two days ago (Aug 3rd) https://sourceforge.net/projects/gramps/files/Stable/5.0.0/GrampsAIO-5.0.0-1_win32.exe/download
That package is not being provided by the publisher yet.
Yes, they have put it on a file hosting site, however it is not yet linked to from their main website. Once it is, we can prepare to update our build as well.
?? Are you sure? It does appears on one of the Gramps managed website for the project https://sourceforge.net/projects/gramps , the other one is https://github.com/gramps-project which also has the file in https://github.com/gramps-project/gramps/releases/tag/v5.0.0 which is referenced on the download page https://gramps-project.org/wiki/index.php?title=Download#MS_Windows ? Either way it's available now.
I am the person who created the Gramps AIO 5.0.0 and 4.2.8 32 bit executables. It was based on Josip's original scripts, but does have a few tweaks due to the fact I had to work around not having ALL of Josips changes to the various tools and dependencies. It is based on the MSYS MINGW32 toolset.
I am willing to assist if someone here knows how to create the portable version. I may even be willing to create future Gramps versions for portable, once the basic flow is worked out. I have no experience with PortableApps (did not even know it existed until just an hour ago).
Hi, I'm afraid I can't help much, too many things changed and Gramps AIO 5.0 doesn't even run on my machines.
I'm sorry to hear that Gramps 5.0.0 doesn't run on your machines; this is more than a bit concerning. Do you have any idea why? There have been a few bug reports that people have issues, usually due to something left from previous versions in their Appdata\Roaming\gramps profile, but I am not aware of any widespread difficulties.
It looks like Windows XP is unsupported by Gramps 5.0.0.
Bart.S, the build instructions for Windows are quite clear here; if that's what prc is using, I'm happy to package Gramps Portable off of the resulting AIO for you.
Maybe do a pre-release first. Some of the users might get angry if their database gets corrupted due to an automatic upgrade.
You may also find some of https://gramps-project.org/wiki/index.php/Building_Gramps_AIO_cx_freeze-... useful. It documents exactly what I did to created the 32-bit AIO.
P.S. If there is some script or other elements that go into packaging Gramps for PortableApps, I would like to see how it is done. If it is not too difficult, I may make it part of the Windows release process.
I'll document how to do it for you once I'm done.
Some of the other packages in the PortableApps catalogue have a "Dual-mode (32-bit & 64-bit)" installation... where the OS is detected on-the-fly and the right version is sub-launched.
I wonder if that would make the Gramps Portable archive too large. And even if it does, perhaps it would give insight into making the master project dual-mode... which might evolve into reducing it to eliminate redundancies. Which then would roll back into a smaller Gramps Portable archive.
Brian
Guess this is difficult to do?
It's not particularly difficult, it's just time consuming, and there's a long list of outdated applications I've been helping update as time permits, which do not require rebuilding the launcher for them.
On top of that, real life also tends to get in the way.
I really appreciate what you and other volunteers here on portableapps do for us users.
Thanks for doing this and sorry if I came off as demanding.
EDIT: Happy to test if needed
https://www.reddit.com/r/gramps/comments/cpia99/portable_gramps_installa...
The base application, Gramps, has been updated to 5.1.0 as of August 21st, 2019 (yesterday by this post's time).
https://github.com/gramps-project/gramps/releases/tag/v5.1.0
https://gramps-project.org/introduction-WP/2019/08/gramps-5-1-0-released/
My question is, are you still working on this, Gord? Should someone else take over?
It's on my list of things to work on, although I don't have a timeline at this point in time.
Happy new year.
FYI Gramps 5.1.2 was released a few days ago.
And I also notice on the entry for portableapps on the download page now says "[3] Note that PortableApps.com use an old version of Gramps and it is not recommended for general use"
https://gramps-project.org/wiki/index.php/Download#3
Gramps portable 5.1.3 has been released
https://portableapps.com/apps/education/gramps_portable
Thank you to all involved.
PS: Any chance the screenshot could be updated to something more recent like:
https://gramps-project.org/wiki/images/7/7a/ChartsCategory-pedigreeview1...
from the feature page
https://gramps-project.org/wiki/index.php/Features