head 1.6; access; symbols pkgsrc-2013Q2:1.6.0.4 pkgsrc-2013Q2-base:1.6 pkgsrc-2012Q4:1.6.0.2 pkgsrc-2012Q4-base:1.6 pkgsrc-2012Q1:1.5.0.16 pkgsrc-2012Q1-base:1.5 pkgsrc-2011Q4:1.5.0.14 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q3:1.5.0.12 pkgsrc-2011Q3-base:1.5 pkgsrc-2011Q2:1.5.0.10 pkgsrc-2011Q2-base:1.5 pkgsrc-2011Q1:1.5.0.8 pkgsrc-2011Q1-base:1.5 pkgsrc-2010Q4:1.5.0.6 pkgsrc-2010Q4-base:1.5 pkgsrc-2010Q3:1.5.0.4 pkgsrc-2010Q3-base:1.5 pkgsrc-2010Q2:1.5.0.2 pkgsrc-2010Q2-base:1.5 pkgsrc-2010Q1:1.3.0.8 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.6 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.4 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.2 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.2.0.6 pkgsrc-2009Q1-base:1.2 pkgsrc-2008Q4:1.2.0.4 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.2 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.1.1.1.0.6 cube-native-xorg-base:1.1.1.1 pkgsrc-2008Q2:1.1.1.1.0.4 pkgsrc-2008Q2-base:1.1.1.1 cwrapper:1.1.1.1.0.2 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.6 date 2012.06.01.20.28.27; author drochner; state dead; branches; next 1.5; 1.5 date 2010.05.18.16.38.53; author drochner; state Exp; branches; next 1.4; 1.4 date 2010.05.04.11.05.00; author drochner; state Exp; branches; next 1.3; 1.3 date 2009.06.04.17.29.41; author drochner; state Exp; branches; next 1.2; 1.2 date 2008.09.18.17.11.01; author drochner; state Exp; branches; next 1.1; 1.1 date 2008.06.18.22.21.13; author gdt; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2008.06.18.22.21.13; author gdt; state Exp; branches; next ; desc @@ 1.6 log @update to 3.3.2 changes: many fixes and improvements, most visibly: the use of py-bsddb3 is now officially supported @ text @$NetBSD: patch-ae,v 1.5 2010/05/18 16:38:53 drochner Exp $ --- src/gen/db/read.py.orig 2010-03-18 15:39:23.000000000 +0000 +++ src/gen/db/read.py @@@@ -35,7 +35,7 @@@@ import random import locale import os from sys import maxint -from bsddb import db +from bsddb3 import db from gen.ggettext import gettext as _ import logging @ 1.5 log @update to 3.2.3 changes: -bugfixes -translation updates @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @update to 3.2.1 changes: -New Plugin System -Faster -New Views -Other Improvements -bugfixes -translation updates @ text @@ 1.3 log @update to 3.1.1 This is a major update, many fixes and new features. Take MAINTAINERship as suggested by the old MAINTAINER. @ text @d3 9 a11 4 --- src/gen/db/dbdir.py.orig 2008-12-07 07:17:53.000000000 +0100 +++ src/gen/db/dbdir.py @@@@ -36,7 +36,7 @@@@ import time from types import InstanceType a12 3 from gettext import gettext as _ -from bsddb import dbshelve, db +from bsddb3 import dbshelve, db a13 2 _LOG = logging.getLogger(".GrampsDb") @ 1.2 log @try to deal with incompatible changes in py-bsddb3-4.7.2 (I'm not sure commenting out DB_TXN_NOSYNC is the best solution, but it seems to work for me at least.) approved by gdt @ text @d3 1 a3 1 --- src/gen/db/dbdir.py.orig 2008-05-17 22:14:29.000000000 +0200 a13 36 @@@@ -480,7 +480,7 @@@@ class GrampsDBDir(GrampsDbBase, UpdateCa # These env settings are only needed for Txn environment self.env.set_lk_max_locks(25000) self.env.set_lk_max_objects(25000) - self.env.set_flags(db.DB_LOG_AUTOREMOVE, 1) # clean up unused logs + self.env.set_flags(db.DB_LOG_AUTO_REMOVE, 1) # clean up unused logs # The DB_PRIVATE flag must go if we ever move to multi-user setup env_flags = db.DB_CREATE | db.DB_PRIVATE |\ @@@@ -1556,7 +1556,7 @@@@ class GrampsDBDir(GrampsDbBase, UpdateCa transaction = BdbTransaction(msg, self.undodb, batch, no_magic) if transaction.batch: self.env.txn_checkpoint() - self.env.set_flags(db.DB_TXN_NOSYNC, 1) # async txn +# self.env.set_flags(db.DB_TXN_NOSYNC, 1) # async txn if self.secondary_connected and not transaction.no_magic: # Disconnect unneeded secondary indices @@@@ -1594,7 +1594,7 @@@@ class GrampsDBDir(GrampsDbBase, UpdateCa self.txn.commit() if transaction.batch: self.env.txn_checkpoint() - self.env.set_flags(db.DB_TXN_NOSYNC, 0) # sync txn +# self.env.set_flags(db.DB_TXN_NOSYNC, 0) # sync txn if not transaction.no_magic: # create new secondary indices to replace the ones removed @@@@ -1697,7 +1697,7 @@@@ class GrampsDBDir(GrampsDbBase, UpdateCa # These env settings are only needed for Txn environment self.env.set_lk_max_locks(25000) self.env.set_lk_max_objects(25000) - self.env.set_flags(db.DB_LOG_AUTOREMOVE, 1) # clean up unused logs + self.env.set_flags(db.DB_LOG_AUTO_REMOVE, 1) # clean up unused logs # The DB_PRIVATE flag must go if we ever move to multi-user setup env_flags = db.DB_CREATE | db.DB_PRIVATE |\ @ 1.1 log @Initial revision @ text @d3 1 a3 1 --- src/gen/db/dbdir.py.orig 2008-05-17 16:14:29.000000000 -0400 d14 36 @ 1.1.1.1 log @Add gramps 3.0.1. Note that gramps3 has a new database format, so gramps2 should remain for a long time. GRAMPS (Genealogical Research and Analysis Management Programming System) is a personal genealogy program. It provides a graphical interface for recording genealogical research. GRAMPS can import GEDCOM format and export to GEDCOM and Web Family Tree. It can generate book reports, ancestor charts, relationship graphs, timelines, Ahnentafel reports, websites, and various other comprehensive reports in various documentation formats. GRAMPS can also include extra media types (like JPEG images and audio files), record sources of information, and keep track of locations (place names). @ text @@