We're two versions behind on this one, but the latest release has an improved build system that should make life easier: Version 094j (June 21, 2018) / - Thanks to Julian Rüth, modernized autotooling, mirrored code on GitHub, introduced cddexec as a replacement of cdd_both_reps that many distributions packaged, made randomization portable. Thanks to Matthias C. M. Troffaes, fixed representation type in dd_MatrixAppendTo. Version 094i (March 9, 2018) / - The missing definition of dd_set_d function in the case of -DGMPRATIONAL flag is used. The only change is in cddmp.h. The use of this function is explained in testcdd2.c program. This function is useful when input is mostly float (real). Even such a case, running on the rational exact arithmetic might be helpful to debug the floating point computation.
Created attachment 603112 [details] cddlib-094j.ebuild Here's an ebuild based on the one François has in the sage-on-gentoo overlay, with the following changes: * Update to EAPI=7 * Drop unused autotools.eclass * Use GPL-2+ for the license. Some files don't have license headers, but the ones that do say "or later version." * Drop DOCS, since the default src_install does the right thing. * Add USE=examples * Rework the doc/examples logic, since the new autotools build system installs everything by default (meaning we have to conditionally delete them).
(I can commit this myself and add François and I as maintainers if no one objects.)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35aa5d3b8188a15dfee2f12a90bf1abe99014716 commit 35aa5d3b8188a15dfee2f12a90bf1abe99014716 Author: Michael Orlitzky <mjo@gentoo.org> AuthorDate: 2020-01-15 01:11:13 +0000 Commit: Michael Orlitzky <mjo@gentoo.org> CommitDate: 2020-01-15 13:50:28 +0000 sci-libs/cddlib: new version 094j. François Bissey had an ebuild for the latest version of this package in the sage-on-gentoo overlay, so I've imported it with minor changes: * Updated to EAPI=7 (no related changes). * Dropped the unused autotools.eclass inherit. * Changed GPL-2 to GPL-2+, since the files that do have copyright headers have the "or any later version" bit. * Dropped the DOCS declaration; they're all covered by einstalldocs. * Added IUSE=examples. * Reworked the documentation/example installation logic. The new autotools build system installs everything by default, so if the user doesn't want something, we have to kill it from $ED. I've also added the upstream remote to metadata.xml, and added myself and François as maintainers in the future. SageMath uses two cddlib executables only present as of this version, so it's a prerequisite for moving more of SageMath into the tree. Closes: https://bugs.gentoo.org/705218 Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Michael Orlitzky <mjo@gentoo.org> sci-libs/cddlib/Manifest | 1 + sci-libs/cddlib/cddlib-094j.ebuild | 53 ++++++++++++++++++++++++++++++++++++++ sci-libs/cddlib/metadata.xml | 35 +++++++++++++++++++------ 3 files changed, 81 insertions(+), 8 deletions(-)