summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2011-02-27 15:52:33 +0000
committerChristian Faulhammer <fauli@gentoo.org>2011-02-27 15:52:33 +0000
commit692ca308b1807025bb52298ab1129c3b93089f0b (patch)
tree4488cb711f70e225880d75570d5beb67df0fddea /app-misc/gramps
parentPin gtk+ and gtk-engines to slot 2. Bump EAPI to 2. (diff)
downloadhistorical-692ca308b1807025bb52298ab1129c3b93089f0b.tar.gz
historical-692ca308b1807025bb52298ab1129c3b93089f0b.tar.bz2
historical-692ca308b1807025bb52298ab1129c3b93089f0b.zip
clean up patches
Package-Manager: portage-2.1.9.40/cvs/Linux i686
Diffstat (limited to 'app-misc/gramps')
-rw-r--r--app-misc/gramps/ChangeLog8
-rw-r--r--app-misc/gramps/Manifest11
-rw-r--r--app-misc/gramps/files/gramps-3.1.2-use_bsddb3.patch75
-rw-r--r--app-misc/gramps/files/gramps-3.1.3-fix_mo_install.patch11
-rw-r--r--app-misc/gramps/files/gramps-3.2.3-use_bsddb3.patch198
5 files changed, 11 insertions, 292 deletions
diff --git a/app-misc/gramps/ChangeLog b/app-misc/gramps/ChangeLog
index 1f833abf696b..583f540c15ad 100644
--- a/app-misc/gramps/ChangeLog
+++ b/app-misc/gramps/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/gramps
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/gramps/ChangeLog,v 1.142 2011/02/27 15:44:57 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/gramps/ChangeLog,v 1.143 2011/02/27 15:52:33 fauli Exp $
+
+ 27 Feb 2011; Christian Faulhammer <fauli@gentoo.org>
+ -files/gramps-3.1.2-use_bsddb3.patch,
+ -files/gramps-3.1.3-fix_mo_install.patch,
+ -files/gramps-3.2.3-use_bsddb3.patch:
+ clean up patches
27 Feb 2011; Christian Faulhammer <fauli@gentoo.org>
-gramps-3.1.3-r1.ebuild, -gramps-3.2.3-r2.ebuild, -gramps-3.2.4.ebuild:
diff --git a/app-misc/gramps/Manifest b/app-misc/gramps/Manifest
index 6bbcaa1ed301..bdf68ea30527 100644
--- a/app-misc/gramps/Manifest
+++ b/app-misc/gramps/Manifest
@@ -1,18 +1,15 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-AUX gramps-3.1.2-use_bsddb3.patch 2042 RMD160 28b4068768b3837b276457acd5fde417edcef76b SHA1 f329982e9b286e053130715d4f384a6b0b4a6772 SHA256 f70d07ac75b2807032221d86f1f1ca592e90eb6f0968289ecf3a996ef6b85b98
-AUX gramps-3.1.3-fix_mo_install.patch 1089 RMD160 064c23f70302269f5a8923fec61e6cfa52fb576f SHA1 6b4c76d2519dd75eac5433fea2d992512d76ce4f SHA256 6229731ed220a2a0cbdcc6dd03e55e9404b2505f0a31d4d7fdcb94cc7d93e018
-AUX gramps-3.2.3-use_bsddb3.patch 8351 RMD160 9ef4a25b361e2210909b6aa20b1f4c936dffe22d SHA1 84120e9c77d87b6d37845f43c57d79e7b27686d6 SHA256 af1a6388a731788ae06195039464b9a9966bd30ec5dc33916a5dad6f3fe9aff7
AUX gramps-3.2.4-use_bsddb3.patch 8451 RMD160 1833bb72f353d050986c6801cfd75cebf8d4cbee SHA1 e7f49e3725607cae507ac917c816e2887dfd1892 SHA256 ff4c7ed5c6f396d6816f23d00aaab0dabdf2126b06f5eb57668eff74d72aa52a
DIST gramps-3.2.5.tar.gz 7300072 RMD160 e474f2bd2d861babe3512004a8a16eecd337db3c SHA1 80f6284af8fd1290b16f6db17d4867e4a6e027d4 SHA256 6cb97629913cb48e7804d35099813b86727c15b82b6f7a6438fe01935fc8dba2
EBUILD gramps-3.2.5.ebuild 2204 RMD160 394542a1ce75b48685a60a7ca150cbd86f18cee1 SHA1 b84584022106b97283fbf5cfefa27f8bd83495e8 SHA256 b9475b891514f88e35c20f5db5868ee633a2b53dc4ee6be077f9252341b3e2db
-MISC ChangeLog 20195 RMD160 4175f489c7e05098b2cb540284bedf788c664154 SHA1 4911421f5db845f9846157298de4771fbe8b891f SHA256 6d948029ace17c896643e1de8880de184c5ea4a734890e328b3713055fe236a4
+MISC ChangeLog 20394 RMD160 e7fe805a9dd8b2223b5499721b62be91e9f30c70 SHA1 e6313f23911994e25a21e4eb1f7be47d0d9e933c SHA256 342201e9ca588c4b946018d43e6c8b37ab1e0f14c042912fbcd3f96c9b248856
MISC metadata.xml 5391 RMD160 6b000acb76bc6562c214c0078c58874f72cf839a SHA1 4a32ff9f7ca6549f951445dfa6309aea5b5d031c SHA256 bf3d518f68f9f0c58915b821f767d9d407390f0f971a8d0dfdd6f64cad5c74c5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
-iEYEARECAAYFAk1qcYUACgkQNQqtfCuFneOG+QCfQ9QUHV6FmgReUOqSGdSHnNWl
-5FcAn0eAe6HQF8Eh3+pNcWc9ouQpG7OR
-=48PD
+iEYEARECAAYFAk1qc0wACgkQNQqtfCuFneMeTQCeMjcUFLeYLsOJexlpj3Kc1uFf
+s/MAnjqMDneUl9pXoQOGOkyP70E6qtAs
+=swK4
-----END PGP SIGNATURE-----
diff --git a/app-misc/gramps/files/gramps-3.1.2-use_bsddb3.patch b/app-misc/gramps/files/gramps-3.1.2-use_bsddb3.patch
deleted file mode 100644
index d0bfd60c80a3..000000000000
--- a/app-misc/gramps/files/gramps-3.1.2-use_bsddb3.patch
+++ /dev/null
@@ -1,75 +0,0 @@
---- src/DbManager.py
-+++ src/DbManager.py
-@@ -129,7 +129,7 @@
- Returns (people_count, version_number) of current DB.
- Returns ("Unknown", "Unknown") if invalid DB or other error.
- """
-- from bsddb import dbshelve, db
-+ from bsddb3 import dbshelve, db
- from gen.db import META, PERSON_TBL
- env = db.DBEnv()
- flags = db.DB_CREATE | db.DB_PRIVATE |\
---- src/Editors/_EditFamily.py
-+++ src/Editors/_EditFamily.py
-@@ -26,7 +26,7 @@
- # python modules
- #
- #-------------------------------------------------------------------------
--from bsddb import db as bsddb_db
-+from bsddb3 import db as bsddb_db
- from gettext import gettext as _
- from DdTargets import DdTargets
- import pickle
---- src/gen/db/base.py
-+++ src/gen/db/base.py
-@@ -36,7 +36,7 @@
- import locale
- import os
- from sys import maxint
--from bsddb import db
-+from bsddb3 import db
- from gettext import gettext as _
-
- import logging
---- src/gen/db/dbdir.py
-+++ src/gen/db/dbdir.py
-@@ -37,7 +37,7 @@
- from types import InstanceType
-
- from gettext import gettext as _
--from bsddb import dbshelve, db
-+from bsddb3 import dbshelve, db
- import logging
-
- _LOG = logging.getLogger(".GrampsDb")
---- src/GrampsLogger/_ErrorReportAssistant.py
-+++ src/GrampsLogger/_ErrorReportAssistant.py
-@@ -2,7 +2,7 @@
- import Assistant
- import const
- import gtk
--import sys, os,bsddb
-+import sys, os, bsddb3
-
-
-
-@@ -99,7 +99,7 @@
- "OS: %s\n"\
- "Distribution: %s\n"\
- % (str(sys.version).replace('\n',''),
-- str(bsddb.__version__),
-+ str(bsddb3.__version__),
- str(const.VERSION),
- os.environ.get('LANG',''),
- operatingsystem,
---- src/plugins/import/ImportGrdb.py
-+++ src/plugins/import/ImportGrdb.py
-@@ -35,7 +35,7 @@
- from gettext import gettext as _
- import cPickle as pickle
- import time
--from bsddb import dbshelve, db
-+from bsddb3 import dbshelve, db
- import logging
- __LOG = logging.getLogger(".GrampsDb")
-
diff --git a/app-misc/gramps/files/gramps-3.1.3-fix_mo_install.patch b/app-misc/gramps/files/gramps-3.1.3-fix_mo_install.patch
deleted file mode 100644
index 3b7978b633fc..000000000000
--- a/app-misc/gramps/files/gramps-3.1.3-fix_mo_install.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- po/Makefile.in.in-orig 2010-01-13 22:50:46.471767466 +0100
-+++ po/Makefile.in.in 2010-01-13 22:51:10.263766542 +0100
-@@ -56,7 +56,7 @@
-
- PO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; else echo "$(ALL_LINGUAS)"; fi)
-
--USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep '^$$lang$$' $(srcdir)/LINGUAS 2>/dev/null`" -o -n "`echo $$ALINGUAS|tr ' ' '\n'|grep '^$$lang$$'`"; then printf "$$lang "; fi; done; fi)
-+USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep ^$$lang$$ $(srcdir)/LINGUAS 2>/dev/null`" -o -n "`echo $$ALINGUAS|tr ' ' '\n'|grep ^$$lang$$`"; then printf "$$lang "; fi; done; fi)
-
- USE_LINGUAS=$(shell if test -n "$(USER_LINGUAS)" -o -n "$(LINGUAS)"; then LLINGUAS="$(USER_LINGUAS)"; else if test -n "$(PO_LINGUAS)"; then LLINGUAS="$(PO_LINGUAS)"; else LLINGUAS="$(ALL_LINGUAS)"; fi; fi; for lang in $$LLINGUAS; do printf "$$lang "; done)
-
diff --git a/app-misc/gramps/files/gramps-3.2.3-use_bsddb3.patch b/app-misc/gramps/files/gramps-3.2.3-use_bsddb3.patch
deleted file mode 100644
index cd492192a1a1..000000000000
--- a/app-misc/gramps/files/gramps-3.2.3-use_bsddb3.patch
+++ /dev/null
@@ -1,198 +0,0 @@
-diff -r -u gramps-3.2.3.orig/src/cli/clidbman.py gramps-3.2.3/src/cli/clidbman.py
---- gramps-3.2.3.orig/src/cli/clidbman.py 2010-07-14 11:01:39.949040698 +0200
-+++ gramps-3.2.3/src/cli/clidbman.py 2010-07-14 11:07:08.684288847 +0200
-@@ -109,7 +109,7 @@
- Returns (people_count, version_number) of current DB.
- Returns ("Unknown", "Unknown") if invalid DB or other error.
- """
-- from bsddb import dbshelve, db
-+ from bsddb3 import dbshelve, db
- from gen.db import META, PERSON_TBL
- env = db.DBEnv()
- flags = db.DB_CREATE | db.DB_PRIVATE |\
-diff -r -u gramps-3.2.3.orig/src/gen/db/bsddbtxn.py gramps-3.2.3/src/gen/db/bsddbtxn.py
---- gramps-3.2.3.orig/src/gen/db/bsddbtxn.py 2010-07-14 11:01:39.906049218 +0200
-+++ gramps-3.2.3/src/gen/db/bsddbtxn.py 2010-07-14 11:07:08.206289266 +0200
-@@ -188,7 +188,7 @@
- # test code
- if __name__ == "__main__":
- print "1"
-- from bsddb import db, dbshelve
-+ from bsddb3 import db, dbshelve
- print "2"
- x = db.DBEnv()
- print "3"
-diff -r -u gramps-3.2.3.orig/src/gen/db/cursor.py gramps-3.2.3/src/gen/db/cursor.py
---- gramps-3.2.3.orig/src/gen/db/cursor.py 2010-07-14 11:01:39.905041606 +0200
-+++ gramps-3.2.3/src/gen/db/cursor.py 2010-07-14 11:07:08.205288497 +0200
-@@ -24,7 +24,7 @@
- #
- #-------------------------------------------------------------------------
- from cPickle import dumps, loads
--from bsddb import db
-+from bsddb3 import db
-
- #-------------------------------------------------------------------------
- #
-diff -r -u gramps-3.2.3.orig/src/gen/db/dbconst.py gramps-3.2.3/src/gen/db/dbconst.py
---- gramps-3.2.3.orig/src/gen/db/dbconst.py 2010-07-14 11:01:39.903039091 +0200
-+++ gramps-3.2.3/src/gen/db/dbconst.py 2010-07-14 11:07:08.180288358 +0200
-@@ -63,7 +63,7 @@
- DBOBJECTS = 25000 # Maximum number of simultaneously locked objects
- DBUNDO = 1000 # Maximum size of undo buffer
-
--from bsddb.db import DB_CREATE, DB_AUTO_COMMIT, DB_DUP, DB_DUPSORT, DB_RDONLY
-+from bsddb3.db import DB_CREATE, DB_AUTO_COMMIT, DB_DUP, DB_DUPSORT, DB_RDONLY
- DBFLAGS_O = DB_CREATE | DB_AUTO_COMMIT # Default flags for database open
- DBFLAGS_R = DB_RDONLY # Flags to open a database read-only
- DBFLAGS_D = DB_DUP | DB_DUPSORT # Default flags for duplicate keys
-diff -r -u gramps-3.2.3.orig/src/gen/db/read.py gramps-3.2.3/src/gen/db/read.py
---- gramps-3.2.3.orig/src/gen/db/read.py 2010-07-14 11:01:39.904047682 +0200
-+++ gramps-3.2.3/src/gen/db/read.py 2010-07-14 11:07:08.188288637 +0200
-@@ -35,7 +35,7 @@
- import locale
- import os
- from sys import maxint
--from bsddb import db
-+from bsddb3 import db
- from gen.ggettext import gettext as _
-
- import logging
-diff -r -u gramps-3.2.3.orig/src/gen/db/txn.py gramps-3.2.3/src/gen/db/txn.py
---- gramps-3.2.3.orig/src/gen/db/txn.py 2010-07-14 11:01:39.906049218 +0200
-+++ gramps-3.2.3/src/gen/db/txn.py 2010-07-14 11:07:08.209288637 +0200
-@@ -32,7 +32,7 @@
- #-------------------------------------------------------------------------
- from __future__ import with_statement
- import cPickle as pickle
--from bsddb import dbshelve, db
-+from bsddb3 import dbshelve, db
- import logging
- from collections import defaultdict
-
-diff -r -u gramps-3.2.3.orig/src/gen/db/undoredo.py gramps-3.2.3/src/gen/db/undoredo.py
---- gramps-3.2.3.orig/src/gen/db/undoredo.py 2010-07-14 11:01:39.905041606 +0200
-+++ gramps-3.2.3/src/gen/db/undoredo.py 2010-07-14 11:07:08.204288707 +0200
-@@ -33,7 +33,7 @@
- from __future__ import with_statement
- import time, os
- import cPickle as pickle
--from bsddb import db
-+from bsddb3 import db
- from gen.ggettext import gettext as _
-
- #-------------------------------------------------------------------------
-diff -r -u gramps-3.2.3.orig/src/gen/db/write.py gramps-3.2.3/src/gen/db/write.py
---- gramps-3.2.3.orig/src/gen/db/write.py 2010-07-14 11:01:39.905041606 +0200
-+++ gramps-3.2.3/src/gen/db/write.py 2010-07-14 11:07:08.195288637 +0200
-@@ -39,7 +39,7 @@
- from functools import wraps
-
- from gen.ggettext import gettext as _
--from bsddb import dbshelve, db
-+from bsddb3 import dbshelve, db
- import logging
- from sys import maxint
-
-diff -r -u gramps-3.2.3.orig/src/GrampsAboutDialog.py gramps-3.2.3/src/GrampsAboutDialog.py
---- gramps-3.2.3.orig/src/GrampsAboutDialog.py 2010-07-14 11:01:39.950040977 +0200
-+++ gramps-3.2.3/src/GrampsAboutDialog.py 2010-07-14 14:00:20.613290384 +0200
-@@ -30,7 +30,7 @@
- from gen.ggettext import gettext as _
- import os
- import sys
--import bsddb
-+import bsddb3
-
- ##import logging
- ##_LOG = logging.getLogger(".GrampsAboutDialog")
-@@ -124,7 +124,7 @@
- "Distribution: %s")
- % (elipses(str(const.VERSION)),
- elipses(str(sys.version).replace('\n','')),
-- elipses(str(bsddb.__version__)),
-+ elipses(str(bsddb3.__version__)),
- elipses(os.environ.get('LANG','')),
- elipses(operatingsystem),
- elipses(distribution)))
-diff -r -u gramps-3.2.3.orig/src/GrampsLogger/_ErrorReportAssistant.py gramps-3.2.3/src/GrampsLogger/_ErrorReportAssistant.py
---- gramps-3.2.3.orig/src/GrampsLogger/_ErrorReportAssistant.py 2010-07-14 11:01:39.820290663 +0200
-+++ gramps-3.2.3/src/GrampsLogger/_ErrorReportAssistant.py 2010-07-14 14:00:13.771042190 +0200
-@@ -5,7 +5,7 @@
- import pygtk
- import gobject
- import cairo
--import sys, os,bsddb
-+import sys, os,bsddb3
-
-
- class ErrorReportAssistant(object):
-@@ -119,7 +119,7 @@
- "gobject version: %s\n"\
- "cairo version : %s"\
- % (str(sys.version).replace('\n',''),
-- str(bsddb.__version__),
-+ str(bsddb3.__version__),
- str(const.VERSION),
- os.environ.get('LANG',''),
- operatingsystem,
-diff -r -u gramps-3.2.3.orig/src/gui/editors/editfamily.py gramps-3.2.3/src/gui/editors/editfamily.py
---- gramps-3.2.3.orig/src/gui/editors/editfamily.py 2010-07-14 11:01:39.871291221 +0200
-+++ gramps-3.2.3/src/gui/editors/editfamily.py 2010-07-14 11:07:07.987288707 +0200
-@@ -26,7 +26,7 @@
- # python modules
- #
- #-------------------------------------------------------------------------
--from bsddb import db as bsddb_db
-+from bsddb3 import db as bsddb_db
- from gen.ggettext import gettext as _
- from DdTargets import DdTargets
- import cPickle as pickle
-diff -r -u gramps-3.2.3.orig/src/plugins/import/ImportGrdb.py gramps-3.2.3/src/plugins/import/ImportGrdb.py
---- gramps-3.2.3.orig/src/plugins/import/ImportGrdb.py 2010-07-14 11:01:39.958042234 +0200
-+++ gramps-3.2.3/src/plugins/import/ImportGrdb.py 2010-07-14 11:07:08.875288428 +0200
-@@ -36,7 +36,7 @@
- from gen.ggettext import gettext as _
- import cPickle as pickle
- import time
--from bsddb import dbshelve, db
-+from bsddb3 import dbshelve, db
- import logging
- LOG = logging.getLogger(".Db")
-
-diff -r -u gramps-3.2.3.orig/src/plugins/lib/libgrdb.py gramps-3.2.3/src/plugins/lib/libgrdb.py
---- gramps-3.2.3.orig/src/plugins/lib/libgrdb.py 2010-07-14 11:01:39.959041536 +0200
-+++ gramps-3.2.3/src/plugins/lib/libgrdb.py 2010-07-14 11:07:08.922288847 +0200
-@@ -36,7 +36,7 @@
- import locale
- import os
- from sys import maxint
--from bsddb import db
-+from bsddb3 import db
- from gen.ggettext import gettext as _
-
- import logging
-diff -r -u gramps-3.2.3.orig/src/plugins/tool/ChangeNames.py gramps-3.2.3/src/plugins/tool/ChangeNames.py
---- gramps-3.2.3.orig/src/plugins/tool/ChangeNames.py 2010-07-14 11:01:39.965038812 +0200
-+++ gramps-3.2.3/src/plugins/tool/ChangeNames.py 2010-07-14 11:07:09.072288707 +0200
-@@ -31,7 +31,7 @@
- import gobject
- import gtk
- import cPickle
--from bsddb.db import DB_CURRENT
-+from bsddb3.db import DB_CURRENT
-
- #-------------------------------------------------------------------------
- #
-diff -r -u gramps-3.2.3.orig/src/plugins/tool/Leak.py gramps-3.2.3/src/plugins/tool/Leak.py
---- gramps-3.2.3.orig/src/plugins/tool/Leak.py 2010-07-14 11:01:39.965038812 +0200
-+++ gramps-3.2.3/src/plugins/tool/Leak.py 2010-07-14 11:07:09.070289126 +0200
-@@ -31,7 +31,7 @@
- #
- #------------------------------------------------------------------------
- from gen.ggettext import gettext as _
--from bsddb.db import DBError
-+from bsddb3.db import DBError
-
- #------------------------------------------------------------------------
- #