Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jun 2018 20:03:07 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r471519 - in head/math/givaro: . files
Message-ID:  <201806032003.w53K37mh094549@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Sun Jun  3 20:03:06 2018
New Revision: 471519
URL: https://svnweb.freebsd.org/changeset/ports/471519

Log:
  math/givaro: update 3.8.0 -> 4.0.4, take maintainer, update WWW
  
  Relnotes:	https://github.com/linbox-team/givaro/blob/master/ChangeLog

Added:
  head/math/givaro/files/patch-Makefile.am   (contents, props changed)
  head/math/givaro/files/patch-configure.ac   (contents, props changed)
  head/math/givaro/files/patch-docs-Makefile.am   (contents, props changed)
Deleted:
  head/math/givaro/files/patch-src__library__tools__givtruncdomain.h
Modified:
  head/math/givaro/Makefile
  head/math/givaro/distinfo
  head/math/givaro/pkg-plist

Modified: head/math/givaro/Makefile
==============================================================================
--- head/math/givaro/Makefile	Sun Jun  3 19:54:01 2018	(r471518)
+++ head/math/givaro/Makefile	Sun Jun  3 20:03:06 2018	(r471519)
@@ -1,11 +1,11 @@
 # $FreeBSD$
 
 PORTNAME=	givaro
-PORTVERSION=	3.8.0
+PORTVERSION=	4.0.4
+DISTVERSIONPREFIX=v
 CATEGORIES=	math
-MASTER_SITES=	https://forge.imag.fr/frs/download.php/592/ LOCAL/bf
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	pi@FreeBSD.org
 COMMENT=	C++ library for computer algebra
 
 LICENSE=	CeCILL-Bv1-en.txt
@@ -13,36 +13,27 @@ LICENSE_NAME=	Ce[a] C[nrs] I[nria] L[ogiciel] L[ibre] 
 LICENSE_FILE=	${WRKSRC}/Licence_CeCILL-B_V1-en.txt
 LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
-BROKEN=			unfetchable
-EXPIRATION_DATE=	2018-08-14
-
 LIB_DEPENDS=	libgmp.so:math/gmp
 
-USES=		libtool localbase:ldflags
+USES=		autoreconf compiler:c++11-lang libtool pathfix pkgconfig
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-gmp="${LOCALBASE}"
 USE_LDCONFIG=	yes
 INSTALL_TARGET=	install-strip
 TEST_TARGET=	check
+USE_GITHUB=	yes
+GH_ACCOUNT=	linbox-team
 
-OPTIONS_DEFINE=	DOXYGEN
+OPTIONS_DEFINE=	DOCS
 OPTIONS_SUB=	yes
 
-DOXYGEN_BUILD_DEPENDS=	doxygen:devel/doxygen \
+DOCS_BUILD_DEPENDS=	doxygen:devel/doxygen \
 			dot:graphics/graphviz
-DOXYGEN_CONFIGURE_ON=	--enable-doc --with-docdir=${DOCSDIR}
+DOCS_CONFIGURE_ON=	--enable-doc --with-docdir=${DOCSDIR}
 
-post-patch:
-	@${REINPLACE_CMD} -e '/DEFAULT_CFLAGS=/{s/-O2 //;s/-pipe//;}' \
-		-e '/DEBUG_CFLAGS=.*-DNDEBUG/s/$${DEBUG_CFLAGS} //' \
-		-e '/^WARN_CFLAGS="-Wall"/d' \
-		-e '/if test "x$$WARN" = "xyes"/s/$$/ WARN_CFLAGS="-Wall" ;/' \
-		${WRKSRC}/configure
-	@${REINPLACE_CMD} -e 's/sed -i/& ""/' ${WRKSRC}/docs/Makefile.in
-
-post-install-DOXYGEN-on:
-	@${RMDIR} ${STAGEDIR}${DOCSDIR}/givaro-dev-html
-	@${FIND} ${WRKSRC}/docs/givaro-html -not -type d \
+post-install-DOCS-on:
+	${RMDIR} ${STAGEDIR}${DOCSDIR}/givaro-dev-html
+	${FIND} ${WRKSRC}/docs/givaro-html -not -type d \
 		| ${SED} -ne 's,^${WRKSRC}/docs/givaro-html,${DOCSDIR}/givaro-html,p' >> ${TMPPLIST}
 
 .include <bsd.port.mk>

Modified: head/math/givaro/distinfo
==============================================================================
--- head/math/givaro/distinfo	Sun Jun  3 19:54:01 2018	(r471518)
+++ head/math/givaro/distinfo	Sun Jun  3 20:03:06 2018	(r471519)
@@ -1,2 +1,3 @@
-SHA256 (givaro-3.8.0.tar.gz) = d89728d6ae527e80e9cd48fb40daf9b8a16907ed1b7cb621416a1483b69e42a0
-SIZE (givaro-3.8.0.tar.gz) = 823507
+TIMESTAMP = 1527920972
+SHA256 (linbox-team-givaro-v4.0.4_GH0.tar.gz) = 37dc24e59b34b783094dbb1f6117c9d4bcdf4a8019bd3e2714f2d8b69d8c8f49
+SIZE (linbox-team-givaro-v4.0.4_GH0.tar.gz) = 656583

Added: head/math/givaro/files/patch-Makefile.am
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/givaro/files/patch-Makefile.am	Sun Jun  3 20:03:06 2018	(r471519)
@@ -0,0 +1,11 @@
+--- Makefile.am.orig	2018-06-02 08:08:15 UTC
++++ Makefile.am
+@@ -6,7 +6,7 @@
+ 
+ ACLOCAL_AMFLAGS = -I macros
+ 
+-SUBDIRS=src macros tests docs examples benchmarks
++SUBDIRS=src macros tests docs
+ 
+ include_HEADERS=givaro-config.h
+ 

Added: head/math/givaro/files/patch-configure.ac
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/givaro/files/patch-configure.ac	Sun Jun  3 20:03:06 2018	(r471519)
@@ -0,0 +1,15 @@
+--- configure.ac.orig	2017-11-23 13:32:58 UTC
++++ configure.ac
+@@ -52,11 +52,7 @@ AC_COMPILER_NAME
+ 
+ # We need a C++11 compiler now - AB 2014-12-12
+ # clang-3.8 does not support __float128 without explicitly passing it -std=c++11
+-if test "x${CCNAM}" = "xclang38" ; then
+-   AX_CXX_COMPILE_STDCXX_11([noext],[mandatory])
+-else
+-   AX_CXX_COMPILE_STDCXX_11([ext],[mandatory])
+-fi
++AX_CXX_COMPILE_STDCXX_11([noext],[mandatory])
+ REQUIRED_FLAGS="$CXX11FLAGS"
+ # Add the c++11 flags for the configure compilations as clang needs it to work properly with a glibc++ compiled with gcc
+ BACKUP_CXXFLAGS="${CXXFLAGS}"

Added: head/math/givaro/files/patch-docs-Makefile.am
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/givaro/files/patch-docs-Makefile.am	Sun Jun  3 20:03:06 2018	(r471519)
@@ -0,0 +1,10 @@
+--- docs/Makefile.am.orig	2018-06-03 18:30:38 UTC
++++ docs/Makefile.am
+@@ -21,7 +21,6 @@ install install-data-local: $(USE_TARGETS) $(INSTALL_T
+ if GIVARO_DOXYGEN_FOUND
+ 
+ docs:
+-	sed -i 's/^\\version.*/\\version\ $(VERSION)/' mainpage.doxy
+ 	if test -d givaro-html ; then echo exists; else mkdir givaro-html ; fi
+ 	if test -d givaro-dev-html ; then echo exists; else mkdir givaro-dev-html ; fi
+ 	cp ../INSTALL givaro-html/

Modified: head/math/givaro/pkg-plist
==============================================================================
--- head/math/givaro/pkg-plist	Sun Jun  3 19:54:01 2018	(r471518)
+++ head/math/givaro/pkg-plist	Sun Jun  3 20:03:06 2018	(r471519)
@@ -1,8 +1,16 @@
+%%PORTDOCS%%%%DOCSDIR%%/givaro.html
 bin/givaro-config
 bin/givaro-makefile
 include/givaro-config.h
 include/givaro/StaticElement.h
-include/givaro/giv_randiter.h
+include/givaro/chineseremainder.h
+include/givaro/extension.h
+include/givaro/gf2.h
+include/givaro/gf2.inl
+include/givaro/gfq.h
+include/givaro/gfq.inl
+include/givaro/gfqext.h
+include/givaro/gfqkronecker.h
 include/givaro/givarithmetics.h
 include/givaro/givaromm.h
 include/givaro/givarray0.h
@@ -15,18 +23,12 @@ include/givaro/givbits.inl
 include/givaro/givcaster.h
 include/givaro/givcategory.h
 include/givaro/givconfig.h
-include/givaro/givcra.h
 include/givaro/givdegree.h
 include/givaro/givelem.h
 include/givaro/giverror.h
-include/givaro/givextension.h
 include/givaro/givfixedtrunc.h
 include/givaro/givfractiondomain.h
 include/givaro/givgenarith.h
-include/givaro/givgfq.h
-include/givaro/givgfq.inl
-include/givaro/givgfqext.h
-include/givaro/givgfqkron.h
 include/givaro/givhashtable.h
 include/givaro/givhashtable.inl
 include/givaro/givhighorder.h
@@ -60,9 +62,9 @@ include/givaro/givmatsparseops.inl
 include/givaro/givmatstorage.h
 include/givaro/givmatstoragedense.h
 include/givaro/givmatstoragesparse.h
+include/givaro/givmemorer.h
 include/givaro/givmodule.h
-include/givaro/givmontg32.h
-include/givaro/givmontg32.inl
+include/givaro/givomptimer.h
 include/givaro/givops.h
 include/givaro/givperf.h
 include/givaro/givpointer.h
@@ -89,7 +91,9 @@ include/givaro/givpoly1ratrecon.inl
 include/givaro/givpoly1sqrfree.inl
 include/givaro/givpower.h
 include/givaro/givprimes16.h
+include/givaro/givprint.h
 include/givaro/givquotientdomain.h
+include/givaro/givranditer.h
 include/givaro/givrandom.h
 include/givaro/givrational.h
 include/givaro/givrational.inl
@@ -104,6 +108,7 @@ include/givaro/givstack.h
 include/givaro/givstack.inl
 include/givaro/givstorage.h
 include/givaro/givstoragedense.h
+include/givaro/givstoragesparse.h
 include/givaro/givtablelimits.h
 include/givaro/givtimer.h
 include/givaro/givtruncdomain.h
@@ -115,29 +120,127 @@ include/givaro/givvectordense.inl
 include/givaro/givvectorsparse.h
 include/givaro/givvectorsparse.inl
 include/givaro/givvectsparseops.inl
-include/givaro/givzpz.h
-include/givaro/givzpzGen.h
-include/givaro/givzpzGen.inl
-include/givaro/givzpz16std.h
-include/givaro/givzpz16std.inl
-include/givaro/givzpz16table1.h
-include/givaro/givzpz16table1.inl
-include/givaro/givzpz32std.h
-include/givaro/givzpz32std.inl
-include/givaro/givzpz32uns.h
-include/givaro/givzpz32uns.inl
-include/givaro/givzpz64std.h
-include/givaro/givzpz64std.inl
-include/givaro/givzpzInt.h
-include/givaro/givzpzInt.inl
-include/givaro/givzpztypes.h
+include/givaro/modular-balanced-double.h
+include/givaro/modular-balanced-double.inl
+include/givaro/modular-balanced-float.h
+include/givaro/modular-balanced-float.inl
+include/givaro/modular-balanced-int32.h
+include/givaro/modular-balanced-int32.inl
+include/givaro/modular-balanced-int64.h
+include/givaro/modular-balanced-int64.inl
+include/givaro/modular-balanced.h
+include/givaro/modular-defines.h
+include/givaro/modular-double.h
+include/givaro/modular-double.inl
+include/givaro/modular-extended.h
+include/givaro/modular-extended.inl
+include/givaro/modular-float.h
+include/givaro/modular-float.inl
+include/givaro/modular-general.h
+include/givaro/modular-general.inl
+include/givaro/modular-int16.h
+include/givaro/modular-int16.inl
+include/givaro/modular-int32.h
+include/givaro/modular-int32.inl
+include/givaro/modular-int64.h
+include/givaro/modular-int64.inl
+include/givaro/modular-int8.h
+include/givaro/modular-int8.inl
+include/givaro/modular-integer.h
+include/givaro/modular-integer.inl
+include/givaro/modular-inttype.h
+include/givaro/modular-inttype.inl
+include/givaro/modular-log16.h
+include/givaro/modular-log16.inl
+include/givaro/modular-mulprecomp.inl
+include/givaro/modular-ruint.h
+include/givaro/modular-ruint.inl
+include/givaro/modular-uint16.h
+include/givaro/modular-uint16.inl
+include/givaro/modular-uint32.h
+include/givaro/modular-uint32.inl
+include/givaro/modular-uint64.h
+include/givaro/modular-uint64.inl
+include/givaro/modular-uint8.h
+include/givaro/modular-uint8.inl
+include/givaro/modular.h
+include/givaro/montgomery-int32.h
+include/givaro/montgomery-int32.inl
+include/givaro/montgomery-ruint.h
+include/givaro/montgomery-ruint.inl
+include/givaro/montgomery.h
+include/givaro/random-integer.h
+include/givaro/ring-interface.h
+include/givaro/udl.h
+include/givaro/unparametric-operations.h
+include/givaro/zring.h
 include/gmp++/gmp++.h
 include/gmp++/gmp++_int.h
 include/gmp++/gmp++_int_rand.inl
 include/gmp++/gmp++_rat.h
 include/gmp++/gmp++_rat.inl
+include/recint/radd.h
+include/recint/rcmp.h
+include/recint/rconvert.h
+include/recint/rdisplay.h
+include/recint/rdiv.h
+include/recint/recdefine.h
+include/recint/recint.h
+include/recint/reclonglong.h
+include/recint/rfiddling.h
+include/recint/rint.h
+include/recint/rmadd.h
+include/recint/rmbaddmul.h
+include/recint/rmbexp.h
+include/recint/rmbinv.h
+include/recint/rmbmodule.h
+include/recint/rmbmul.h
+include/recint/rmbreduc.h
+include/recint/rmbrmint.h
+include/recint/rmcmp.h
+include/recint/rmconvert.h
+include/recint/rmdefine.h
+include/recint/rmdisplay.h
+include/recint/rmdiv.h
+include/recint/rmextra.h
+include/recint/rmgaddmul.h
+include/recint/rmgexp.h
+include/recint/rmginv.h
+include/recint/rmgmodule.h
+include/recint/rmgmul.h
+include/recint/rmgreduc.h
+include/recint/rmgrmint.h
+include/recint/rmint.h
+include/recint/rmintmg.h
+include/recint/rmmanip.h
+include/recint/rmmul.h
+include/recint/rmneg.h
+include/recint/rmrandom.h
+include/recint/rmsub.h
+include/recint/rmul.h
+include/recint/rrandom.h
+include/recint/rrint.h
+include/recint/rsub.h
+include/recint/ruadd.h
+include/recint/ruaddmul.h
+include/recint/rucmp.h
+include/recint/ruconvert.h
+include/recint/rudisplay.h
+include/recint/rudiv.h
+include/recint/ruexp.h
+include/recint/rufiddling.h
+include/recint/rugcd.h
+include/recint/ruint.h
+include/recint/ruinvmod.h
+include/recint/rumanip.h
+include/recint/rumul.h
+include/recint/rurandom.h
+include/recint/ruruint.h
+include/recint/rushift.h
+include/recint/rusub.h
+include/recint/rutools.h
 lib/libgivaro.a
 lib/libgivaro.so
-lib/libgivaro.so.0
-lib/libgivaro.so.0.6.0
-%%DOXYGEN%%%%DOCSDIR%%/givaro.html
+lib/libgivaro.so.9
+lib/libgivaro.so.9.0.2
+libdata/pkgconfig/givaro.pc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806032003.w53K37mh094549>