1 |
commit: d617c7ac0a6c51cb1f52d56e9d411e98d524790e |
2 |
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Mar 6 18:03:09 2017 +0000 |
4 |
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 6 18:03:09 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d617c7ac |
7 |
|
8 |
app-misc/geneweb: remove 6.08 (for ocaml-3 version) |
9 |
|
10 |
Package-Manager: portage-2.3.3 |
11 |
|
12 |
app-misc/geneweb/files/geneweb-6.08-gentoo.patch | 30 ---------- |
13 |
app-misc/geneweb/geneweb-6.08.ebuild | 74 ------------------------ |
14 |
2 files changed, 104 deletions(-) |
15 |
|
16 |
diff --git a/app-misc/geneweb/files/geneweb-6.08-gentoo.patch b/app-misc/geneweb/files/geneweb-6.08-gentoo.patch |
17 |
deleted file mode 100644 |
18 |
index 6e33da85a8e..00000000000 |
19 |
--- a/app-misc/geneweb/files/geneweb-6.08-gentoo.patch |
20 |
+++ /dev/null |
21 |
@@ -1,30 +0,0 @@ |
22 |
---- geneweb-6.08/setup/setup.ml.old 2007-08-07 19:25:13.000000000 +0200 |
23 |
-+++ geneweb-6.08/setup/setup.ml 2007-08-07 19:24:59.000000000 +0200 |
24 |
-@@ -5,8 +5,8 @@ |
25 |
- |
26 |
- value port = ref 2316; |
27 |
- value default_lang = ref "en"; |
28 |
--value setup_dir = ref "."; |
29 |
--value bin_dir = ref ""; |
30 |
-+value setup_dir = ref "/usr/share/geneweb"; |
31 |
-+value bin_dir = ref "/usr/bin"; |
32 |
- value lang_param = ref ""; |
33 |
- value only_file = ref ""; |
34 |
- |
35 |
---- geneweb-6.08/tools/Makefile.inc.unix.old 2008-04-23 15:22:50.000000000 +0200 |
36 |
-+++ geneweb-6.08/tools/Makefile.inc.unix 2008-04-23 15:23:04.000000000 +0200 |
37 |
-@@ -5,11 +5,11 @@ |
38 |
- CAMLP5F=-DUNIX |
39 |
- CAMLP5D=+camlp5 |
40 |
- LIBUNIX=-cclib -lunix |
41 |
--OCAMLC=ocamlc.opt -warn-error A |
42 |
--OCAMLOPT=ocamlopt.opt -warn-error A |
43 |
-+OCAMLC=ocamlc.opt |
44 |
-+OCAMLOPT=ocamlopt.opt |
45 |
- OCAMLI= |
46 |
- OCAMLD= |
47 |
--STRIP=strip |
48 |
-+STRIP=true |
49 |
- RM=/bin/rm -f |
50 |
- EXE= |
51 |
- STATIC=-ccopt -static |
52 |
|
53 |
diff --git a/app-misc/geneweb/geneweb-6.08.ebuild b/app-misc/geneweb/geneweb-6.08.ebuild |
54 |
deleted file mode 100644 |
55 |
index 800269025fa..00000000000 |
56 |
--- a/app-misc/geneweb/geneweb-6.08.ebuild |
57 |
+++ /dev/null |
58 |
@@ -1,74 +0,0 @@ |
59 |
-# Copyright 1999-2017 Gentoo Foundation |
60 |
-# Distributed under the terms of the GNU General Public License v2 |
61 |
- |
62 |
-EAPI=6 |
63 |
-inherit eutils user |
64 |
- |
65 |
-DESCRIPTION="Genealogy software program with a Web interface" |
66 |
-HOMEPAGE="http://opensource.geneanet.org/projects/geneweb" |
67 |
-SRC_URI="https://github.com/geneweb/geneweb/archive/v6.08.tar.gz -> ${P}.tar.gz" |
68 |
- |
69 |
-LICENSE="GPL-2" |
70 |
-SLOT="0" |
71 |
-KEYWORDS="~amd64 ~x86" |
72 |
-IUSE="+ocamlopt" |
73 |
- |
74 |
-RDEPEND="dev-lang/ocaml[ocamlopt?] |
75 |
- dev-ml/camlp5[ocamlopt?]" |
76 |
-DEPEND="${RDEPEND} |
77 |
- !net-p2p/ghostwhitecrab" |
78 |
- |
79 |
-PATCHES=( |
80 |
- "${FILESDIR}"/${P}-gentoo.patch |
81 |
- "${FILESDIR}"/${P}-parallellbuild.patch ) |
82 |
- |
83 |
-src_compile() { |
84 |
- if use ocamlopt; then |
85 |
- emake |
86 |
- else |
87 |
- emake OCAMLC=ocamlc OCAMLOPT=ocamlopt out |
88 |
- # If using bytecode we dont want to strip the binary as it would remove |
89 |
- # the bytecode and only leave ocamlrun... |
90 |
- export STRIP_MASK="*/bin/*" |
91 |
- fi |
92 |
-} |
93 |
- |
94 |
-src_install() { |
95 |
- dodoc ICHANGES |
96 |
- emake distrib |
97 |
- # Install doc |
98 |
- cd distribution |
99 |
- dodoc CHANGES.txt |
100 |
- # Install binaries |
101 |
- cd gw |
102 |
- dobin gwc gwc1 gwc2 consang gwd gwu update_nldb ged2gwb ged2gwb2 gwb2ged gwsetup |
103 |
- insinto /usr/lib/${PN} |
104 |
- doins -r gwtp_tmp/* |
105 |
- dodoc a.gwf |
106 |
- insinto /usr/share/${PN} |
107 |
- doins -r etc images lang setup gwd.arg only.txt |
108 |
- |
109 |
- cd ../.. |
110 |
- |
111 |
- # Install binaries |
112 |
- dobin src/check_base |
113 |
- # Install manpages |
114 |
- doman man/* |
115 |
- |
116 |
- # Install doc |
117 |
- insinto /usr/share/doc/${PF}/contrib |
118 |
- doins -r contrib/{gwdiff,misc} |
119 |
- |
120 |
- newinitd "${FILESDIR}/geneweb.initd" geneweb |
121 |
- newconfd "${FILESDIR}/geneweb.confd" geneweb |
122 |
-} |
123 |
- |
124 |
-pkg_postinst() { |
125 |
- enewuser geneweb "" "/bin/bash" /var/lib/geneweb |
126 |
- einfo "A CGI program has been installed in /usr/lib/${PN}. Follow the" |
127 |
- einfo "instructions on the README in that directory to use it" |
128 |
- einfo "For 64 bits architecture you need to rebuild the database" |
129 |
- einfo "\"gwu foo > foo.gw \" will save the database (use the previous" |
130 |
- einfo "version to do that). \"gwc2 foo.gw -o bar \" will restore it " |
131 |
- einfo "(using the current package)" |
132 |
-} |