Ian's GedSiteInLinux and GRAMPS Page: a DRAFT
This page will help you run GedSite in Linux inport GEDCOM data from a family tree in GRAMPS: This is definitely work in progress so use this at your own risk!
You will:
1. Install PlayOnLinux (POL), and instll GedSite within a POL prefix.
2. Export a GEDCOM ( myGRAMPSoutput.ged) file from your GRAMPS family tree database. (Not written yet)
3. Prepare ( myGRAMPSoutput.ged2) for use as input to GedSite (myGRAMPSoutput.ged). (Not written yet.)
4. Run GedSite with myGRAMPSoutput.ged as input to produce a website. (Not written yet.)
The simplest way to run GedSite within Linux is to run it in a copy of MS Windows running in an emulator like VirtualBox (VBox). Win7 works fine, but remember, you require a legal serial and activation code for the windows that you choose. In all the instances described here you will need a legal serial number obtained from John Cardinal's GedSite. Once you have Win7 running in VBox the installation of GedSite is exactly as described on John's website. You can also run GRAMPS in the windows emulator as well, but I have little experience of doing this myself. I imagine that all will run fine as long as you store your files on the VBox virtual disk. If you store files on the native Linux disks then you will have to hadle the different directory formats used by the two systems.
0. Backup your home directory so that if wine should get overwritten you will be able to rinstate this.
I find PlayOnLinux a convenient way to handle windows installations running in Linux wine.The script described here will install .dotnet 4.7.2, dotnet verifier and the GedSite installation file. I will require over 1Gb on your home partition.
Install very recent linux wine. I use wine-4.0 using a PPA. Instructions here:https://www.tecmint.com/install wine-on-ubuntu-and-linux-mint/
Install latest winetricks. I use 20190310-next. Earlier versions than this will not work as this seems to be the first to properly install dotnet472. Get instructions here:https://askubuntu.com/questions/755059/how-do-i-get-the-latest-version-of-winetricks-on-ubuntu
Install PlayOnLinux using your Linux.For instance, in LinuxMint18.3 run Synaptic Package Manager and install the latest version of PlayOnLinux.
Download this POL script: from here saving it as: GedSite_POL_prefix01.pol.
Nowstart POL and run the script which you have just saved as GedSite_POL_prefix01..
This will prepare a new POL prefix which will run quite independently of your system wine setup and which should not interfere with this in any way provided that you follow the precise instructions here. Please make sure that you have a backup of your home directory in case things go wrong. Be aware that installing dotnet472 seems to take a very long time, over 15 minutes on a fairly fast gaming computer with SSDs, so be very patient and do not worry about strange messages that you may get. Depending on your POL & Linux settup there may be times when you have to press Enter and other unexpected keys. There is no harm in running the script once again but it will always ensure that you delete the prefix before reinstallation because it is essential that the prefix does not exist before dotnet472 is installed. So, in this case, exit POL and delete the prefix directory which can be found normally at GedSiteTEST_POL01_32bitUsingWinetricksForDotnet472, in directory /home/USER/.PlayOnLinux/wineprefix/. It seems at the moment that the wine prefix must be 32-bit and the POL script takes care of that.
Then, the script will download winetricksdotnet_verifier then run this. You should choose to verify version 4.7.2. If this is shown to be installed OK then proceed.
Now you will be asked to select where you saved the GedSite installation file on your computer(looks similar to "gs3.00.exe") which you have previously downloaded from John Cardinal's GedSite website.
Now install the latest version of GedSite (looks like gs3.00.exe) which you downloaded from here in your POL prefix. (POL > Install > Click on "Install a non-listed program" > Next until you get to "Manual Installation" > Edit or update an existing application > Click "Show virtual drives" > Selects
Below is a guide as to how to install GedSite from the linux terminal command line using the POL prefix described.
############ for
/home/<USER>/.PlayOnLinux/wineprefix/GedSiteTEST_32bitUsingWinetricksForDotnet472
#####################
# In POL first createnew POL prefix 32-bit, then
install MSCoreFonts
DO NOT INSTALL dotnet461 or any other dotnet in POL - this will
install but then dotnet472 will not find some needed files (dll
probably) from dotnet4.0
env WINEPREFIX=/home/<USER>/.PlayOnLinux/wineprefix/GedSiteTEST02_32bitUsingWinetricksForDotnet472
winetricks --unattended dotnet472
env
WINEPREFIX=/home/<USER>/.PlayOnLinux/wineprefix/GedSiteTEST02_32bitUsingWinetricksForDotnet472
winetricks dotnet_verifier
env
WINEPREFIX=/home/<USER>/.PlayOnLinux/wineprefix/GedSiteTEST02_32bitUsingWinetricksForDotnet472
wine netfx_setupverifier.exe
Check that under tab Libraries
mscoree (native) exists
env
WINEPREFIX=/home/<USER>/.PlayOnLinux/wineprefix/GedSiteTEST02_32bitUsingWinetricksForDotnet472
winetricks --unattended dotnet472 ## it must be unattended or it will fail
cd
/home/<USER>/.PlayOnLinux/wineprefix/GedSiteTEST02_32bitUsingWinetricksForDotnet472/drive_c
cp gsX.XX.exe . ## Copy
GedSite installation file gsX.XX.exe to here
env
WINEPREFIX=/home/<USER>/.PlayOnLinux/wineprefix/GedSiteTEST02_32bitUsingWinetricksForDotnet472
wine gs3.00.exe
POL Configure above prefix > Make a
new shortcut from this virtual drive > GedSite3.00 in wineprefix
name
PlayOnLinux Script to do motst of the
above:
fGedSite_DotNet_Etc01.pol
########################################################################################################################
Footnote: John Cardinal's Gedcom Publisher v1.09 will run in the same prefix as GedSite as of May 2019.