diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-misc/geneweb | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-misc/geneweb')
-rw-r--r-- | app-misc/geneweb/Manifest | 2 | ||||
-rw-r--r-- | app-misc/geneweb/files/geneweb-6.07-gentoo.patch | 30 | ||||
-rw-r--r-- | app-misc/geneweb/files/geneweb-6.07-parallellbuild.patch | 68 | ||||
-rw-r--r-- | app-misc/geneweb/files/geneweb.confd | 6 | ||||
-rw-r--r-- | app-misc/geneweb/files/geneweb.initd | 20 | ||||
-rw-r--r-- | app-misc/geneweb/geneweb-6.07.ebuild | 85 | ||||
-rw-r--r-- | app-misc/geneweb/metadata.xml | 18 |
7 files changed, 229 insertions, 0 deletions
diff --git a/app-misc/geneweb/Manifest b/app-misc/geneweb/Manifest new file mode 100644 index 000000000000..325a6215ab2f --- /dev/null +++ b/app-misc/geneweb/Manifest @@ -0,0 +1,2 @@ +DIST geneweb-6.07-reduce-utf8.ml.patch.gz 185409 SHA256 cc5b7d30333e8c7b187b83106189b5e63a7d423c2e500b77b5d087cd8cd239fa SHA512 d6b71fc6d3a1488f6e96e65ab0c942c08b9e0307b2d06c9bb97fde0c2e35af2fb4b52011024e67550e608603eacfaf5ee312c99c9228edfedc2dbe82745de227 WHIRLPOOL 75e30b8ef19803dcc6f391fc798c2bb4d4e4fa685d0d5d060dcb1a9ad676a45f5016fef2e6306019876d0d30d662ee3f67f361267a2829b2ce679836c573104c +DIST gw-6.07-src.tgz 1855016 SHA256 c1ecc337f8bce4d8509ca49081d098b5a44ddb6407208496e55e9a38d6bfb1f6 SHA512 719884af80809b25946175731ae20b280e13f6e18471903d2222928c11838a2a92a43f03dd8152b7b01dfcaf45fbd942035f4b54f049899ea134cd161cfc971d WHIRLPOOL 70305616cafcb9476814e3fe8355571611fef4eabe022afd2f3b92c3a9c9c6bc2be69a37532e4b04cc16e9ce8979abda1b103f4606a8784bf64caa0c1b9ff5e5 diff --git a/app-misc/geneweb/files/geneweb-6.07-gentoo.patch b/app-misc/geneweb/files/geneweb-6.07-gentoo.patch new file mode 100644 index 000000000000..a7cdff7a44c5 --- /dev/null +++ b/app-misc/geneweb/files/geneweb-6.07-gentoo.patch @@ -0,0 +1,30 @@ +--- setup/setup.ml.old 2007-08-07 19:25:13.000000000 +0200 ++++ setup/setup.ml 2007-08-07 19:24:59.000000000 +0200 +@@ -5,8 +5,8 @@ + + value port = ref 2316; + value default_lang = ref "en"; +-value setup_dir = ref "."; +-value bin_dir = ref ""; ++value setup_dir = ref "/usr/share/geneweb"; ++value bin_dir = ref "/usr/bin"; + value lang_param = ref ""; + value only_file = ref ""; + +--- tools/Makefile.inc.unix.old 2008-04-23 15:22:50.000000000 +0200 ++++ tools/Makefile.inc.unix 2008-04-23 15:23:04.000000000 +0200 +@@ -5,11 +5,11 @@ + CAMLP5F=-DUNIX + CAMLP5D=+camlp5 + LIBUNIX=-cclib -lunix +-OCAMLC=ocamlc.opt -warn-error A +-OCAMLOPT=ocamlopt.opt -warn-error A ++OCAMLC=ocamlc.opt ++OCAMLOPT=ocamlopt.opt + OCAMLI= + OCAMLD= +-STRIP=strip ++STRIP=true + RM=/bin/rm -f + EXE= + STATIC=-ccopt -static diff --git a/app-misc/geneweb/files/geneweb-6.07-parallellbuild.patch b/app-misc/geneweb/files/geneweb-6.07-parallellbuild.patch new file mode 100644 index 000000000000..cb1a5b0125e9 --- /dev/null +++ b/app-misc/geneweb/files/geneweb-6.07-parallellbuild.patch @@ -0,0 +1,68 @@ +--- wserver/Makefile.old 2011-03-11 13:47:04.000000000 +0100 ++++ wserver/Makefile 2011-03-11 13:47:20.000000000 +0100 +@@ -4,8 +4,10 @@ + + OBJS=wserver.cmo + +-all:: pa_macro5.cmo $(OBJS) ++all:: pa_macro5.cmo ++ $(MAKE) $(OBJS) +-opt:: pa_macro5.cmo $(OBJS:.cmo=.cmx) ++opt:: pa_macro5.cmo ++ $(MAKE) $(OBJS:.cmo=.cmx) + + pa_macro5.cmo: pa_macro5.ml + camlp5r pa_extend.cmo q_MLast.cmo -o pa_macro5.ppo pa_macro5.ml +--- src/Makefile.old 2013-04-18 21:29:52.727049806 +0200 ++++ src/Makefile 2013-04-18 21:30:58.838414496 +0200 +@@ -153,6 +153,8 @@ + ) | \ + sort | uniq | grep -v '^$$' > i18n + ++config.cmi: gwdb.cmi ++ + always: + + depend: +--- src/.depend.old 2014-07-17 09:18:26.882149121 +0200 ++++ src/.depend 2014-07-17 09:19:07.981770328 +0200 +@@ -162,7 +162,7 @@ + mutil.cmx notesLinks.cmx progrBar.cmx secure.cmx select.cmx + history.cmo: adef.cmi buff.cmo config.cmi date.cmi def.cmi gutil.cmi \ + gwdb.cmi hutil.cmi mutil.cmi secure.cmi templ.cmi templAst.cmi util.cmi \ +- history_diff.cmi ../wserver/wserver.cmi history.cmi ++ history_diff.cmo ../wserver/wserver.cmi history.cmi + history.cmx: adef.cmx buff.cmx config.cmi date.cmx def.cmi gutil.cmx \ + gwdb.cmx hutil.cmx mutil.cmx secure.cmx templ.cmx templAst.cmi util.cmx \ + history_diff.cmx ../wserver/wserver.cmx history.cmi +--- ged2gwb/.depend.old 2014-07-17 09:23:02.119612299 +0200 ++++ ged2gwb/.depend 2014-07-17 09:23:53.987134380 +0200 +@@ -1,7 +1,7 @@ + ged2gwb2.cmo: ../src/adef.cmi ../src/ansel.cmo ../src/argl.cmo \ + ../src/buff.cmo ../src/calendar.cmi ../src/db2link.cmi ../src/def.cmi \ + ../src/futil.cmi ../src/gwcomp.cmi ../src/lock.cmi ../src/mutil.cmi \ +- ../src/name.cmi ../src/secure.cmi ./utf8.cmi ++ ../src/name.cmi ../src/secure.cmi ./utf8.cmo + ged2gwb2.cmx: ../src/adef.cmx ../src/ansel.cmx ../src/argl.cmx \ + ../src/buff.cmx ../src/calendar.cmx ../src/db2link.cmx ../src/def.cmi \ + ../src/futil.cmx ../src/gwcomp.cmx ../src/lock.cmx ../src/mutil.cmx \ +@@ -10,7 +10,7 @@ + ../src/buff.cmo ../src/calendar.cmi ../src/check.cmi \ + ../src/checkItem.cmi ../src/dbdisk.cmi ../src/def.cmi ../src/gwdb.cmi \ + ../src/lock.cmi ../src/mutil.cmi ../src/name.cmi ../src/outbase.cmi \ +- ../src/secure.cmi ./utf8.cmi ++ ../src/secure.cmi ./utf8.cmo + ged2gwb.cmx: ../src/adef.cmx ../src/ansel.cmx ../src/argl.cmx \ + ../src/buff.cmx ../src/calendar.cmx ../src/check.cmx \ + ../src/checkItem.cmx ../src/dbdisk.cmi ../src/def.cmi ../src/gwdb.cmx \ +--- Makefile.old 2014-10-30 08:36:50.308668062 +0100 ++++ Makefile 2014-10-30 08:37:13.204451602 +0100 +@@ -65,7 +65,7 @@ + + distrib: new_distrib wrappers + +-wrappers: ++wrappers: new_distrib + if test "$(CAMLP5F)" = "-DWIN95"; then \ + echo -ne 'setlocal enableextensions\r\n' > $(DESTDIR)/gwd.bat; \ + echo -ne 'md bases\r\n' >> $(DESTDIR)/gwd.bat; \ diff --git a/app-misc/geneweb/files/geneweb.confd b/app-misc/geneweb/files/geneweb.confd new file mode 100644 index 000000000000..3a93f09d8f19 --- /dev/null +++ b/app-misc/geneweb/files/geneweb.confd @@ -0,0 +1,6 @@ +# +# GeneWeb Configuration Data +# + +# The default language +LANG="it" diff --git a/app-misc/geneweb/files/geneweb.initd b/app-misc/geneweb/files/geneweb.initd new file mode 100644 index 000000000000..8ed7013ab509 --- /dev/null +++ b/app-misc/geneweb/files/geneweb.initd @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +depend() { + need net +} + +start() { + ebegin "Starting geneweb server" + start-stop-daemon -S -u geneweb -x /usr/bin/gwd -- -bd /var/lib/geneweb -lang $LANG -log /var/log/geneweb.log -daemon + eend $? +} + +stop() { + ebegin "Stopping geneweb server" + start-stop-daemon -K -u geneweb -x /usr/bin/gwd + eend $? +} diff --git a/app-misc/geneweb/geneweb-6.07.ebuild b/app-misc/geneweb/geneweb-6.07.ebuild new file mode 100644 index 000000000000..7ec6bc9ec4d5 --- /dev/null +++ b/app-misc/geneweb/geneweb-6.07.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit eutils user + +MY_PN=gw +MY_PV=${PV/./-} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Genealogy software program with a Web interface" +HOMEPAGE="http://opensource.geneanet.org/projects/geneweb" +SRC_URI="http://opensource.geneanet.org/attachments/download/240/${MY_P}-src.tgz + mirror://gentoo/${P}-reduce-utf8.ml.patch.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="+ocamlopt" + +RDEPEND="dev-lang/ocaml[ocamlopt?] + dev-ml/camlp5[ocamlopt?]" +DEPEND="${RDEPEND} + !net-p2p/ghostwhitecrab" + +S=${WORKDIR}/gw-${PV}-src + +src_prepare() { + esvn_clean + epatch "${FILESDIR}"/${P}-gentoo.patch \ + "${FILESDIR}"/${P}-parallellbuild.patch \ + ../${P}-reduce-utf8.ml.patch +} + +src_compile() { + if use ocamlopt; then + emake + else + emake OCAMLC=ocamlc OCAMLOPT=ocamlopt out + # If using bytecode we dont want to strip the binary as it would remove + # the bytecode and only leave ocamlrun... + export STRIP_MASK="*/bin/*" + fi +} + +src_install() { + dodoc ICHANGES + emake distrib + # Install doc + cd distribution + dodoc CHANGES.txt + # Install binaries + cd gw + dobin gwc gwc1 gwc2 consang gwd gwu update_nldb ged2gwb ged2gwb2 gwb2ged gwsetup + insinto /usr/lib/${PN} + doins -r gwtp_tmp/* + dodoc a.gwf + insinto /usr/share/${PN} + doins -r etc images lang setup gwd.arg only.txt + + cd ../.. + + # Install binaries + dobin src/check_base + # Install manpages + doman man/* + + # Install doc + insinto /usr/share/doc/${PF}/contrib + doins -r contrib/{gwdiff,misc} + + newinitd "${FILESDIR}/geneweb.initd" geneweb + newconfd "${FILESDIR}/geneweb.confd" geneweb +} + +pkg_postinst() { + enewuser geneweb "" "/bin/bash" /var/lib/geneweb + einfo "A CGI program has been installed in /usr/lib/${PN}. Follow the" + einfo "instructions on the README in that directory to use it" + einfo "For 64 bits architecture you need to rebuild the database" + einfo "\"gwu foo > foo.gw \" will save the database (use the previous" + einfo "version to do that). \"gwc2 foo.gw -o bar \" will restore it " + einfo "(usiing the current package)" +} diff --git a/app-misc/geneweb/metadata.xml b/app-misc/geneweb/metadata.xml new file mode 100644 index 000000000000..48ff7bde0cdb --- /dev/null +++ b/app-misc/geneweb/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> + <email>tupone@gentoo.org</email> + <name>Tupone Alfredo</name> +</maintainer> +<longdescription lang="en"> +GeneWeb is a genealogy software program with a Web interface. It can be used +off-line or in a Web environment. It uses very efficient techniques of +relationship and consanguinity computing, developed in collaboration with Didier +Rémy, research Director at INRIA. +</longdescription> +<use> + <flag name='ocamlopt'>Enable ocamlopt support (<pkg>dev-lang/ocaml</pkg> + native code compiler)</flag> +</use> +</pkgmetadata> |