Difference between revisions of "All In One Gramps Software Bundle for Windows"

From Gramps
Jump to: navigation, search
m (Gramps AIO)
(Installation folder: Provide examples of Gramps installation path.)
 
(44 intermediate revisions by 10 users not shown)
Line 1: Line 1:
==Gramps Software Bundle for Windows==
+
{{man warn|Gramps 3.4 and earlier.|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/>{{man menu|For Gramps 4.x and newer see [[GrampsAIO-4]]}}}}
  
{{man warn| This is work in progress... |Any files listed here is in development state and may be '''not suitable''' for normal every day use!<br/>Any coment and help are welcom.}}
+
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]].)
  
Gramps software bundle is all-in-one install package of Gramps dependencies on Windows platform
+
Not only are all dependencies included ("bundled"), so that users do not have to first manually install each one of them, but they are
 +
installed in such a fashion that Gramps can easily find them.
  
=====Why:=====
+
For the technically sophisticated, GrampsAIO is rebuild-able: it contains an install script which can make a new installable program from the installed one.
* easy installation:
 
** no searching web for appropriate package
 
** one click install
 
* no dependency hell:
 
** all libraries can work one together
 
** on upgrade version of library rebuild all others with that version
 
  
=====How:=====
+
For example somebody might like to repackage Gramps with their code changes, or favorite addons, or even their own family trees, etc.
* put all software Gramps needs in one package:
 
# all core non-python library and aplications
 
# any optional non-python library and aplications
 
# python bindings for core libraries
 
# python bindings for optional libraries
 
* use NSIS (Nullsoft Scriptable Install System)
 
  
=====When:=====
+
==Technical details==
* work on first task is started<br/><br/>
+
The Windows logic for this bundle is that 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 working directory, there is no need to look further for that dependency in a system folder. This eliminates the possibility of loading 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.)
  
----
+
==Installation folder==
 +
This distribution is directory based, which means it loads all dependencies from the directory in which they have been installed.
  
===Software release:===
+
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. In that case, the default suggestion being <code>%ProgramFiles%\GrampsAIO</code> (for example <code>C:\Program Files\GrampsAIO</code>).  If a non-administrator installs it, it will be placed in the user's personal workspace, in <code>%APPDATA%\GrampsAIO</code> (for example <code>C:\Documents and Settings\Jones\Application Data\GrampsAIO</code>).
  
=====GBundle=====
+
As an example, a user with administrator rights using GrampsAOI-{{template:Version windows AIO64}}_win64.exe installer and accepting the standard destination folder during installation, <code>C:\Program&nbsp;Files\GrampsAOI64-{{template:Version windows AIO64}}</code> would be the location for the Gramps executable. While not common, installing the 32-bit version of Gramps on a 64-bit OS, the path would be <code>C:\Program&nbsp;Files&nbsp;(x86)\GrampsAIO32-{{template:Version windows AIO32}}</code>. Finally, if you chose to install Gramps in a non-standard directory, use that folder path instead instead.
  
{{Release/Box-header|GBundle v.0.0.1|[[Media:GBundle-0.0.1.zip | Gbundle-0.0.1]] is first release of Gramps Software Bundle
+
To use it from the console (cmd.exe prompt), you must first go to the directory where the dependencies were installed (<code>GrampsAIO\bin</code>); for example:  
<br/>To see how it work take look at [[Media:GBundle.nsi.zip|GBundle.nsi]] which is NSIS[[http://nsis.sourceforge.net/Main_Page]] install script
 
<br/>'''How to use''':
 
Download file [[Media:GBundle-0.0.1.zip | Gbundle-0.0.1.zip]] and rename it extension from '''''zip''''' to ''''exe'''' (wiki ban upload of exe files)
 
:Start setup and select ''''Recommended'''' type of installation which will install all files required by Gramps 
 
  
;Package content
+
<code>
:GTK+ 2.16.6
+
cd C:\GrampsAIO\bin; python -EO ..\share\gramps\gramps.py
:WebKitGTK+ 1.1.23
+
</code>
:...
 
  
;Known bugs
+
(but the installation may have been put somewhere else and so you should probably first search for the GrampsAIO\bin folder to make sure).
:no icons
 
:no translations (help would be appreciate to solve this)
 
  
{{man note| Test your installation |Easiest way to test your GTK installation is to install gtk2-demo and run gtk-demo.exe<br/>Easiest way to test your WebKitGTK installation is to install libwebkit-tools and run GtkLauncher.exe}}
+
==Why GrampsAIO was made==
}}
+
* easy installation:
 +
** no searching web for appropriate packages
 +
** one click install
 +
* no dependency hell:
 +
** all libraries work together
 +
** on upgrade of a library all other libraries are rebuilt with that version
 +
 
 +
==How GrampsAIO was made==
 +
* Place all software Gramps needs in one package:
 +
# all core non-python libraries and applications
 +
# any optional non-python libraries and applications
 +
# python bindings for core libraries
 +
# python bindings for optional libraries
 +
* use NSIS (Nullsoft Script-able Install System)
  
=====Gramps AIO=====
+
==Software releases:==
  
{|align="top" cellspacing="20" width=80%
+
The preferred way to get the GrampsAIO bundle is to download it from the official Gramps software repository. See [[Download#MS Windows|Download]] for the current version and link to it.
|+'''[http://rapidshare.com/users/K65PY0 Gramps AIO Releases]'''
 
!|GrampsAIO
 
!|GrampsAIO64
 
|-
 
|{{Release/Box-header|AIO 3.2.5-1|'''2010-12-04}}
 
|{{Release/Box-header|AIO64 3.2.5-1|'''2010-12-29'''}}
 
|-
 
|{{Release/Box-header|AIO 3.2.5-2|'''2010-12-04'''}}
 
|{{Release/Box-header|AIO64 3.2.5-2|'''2010-12-29'''}}
 
|-
 
|{{Release/Box-header|AIO 3.2.5-3|'''2010-12-21'''}}
 
|{{Release/Box-header|AIO64 3.2.5-3|'''2010-12-31'''}}
 
|-
 
|{{Release/Box-header|AIO 3.2.5-4|'''2011-01-01'''}}
 
|{{Release/Box-header|AIO64 3.2.5-4|'''2011-01-06'''}}
 
|-
 
|{{Release/Box-header|AIO 3.2.5-5|'''2011-01-08'''}}
 
|-
 
|{{Release/Box-header|AIO 3.2.6-1|'''2011-05-01'''}}
 
|}
 
  
 +
You can follow progress of GrampAIO-4 bundle development at their [[GrampsAIO-4|page]] Older versions or developmental versions are available directly from the GrampsAIO bundle's author.  See below.
  
 +
==See also==
 +
*[https://nsis.sourceforge.io/Creating_language_files_and_integrating_with_MUI#Another_solution:_Native_PO_File_support Native PO File support] for NSIS (Nullsoft Scriptable Install System)
 +
*[[GrampsAIO-3]]
 +
*[[GrampsAIO-4]]
 +
*[[GrampsAIO-4 package updating]]
  
 
[[Category:Developers/Packaging]]
 
[[Category:Developers/Packaging]]

Latest revision as of 16:19, 18 January 2022

Gnome-important.png
Gramps 3.4 and earlier.

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.)
Any comments and help (e.g. on wiki pages) are welcome. Josip
For Gramps 4.x and newer see GrampsAIO-4

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.)

Not only are all dependencies included ("bundled"), so that users do not have to first manually install each one of them, but they are installed in such a fashion that Gramps can easily find them.

For the technically sophisticated, GrampsAIO is rebuild-able: it contains an install script which can make a new installable program from the installed one.

For example somebody might like to repackage Gramps with their code changes, or favorite addons, or even their own family trees, etc.

Technical details

The Windows logic for this bundle is that 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 working directory, there is no need to look further for that dependency in a system folder. This eliminates the possibility of loading 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.)

Installation folder

This distribution is directory based, which means it loads all dependencies from the directory in which they have been installed.

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. In that case, 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 workspace, in %APPDATA%\GrampsAIO (for example C:\Documents and Settings\Jones\Application Data\GrampsAIO).

As an example, a user with administrator rights using GrampsAOI-5.2.1_win64.exe installer and accepting the standard destination folder during installation, C:\Program Files\GrampsAOI64-5.2.1 would be the location for the Gramps executable. While not common, installing the 32-bit version of Gramps on a 64-bit OS, the path would be C:\Program Files (x86)\GrampsAIO32-5.1.5. Finally, if you chose to install Gramps in a non-standard directory, use that folder path instead instead.

To use it from the console (cmd.exe prompt), you must first go to the directory where the dependencies were installed (GrampsAIO\bin); for example:

cd C:\GrampsAIO\bin; python -EO ..\share\gramps\gramps.py

(but the installation may have been put somewhere else and so you should probably first search for the GrampsAIO\bin folder to make sure).

Why GrampsAIO was made

  • easy installation:
    • no searching web for appropriate packages
    • one click install
  • no dependency hell:
    • all libraries work together
    • on upgrade of a library all other libraries are rebuilt with that version

How GrampsAIO was made

  • Place all software Gramps needs in one package:
  1. all core non-python libraries and applications
  2. any optional non-python libraries and applications
  3. python bindings for core libraries
  4. python bindings for optional libraries
  • use NSIS (Nullsoft Script-able Install System)

Software releases:

The preferred way to get the GrampsAIO bundle is to download it from the official Gramps software repository. See Download for the current version and link to it.

You can follow progress of GrampAIO-4 bundle development at their page Older versions or developmental versions are available directly from the GrampsAIO bundle's author. See below.

See also