From 50ed91aa099404a197af38a808f85ac5f6fdc7ac Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sun, 14 Jan 2024 15:29:22 +0000 Subject: [PATCH] extra/gap to 4.12.2-4 --- extra/gap/.SRCINFO | 54 ++++++++++++++++++++++++++++++++++++++++++++++ extra/gap/PKGBUILD | 9 ++++---- 2 files changed, 58 insertions(+), 5 deletions(-) create mode 100644 extra/gap/.SRCINFO diff --git a/extra/gap/.SRCINFO b/extra/gap/.SRCINFO new file mode 100644 index 000000000..aa88caae4 --- /dev/null +++ b/extra/gap/.SRCINFO @@ -0,0 +1,54 @@ +pkgbase = gap + pkgdesc = Groups, Algorithms, Programming: a system for computational discrete algebra + pkgver = 4.12.2 + pkgrel = 4 + url = https://www.gap-system.org/ + arch = x86_64 + license = GPL + makedepends = libxaw + makedepends = givaro + makedepends = mpfi + makedepends = cddlib + makedepends = boost + makedepends = libsemigroups + makedepends = c-xsc + makedepends = zeromq + makedepends = fplll + makedepends = wget + makedepends = chrpath + makedepends = fmt + makedepends = eigen + makedepends = normaliz + makedepends = jq + source = https://github.com/gap-system/gap/releases/download/v4.12.2/gap-4.12.2.tar.gz + source = package-infos-4.12.2.json.gz::https://github.com/gap-system/gap/releases/download/v4.12.2/package-infos.json.gz + sha256sums = 672308745eb78a222494ee8dd6786edd5bc331456fcc6456ac064bdb28d587a8 + sha256sums = 33f8e2233e9aa74217741467f0138a932a2dfee212c774eaad0e0ef6876868c2 + +pkgname = gap + depends = gmp + depends = zlib + optdepends = gap-packages: extra packages + provides = gap-doc + conflicts = gap-doc + replaces = gap-doc + +pkgname = gap-packages + pkgdesc = Extra packages for GAP + depends = gap + optdepends = libxaw: xgap package + optdepends = c-xsc: float package + optdepends = mpfi: float package + optdepends = nauty: grape package + optdepends = libmpc: float package + optdepends = fplll: float package + optdepends = zeromq: ZeroMQ interface package + optdepends = planarity: digraph package + optdepends = curl: curl interface package + optdepends = libsemigroups: semigroups package + optdepends = cddlib: CddLib interface package + optdepends = normaliz: NormalizInterface package + optdepends = pari: alnuth package + optdepends = singular: singular package + optdepends = polymake: polymaking package + provides = diff --git a/extra/gap/PKGBUILD b/extra/gap/PKGBUILD index c1cecc4bd..e2e506c1b 100644 --- a/extra/gap/PKGBUILD +++ b/extra/gap/PKGBUILD @@ -9,7 +9,7 @@ pkgbase=gap pkgname=(gap gap-packages) pkgver=4.12.2 -pkgrel=3 +pkgrel=4 pkgdesc='Groups, Algorithms, Programming: a system for computational discrete algebra' arch=(x86_64) url='https://www.gap-system.org/' @@ -23,8 +23,6 @@ makedepends=(libxaw givaro mpfi cddlib boost libsemigroups c-xsc zeromq fplll wg prepare() { cd gap-$pkgver -# Use system libsemigroups - sed -e 's|need_included_libsemigroups=yes|need_included_libsemigroups=no|' -i pkg/semigroups/configure # Use system normaliz rm pkg/normalizinterface/prerequisites.sh # Use system nauty @@ -50,10 +48,11 @@ build() { make DESTDIR="$srcdir"/gap-$pkgver/tmp-install install-libgap cd pkg - export CXXFLAGS+=" -I/usr/include/eigen3" # Fix build of semigroups + export CXXFLAGS+=" -std=gnu++14" # Fix build of normalizinterface export LDFLAGS+=" -L$srcdir/gap-$pkgver/tmp-install/usr/lib -lgap" # See https://trac.sagemath.org/ticket/27372 export LD_LIBRARY_PATH="$srcdir"/gap-$pkgver/tmp-install/usr/lib - ../bin/BuildPackages.sh --strict + ../bin/BuildPackages.sh --strict \ + --add-package-config-Semigroups --with-external-libsemigroups } _standardpkgs=(gapdoc primgrp smallgrp transgrp atlasrep autpgrp alnuth crisp ctbllib factint fga irredsol laguna