Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[igraph] update to 0.9.9 #25065

Merged
merged 3 commits into from
Jun 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions ports/igraph/glpk-uwp.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/vendor/glpk/env/dlsup.c b/vendor/glpk/env/dlsup.c
index 741354475..968a794b7 100644
--- a/vendor/glpk/env/dlsup.c
+++ b/vendor/glpk/env/dlsup.c
@@ -25,6 +25,8 @@

#include "env.h"

+#undef __WOE__
+
/* GNU version ********************************************************/

#if defined(HAVE_LTDL)
8 changes: 5 additions & 3 deletions ports/igraph/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@
# - The release tarball contains pre-generated parser sources, which eliminates the dependency on bison/flex.

vcpkg_download_distfile(ARCHIVE
URLS "https://github.com/igraph/igraph/releases/download/0.9.8/igraph-0.9.8.tar.gz"
FILENAME "igraph-0.9.8.tar.gz"
SHA512 4f0af3e2b4e2ed782064afc8a7aa0f104c683c35de3f71240d41a1b5097dd41101a483d4e5f9ce4dca1a5ca0bb616e1c125d58ccf50066b1405e8188fe4d796f
URLS "https://github.com/igraph/igraph/releases/download/0.9.9/igraph-0.9.9.tar.gz"
FILENAME "igraph-0.9.9.tar.gz"
SHA512 bbfe8b76e7806ba4c70cbf0dc5ce6724f1805383c1fb6ac05c5cd1bfc829682ff2184e4f836886a562851d1af1384fd7cccb5027c4aa0deadd0e35d50aabb451
)

vcpkg_extract_source_archive_ex(
OUT_SOURCE_PATH SOURCE_PATH
ARCHIVE ${ARCHIVE}
PATCHES
"glpk-uwp.patch" # patch GLPK for UWP compatibility
)

vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
Expand Down
4 changes: 1 addition & 3 deletions ports/igraph/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
{
"name": "igraph",
"version": "0.9.8",
"port-version": 2,
"version": "0.9.9",
"description": "igraph is a C library for network analysis and graph theory, with an emphasis on efficiency portability and ease of use.",
"homepage": "https://igraph.org/",
"license": "GPL-2.0-or-later",
"supports": "!uwp",
"dependencies": [
"blas",
"lapack",
Expand Down
4 changes: 2 additions & 2 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2917,8 +2917,8 @@
"port-version": 4
},
"igraph": {
"baseline": "0.9.8",
"port-version": 2
"baseline": "0.9.9",
"port-version": 0
},
"iir1": {
"baseline": "1.9.1",
Expand Down
5 changes: 5 additions & 0 deletions versions/i-/igraph.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "c374fc0b09a493a6afbd4c009dd43763b2a9132f",
"version": "0.9.9",
"port-version": 0
},
{
"git-tree": "562fb321b0c46134d9b876fe95a3796fd4404b24",
"version": "0.9.8",
Expand Down