Gentoo Archives: gentoo-commits

From: "José María Alonso" <nimiux@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lisp/ecls/files/, dev-lisp/ecls/
Date: Mon, 28 May 2018 09:05:33
Message-Id: 1527498321.6e2570dc3f7f09535cf7a2247c042dd71970e5fc.nimiux@gentoo
1 commit: 6e2570dc3f7f09535cf7a2247c042dd71970e5fc
2 Author: Chema Alonso Josa <nimiux <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 28 09:05:21 2018 +0000
4 Commit: José María Alonso <nimiux <AT> gentoo <DOT> org>
5 CommitDate: Mon May 28 09:05:21 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e2570dc
7
8 dev-lisp/ecls: Drop old version 13.5.1
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 dev-lisp/ecls/Manifest | 1 -
13 dev-lisp/ecls/ecls-13.5.1-r1.ebuild | 89 -------------------------
14 dev-lisp/ecls/files/13.5.1-gc74.patch | 57 ----------------
15 dev-lisp/ecls/files/13.5.1-headers-gentoo.patch | 13 ----
16 4 files changed, 160 deletions(-)
17
18 diff --git a/dev-lisp/ecls/Manifest b/dev-lisp/ecls/Manifest
19 index d1e11077a9c..c5eba6edf5a 100644
20 --- a/dev-lisp/ecls/Manifest
21 +++ b/dev-lisp/ecls/Manifest
22 @@ -1,2 +1 @@
23 -DIST ecl-13.5.1.tgz 9401163 BLAKE2B 441f2ed429f9f508d12fec333aeed7178aedab0e2011c57fbf0c6695747de95e5db6818c5cfc6acd1097804a4cd7bf1dd0ec3e79c04a5b4399d61cefb5179ba7 SHA512 a09f8b824aa78e461d700eefb1a8b68b876e15d49124a397e0b5b58ad73b80f818133a7b8e48ddb83505eea2f9c5fb024de8701b527524004e336e456eb07c84
24 DIST ecl-16.1.3.tgz 7459212 BLAKE2B 4f9d6ad2bd92ede4b5b20857b95a48bad5002049e83611865d9cf13e7131adfaad147a31f22f9a3f6a2c06e46db1996aa98135c28b97bf5ef16e17b5eba0dc4b SHA512 5d743f422f6bc24671abf4c739cde8273d08f056906a1ef8aed5145c703b6d52c7fa4b5e0be8c125f32240c20ce053007786bb3ae81cc34d47791f6fae0819c1
25
26 diff --git a/dev-lisp/ecls/ecls-13.5.1-r1.ebuild b/dev-lisp/ecls/ecls-13.5.1-r1.ebuild
27 deleted file mode 100644
28 index 19c50b0e32b..00000000000
29 --- a/dev-lisp/ecls/ecls-13.5.1-r1.ebuild
30 +++ /dev/null
31 @@ -1,89 +0,0 @@
32 -# Copyright 1999-2015 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=5
36 -inherit eutils multilib
37 -
38 -# test phase only works if ecls already installed #516876
39 -RESTRICT="test"
40 -
41 -MY_P=ecl-${PV}
42 -
43 -DESCRIPTION="ECL is an embeddable Common Lisp implementation"
44 -HOMEPAGE="http://ecls.sourceforge.net/"
45 -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz"
46 -
47 -LICENSE="BSD LGPL-2"
48 -SLOT="0/${PV}"
49 -KEYWORDS="amd64 ~ppc ~sparc x86"
50 -IUSE="debug emacs gengc precisegc cpu_flags_x86_sse +threads +unicode X"
51 -
52 -CDEPEND="dev-libs/gmp
53 - virtual/libffi
54 - >=dev-libs/boehm-gc-7.1[threads?]
55 - >=dev-lisp/asdf-2.33-r3:="
56 -DEPEND="${CDEPEND}
57 - app-text/texi2html
58 - emacs? ( virtual/emacs >=app-eselect/eselect-emacs-1.12 )"
59 -RDEPEND="${CDEPEND}"
60 -
61 -S="${WORKDIR}"/${MY_P}
62 -
63 -pkg_setup () {
64 - if use gengc || use precisegc ; then
65 - ewarn "You have enabled the generational garbage collector or"
66 - ewarn "the precise collection routines. These features are not very stable"
67 - ewarn "at the moment and may cause crashes."
68 - ewarn "Don't enable them unless you know what you're doing."
69 - fi
70 -}
71 -
72 -src_prepare() {
73 - epatch "${FILESDIR}"/${PV}-headers-gentoo.patch
74 - # bug #496780
75 - epatch "${FILESDIR}"/${PV}-gc74.patch
76 - cp "${EPREFIX}"/usr/share/common-lisp/source/asdf/build/asdf.lisp contrib/asdf/ || die
77 -}
78 -
79 -src_configure() {
80 - econf \
81 - --with-system-gmp \
82 - --enable-boehm=system \
83 - --enable-longdouble \
84 - --with-dffi \
85 - $(use_enable gengc) \
86 - $(use_enable precisegc) \
87 - $(use_with debug debug-cflags) \
88 - $(use_with cpu_flags_x86_sse sse) \
89 - $(use_enable threads) \
90 - $(use_with threads __thread) \
91 - $(use_enable unicode) \
92 - $(use_with X x) \
93 - $(use_with X clx)
94 -}
95 -
96 -src_compile() {
97 - if use emacs; then
98 - local ETAGS=$(eselect --brief etags list | sed -ne '/emacs/{p;q}')
99 - [[ -n ${ETAGS} ]] || die "No etags implementation found"
100 - pushd build > /dev/null || die
101 - emake ETAGS=${ETAGS} TAGS
102 - popd > /dev/null
103 - else
104 - touch build/TAGS
105 - fi
106 -
107 - #parallel make fails
108 - emake -j1 || die "Compilation failed"
109 -}
110 -
111 -src_install () {
112 - emake DESTDIR="${D}" install || die "Installation failed"
113 -
114 - dodoc ANNOUNCEMENT Copyright
115 - dodoc "${FILESDIR}"/README.Gentoo
116 - pushd build/doc
117 - newman ecl.man ecl.1
118 - newman ecl-config.man ecl-config.1
119 - popd
120 -}
121
122 diff --git a/dev-lisp/ecls/files/13.5.1-gc74.patch b/dev-lisp/ecls/files/13.5.1-gc74.patch
123 deleted file mode 100644
124 index a1069b214b4..00000000000
125 --- a/dev-lisp/ecls/files/13.5.1-gc74.patch
126 +++ /dev/null
127 @@ -1,57 +0,0 @@
128 -diff -r -U1 ecl-13.5.1.orig/src/aclocal.m4 ecl-13.5.1/src/aclocal.m4
129 ---- ecl-13.5.1.orig/src/aclocal.m4 2013-05-28 03:37:36.000000000 +0700
130 -+++ ecl-13.5.1/src/aclocal.m4 2014-01-12 00:34:36.663129950 +0700
131 -@@ -942,2 +942,6 @@
132 - fi
133 -+ if test "${system_boehm}" = "yes"; then
134 -+ AC_CHECK_LIB( [gc], [GC_set_start_callback],
135 -+ [AC_DEFINE(HAVE_GC_SET_START_CALLBACK)], [] )
136 -+ fi
137 - AC_MSG_CHECKING( [whether we can use the existing Boehm-Weiser library] )
138 -diff -r -U1 ecl-13.5.1.orig/src/c/alloc_2.d ecl-13.5.1/src/c/alloc_2.d
139 ---- ecl-13.5.1.orig/src/c/alloc_2.d 2013-05-28 03:37:36.000000000 +0700
140 -+++ ecl-13.5.1/src/c/alloc_2.d 2014-01-12 00:43:44.177106924 +0700
141 -@@ -33,2 +33,9 @@
142 -
143 -+static void (*GC_old_start_callback)(void) = NULL;
144 -+#ifdef HAVE_GC_START_CALLBACK
145 -+extern void GC_set_start_callback(void *);
146 -+extern void *GC_get_start_callback(void *);
147 -+#else
148 -+extern void *GC_start_call_back(void);
149 -+#endif
150 - static void gather_statistics();
151 -@@ -752,3 +759,2 @@
152 - extern void (*GC_push_other_roots)();
153 --extern void (*GC_start_call_back)();
154 - static void (*old_GC_push_other_roots)();
155 -@@ -1092,3 +1098,9 @@
156 - GC_push_other_roots = stacks_scanner;
157 -+#ifdef HAVE_GC_SET_START_CALLBACK
158 -+ GC_old_start_callback = GC_get_start_callback();
159 -+ GC_set_start_callback(gather_statistics);
160 -+#else
161 -+ GC_old_start_callback = GC_start_call_back;
162 - GC_start_call_back = (void (*)())gather_statistics;
163 -+#endif
164 - GC_java_finalization = 1;
165 -@@ -1200,3 +1212,3 @@
166 - */
167 --#if 1 /*GBC_BOEHM == 0*/
168 -+#if GBC_BOEHM == 0
169 - extern int GC_print_stats;
170 -@@ -1279,2 +1291,4 @@
171 - }
172 -+ if (GC_old_start_callback)
173 -+ GC_old_start_callback();
174 - }
175 -Только в ecl-13.5.1/src/c: alloc_2.d.orig
176 -diff -r -U1 ecl-13.5.1.orig/src/h/config.h.in ecl-13.5.1/src/h/config.h.in
177 ---- ecl-13.5.1.orig/src/h/config.h.in 2013-05-28 03:37:36.000000000 +0700
178 -+++ ecl-13.5.1/src/h/config.h.in 2014-01-12 00:34:36.663129950 +0700
179 -@@ -310,2 +310,5 @@
180 -
181 -+/* GC_set_start_callback */
182 -+#define HAVE_GC_SET_START_CALLBACK
183 -+
184 - /*
185
186 diff --git a/dev-lisp/ecls/files/13.5.1-headers-gentoo.patch b/dev-lisp/ecls/files/13.5.1-headers-gentoo.patch
187 deleted file mode 100644
188 index 958b948bac4..00000000000
189 --- a/dev-lisp/ecls/files/13.5.1-headers-gentoo.patch
190 +++ /dev/null
191 @@ -1,13 +0,0 @@
192 -diff -r -U1 ecl-13.5.1.orig/src/h/object.h ecl-13.5.1/src/h/object.h
193 ---- ecl-13.5.1.orig/src/h/object.h 2013-05-28 03:37:36.000000000 +0700
194 -+++ ecl-13.5.1/src/h/object.h 2013-05-29 19:23:34.000000000 +0700
195 -@@ -25,4 +25,9 @@
196 -
197 -+#ifndef TRUE
198 - #define TRUE 1 /* boolean true value */
199 -+#endif
200 -+
201 -+#ifndef FALSE
202 - #define FALSE 0 /* boolean false value */
203 -+#endif
204 -