+++ /dev/null
-# ChangeLog for app-misc/lifelines
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
-*lifelines-3.0.62.0 (16 Jun 2011)
- 16 Jun 2011: W. Trevor King <wking@drexel.edu> lifelines-3.0.62.0.ebuild :
- - Add divorce patch so Dave Close's html.ll report will run.
-
-*lifelines-3.0.62.0 (31 Dec 2010)
- 31 Dec 2010; W. Trevor King <wking@drexel.edu> lifelines-3.0.62.0.ebuild, -lifelines-3.0.37.2.ebuild :
- - Fix repoman-reported issues with 3.0.62.0.
- - Remove outdated 3.0.37.2.
-
-*lifelines-3.0.62.0 (12 Apr 2009)
- 12 Apr 2009; W. Trevor King <wking@drexel.edu> lifelines-3.0.62.0.ebuild :
- New upstream package. Also added initial ChangeLog which should be
- updated whenever the package is updated in any way. This changelog
- is targetted to users. This means that the comments should well
- explained and written in clean English. The details about writing
- correct changelogs are explained in the skel.ChangeLog file which
- you can find in the root directory of the portage repository.
-
-*lifelines-3.0.37.2 (6 June 2004)
- 6 June 2004; Oliver Fisette <ribosome@gentoo.org> lifelines-3.0.37.2.ebuild, metadata.xml :
- - Added app-text/docbook-sgml-utils as an optional dep. (Required if
- using the doc use flag.) docbook-sgml-utils are used to build the
- lifelines documentation from source.
- - Use a sed script to avoid building the win32 and docs subdirs. The
- docs are built separatly to avoid their installation in
- /usr/share/lifelines. Instead, they are manually copied to
- /usr/share/${P} if the doc use flag is activated.
- - Report making programs are installed in
- /usr/share/lifelines/reports.
- - An env file (25lifelines) provides the default path for the report
- making programs.
- - Created a metadata.xml file.
-
-*lifelines-3.0.37.2 (19 Feb 2004)
- 19 Feb 2004; Minati jean michel <magnet@suidzer0.org> lifelines-3.0.37.2.ebuild :
- Created ebuild in response to bug 42103
+++ /dev/null
-http://listserv.nodak.edu/cgi-bin/wa.exe?A2=ind0211b&L=lines-l&T=0&F=&S=&P=356
-Date: Tue, 12 Nov 2002 21:36:50 -0800
-Reply-To: LifeLines Genealogical System <[log in to unmask]>
-Sender: LifeLines Genealogical System <[log in to unmask]>
-From: Dave Close <[log in to unmask]>
-Subject: Divorce function
-Content-Type: text/plain; charset=us-ascii
-
-The following patch against LifeLines 3.0.21 attempts to add a new
-"divorce" function to the interpreter language. It has the same syntax
-as the current "marriage" function. It works for me, but the
-experience of others might be useful.
-
-[Updated to match version 3.0.62 by W. Trevor King on 16 June 2011]
-
---- a/src/gedlib/messages.c Tue Nov 12 21:29:51 2002
-+++ b/src/gedlib/messages.c Tue Nov 12 20:04:32 2002
-@@ -379,6 +379,7 @@
- ZST qSdspa_chbr = N_("cb. ");
- /* &&end display abbreviations, begin long forms */
- ZST qSdspl_mar = N_("married: ");
-+ZST qSdspl_div = N_("divorced: ");
- ZST qSdspl_bir = N_("born: ");
- ZST qSdspl_chr = N_("bapt: ");
- ZST qSdspl_dea = N_("died: ");
-
---- a/src/gedlib/gstrings.c Tue Nov 12 21:29:51 2002
-+++ b/src/gedlib/gstrings.c Tue Nov 12 20:03:19 2002
-@@ -122,6 +122,7 @@
- /* TODO: Shouldn't we len -= strlen(p) first ? Perry, 2007-09-29 */
- p += strlen(p);
- if (fam) evt = fam_to_event(fam, "MARR", _(qSdspa_mar), len, rfmt);
-+ if (!evt) evt = fam_to_event(fam, "DIVO", _(qSdspa_mar), len, rfmt);
- if (!evt) evt = indi_to_event(indi, "BIRT", _(qSdspa_bir), len, rfmt);
- if (!evt) evt = indi_to_event(indi, "CHR", _(qSdspa_chr), len, rfmt);
- if (!evt) evt = indi_to_event(indi, "DEAT", _(qSdspa_dea), len, rfmt);
-
---- a/src/interp/builtin.c Tue Nov 12 21:29:43 2002
-+++ b/src/interp/builtin.c Tue Nov 12 19:58:51 2002
-@@ -777,6 +777,24 @@
- }
- return create_pvalue_from_indi(fam_to_wife_node(fam));
- }
-+/*=================================+
-+ * llrpt_divo -- Find divorce of family
-+ * usage: divorce(FAM) -> EVENT
-+ *================================*/
-+PVALUE
-+llrpt_divo (PNODE node, SYMTAB stab, BOOLEAN *eflg)
-+{
-+ PNODE arg = (PNODE) iargs(node);
-+ NODE fam = eval_fam(arg, stab, eflg, NULL);
-+ NODE event = NULL;
-+ if (*eflg) {
-+ prog_var_error(node, stab, arg, NULL, nonfam1, "divorce");
-+ return NULL;
-+ }
-+ if (fam)
-+ event = DIVO(fam);
-+ return create_pvalue_from_node(event);
-+}
- /*==========================================+
- * llrpt_firstchild -- Find first child of family
- * usage: firstchild(FAM) -> INDI
-
---- a/src/interp/functab.c Tue Nov 12 21:29:43 2002
-+++ b/src/interp/functab.c Tue Nov 12 19:56:09 2002
-@@ -100,6 +100,7 @@
- {"detachnode", 1, 1, llrpt_detachnode},
- {"difference", 2, 2, llrpt_difference},
- {"div", 2, 2, llrpt_div},
-+ {"divorce", 1, 1, llrpt_divo},
- {"dms2deg", 4, 4, llrpt_dms2deg},
- {"dup", 1, 1, llrpt_dup},
- {"empty", 1, 1, llrpt_empty},
-
---- a/src/interp/interpi.h Tue Nov 12 21:29:44 2002
-+++ b/src/interp/interpi.h Tue Nov 12 20:00:27 2002
-@@ -294,6 +294,7 @@
- PVALUE llrpt_detachnode(PNODE, SYMTAB, BOOLEAN *);
- PVALUE llrpt_difference(PNODE, SYMTAB, BOOLEAN *);
- PVALUE llrpt_div(PNODE, SYMTAB, BOOLEAN *);
-+PVALUE llrpt_divo(PNODE, SYMTAB, BOOLEAN *);
- PVALUE llrpt_dms2deg(PNODE, SYMTAB, BOOLEAN *);
- PVALUE llrpt_dup(PNODE, SYMTAB, BOOLEAN *);
- PVALUE llrpt_empty(PNODE, SYMTAB, BOOLEAN *);
-
---- a/src/hdrs/gedcom_macros.h Tue Nov 12 21:29:15 2002
-+++ b/src/hdrs/gedcom_macros.h Tue Nov 12 20:17:14 2002
-@@ -47,6 +47,7 @@
- #define HUSB(fam) find_tag(nchild(fam),"HUSB")
- #define WIFE(fam) find_tag(nchild(fam),"WIFE")
- #define MARR(fam) find_tag(nchild(fam),"MARR")
-+#define DIVO(fam) find_tag(nchild(fam),"DIVO")
- #define CHIL(fam) find_tag(nchild(fam),"CHIL")
-
- #define DATE(evnt) find_tag(nchild(evnt),"DATE")
+++ /dev/null
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="3"
-
-inherit eutils
-
-DESCRIPTION="Lifelines is an open source genealogy program."
-HOMEPAGE="${PN}.sf.net"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-LICENSE="as-is"
-SLOT="0"
-KEYWORDS="~x86"
-DEPEND="sys-libs/glibc
- nls? ( sys-devel/gettext )
- doc? ( app-text/docbook-sgml-utils )"
-RDEPEND=""
-IUSE="doc nls"
-
-src_configure() {
- epatch "${FILESDIR}/${P}-divorce.patch"
- # So that "make install" does not try to install documentation in
- # /usr/share/doc/lifelines.
- sed -ie 's/SUBDIRS = build intl po win32 src docs reports tt/SUBDIRS = build intl po src reports tt/' Makefile.in || die
- econf $(use_enable nls) || die
-}
-
-src_compile() {
- emake || die
- cd docs
- # If app-text/docbook-sgml-utils is installed, documents are built from
- # source using the jw tools.
- emake || die
-}
-
-src_install() {
- make install DESTDIR="${D}" || die
- dodoc AUTHORS ChangeLog NEWS README* || die
- doman docs/{btedit.1,dbverify.1,llines.1} || die
- insinto /usr/share/doc/${P}/manuals
- # The PDF docs are not installed, since they are corrupted.
- use doc && doins docs/*.jpg docs/*.html docs/*.txt || die
- # Adds the graphics for the reports HTML index, and a config file example.
- insinto /usr/share/${PN}
- doins reports/boc.gif reports/ll.png || die
- newins .linesrc linesrc.example || die
- # Installs the reports.
- insinto /usr/share/${PN}/reports/
- doins reports/*.ll reports/*.tex reports/CREDIT reports/README || die
- insinto /usr/share/${PN}/reports/st
- doins reports/st/*.ll || die
-}