mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-08 00:05:33 +03:00
app-misc/geneweb: drop 7.0.1_alpha2-r3
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
parent
137582c24c
commit
bfb0ce724b
@ -1,2 +1 @@
|
||||
DIST geneweb-7.0.1_alpha2.tar.gz 14960087 BLAKE2B 46950389b3e0591daa4dd3672d7b133166df805ab091ac344fba32dd46c1c13c48d523dcd3fab0fcbf7d5f113eed9b4998fe52a20b3b85a5f67be0ff0bc676dc SHA512 454552bf6fec9ac5ba20caeae85d0df821c651c56521ebbdaace3c199a764436d3538cc7fd0e0abc71519d78e00cbef8696f5d5c5f7c6bdf61014b7a85800d74
|
||||
DIST geneweb-7.1_beta.tar.gz 14465662 BLAKE2B d63713c3b160fdfed8a79cf9c63738a743321f659a038f57ebec372324a02be5262079b3b3f522aa4a0a50d595feb294b719e352240bcf320e321b7cd0df4b8d SHA512 d45d69866b94869495788b4fd10e74bb23b70a0fb32547afb7385bbaa62a4526916d66217f354e434b12faca883c8624e606c5593d1a3740fb07005b53abff76
|
||||
|
||||
@ -1,35 +0,0 @@
|
||||
diff --git a/bin/gwrepl/mk_data.ml b/bin/gwrepl/mk_data.ml
|
||||
index b2a808b65..e497a238c 100644
|
||||
--- a/bin/gwrepl/mk_data.ml
|
||||
+++ b/bin/gwrepl/mk_data.ml
|
||||
@@ -46,7 +46,7 @@
|
||||
Printf.fprintf out "\n#endif\n"
|
||||
|
||||
let () =
|
||||
- let opam_swich_prefix = Sys.getenv "OPAM_SWITCH_PREFIX" in
|
||||
+ let opam_swich_prefix = "/usr" in
|
||||
let opam_swich_prefix_lib = opam_swich_prefix // "lib" in
|
||||
|
||||
let dune_root, root, (directories0, files0) =
|
||||
@@ -185,7 +185,7 @@
|
||||
"ocaml" // "stublibs" // "dllcamlstr.so";
|
||||
"ocaml" // "stublibs" // "dllunix.so";
|
||||
];
|
||||
- if_sosa_zarith out (fun () -> aux ("stublibs" // "dllzarith.so")));
|
||||
+ if_sosa_zarith out (fun () -> aux ("ocaml" // "stublibs" // "dllzarith.so")));
|
||||
Printf.fprintf out {||];;|};
|
||||
let b = Buffer.create 1024 in
|
||||
let aux =
|
||||
diff --git a/test/dune.in b/test/dune.in
|
||||
index ef891bbce..ac2a2b9e1 100644
|
||||
--- a/test/dune.in
|
||||
+++ b/test/dune.in
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
(executable
|
||||
(name test)
|
||||
- (libraries %%%SOSA_PKG%%% dummy_gwdb geneweb geneweb_def_show oUnit stdlib-shims)
|
||||
+ (libraries %%%SOSA_PKG%%% dummy_gwdb geneweb geneweb_def_show ounit2 stdlib-shims)
|
||||
(preprocess (pps ppx_deriving.show))
|
||||
(modules
|
||||
test
|
||||
@ -1,19 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting geneweb server"
|
||||
start-stop-daemon -S -u geneweb -x /usr/bin/geneweb.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/geneweb.gwd
|
||||
eend $?
|
||||
}
|
||||
@ -1,100 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit dune
|
||||
MYPV=${PV/_/-}
|
||||
|
||||
TagId=Geneweb-1eaac340
|
||||
DESCRIPTION="Genealogy software program with a Web interface"
|
||||
HOMEPAGE="https://github.com/geneweb/geneweb"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${MYPV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
S="${WORKDIR}"/${PN}-${MYPV}
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm64 x86"
|
||||
IUSE="+ocamlopt test"
|
||||
RESTRICT="strip
|
||||
!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
acct-group/geneweb
|
||||
acct-user/geneweb
|
||||
dev-ml/calendars:=
|
||||
>=dev-ml/camlp5-8.03.00:=[ocamlopt?]
|
||||
dev-ml/camlp-streams:=
|
||||
dev-ml/jingoo:=
|
||||
dev-ml/markup:=
|
||||
dev-ml/num:=
|
||||
dev-ml/ppx_deriving:=
|
||||
dev-ml/ppx_import:=
|
||||
dev-ml/re:=
|
||||
dev-ml/stdlib-shims
|
||||
dev-ml/unidecode:=
|
||||
dev-ml/uucp:=
|
||||
dev-ml/uunf:=
|
||||
dev-ml/uutf:=
|
||||
dev-ml/zarith:=
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="
|
||||
dev-ml/cppo
|
||||
>=dev-ml/dune-2.9
|
||||
dev-ml/findlib
|
||||
test? ( dev-ml/ounit2 )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-gentoo.patch
|
||||
"${FILESDIR}"/${P}-nogwrepl.patch
|
||||
"${FILESDIR}"/${P}-camlp5.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i \
|
||||
-e "/opam_swich_prefix_lib/s|\"lib|\"$(get_libdir)|" \
|
||||
bin/gwrepl/mk_data.ml \
|
||||
|| die
|
||||
sed -i \
|
||||
-e "s:Printexc.catch ::" \
|
||||
bin/gwb2ged/gwb2ged.ml \
|
||||
bin/gwu/gwu.ml \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
ocaml ./configure.ml --sosa-zarith || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 distrib
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dune_src_install
|
||||
rm "${D}"/usr/share/doc/${PF}/geneweb/LICENSE || die
|
||||
mv "${D}"/usr/share/doc/${PF}/geneweb/* "${D}"/usr/share/doc/${PF}/ || die
|
||||
|
||||
dodoc ICHANGES etc/README.txt etc/a.gwf
|
||||
|
||||
# Install manpages
|
||||
doman man/*
|
||||
|
||||
cd distribution/gw
|
||||
insinto /usr/share/${PN}
|
||||
doins -r etc images lang setup gwd.arg
|
||||
|
||||
newinitd "${FILESDIR}/geneweb.initd-r1" geneweb
|
||||
newconfd "${FILESDIR}/geneweb.confd" geneweb
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "If you come from an old version you need to rebuild the database"
|
||||
einfo "\"geneweb.gwu foo -o foo.gw \" will save the database (use the previous"
|
||||
einfo "version to do that). \"geneweb.gwc foo.gw -o bar \" will restore it "
|
||||
einfo "(using the current package)"
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user