[arch-commits] Commit in arb/repos (6 files)

Antonio Rojas arojas at archlinux.org
Sun Jul 9 22:33:46 UTC 2017


    Date: Sunday, July 9, 2017 @ 22:33:46
  Author: arojas
Revision: 243464

archrelease: copy trunk to community-i686, community-x86_64

Added:
  arb/repos/community-i686/PKGBUILD
    (from rev 243463, arb/trunk/PKGBUILD)
  arb/repos/community-i686/arb-flint-2.5.2.patch
    (from rev 243463, arb/trunk/arb-flint-2.5.2.patch)
  arb/repos/community-x86_64/PKGBUILD
    (from rev 243463, arb/trunk/PKGBUILD)
  arb/repos/community-x86_64/arb-flint-2.5.2.patch
    (from rev 243463, arb/trunk/arb-flint-2.5.2.patch)
Deleted:
  arb/repos/community-i686/PKGBUILD
  arb/repos/community-x86_64/PKGBUILD

----------------------------------------+
 /PKGBUILD                              |   62 +++++++++++++++++++++++++++++++
 community-i686/PKGBUILD                |   24 ------------
 community-i686/arb-flint-2.5.2.patch   |   22 +++++++++++
 community-x86_64/PKGBUILD              |   24 ------------
 community-x86_64/arb-flint-2.5.2.patch |   22 +++++++++++
 5 files changed, 106 insertions(+), 48 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2017-07-09 22:33:11 UTC (rev 243463)
+++ community-i686/PKGBUILD	2017-07-09 22:33:46 UTC (rev 243464)
@@ -1,24 +0,0 @@
-# $Id$
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=arb
-pkgver=2.11.0
-pkgrel=1
-pkgdesc="C library for arbitrary-precision floating-point ball arithmetic"
-arch=(i686 x86_64)
-url="http://fredrikj.net/arb/"
-license=(GPL)
-depends=(flint)
-source=("https://github.com/fredrik-johansson/arb/archive/$pkgver.tar.gz")
-sha256sums=('1191c81074019ed1a8552fbb765709b863f62345d6d4bf204c1cf8a506506ba4')
-
-build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr --with-flint=/usr --with-gmp=/usr --with-mpfr=/usr
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-}

Copied: arb/repos/community-i686/PKGBUILD (from rev 243463, arb/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2017-07-09 22:33:46 UTC (rev 243464)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=arb
+pkgver=2.11.0
+pkgrel=2
+pkgdesc="C library for arbitrary-precision floating-point ball arithmetic"
+arch=(i686 x86_64)
+url="http://fredrikj.net/arb/"
+license=(GPL)
+depends=(flint)
+source=("https://github.com/fredrik-johansson/arb/archive/$pkgver.tar.gz" arb-flint-2.5.2.patch)
+sha256sums=('1191c81074019ed1a8552fbb765709b863f62345d6d4bf204c1cf8a506506ba4'
+            '9956c5340e4925c806c549f132edc04ccb466bd2336c3e6f86f14ec5d3b869a0')
+
+prepare() {
+  cd $pkgname-$pkgver
+# Fix build with flind 2.5.2
+  patch -p1 -i ../arb-flint-2.5.2.patch
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --with-flint=/usr --with-gmp=/usr --with-mpfr=/usr
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Copied: arb/repos/community-i686/arb-flint-2.5.2.patch (from rev 243463, arb/trunk/arb-flint-2.5.2.patch)
===================================================================
--- community-i686/arb-flint-2.5.2.patch	                        (rev 0)
+++ community-i686/arb-flint-2.5.2.patch	2017-07-09 22:33:46 UTC (rev 243464)
@@ -0,0 +1,22 @@
+diff --git a/arb_fmpz_poly/gauss_period_minpoly.c b/arb_fmpz_poly/gauss_period_minpoly.c
+index 3ce304aa..2fba47ea 100644
+--- a/arb_fmpz_poly/gauss_period_minpoly.c
++++ b/arb_fmpz_poly/gauss_period_minpoly.c
+@@ -87,7 +87,7 @@ arb_fmpz_poly_gauss_period_minpoly(fmpz_poly_t res, ulong q, ulong n)
+             {
+                 for (e = 0; e < d / 2; e++)
+                 {
+-                    acb_dirichlet_root(t, zeta, n_mulmod2(gk, es[e], 2 * q), prec);
++                    acb_dirichlet_root(t, zeta, n_mulmod2_preinv(gk, es[e], 2 * q, n_preinvert_limb(2 * q)), prec);
+                     acb_mul_2exp_si(t, t, 1);  /* compute conjugates */
+                     acb_add(u, u, t, prec);
+                 }
+@@ -98,7 +98,7 @@ arb_fmpz_poly_gauss_period_minpoly(fmpz_poly_t res, ulong q, ulong n)
+             {
+                 for (e = 0; e < d; e++)
+                 {
+-                    acb_dirichlet_root(t, zeta, n_mulmod2(gk, es[e], 2 * q), prec);
++                    acb_dirichlet_root(t, zeta, n_mulmod2_preinv(gk, es[e], 2 * q, n_preinvert_limb(2 * q)), prec);
+                     acb_add(u, u, t, prec);
+                 }
+ 

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2017-07-09 22:33:11 UTC (rev 243463)
+++ community-x86_64/PKGBUILD	2017-07-09 22:33:46 UTC (rev 243464)
@@ -1,24 +0,0 @@
-# $Id$
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=arb
-pkgver=2.11.0
-pkgrel=1
-pkgdesc="C library for arbitrary-precision floating-point ball arithmetic"
-arch=(i686 x86_64)
-url="http://fredrikj.net/arb/"
-license=(GPL)
-depends=(flint)
-source=("https://github.com/fredrik-johansson/arb/archive/$pkgver.tar.gz")
-sha256sums=('1191c81074019ed1a8552fbb765709b863f62345d6d4bf204c1cf8a506506ba4')
-
-build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr --with-flint=/usr --with-gmp=/usr --with-mpfr=/usr
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-}

Copied: arb/repos/community-x86_64/PKGBUILD (from rev 243463, arb/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-07-09 22:33:46 UTC (rev 243464)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=arb
+pkgver=2.11.0
+pkgrel=2
+pkgdesc="C library for arbitrary-precision floating-point ball arithmetic"
+arch=(i686 x86_64)
+url="http://fredrikj.net/arb/"
+license=(GPL)
+depends=(flint)
+source=("https://github.com/fredrik-johansson/arb/archive/$pkgver.tar.gz" arb-flint-2.5.2.patch)
+sha256sums=('1191c81074019ed1a8552fbb765709b863f62345d6d4bf204c1cf8a506506ba4'
+            '9956c5340e4925c806c549f132edc04ccb466bd2336c3e6f86f14ec5d3b869a0')
+
+prepare() {
+  cd $pkgname-$pkgver
+# Fix build with flind 2.5.2
+  patch -p1 -i ../arb-flint-2.5.2.patch
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --with-flint=/usr --with-gmp=/usr --with-mpfr=/usr
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Copied: arb/repos/community-x86_64/arb-flint-2.5.2.patch (from rev 243463, arb/trunk/arb-flint-2.5.2.patch)
===================================================================
--- community-x86_64/arb-flint-2.5.2.patch	                        (rev 0)
+++ community-x86_64/arb-flint-2.5.2.patch	2017-07-09 22:33:46 UTC (rev 243464)
@@ -0,0 +1,22 @@
+diff --git a/arb_fmpz_poly/gauss_period_minpoly.c b/arb_fmpz_poly/gauss_period_minpoly.c
+index 3ce304aa..2fba47ea 100644
+--- a/arb_fmpz_poly/gauss_period_minpoly.c
++++ b/arb_fmpz_poly/gauss_period_minpoly.c
+@@ -87,7 +87,7 @@ arb_fmpz_poly_gauss_period_minpoly(fmpz_poly_t res, ulong q, ulong n)
+             {
+                 for (e = 0; e < d / 2; e++)
+                 {
+-                    acb_dirichlet_root(t, zeta, n_mulmod2(gk, es[e], 2 * q), prec);
++                    acb_dirichlet_root(t, zeta, n_mulmod2_preinv(gk, es[e], 2 * q, n_preinvert_limb(2 * q)), prec);
+                     acb_mul_2exp_si(t, t, 1);  /* compute conjugates */
+                     acb_add(u, u, t, prec);
+                 }
+@@ -98,7 +98,7 @@ arb_fmpz_poly_gauss_period_minpoly(fmpz_poly_t res, ulong q, ulong n)
+             {
+                 for (e = 0; e < d; e++)
+                 {
+-                    acb_dirichlet_root(t, zeta, n_mulmod2(gk, es[e], 2 * q), prec);
++                    acb_dirichlet_root(t, zeta, n_mulmod2_preinv(gk, es[e], 2 * q, n_preinvert_limb(2 * q)), prec);
+                     acb_add(u, u, t, prec);
+                 }
+ 



More information about the arch-commits mailing list