1 |
commit: f5a5d0813ad3e632e5e1c24e2f26a361e9285e74 |
2 |
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 30 11:15:25 2021 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 30 11:50:46 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5a5d081 |
7 |
|
8 |
sci-mathematics/singular: remove outdated versions and patches. |
9 |
|
10 |
Closes: https://bugs.gentoo.org/712004 |
11 |
Package-Manager: Portage-3.0.18, Repoman-3.0.2 |
12 |
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> |
13 |
|
14 |
sci-mathematics/singular/Manifest | 4 - |
15 |
.../singular-4.0.0-fix-omalloc-ar-detection.patch | 12 - |
16 |
.../files/singular-4.0.2-ntl8-compat.patch | 38 --- |
17 |
.../files/singular-4.0.3-fix-destdir.patch | 26 -- |
18 |
.../files/singular-4.0.3-fix-resources-name.patch | 307 --------------------- |
19 |
sci-mathematics/singular/metadata.xml | 3 - |
20 |
sci-mathematics/singular/singular-4.0.2.ebuild | 137 --------- |
21 |
sci-mathematics/singular/singular-4.0.3.ebuild | 98 ------- |
22 |
8 files changed, 625 deletions(-) |
23 |
|
24 |
diff --git a/sci-mathematics/singular/Manifest b/sci-mathematics/singular/Manifest |
25 |
index a0d12ebf497..6b537a9d225 100644 |
26 |
--- a/sci-mathematics/singular/Manifest |
27 |
+++ b/sci-mathematics/singular/Manifest |
28 |
@@ -1,5 +1 @@ |
29 |
-DIST singular-4.0.2-share.tar.gz 8789162 BLAKE2B 357a68f68cc0508e4e197427c56232da60412a8380045ac594cbe313bf6a403068d1724f637d47de44e66baf34c74fa5c4ee622721c5bbd67764e65e66c8583a SHA512 068827df04a5d1b4407dbaab1296d0120071dc109b749037b02263d51906852a5c2c1ef321733953a181c2d3d0fe799c197ef0af3b9341810ecf31a5324e0a25 |
30 |
-DIST singular-4.0.2.tar.gz 8635172 BLAKE2B 5f565bf14677d8414300d7a5602aa96c8cef7e863fd858083fe4561742b545d74a5fc4de95ef0c63acf4f78c66405bac7ba77a954e42b2e87a6da608e4732bcd SHA512 4543a45839ce8adc45e3b2edd84a6e398b7ba157da1eda050dbce2a8b20333eb0c63433e3e7eaf59d76bf6bcb65c1b1611bfc08c25fd493c88e2f06624898e3d |
31 |
-DIST singular-4.0.3-share.tar.gz 6633256 BLAKE2B c137b72aaa0926eb006624e03fe938678acb94a41da525de1ca4f7711985d253926788b550d2d98b8def15fb0cb60b2527c1c04566a29a28135fcb1a70246025 SHA512 5f8ae4ecd22a3470e5f00393e03079936d7ed334f44ae056ed1eb1719054afc4371b03e920b598033605600c843dc39cb6b01308505323e2c084dfe1f7a1b94a |
32 |
-DIST singular-4.0.3.tar.gz 12615042 BLAKE2B b3c63434974bb8b5fdef86cbcbe73b76a47503b28dcae6bfc6e4210e1ab1c14224ac0f6eeefa9d8004450f6d9a26843368a9b2ea16bca68bf1215ce33e83df0d SHA512 781227997c510829b02c969259d627572c0b62aa152c9ef623ff27de5b2df0c8e024f086740b89ca8f96b6e3f7def04f8d62ca79adb199d6249ade9b8cbb06ab |
33 |
DIST singular-4.2.0p1.tar.gz 14155171 BLAKE2B 444553f87d7ca8d6a62e4519c9857a6892757e92285df7c3b686913a9b51c9ae8d802c41382b0b2b6e37dc2dc496d4a10f262c98407470219cdce131e8baf127 SHA512 2ecd8940c9e8d70a93dbdb4df6da313c00151e5cb959f8eed5856e8df99089b5a03e514fbcdc70903c77df8b59fa7ef9f3b134f1de510b795fa6ea0341089bd8 |
34 |
|
35 |
diff --git a/sci-mathematics/singular/files/singular-4.0.0-fix-omalloc-ar-detection.patch b/sci-mathematics/singular/files/singular-4.0.0-fix-omalloc-ar-detection.patch |
36 |
deleted file mode 100644 |
37 |
index 87b44234af5..00000000000 |
38 |
--- a/sci-mathematics/singular/files/singular-4.0.0-fix-omalloc-ar-detection.patch |
39 |
+++ /dev/null |
40 |
@@ -1,12 +0,0 @@ |
41 |
-diff -U 3 -dHrN singular-4.0.0.orig/omalloc/configure.ac singular-4.0.0/omalloc/configure.ac |
42 |
---- singular-4.0.0.orig/omalloc/configure.ac 2014-03-06 18:07:49.000000000 +0100 |
43 |
-+++ singular-4.0.0/omalloc/configure.ac 2014-05-09 15:41:19.755097185 +0200 |
44 |
-@@ -117,7 +117,7 @@ |
45 |
- dnl check for programs |
46 |
- dnl |
47 |
- AC_CHECK_PROG(AR, ar, ar, :) |
48 |
--if test "$ac_cv_prog_AR" != ar; then |
49 |
-+if test "$ac_cv_prog_AR" = no; then |
50 |
- AC_MSG_ERROR(*** ar program not found) |
51 |
- fi |
52 |
- AC_CHECK_PROGS(PERL, perl, "no") |
53 |
|
54 |
diff --git a/sci-mathematics/singular/files/singular-4.0.2-ntl8-compat.patch b/sci-mathematics/singular/files/singular-4.0.2-ntl8-compat.patch |
55 |
deleted file mode 100644 |
56 |
index d3e6b77a28e..00000000000 |
57 |
--- a/sci-mathematics/singular/files/singular-4.0.2-ntl8-compat.patch |
58 |
+++ /dev/null |
59 |
@@ -1,38 +0,0 @@ |
60 |
-diff --git a/factory/NTLconvert.cc b/factory/NTLconvert.cc |
61 |
-index 41ce9b2..e32093d 100644 |
62 |
---- a/factory/NTLconvert.cc |
63 |
-+++ b/factory/NTLconvert.cc |
64 |
-@@ -30,6 +30,7 @@ |
65 |
- #include <NTL/GF2EXFactoring.h> |
66 |
- #include <NTL/tools.h> |
67 |
- #include <NTL/mat_ZZ.h> |
68 |
-+#include <NTL/version.h> |
69 |
- #include "int_int.h" |
70 |
- #include <limits.h> |
71 |
- #include "NTLconvert.h" |
72 |
-@@ -500,8 +501,14 @@ convertZZ2CF (const ZZ & a) |
73 |
- return CanonicalForm(coeff_long); |
74 |
- } |
75 |
- else |
76 |
-- { |
77 |
-- long sizeofrep= ((long *) a.rep) [1]; |
78 |
-+ { |
79 |
-+ const long * rep = |
80 |
-+#if NTL_MAJOR_VERSION <= 6 |
81 |
-+ static_cast<long *>( a.rep ); |
82 |
-+#else |
83 |
-+ static_cast<long *>( a.rep.rep ); // what about NTL7? |
84 |
-+#endif |
85 |
-+ long sizeofrep= rep[1]; |
86 |
- bool lessZero= false; |
87 |
- if (sizeofrep < 0) |
88 |
- { |
89 |
-@@ -519,7 +526,7 @@ convertZZ2CF (const ZZ & a) |
90 |
- cf_stringtemp_l= sizeofrep*sizeof(mp_limb_t)*2; |
91 |
- cf_stringtemp= (unsigned char*) Alloc (cf_stringtemp_l); |
92 |
- } |
93 |
-- int cc= mpn_get_str (cf_stringtemp, 16, (mp_limb_t *) (((long *) (a.rep)) + 2), sizeofrep); |
94 |
-+ int cc= mpn_get_str (cf_stringtemp, 16, (mp_limb_t *) ((rep) + 2), sizeofrep); |
95 |
- |
96 |
- char* cf_stringtemp2; |
97 |
- if (lessZero) |
98 |
|
99 |
diff --git a/sci-mathematics/singular/files/singular-4.0.3-fix-destdir.patch b/sci-mathematics/singular/files/singular-4.0.3-fix-destdir.patch |
100 |
deleted file mode 100644 |
101 |
index caeed33f1fc..00000000000 |
102 |
--- a/sci-mathematics/singular/files/singular-4.0.3-fix-destdir.patch |
103 |
+++ /dev/null |
104 |
@@ -1,26 +0,0 @@ |
105 |
-From 7eac42b467723a83a951218be53785411be3dbc4 Mon Sep 17 00:00:00 2001 |
106 |
-From: jgmbenoit <quatermaster@×××××××.net> |
107 |
-Date: Thu, 28 Apr 2016 05:47:53 +0000 |
108 |
-Subject: [PATCH] automake: install-data-local: missing DESTDIR prefix |
109 |
- |
110 |
---- |
111 |
- Makefile.am | 6 +++--- |
112 |
- 1 file changed, 3 insertions(+), 3 deletions(-) |
113 |
- |
114 |
-diff --git a/Makefile.am b/Makefile.am |
115 |
-index 32778f7..24dd251 100644 |
116 |
---- a/Makefile.am |
117 |
-+++ b/Makefile.am |
118 |
-@@ -17,9 +17,9 @@ dist-hook: |
119 |
- $(srcdir)/git-version-gen $(srcdir)/.tarball-git-version > $(distdir)/.tarball-git-version |
120 |
- |
121 |
- install-data-local: |
122 |
-- -cat ${top_srcdir}/doc/doc.tbz2| (cd $(datadir)/singular;tar jxf -) |
123 |
-- -mkdir $(datadir)/info |
124 |
-- -mv $(datadir)/singular/singular.hlp $(datadir)/info/. |
125 |
-+ -cat ${top_srcdir}/doc/doc.tbz2| (cd $(DESTDIR)$(datadir)/singular; tar jxf -) |
126 |
-+ -mkdir $(DESTDIR)$(datadir)/info |
127 |
-+ -mv $(DESTDIR)$(datadir)/singular/singular.hlp $(DESTDIR)$(datadir)/info/. |
128 |
- |
129 |
- configheaderdir = ${includedir}/singular |
130 |
- nodist_configheader_HEADERS = singularconfig.h |
131 |
|
132 |
diff --git a/sci-mathematics/singular/files/singular-4.0.3-fix-resources-name.patch b/sci-mathematics/singular/files/singular-4.0.3-fix-resources-name.patch |
133 |
deleted file mode 100644 |
134 |
index bcda4ced647..00000000000 |
135 |
--- a/sci-mathematics/singular/files/singular-4.0.3-fix-resources-name.patch |
136 |
+++ /dev/null |
137 |
@@ -1,307 +0,0 @@ |
138 |
-From a3a6a07858b7e91c4c8a3c8d07e53957a8547af2 Mon Sep 17 00:00:00 2001 |
139 |
-From: Hans Schoenemann <hannes@×××××××××××××××××.de> |
140 |
-Date: Thu, 1 Sep 2016 10:48:08 +0200 |
141 |
-Subject: [PATCH] change library name: libresources -> libsingular_resources |
142 |
- |
143 |
---- |
144 |
- Singular/Makefile.am | 4 ++-- |
145 |
- autogen.sh | 1 + |
146 |
- factory/configure.ac | 8 ++++---- |
147 |
- gfanlib/configure.ac | 2 +- |
148 |
- libpolys/configure.ac | 8 ++++---- |
149 |
- m4/options.m4 | 10 +++++----- |
150 |
- resources/Makefile.am | 18 +++++++++--------- |
151 |
- resources/configure.ac | 6 +++--- |
152 |
- resources/feFopen.cc | 2 +- |
153 |
- resources/feResource.cc | 2 +- |
154 |
- resources/omFindExec.c | 2 +- |
155 |
- resources/resources.pc.in | 17 ----------------- |
156 |
- resources/singular_resources.pc.in | 17 +++++++++++++++++ |
157 |
- 13 files changed, 49 insertions(+), 48 deletions(-) |
158 |
- delete mode 100644 resources/resources.pc.in |
159 |
- create mode 100644 resources/singular_resources.pc.in |
160 |
- |
161 |
-diff --git a/Singular/Makefile.am b/Singular/Makefile.am |
162 |
-index e2bcc23..be84a08 100644 |
163 |
---- a/Singular/Makefile.am |
164 |
-+++ b/Singular/Makefile.am |
165 |
-@@ -176,7 +176,7 @@ ESingular_CPPFLAGS = ${AM_CPPFLAGS} -DESINGULAR -DPROTO |
166 |
- # ESingular_LDFLAGS = -static ${AM_LDFLAGS} |
167 |
- ESingular_LDADD = ${top_builddir}/libpolys/reporter/libreporter.la \ |
168 |
- ${top_builddir}/libpolys/misc/libmisc.la ${top_builddir}/omalloc/libomalloc.la \ |
169 |
--${top_builddir}/resources/libresources.la |
170 |
-+${top_builddir}/resources/libsingular_resources.la |
171 |
- |
172 |
- |
173 |
- ESingular_SOURCES = emacs.cc fegetopt.c fegetopt.h feOptES.inc feOpt.cc |
174 |
-@@ -186,7 +186,7 @@ TSingular_CPPFLAGS = ${AM_CPPFLAGS} -DTSINGULAR -DPROTO |
175 |
- # TSingular_LDFLAGS = -static ${AM_LDFLAGS} |
176 |
- TSingular_LDADD = ${top_builddir}/libpolys/reporter/libreporter.la \ |
177 |
- ${top_builddir}/libpolys/misc/libmisc.la ${top_builddir}/omalloc/libomalloc.la \ |
178 |
--${top_builddir}/resources/libresources.la |
179 |
-+${top_builddir}/resources/libsingular_resources.la |
180 |
- |
181 |
- TSingular_SOURCES = emacs.cc fegetopt.c fegetopt.h feOptTS.inc feOpt.cc |
182 |
- # utils.cc utils.h |
183 |
-diff --git a/autogen.sh b/autogen.sh |
184 |
-index d027997..0d09c08 100755 |
185 |
---- a/autogen.sh |
186 |
-+++ b/autogen.sh |
187 |
-@@ -4,6 +4,7 @@ cd `dirname "$0"` |
188 |
- |
189 |
- # -d --warnings=all |
190 |
- autoreconf -v -f -i |
191 |
-+find . -name configure -exec sed -i "s/-g -O2/-g/g" {} \; -print |
192 |
- |
193 |
- cd - |
194 |
- |
195 |
-diff --git a/factory/configure.ac b/factory/configure.ac |
196 |
-index 7ea255b..a9caf73 100644 |
197 |
---- a/factory/configure.ac |
198 |
-+++ b/factory/configure.ac |
199 |
-@@ -120,10 +120,10 @@ AM_CONDITIONAL( |
200 |
- [WITH_PARSER_FOR_CANONICAL_FORM], |
201 |
- [test "x$enable_streamio" = xyes]) |
202 |
- |
203 |
--AC_ARG_VAR( [RESOURCES_INCLUDES], [INCLUDES for libresources] ) |
204 |
--AC_ARG_VAR( [RESOURCES_LIBS], [LIBS for libresources] ) |
205 |
-+AC_ARG_VAR( [RESOURCES_INCLUDES], [INCLUDES for libsingular_resources] ) |
206 |
-+AC_ARG_VAR( [RESOURCES_LIBS], [LIBS for libsingular_resources] ) |
207 |
- |
208 |
--AC_MSG_CHECKING(whether libresources should be used) |
209 |
-+AC_MSG_CHECKING(whether libsingular_resources should be used) |
210 |
- if test "x$with_Singular" = xyes; |
211 |
- then |
212 |
- AC_MSG_RESULT(yes) |
213 |
-@@ -134,7 +134,7 @@ then |
214 |
- AC_MSG_CHECKING([ RESOURCES_LIBS?..]) |
215 |
- AC_MSG_RESULT(${RESOURCES_LIBS:-unset}) |
216 |
- |
217 |
-- PKG_REQUIRE="$PKG_REQUIRE resources" |
218 |
-+ PKG_REQUIRE="$PKG_REQUIRE singular_resources" |
219 |
- AC_SUBST(PKG_REQUIRE) |
220 |
- else |
221 |
- AC_MSG_RESULT(no) |
222 |
-diff --git a/gfanlib/configure.ac b/gfanlib/configure.ac |
223 |
-index 015134c..d3d2cd7 100644 |
224 |
---- a/gfanlib/configure.ac |
225 |
-+++ b/gfanlib/configure.ac |
226 |
-@@ -2,7 +2,7 @@ |
227 |
- # Process this file with autoconf to produce a configure script. |
228 |
- |
229 |
- AC_PREREQ([2.63]) |
230 |
--AC_INIT([libgfan], [0.1], [ren@×××××××××××××××××.de]) |
231 |
-+AC_INIT([libgfan], [0.6], [ren@×××××××××××××××××.de]) |
232 |
- AC_CONFIG_MACRO_DIR([../m4]) |
233 |
- AC_CONFIG_AUX_DIR([../build-aux]) |
234 |
- AC_CONFIG_SRCDIR([gfanlib.h]) |
235 |
-diff --git a/libpolys/configure.ac b/libpolys/configure.ac |
236 |
-index 049e44d..4b2f1ae 100644 |
237 |
---- a/libpolys/configure.ac |
238 |
-+++ b/libpolys/configure.ac |
239 |
-@@ -90,10 +90,10 @@ SING_CHECK_OMALLOC() |
240 |
- |
241 |
- ENABLE_RESOURCES="yes" |
242 |
- |
243 |
--AC_ARG_VAR( [RESOURCES_INCLUDES], [INCLUDES for libresources] ) |
244 |
--AC_ARG_VAR( [RESOURCES_LIBS], [LIBS for libresources] ) |
245 |
-+AC_ARG_VAR( [RESOURCES_INCLUDES], [INCLUDES for libsingular_resources] ) |
246 |
-+AC_ARG_VAR( [RESOURCES_LIBS], [LIBS for libsingular_resources] ) |
247 |
- |
248 |
--AC_MSG_CHECKING(whether libresources should be used) |
249 |
-+AC_MSG_CHECKING(whether libsingular_resources should be used) |
250 |
- |
251 |
- if test "x$ENABLE_RESOURCES" = xyes; |
252 |
- then |
253 |
-@@ -105,7 +105,7 @@ then |
254 |
- AC_MSG_CHECKING([ RESOURCES_LIBS?..]) |
255 |
- AC_MSG_RESULT(${RESOURCES_LIBS:-unset}) |
256 |
- |
257 |
-- PKG_REQUIRE="$PKG_REQUIRE resources" |
258 |
-+ PKG_REQUIRE="$PKG_REQUIRE singular_resources" |
259 |
- AC_SUBST(PKG_REQUIRE) |
260 |
- else |
261 |
- AC_MSG_RESULT(no) |
262 |
-diff --git a/m4/options.m4 b/m4/options.m4 |
263 |
-index 31b86e4..066dc4d 100644 |
264 |
---- a/m4/options.m4 |
265 |
-+++ b/m4/options.m4 |
266 |
-@@ -150,19 +150,19 @@ AC_DEFUN([SING_USE_OMALLOC], |
267 |
- |
268 |
- AC_DEFUN([SING_USE_RESOURCES], |
269 |
- [ |
270 |
-- AC_ARG_ENABLE(resources, |
271 |
-- [AS_HELP_STRING([--disable-resources], [do NOT use libresources within the factory])], |
272 |
-+ AC_ARG_ENABLE(singular_resources, |
273 |
-+ [AS_HELP_STRING([--disable-singular_resources], [do NOT use libsingular_resources within the factory])], |
274 |
- [if test "x$enableval" = "xyes"; then |
275 |
- ENABLE_RESOURCES=yes |
276 |
- fi], |
277 |
- ENABLE_RESOURCES=yes) |
278 |
- |
279 |
-- AC_MSG_CHECKING(whether to use libresources in factory and co.) |
280 |
-+ AC_MSG_CHECKING(whether to use libsingular_resources in factory and co.) |
281 |
- if test "x$ENABLE_RESOURCES" = xyes; then |
282 |
- AC_MSG_RESULT(yes) |
283 |
- RESOURCES_INCLUDES="-I$ac_abs_top_srcdir " |
284 |
- |
285 |
-- RESOURCES_LIBS="$ac_abs_top_builddir/resources/libresources.la" |
286 |
-+ RESOURCES_LIBS="$ac_abs_top_builddir/resources/libsingular_resources.la" |
287 |
- |
288 |
- AC_SUBST(RESOURCES_INCLUDES) |
289 |
- AC_SUBST(RESOURCES_LIBS) |
290 |
-@@ -171,7 +171,7 @@ AC_DEFUN([SING_USE_RESOURCES], |
291 |
- |
292 |
- ac_configure_args="$ac_configure_args $ENABLE_ARG" |
293 |
- |
294 |
-- PKG_REQUIRE="$PKG_REQUIRE resources" |
295 |
-+ PKG_REQUIRE="$PKG_REQUIRE singular_resources" |
296 |
- AC_SUBST(PKG_REQUIRE) |
297 |
- else |
298 |
- AC_MSG_RESULT(no) |
299 |
-diff --git a/resources/Makefile.am b/resources/Makefile.am |
300 |
-index fa69ccc..934175b 100644 |
301 |
---- a/resources/Makefile.am |
302 |
-+++ b/resources/Makefile.am |
303 |
-@@ -1,24 +1,24 @@ |
304 |
- ACLOCAL_AMFLAGS = -I ../m4 |
305 |
- |
306 |
--libresources_LTLIBRARIES = libresources.la |
307 |
-+libsingular_resources_LTLIBRARIES = libsingular_resources.la |
308 |
- |
309 |
--libresourcesdir = $(libdir) |
310 |
-+libsingular_resourcesdir = $(libdir) |
311 |
- |
312 |
- |
313 |
- AM_CPPFLAGS = -I${top_srcdir} -I${top_builddir} |
314 |
- |
315 |
- |
316 |
- SOURCES = omFindExec.c feResource.cc feFopen.cc |
317 |
--libresources_la_SOURCES = $(SOURCES) |
318 |
-+libsingular_resources_la_SOURCES = $(SOURCES) |
319 |
- |
320 |
--libresources_la_LDFLAGS = -release ${PACKAGE_VERSION} |
321 |
-+libsingular_resources_la_LDFLAGS = -release ${PACKAGE_VERSION} |
322 |
- |
323 |
--libresources_includedir =$(includedir)/resources |
324 |
-+libsingular_resources_includedir =$(includedir)/resources |
325 |
- |
326 |
--libresources_include_HEADERS = omFindExec.h feResource.h feFopen.h |
327 |
-+libsingular_resources_include_HEADERS = omFindExec.h feResource.h feFopen.h |
328 |
- |
329 |
--nodist_libresources_include_HEADERS = resourcesconfig.h |
330 |
--DISTCLEANFILES = $(nodist_libresources_include_HEADERS) |
331 |
-+nodist_libsingular_resources_include_HEADERS = singular_resourcesconfig.h |
332 |
-+DISTCLEANFILES = $(nodist_libsingular_resources_include_HEADERS) |
333 |
- |
334 |
- pkgconfigdir = $(libdir)/pkgconfig |
335 |
--pkgconfig_DATA = resources.pc |
336 |
-+pkgconfig_DATA = singular_resources.pc |
337 |
-diff --git a/resources/configure.ac b/resources/configure.ac |
338 |
-index bc5f294..212a1d5 100644 |
339 |
---- a/resources/configure.ac |
340 |
-+++ b/resources/configure.ac |
341 |
-@@ -1,4 +1,4 @@ |
342 |
--AC_INIT([resources], [4.0.3]) |
343 |
-+AC_INIT([singular_resources], [4.0.3]) |
344 |
- |
345 |
- AC_CONFIG_MACRO_DIR([../m4]) |
346 |
- AC_CONFIG_AUX_DIR([../build-aux]) |
347 |
-@@ -14,7 +14,7 @@ dnl Check if build env is sane |
348 |
- AM_SANITY_CHECK |
349 |
- |
350 |
- # Add pre'prefixed config |
351 |
--AX_PREFIX_CONFIG_H([resourcesconfig.h],[],[_config.h]) |
352 |
-+AX_PREFIX_CONFIG_H([singular_resourcesconfig.h],[],[_config.h]) |
353 |
- |
354 |
- SING_RESET_FLAGS() |
355 |
- SING_CHECK_SET_ARGS() |
356 |
-@@ -70,5 +70,5 @@ AX_RECURSIVE_EVAL([[$]datadir], [config_datadir]) |
357 |
- AX_NORMALIZE_PATH([config_datadir],['/']) |
358 |
- AC_DEFINE_UNQUOTED([DATA_DIR],"$config_datadir",[datadir]) |
359 |
- |
360 |
--AC_CONFIG_FILES([resources.pc Makefile]) |
361 |
-+AC_CONFIG_FILES([singular_resources.pc Makefile]) |
362 |
- AC_OUTPUT |
363 |
-diff --git a/resources/feFopen.cc b/resources/feFopen.cc |
364 |
-index 98cfd44..10800a0 100644 |
365 |
---- a/resources/feFopen.cc |
366 |
-+++ b/resources/feFopen.cc |
367 |
-@@ -1,4 +1,4 @@ |
368 |
--#include "resourcesconfig.h" |
369 |
-+#include "singular_resourcesconfig.h" |
370 |
- #include "feResource.h" |
371 |
- #include "feFopen.h" |
372 |
- |
373 |
-diff --git a/resources/feResource.cc b/resources/feResource.cc |
374 |
-index 49a6855..a3accf9 100644 |
375 |
---- a/resources/feResource.cc |
376 |
-+++ b/resources/feResource.cc |
377 |
-@@ -5,7 +5,7 @@ |
378 |
- * ABSTRACT: management of resources |
379 |
- */ |
380 |
- |
381 |
--#include "resourcesconfig.h" |
382 |
-+#include "singular_resourcesconfig.h" |
383 |
- #include "feResource.h" |
384 |
- #include "omFindExec.h" |
385 |
- |
386 |
-diff --git a/resources/omFindExec.c b/resources/omFindExec.c |
387 |
-index e79f2c8..1d5852a 100644 |
388 |
---- a/resources/omFindExec.c |
389 |
-+++ b/resources/omFindExec.c |
390 |
-@@ -6,7 +6,7 @@ |
391 |
- *******************************************************************/ |
392 |
- |
393 |
- |
394 |
--#include "resourcesconfig.h" |
395 |
-+#include "singular_resourcesconfig.h" |
396 |
- |
397 |
- |
398 |
- #if defined(HAVE_UNISTD_H) && defined(STDC_HEADERS) |
399 |
-diff --git a/resources/resources.pc.in b/resources/resources.pc.in |
400 |
-deleted file mode 100644 |
401 |
-index d040056..0000000 |
402 |
---- a/resources/resources.pc.in |
403 |
-+++ /dev/null |
404 |
-@@ -1,17 +0,0 @@ |
405 |
--prefix=@prefix@ |
406 |
--exec_prefix=@exec_prefix@ |
407 |
--libdir=@libdir@ |
408 |
--includedir=@includedir@ |
409 |
-- |
410 |
--Name: @PACKAGE@ |
411 |
--Description: The Singular resources manager |
412 |
--Version: @PACKAGE_VERSION@ |
413 |
--URL: https://github.com/Singular/Sources/tree/spielwiese/@PACKAGE@ |
414 |
-- |
415 |
--# Requires: |
416 |
--# Conflicts: |
417 |
-- |
418 |
--Cflags: -I${includedir} @SINGULAR_CFLAGS@ |
419 |
--Libs: -L${libdir} -l@PACKAGE@ |
420 |
--# Libs.private: |
421 |
-- |
422 |
-diff --git a/resources/singular_resources.pc.in b/resources/singular_resources.pc.in |
423 |
-new file mode 100644 |
424 |
-index 0000000..d040056 |
425 |
---- /dev/null |
426 |
-+++ b/resources/singular_resources.pc.in |
427 |
-@@ -0,0 +1,17 @@ |
428 |
-+prefix=@prefix@ |
429 |
-+exec_prefix=@exec_prefix@ |
430 |
-+libdir=@libdir@ |
431 |
-+includedir=@includedir@ |
432 |
-+ |
433 |
-+Name: @PACKAGE@ |
434 |
-+Description: The Singular resources manager |
435 |
-+Version: @PACKAGE_VERSION@ |
436 |
-+URL: https://github.com/Singular/Sources/tree/spielwiese/@PACKAGE@ |
437 |
-+ |
438 |
-+# Requires: |
439 |
-+# Conflicts: |
440 |
-+ |
441 |
-+Cflags: -I${includedir} @SINGULAR_CFLAGS@ |
442 |
-+Libs: -L${libdir} -l@PACKAGE@ |
443 |
-+# Libs.private: |
444 |
-+ |
445 |
|
446 |
diff --git a/sci-mathematics/singular/metadata.xml b/sci-mathematics/singular/metadata.xml |
447 |
index faab92efd93..d17eda6d58f 100644 |
448 |
--- a/sci-mathematics/singular/metadata.xml |
449 |
+++ b/sci-mathematics/singular/metadata.xml |
450 |
@@ -5,7 +5,4 @@ |
451 |
<email>sci-mathematics@g.o</email> |
452 |
<name>Gentoo Mathematics Project</name> |
453 |
</maintainer> |
454 |
- <use> |
455 |
- <flag name="boost">Compile against external boost headers (<pkg>dev-libs/boost</pkg>)</flag> |
456 |
- </use> |
457 |
</pkgmetadata> |
458 |
|
459 |
diff --git a/sci-mathematics/singular/singular-4.0.2.ebuild b/sci-mathematics/singular/singular-4.0.2.ebuild |
460 |
deleted file mode 100644 |
461 |
index c6650033710..00000000000 |
462 |
--- a/sci-mathematics/singular/singular-4.0.2.ebuild |
463 |
+++ /dev/null |
464 |
@@ -1,137 +0,0 @@ |
465 |
-# Copyright 1999-2021 Gentoo Authors |
466 |
-# Distributed under the terms of the GNU General Public License v2 |
467 |
- |
468 |
-EAPI=5 |
469 |
- |
470 |
-inherit autotools epatch elisp-common flag-o-matic toolchain-funcs versionator |
471 |
- |
472 |
-MY_PN=Singular |
473 |
-MY_PV=$(replace_all_version_separators '.') |
474 |
-# Consistency is different... |
475 |
-MY_DIR2=$(get_version_component_range 1-3 ${PV}) |
476 |
-MY_DIR=$(replace_all_version_separators '-' ${MY_DIR2}) |
477 |
-# This is where the share tarball unpacks to |
478 |
-MY_SHARE_DIR="${WORKDIR}"/share/ |
479 |
- |
480 |
-DESCRIPTION="Computer algebra system for polynomial computations" |
481 |
-HOMEPAGE="https://www.singular.uni-kl.de/" |
482 |
-SRC_URI="https://www.mathematik.uni-kl.de/ftp/pub/Math/${MY_PN}/SOURCES/${MY_DIR}/${PN}-${MY_PV}.tar.gz |
483 |
- https://www.mathematik.uni-kl.de/ftp/pub/Math/${MY_PN}/SOURCES/${MY_DIR}/${PN}-${MY_PV}-share.tar.gz" |
484 |
- |
485 |
-LICENSE="GPL-2" |
486 |
-SLOT="0" |
487 |
-KEYWORDS="amd64 ppc x86 ~x86-linux" |
488 |
-IUSE="boost doc emacs examples python +readline" |
489 |
- |
490 |
-RDEPEND="dev-libs/gmp:0 |
491 |
- >=dev-libs/ntl-5.5.1 |
492 |
- emacs? ( >=app-editors/emacs-23.1:* ) |
493 |
- sci-mathematics/flint |
494 |
- sci-mathematics/4ti2 |
495 |
- sci-libs/cddlib" |
496 |
- |
497 |
-DEPEND="${RDEPEND} |
498 |
- dev-lang/perl |
499 |
- boost? ( dev-libs/boost ) |
500 |
- readline? ( sys-libs/readline )" |
501 |
- |
502 |
-SITEFILE=60${PN}-gentoo.el |
503 |
- |
504 |
-S="${WORKDIR}/${PN}-${MY_DIR2}" |
505 |
- |
506 |
-pkg_setup() { |
507 |
- append-flags "-fPIC" |
508 |
- append-ldflags "-fPIC" |
509 |
- tc-export AR CC CPP CXX |
510 |
-} |
511 |
- |
512 |
-src_prepare() { |
513 |
- # Need to do something about resources later... |
514 |
- # epatch "${FILESDIR}"/${PN}-4.0.0-gentoo.patch |
515 |
- |
516 |
- # omalloc's old configure will fail if ar is not exactly 'ar'. |
517 |
- epatch "${FILESDIR}"/${PN}-4.0.0-fix-omalloc-ar-detection.patch |
518 |
- |
519 |
- epatch "${FILESDIR}"/${PN}-4.0.2-ntl8-compat.patch |
520 |
- |
521 |
- # autoreconf everything since otherwise it assumes autmake-1.13 is installed |
522 |
- eautoreconf |
523 |
-} |
524 |
- |
525 |
-src_configure() { |
526 |
- econf --with-gmp \ |
527 |
- --with-ntl \ |
528 |
- --with-flint \ |
529 |
- --enable-gfanlib \ |
530 |
- --disable-debug \ |
531 |
- --disable-doc \ |
532 |
- --enable-factory \ |
533 |
- --enable-libfac \ |
534 |
- --enable-IntegerProgramming \ |
535 |
- $(use_with python python embed) \ |
536 |
- $(use_with boost Boost) \ |
537 |
- $(use_enable emacs) \ |
538 |
- $(use_with readline) || die "configure failed" |
539 |
-} |
540 |
- |
541 |
-src_compile() { |
542 |
- emake |
543 |
- |
544 |
- if use emacs; then |
545 |
- cd "${MY_SHARE_DIR}"singular/emacs/ |
546 |
- elisp-compile *.el || die "elisp-compile failed" |
547 |
- fi |
548 |
-} |
549 |
- |
550 |
-# src_install() { |
551 |
-# dodoc README |
552 |
-# # execs and libraries |
553 |
-# cd "${S}"/build/bin |
554 |
-# dobin ${MY_PN}* gen_test change_cost solve_IP toric_ideal LLL |
555 |
-# insinto /usr/$(get_libdir)/${PN} |
556 |
-# doins *.so |
557 |
-# |
558 |
-# dosym ${MY_PN}-${MY_DIR} /usr/bin/${MY_PN} |
559 |
-# |
560 |
-# # stuff from the share tar ball |
561 |
-# cd "${WORKDIR}"/${MY_PN}/${MY_SHARE_DIR} |
562 |
-# insinto /usr/share/${PN} |
563 |
-# doins -r LIB |
564 |
-# if use examples; then |
565 |
-# insinto /usr/share/doc/${PF} |
566 |
-# doins -r examples |
567 |
-# fi |
568 |
-# if use doc; then |
569 |
-# dohtml -r html/* |
570 |
-# insinto /usr/share/${PN} |
571 |
-# doins doc/singular.idx |
572 |
-# cp info/${PN}.hlp info/${PN}.info && |
573 |
-# doinfo info/${PN}.info \ |
574 |
-# || die "failed to install info files" |
575 |
-# fi |
576 |
-# if use emacs; then |
577 |
-# elisp-install ${PN} emacs/*.el emacs/*.elc emacs/.emacs* \ |
578 |
-# || die "elisp-install failed" |
579 |
-# elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
580 |
-# fi |
581 |
-# } |
582 |
- |
583 |
-pkg_postinst() { |
584 |
- einfo "The authors ask you to register as a SINGULAR user." |
585 |
- einfo "Please check the license file for details." |
586 |
- |
587 |
- if use emacs; then |
588 |
- echo |
589 |
- ewarn "Please note that the ESingular emacs wrapper has been" |
590 |
- ewarn "removed in favor of full fledged singular support within" |
591 |
- ewarn "Gentoo's emacs infrastructure; i.e. just fire up emacs" |
592 |
- ewarn "and you should be good to go! See bug #193411 for more info." |
593 |
- echo |
594 |
- fi |
595 |
- |
596 |
- use emacs && elisp-site-regen |
597 |
-} |
598 |
- |
599 |
-pkg_postrm() { |
600 |
- use emacs && elisp-site-regen |
601 |
-} |
602 |
|
603 |
diff --git a/sci-mathematics/singular/singular-4.0.3.ebuild b/sci-mathematics/singular/singular-4.0.3.ebuild |
604 |
deleted file mode 100644 |
605 |
index 3a0712e9be7..00000000000 |
606 |
--- a/sci-mathematics/singular/singular-4.0.3.ebuild |
607 |
+++ /dev/null |
608 |
@@ -1,98 +0,0 @@ |
609 |
-# Copyright 1999-2021 Gentoo Authors |
610 |
-# Distributed under the terms of the GNU General Public License v2 |
611 |
- |
612 |
-EAPI=6 |
613 |
- |
614 |
-inherit autotools elisp-common flag-o-matic multilib prefix toolchain-funcs versionator |
615 |
- |
616 |
-MY_PN=Singular |
617 |
-MY_PV=$(replace_all_version_separators '.') |
618 |
-# Consistency is different... |
619 |
-MY_DIR2=$(get_version_component_range 1-3 ${PV}) |
620 |
-MY_DIR=$(replace_all_version_separators '-' ${MY_DIR2}) |
621 |
-# This is where the share tarball unpacks to |
622 |
- |
623 |
-DESCRIPTION="Computer algebra system for polynomial computations" |
624 |
-HOMEPAGE="https://www.singular.uni-kl.de/" |
625 |
-SRC_URI="https://www.mathematik.uni-kl.de/ftp/pub/Math/${MY_PN}/SOURCES/${MY_DIR}/${PN}-${MY_PV}.tar.gz |
626 |
- https://www.mathematik.uni-kl.de/ftp/pub/Math/${MY_PN}/SOURCES/${MY_DIR}/${PN}-${MY_PV}-share.tar.gz" |
627 |
- |
628 |
-LICENSE="GPL-2" |
629 |
-SLOT="0" |
630 |
-KEYWORDS="~amd64 ~ppc ~x86 ~x86-linux" |
631 |
-IUSE="boost doc emacs examples python +readline" |
632 |
- |
633 |
-RDEPEND="dev-libs/gmp:0 |
634 |
- >=dev-libs/ntl-5.5.1 |
635 |
- emacs? ( >=app-editors/emacs-23.1:* ) |
636 |
- sci-mathematics/flint |
637 |
- sci-mathematics/4ti2 |
638 |
- sci-libs/cddlib" |
639 |
- |
640 |
-DEPEND="${RDEPEND} |
641 |
- dev-lang/perl |
642 |
- boost? ( dev-libs/boost ) |
643 |
- readline? ( sys-libs/readline )" |
644 |
- |
645 |
-SITEFILE=60${PN}-gentoo.el |
646 |
- |
647 |
-S="${WORKDIR}/${PN}-${MY_DIR2}" |
648 |
- |
649 |
-pkg_setup() { |
650 |
- append-flags "-fPIC" |
651 |
- append-ldflags "-fPIC" |
652 |
- tc-export AR CC CPP CXX |
653 |
-} |
654 |
- |
655 |
-src_prepare() { |
656 |
- eapply "${FILESDIR}"/"${P}"-fix-resources-name.patch |
657 |
- eapply "${FILESDIR}"/"${P}"-fix-destdir.patch |
658 |
- eapply_user |
659 |
- # autoreconf everything since otherwise it assumes autmake-1.13 is installed |
660 |
- eautoreconf |
661 |
-} |
662 |
- |
663 |
-src_configure() { |
664 |
- econf --with-gmp \ |
665 |
- --with-ntl \ |
666 |
- --with-flint \ |
667 |
- --enable-gfanlib \ |
668 |
- --disable-debug \ |
669 |
- --disable-doc \ |
670 |
- --enable-factory \ |
671 |
- --enable-libfac \ |
672 |
- --enable-IntegerProgramming \ |
673 |
- $(use_with python python embed) \ |
674 |
- $(use_with boost Boost) \ |
675 |
- $(use_enable emacs) \ |
676 |
- $(use_with readline) || die "configure failed" |
677 |
-} |
678 |
- |
679 |
-src_compile() { |
680 |
- emake |
681 |
- |
682 |
- if use emacs; then |
683 |
- cd "${S}"/emacs/ |
684 |
- elisp-compile *.el || die "elisp-compile failed" |
685 |
- fi |
686 |
-} |
687 |
- |
688 |
-pkg_postinst() { |
689 |
- einfo "The authors ask you to register as a SINGULAR user." |
690 |
- einfo "Please check the license file for details." |
691 |
- |
692 |
- if use emacs; then |
693 |
- echo |
694 |
- ewarn "Please note that the ESingular emacs wrapper has been" |
695 |
- ewarn "removed in favor of full fledged singular support within" |
696 |
- ewarn "Gentoo's emacs infrastructure; i.e. just fire up emacs" |
697 |
- ewarn "and you should be good to go! See bug #193411 for more info." |
698 |
- echo |
699 |
- fi |
700 |
- |
701 |
- use emacs && elisp-site-regen |
702 |
-} |
703 |
- |
704 |
-pkg_postrm() { |
705 |
- use emacs && elisp-site-regen |
706 |
-} |