41
edits
Changes
From Gramps
no edit summary
=====configure=====
Although the GRAMPS 3.0.1 package requires a python version of 2.5 or later. The Solaris build of python 2.4 works well with GRAMPS 3.0.1 and no issues have been noticed. '''Note:''' This change negates the need install a later release of python ;-)
minver = map(int, string.split('2.4', '.')) + [0, 0, 0]
minver = map(int, string.split('2.4', '.')) + [0, 0, 0]
=====src/gramps.py=====
MIN_PYTHON_VERSION = (2, 4, 0, '', 0)
=====gramps.sh.in=====
Unlike other UNIX/Linux versions the default /bin/sh under Solaris is the older bourne shell. In order to allow the script to work we need to modify the first line of this file from sh to read ksh (or bash if you prefer):
#!/bin/ksh
=====src/gen/db/base.py=====
from bsddb3 import db
=====src/gen/db/dbdir.py=====
from bsddb3 import dbshelve, db
=====src/Editors/_EditFamily.py=====
from bsddb3 import db as bsddb_db
=====src/GrampsDbUtils/_GrampsBSDDB.py=====
=====src/GrampsLogger/_ErrorReportAssistant.py=====
import sys, os,bsddb3
str(bsddb3.__version__),
=====src/plugins/Leak.py=====
from bsddb3.db import DBError