Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / gap


Commits:
44cd7d4f by Antonio Rojas at 2025-10-03T20:26:17+02:00
upgpkg: 4.15.0-2: Fix regressions in rational matrix groups

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = gap
        pkgdesc = Groups, Algorithms, Programming: a system for computational 
discrete algebra
        pkgver = 4.15.0
-       pkgrel = 1
+       pkgrel = 2
        url = https://www.gap-system.org/
        arch = x86_64
        license = GPL-2.0-or-later
@@ -13,6 +13,7 @@ pkgbase = gap
        makedepends = eigen
        makedepends = fmt
        makedepends = fplll
+       makedepends = git
        makedepends = givaro
        makedepends = jq
        makedepends = libsemigroups
@@ -20,12 +21,16 @@ pkgbase = gap
        makedepends = mpfi
        makedepends = normaliz
        makedepends = planarity
+       makedepends = texlive-fontsrecommended
+       makedepends = texlive-latexextra
        makedepends = wget
        makedepends = zeromq
+       source = git+https://github.com/gap-system/gap#tag=v4.15.0
        source = 
https://github.com/gap-system/gap/releases/download/v4.15.0/gap-4.15.0.tar.gz
        source = 
https://www.math.rwth-aachen.de/homes/Thomas.Breuer/atlasrep/atlasrepdata.tar.gz
        source = 
package-infos-4.15.0.json.gz::https://github.com/gap-system/gap/releases/download/v4.15.0/package-infos.json.gz
        source = atlasrep-no-remote-access.patch
+       sha256sums = 
56ae1557aa0030a4501b2553277ace47992a8e9329879a8b16701e31279bbfab
        sha256sums = 
93c7df97df1265c0f9ea6a9b5578b12289d5ab3aed2936cfd592710cfa73609e
        sha256sums = 
9f82d01bb682f24406f07a701dc2cae40dcba672c6ca91e77613b9096d6b49eb
        sha256sums = 
d2c7288670eeb6783fa4fe0f0a90071c21fa44e8b82554db980aa6da7124e17c


=====================================
PKGBUILD
=====================================
@@ -6,16 +6,18 @@ pkgbase=gap
 pkgname=(gap
          gap-packages)
 pkgver=4.15.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Groups, Algorithms, Programming: a system for computational discrete 
algebra'
 arch=(x86_64)
 url='https://www.gap-system.org/'
 license=(GPL-2.0-or-later)
-source=(https://github.com/gap-system/gap/releases/download/v$pkgver/$pkgbase-$pkgver.tar.gz
+source=(git+https://github.com/gap-system/gap#tag=v$pkgver
+        
https://github.com/gap-system/gap/releases/download/v$pkgver/$pkgbase-$pkgver.tar.gz
         
https://www.math.rwth-aachen.de/homes/Thomas.Breuer/atlasrep/atlasrepdata.tar.gz
         
package-infos-$pkgver.json.gz::https://github.com/gap-system/gap/releases/download/v$pkgver/package-infos.json.gz
         atlasrep-no-remote-access.patch)
-sha256sums=('93c7df97df1265c0f9ea6a9b5578b12289d5ab3aed2936cfd592710cfa73609e'
+sha256sums=('56ae1557aa0030a4501b2553277ace47992a8e9329879a8b16701e31279bbfab'
+            '93c7df97df1265c0f9ea6a9b5578b12289d5ab3aed2936cfd592710cfa73609e'
             '9f82d01bb682f24406f07a701dc2cae40dcba672c6ca91e77613b9096d6b49eb'
             'd2c7288670eeb6783fa4fe0f0a90071c21fa44e8b82554db980aa6da7124e17c'
             'db8a38bc6c81a2ee3d5dc11d8317ee33c730fb5eea21f28660bb0933aa177b9d')
@@ -27,6 +29,7 @@ makedepends=(bliss
              eigen
              fmt
              fplll
+             git
              givaro
              jq
              libsemigroups
@@ -34,11 +37,16 @@ makedepends=(bliss
              mpfi
              normaliz
              planarity
+             texlive-fontsrecommended
+             texlive-latexextra
              wget
              zeromq)
 
 prepare() {
-  cd gap-$pkgver
+  cd gap
+  ln -s ../gap-$pkgver/pkg .
+  git cherry-pick -n ad5dffcc97170f46c79acd1bf0a5bd284befc98b # Fix 
regressions in rational matrix groups
+  autoreconf -fiv
 
 # Use system normaliz
   rm pkg/normalizinterface/prerequisites.sh
@@ -52,13 +60,15 @@ prepare() {
 }
 
 build() {
-  cd gap-$pkgver
+  cd gap
   ./configure --prefix=/usr --with-gmp=system
   make
+  make doc
 
   cd pkg
   export CFLAGS+=" -Wno-incompatible-pointer-types -std=gnu11" # Fix build 
with GCC 15
   ../bin/BuildPackages.sh --strict \
+    --with-gaproot="$srcdir"/gap \
     --add-package-config-Semigroups --with-external-libsemigroups \
     --add-package-config-Digraphs "--with-external-planarity 
--with-external-bliss"
 }
@@ -77,8 +87,8 @@ package_gap() {
   conflicts=(gap-doc)
   provides=(gap-doc)
   replaces=(gap-doc)
-  cd gap-$pkgver
 
+  cd gap
   make DESTDIR="$pkgdir" install
 
   for _pkg in ${_standardpkgs[@]}; do



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/gap/-/commit/44cd7d4f5dcb3cca2e46a885d91ea297499f17f7

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/gap/-/commit/44cd7d4f5dcb3cca2e46a885d91ea297499f17f7
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to