[arch-commits] Commit in e-antic/trunk (PKGBUILD)

2020-07-31 Thread Antonio Rojas via arch-commits
Date: Friday, July 31, 2020 @ 16:42:14
  Author: arojas
Revision: 666262

Update to 0.1.8

Modified:
  e-antic/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-07-31 16:27:59 UTC (rev 666261)
+++ PKGBUILD2020-07-31 16:42:14 UTC (rev 666262)
@@ -1,7 +1,7 @@
 # Maintainer: Antonio Rojas 
 
 pkgname=e-antic
-pkgver=0.1.7
+pkgver=0.1.8
 pkgrel=1
 pkgdesc="Embedded algebraic number fields (on top of antic)"
 arch=(x86_64)
@@ -10,7 +10,7 @@
 depends=(arb)
 makedepends=()
 source=(https://www.labri.fr/perso/vdelecro/e-antic/$pkgname-$pkgver.tar.gz)
-sha256sums=('031a7702296b41a76b17ea9fbca184ac6ffae539d7ed0bdd987c0db1ab825f0a')
+sha256sums=('d8b6c18107756db86c7c4ca1593364e0ba9b4ad125910b45afd7ad5823d7100c')
 
 build() {
   cd $pkgname-$pkgver


[arch-commits] Commit in e-antic/trunk (PKGBUILD)

2020-06-13 Thread Antonio Rojas via arch-commits
Date: Saturday, June 13, 2020 @ 19:32:44
  Author: arojas
Revision: 642959

Update to 0.1.7

Modified:
  e-antic/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-06-13 19:30:36 UTC (rev 642958)
+++ PKGBUILD2020-06-13 19:32:44 UTC (rev 642959)
@@ -1,7 +1,7 @@
 # Maintainer: Antonio Rojas 
 
 pkgname=e-antic
-pkgver=0.1.6
+pkgver=0.1.7
 pkgrel=1
 pkgdesc="Embedded algebraic number fields (on top of antic)"
 arch=(x86_64)
@@ -10,7 +10,7 @@
 depends=(arb)
 makedepends=()
 source=(https://www.labri.fr/perso/vdelecro/e-antic/$pkgname-$pkgver.tar.gz)
-sha256sums=('5f4df48a06074b44c8b4d9f3a4bb3cc07950ed3c4d57c78b22a6aa3eedfc93f5')
+sha256sums=('031a7702296b41a76b17ea9fbca184ac6ffae539d7ed0bdd987c0db1ab825f0a')
 
 build() {
   cd $pkgname-$pkgver


[arch-commits] Commit in e-antic/trunk (PKGBUILD)

2020-06-08 Thread Antonio Rojas via arch-commits
Date: Monday, June 8, 2020 @ 12:20:11
  Author: arojas
Revision: 640563

Update to 0.1.6

Modified:
  e-antic/trunk/PKGBUILD

--+
 PKGBUILD |   14 --
 1 file changed, 4 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-06-08 12:17:07 UTC (rev 640562)
+++ PKGBUILD2020-06-08 12:20:11 UTC (rev 640563)
@@ -1,8 +1,8 @@
 # Maintainer: Antonio Rojas 
 
 pkgname=e-antic
-pkgver=0.1.5
-pkgrel=2
+pkgver=0.1.6
+pkgrel=1
 pkgdesc="Embedded algebraic number fields (on top of antic)"
 arch=(x86_64)
 url="https://github.com/videlec/e-antic;
@@ -9,15 +9,9 @@
 license=(LGPL)
 depends=(arb)
 makedepends=()
-source=(https://www.labri.fr/perso/vdelecro/e-antic/$pkgname-$pkgver.tar.gz
-e-antic-flint-2.6.patch)
-sha256sums=('d935ebaa59fcc6742fa62813f7039def52011f65ce3ed08f2da6ce66224f9859'
-'83d20c2a6617a0389a4a55956aa955e2032894afb15036965c3ff628c525fe62')
+source=(https://www.labri.fr/perso/vdelecro/e-antic/$pkgname-$pkgver.tar.gz)
+sha256sums=('5f4df48a06074b44c8b4d9f3a4bb3cc07950ed3c4d57c78b22a6aa3eedfc93f5')
 
-prepare() {
-  patch -d $pkgname-$pkgver -p1 -i ../e-antic-flint-2.6.patch # Fix build with 
flint 2.6
-}
-
 build() {
   cd $pkgname-$pkgver
   ./configure --prefix=/usr


[arch-commits] Commit in e-antic/trunk (PKGBUILD e-antic-flint-2.6.patch)

2020-06-05 Thread Antonio Rojas via arch-commits
Date: Friday, June 5, 2020 @ 18:41:00
  Author: arojas
Revision: 639181

flint 2.6 rebuild

Added:
  e-antic/trunk/e-antic-flint-2.6.patch
Modified:
  e-antic/trunk/PKGBUILD

-+
 PKGBUILD|   14 ++-
 e-antic-flint-2.6.patch |  182 ++
 2 files changed, 192 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-06-05 18:13:03 UTC (rev 639180)
+++ PKGBUILD2020-06-05 18:41:00 UTC (rev 639181)
@@ -2,7 +2,7 @@
 
 pkgname=e-antic
 pkgver=0.1.5
-pkgrel=1
+pkgrel=2
 pkgdesc="Embedded algebraic number fields (on top of antic)"
 arch=(x86_64)
 url="https://github.com/videlec/e-antic;
@@ -9,9 +9,15 @@
 license=(LGPL)
 depends=(arb)
 makedepends=()
-source=(https://www.labri.fr/perso/vdelecro/e-antic/$pkgname-$pkgver.tar.gz)
-sha256sums=('d935ebaa59fcc6742fa62813f7039def52011f65ce3ed08f2da6ce66224f9859')
+source=(https://www.labri.fr/perso/vdelecro/e-antic/$pkgname-$pkgver.tar.gz
+e-antic-flint-2.6.patch)
+sha256sums=('d935ebaa59fcc6742fa62813f7039def52011f65ce3ed08f2da6ce66224f9859'
+'83d20c2a6617a0389a4a55956aa955e2032894afb15036965c3ff628c525fe62')
 
+prepare() {
+  patch -d $pkgname-$pkgver -p1 -i ../e-antic-flint-2.6.patch # Fix build with 
flint 2.6
+}
+
 build() {
   cd $pkgname-$pkgver
   ./configure --prefix=/usr
@@ -18,7 +24,7 @@
   #https://bugzilla.gnome.org/show_bug.cgi?id=655517
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
 
-  make
+  make -j1
 }
 
 package() {

Added: e-antic-flint-2.6.patch
===
--- e-antic-flint-2.6.patch (rev 0)
+++ e-antic-flint-2.6.patch 2020-06-05 18:41:00 UTC (rev 639181)
@@ -0,0 +1,182 @@
+diff --git a/e-antic/e-antic.h b/e-antic/e-antic.h
+index d941baf..5317bd0 100644
+--- a/e-antic/e-antic.h
 b/e-antic/e-antic.h
+@@ -18,12 +18,6 @@ extern "C" {
+__E_ANTIC_VERSION_MINOR * 100 + \
+__E_ANTIC_VERSION_PATCHLEVEL)
+ 
+-/* check flint version */
+-
+-#if __FLINT_RELEASE != 20502 && __FLINT_RELEASE != 20503
+-#error FLINT 2.5.2 or 2.5.3 required
+-#endif
+-
+ #ifdef __cplusplus
+ }
+ #endif
+diff --git a/e-antic/poly_extra.h b/e-antic/poly_extra.h
+index 9338f29..ee3b98b 100644
+--- a/e-antic/poly_extra.h
 b/e-antic/poly_extra.h
+@@ -100,102 +100,6 @@ void arb_mul_fmpq(arb_t a, const arb_t b, const fmpq_t 
c, slong prec);
+ void arb_div_fmpq(arb_t a, const arb_t b, const fmpq_t c, slong prec);
+ void arb_fmpq_div(arb_t a, const fmpq_t c, const arb_t b, slong prec);
+ 
+-static __inline__
+-int fmpq_equal_fmpz(const fmpq_t a, const fmpz_t b)
+-{
+-return fmpz_is_one(fmpq_denref(a)) && fmpz_equal(fmpq_numref(a), b);
+-}
+-
+-static __inline__
+-int fmpq_equal_si(const fmpq_t a, const slong b)
+-{
+-return fmpz_is_one(fmpq_denref(a)) && fmpz_equal_si(fmpq_numref(a), b);
+-}
+-
+-static __inline__
+-int fmpq_equal_ui(const fmpq_t a, const ulong b)
+-{
+-return fmpz_is_one(fmpq_denref(a)) && fmpz_equal_ui(fmpq_numref(a), b);
+-}
+-
+-static __inline__
+-int fmpq_cmp_fmpz(const fmpq_t a, const fmpz_t b)
+-{
+-int s;
+-fmpz_t den;
+-fmpz_init(den);
+-fmpz_one(den);
+-s = _fmpq_cmp(fmpq_numref(a), fmpq_denref(a), b, den);
+-fmpz_clear(den);
+-return s;
+-}
+-
+-static __inline__
+-int fmpq_cmp_si(const fmpq_t a, slong b)
+-{
+-int s;
+-fmpq_t bb;
+-fmpq_init(bb);
+-fmpz_set_si(fmpq_numref(bb), b);
+-fmpz_one(fmpq_denref(bb));
+-s = fmpq_cmp(a, bb);
+-fmpq_clear(bb);
+-return s;
+-}
+-
+-static __inline__
+-int fmpq_cmp_ui(const fmpq_t a, ulong b)
+-{
+-int s;
+-fmpq_t bb;
+-fmpq_init(bb);
+-fmpz_set_ui(fmpq_numref(bb), b);
+-fmpz_one(fmpq_denref(bb));
+-s = fmpq_cmp(a, bb);
+-fmpq_clear(bb);
+-return s;
+-}
+-
+-static __inline__
+-void fmpq_add_ui(fmpq_t a, const fmpq_t b, ulong c)
+-{
+-fmpz_t tmp;
+-fmpz_init(tmp);
+-fmpz_set_ui(tmp, c);
+-fmpq_add_fmpz(a, b, tmp);
+-fmpz_clear(tmp);
+-}
+-
+-static __inline__
+-void fmpq_sub_ui(fmpq_t a, const fmpq_t b, ulong c)
+-{
+-fmpz_t tmp;
+-fmpz_init(tmp);
+-fmpz_set_ui(tmp, c);
+-fmpq_sub_fmpz(a, b, tmp);
+-fmpz_clear(tmp);
+-}
+-
+-static __inline__
+-void fmpq_mul_si(fmpq_t a, const fmpq_t b, slong c)
+-{
+-fmpz_t tmp;
+-fmpz_init(tmp);
+-fmpz_set_si(tmp, c);
+-fmpq_mul_fmpz(a, b, tmp);
+-fmpz_clear(tmp);
+-}
+-
+-static __inline__
+-void fmpq_mul_ui(fmpq_t a, const fmpq_t b, ulong c)
+-{
+-fmpz_t tmp;
+-fmpz_init(tmp);
+-fmpz_set_ui(tmp, c);
+-fmpq_mul_fmpz(a, b, tmp);
+-fmpz_clear(tmp);
+-}
+-
+ static __inline__
+ void fmpq_div_si(fmpq_t a, const fmpq_t b, slong c)
+ {
+@@ -256,22 +160,6 @@ void fmpz_poly_evaluate_at_one(fmpz_t res, fmpz * p, 
slong len)
+ return _fmpz_vec_sum(res, p, len);
+ 

[arch-commits] Commit in e-antic/trunk (PKGBUILD)

2020-06-05 Thread Antonio Rojas via arch-commits
Date: Friday, June 5, 2020 @ 18:41:59
  Author: arojas
Revision: 639183

flint 2.6 rebuild

Modified:
  e-antic/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-06-05 18:41:18 UTC (rev 639182)
+++ PKGBUILD2020-06-05 18:41:59 UTC (rev 639183)
@@ -24,7 +24,7 @@
   #https://bugzilla.gnome.org/show_bug.cgi?id=655517
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
 
-  make -j1
+  make
 }
 
 package() {


[arch-commits] Commit in e-antic/trunk (PKGBUILD)

2020-03-18 Thread Antonio Rojas via arch-commits
Date: Wednesday, March 18, 2020 @ 22:34:10
  Author: arojas
Revision: 600727

Update to 0.1.5

Modified:
  e-antic/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-03-18 22:34:03 UTC (rev 600726)
+++ PKGBUILD2020-03-18 22:34:10 UTC (rev 600727)
@@ -1,7 +1,7 @@
 # Maintainer: Antonio Rojas 
 
 pkgname=e-antic
-pkgver=0.1.4
+pkgver=0.1.5
 pkgrel=1
 pkgdesc="Embedded algebraic number fields (on top of antic)"
 arch=(x86_64)
@@ -10,7 +10,7 @@
 depends=(arb)
 makedepends=()
 source=(https://www.labri.fr/perso/vdelecro/e-antic/$pkgname-$pkgver.tar.gz)
-sha256sums=('ee6622d666028ff4e2977e3c74f0b8c3dc741d20e90358121ff74999b759a87a')
+sha256sums=('d935ebaa59fcc6742fa62813f7039def52011f65ce3ed08f2da6ce66224f9859')
 
 build() {
   cd $pkgname-$pkgver


[arch-commits] Commit in e-antic/trunk (PKGBUILD)

2020-02-24 Thread Antonio Rojas via arch-commits
Date: Monday, February 24, 2020 @ 21:09:47
  Author: arojas
Revision: 580850

Update to 0.1.4

Modified:
  e-antic/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-02-24 21:07:10 UTC (rev 580849)
+++ PKGBUILD2020-02-24 21:09:47 UTC (rev 580850)
@@ -1,7 +1,7 @@
 # Maintainer: Antonio Rojas 
 
 pkgname=e-antic
-pkgver=0.1.3
+pkgver=0.1.4
 pkgrel=1
 pkgdesc="Embedded algebraic number fields (on top of antic)"
 arch=(x86_64)
@@ -10,7 +10,7 @@
 depends=(arb)
 makedepends=()
 source=(https://www.labri.fr/perso/vdelecro/e-antic/$pkgname-$pkgver.tar.gz)
-sha256sums=('b4cade24a0ff20945b4ed6a18f907731f0a4091f2c09f0f88878306469fe6b9c')
+sha256sums=('ee6622d666028ff4e2977e3c74f0b8c3dc741d20e90358121ff74999b759a87a')
 
 build() {
   cd $pkgname-$pkgver


[arch-commits] Commit in e-antic/trunk (PKGBUILD)

2019-08-05 Thread Antonio Rojas via arch-commits
Date: Monday, August 5, 2019 @ 09:00:15
  Author: arojas
Revision: 497453

https

Modified:
  e-antic/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-08-05 08:59:43 UTC (rev 497452)
+++ PKGBUILD2019-08-05 09:00:15 UTC (rev 497453)
@@ -9,7 +9,7 @@
 license=(LGPL)
 depends=(arb)
 makedepends=()
-source=(http://www.labri.fr/perso/vdelecro/e-antic/$pkgname-$pkgver.tar.gz)
+source=(https://www.labri.fr/perso/vdelecro/e-antic/$pkgname-$pkgver.tar.gz)
 sha256sums=('b4cade24a0ff20945b4ed6a18f907731f0a4091f2c09f0f88878306469fe6b9c')
 
 build() {


[arch-commits] Commit in e-antic/trunk (PKGBUILD)

2019-06-17 Thread Antonio Rojas via arch-commits
Date: Monday, June 17, 2019 @ 17:53:25
  Author: arojas
Revision: 481992

Update to 0.1.3

Modified:
  e-antic/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-06-17 17:15:15 UTC (rev 481991)
+++ PKGBUILD2019-06-17 17:53:25 UTC (rev 481992)
@@ -1,7 +1,7 @@
 # Maintainer: Antonio Rojas 
 
 pkgname=e-antic
-pkgver=0.1.2
+pkgver=0.1.3
 pkgrel=1
 pkgdesc="Embedded algebraic number fields (on top of antic)"
 arch=(x86_64)
@@ -10,7 +10,7 @@
 depends=(arb)
 makedepends=()
 source=(http://www.labri.fr/perso/vdelecro/e-antic/$pkgname-$pkgver.tar.gz)
-sha256sums=('47d30a860fe8153c5f8acea9f9cbfa12319689e54086616c9fd07f17400c153e')
+sha256sums=('b4cade24a0ff20945b4ed6a18f907731f0a4091f2c09f0f88878306469fe6b9c')
 
 build() {
   cd $pkgname-$pkgver