Skip to content
Merged
8 changes: 4 additions & 4 deletions common/shlibs
Original file line number Diff line number Diff line change
Expand Up @@ -4194,12 +4194,12 @@ liblinbox.so.0 linbox-1.6.3_1
libpari-gmp-tls.so.9 pari-2.17.0_1
libtree-sitter.so.0.25 tree-sitter-0.25.2_1
libplanarity.so.2 planarity-4.0.0.0_1
libgap.so.9 gap-4.13.0_1
libgap.so.10 gap-4.15.1_1
libgtkdatabox.so.1 gtkdatabox3-1.0.0_1
libxcvt.so.0 libxcvt-0.1.1_1
libgf2x.so.3 gf2x-1.3.0_1
libntl.so.44 ntl-11.5.1_1
libflint.so.21 flintlib-3.3.1_1
libntl.so.45 ntl-11.6.0_1
libflint.so.22 flintlib-3.4.0_1
libec.so.14 eclib-20241112_1
libsymmetrica.so.3 symmetrica-3.1.0_1
libLfunction.so.2 lcalc-2.1.0_1
Expand Down Expand Up @@ -4253,7 +4253,7 @@ libpolys-4.4.1.so singular-4.4.1_1
libsingular_resources-4.4.1.so singular-4.4.1_1
libbrial.so.3 brial-1.2.10_1
libbrial_groebner.so.3 brial-1.2.10_1
libm4ri.so.1 m4ri-20250128_1
libm4ri.so.2 m4ri-20260122_1
libm4rie.so.1 m4rie-20250128_1
libptytty.so.0 libptytty-2.0_1
libcoeurl.so.0.3 coeurl-0.3.0_1
Expand Down
4 changes: 2 additions & 2 deletions srcpkgs/brial/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'brial'
pkgname=brial
version=1.2.14
version=1.2.15
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
Expand All @@ -12,7 +12,7 @@ license="GPL-2.0-or-later"
homepage="https://github.com/BRiAl/BRiAl"
changelog="https://github.com/BRiAl/BRiAl/releases"
distfiles="https://github.com/BRiAl/BRiAl/releases/download/$version/brial-$version.tar.bz2"
checksum=48cd95f167381699e2c538bfbf6eac35ca046dee79f797059f3879abdf5b7e66
checksum=1d0e7de01b1b60ad892dee6c02503f5932e2ed211f3f8dbdf1a3216c696ef201

if [ -n "$CROSS_BUILD" ]; then
configure_args+=" --with-boost-unit-test-framework=no"
Expand Down
2 changes: 1 addition & 1 deletion srcpkgs/eclib/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'eclib'
pkgname=eclib
version=20250627
revision=3
revision=4
build_style=gnu-configure
configure_args="--with-flint --with-boost --with-boost-system=c"
makedepends="pari-devel ntl-devel flintlib-devel boost-devel-minimal
Expand Down
18 changes: 6 additions & 12 deletions srcpkgs/flintlib/template
Original file line number Diff line number Diff line change
@@ -1,30 +1,24 @@
# Template file for 'flintlib'
pkgname=flintlib
version=3.3.1
version=3.4.0
revision=1
build_style=gnu-configure
configure_args="--prefix=/usr --disable-arch $(vopt_with ntl)
configure_args="--with-ntl
$(vopt_if openblas --with-blas-include=${XBPS_CROSS_BASE}/usr/include/openblas)"
hostmakedepends="m4"
makedepends="mpfr-devel $(vopt_if ntl ntl-devel)
$(vopt_if openblas openblas-devel)"
makedepends="mpfr-devel ntl-devel $(vopt_if openblas openblas-devel)"
short_desc="Fast Library for Number Theory"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="LGPL-3.0-or-later"
homepage="https://flintlib.org"
changelog="https://raw.githubusercontent.com/flintlib/flint/refs/heads/main/doc/source/history.rst"
distfiles="https://github.com/flintlib/flint/releases/download/v${version/+/-}/flint-${version/+/-}.tar.xz"
checksum=5ee67f09ce810a0ab9f3a9de99945521b864e02064b09d6f178c60e743a8df62
checksum=0550623c85aa37897638a6b10d267c311a788d137509692d8d858fba10a852da

build_options="ntl openblas"
desc_option_ntl="enable NTL support"

if [ -z "$CROSS_BUILD" ]; then
build_options_default+=" ntl"
fi
build_options="openblas"

case "$XBPS_TARGET_MACHINE" in
x86_64*|i686*|aarch64*|arm*|ppc64*) build_options_default+=" openblas";;
x86_64*|i686*|aarch64*|ppc64*) build_options_default+=" openblas";;
esac

CFLAGS="-D_GNU_SOURCE" # needed for cpu_set_t
Expand Down
5 changes: 3 additions & 2 deletions srcpkgs/gap/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'gap'
pkgname=gap
version=4.14.0
version=4.15.1
revision=1
build_style=gnu-configure
makedepends="gmp-devel zlib-devel readline-devel"
Expand All @@ -11,7 +11,7 @@ license="GPL-2.0-or-later"
homepage="https://www.gap-system.org/"
changelog="https://raw.githubusercontent.com/gap-system/gap/master/CHANGES.md"
distfiles="https://github.com/gap-system/gap/releases/download/v${version}/gap-${version}.tar.gz"
checksum=845f5272c26feb1b8eb9ef294bf0545f264c1fe5a19b0601bbc65d79d9506487
checksum=6049d53e99b12e25c2d848db21ac4a06380a46fe4c4157243d556fe06930042c

if [ "$XBPS_CHECK_PKGS" = full ]; then
do_check() {
Expand Down Expand Up @@ -62,6 +62,7 @@ gap-devel_package() {
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}
45 changes: 0 additions & 45 deletions srcpkgs/m4ri/patches/28-fix-overflow-32bit.patch

This file was deleted.

6 changes: 3 additions & 3 deletions srcpkgs/m4ri/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'm4ri'
pkgname=m4ri
version=20250128
version=20260122
revision=1
build_style=gnu-configure
# use defaults for cache sizes instead of build machine
Expand All @@ -11,9 +11,9 @@ short_desc="Library for fast arithmetic with dense matrices over GF(2)"
maintainer="Eloi Torrents <eloitor@duck.com>"
license="GPL-2.0-or-later"
homepage="https://github.com/malb/m4ri"
changelog="https://github.com/malb/m4ri#history"
changelog="https://github.com/malb/m4ri/releases"
distfiles="https://github.com/malb/m4ri/releases/download/${version}/m4ri-${version}.tar.gz"
checksum=b4098db651483c0e1506c16f79091eba02f41dadbacf1bb25be8eb97e5515f96
checksum=7e033ca1fd36be8861e2f67d9d124c398fc0d830209bb0226462485876346404

pre_check() {
# the testsuite is very slow when run in parallel!
Expand Down
4 changes: 2 additions & 2 deletions srcpkgs/m4rie/template
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Template file for 'm4rie'
pkgname=m4rie
version=20250128
revision=1
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="m4ri-devel"
short_desc="Library for fast arithmetic with dense matrices over GF(2^e)"
maintainer="Eloi Torrents <eloitor@duck.com>"
license="GPL-2.0-or-later"
homepage="https://github.com/malb/m4rie"
changelog="https://github.com/malb/m4rie#history"
changelog="https://github.com/malb/m4rie/releases"
distfiles="https://github.com/malb/m4rie/releases/download/${version}/m4rie-${version}.tar.gz"
checksum=96f1adafd50e6a0b51dc3aa1cb56cb6c1361ae7c10d97dc35c3fa70822a55bd7

Expand Down
51 changes: 51 additions & 0 deletions srcpkgs/ntl/patches/cross.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
--- a/src/DoConfig
+++ b/src/DoConfig
@@ -571,7 +571,7 @@
# icc just gives warnings for bad command line args
RemoveProg("$name") and return 0;
}
- system("./$name") and RemoveProg("$name") and return 0;
+ system("\$RUNTEST ./$name") and RemoveProg("$name") and return 0;
RemoveProg("$name") and return 1;
}

@@ -763,7 +763,7 @@
die "Goodbye!\n";
}

-my $config_info = `./GenConfigInfo`;
+my $config_info = `\$RUNTEST ./GenConfigInfo`;

my ($compiler_name, $language_standard, $cpu_type, $os_name);
($compiler_name, $language_standard, $cpu_type, $os_name) =
--- a/src/MakeCheckFeatures
+++ b/src/MakeCheckFeatures
@@ -14,7 +14,7 @@

if test -f CheckFeatures
then
- if ./CheckFeatures
+ if $RUNTEST ./CheckFeatures
then
echo "[yes]"
echo "#ifndef NTL_HAVE_$f" > "../include/NTL/HAVE_$f.h"
--- a/src/mfile
+++ b/src/mfile
@@ -354,7 +354,7 @@
setup1:
$(COMPILE) MakeDescAux.cpp
$(LINK) -o MakeDesc MakeDesc.cpp MakeDescAux.o $(LDLIBS)
- ./MakeDesc
+ $(RUNTEST) ./MakeDesc
mv mach_desc.h ../include/NTL/mach_desc.h


@@ -378,7 +378,7 @@

setup3:
$(LINK) $(GMP_OPT_INCDIR) -o gen_gmp_aux gen_gmp_aux.cpp $(GMP_OPT_LIBPATH) $(GMP_OPT_LIB) $(LDLIBS)
- ./gen_gmp_aux > ../include/NTL/gmp_aux.h
+ $(RUNTEST) ./gen_gmp_aux > ../include/NTL/gmp_aux.h
$(LINK) $(GF2X_OPT_INCDIR) -o gf2x_version_1_2_or_later_required gf2x_version_1_2_or_later_required.cpp $(GF2X_OPT_LIBPATH) $(GF2X_OPT_LIB) $(LDLIBS)

# setup4 runs the wizard
35 changes: 29 additions & 6 deletions srcpkgs/ntl/template
Original file line number Diff line number Diff line change
@@ -1,24 +1,46 @@
# Template file for 'ntl'
pkgname=ntl
version=11.5.1
version=11.6.0
revision=1
build_wrksrc="src"
build_style=configure
hostmakedepends="perl libtool"
build_helper=qemu
hostmakedepends="perl libtool autoconf automake"
makedepends="gmp-devel gf2x-devel"
short_desc="Library for doing Number Theory"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="LGPL-2.1-or-later"
homepage="https://libntl.org"
distfiles="https://libntl.org/ntl-${version}.tar.gz"
checksum=210d06c31306cbc6eaf6814453c56c776d9d8e8df36d74eb306f6a523d1c6a8a
nocross=yes # runs binaries built for target
changelog="https://github.com/libntl/ntl/releases"
distfiles="https://github.com/libntl/ntl/archive/refs/tags/v${version}.tar.gz"
checksum=30e29eb21c5da6db031fc7dc5b1a6c728f226c7128e922421247157bc89ecd86

build_options="native_build"

if [ "$CROSS_BUILD" ]; then
export RUNTEST="/usr/bin/qemu-$XBPS_TARGET_QEMU_MACHINE-static"
fi

pre_configure() {
# project uses libtool without autoconf, which is not really viable
# since autoconf is supposed to configure libtool.
mkdir -p hack
cat <<-EOF >hack/configure.ac
AC_INIT
LT_INIT
AC_CONFIG_MACRO_DIRS([m4])
AC_LANG([C])
AC_LANG([C++])
LT_LANG([C])
LT_LANG([C++])
AC_OUTPUT
EOF
(cd hack; autoreconf -fi; libtoolize -i; ./configure --host=$XBPS_CROSS_TRIPLET --build=$XBPS_TRIPLET --with-libtool-sysroot=$XBPS_CROSS_BASE)
}

do_configure() {
# see http://www.shoup.net/ntl/doc/tour-unix.html
./configure CXX="$CXX" CXXFLAGS="$CXXFLAGS" LIBTOOL="libtool" \
./configure CXX="$CXX" CXXFLAGS="$CXXFLAGS" LIBTOOL="./hack/libtool" \
PREFIX="/usr" SHARED="on" NTL_GF2X_LIB="on" \
NATIVE="$(vopt_if native_build 'on' 'off')"
}
Expand All @@ -28,6 +50,7 @@ ntl-devel_package() {
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
From 0a3e42e8292b89db602757510e367766685cc38b Mon Sep 17 00:00:00 2001
From: Dima Pasechnik <dima@pasechnik.info>
Date: Fri, 12 Dec 2025 18:18:11 -0600
Subject: [PATCH] correct cypari2.py(.in) -> cypari2.pc(.in)

---
cypari2/meson.build | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cypari2/meson.build b/cypari2/meson.build
index 4c37553..de1257a 100644
--- a/cypari2/meson.build
+++ b/cypari2/meson.build
@@ -49,8 +49,8 @@ endforeach
config_data = configuration_data()
config_data.set('version', meson.project_version())
configure_file(
input: 'cypari2.py.in',
- output: 'cypari2.py',
+ output: 'cypari2.pc',
configuration: config_data,
install: true,
install_dir: py.get_install_dir() / 'cypari2'
15 changes: 10 additions & 5 deletions srcpkgs/python3-cypari2/template
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# Template file for 'python3-cypari2'
pkgname=python3-cypari2
version=2.2.2
revision=2
version=2.2.4
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel python3-Cython
build_helper="meson qemu"
hostmakedepends="python3-meson-python python3-Cython
python3-cysignals pari perl"
makedepends="python3-devel pari-devel gmp-devel"
depends="python3-cysignals"
Expand All @@ -14,10 +15,14 @@ license="GPL-2.0-or-later"
homepage="https://github.com/sagemath/cypari2"
changelog="https://github.com/sagemath/cypari2/releases"
distfiles="https://github.com/sagemath/cypari2/archive/refs/tags/${version}.tar.gz"
checksum=d23c96e1e160e1c23a282d33c70e8facf352c437b6632e3eafcbc3c1d6d30a5d
checksum=346fa1c44dbd13fd52baf30c79582c690456e7cb43499ff8d4b9f26d7dcdff6c

do_check() {
local testdir="${wrksrc}/.xbps-testdir/$(date +%s)"
python3 -m installer --destdir "${testdir}" \
${make_install_args} ${make_install_target:-dist/*.whl}

# Please do not disable this custom check;
# This will run many more tests than just running pytest
PYTHONPATH=$(cd build/lib* && pwd) make check
PYTHONPATH="${testdir}/${py3_sitelib}" make check
}
1 change: 0 additions & 1 deletion srcpkgs/python3-cypari2/update

This file was deleted.

13 changes: 4 additions & 9 deletions srcpkgs/python3-cysignals/template
Original file line number Diff line number Diff line change
@@ -1,25 +1,20 @@
# Template file for 'python3-cysignals'
pkgname=python3-cysignals
version=1.12.4
revision=2
version=1.12.6
revision=1
build_style=python3-pep517
build_helper=meson
hostmakedepends="python3-meson-python python3-Cython"
makedepends="python3-devel"
depends="python3"
checkdepends="python3-pytest gdb"
checkdepends="python3-pytest gdb python3-cypari2"
short_desc="Interrupt and signal handling for Cython"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="LGPL-3.0-or-later"
homepage="https://github.com/sagemath/cysignals"
changelog="https://github.com/sagemath/cysignals/releases"
distfiles="${PYPI_SITE}/c/cysignals/cysignals-${version}.tar.gz"
checksum=4aefa3b35eb036cb40b2b948df84725976b987895338204f64550e2d63891f5f
checksum=3ef3a37bdb244821b85475a08e2762ca1019570b369e321504995fa9a54675ce

# cysignals must be compiled without _FORTIFY_SOURCE
CFLAGS="-U_FORTIFY_SOURCE"

if [ "$XBPS_CHECK_PKGS" = full ]; then
# this would cause a build-time circular dependency
checkdepends+=" python3-cypari2"
fi
Loading
Loading