From: dkwo <dkwo@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New math packages: cddlib, singular
Date: Mon, 20 Sep 2021 18:47:55 +0200 [thread overview]
Message-ID: <20210920164755.XVGxjs4fQRy33nTPuFPH7Zt5MQYWE_CR_KBgOqVY9ME@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-32822@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 426 bytes --]
There is an updated pull request by dkwo against master on the void-packages repository
https://github.com/dkwo/void-packages cdd
https://github.com/void-linux/void-packages/pull/32822
New math packages: cddlib, singular
New math packages, useful for sagemath
- New package: cddlib
- New package: singular
I built them on x86_64
A patch file from https://github.com/void-linux/void-packages/pull/32822.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-cdd-32822.patch --]
[-- Type: text/x-diff, Size: 4215 bytes --]
From a2ade83c1df9b347b41af2a21f8e20ffe32dbdb1 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 3 Sep 2021 16:32:12 +0200
Subject: [PATCH 1/2] New package: cddlib-0.94m
---
common/shlibs | 2 ++
srcpkgs/cddlib/template | 12 ++++++++++++
2 files changed, 14 insertions(+)
create mode 100644 srcpkgs/cddlib/template
diff --git a/common/shlibs b/common/shlibs
index 6f250a63f5d0..80533fffc33e 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -47,6 +47,8 @@ libSegFault.so glibc-2.32_1
libpcprofile.so glibc-2.32_1
libcidn.so.1 glibc-2.32_1
libmvec.so.1 glibc-2.32_1
+libcddgmp.so.0 cddlib-0.94m_1
+libcdd.so.0 cddlib-0.94m_1
libz.so.1 zlib-1.2.3_1
libb2.so.1 libb2-0.98.1_1
libbz2.so.1 bzip2-1.0.5_1
diff --git a/srcpkgs/cddlib/template b/srcpkgs/cddlib/template
new file mode 100644
index 000000000000..37759cf0361c
--- /dev/null
+++ b/srcpkgs/cddlib/template
@@ -0,0 +1,12 @@
+# Template file for 'cddlib'
+pkgname=cddlib
+version=0.94m
+revision=1
+build_style=gnu-configure
+hostmakedepends="gmp-devel"
+short_desc="Efficient implementation of the Double Description Method"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://github.com/cddlib/cddlib"
+distfiles="https://github.com/cddlib/cddlib/releases/download/${version}/cddlib-${version}.tar.gz"
+checksum=70dffdb3369b8704dc75428a1b3c42ab9047b81ce039f12f427e2eb2b1b0dee2
From 53845166281466d43a6669cbea9d9da6f2028a24 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 3 Sep 2021 17:41:02 +0200
Subject: [PATCH 2/2] New package: singular-4.2.1
---
srcpkgs/singular/patches/polys.patch | 22 +++++++++++++++++++
srcpkgs/singular/template | 32 ++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
create mode 100644 srcpkgs/singular/patches/polys.patch
create mode 100644 srcpkgs/singular/template
diff --git a/srcpkgs/singular/patches/polys.patch b/srcpkgs/singular/patches/polys.patch
new file mode 100644
index 000000000000..73ee062e2f89
--- /dev/null
+++ b/srcpkgs/singular/patches/polys.patch
@@ -0,0 +1,22 @@
+From 6e2383111a18b2fa2d3421045625d1d424eb1e25 Mon Sep 17 00:00:00 2001
+From: Hans Schoenemann <hannes@mathematik.uni-kl.de>
+Date: Mon, 20 Sep 2021 15:13:36 +0200
+Subject: [PATCH] fix: make check: polys_test
+
+---
+ libpolys/tests/polys_test.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libpolys/tests/polys_test.h b/libpolys/tests/polys_test.h
+index 5526aa5a6b..5b4c561238 100644
+--- a/libpolys/tests/polys_test.h
++++ b/libpolys/tests/polys_test.h
+@@ -2481,7 +2481,7 @@ class PolysTestSuite : public CxxTest::TestSuite
+ {
+ for (int qi = 0; qi <= 100; qi++)
+ {
+- int c = rand() % 1000000;
++ int c = rand() % 1000000+1; /* c must not be 0 */
+ poly qterm = p_ISet(c, r); p_SetExp(qterm, 1, qi, r);
+ p_Setm(qterm, r);
+ number qtermAsN = toFractionNumber(qterm, cf);
diff --git a/srcpkgs/singular/template b/srcpkgs/singular/template
new file mode 100644
index 000000000000..a93c84f4e09b
--- /dev/null
+++ b/srcpkgs/singular/template
@@ -0,0 +1,32 @@
+# Template file for 'singular'
+pkgname=singular
+version=4.2.1
+revision=1
+build_style=gnu-configure
+configure_args="--with-readline=ncurses
+ --prefix=/usr
+ --libexecdir=/usr/lib
+ --enable-gfanlib
+ --enable-Singular
+ --enable-factory
+ --disable-doc
+ --disable-polymake
+ --without-python
+ --without-pythonmodule
+ --disable-python
+ --disable-python_module
+ --disable-python-module
+ --disable-static
+ --with-libparse"
+ # --disable-omalloc
+ # this requires patch from upstream, useful for musl 1.2
+hostmakedepends="perl tar"
+makedepends="flintlib-devel ntl-devel cddlib readline-devel doxygen graphviz"
+short_desc="Computer algebra system for polynomial computations"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://www.singular.uni-kl.de"
+distfiles="https://service.mathematik.uni-kl.de/ftp/pub/Math/Singular/src/${version//./-}/singular-${version}.tar.gz"
+checksum=28a56df84f85b116e0068ffecf92fbe08fc27bd4c5ba902997f1a367db0bfe8d
+# due to flint and ntl being nocross
+nocross=yes
next prev parent reply other threads:[~2021-09-20 16:47 UTC|newest]
Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-03 16:05 [PR PATCH] " dkwo
2021-09-03 16:12 ` dkwo
2021-09-03 20:45 ` [PR REVIEW] " paper42
2021-09-03 21:34 ` tornaria
2021-09-03 21:38 ` tornaria
2021-09-03 21:38 ` tornaria
2021-09-03 22:12 ` tornaria
2021-09-03 22:21 ` tornaria
2021-09-06 9:01 ` [PR REVIEW] " dkwo
2021-09-06 9:43 ` dkwo
2021-09-06 9:44 ` dkwo
2021-09-06 9:45 ` [PR PATCH] [Updated] " dkwo
2021-09-06 9:50 ` dkwo
2021-09-06 9:52 ` [PR PATCH] [Updated] " dkwo
2021-09-06 9:53 ` dkwo
2021-09-06 9:55 ` [PR PATCH] [Updated] " dkwo
2021-09-06 9:55 ` dkwo
2021-09-06 11:09 ` dkwo
2021-09-06 11:20 ` dkwo
2021-09-06 11:50 ` tornaria
2021-09-06 11:59 ` tornaria
2021-09-06 12:31 ` dkwo
2021-09-06 12:44 ` dkwo
2021-09-11 15:20 ` dkwo
2021-09-11 15:20 ` dkwo
2021-09-11 16:08 ` [PR PATCH] [Updated] " dkwo
2021-09-12 13:50 ` tornaria
2021-09-13 7:35 ` dkwo
2021-09-20 15:57 ` [PR PATCH] [Updated] " dkwo
2021-09-20 16:13 ` dkwo
2021-09-20 16:33 ` tornaria
2021-09-20 16:47 ` dkwo [this message]
2021-09-20 17:02 ` dkwo
2021-09-21 8:21 ` dkwo
2021-09-23 9:28 ` [PR PATCH] [Updated] " dkwo
2021-09-23 9:38 ` dkwo
2021-10-07 8:38 ` dkwo
2021-10-13 17:11 ` [PR PATCH] [Updated] " dkwo
2021-10-13 17:15 ` dkwo
2021-10-22 12:45 ` dkwo
2021-11-08 23:04 ` leahneukirchen
2021-11-09 10:43 ` [PR PATCH] [Updated] " dkwo
2021-11-09 10:47 ` dkwo
2021-11-09 10:59 ` dkwo
2021-11-09 11:27 ` tornaria
2021-11-09 11:38 ` tornaria
2021-11-09 12:15 ` [PR PATCH] [Updated] " dkwo
2021-11-09 12:27 ` dkwo
2021-11-09 12:45 ` tornaria
2021-11-09 15:44 ` leahneukirchen
2021-11-09 15:44 ` leahneukirchen
2021-11-09 15:46 ` [PR PATCH] [Updated] " dkwo
2021-11-09 15:48 ` dkwo
2021-11-09 16:02 ` [PR PATCH] [Merged]: " leahneukirchen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210920164755.XVGxjs4fQRy33nTPuFPH7Zt5MQYWE_CR_KBgOqVY9ME@z \
--to=dkwo@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).