Support for AbiWord 1.9 or greater (table support)
svn: r1556
This commit is contained in:
parent
abd0e81b88
commit
b8a8f8176f
16
Makefile.in
16
Makefile.in
@ -425,8 +425,6 @@ info: info-recursive
|
|||||||
info-am:
|
info-am:
|
||||||
|
|
||||||
install-data-am:
|
install-data-am:
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
$(MAKE) $(AM_MAKEFLAGS) install-data-hook
|
|
||||||
|
|
||||||
install-exec-am: install-binSCRIPTS
|
install-exec-am: install-binSCRIPTS
|
||||||
|
|
||||||
@ -445,7 +443,7 @@ mostlyclean: mostlyclean-recursive
|
|||||||
|
|
||||||
mostlyclean-am: mostlyclean-generic
|
mostlyclean-am: mostlyclean-generic
|
||||||
|
|
||||||
uninstall-am: uninstall-binSCRIPTS uninstall-info-am uninstall-local
|
uninstall-am: uninstall-binSCRIPTS uninstall-info-am
|
||||||
|
|
||||||
uninstall-info: uninstall-info-recursive
|
uninstall-info: uninstall-info-recursive
|
||||||
|
|
||||||
@ -463,7 +461,7 @@ uninstall-info: uninstall-info-recursive
|
|||||||
maintainer-clean-recursive mostlyclean mostlyclean-generic \
|
maintainer-clean-recursive mostlyclean mostlyclean-generic \
|
||||||
mostlyclean-recursive tags tags-recursive uninstall \
|
mostlyclean-recursive tags tags-recursive uninstall \
|
||||||
uninstall-am uninstall-binSCRIPTS uninstall-info-am \
|
uninstall-am uninstall-binSCRIPTS uninstall-info-am \
|
||||||
uninstall-info-recursive uninstall-local uninstall-recursive
|
uninstall-info-recursive uninstall-recursive
|
||||||
|
|
||||||
|
|
||||||
gramps: gramps.sh
|
gramps: gramps.sh
|
||||||
@ -471,16 +469,6 @@ gramps: gramps.sh
|
|||||||
|
|
||||||
dist-hook: gramps.spec
|
dist-hook: gramps.spec
|
||||||
cp gramps.spec $(distdir)
|
cp gramps.spec $(distdir)
|
||||||
|
|
||||||
# Build/rebuild the catalog
|
|
||||||
install-data-hook:
|
|
||||||
$(mkinstalldirs) $(DESTDIR)$(localstatedir)/log
|
|
||||||
|
|
||||||
# Remove generated files
|
|
||||||
uninstall-local:
|
|
||||||
-rm -rf $(DESTDIR)$(gramps_localstate_dir)
|
|
||||||
-rm -f $(DESTDIR)$(localstatedir)/log/gramps.log
|
|
||||||
-rm -f $(DESTDIR)$(localstatedir)/log/gramps.log.1
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
.NOEXPORT:
|
.NOEXPORT:
|
||||||
|
2
NEWS
2
NEWS
@ -13,6 +13,8 @@ Version 0.9.2
|
|||||||
and Show uncollected objects.
|
and Show uncollected objects.
|
||||||
* Option to fix missing media files during Check and Repair.
|
* Option to fix missing media files during Check and Repair.
|
||||||
* Long-awaited Export to CD.
|
* Long-awaited Export to CD.
|
||||||
|
* Added support for AbiWord 1.9 or greater, AbiWord 1.9+ supports tables,
|
||||||
|
allowing a greater range of reports to be supported.
|
||||||
* Save confirmation on Help->Open Example and File->New.
|
* Save confirmation on Help->Open Example and File->New.
|
||||||
* Command-line options (-i -o -f -a) support is added in its experimental stage.
|
* Command-line options (-i -o -f -a) support is added in its experimental stage.
|
||||||
Please try hard to break it and report to gramps-devel.
|
Please try hard to break it and report to gramps-devel.
|
||||||
|
38
configure
vendored
38
configure
vendored
@ -1642,7 +1642,7 @@ INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
RELEASE=rc1
|
RELEASE=1
|
||||||
|
|
||||||
VERSIONSTRING=$VERSION
|
VERSIONSTRING=$VERSION
|
||||||
if test x"$RELEASE" != "x"
|
if test x"$RELEASE" != "x"
|
||||||
@ -1811,13 +1811,12 @@ else
|
|||||||
echo "${ECHO_T}no" >&6
|
echo "${ECHO_T}no" >&6
|
||||||
fi
|
fi
|
||||||
|
|
||||||
am_display_PYTHON=$am_cv_pathless_PYTHON
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
|
echo "$as_me:$LINENO: checking for $am_cv_pathless_PYTHON version" >&5
|
||||||
echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6
|
echo $ECHO_N "checking for $am_cv_pathless_PYTHON version... $ECHO_C" >&6
|
||||||
if test "${am_cv_python_version+set}" = set; then
|
if test "${am_cv_python_version+set}" = set; then
|
||||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||||
else
|
else
|
||||||
@ -1835,8 +1834,8 @@ echo "${ECHO_T}$am_cv_python_version" >&6
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
|
echo "$as_me:$LINENO: checking for $am_cv_pathless_PYTHON platform" >&5
|
||||||
echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6
|
echo $ECHO_N "checking for $am_cv_pathless_PYTHON platform... $ECHO_C" >&6
|
||||||
if test "${am_cv_python_platform+set}" = set; then
|
if test "${am_cv_python_platform+set}" = set; then
|
||||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||||
else
|
else
|
||||||
@ -1850,15 +1849,34 @@ echo "${ECHO_T}$am_cv_python_platform" >&6
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
pythondir=$PYTHON_PREFIX"/lib/python"$PYTHON_VERSION/site-packages
|
echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
|
||||||
|
echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6
|
||||||
|
if test "${am_cv_python_pythondir+set}" = set; then
|
||||||
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||||
|
else
|
||||||
|
am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
|
||||||
|
echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
|
||||||
|
fi
|
||||||
|
echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
|
||||||
|
echo "${ECHO_T}$am_cv_python_pythondir" >&6
|
||||||
|
pythondir=$am_cv_python_pythondir
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
pkgpythondir=\${pythondir}/$PACKAGE
|
pkgpythondir=\${pythondir}/$PACKAGE
|
||||||
|
|
||||||
|
|
||||||
|
echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
|
||||||
pyexecdir=${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages
|
echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6
|
||||||
|
if test "${am_cv_python_pyexecdir+set}" = set; then
|
||||||
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||||
|
else
|
||||||
|
am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
|
||||||
|
echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
|
||||||
|
fi
|
||||||
|
echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
|
||||||
|
echo "${ECHO_T}$am_cv_python_pyexecdir" >&6
|
||||||
|
pyexecdir=$am_cv_python_pyexecdir
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -4170,7 +4188,7 @@ SCROLLKEEPER_BUILD_REQUIRED=0.3.5
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
ac_config_files="$ac_config_files Makefile src/Makefile src/const.py src/docgen/Makefile src/filters/Makefile src/plugins/Makefile src/calendars/Makefile src/data/Makefile src/data/templates/Makefile src/po/Makefile doc/Makefile doc/gramps-manual/Makefile doc/gramps-manual/C/Makefile example/Makefile example/gramps/Makefile gramps.spec gramps.sh"
|
ac_config_files="$ac_config_files Makefile src/Makefile src/const.py src/docgen/Makefile src/filters/Makefile src/plugins/Makefile src/calendars/Makefile src/data/Makefile src/data/templates/Makefile src/po/Makefile doc/Makefile doc/gramps-manual/Makefile doc/gramps-manual/C/Makefile example/Makefile example/gramps/Makefile gramps.spec gramps.sh"
|
||||||
cat >confcache <<\_ACEOF
|
cat >confcache <<\_ACEOF
|
||||||
# This file is a shell script that caches the results of configure
|
# This file is a shell script that caches the results of configure
|
||||||
# tests run on this system so they can be shared between configure
|
# tests run on this system so they can be shared between configure
|
||||||
|
135
doc/gramps.1
135
doc/gramps.1
@ -1,49 +1,122 @@
|
|||||||
.TH gramps 1 "0.9.1" "man page by Brandon L. Griffith" ""
|
.TH gramps 1 "0.9.1" "May 2003" "0.9.1"
|
||||||
.SH "NAME"
|
.SH NAME
|
||||||
.LP
|
gramps \- Genealogical Research and Analysis Management Programming System.
|
||||||
gramps \- Genealogical Research and Analysis Management Programming System
|
|
||||||
.SH "SYNTAX"
|
.SH SYNOPSIS
|
||||||
.LP
|
.B gramps
|
||||||
gramps [\fIDatabase\fP]
|
.RB [ \-\^\-help ]
|
||||||
|
.RB [ \-\^\-version ]
|
||||||
|
.RB [ \-i
|
||||||
|
.IR FILENAME
|
||||||
|
.RB [ \-f
|
||||||
|
.IR FORMAT ]]
|
||||||
|
.RB [ \-i
|
||||||
|
.IR ... ]
|
||||||
|
.RB [ \-o
|
||||||
|
.IR FILENAME
|
||||||
|
.RB [ \-f
|
||||||
|
.IR FORMAT ]]
|
||||||
|
.RB [ \-a
|
||||||
|
.IR ACTION ]
|
||||||
|
|
||||||
|
.SH DESCRIPTION
|
||||||
|
.PP
|
||||||
|
\fIGramps\fP is an open source genealogy program. It is written in Python,
|
||||||
|
using the GTK/GNOME interface.
|
||||||
.br
|
.br
|
||||||
Currently \fBgramps\fR does not require any command line arguments.
|
Gramps should seem familiar to anyone who has used other geneology programs
|
||||||
However, if provided, it is the path to either a gramps database or a GEDCOM
|
before such as \fIFamily Tree Maker for Windows(TM)\fR or the GNU Geneweb.
|
||||||
file to be imported.
|
|
||||||
.SH "DESCRIPTION"
|
|
||||||
.LP
|
|
||||||
Gramps is an open source genealogy program. It is written in Python, using the GTK/GNOME interface.
|
|
||||||
.br
|
.br
|
||||||
Gramps should seem familiar to anyone who has used other geneology programs before such as \fIFamily Tree Maker for Windows(TM)\fR or the GNU Geneweb.
|
It supports importing of the ever popular GEDCOM format which is used world
|
||||||
.br
|
wide by almost all other geneology software.
|
||||||
It supports importing of the ever popular GEDCOM format which is used world wide by almost all other geneology software.
|
|
||||||
.SH "Concepts"
|
.SH OPTIONS
|
||||||
Supports a python\-based plugin system, allowing import and export writers, report generators, tools, and display filters to be added without modification of the main program.
|
.TP
|
||||||
|
.BI \-f " FORMAT"
|
||||||
|
Explicitly specify format of the filename. If this option is not given, the
|
||||||
|
format of each file is guessed according to its extension. Formats available
|
||||||
|
for import are \fBgramps\fR, \fBgedcom\fR, and \fBgramps\-pkg\fR. Formats
|
||||||
|
available for export are \fBgramps\fR, \fBgedcom\fR, \fBgramps\-pkg\fR,
|
||||||
|
and \fBiso\fR.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.BI \-i " FILENAME"
|
||||||
|
Import data from \fIFILENAME\fR. For \fBgramps\fR format, the \fIFILENAME\fR
|
||||||
|
is actually the name of directory under which the gramps database resides.
|
||||||
|
For \fBgedcom\fR and \fBgramps\-pkg\fR, the \fIFILENAME\fR is the name of
|
||||||
|
the corresponding file.
|
||||||
|
.br
|
||||||
|
When more than one file is given, each has to be preceded by \fB\-i\fR flag.
|
||||||
|
The files are imported in the specified order,
|
||||||
|
i.e. \fB\-i\fR \fIFILE1\fR \fB\-i\fR \fIFILE2\fR
|
||||||
|
and \fB\-i\fR \fIFILE2\fR \fB\-i\fR \fIFILE1\fR might produce different
|
||||||
|
gramps IDs in the resulting database.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.BI \-o " FILENAME"
|
||||||
|
Export data into \fIFILENAME\fR. For \fBgramps\fR and \fBiso\fR formats, the
|
||||||
|
\fIFILENAME\fR is actually the name of directory the gramps database will be
|
||||||
|
written into. For \fBgedcom\fR and \fBgramps\-pkg\fR, the \fIFILENAME\fR
|
||||||
|
is the name of the resulting file.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.BI \-a " ACTION"
|
||||||
|
Perform \fIACTION\fR on the imported data. This is done after all imports
|
||||||
|
are succesfully completed. Available actions are \fBsummary\fR (same as
|
||||||
|
Reports->View->Summary menu item) and \fBcheck\fR (same
|
||||||
|
as Tools->Database Processing->Check and repair).
|
||||||
|
|
||||||
|
.LP
|
||||||
|
If no \fB\-o\fR or \fB\-a\fR options are given, gramps will launch its main
|
||||||
|
window and start the usual interactive session with the database resulted
|
||||||
|
from all imports. This database resides under \fB~/.gramps/import\fR directory.
|
||||||
|
|
||||||
|
.LP
|
||||||
|
The error encountered during import, export, or action, will be either
|
||||||
|
dumped to \fIstdout\fR (if these are exceptions handled by gramps) or or
|
||||||
|
to \fIstderr\fR (if these are not handled). Use usual shell redirections
|
||||||
|
of \fIstdout\fR and \fIstderr\fR to save messages and errors in files.
|
||||||
|
|
||||||
|
.SH CONCEPTS
|
||||||
|
Supports a python\-based plugin system, allowing import and export writers,
|
||||||
|
report generators, tools, and display filters to be added without modification
|
||||||
|
of the main program.
|
||||||
.LP
|
.LP
|
||||||
Data is stored in an gzip'ed XML format
|
Data is stored in an gzip'ed XML format
|
||||||
.LP
|
.LP
|
||||||
Instead of generating direct printer output, report generators target other systems, such as \fIOpen Office\fR, \fIAbiWord\fR, HTML or LaTeX to allow the user to modify the format to suit his or her needs.
|
Instead of generating direct printer output, report generators target other
|
||||||
.SH "FILES"
|
systems, such as \fIOpen Office\fR, \fIAbiWord\fR, HTML or LaTeX to allow the
|
||||||
|
user to modify the format to suit his or her needs.
|
||||||
|
|
||||||
|
.SH FILES
|
||||||
.LP
|
.LP
|
||||||
\fI${PREFIX}/bin/gramps\fP
|
\fI${PREFIX}/bin/gramps\fP
|
||||||
.br
|
.br
|
||||||
\fI${PREFIX}/share/gramps\fP
|
\fI${PREFIX}/share/gramps\fP
|
||||||
.br
|
.br
|
||||||
\fI${HOME}/.gramps\fP
|
\fI${HOME}/.gramps\fP
|
||||||
.SH "Authors"
|
|
||||||
Donald Allingham \fI<donaldallingham@home.com>\fR
|
.SH AUTHORS
|
||||||
|
Donald Allingham \fI<dallingham@users.sourceforge.net>\fR
|
||||||
.br
|
.br
|
||||||
\fIhttp://gramps.sourceforge.net\fR
|
\fIhttp://gramps.sourceforge.net\fR
|
||||||
.LP
|
.LP
|
||||||
This manpage was written by:
|
This manpage was originally written by:
|
||||||
.br
|
.br
|
||||||
Brandon L. Griffith \fI<brandon@debian.org>\fR
|
Brandon L. Griffith \fI<brandon@debian.org>\fR
|
||||||
|
.br
|
||||||
|
for inclusion in the Debian GNU/Linux system.
|
||||||
|
.LP
|
||||||
|
This manpage is currently maintained by:
|
||||||
.br
|
.br
|
||||||
Any ammendants or errors should be reported to him.
|
Alex Roitman \fI<shura@alex.neuro.umn.edu>\fR
|
||||||
.br
|
.br
|
||||||
It was originally written for inclusion in the Debian GNU/Linux system.
|
|
||||||
.SH "DOCUMENTATION"
|
.SH DOCUMENTATION
|
||||||
See also the file \fBgramps.sgml\fR
|
The user documentation is available through standard GNOME Help browser
|
||||||
.br
|
in the form of Gramps Manual. This manual is also available in XML format
|
||||||
On a Debian system this can be found in \fI/usr/doc/gramps\fR
|
as \fBgramps-manual.xml\fR under \fIdoc/gramps-manual/$LANG\fR in the official
|
||||||
.br
|
source distribution.
|
||||||
Or in the doc directory of the official source distribution.
|
.LP
|
||||||
|
The developer documentation can be found in the \fBDocs\fR section
|
||||||
|
of \fIhttp://sourceforge.net/project/gramps\fR site.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
%define ver 0.9.1
|
%define ver 0.9.1
|
||||||
%define rel rc1
|
%define rel 1
|
||||||
%define prefix /usr
|
%define prefix /usr
|
||||||
|
|
||||||
Summary: Genealogical Research and Analysis Management Programming System.
|
Summary: Genealogical Research and Analysis Management Programming System.
|
||||||
|
@ -115,7 +115,7 @@ SUBDIRS = docgen filters plugins data po calendars
|
|||||||
GVFSINC = @GPREF@
|
GVFSINC = @GPREF@
|
||||||
CFLAGS = -fPIC -shared -O @GNOMEINC@ @CFLAGS@ @CPPFLAGS@ -I@includedir@
|
CFLAGS = -fPIC -shared -O @GNOMEINC@ @CFLAGS@ @CPPFLAGS@ -I@includedir@
|
||||||
LDFLAGS = @GNOMELIB@ @LDFLAGS@ -L@libdir@ @LIBS@
|
LDFLAGS = @GNOMELIB@ @LDFLAGS@ -L@libdir@ @LIBS@
|
||||||
CLEANFILES = ${INTLLIBS}
|
CLEANFILES = ${INTLLIBS} grampslib.so
|
||||||
MOSTLYCLEANFILES =
|
MOSTLYCLEANFILES =
|
||||||
|
|
||||||
|
|
||||||
|
@ -336,4 +336,4 @@ class AbiWordDoc(TextDoc.TextDoc):
|
|||||||
self.cdata = self.cdata + "</c>"
|
self.cdata = self.cdata + "</c>"
|
||||||
self.cdatalist.append(self.cdata)
|
self.cdatalist.append(self.cdata)
|
||||||
|
|
||||||
Plugins.register_text_doc(_("AbiWord"),AbiWordDoc,1,1,1,".abw")
|
Plugins.register_text_doc(_("AbiWord (version 1.0.x)"),AbiWordDoc,1,1,1,".abw")
|
||||||
|
@ -336,15 +336,15 @@ class OpenOfficeDoc(TextDoc.TextDoc):
|
|||||||
|
|
||||||
def _write_styles_file(self):
|
def _write_styles_file(self):
|
||||||
self.styles_xml = tempfile.mktemp()
|
self.styles_xml = tempfile.mktemp()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
self.f = open(self.styles_xml,"wb")
|
self.f = open(self.styles_xml,"wb")
|
||||||
except IOError,msg:
|
except IOError,msg:
|
||||||
errmsg = "%s\n%s" % (_("Could not create %s") % self.styles_xml, msg)
|
errmsg = "%s\n%s" % (_("Could not create %s") % self.styles_xml, msg)
|
||||||
raise Errors.ReportError(errmsg)
|
raise Errors.ReportError(errmsg)
|
||||||
except:
|
except:
|
||||||
raise Errors.ReportError((_("Could not create %s") % self.styles_xml)
|
raise Errors.ReportError(_("Could not create %s") % self.styles_xml)
|
||||||
|
|
||||||
self.f.write('<?xml version="1.0" encoding="UTF-8"?>\n')
|
self.f.write('<?xml version="1.0" encoding="UTF-8"?>\n')
|
||||||
self.f.write('<office:document-styles ')
|
self.f.write('<office:document-styles ')
|
||||||
self.f.write('xmlns:office="http://openoffice.org/2000/office" ')
|
self.f.write('xmlns:office="http://openoffice.org/2000/office" ')
|
||||||
|
@ -327,7 +327,7 @@ class IndivSummaryDialog(Report.TextReportDialog):
|
|||||||
|
|
||||||
def get_stylesheet_savefile(self):
|
def get_stylesheet_savefile(self):
|
||||||
"""Where to save styles for this report."""
|
"""Where to save styles for this report."""
|
||||||
return "family_group.xml"
|
return "individual_summary.xml"
|
||||||
|
|
||||||
def doc_uses_tables(self):
|
def doc_uses_tables(self):
|
||||||
"""This report requires table support."""
|
"""This report requires table support."""
|
||||||
|
Loading…
Reference in New Issue
Block a user