* [gentoo-commits] repo/gentoo:master commit in: dev-libs/igraph/, dev-libs/igraph/files/
@ 2020-12-27 3:56 Sam James
0 siblings, 0 replies; 6+ messages in thread
From: Sam James @ 2020-12-27 3:56 UTC (permalink / raw
To: gentoo-commits
commit: c9ca59f6a13a8015ba32d89019de5e8414fcbc78
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 27 03:55:36 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Dec 27 03:55:36 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9ca59f6
dev-libs/igraph: cleanup old
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-libs/igraph/Manifest | 2 -
dev-libs/igraph/files/igraph-0.7.1-unbundle.patch | 269 ----------------------
dev-libs/igraph/igraph-0.7.1-r2.ebuild | 54 -----
dev-libs/igraph/igraph-0.8.2.ebuild | 59 -----
4 files changed, 384 deletions(-)
diff --git a/dev-libs/igraph/Manifest b/dev-libs/igraph/Manifest
index bf73f764024..862a2b7315f 100644
--- a/dev-libs/igraph/Manifest
+++ b/dev-libs/igraph/Manifest
@@ -1,4 +1,2 @@
-DIST igraph-0.7.1.tar.gz 2967134 BLAKE2B 27f0a2f51e561a3ea2e2e6d31853fe10ffd66f9f67603d77f2c0449a4c2bcd4d45c98516b526fb0f23a871ebe3db1fcf0c691551714d044124778faa147bd30f SHA512 ac7d7e3fbc6d27ae69079224881ca03db2c7e0b50d016706f3e167c614e2c9332c675d2fcd3cde12874e13a8fc402d42222308c6195afadee15152cec93f94dd
-DIST igraph-0.8.2.tar.gz 3625308 BLAKE2B b3be5a28b6507c98c88a96c4a14e6b9c45645985f5b16aaae0739412a5f26a1ccdbda3180fac5d12525b4da2f5fc3d6caad3928cd1306b151b89104bbbb5f6e8 SHA512 e1035ed22541c7d253c201da5d2f8c5ceb154a6bf4be1b41981a02d6bbe72038647bf011432e2446307e615c27aa8079d4ef2c4447c2eba3764788e26e8f790b
DIST igraph-0.8.3.tar.gz 3636192 BLAKE2B 1a6636a074182fc859d7c2982546668b221be8a71b9a8a60404764684b7488a41450cedb75f89558f1ffe6f6dbef298057b5294495f2e7992768f5fd4e40fbd9 SHA512 a25126fd5ee7cf823b6728d02d38c8d13c8561e9f6e10372faef15e98f4381c118f3dd9f308d003d7d18ca501e7055b838711a2a62e00afba32ca929c8d765f1
DIST igraph-0.8.5.tar.gz 3303252 BLAKE2B 9aa920e39a1ef76376eb9a88b6d24e2d051aa22807d4e9bbac49fd1708c59f821d2d4ec55dc96a89de84dfc3ca394e3de9f60704b7f3880a40128863b209d0d6 SHA512 eeb7a21b3a0551e47c178e568811a415e39afb2cc99be39905a15d667fa59564e83979111e1ea5d93636d5b0c7dcbed18728f03aa7ee4d83f96c45af52de8370
diff --git a/dev-libs/igraph/files/igraph-0.7.1-unbundle.patch b/dev-libs/igraph/files/igraph-0.7.1-unbundle.patch
deleted file mode 100644
index 755e749c186..00000000000
--- a/dev-libs/igraph/files/igraph-0.7.1-unbundle.patch
+++ /dev/null
@@ -1,269 +0,0 @@
-diff --git a/configure.ac b/configure.ac
-index acf76cd..a9db7bd 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -167,7 +167,8 @@ if test "x$enable_gmp" != "xno"; then
- AC_CHECK_HEADER([gmp.h], [
- AC_DEFINE([HAVE_GMP], [1], [Define to 1 if you have the GMP library])
- gmp_support=yes
-- LDFLAGS="${LDFLAGS} -lgmp"
-+ GMP_LIBS="-lgmp"
-+ AC_SUBST(GMP_LIBS)
- PKGCONFIG_LIBS_PRIVATE="${PKGCONFIG_LIBS_PRIVATE} -lgmp"
- ])
- ])
-@@ -231,24 +232,16 @@ else
- fi
-
- if test "$internal_blas" = "no"; then
-- AC_CHECK_LIB([blas], [daxpy_], [],
-- AC_CHECK_LIB([blas], [daxpy], [],
-- AC_CHECK_LIB([blas], [DAXPY_], [],
-- AC_CHECK_LIB([blas], [DAXPY], [],
-- [AC_MSG_RESULT(not found, trying to use -lblas anyway.)]))))
-- LDFLAGS="${LDFLAGS} -lblas"
-+ PKG_CHECK_MODULES([BLAS],[blas])
-+ CPPFLAGS="${CPPFLAGS} ${BLAS_CFLAGS}"
- PKGCONFIG_LIBS_PRIVATE="${PKGCONFIG_LIBS_PRIVATE} -lblas"
- else
- AC_DEFINE([INTERNAL_BLAS], [1], [Define to 1 if you use the internal BLAS library])
- fi
-
- if test "$internal_lapack" = "no"; then
-- AC_CHECK_LIB([lapack], [dlarnv_], [],
-- AC_CHECK_LIB([lapack], [dlarnv], [],
-- AC_CHECK_LIB([lapack], [DLARNV_], [],
-- AC_CHECK_LIB([lapack], [DLARNV], [],
-- [AC_MSG_RESULT(not found, trying to use -llapack anyway.)]))))
-- LDFLAGS="${LDFLAGS} -llapack"
-+ PKG_CHECK_MODULES([LAPACK],[lapack])
-+ CPPFLAGS="${CPPFLAGS} ${LAPACK_CFLAGS}"
- PKGCONFIG_LIBS_PRIVATE="${PKGCONFIG_LIBS_PRIVATE} -llapack"
- else
- AC_DEFINE([INTERNAL_LAPACK], [1], [Define to 1 if you use the internal LAPACK library])
-@@ -258,17 +251,15 @@ if test "$internal_arpack" = "no"; then
- if test "$tls_support" = "yes"; then
- AC_MSG_ERROR([Thread-local storage only supported with internal ARPACK library])
- fi
-- AC_CHECK_LIB([arpack], [dsaupd_], [],
-- AC_CHECK_LIB([arpack], [dsaupd], [],
-- AC_CHECK_LIB([arpack], [DSAUPD_], [],
-- AC_CHECK_LIB([arpack], [DSAUPD], [],
-- [AC_MSG_RESULT(not found, trying to use -larpack anyway.)]))))
-- LDFLAGS="${LDFLAGS} -larpack"
-+ PKG_CHECK_MODULES([ARPACK],[arpack])
-+ CPPFLAGS="${CPPFLAGS} ${ARPACK_CFLAGS}"
- PKGCONFIG_LIBS_PRIVATE="${PKGCONFIG_LIBS_PRIVATE} -larpack"
- else
- AC_DEFINE([INTERNAL_ARPACK], [1], [Define to 1 if you use the internal ARPACK library])
- fi
-
-+PKG_CHECK_MODULES([CS],[cxsparse])
-+
- glpk_support=no
- AC_ARG_ENABLE(glpk, AC_HELP_STRING([--disable-glpk], [Compile without the GLPK library]))
- if test "x$enable_glpk" != "xno"; then
-@@ -283,7 +274,8 @@ if test "x$enable_glpk" != "xno"; then
- ], [
- AC_DEFINE([HAVE_GLPK], [1], [Define to 1 if you have the GLPK library])
- glpk_support=yes
-- LDFLAGS="${LDFLAGS} -lglpk"
-+ GLPK_LIBS="-lglpk"
-+ AC_SUBST(GLPK_LIBS)
- PKGCONFIG_LIBS_PRIVATE="${PKGCONFIG_LIBS_PRIVATE} -lglpk"
- ])
- ])
-diff --git a/examples/simple/igraph_arpack_rnsolve.out b/examples/simple/igraph_arpack_rnsolve.out
-index ec38497..6603034 100644
---- a/examples/simple/igraph_arpack_rnsolve.out
-+++ b/examples/simple/igraph_arpack_rnsolve.out
-@@ -16,7 +16,7 @@
- ---
- 22.0483 0
- -21.3281 0
---3.00735 -19.2957
-+-3.00735 19.2957
- ---
- 0.373224 0.226696 0.204213 0.0473383
- -0.289145 -0.296079 -0.0479785 0.156365
-@@ -31,7 +31,7 @@
- ---
- -21.3281 0
- -12.4527 0
---3.00735 -19.2957
-+-3.00735 19.2957
- ---
- -0.226696 0.695866 -0.204213 -0.0473383
- 0.296079 0.120213 0.0479785 -0.156365
-@@ -46,7 +46,7 @@
- ---
- -3.00735 19.2957
- -3.00735 -19.2957
--12.1099 6.27293
-+12.1099 -6.27293
- ---
- 0.0768616 -0.195028 -0.152389 0.21912
- 0.147607 0.0704569 0.346547 0.125122
-diff --git a/examples/simple/igraph_layout_merge2.out b/examples/simple/igraph_layout_merge2.out
-index dfe2c22..9fe81bf 100644
---- a/examples/simple/igraph_layout_merge2.out
-+++ b/examples/simple/igraph_layout_merge2.out
-@@ -1,13 +1,13 @@
---2.73912 -2.95429
---0.479512 -4.00008
--1.96326 -3.51798
--3.65613 -1.69214
--3.95248 0.780051
--2.73912 2.95429
--0.479512 4.00008
---1.96326 3.51798
---3.65613 1.69214
---3.95248 -0.780051
-+-2.55311 -3.13964
-+-0.22007 -4.0407
-+2.19703 -3.39835
-+3.77493 -1.45795
-+3.91094 1.03935
-+2.55311 3.13964
-+0.22007 4.0407
-+-2.19703 3.39835
-+-3.77493 1.45795
-+-3.91094 -1.03935
- -1.6061 6.30088
- -4.92661 5.80435
- -3.69637 8.92826
-diff --git a/examples/simple/igraph_sparsemat2.c b/examples/simple/igraph_sparsemat2.c
-index c39d0e5..fdfd264 100644
---- a/examples/simple/igraph_sparsemat2.c
-+++ b/examples/simple/igraph_sparsemat2.c
-@@ -21,7 +21,7 @@
-
- */
-
--#include <cs/cs.h>
-+#include <cs.h>
- #include <igraph.h>
- #include <igraph_sparsemat.h>
- #include <igraph_blas_internal.h>
-diff --git a/examples/simple/igraph_sparsemat3.c b/examples/simple/igraph_sparsemat3.c
-index 630bf1a..b23cbe1 100644
---- a/examples/simple/igraph_sparsemat3.c
-+++ b/examples/simple/igraph_sparsemat3.c
-@@ -21,7 +21,7 @@
-
- */
-
--#include <cs/cs.h>
-+#include <cs.h>
- #include <igraph.h>
- #include <igraph_sparsemat.h>
-
-diff --git a/examples/simple/igraph_sparsemat4.c b/examples/simple/igraph_sparsemat4.c
-index 4d85bde..7497faf 100644
---- a/examples/simple/igraph_sparsemat4.c
-+++ b/examples/simple/igraph_sparsemat4.c
-@@ -21,7 +21,7 @@
-
- */
-
--#include <cs/cs.h>
-+#include <cs.h>
- #include <igraph.h>
- #include <igraph_sparsemat.h>
-
-diff --git a/src/Makefile.am b/src/Makefile.am
-index e7085c5..194f4a0 100644
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -9,9 +9,6 @@ AM_YFLAGS = -d
-
- lib_LTLIBRARIES = libigraph.la
-
--include lapack/blas.inc
--include lapack/lapack.inc
--include lapack/arpack.inc
- include plfit/plfit.inc
-
- F2C = f2c/abort_.c f2c/dolio.c f2c/r_sin.c\
-@@ -99,8 +96,6 @@ if INTERNAL_ARPACK
- ARPACK_LIB = libarpack.la
- endif
-
--include ../optional/glpk/glpk.inc
--
- if INTERNAL_GLPK
- libglpk_la_SOURCES = $(GLPK)
- libglpk_la_CFLAGS = -I$(top_srcdir)/optional/glpk
-@@ -255,7 +250,7 @@ SOURCES = basic_query.c games.c cocitation.c iterators.c \
- drl_layout_3d.cpp drl_graph_3d.cpp \
- DensityGrid_3d.cpp \
- foreign-dl-parser.y foreign-dl-lexer.l \
-- $(CS) sparsemat.c mixing.c bigint.c bignum.c \
-+ sparsemat.c mixing.c bigint.c bignum.c \
- version.c optimal_modularity.c \
- igraph_fixed_vectorlist.c separators.c \
- igraph_marked_queue.c igraph_estack.c st-cuts.c \
-@@ -274,8 +269,8 @@ libigraph_la_SOURCES = $(SOURCES) $(HEADERS_PRIVATE)
- libigraph_la_CFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include $(WARNING_CFLAGS)
- libigraph_la_CXXFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include $(WARNING_CFLAGS)
- libigraph_la_LDFLAGS = -no-undefined
--libigraph_la_LIBADD = -lm $(XML2_LIBS) $(F2C_LIB) $(BLAS_LIB) \
-- $(LAPACK_LIB) $(ARPACK_LIB) $(GLPK_LIB) $(PRPACK_LIB) \
-+libigraph_la_LIBADD = -lm $(XML2_LIBS) $(F2C_LIB) $(BLAS_LIBS) $(GMP_LIBS) \
-+ $(LAPACK_LIBS) $(ARPACK_LIBS) $(GLPK_LIBS) $(PRPACK_LIB) $(CS_LIBS) \
- $(PLFIT_LIB)
-
- if INTERNAL_GLPK
-diff --git a/src/sparsemat.c b/src/sparsemat.c
-index f96d022..6990c91 100644
---- a/src/sparsemat.c
-+++ b/src/sparsemat.c
-@@ -23,7 +23,7 @@
-
- #include "config.h"
-
--#include "cs/cs.h"
-+#include "cs.h"
-
- #include "igraph_sparsemat.h"
- #include "igraph_error.h"
-diff --git a/tests/Makefile.am b/tests/Makefile.am
-index 6da83b2..c0b82d6 100644
---- a/tests/Makefile.am
-+++ b/tests/Makefile.am
-@@ -13,7 +13,7 @@ $(srcdir)/package.m4: $(top_srcdir)/configure.ac
- echo 'm4_define([AT_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \
- } >$(srcdir)/package.m4
-
--EXTRA_DIST += package.m4
-+#EXTRA_DIST += package.m4
-
- TESTSUITE_AT = \
- testsuite.at \
-diff --git a/tests/mt.at b/tests/mt.at
-index 050974a..9558d6f 100644
---- a/tests/mt.at
-+++ b/tests/mt.at
-@@ -29,5 +29,5 @@ AT_CLEANUP
- AT_SETUP([Thread-safe ARPACK:])
- AT_KEYWORDS([thread-safe ARPACK])
- AT_COMPILE_CHECK([simple/tls2.c], [simple/tls2.out], [], [internal],
-- [-lpthread])
-+ [-lpthread $(${PKG_CONFIG} --libs arpack)])
- AT_CLEANUP
-diff --git a/tests/types.at b/tests/types.at
-index f80a6a2..29ac739 100644
---- a/tests/types.at
-+++ b/tests/types.at
-@@ -133,7 +133,7 @@ AT_CLEANUP
- AT_SETUP([Sparse matrix, multiplications (igraph_sparsemat_t): ])
- AT_KEYWORDS([sparse matrix igraph_sparsemat_t])
- AT_COMPILE_CHECK([simple/igraph_sparsemat2.c], [simple/igraph_sparsemat2.out],
-- [], [INTERNAL], [-lblas])
-+ [], [INTERNAL], [$(${PKG_CONFIG} --libs blas)])
- AT_CLEANUP
-
- AT_SETUP([Sparse matrix, indexing (igraph_sparsemat_t): ])
---
-2.0.0
-
diff --git a/dev-libs/igraph/igraph-0.7.1-r2.ebuild b/dev-libs/igraph/igraph-0.7.1-r2.ebuild
deleted file mode 100644
index b920276602c..00000000000
--- a/dev-libs/igraph/igraph-0.7.1-r2.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools toolchain-funcs
-
-DESCRIPTION="Creating and manipulating undirected and directed graphs"
-HOMEPAGE="http://www.igraph.org/"
-SRC_URI="http://www.igraph.org/nightly/get/c/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0/0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug gmp"
-
-RDEPEND="
- dev-libs/libxml2
- >=sci-libs/arpack-3
- virtual/blas
- virtual/lapack
- >=sci-libs/cxsparse-3
- sci-mathematics/glpk
- gmp? ( dev-libs/gmp:0 )"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=( "${FILESDIR}"/${P}-unbundle.patch )
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- tc-export PKG_CONFIG
- econf \
- $(use_enable gmp) \
- $(use_enable debug) \
- --disable-static \
- --disable-tls \
- --with-external-arpack \
- --with-external-blas \
- --with-external-lapack \
- --with-external-f2c \
- --with-external-glpk
-}
-
-src_install() {
- default
-
- # no static archives
- find "${D}" -name '*.la' -delete || die
-}
diff --git a/dev-libs/igraph/igraph-0.8.2.ebuild b/dev-libs/igraph/igraph-0.8.2.ebuild
deleted file mode 100644
index fbacf2931be..00000000000
--- a/dev-libs/igraph/igraph-0.8.2.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools toolchain-funcs
-
-DESCRIPTION="Creating and manipulating undirected and directed graphs"
-HOMEPAGE="http://www.igraph.org/"
-SRC_URI="https://github.com/igraph/igraph/releases/download/${PV}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0/0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug"
-
-RDEPEND="
- dev-libs/gmp:0
- dev-libs/libxml2
- sci-libs/arpack
- sci-libs/cxsparse
- sci-mathematics/glpk
- virtual/blas
- virtual/lapack"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=( "${FILESDIR}"/${P}-unbundle.patch )
-
-src_prepare() {
- default
- rm -r src/lapack optional/glpk src/cs || die
- eautoreconf
-}
-
-src_configure() {
- # even with --with-external-f2c
- # we don't need f2c as none of
- # arpack lapack blas
- # are internal
- tc-export PKG_CONFIG
- econf \
- $(use_enable debug) \
- --enable-gmp \
- --disable-static \
- --disable-tls \
- --with-external-arpack \
- --with-external-blas \
- --with-external-lapack \
- --with-external-f2c \
- --with-external-glpk
-}
-
-src_install() {
- default
-
- # no static archives
- find "${ED}" -name '*.la' -delete || die
-}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/igraph/, dev-libs/igraph/files/
@ 2021-02-26 17:52 David Seifert
0 siblings, 0 replies; 6+ messages in thread
From: David Seifert @ 2021-02-26 17:52 UTC (permalink / raw
To: gentoo-commits
commit: 79031ffe022736ffab005240ae581035d89635ed
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Fri Feb 26 17:52:45 2021 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Feb 26 17:52:45 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79031ffe
dev-libs/igraph: version bump to 0.9.0
* moves to cmake based build system
Closes: https://github.com/gentoo/gentoo/pull/19659
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
Signed-off-by: David Seifert <soap <AT> gentoo.org>
dev-libs/igraph/Manifest | 1 +
dev-libs/igraph/files/igraph-0.9.0-cmakedirs.patch | 13 ++++++
dev-libs/igraph/igraph-0.9.0.ebuild | 49 ++++++++++++++++++++++
3 files changed, 63 insertions(+)
diff --git a/dev-libs/igraph/Manifest b/dev-libs/igraph/Manifest
index 862a2b7315f..91e5201f303 100644
--- a/dev-libs/igraph/Manifest
+++ b/dev-libs/igraph/Manifest
@@ -1,2 +1,3 @@
DIST igraph-0.8.3.tar.gz 3636192 BLAKE2B 1a6636a074182fc859d7c2982546668b221be8a71b9a8a60404764684b7488a41450cedb75f89558f1ffe6f6dbef298057b5294495f2e7992768f5fd4e40fbd9 SHA512 a25126fd5ee7cf823b6728d02d38c8d13c8561e9f6e10372faef15e98f4381c118f3dd9f308d003d7d18ca501e7055b838711a2a62e00afba32ca929c8d765f1
DIST igraph-0.8.5.tar.gz 3303252 BLAKE2B 9aa920e39a1ef76376eb9a88b6d24e2d051aa22807d4e9bbac49fd1708c59f821d2d4ec55dc96a89de84dfc3ca394e3de9f60704b7f3880a40128863b209d0d6 SHA512 eeb7a21b3a0551e47c178e568811a415e39afb2cc99be39905a15d667fa59564e83979111e1ea5d93636d5b0c7dcbed18728f03aa7ee4d83f96c45af52de8370
+DIST igraph-0.9.0.tar.gz 3752584 BLAKE2B ab8724de1fb57fda1250a9a3e1958609004731f72d38c225c23a94b7ad39af8af7a269bb9e9a2cae28b5d4038acbb0fb4f12bc90831340f59cdafa75f4b7c264 SHA512 ee6ddda3ebb9fb01029a3efbbab2329516d42ecb3030c57e7a78c8d7f28b76650fb4f3245e993cbef6161de6f6a1e0a4f5ba2533cbd8271df72554561b4f407f
diff --git a/dev-libs/igraph/files/igraph-0.9.0-cmakedirs.patch b/dev-libs/igraph/files/igraph-0.9.0-cmakedirs.patch
new file mode 100644
index 00000000000..a7682d41e0a
--- /dev/null
+++ b/dev-libs/igraph/files/igraph-0.9.0-cmakedirs.patch
@@ -0,0 +1,13 @@
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -440,8 +440,8 @@ generate_export_header(igraph
+ include(GNUInstallDirs)
+ install(
+ TARGETS igraph
+- RUNTIME DESTINATION bin
+- LIBRARY DESTINATION lib
++ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
+ )
+ install(
+ DIRECTORY ${CMAKE_SOURCE_DIR}/include/
diff --git a/dev-libs/igraph/igraph-0.9.0.ebuild b/dev-libs/igraph/igraph-0.9.0.ebuild
new file mode 100644
index 00000000000..d825b06fa45
--- /dev/null
+++ b/dev-libs/igraph/igraph-0.9.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="Creating and manipulating undirected and directed graphs"
+HOMEPAGE="http://www.igraph.org/"
+SRC_URI="https://github.com/igraph/igraph/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0/0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug test threads"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-libs/gmp:0=
+ dev-libs/libxml2
+ sci-libs/arpack
+ sci-libs/cxsparse
+ sci-mathematics/glpk:=
+ virtual/blas
+ virtual/lapack"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.9.0-cmakedirs.patch )
+
+src_configure() {
+ local mycmakeargs=(
+ -DUSE_CCACHE=OFF
+ -DIGRAPH_GLPK_SUPPORT=ON
+ -DIGRAPH_GRAPHML_SUPPORT=ON
+ -DIGRAPH_USE_INTERNAL_ARPACK=OFF
+ -DIGRAPH_USE_INTERNAL_BLAS=OFF
+ -DIGRAPH_USE_INTERNAL_CXSPARSE=OFF
+ -DIGRAPH_USE_INTERNAL_GLPK=OFF
+ -DIGRAPH_USE_INTERNAL_GMP=OFF
+ -DIGRAPH_USE_INTERNAL_LAPACK=OFF
+ -DIGRAPH_ENABLE_TLS=$(usex threads)
+ -DBUILD_TESTING=$(usex test)
+ )
+ cmake_src_configure
+}
+
+src_test() {
+ cmake_build check
+}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/igraph/, dev-libs/igraph/files/
@ 2021-04-24 13:00 David Seifert
0 siblings, 0 replies; 6+ messages in thread
From: David Seifert @ 2021-04-24 13:00 UTC (permalink / raw
To: gentoo-commits
commit: d58e270847a30da278f106020df529a8a8c56c48
Author: Aisha Tammy <floss <AT> bsd <DOT> ac>
AuthorDate: Sat Apr 24 12:59:54 2021 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Apr 24 12:59:54 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d58e2708
dev-libs/igraph: version bump to 0.9.2
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
Signed-off-by: David Seifert <soap <AT> gentoo.org>
dev-libs/igraph/Manifest | 1 +
.../files/igraph-0.9.2-disable-broken-tests.patch | 15 +++++++
dev-libs/igraph/igraph-0.9.2.ebuild | 49 ++++++++++++++++++++++
3 files changed, 65 insertions(+)
diff --git a/dev-libs/igraph/Manifest b/dev-libs/igraph/Manifest
index 91e5201f303..e0d5994aead 100644
--- a/dev-libs/igraph/Manifest
+++ b/dev-libs/igraph/Manifest
@@ -1,3 +1,4 @@
DIST igraph-0.8.3.tar.gz 3636192 BLAKE2B 1a6636a074182fc859d7c2982546668b221be8a71b9a8a60404764684b7488a41450cedb75f89558f1ffe6f6dbef298057b5294495f2e7992768f5fd4e40fbd9 SHA512 a25126fd5ee7cf823b6728d02d38c8d13c8561e9f6e10372faef15e98f4381c118f3dd9f308d003d7d18ca501e7055b838711a2a62e00afba32ca929c8d765f1
DIST igraph-0.8.5.tar.gz 3303252 BLAKE2B 9aa920e39a1ef76376eb9a88b6d24e2d051aa22807d4e9bbac49fd1708c59f821d2d4ec55dc96a89de84dfc3ca394e3de9f60704b7f3880a40128863b209d0d6 SHA512 eeb7a21b3a0551e47c178e568811a415e39afb2cc99be39905a15d667fa59564e83979111e1ea5d93636d5b0c7dcbed18728f03aa7ee4d83f96c45af52de8370
DIST igraph-0.9.0.tar.gz 3752584 BLAKE2B ab8724de1fb57fda1250a9a3e1958609004731f72d38c225c23a94b7ad39af8af7a269bb9e9a2cae28b5d4038acbb0fb4f12bc90831340f59cdafa75f4b7c264 SHA512 ee6ddda3ebb9fb01029a3efbbab2329516d42ecb3030c57e7a78c8d7f28b76650fb4f3245e993cbef6161de6f6a1e0a4f5ba2533cbd8271df72554561b4f407f
+DIST igraph-0.9.2.tar.gz 3805091 BLAKE2B aa0e140a9dc8e1005f7f9265aef5880c071fab63c5914c8d93fc7adcbda84d7088678cdb6c277d40bc5998140c70d4a3b359517a4e3583153d1d7233ae8ba42d SHA512 8feb0c23c28e62f1e538fc41917e941f45421060b6240653ee03153b13551c454be019343a314b7913edb9c908518a131034c8e2098d9dd8e5c923fb84d195b3
diff --git a/dev-libs/igraph/files/igraph-0.9.2-disable-broken-tests.patch b/dev-libs/igraph/files/igraph-0.9.2-disable-broken-tests.patch
new file mode 100644
index 00000000000..9bf9ed7bc76
--- /dev/null
+++ b/dev-libs/igraph/files/igraph-0.9.2-disable-broken-tests.patch
@@ -0,0 +1,15 @@
+upstream issue - https://github.com/igraph/igraph/issues/1694
+
+--- a/tests/CMakeLists.txt
++++ b/tests/CMakeLists.txt
+@@ -678,10 +678,8 @@ add_examples(
+ FOLDER examples/simple NAMES
+ igraph_scg_grouping
+ igraph_scg_grouping2
+- igraph_scg_grouping3
+ igraph_scg_grouping4
+ igraph_scg_semiprojectors
+- igraph_scg_semiprojectors2
+ igraph_scg_semiprojectors3
+ scg
+ )
diff --git a/dev-libs/igraph/igraph-0.9.2.ebuild b/dev-libs/igraph/igraph-0.9.2.ebuild
new file mode 100644
index 00000000000..7d9cab59842
--- /dev/null
+++ b/dev-libs/igraph/igraph-0.9.2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="Creating and manipulating undirected and directed graphs"
+HOMEPAGE="http://www.igraph.org/"
+SRC_URI="https://github.com/igraph/igraph/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0/0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug test threads"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-libs/gmp:0=
+ dev-libs/libxml2
+ sci-libs/arpack
+ sci-libs/cxsparse
+ sci-mathematics/glpk:=
+ virtual/blas
+ virtual/lapack"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.9.2-disable-broken-tests.patch )
+
+src_configure() {
+ local mycmakeargs=(
+ -DUSE_CCACHE=OFF
+ -DIGRAPH_GLPK_SUPPORT=ON
+ -DIGRAPH_GRAPHML_SUPPORT=ON
+ -DIGRAPH_USE_INTERNAL_ARPACK=OFF
+ -DIGRAPH_USE_INTERNAL_BLAS=OFF
+ -DIGRAPH_USE_INTERNAL_CXSPARSE=OFF
+ -DIGRAPH_USE_INTERNAL_GLPK=OFF
+ -DIGRAPH_USE_INTERNAL_GMP=OFF
+ -DIGRAPH_USE_INTERNAL_LAPACK=OFF
+ -DIGRAPH_ENABLE_TLS=$(usex threads)
+ -DBUILD_TESTING=$(usex test)
+ )
+ cmake_src_configure
+}
+
+src_test() {
+ cmake_build check
+}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/igraph/, dev-libs/igraph/files/
@ 2021-04-24 13:00 David Seifert
0 siblings, 0 replies; 6+ messages in thread
From: David Seifert @ 2021-04-24 13:00 UTC (permalink / raw
To: gentoo-commits
commit: 21e48f2709365f004bfefd4efe478b64a785ccda
Author: Aisha Tammy <floss <AT> bsd <DOT> ac>
AuthorDate: Sat Apr 24 12:59:57 2021 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Apr 24 12:59:57 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21e48f27
dev-libs/igraph: drop old bugged version
Closes: https://github.com/gentoo/gentoo/pull/20519
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
Signed-off-by: David Seifert <soap <AT> gentoo.org>
dev-libs/igraph/Manifest | 2 -
dev-libs/igraph/files/igraph-0.9.0-cmakedirs.patch | 13 -----
dev-libs/igraph/igraph-0.8.3.ebuild | 59 ----------------------
dev-libs/igraph/igraph-0.9.0.ebuild | 49 ------------------
4 files changed, 123 deletions(-)
diff --git a/dev-libs/igraph/Manifest b/dev-libs/igraph/Manifest
index e0d5994aead..08f741eef1b 100644
--- a/dev-libs/igraph/Manifest
+++ b/dev-libs/igraph/Manifest
@@ -1,4 +1,2 @@
-DIST igraph-0.8.3.tar.gz 3636192 BLAKE2B 1a6636a074182fc859d7c2982546668b221be8a71b9a8a60404764684b7488a41450cedb75f89558f1ffe6f6dbef298057b5294495f2e7992768f5fd4e40fbd9 SHA512 a25126fd5ee7cf823b6728d02d38c8d13c8561e9f6e10372faef15e98f4381c118f3dd9f308d003d7d18ca501e7055b838711a2a62e00afba32ca929c8d765f1
DIST igraph-0.8.5.tar.gz 3303252 BLAKE2B 9aa920e39a1ef76376eb9a88b6d24e2d051aa22807d4e9bbac49fd1708c59f821d2d4ec55dc96a89de84dfc3ca394e3de9f60704b7f3880a40128863b209d0d6 SHA512 eeb7a21b3a0551e47c178e568811a415e39afb2cc99be39905a15d667fa59564e83979111e1ea5d93636d5b0c7dcbed18728f03aa7ee4d83f96c45af52de8370
-DIST igraph-0.9.0.tar.gz 3752584 BLAKE2B ab8724de1fb57fda1250a9a3e1958609004731f72d38c225c23a94b7ad39af8af7a269bb9e9a2cae28b5d4038acbb0fb4f12bc90831340f59cdafa75f4b7c264 SHA512 ee6ddda3ebb9fb01029a3efbbab2329516d42ecb3030c57e7a78c8d7f28b76650fb4f3245e993cbef6161de6f6a1e0a4f5ba2533cbd8271df72554561b4f407f
DIST igraph-0.9.2.tar.gz 3805091 BLAKE2B aa0e140a9dc8e1005f7f9265aef5880c071fab63c5914c8d93fc7adcbda84d7088678cdb6c277d40bc5998140c70d4a3b359517a4e3583153d1d7233ae8ba42d SHA512 8feb0c23c28e62f1e538fc41917e941f45421060b6240653ee03153b13551c454be019343a314b7913edb9c908518a131034c8e2098d9dd8e5c923fb84d195b3
diff --git a/dev-libs/igraph/files/igraph-0.9.0-cmakedirs.patch b/dev-libs/igraph/files/igraph-0.9.0-cmakedirs.patch
deleted file mode 100644
index a7682d41e0a..00000000000
--- a/dev-libs/igraph/files/igraph-0.9.0-cmakedirs.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- a/src/CMakeLists.txt
-+++ b/src/CMakeLists.txt
-@@ -440,8 +440,8 @@ generate_export_header(igraph
- include(GNUInstallDirs)
- install(
- TARGETS igraph
-- RUNTIME DESTINATION bin
-- LIBRARY DESTINATION lib
-+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
-+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
- )
- install(
- DIRECTORY ${CMAKE_SOURCE_DIR}/include/
diff --git a/dev-libs/igraph/igraph-0.8.3.ebuild b/dev-libs/igraph/igraph-0.8.3.ebuild
deleted file mode 100644
index 186bd9a5113..00000000000
--- a/dev-libs/igraph/igraph-0.8.3.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools toolchain-funcs
-
-DESCRIPTION="Creating and manipulating undirected and directed graphs"
-HOMEPAGE="http://www.igraph.org/"
-SRC_URI="https://github.com/igraph/igraph/releases/download/${PV}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0/0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug"
-
-RDEPEND="
- dev-libs/gmp:0=
- dev-libs/libxml2
- sci-libs/arpack
- sci-libs/cxsparse
- sci-mathematics/glpk:=
- virtual/blas
- virtual/lapack"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=( "${FILESDIR}"/${PN}-0.8.2-unbundle.patch )
-
-src_prepare() {
- default
- rm -r src/lapack optional/glpk src/cs || die
- eautoreconf
-}
-
-src_configure() {
- # even with --with-external-f2c
- # we don't need f2c as none of
- # arpack lapack blas
- # are internal
- tc-export PKG_CONFIG
- econf \
- $(use_enable debug) \
- --enable-gmp \
- --disable-static \
- --disable-tls \
- --with-external-arpack \
- --with-external-blas \
- --with-external-lapack \
- --with-external-f2c \
- --with-external-glpk
-}
-
-src_install() {
- default
-
- # no static archives
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/dev-libs/igraph/igraph-0.9.0.ebuild b/dev-libs/igraph/igraph-0.9.0.ebuild
deleted file mode 100644
index d825b06fa45..00000000000
--- a/dev-libs/igraph/igraph-0.9.0.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-DESCRIPTION="Creating and manipulating undirected and directed graphs"
-HOMEPAGE="http://www.igraph.org/"
-SRC_URI="https://github.com/igraph/igraph/releases/download/${PV}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0/0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug test threads"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-libs/gmp:0=
- dev-libs/libxml2
- sci-libs/arpack
- sci-libs/cxsparse
- sci-mathematics/glpk:=
- virtual/blas
- virtual/lapack"
-DEPEND="${RDEPEND}"
-
-PATCHES=( "${FILESDIR}"/${PN}-0.9.0-cmakedirs.patch )
-
-src_configure() {
- local mycmakeargs=(
- -DUSE_CCACHE=OFF
- -DIGRAPH_GLPK_SUPPORT=ON
- -DIGRAPH_GRAPHML_SUPPORT=ON
- -DIGRAPH_USE_INTERNAL_ARPACK=OFF
- -DIGRAPH_USE_INTERNAL_BLAS=OFF
- -DIGRAPH_USE_INTERNAL_CXSPARSE=OFF
- -DIGRAPH_USE_INTERNAL_GLPK=OFF
- -DIGRAPH_USE_INTERNAL_GMP=OFF
- -DIGRAPH_USE_INTERNAL_LAPACK=OFF
- -DIGRAPH_ENABLE_TLS=$(usex threads)
- -DBUILD_TESTING=$(usex test)
- )
- cmake_src_configure
-}
-
-src_test() {
- cmake_build check
-}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/igraph/, dev-libs/igraph/files/
@ 2023-05-14 10:29 Andreas Sturmlechner
0 siblings, 0 replies; 6+ messages in thread
From: Andreas Sturmlechner @ 2023-05-14 10:29 UTC (permalink / raw
To: gentoo-commits
commit: c91f02be8fabeafedbe0684d52b49c25d17c62cc
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun May 14 08:39:08 2023 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun May 14 10:27:54 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c91f02be
dev-libs/igraph: drop 0.9.4
Closes: https://bugs.gentoo.org/905344
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
dev-libs/igraph/Manifest | 1 -
.../files/igraph-0.9.2-disable-broken-tests.patch | 15 -------
dev-libs/igraph/igraph-0.9.4.ebuild | 49 ----------------------
3 files changed, 65 deletions(-)
diff --git a/dev-libs/igraph/Manifest b/dev-libs/igraph/Manifest
index 8114c91c688e..66b81a40a784 100644
--- a/dev-libs/igraph/Manifest
+++ b/dev-libs/igraph/Manifest
@@ -1,2 +1 @@
DIST igraph-0.10.4.tar.gz 4279321 BLAKE2B 4e1fc8e8d6dd38cdb24ec564f51f2924e457376c258497b51d7dd4cec88d2226d5b202cdcfa69560e43fdb3cbd49656511178acd2ed705b4af26b1947a92f1ab SHA512 71bcec5f0ba100aae7614753f9232a4221580b822b4dc120e3a80eab59d70c42aedddb00728eb13faf7e522332c514c2e030314c416ded8a70e5de990ea8039b
-DIST igraph-0.9.4.tar.gz 3823988 BLAKE2B c62f15fd227a83da8a78c2bf569874e290c0f8ffd8c69353de1ff2fbd5dff290eceff2462495efc86f44303f3d9d0d397eba720a743da6c118dacb9eeff1b2b8 SHA512 1188d69b95f581d7dac5874dcdb2d1b1a322e39b275c6f092c199ed6214def814062bd46d573bdaa4bc8f4514d6840c6e93dedbe0f6c99a15de33cbc39356573
diff --git a/dev-libs/igraph/files/igraph-0.9.2-disable-broken-tests.patch b/dev-libs/igraph/files/igraph-0.9.2-disable-broken-tests.patch
deleted file mode 100644
index 9bf9ed7bc764..000000000000
--- a/dev-libs/igraph/files/igraph-0.9.2-disable-broken-tests.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-upstream issue - https://github.com/igraph/igraph/issues/1694
-
---- a/tests/CMakeLists.txt
-+++ b/tests/CMakeLists.txt
-@@ -678,10 +678,8 @@ add_examples(
- FOLDER examples/simple NAMES
- igraph_scg_grouping
- igraph_scg_grouping2
-- igraph_scg_grouping3
- igraph_scg_grouping4
- igraph_scg_semiprojectors
-- igraph_scg_semiprojectors2
- igraph_scg_semiprojectors3
- scg
- )
diff --git a/dev-libs/igraph/igraph-0.9.4.ebuild b/dev-libs/igraph/igraph-0.9.4.ebuild
deleted file mode 100644
index 3e145244190d..000000000000
--- a/dev-libs/igraph/igraph-0.9.4.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-DESCRIPTION="Creating and manipulating undirected and directed graphs"
-HOMEPAGE="http://www.igraph.org/"
-SRC_URI="https://github.com/igraph/igraph/releases/download/${PV}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0/0"
-KEYWORDS="amd64 x86"
-IUSE="debug test threads"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-libs/gmp:0=
- dev-libs/libxml2
- sci-libs/arpack
- sci-libs/cxsparse
- sci-mathematics/glpk:=
- virtual/blas
- virtual/lapack"
-DEPEND="${RDEPEND}"
-
-PATCHES=( "${FILESDIR}"/${PN}-0.9.2-disable-broken-tests.patch )
-
-src_configure() {
- local mycmakeargs=(
- -DUSE_CCACHE=OFF
- -DIGRAPH_GLPK_SUPPORT=ON
- -DIGRAPH_GRAPHML_SUPPORT=ON
- -DIGRAPH_USE_INTERNAL_ARPACK=OFF
- -DIGRAPH_USE_INTERNAL_BLAS=OFF
- -DIGRAPH_USE_INTERNAL_CXSPARSE=OFF
- -DIGRAPH_USE_INTERNAL_GLPK=OFF
- -DIGRAPH_USE_INTERNAL_GMP=OFF
- -DIGRAPH_USE_INTERNAL_LAPACK=OFF
- -DIGRAPH_ENABLE_TLS=$(usex threads)
- -DBUILD_TESTING=$(usex test)
- )
- cmake_src_configure
-}
-
-src_test() {
- cmake_build check
-}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/igraph/, dev-libs/igraph/files/
@ 2024-03-11 14:24 Sam James
0 siblings, 0 replies; 6+ messages in thread
From: Sam James @ 2024-03-11 14:24 UTC (permalink / raw
To: gentoo-commits
commit: 37bd1334b41213813cb38acf46c98b1f80c5fd15
Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Mon Mar 11 04:00:26 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 11 14:22:51 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37bd1334
dev-libs/igraph: add 0.10.10
Include backported patch from upstream which fixes strict-aliasing
violations.
Closes: https://bugs.gentoo.org/924864
Closes: https://bugs.gentoo.org/925227
Closes: https://bugs.gentoo.org/921172
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-libs/igraph/Manifest | 1 +
.../808c083fbe661207ee8f0fcd3be5096b5dc17d0d.patch | 35 ++++++++++++++
dev-libs/igraph/igraph-0.10.10.ebuild | 53 ++++++++++++++++++++++
3 files changed, 89 insertions(+)
diff --git a/dev-libs/igraph/Manifest b/dev-libs/igraph/Manifest
index 66b81a40a784..a03b857e7f2b 100644
--- a/dev-libs/igraph/Manifest
+++ b/dev-libs/igraph/Manifest
@@ -1 +1,2 @@
+DIST igraph-0.10.10.tar.gz 4336247 BLAKE2B cef87afe544d09446c999894c44e1d56120cac74b6af5d749835fbf60e5ae0f1676d6754e084f167d23718c6ce9f7b8cee159d3d670d1d5f1f495775c7b0d2f0 SHA512 d4b8d29f9c39f8390c442877183e64c442fccbc6a02b3aed5c1d8871ca5998d1a168f392f8dde26a8c3593ed6c09a66a200ac1155fbde87d368b101011bb122c
DIST igraph-0.10.4.tar.gz 4279321 BLAKE2B 4e1fc8e8d6dd38cdb24ec564f51f2924e457376c258497b51d7dd4cec88d2226d5b202cdcfa69560e43fdb3cbd49656511178acd2ed705b4af26b1947a92f1ab SHA512 71bcec5f0ba100aae7614753f9232a4221580b822b4dc120e3a80eab59d70c42aedddb00728eb13faf7e522332c514c2e030314c416ded8a70e5de990ea8039b
diff --git a/dev-libs/igraph/files/808c083fbe661207ee8f0fcd3be5096b5dc17d0d.patch b/dev-libs/igraph/files/808c083fbe661207ee8f0fcd3be5096b5dc17d0d.patch
new file mode 100644
index 000000000000..4bf0f2c6c3a9
--- /dev/null
+++ b/dev-libs/igraph/files/808c083fbe661207ee8f0fcd3be5096b5dc17d0d.patch
@@ -0,0 +1,35 @@
+From 808c083fbe661207ee8f0fcd3be5096b5dc17d0d Mon Sep 17 00:00:00 2001
+From: David Seifert <soap@gentoo.org>
+Date: Tue, 5 Mar 2024 14:54:46 +0100
+Subject: [PATCH] Fix `-Wstrict-aliasing`
+
+* Casting a `uint64_t*` to `double*` invokes undefined behavior, since
+ it violates the strict aliasing rules of ISO C. Instead of casting
+ pointers, let's read through a union which is supported by C and
+ yields the same performant assembly code.
+
+Closes: https://bugs.gentoo.org/924864
+---
+ src/random/random.c | 9 +++++++--
+ 1 file changed, 7 insertions(+), 2 deletions(-)
+
+diff --git a/src/random/random.c b/src/random/random.c
+index 8f2d0898aa..b5b44451ae 100644
+--- a/src/random/random.c
++++ b/src/random/random.c
+@@ -681,8 +681,13 @@ igraph_real_t igraph_rng_get_unif01(igraph_rng_t *rng) {
+ * Then we subtract 1 to arrive at the [0; 1) interval. This is fast
+ * but we lose one bit of precision as there are 2^53 possible doubles
+ * between 0 and 1. */
+- uint64_t r = (igraph_i_rng_get_random_bits_uint64(rng, 52) & 0xFFFFFFFFFFFFFull) | 0x3FF0000000000000ull;
+- return *(double *)(&r) - 1.0;
++ union {
++ uint64_t as_uint64_t;
++ double as_double;
++ } value;
++ value.as_uint64_t =
++ (igraph_i_rng_get_random_bits_uint64(rng, 52) & 0xFFFFFFFFFFFFFull) | 0x3FF0000000000000ull;
++ return value.as_double - 1.0;
+ }
+ }
+
diff --git a/dev-libs/igraph/igraph-0.10.10.ebuild b/dev-libs/igraph/igraph-0.10.10.ebuild
new file mode 100644
index 000000000000..f270109ee806
--- /dev/null
+++ b/dev-libs/igraph/igraph-0.10.10.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Creating and manipulating undirected and directed graphs"
+HOMEPAGE="https://igraph.org/"
+SRC_URI="https://github.com/igraph/igraph/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0/0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="debug test threads"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-libs/gmp:0=
+ dev-libs/libxml2
+ sci-libs/arpack
+ sci-mathematics/glpk:=
+ sci-mathematics/plfit
+ virtual/blas
+ virtual/lapack"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ # backport fix for strict-aliasing
+ "${FILESDIR}"/808c083fbe661207ee8f0fcd3be5096b5dc17d0d.patch
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DUSE_CCACHE=OFF
+ -DIGRAPH_GLPK_SUPPORT=ON
+ -DIGRAPH_GRAPHML_SUPPORT=ON
+ -DIGRAPH_USE_INTERNAL_ARPACK=OFF
+ -DIGRAPH_USE_INTERNAL_BLAS=OFF
+ -DIGRAPH_USE_INTERNAL_GLPK=OFF
+ -DIGRAPH_USE_INTERNAL_GMP=OFF
+ -DIGRAPH_USE_INTERNAL_LAPACK=OFF
+ -DIGRAPH_USE_INTERNAL_PLFIT=OFF
+ -DIGRAPH_ENABLE_TLS=$(usex threads)
+ -DBUILD_TESTING=$(usex test)
+ )
+ cmake_src_configure
+}
+
+src_test() {
+ cmake_build check
+}
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2024-03-11 14:24 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-26 17:52 [gentoo-commits] repo/gentoo:master commit in: dev-libs/igraph/, dev-libs/igraph/files/ David Seifert
-- strict thread matches above, loose matches on Subject: below --
2024-03-11 14:24 Sam James
2023-05-14 10:29 Andreas Sturmlechner
2021-04-24 13:00 David Seifert
2021-04-24 13:00 David Seifert
2020-12-27 3:56 Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox