[gentoo-commits] repo/gentoo:master commit in: dev-libs/gf2x/

2023-11-24 Thread Michał Górny
commit: 32562aca321ad04c4680d3714f4ade804717c85f
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Nov 24 14:14:37 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Nov 24 14:14:37 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32562aca

dev-libs/gf2x: Stabilize 1.3.0-r1 arm64, #918173

Signed-off-by: Michał Górny  gentoo.org>

 dev-libs/gf2x/gf2x-1.3.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/gf2x/gf2x-1.3.0-r1.ebuild 
b/dev-libs/gf2x/gf2x-1.3.0-r1.ebuild
index 20327bcc95e1..1054fa5e2557 100644
--- a/dev-libs/gf2x/gf2x-1.3.0-r1.ebuild
+++ b/dev-libs/gf2x/gf2x-1.3.0-r1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://gforge.inria.fr/frs/download.php/38243/${P}.tar.gz;
 # License is tricky, see their README
 LICENSE="GPL-3+ GPL-2+"
 SLOT="0/3" # soname major version, defined in configure.ac
-KEYWORDS="amd64 ~arm64 ~loong ppc ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux 
~ppc-macos"
+KEYWORDS="amd64 arm64 ~loong ppc ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux 
~ppc-macos"
 IUSE="fft static-libs custom-tune"
 IUSE_CPU_FLAGS=" pclmul sse2 sse3 sse4_1 ssse3"
 IUSE+=" ${IUSE_CPU_FLAGS// / cpu_flags_x86_}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/gf2x/

2023-11-22 Thread Michael Orlitzky
commit: 1b3c28592ac3b32a726dfbfc03a625e08bab9e68
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Wed Nov 22 22:13:43 2023 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Wed Nov 22 22:13:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b3c2859

dev-libs/gf2x: update LICENSE

Signed-off-by: Michael Orlitzky  gentoo.org>

 dev-libs/gf2x/gf2x-1.3.0-r1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-libs/gf2x/gf2x-1.3.0-r1.ebuild 
b/dev-libs/gf2x/gf2x-1.3.0-r1.ebuild
index 17847f27665f..20327bcc95e1 100644
--- a/dev-libs/gf2x/gf2x-1.3.0-r1.ebuild
+++ b/dev-libs/gf2x/gf2x-1.3.0-r1.ebuild
@@ -10,7 +10,8 @@ HOMEPAGE="https://gitlab.inria.fr/thome/gf2x/ 
https://gforge.inria.fr/projects/g
 # The Gitlab release is missing the autotools files.
 SRC_URI="https://gforge.inria.fr/frs/download.php/38243/${P}.tar.gz;
 
-LICENSE="GPL-2"
+# License is tricky, see their README
+LICENSE="GPL-3+ GPL-2+"
 SLOT="0/3" # soname major version, defined in configure.ac
 KEYWORDS="amd64 ~arm64 ~loong ppc ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux 
~ppc-macos"
 IUSE="fft static-libs custom-tune"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/gf2x/

2023-04-16 Thread WANG Xuerui
commit: d9fed58dec58005cea1e7294c13d971798d9d7e1
Author: WANG Xuerui  gentoo  org>
AuthorDate: Sun Apr 16 05:27:58 2023 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Sun Apr 16 12:03:04 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9fed58d

dev-libs/gf2x: keyword 1.3.0-r1 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 dev-libs/gf2x/gf2x-1.3.0-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/gf2x/gf2x-1.3.0-r1.ebuild 
b/dev-libs/gf2x/gf2x-1.3.0-r1.ebuild
index bb6abab0ffb6..17847f27665f 100644
--- a/dev-libs/gf2x/gf2x-1.3.0-r1.ebuild
+++ b/dev-libs/gf2x/gf2x-1.3.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -12,7 +12,7 @@ 
SRC_URI="https://gforge.inria.fr/frs/download.php/38243/${P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0/3" # soname major version, defined in configure.ac
-KEYWORDS="amd64 ~arm64 ppc ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux 
~ppc-macos"
+KEYWORDS="amd64 ~arm64 ~loong ppc ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux 
~ppc-macos"
 IUSE="fft static-libs custom-tune"
 IUSE_CPU_FLAGS=" pclmul sse2 sse3 sse4_1 ssse3"
 IUSE+=" ${IUSE_CPU_FLAGS// / cpu_flags_x86_}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/gf2x/files/, dev-libs/gf2x/

2022-11-18 Thread Sam James
commit: f0fb5cc9d77001e24b84cf76c19ea1abe88d5e74
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov 19 01:11:09 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov 19 01:34:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0fb5cc9

dev-libs/gf2x: fix configure w/ clang 16

Fixed myself then realised upstream patch, you need to request an account for 
inria
*from a member* so not bothering with strict prototypes...

Closes: https://bugs.gentoo.org/879663
Signed-off-by: Sam James  gentoo.org>

 .../gf2x/files/gf2x-1.3.0-configure-clang16.patch  | 28 ++
 .../{gf2x-1.3.0.ebuild => gf2x-1.3.0-r1.ebuild}|  1 +
 2 files changed, 29 insertions(+)

diff --git a/dev-libs/gf2x/files/gf2x-1.3.0-configure-clang16.patch 
b/dev-libs/gf2x/files/gf2x-1.3.0-configure-clang16.patch
new file mode 100644
index ..df085ef3b694
--- /dev/null
+++ b/dev-libs/gf2x/files/gf2x-1.3.0-configure-clang16.patch
@@ -0,0 +1,28 @@
+https://bugs.gentoo.org/879663
+https://gitlab.inria.fr/gf2x/gf2x/-/commit/a2f0fd388c12ca0b9f4525c6cfbc515418dcbaf8
+
+From a2f0fd388c12ca0b9f4525c6cfbc515418dcbaf8 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Emmanuel=20Thom=C3=A9?= 
+Date: Thu, 17 Sep 2020 23:40:54 +0200
+Subject: [PATCH] fix #include in configure test
+
+See there: https://trac.sagemath.org/ticket/30494
+--- a/config/acinclude.m4
 b/config/acinclude.m4
+@@ -661,6 +661,7 @@ AC_DEFUN([GF2X_PROG_CC_FOR_BUILD_WORKS],
+ # remove anything that might look like compiler output to our "||" expression
+ rm -f conftest* a.out b.out a.exe a_out.exe
+ cat >conftest.c <
+ int
+ main ()
+ {
+@@ -699,6 +700,7 @@ AC_DEFUN([GF2X_PROG_EXEEXT_FOR_BUILD],
+ AC_CACHE_CHECK([for build system executable suffix],
+gf2x_cv_prog_exeext_for_build,
+ [cat >conftest.c <
+ int
+ main ()
+ {
+GitLab

diff --git a/dev-libs/gf2x/gf2x-1.3.0.ebuild 
b/dev-libs/gf2x/gf2x-1.3.0-r1.ebuild
similarity index 97%
rename from dev-libs/gf2x/gf2x-1.3.0.ebuild
rename to dev-libs/gf2x/gf2x-1.3.0-r1.ebuild
index 65685f3dbd3a..bb6abab0ffb6 100644
--- a/dev-libs/gf2x/gf2x-1.3.0.ebuild
+++ b/dev-libs/gf2x/gf2x-1.3.0-r1.ebuild
@@ -20,6 +20,7 @@ IUSE+=" ${IUSE_CPU_FLAGS// / cpu_flags_x86_}"
 PATCHES=(
"${FILESDIR}/fno-common.patch"

"${FILESDIR}/${P}-0001-src-tunefft.c-add-include-statement-for-MIN-and-MAX.patch"
+   "${FILESDIR}/${P}-configure-clang16.patch"
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: dev-libs/gf2x/

2022-11-18 Thread Arthur Zamarin
commit: 442b32e15e11b813c5fe0a48f88395154cab52fc
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Nov 18 17:29:15 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Nov 18 17:29:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=442b32e1

dev-libs/gf2x: Keyword 1.3.0 ppc64, #871921

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/gf2x/gf2x-1.3.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/gf2x/gf2x-1.3.0.ebuild b/dev-libs/gf2x/gf2x-1.3.0.ebuild
index feae5757c6c9..65685f3dbd3a 100644
--- a/dev-libs/gf2x/gf2x-1.3.0.ebuild
+++ b/dev-libs/gf2x/gf2x-1.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -12,7 +12,7 @@ 
SRC_URI="https://gforge.inria.fr/frs/download.php/38243/${P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0/3" # soname major version, defined in configure.ac
-KEYWORDS="amd64 ~arm64 ppc ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ~arm64 ppc ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux 
~ppc-macos"
 IUSE="fft static-libs custom-tune"
 IUSE_CPU_FLAGS=" pclmul sse2 sse3 sse4_1 ssse3"
 IUSE+=" ${IUSE_CPU_FLAGS// / cpu_flags_x86_}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/gf2x/

2021-11-21 Thread Yixun Lan
commit: fe404f4121077acb8a11bcbf5ea030660c2aa4b6
Author: Alex Fan  gmail  com>
AuthorDate: Thu Nov 18 07:21:50 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Nov 22 03:01:10 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe404f41

dev-libs/gf2x: keyword 1.3.0 for ~riscv

Signed-off-by: Alex Fan  gmail.com>
Signed-off-by: Yixun Lan  gentoo.org>

 dev-libs/gf2x/gf2x-1.3.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/gf2x/gf2x-1.3.0.ebuild b/dev-libs/gf2x/gf2x-1.3.0.ebuild
index d879f80de12f..feae5757c6c9 100644
--- a/dev-libs/gf2x/gf2x-1.3.0.ebuild
+++ b/dev-libs/gf2x/gf2x-1.3.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://gforge.inria.fr/frs/download.php/38243/${P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0/3" # soname major version, defined in configure.ac
-KEYWORDS="amd64 ~arm64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ~arm64 ppc ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="fft static-libs custom-tune"
 IUSE_CPU_FLAGS=" pclmul sse2 sse3 sse4_1 ssse3"
 IUSE+=" ${IUSE_CPU_FLAGS// / cpu_flags_x86_}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/gf2x/, dev-libs/gf2x/files/

2021-06-05 Thread Sam James
commit: 9c7b2300d3e47284bbe33a18a20ae80ec5c334c1
Author: Bernd Waibel  posteo  net>
AuthorDate: Sat Jun  5 20:53:44 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun  5 21:26:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c7b2300

dev-libs/gf2x: add missing includes

Add include statement for MIN and MAX declarations

Closes: https://bugs.gentoo.org/719982
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Bernd Waibel  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/21137
Signed-off-by: Sam James  gentoo.org>

 ...t.c-add-include-statement-for-MIN-and-MAX.patch | 29 ++
 dev-libs/gf2x/gf2x-1.3.0.ebuild|  7 --
 2 files changed, 34 insertions(+), 2 deletions(-)

diff --git 
a/dev-libs/gf2x/files/gf2x-1.3.0-0001-src-tunefft.c-add-include-statement-for-MIN-and-MAX.patch
 
b/dev-libs/gf2x/files/gf2x-1.3.0-0001-src-tunefft.c-add-include-statement-for-MIN-and-MAX.patch
new file mode 100644
index 000..cc1bd0f46a9
--- /dev/null
+++ 
b/dev-libs/gf2x/files/gf2x-1.3.0-0001-src-tunefft.c-add-include-statement-for-MIN-and-MAX.patch
@@ -0,0 +1,29 @@
+From 292b5784d907f420886e50d5683517b8fe1abe3c Mon Sep 17 00:00:00 2001
+From: Bernd Waibel 
+Date: Sat, 5 Jun 2021 18:29:08 +0200
+Subject: [PATCH] src/tunefft.c: add include statement for MIN and MAX
+
+Add #include  to have MIN and MAX available
+for next_step function.
+
+Bug: https://bugs.gentoo.org/719982
+Signed-off-by: Bernd Waibel 
+---
+ src/tunefft.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/tunefft.c b/src/tunefft.c
+index a08d82a..f5abc82 100644
+--- a/src/tunefft.c
 b/src/tunefft.c
+@@ -65,6 +65,7 @@
+ #include /* for DBL_MAX */
+ #include 
+ #include   /* for uname */
++#include /* for MIN, MAX */
+ #include "gf2x.h"
+ #include "gf2x/gf2x-impl.h"
+ #include "timing.h"
+-- 
+2.31.1
+

diff --git a/dev-libs/gf2x/gf2x-1.3.0.ebuild b/dev-libs/gf2x/gf2x-1.3.0.ebuild
index 0ff8c7a7a42..d879f80de12 100644
--- a/dev-libs/gf2x/gf2x-1.3.0.ebuild
+++ b/dev-libs/gf2x/gf2x-1.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -17,7 +17,10 @@ IUSE="fft static-libs custom-tune"
 IUSE_CPU_FLAGS=" pclmul sse2 sse3 sse4_1 ssse3"
 IUSE+=" ${IUSE_CPU_FLAGS// / cpu_flags_x86_}"
 
-PATCHES=( "${FILESDIR}/fno-common.patch" )
+PATCHES=(
+   "${FILESDIR}/fno-common.patch"
+   
"${FILESDIR}/${P}-0001-src-tunefft.c-add-include-statement-for-MIN-and-MAX.patch"
+)
 
 src_prepare() {
default



[gentoo-commits] repo/gentoo:master commit in: dev-libs/gf2x/

2020-08-25 Thread Sam James
commit: 04401d8059d5bbe9794b0fca560043ce69ca9b4f
Author: Sam James  gentoo  org>
AuthorDate: Tue Aug 25 10:24:49 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Aug 25 10:24:49 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04401d80

dev-libs/gf2x: arm64 keyworded (bug #734822)

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James  gentoo.org>

 dev-libs/gf2x/gf2x-1.3.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/gf2x/gf2x-1.3.0.ebuild b/dev-libs/gf2x/gf2x-1.3.0.ebuild
index 3c44e414e86..0ff8c7a7a42 100644
--- a/dev-libs/gf2x/gf2x-1.3.0.ebuild
+++ b/dev-libs/gf2x/gf2x-1.3.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://gforge.inria.fr/frs/download.php/38243/${P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0/3" # soname major version, defined in configure.ac
-KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ~arm64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="fft static-libs custom-tune"
 IUSE_CPU_FLAGS=" pclmul sse2 sse3 sse4_1 ssse3"
 IUSE+=" ${IUSE_CPU_FLAGS// / cpu_flags_x86_}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/gf2x/

2020-07-01 Thread Aaron Bauman
commit: ac27dd3b4f1cb822a5ebb26b68b630f97294416b
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Mon Jun 29 19:30:07 2020 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Wed Jul  1 19:59:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac27dd3b

dev-libs/gf2x: use HTTPS

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Michael Mair-Keimberger  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/16493
Signed-off-by: Aaron Bauman  gentoo.org>

 dev-libs/gf2x/gf2x-1.3.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/gf2x/gf2x-1.3.0.ebuild b/dev-libs/gf2x/gf2x-1.3.0.ebuild
index a634e10fbab..3c44e414e86 100644
--- a/dev-libs/gf2x/gf2x-1.3.0.ebuild
+++ b/dev-libs/gf2x/gf2x-1.3.0.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 inherit autotools
 
 DESCRIPTION="C/C++ routines for fast arithmetic in GF(2)[x]"
-HOMEPAGE="https://gitlab.inria.fr/thome/gf2x/ 
http://gforge.inria.fr/projects/gf2x/;
+HOMEPAGE="https://gitlab.inria.fr/thome/gf2x/ 
https://gforge.inria.fr/projects/gf2x/;
 # The Gitlab release is missing the autotools files.
 SRC_URI="https://gforge.inria.fr/frs/download.php/38243/${P}.tar.gz;
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/gf2x/

2020-06-11 Thread Michael Orlitzky
commit: f2d819f1c88f6cd90e365bc7603384f7ee2e9c8a
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Thu Jun 11 12:27:03 2020 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Thu Jun 11 12:31:49 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2d819f1

dev-libs/gf2x: remove old "unused" version 1.2.

The v1.2 ebuild has a different subslot, suggesting that there's some
API breakage, but I've personally been using v1.3.0 with all of its
revdeps so here's hoping that nothing breaks.

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Michael Orlitzky  gentoo.org>

 dev-libs/gf2x/Manifest|  1 -
 dev-libs/gf2x/gf2x-1.2.ebuild | 54 ---
 2 files changed, 55 deletions(-)

diff --git a/dev-libs/gf2x/Manifest b/dev-libs/gf2x/Manifest
index a221ee912f7..bae3b14818a 100644
--- a/dev-libs/gf2x/Manifest
+++ b/dev-libs/gf2x/Manifest
@@ -1,2 +1 @@
-DIST gf2x-1.2.tar.gz 706519 BLAKE2B 
4aa45d10646b51e540be51d0fe3691083c48c666d34e67d50d8f53753c49af2bd9664483618eee5a1883106d1f58ddb28cd4eb02031f13eebe8278630de736f6
 SHA512 
efddad2b99fa103fa77caed4a62f4a763dbff67bc7cf4527bbbf33ca826829e4a4f94e97454ef1a6498bdc2cee8934ff43f9dabf41a4a4f256721527a1dffa30
 DIST gf2x-1.3.0.tar.gz 727717 BLAKE2B 
65f6596a09087708e4ae940b067cb375476c1e7b25a28bf12e9318c752cb326516edeb9363d0f98a9b4173f5bcefd204aa62e1cb87b3f27ad9c30b661edc7451
 SHA512 
4991568032483e0ecb4552a698e5b7d09f80875e54584a0060a9473be1f87e4e8f714e657f08fec0b9fcf493d969408e5a9000f900623b3694aba1ecf6dc239e

diff --git a/dev-libs/gf2x/gf2x-1.2.ebuild b/dev-libs/gf2x/gf2x-1.2.ebuild
deleted file mode 100644
index f8064fb4a29..000
--- a/dev-libs/gf2x/gf2x-1.2.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils autotools ltprune
-
-PACKAGEID=36934 # inriaforge hardcoded ID
-
-DESCRIPTION="C/C++ routines for fast arithmetic in GF(2)[x]"
-HOMEPAGE="http://gf2x.gforge.inria.fr/;
-SRC_URI="http://gforge.inria.fr/frs/download.php/${PACKAGEID}/${P}.tar.gz;
-
-LICENSE="GPL-2"
-SLOT="0/1"
-KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="fft static-libs custom-tune"
-IUSE_CPU_FLAGS=" pclmul sse2 sse3 sse4_1 ssse3"
-IUSE+=" ${IUSE_CPU_FLAGS// / cpu_flags_x86_}"
-
-src_prepare() {
-   default
-   # fix for cross-compiling, avoid ABI detection
-   sed -e 's/VERIFY_WORDSIZE(\[$ABI\].*/echo "skipping ABI check"/' \
-   -e 's/AC_MSG_ERROR(\[already_t.*/echo "skipping ABI check"/' \
-   -i configure.ac || die
-   eautoreconf
-}
-
-src_configure() {
-   econf \
-   $(use_enable cpu_flags_x86_sse2 sse2) \
-   $(use_enable cpu_flags_x86_sse3 sse3) \
-   $(use_enable cpu_flags_x86_ssse3 ssse3) \
-   $(use_enable cpu_flags_x86_sse4_1 sse41) \
-   $(use_enable cpu_flags_x86_pclmul pclmul) \
-   $(use_enable fft fft-interface) \
-   $(use_enable static-libs static)
-}
-
-src_compile() {
-   emake
-   if use custom-tune; then
-   einfo "Starting tuning"
-   emake tune-lowlevel
-   emake tune-toom
-   use fft && emake tune-fft
-   fi
-}
-
-src_install() {
-   default
-   use static-libs || prune_libtool_files --all
-}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/gf2x/

2020-06-11 Thread Agostino Sarubbo
commit: d44cbf282d490c73c4724ffa08d948891c32d098
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jun 11 08:33:25 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jun 11 08:34:27 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d44cbf28

dev-libs/gf2x: x86 stable wrt bug #727726

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/gf2x/gf2x-1.3.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/gf2x/gf2x-1.3.0.ebuild b/dev-libs/gf2x/gf2x-1.3.0.ebuild
index f4987b783c2..a634e10fbab 100644
--- a/dev-libs/gf2x/gf2x-1.3.0.ebuild
+++ b/dev-libs/gf2x/gf2x-1.3.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://gforge.inria.fr/frs/download.php/38243/${P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0/3" # soname major version, defined in configure.ac
-KEYWORDS="amd64 ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="fft static-libs custom-tune"
 IUSE_CPU_FLAGS=" pclmul sse2 sse3 sse4_1 ssse3"
 IUSE+=" ${IUSE_CPU_FLAGS// / cpu_flags_x86_}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/gf2x/

2020-06-11 Thread Agostino Sarubbo
commit: 58c86e1230139c2eb560199bda41eaf5f8a1143d
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jun 11 08:29:36 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jun 11 08:29:45 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58c86e12

dev-libs/gf2x: ppc stable wrt bug #727726

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/gf2x/gf2x-1.3.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/gf2x/gf2x-1.3.0.ebuild b/dev-libs/gf2x/gf2x-1.3.0.ebuild
index 16179cfb90b..f4987b783c2 100644
--- a/dev-libs/gf2x/gf2x-1.3.0.ebuild
+++ b/dev-libs/gf2x/gf2x-1.3.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://gforge.inria.fr/frs/download.php/38243/${P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0/3" # soname major version, defined in configure.ac
-KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="fft static-libs custom-tune"
 IUSE_CPU_FLAGS=" pclmul sse2 sse3 sse4_1 ssse3"
 IUSE+=" ${IUSE_CPU_FLAGS// / cpu_flags_x86_}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/gf2x/

2020-06-11 Thread Agostino Sarubbo
commit: 56625f32658af06c569950eeb13ac7aa72564731
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jun 11 08:25:51 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jun 11 08:25:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56625f32

dev-libs/gf2x: amd64 stable wrt bug #727726

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/gf2x/gf2x-1.3.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/gf2x/gf2x-1.3.0.ebuild b/dev-libs/gf2x/gf2x-1.3.0.ebuild
index 4763099d4a3..16179cfb90b 100644
--- a/dev-libs/gf2x/gf2x-1.3.0.ebuild
+++ b/dev-libs/gf2x/gf2x-1.3.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://gforge.inria.fr/frs/download.php/38243/${P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0/3" # soname major version, defined in configure.ac
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="fft static-libs custom-tune"
 IUSE_CPU_FLAGS=" pclmul sse2 sse3 sse4_1 ssse3"
 IUSE+=" ${IUSE_CPU_FLAGS// / cpu_flags_x86_}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/gf2x/files/, dev-libs/gf2x/

2020-04-26 Thread Michael Orlitzky
commit: 2e663bd0db9b0cc1bdc6136bc392230f759a4d48
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sun Apr 26 18:08:58 2020 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sun Apr 26 18:18:09 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e663bd0

dev-libs/gf2x: new version 1.3.0.

Standard version bump along with some ebuild improvements:

  * EAPI=7.
  * Dropped the unused eutils and replaced the ltprune eclasses.
  * Added the new Gitlab instance to HOMEPAGE.
  * Added a GCC-10.x compatibility patch already merged upstream.
  * Updated the subslot to match the major soname component.

Closes: https://bugs.gentoo.org/719612
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Michael Orlitzky  gentoo.org>

 dev-libs/gf2x/Manifest   |  1 +
 dev-libs/gf2x/files/fno-common.patch | 37 +++
 dev-libs/gf2x/gf2x-1.3.0.ebuild  | 57 
 3 files changed, 95 insertions(+)

diff --git a/dev-libs/gf2x/Manifest b/dev-libs/gf2x/Manifest
index 28e154527b0..a221ee912f7 100644
--- a/dev-libs/gf2x/Manifest
+++ b/dev-libs/gf2x/Manifest
@@ -1 +1,2 @@
 DIST gf2x-1.2.tar.gz 706519 BLAKE2B 
4aa45d10646b51e540be51d0fe3691083c48c666d34e67d50d8f53753c49af2bd9664483618eee5a1883106d1f58ddb28cd4eb02031f13eebe8278630de736f6
 SHA512 
efddad2b99fa103fa77caed4a62f4a763dbff67bc7cf4527bbbf33ca826829e4a4f94e97454ef1a6498bdc2cee8934ff43f9dabf41a4a4f256721527a1dffa30
+DIST gf2x-1.3.0.tar.gz 727717 BLAKE2B 
65f6596a09087708e4ae940b067cb375476c1e7b25a28bf12e9318c752cb326516edeb9363d0f98a9b4173f5bcefd204aa62e1cb87b3f27ad9c30b661edc7451
 SHA512 
4991568032483e0ecb4552a698e5b7d09f80875e54584a0060a9473be1f87e4e8f714e657f08fec0b9fcf493d969408e5a9000f900623b3694aba1ecf6dc239e

diff --git a/dev-libs/gf2x/files/fno-common.patch 
b/dev-libs/gf2x/files/fno-common.patch
new file mode 100644
index 000..bcb4c255707
--- /dev/null
+++ b/dev-libs/gf2x/files/fno-common.patch
@@ -0,0 +1,37 @@
+From 5c8737c5c3170358024a4a969e1386cea15932f3 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky 
+Date: Sun, 26 Apr 2020 09:56:34 -0400
+Subject: [PATCH 1/1] src/tunetoom.c: delete duplicate definition of rp.
+
+The "make tune-toom" command has started failing with gcc-10.x because
+of its new default -fno-common behavior,
+
+  * https://gcc.gnu.org/gcc-10/porting_to.html
+  * https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+
+This leads to an error involving the FILE pointer "rp" that is declared
+in global scope in both src/tunetoom.c and src/tuning-common.c. In this
+case, the declaration in src/tunetoom.c is simply redundant: that file
+includes src/tuning-common.h which already declares "rp" as extern.
+
+Deleting the redeclaration in src/tunetoom.c makes the build succeed.
+---
+ src/tunetoom.c | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/src/tunetoom.c b/src/tunetoom.c
+index 7553e0c..1140606 100644
+--- a/src/tunetoom.c
 b/src/tunetoom.c
+@@ -111,8 +111,6 @@ const char * gf2x_utoom_select_string[] = {
+ [GF2X_SELECT_UNB_TC3U]  = "TC3U",
+ };
+ 
+-FILE *rp;
+-
+ void tunetoom(long tablesz)
+ {
+ long high, n;
+-- 
+2.24.1
+

diff --git a/dev-libs/gf2x/gf2x-1.3.0.ebuild b/dev-libs/gf2x/gf2x-1.3.0.ebuild
new file mode 100644
index 000..4763099d4a3
--- /dev/null
+++ b/dev-libs/gf2x/gf2x-1.3.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="C/C++ routines for fast arithmetic in GF(2)[x]"
+HOMEPAGE="https://gitlab.inria.fr/thome/gf2x/ 
http://gforge.inria.fr/projects/gf2x/;
+# The Gitlab release is missing the autotools files.
+SRC_URI="https://gforge.inria.fr/frs/download.php/38243/${P}.tar.gz;
+
+LICENSE="GPL-2"
+SLOT="0/3" # soname major version, defined in configure.ac
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="fft static-libs custom-tune"
+IUSE_CPU_FLAGS=" pclmul sse2 sse3 sse4_1 ssse3"
+IUSE+=" ${IUSE_CPU_FLAGS// / cpu_flags_x86_}"
+
+PATCHES=( "${FILESDIR}/fno-common.patch" )
+
+src_prepare() {
+   default
+   # fix for cross-compiling, avoid ABI detection
+   sed -e 's/VERIFY_WORDSIZE(\[$ABI\].*/echo "skipping ABI check"/' \
+   -e 's/AC_MSG_ERROR(\[already_t.*/echo "skipping ABI check"/' \
+   -i configure.ac || die
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+   $(use_enable cpu_flags_x86_sse2 sse2) \
+   $(use_enable cpu_flags_x86_sse3 sse3) \
+   $(use_enable cpu_flags_x86_ssse3 ssse3) \
+   $(use_enable cpu_flags_x86_sse4_1 sse41) \
+   $(use_enable cpu_flags_x86_pclmul pclmul) \
+   $(use_enable fft fft-interface) \
+   $(use_enable static-libs static)
+}
+
+src_compile() {
+   emake
+   if use custom-tune; then
+   einfo "Starting tuning"
+   emake 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/gf2x/

2020-04-14 Thread Michael Orlitzky
commit: b5e3f614a3e6d62d003661e61d1300efcd06255e
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Tue Apr 14 14:19:57 2020 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Tue Apr 14 14:20:11 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5e3f614

dev-libs/gf2x: remove old "unused" versions.

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Michael Orlitzky  gentoo.org>

 dev-libs/gf2x/Manifest   |  2 --
 dev-libs/gf2x/gf2x-1.0-r1.ebuild | 38 --
 dev-libs/gf2x/gf2x-1.1.ebuild| 38 --
 dev-libs/gf2x/metadata.xml   | 10 +++---
 4 files changed, 7 insertions(+), 81 deletions(-)

diff --git a/dev-libs/gf2x/Manifest b/dev-libs/gf2x/Manifest
index 6610085e8a7..28e154527b0 100644
--- a/dev-libs/gf2x/Manifest
+++ b/dev-libs/gf2x/Manifest
@@ -1,3 +1 @@
-DIST gf2x-1.0.tar.gz 460810 BLAKE2B 
07aa3faabb2616e11c2620cbb8008dede01f0ec2b338656572d8a86c45b9fd3bc61ec5e5ed97c1f9f8b1ba740a939364f113822f7cb810e362474fc1de09eada
 SHA512 
f4658698972e31428d8349b423762e9ef5aaeb52d8081c9831baa4eb066737ab3e9667a700d5df79e0f0df2626db39f2f994df17da14719506d44dbb9b33af40
-DIST gf2x-1.1.tar.gz 496708 BLAKE2B 
18135d812c09f8ad0dad80ed7c1f58404461b79187ef8f176c9ad73e75de8b5a4a95a29463f57b86816a80ca21324dd2fd4a139531fb69eb4476f45400a497a7
 SHA512 
052cb2152773dc114a2a80cc64cd0679c1f57eceabcdc7cc25987b8d2599fa6d4871b5bb6ff71319727411b9b5aca11e431e43eafa474a419cf306d42d22ac2c
 DIST gf2x-1.2.tar.gz 706519 BLAKE2B 
4aa45d10646b51e540be51d0fe3691083c48c666d34e67d50d8f53753c49af2bd9664483618eee5a1883106d1f58ddb28cd4eb02031f13eebe8278630de736f6
 SHA512 
efddad2b99fa103fa77caed4a62f4a763dbff67bc7cf4527bbbf33ca826829e4a4f94e97454ef1a6498bdc2cee8934ff43f9dabf41a4a4f256721527a1dffa30

diff --git a/dev-libs/gf2x/gf2x-1.0-r1.ebuild b/dev-libs/gf2x/gf2x-1.0-r1.ebuild
deleted file mode 100644
index 98ee76b8615..000
--- a/dev-libs/gf2x/gf2x-1.0-r1.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-inherit autotools-utils
-
-PACKAGEID=27999 # hack
-
-DESCRIPTION="C/C++ routines for fast arithmetic in GF(2)[x]"
-HOMEPAGE="http://gf2x.gforge.inria.fr/;
-SRC_URI="http://gforge.inria.fr/frs/download.php/${PACKAGEID}/${P}.tar.gz;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="bindist static-libs"
-
-src_configure() {
-   local myeconfargs=(
-   ABI=default
-   )
-
-   if use bindist ; then
-   if use x86 ; then
-   myeconfargs+=(
-   --disable-sse2
-   )
-   fi
-   if use amd64 ; then
-   myeconfargs+=(
-   --disable-pclmul
-   )
-   fi
-   fi
-
-   autotools-utils_src_configure
-}

diff --git a/dev-libs/gf2x/gf2x-1.1.ebuild b/dev-libs/gf2x/gf2x-1.1.ebuild
deleted file mode 100644
index 779fbdb0f80..000
--- a/dev-libs/gf2x/gf2x-1.1.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-inherit autotools-utils
-
-PACKAGEID=30873 # hack
-
-DESCRIPTION="C/C++ routines for fast arithmetic in GF(2)[x]"
-HOMEPAGE="http://gf2x.gforge.inria.fr/;
-SRC_URI="http://gforge.inria.fr/frs/download.php/${PACKAGEID}/${P}.tar.gz;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="bindist static-libs"
-
-src_configure() {
-   local myeconfargs=(
-   ABI=default
-   )
-
-   if use bindist ; then
-   if use x86 ; then
-   myeconfargs+=(
-   --disable-sse2
-   )
-   fi
-   if use amd64 ; then
-   myeconfargs+=(
-   --disable-pclmul
-   )
-   fi
-   fi
-
-   autotools-utils_src_configure
-}

diff --git a/dev-libs/gf2x/metadata.xml b/dev-libs/gf2x/metadata.xml
index 3a09b312482..1fea5b4ed1a 100644
--- a/dev-libs/gf2x/metadata.xml
+++ b/dev-libs/gf2x/metadata.xml
@@ -11,8 +11,12 @@
 for irreducible/primitive trinomials.
   
   
-Disable automatic fine-tuning to local processor 
features like pclmul or sse2.
-Extra long compile time for tuning hardware 
specific low-level routines
-Build an FFT API for multiplication of 2 polynomials over 
GF(2)
+
+  Extra long compile time for tuning hardware specific low-level
+  routines
+
+
+  Build an FFT API for multiplication of 2 polynomials over GF(2)
+
   
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/gf2x/

2020-04-14 Thread Agostino Sarubbo
commit: c244a0bf747b571e7221f2e59f1a3f2a29b58f2b
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Apr 14 12:32:19 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Apr 14 12:32:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c244a0bf

dev-libs/gf2x: x86 stable wrt bug #714172

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/gf2x/gf2x-1.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/gf2x/gf2x-1.2.ebuild b/dev-libs/gf2x/gf2x-1.2.ebuild
index cf3175e7df3..f8064fb4a29 100644
--- a/dev-libs/gf2x/gf2x-1.2.ebuild
+++ b/dev-libs/gf2x/gf2x-1.2.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="http://gforge.inria.fr/frs/download.php/${PACKAGEID}/${P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0/1"
-KEYWORDS="amd64 ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="fft static-libs custom-tune"
 IUSE_CPU_FLAGS=" pclmul sse2 sse3 sse4_1 ssse3"
 IUSE+=" ${IUSE_CPU_FLAGS// / cpu_flags_x86_}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/gf2x/

2020-04-08 Thread Sergei Trofimovich
commit: 0b3d03b33b3e6a55b3c96b9e3f44c98f59dddfa0
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Wed Apr  8 06:53:46 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Apr  8 06:53:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b3d03b3

dev-libs/gf2x: stable 1.2 for ppc, bug #714172

Tested-by: ernsteiswuerfel
Package-Manager: Portage-2.3.96, Repoman-2.3.22
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-libs/gf2x/gf2x-1.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/gf2x/gf2x-1.2.ebuild b/dev-libs/gf2x/gf2x-1.2.ebuild
index 0c4b925b8fc..cf3175e7df3 100644
--- a/dev-libs/gf2x/gf2x-1.2.ebuild
+++ b/dev-libs/gf2x/gf2x-1.2.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="http://gforge.inria.fr/frs/download.php/${PACKAGEID}/${P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0/1"
-KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="fft static-libs custom-tune"
 IUSE_CPU_FLAGS=" pclmul sse2 sse3 sse4_1 ssse3"
 IUSE+=" ${IUSE_CPU_FLAGS// / cpu_flags_x86_}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/gf2x/

2020-04-07 Thread Agostino Sarubbo
commit: ba0d3f22b5c319f251cf22aac7e5f080edca8994
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Apr  7 10:31:23 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Apr  7 10:31:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba0d3f22

dev-libs/gf2x: amd64 stable wrt bug #714172

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/gf2x/gf2x-1.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/gf2x/gf2x-1.2.ebuild b/dev-libs/gf2x/gf2x-1.2.ebuild
index 1349549ec75..0c4b925b8fc 100644
--- a/dev-libs/gf2x/gf2x-1.2.ebuild
+++ b/dev-libs/gf2x/gf2x-1.2.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="http://gforge.inria.fr/frs/download.php/${PACKAGEID}/${P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0/1"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="fft static-libs custom-tune"
 IUSE_CPU_FLAGS=" pclmul sse2 sse3 sse4_1 ssse3"
 IUSE+=" ${IUSE_CPU_FLAGS// / cpu_flags_x86_}"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/gf2x/

2017-07-20 Thread Sebastien Fabbro
commit: 08d7b5d5d95d439f16c90c07eac68411c8dc4c50
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Thu Jul 20 23:39:08 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Fri Jul 21 00:22:29 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08d7b5d5

dev-libs/gf2x: version bump with cpu flags

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-libs/gf2x/Manifest|  1 +
 dev-libs/gf2x/gf2x-1.2.ebuild | 54 +++
 dev-libs/gf2x/metadata.xml| 27 +++---
 3 files changed, 69 insertions(+), 13 deletions(-)

diff --git a/dev-libs/gf2x/Manifest b/dev-libs/gf2x/Manifest
index 566ed912f90..08371224db7 100644
--- a/dev-libs/gf2x/Manifest
+++ b/dev-libs/gf2x/Manifest
@@ -1,2 +1,3 @@
 DIST gf2x-1.0.tar.gz 460810 SHA256 
b64ffa9275cc2e995d37bcecbcdce9ba1df1e17d3d31d8685128d00df305e753 SHA512 
f4658698972e31428d8349b423762e9ef5aaeb52d8081c9831baa4eb066737ab3e9667a700d5df79e0f0df2626db39f2f994df17da14719506d44dbb9b33af40
 WHIRLPOOL 
1f4bc9deca4a0e08555800f327b4ad76e58564523271dac29b337fa757e4aebcedec0ed9bfb738e0a24892ac25d9d8d65315a12f462e91d680a908ab1b35b050
 DIST gf2x-1.1.tar.gz 496708 SHA256 
0d3f01604680102a00ca34e079903cc4d5a3208afda223748979b724d358849f SHA512 
052cb2152773dc114a2a80cc64cd0679c1f57eceabcdc7cc25987b8d2599fa6d4871b5bb6ff71319727411b9b5aca11e431e43eafa474a419cf306d42d22ac2c
 WHIRLPOOL 
6336dd24f05b8f18713578b65d129e667029876b3d67ab13113140d73aa7b14f2afbd2f4f2ef15d25470589b15aad382c0efefd3f1d0e47ba5e2bada42ee0580
+DIST gf2x-1.2.tar.gz 706519 SHA256 
61427ffa03b5006aa154def6dce8bcff0fdefb3bd72f43fb1a7b4fdd6b80db34 SHA512 
efddad2b99fa103fa77caed4a62f4a763dbff67bc7cf4527bbbf33ca826829e4a4f94e97454ef1a6498bdc2cee8934ff43f9dabf41a4a4f256721527a1dffa30
 WHIRLPOOL 
e6cc949799b9b2c42d67be57f9cc6a3426311ef829a40f90053a4c37542bf34d9f3e154d3f1dad82096ee37d35603059d6a189d245ad0909f7cb122c3b226c1a

diff --git a/dev-libs/gf2x/gf2x-1.2.ebuild b/dev-libs/gf2x/gf2x-1.2.ebuild
new file mode 100644
index 000..69bc4312a40
--- /dev/null
+++ b/dev-libs/gf2x/gf2x-1.2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils autotools
+
+PACKAGEID=36934 # inriaforge hardcoded ID
+
+DESCRIPTION="C/C++ routines for fast arithmetic in GF(2)[x]"
+HOMEPAGE="http://gf2x.gforge.inria.fr/;
+SRC_URI="http://gforge.inria.fr/frs/download.php/${PACKAGEID}/${P}.tar.gz;
+
+LICENSE="GPL-2"
+SLOT="0/1"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="fft static-libs custom-tune"
+IUSE_CPU_FLAGS=" pclmul sse2 sse3 sse4_1 ssse3"
+IUSE+=" ${IUSE_CPU_FLAGS// / cpu_flags_x86_}"
+
+src_prepare() {
+   default
+   # fix for cross-compiling, avoid ABI detection
+   sed -e 's/VERIFY_WORDSIZE(\[$ABI\].*/echo "skipping ABI check"/' \
+   -e 's/AC_MSG_ERROR(\[already_t.*/echo "skipping ABI check"/' \
+   -i configure.ac || die
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+   $(use_enable cpu_flags_x86_sse2 sse2) \
+   $(use_enable cpu_flags_x86_sse3 sse3) \
+   $(use_enable cpu_flags_x86_ssse3 ssse3) \
+   $(use_enable cpu_flags_x86_sse4_1 sse41) \
+   $(use_enable cpu_flags_x86_pclmul pclmul) \
+   $(use_enable fft fft-interface) \
+   $(use_enable static-libs static)
+}
+
+src_compile() {
+   emake
+   if use custom-tune; then
+   einfo "Starting tuning"
+   emake tune-lowlevel
+   emake tune-toom
+   use fft && emake tune-fft
+   fi
+}
+
+src_install() {
+   default
+   use static-libs || prune_libtool_files --all
+}

diff --git a/dev-libs/gf2x/metadata.xml b/dev-libs/gf2x/metadata.xml
index b6bc45f942c..3a09b312482 100644
--- a/dev-libs/gf2x/metadata.xml
+++ b/dev-libs/gf2x/metadata.xml
@@ -1,17 +1,18 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-  sci-mathemat...@gentoo.org
-  Gentoo Mathematics Project
-   
-   
-  gf2x is a C/C++ software package containing routines for fast
-  arithmetic in GF(2)[x] (multiplication, squaring, GCD) and searching
-  for irreducible/primitive trinomials.
-
-
-  Disable automatic fine-tuning to local
-  processor features like pclmul or sse2.
-
+  
+sci-mathemat...@gentoo.org
+Gentoo Mathematics Project
+  
+  
+gf2x is a C/C++ software package containing routines for fast
+arithmetic in GF(2)[x] (multiplication, squaring, GCD) and searching
+for irreducible/primitive trinomials.
+  
+  
+Disable automatic fine-tuning to local processor 
features like pclmul or sse2.
+Extra long compile time for tuning hardware 
specific low-level routines
+Build an FFT API for multiplication of 2 polynomials over 
GF(2)
+