[arch-commits] Commit in linbox/trunk (PKGBUILD linbox-fix-pc.patch)

Antonio Rojas arojas at gemini.archlinux.org
Tue Dec 14 17:27:47 UTC 2021


    Date: Tuesday, December 14, 2021 @ 17:27:46
  Author: arojas
Revision: 1072798

Update to 1.7.0

Modified:
  linbox/trunk/PKGBUILD
Deleted:
  linbox/trunk/linbox-fix-pc.patch

---------------------+
 PKGBUILD            |   30 ++++++++++--------------------
 linbox-fix-pc.patch |   23 -----------------------
 2 files changed, 10 insertions(+), 43 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-14 17:22:47 UTC (rev 1072797)
+++ PKGBUILD	2021-12-14 17:27:46 UTC (rev 1072798)
@@ -1,38 +1,28 @@
-# Maintainer: Antonio Rojas < nqn76sw at gmail.com >
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
 
 pkgname=linbox
-pkgver=1.6.3
-pkgrel=3
-pkgdesc="A template library for exact, high-performance linear algebra computation with dense, sparse, and structured matrices over the integers and over finite fields"
+pkgver=1.7.0
+pkgrel=1
+pkgdesc='A template library for exact, high-performance linear algebra computation with dense, sparse, and structured matrices over the integers and over finite fields'
 arch=(x86_64)
-url="https://linalg.org/"
+url='https://linalg.org/'
 license=(LGPL)
 depends=(fflas-ffpack)
 makedepends=(m4rie flint iml fplll)
-source=("https://github.com/linbox-team/linbox/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz"
-         linbox-fix-pc.patch)
-sha256sums=('a58a188307b07c57964e844bceb99321d3043a8a4a1fccc082a54928bb9a0057'
-            'd206f828fb7f4a5194e8e395e99e37c16462e29086c03a95cfdc51c02b4fc874')
+source=(https://github.com/linbox-team/linbox/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('6d2159fd395be0298362dd37f6c696676237bc8e2757341fbc46520e3b466bcc')
 
-prepare() {
-  cd $pkgname-$pkgver
-  patch -p1 -i ../linbox-fix-pc.patch # Fix bogus variable in pc file
-}
-
 build() {
   cd $pkgname-$pkgver
 
-  ./configure --prefix=/usr --enable-sage --with-fplll=/usr \
-    --disable-sse3 --disable-ssse3 --disable-sse41 --disable-sse42 --disable-avx --disable-avx2 --disable-fma
-  #https://bugzilla.gnome.org/show_bug.cgi?id=655517
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-
+  ./configure --prefix=/usr --enable-sage --with-fplll=/usr
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool # fix overlinking
   make
 }
 
 check() {
   cd $pkgname-$pkgver
-# make check
+  make check
 }
 
 package() {

Deleted: linbox-fix-pc.patch
===================================================================
--- linbox-fix-pc.patch	2021-12-14 17:22:47 UTC (rev 1072797)
+++ linbox-fix-pc.patch	2021-12-14 17:27:46 UTC (rev 1072798)
@@ -1,23 +0,0 @@
-Backported from:
-
-From 426eb97ba762c7663884f57ead0909f2aa3cd6a5 Mon Sep 17 00:00:00 2001
-From: Cyril Bouvier <cyril.bouvier at lirmm.fr>
-Date: Thu, 17 Jan 2019 16:32:19 +0100
-Subject: [PATCH] Remove @LINBOXSAGE_LIBS@ from linbox.pc.in
-
----
- linbox.pc.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/linbox.pc.in b/linbox.pc.in
-index 278f127e4..c6b8091eb 100644
---- a/linbox.pc.in
-+++ b/linbox.pc.in
-@@ -9,6 +9,6 @@ Description: Exact Linear Algebra library
- URL: http://github.com/linbox-team/linbox
- Version: @VERSION@
- Requires: fflas-ffpack >= 2.4.0, givaro >= 4.1.0
--Libs: -L${libdir} -llinbox @LINBOXSAGE_LIBS@ @NTL_LIBS@ @MPFR_LIBS@ @FPLLL_LIBS@ @IML_LIBS@ @FLINT_LIBS@ @OCL_LIBS@
-+Libs: -L${libdir} -llinbox @NTL_LIBS@ @MPFR_LIBS@ @FPLLL_LIBS@ @IML_LIBS@ @FLINT_LIBS@ @OCL_LIBS@
- Cflags: @DEFAULT_CFLAGS@ -DDISABLE_COMMENTATOR -I${includedir} @NTL_CFLAGS@ @MPFR_CFLAGS@ @FPLLL_CFLAGS@  @IML_CFLAGS@ @FLINT_CFLAGS@ 
- \-------------------------------------------------------



More information about the arch-commits mailing list