Package Details: singular-factory 4.3.0-1

Git Clone URL: https://aur.archlinux.org/singular-factory.git (read-only, click to copy)
Package Base: singular-factory
Description: Computer Algebra System for polynomial computations: factory and libfac
Upstream URL: http://www.singular.uni-kl.de/
Licenses: GPL
Submitter: remyoudompheng
Maintainer: ConnorBehan
Last Packager: ConnorBehan
Votes: 3
Popularity: 0.000000
First Submitted: 2010-06-21 19:49 (UTC)
Last Updated: 2022-07-03 22:47 (UTC)

Latest Comments

gabrielSoranzo commented on 2022-09-16 19:14 (UTC)

I ask it as a bug/Feature Request for the [community] singular package.

ConnorBehan commented on 2022-09-16 13:31 (UTC)

I can make this conflict with singular but that will not help macaulay2 users.

Macaulay2 can work with singular or singular-factory. So the proper fix would be for singular in [community] to provide singular-factory. Alternatively, I can make macaulay2 depend on singular but then anyone who wants to use this instead of the full singular package will have to edit the PKGBUILD.

gabrielSoranzo commented on 2022-09-16 13:01 (UTC)

It seems that the conflict mentions by @petRUShka still occur:


conflit de fichiers :
- singular-factory : /usr/lib/libfactory.so existe déjà dans le système de fichiers (appartient à singular)
- singular-factory : /usr/lib/pkgconfig/factory.pc existe déjà dans le système de fichiers (appartient à singular)
- singular-factory : /usr/share/factory/gftables/10201 existe déjà dans le système de fichiers (appartient à singular)
- singular-factory : /usr/share/factory/gftables/1024 existe déjà dans le système de fichiers (appartient à singular)
...

I need singular-factory package for installing macaulay2 package.

Alad commented on 2022-07-03 16:28 (UTC) (edited on 2022-07-03 16:42 (UTC) by Alad)

Looks like the checksums changed:

diff --git a/PKGBUILD b/PKGBUILD
index 5c47d22..0fcf197 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -32,4 +32,4 @@ package() {
        make DESTDIR="$pkgdir" install
 }

-md5sums=('5c7af321ff61bd1c7dc2fb73308bd955')
+md5sums=('28e8b0f0947d91972e3b0a777e5cbf99')

edit: the download link points to an HTML page. The correct upstream URL is:

https://www.singular.uni-kl.de/ftp/pub/Math/Singular/Factory/factory-4.3.0.tar.gz

It seems no i686 builds are available for 4.3.0. Summarized changes for 4.3.0:

diff --git a/PKGBUILD b/PKGBUILD
index 5c47d22..4fa911a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,15 +1,15 @@
 # Maintainer: Connor Behan <connor.behan@gmail.com>
 # Contributor: Rémy Oudompheng <oudomphe@clipper.ens.fr>
 pkgname=singular-factory
-pkgver=4.2.0
+pkgver=4.3.0
 pkgrel=1
 pkgdesc="Computer Algebra System for polynomial computations: factory and libfac"
-arch=('i686' 'x86_64')
+arch=('x86_64')
 url="http://www.singular.uni-kl.de/"
 license=('GPL')
 depends=('gmp' 'ncurses' 'readline' 'flint')
 options=('!strip')
-source=(http://www.mathematik.uni-kl.de/ftp/pub/Math/Singular/Factory/factory-$pkgver.tar.gz)
+source_x86_64=("https://www.singular.uni-kl.de/ftp/pub/Math/Singular/Factory/factory-$pkgver.tar.gz")

 build() {
    cd "$srcdir"/factory-$pkgver
@@ -32,4 +32,4 @@ package() {
    make DESTDIR="$pkgdir" install
 }

-md5sums=('5c7af321ff61bd1c7dc2fb73308bd955')
+md5sums_x86_64=('458b05708e32d563240d934f4ec71243')

petRUShka commented on 2019-02-23 22:09 (UTC)

Singular from community and singular-factory are in conflict:

...
singular-factory: /usr/share/factory/gftables/729 exists in filesystem (owned by singular)
singular-factory: /usr/share/factory/gftables/7921 exists in filesystem (owned by singular)
singular-factory: /usr/share/factory/gftables/8 exists in filesystem (owned by singular)
singular-factory: /usr/share/factory/gftables/81 exists in filesystem (owned by singular)
...

Please add some dependency and conflict management.

mpierce commented on 2017-04-18 18:09 (UTC) (edited on 2017-04-20 18:42 (UTC) by mpierce)

This package doesn't compile (with gcc 6.3.1): configure: WARNING: unrecognized options: --with-NTL, --without-omalloc configure: WARNING: Please note that we set empty defaults for `CFLAGS' and `CXXFLAGS' (instead of `-g -O') configure: WARNING: doxygen not found - will not generate any doxygen documentation configure: WARNING: unrecognized options: --with-NTL, --without-omalloc NTLconvert.cc: In function ‘CanonicalForm convertZZ2CF(const NTL::ZZ&)’: NTLconvert.cc:509:38: error: invalid static_cast from type ‘const raw_ptr {aka _ntl_gbigint_body* const}’ to type ‘long int*’ static_cast<long *>( a.rep.rep ); // what about NTL7? The options in PKGBUILD should instead be `--with-ntl` (lowercase) and `--enable-omalloc=no`.

<deleted-account> commented on 2015-04-01 01:36 (UTC)

The included ntl8.patch doesn't seem to find the right file for me (without a bit of manual intervention) -- I think it needs patch -p options tweaking and/or folders trimming off the patch filename.

remyoudompheng commented on 2015-03-26 21:06 (UTC)

Feel free to adopt the package.

czsan commented on 2014-12-03 22:34 (UTC)

I want use the macaulay2 computer algebra system which need this package. It says error:gmp.h not found. Use option --with-gmp to specify path. In the pkg-build there is this entry: --with-gmp=/usr/lib I installed the gpm package, it is on the right place.