pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

+4ti2 in wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamelderouiche%yahoo.com@localhost>
Pushed By:	jihbed
Date:		Sun Nov 13 22:41:13 2022 +0000
Changeset:	4476d771e1dc85708ef1da93a14f9a74924111d0

Modified Files:
	Makefile
Added Files:
	4ti2/DESCR
	4ti2/Makefile
	4ti2/PLIST
	4ti2/distinfo
	4ti2/patches/patch-configure

Log Message:
+4ti2 in wip

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4476d771e1dc85708ef1da93a14f9a74924111d0

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 4ti2/DESCR                   | 19 +++++++++++++
 4ti2/Makefile                | 21 ++++++++++++++
 4ti2/PLIST                   | 46 ++++++++++++++++++++++++++++++
 4ti2/distinfo                |  6 ++++
 4ti2/patches/patch-configure | 67 ++++++++++++++++++++++++++++++++++++++++++++
 Makefile                     |  1 +
 6 files changed, 160 insertions(+)

diffs:
diff --git a/4ti2/DESCR b/4ti2/DESCR
new file mode 100644
index 0000000000..998cfca73c
--- /dev/null
+++ b/4ti2/DESCR
@@ -0,0 +1,19 @@
+4ti2 is a software package for algebraic, geometric and combinatorial problems
+on linear spaces. It computes
+* the circuits of a cone
+* a problem matrix corresponding to graphical statistical models
+* generators for the symmetry group acting on 4-way tables
+* the Graver basis of a matrix or a given lattice
+* a Groebner basis of the toric ideal of a matrix or, more general, of the
+  lattice ideal of a lattice
+* a Markov basis (generating set) of the toric ideal
+* the minimal solution of an integer linear program or, more general, a lattice
+  program, using a Groebner basis
+* the normal form of a list of feasible points
+* the primitive partition identities, that is, the Graver basis of [1 2 3 ... N]
+* a generator description of a cone
+* the extreme rays of a cone
+* the minimal solution of an integer linear program or, more general, a lattice
+  program using a Groebner basis
+* an integer lattice basis
+* solutions of linear inequality and equation systems over the integers
diff --git a/4ti2/Makefile b/4ti2/Makefile
new file mode 100644
index 0000000000..323981ce3c
--- /dev/null
+++ b/4ti2/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD$
+
+GITHUB_PROJECT=	4ti2
+DISTNAME=	4ti2-1.6.9
+CATEGORIES=	math
+MASTER_SITES=	${MASTER_SITE_GITHUB:=4ti2/}
+GITHUB_RELEASE=	Release_1_6_9
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://4ti2.github.io/
+COMMENT=	Solve algebraic, geometric, combinatorial problems on linear spaces
+LICENSE=	gnu-gpl-v2
+
+GNU_CONFIGURE=	yes
+USE_LIBTOOL=	yes
+USE_TOOLS+=	gmake
+USE_LANGUAGES=	c c++ fortran
+
+.include "../../devel/gmp/buildlink3.mk"
+.include "../../math/glpk/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/4ti2/PLIST b/4ti2/PLIST
new file mode 100644
index 0000000000..9a251dcc3e
--- /dev/null
+++ b/4ti2/PLIST
@@ -0,0 +1,46 @@
+@comment $NetBSD$
+bin/genmodel
+bin/gensymm
+bin/graver
+bin/hilbert
+bin/output
+bin/ppi
+bin/zsolve
+include/4ti2/4ti2.h
+include/4ti2/4ti2_config.h
+include/4ti2/4ti2xx.h
+include/util/genmodel.h
+include/util/gensymm.h
+include/util/myheader.h
+include/util/orbit.h
+include/util/output.h
+include/util/print.h
+include/util/vector.h
+include/zsolve/Algorithm.hpp
+include/zsolve/BitSet.h
+include/zsolve/BoundAPI.hpp
+include/zsolve/Controller.hpp
+include/zsolve/DefaultController.hpp
+include/zsolve/Exception.h
+include/zsolve/GraverAPI.hpp
+include/zsolve/Heuristics.hpp
+include/zsolve/HilbertAPI.hpp
+include/zsolve/Integer.h
+include/zsolve/Lattice.hpp
+include/zsolve/LinearSystem.hpp
+include/zsolve/Norms.hpp
+include/zsolve/Options.h
+include/zsolve/RelAPI.h
+include/zsolve/Relation.hpp
+include/zsolve/SignAPI.h
+include/zsolve/Timer.h
+include/zsolve/Variables.hpp
+include/zsolve/Vector.hpp
+include/zsolve/VectorArray.hpp
+include/zsolve/VectorArrayAPI.hpp
+include/zsolve/ZSolveAPI.hpp
+include/zsolve/zsolve.h
+lib/lib4ti2common.la
+lib/lib4ti2util.la
+lib/libzsolve.la
+share/4ti2/doc/4ti2_manual.pdf
diff --git a/4ti2/distinfo b/4ti2/distinfo
new file mode 100644
index 0000000000..c48dfa0344
--- /dev/null
+++ b/4ti2/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+BLAKE2s (4ti2-1.6.9.tar.gz) = 22200d0d02fa7a34c467fcfc8a574217baf73e588906378fa40327dc843a7c97
+SHA512 (4ti2-1.6.9.tar.gz) = ca571cafb3d2f37b49c446f144499c830d940fd6b00c424a442acbbc2d947e52e6b76226769ce678367b45a21e4063da9eea1dc1acc51b45245c2c1edb95e18a
+Size (4ti2-1.6.9.tar.gz) = 5634406 bytes
+SHA1 (patch-configure) = 4f25b169d46b75b2919ae8f26a985f9006fe89a0
diff --git a/4ti2/patches/patch-configure b/4ti2/patches/patch-configure
new file mode 100644
index 0000000000..bf599ab6f8
--- /dev/null
+++ b/4ti2/patches/patch-configure
@@ -0,0 +1,67 @@
+$NetBSD$
+
+--- configure.orig	2015-12-12 05:23:45.000000000 +0000
++++ configure
+@@ -3467,7 +3467,7 @@ else
+   enable_fiber=no
+ fi
+ 
+- if  test x${enable_zsolve} == xyes ; then
++ if  test x${enable_zsolve} = xyes ; then
+   ENABLE_ZSOLVE_TRUE=
+   ENABLE_ZSOLVE_FALSE='#'
+ else
+@@ -3475,7 +3475,7 @@ else
+   ENABLE_ZSOLVE_FALSE=
+ fi
+ 
+- if  test x${enable_fiber} == xyes ; then
++ if  test x${enable_fiber} = xyes ; then
+   ENABLE_FIBER_TRUE=
+   ENABLE_FIBER_FALSE='#'
+ else
+@@ -23237,7 +23237,7 @@ $as_echo_n "checking for GMP >= $min_gmp
+ 
+ for GMP_HOME in ${GMP_HOME_PATH}
+   do
+-	if test "x$GMP_HOME" == "xDEFAULT" -o -r "$GMP_HOME/include/gmp.h"; then
++	if test "x$GMP_HOME" = "xDEFAULT" -o -r "$GMP_HOME/include/gmp.h"; then
+ 
+ 		if test "x$GMP_HOME" != "xDEFAULT" ; then
+ 			GMP_CFLAGS="-I${GMP_HOME}/include"
+@@ -23430,7 +23430,7 @@ Please make sure that GNU MP was configu
+ 4ti2 will be built without support for arbitrary-precision computations." >&2;}
+ fi
+ 
+-if test x${enable_groebner} == xyes ; then
++if test x${enable_groebner} = xyes ; then
+ # Check for GLPK.
+ 
+ DEFAULT_CHECKING_PATH="DEFAULT"
+@@ -23462,7 +23462,7 @@ $as_echo_n "checking for GLPK's glp_ API
+ 
+ for GLPK_HOME in ${GLPK_HOME_PATH}
+   do
+-	if test "x$GLPK_HOME" == "xDEFAULT" -o -r "$GLPK_HOME/include/glpk.h"; then
++	if test "x$GLPK_HOME" = "xDEFAULT" -o -r "$GLPK_HOME/include/glpk.h"; then
+ 
+ 		if test "x$GLPK_HOME" != "xDEFAULT" ; then
+ 			GLPK_CFLAGS="-I${GLPK_HOME}/include"
+@@ -23541,7 +23541,7 @@ LIBS=${BACKUP_LIBS}
+ 
+ 
+ fi
+- if  test x${enable_groebner} == xyes ; then
++ if  test x${enable_groebner} = xyes ; then
+   ENABLE_GROEBNER_TRUE=
+   ENABLE_GROEBNER_FALSE='#'
+ else
+@@ -23729,7 +23729,7 @@ fi
+ 
+ 
+ fi
+- if  test x${enable_swig} == xyes ; then
++ if  test x${enable_swig} = xyes ; then
+   ENABLE_SWIG_TRUE=
+   ENABLE_SWIG_FALSE='#'
+ else
diff --git a/Makefile b/Makefile
index e3f50a17fa..e75315f438 100644
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,7 @@ SUBDIR+=	0ad
 SUBDIR+=	0ad-data
 SUBDIR+=	2048-c
 SUBDIR+=	3dsconv
+SUBDIR+=	4ti2
 SUBDIR+=	64tass
 SUBDIR+=	7z-bin
 SUBDIR+=	8cc-git


Home | Main Index | Thread Index | Old Index