add license and makefiles.
svn: r8038
This commit is contained in:
parent
ec1ec2a5a1
commit
4d010a6066
12
ChangeLog
12
ChangeLog
@ -1,3 +1,15 @@
|
||||
2007-01-26 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
|
||||
* src/GrampsDb/Makefile.am: remove files
|
||||
* src/GrampsDb/_GrampsDbConst.py: add license
|
||||
* src/GrampsLocale/__init__.py: add license
|
||||
* src/GrampsLocale/Makefile.am: add makefile
|
||||
* src/BasicUtils/__init__.py: add license
|
||||
* src/BasicUtils/Makefile.am: add makefile
|
||||
* src/GrampsDbUtils/__init__.py: add license
|
||||
* src/GrampsDbUtils/Makefile.am: add makefile
|
||||
* src/GrampsDbUtils/_GrampsDbWRFactories.py: add license
|
||||
* src/Makefile.am: add new directories
|
||||
|
||||
2007-01-26 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
|
||||
* src/ViewManager.py: refactor GrampsDb and clean RelLib deps
|
||||
* src/Exporter.py: refactor GrampsDb and clean RelLib deps
|
||||
|
26
src/BasicUtils/Makefile.am
Normal file
26
src/BasicUtils/Makefile.am
Normal file
@ -0,0 +1,26 @@
|
||||
# This is the src/BasicUtils level Makefile for Gramps
|
||||
# We could use GNU make's ':=' syntax for nice wildcard use,
|
||||
# but that is not necessarily portable.
|
||||
# If not using GNU make, then list all .py files individually
|
||||
|
||||
pkgdatadir = $(datadir)/@PACKAGE@/BasicUtils
|
||||
|
||||
pkgdata_PYTHON = \
|
||||
BasicUtils.py\
|
||||
__init__.py
|
||||
|
||||
|
||||
pkgpyexecdir = @pkgpyexecdir@/BasicUtils
|
||||
pkgpythondir = @pkgpythondir@/BasicUtils
|
||||
|
||||
|
||||
dist_pkgdata_DATA =
|
||||
|
||||
# Clean up all the byte-compiled files
|
||||
MOSTLYCLEANFILES = *pyc *pyo
|
||||
|
||||
GRAMPS_PY_MODPATH = "../"
|
||||
|
||||
pycheck:
|
||||
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
|
||||
pychecker $(pkgdata_PYTHON));
|
@ -1 +1,23 @@
|
||||
#
|
||||
# Gramps - a GTK+/GNOME based genealogy program
|
||||
#
|
||||
# Copyright (C) 2004-2006 Donald N. Allingham
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#
|
||||
|
||||
# $Id: $
|
||||
|
||||
from BasicUtils import UpdateCallback
|
||||
|
@ -7,8 +7,6 @@ pkgdatadir = $(datadir)/@PACKAGE@/GrampsDb
|
||||
|
||||
pkgdata_PYTHON = \
|
||||
_DbUtils.py \
|
||||
_GedcomInfo.py\
|
||||
_GedTokens.py\
|
||||
_GrampsBSDDB.py\
|
||||
_GrampsDbBase.py\
|
||||
_GrampsDBCallback.py\
|
||||
@ -17,22 +15,15 @@ pkgdata_PYTHON = \
|
||||
_GrampsGEDDB.py\
|
||||
_GrampsInMemDB.py\
|
||||
_GrampsXMLDB.py\
|
||||
__init__.py\
|
||||
_ReadGedcom.py\
|
||||
_ReadGrdb.py\
|
||||
_ReadXML.py\
|
||||
_WriteGedcom.py\
|
||||
_WriteGrdb.py\
|
||||
_WriteXML.py
|
||||
_GrampsDbConst.py\
|
||||
__init__.py
|
||||
|
||||
|
||||
pkgpyexecdir = @pkgpyexecdir@/GrampsDb
|
||||
pkgpythondir = @pkgpythondir@/GrampsDb
|
||||
|
||||
GLADEFILES = \
|
||||
gedcomimport.glade\
|
||||
gedcomexport.glade
|
||||
|
||||
dist_pkgdata_DATA = $(GLADEFILES)
|
||||
dist_pkgdata_DATA =
|
||||
|
||||
# Clean up all the byte-compiled files
|
||||
MOSTLYCLEANFILES = *pyc *pyo
|
||||
|
@ -1,3 +1,25 @@
|
||||
#
|
||||
# Gramps - a GTK+/GNOME based genealogy program
|
||||
#
|
||||
# Copyright (C) 2004-2006 Donald N. Allingham
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#
|
||||
|
||||
# $Id: $
|
||||
|
||||
import os
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
|
36
src/GrampsDbUtils/Makefile.am
Normal file
36
src/GrampsDbUtils/Makefile.am
Normal file
@ -0,0 +1,36 @@
|
||||
# This is the src/GrampsDbUtils level Makefile for Gramps
|
||||
# We could use GNU make's ':=' syntax for nice wildcard use,
|
||||
# but that is not necessarily portable.
|
||||
# If not using GNU make, then list all .py files individually
|
||||
|
||||
pkgdatadir = $(datadir)/@PACKAGE@/GrampsDbUtils
|
||||
|
||||
pkgdata_PYTHON = \
|
||||
_GedcomInfo.py\
|
||||
_GedTokens.py\
|
||||
__init__.py\
|
||||
_ReadGedcom.py\
|
||||
_ReadGrdb.py\
|
||||
_ReadXML.py\
|
||||
_WriteGedcom.py\
|
||||
_WriteGrdb.py\
|
||||
_WriteXML.py\
|
||||
_GrampsDbWRFactories.py
|
||||
|
||||
pkgpyexecdir = @pkgpyexecdir@/GrampsDbUtils
|
||||
pkgpythondir = @pkgpythondir@/GrampsDbUtils
|
||||
|
||||
GLADEFILES = \
|
||||
gedcomimport.glade\
|
||||
gedcomexport.glade
|
||||
|
||||
dist_pkgdata_DATA = $(GLADEFILES)
|
||||
|
||||
# Clean up all the byte-compiled files
|
||||
MOSTLYCLEANFILES = *pyc *pyo
|
||||
|
||||
GRAMPS_PY_MODPATH = "../"
|
||||
|
||||
pycheck:
|
||||
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
|
||||
pychecker $(pkgdata_PYTHON));
|
@ -28,9 +28,6 @@ for a database backend.
|
||||
The app_* constants in const.py can be used to indicate which backend is
|
||||
required e.g.:
|
||||
|
||||
> # To get the class for the grdb backend
|
||||
> db_class = GrampsDb.gramps_db_factory(db_type = const.app_gramps)
|
||||
>
|
||||
> # To get a XML writer
|
||||
> GrampsDb.gramps_db_writer_factory(db_type = const.app_gramps_xml)
|
||||
>
|
||||
|
@ -21,21 +21,18 @@
|
||||
# $Id$
|
||||
|
||||
"""
|
||||
This package implements the GrampsDb database. It provides a number
|
||||
of different backends for different storage mechanisms.
|
||||
This package implements additions to the the GrampsDb database.
|
||||
|
||||
This package should be used for code that extended GrampsDb but also
|
||||
depends on Gtk.
|
||||
|
||||
A number of importers and exporters are provided to convert between
|
||||
the different backend formats.
|
||||
|
||||
To obtain a class that implements the backend required you should use the
|
||||
gramps_db_factory method, likewise for writers use the gramps_db_writer_factory
|
||||
To obtain a class that implements writers use the gramps_db_writer_factory
|
||||
method and for readers use the gramps_db_reader_factory method. For information
|
||||
on using these factories see the _GrampsDbFactories.py file comments.
|
||||
on using these factories see the _GrampsDbUtilsFactories.py file comments.
|
||||
|
||||
The package also contains GrampsDBCallback which provides signal/slot type
|
||||
functionality to allow objects to hook into signals that are generated from
|
||||
the database objects. Read the comments in _GrampsDBCallback.py for more
|
||||
information.
|
||||
"""
|
||||
|
||||
|
||||
|
26
src/GrampsLocale/Makefile.am
Normal file
26
src/GrampsLocale/Makefile.am
Normal file
@ -0,0 +1,26 @@
|
||||
# This is the src/GrampsLocale level Makefile for Gramps
|
||||
# We could use GNU make's ':=' syntax for nice wildcard use,
|
||||
# but that is not necessarily portable.
|
||||
# If not using GNU make, then list all .py files individually
|
||||
|
||||
pkgdatadir = $(datadir)/@PACKAGE@/GrampsLocale
|
||||
|
||||
pkgdata_PYTHON = \
|
||||
_GrampsLocale.py
|
||||
__init__.py
|
||||
|
||||
|
||||
pkgpyexecdir = @pkgpyexecdir@/GrampsLocale
|
||||
pkgpythondir = @pkgpythondir@/GrampsLocale
|
||||
|
||||
|
||||
dist_pkgdata_DATA =
|
||||
|
||||
# Clean up all the byte-compiled files
|
||||
MOSTLYCLEANFILES = *pyc *pyo
|
||||
|
||||
GRAMPS_PY_MODPATH = "../"
|
||||
|
||||
pycheck:
|
||||
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
|
||||
pychecker $(pkgdata_PYTHON));
|
@ -1,2 +1,23 @@
|
||||
#
|
||||
# Gramps - a GTK+/GNOME based genealogy program
|
||||
#
|
||||
# Copyright (C) 2004-2006 Donald N. Allingham
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#
|
||||
|
||||
# $Id: $
|
||||
|
||||
from _GrampsLocale import *
|
||||
|
@ -8,6 +8,9 @@ SUBDIRS = \
|
||||
Filters \
|
||||
FilterEditor \
|
||||
GrampsDb \
|
||||
GrampsDbUtils \
|
||||
BasicUtils \
|
||||
GrampsLocale \
|
||||
Merge \
|
||||
DisplayTabs \
|
||||
DisplayModels \
|
||||
|
Loading…
Reference in New Issue
Block a user