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

From Gramps
Jump to: navigation, search
m (Gramps AIO)
(See also)
(40 intermediate revisions by 9 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 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.)
  
----
+
==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, with 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 tree, in <code>%APPDATA%\GrampsAIO</code> (for example <code>C:\Documents and Settings\Jones\Application Data\GrampsAIO</code>).
  
=====GBundle=====
+
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 (<code>GrampsAIO\bin</code>); for example:
  
{{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
+
<code>
<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
+
cd C:\GrampsAIO\bin; python -EO ..\share\gramps\gramps.py
<br/>'''How to use''':
+
</code>
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
+
(but the installation may have been put somewhere else and so you should probably first search for the GrampsAIO\bin folder to make sure).
:GTK+ 2.16.6
 
:WebKitGTK+ 1.1.23
 
:...
 
  
;Known bugs
+
==Why GrampsAIO was made==
:no icons
+
* easy installation:
:no translations (help would be appreciate to solve this)
+
** 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
  
{{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}}
+
==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==
 +
*[[GrampsAIO-3]]
 +
*[[GrampsAIO-4]]
 +
*[[GrampsAIO-4 package updating]]
  
 
[[Category:Developers/Packaging]]
 
[[Category:Developers/Packaging]]

Revision as of 02:10, 29 March 2016

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

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

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:

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