Date: Friday, February 26, 2021 @ 11:04:29 Author: arojas Revision: 874380
archrelease: copy trunk to community-x86_64 Added: igraph/repos/community-x86_64/PKGBUILD (from rev 874379, igraph/trunk/PKGBUILD) igraph/repos/community-x86_64/igraph-fix-symbol.patch (from rev 874379, igraph/trunk/igraph-fix-symbol.patch) Deleted: igraph/repos/community-x86_64/PKGBUILD -------------------------+ PKGBUILD | 68 +++++++++++++++++++++++++--------------------- igraph-fix-symbol.patch | 12 ++++++++ 2 files changed, 49 insertions(+), 31 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-02-26 11:04:12 UTC (rev 874379) +++ PKGBUILD 2021-02-26 11:04:29 UTC (rev 874380) @@ -1,31 +0,0 @@ -# Maintainer: Antonio Rojas <aro...@archlinux.org> -# Contributor: Fazlul Shahriar <fshahr...@gmail.com> -# Contributor: Denis Zawada <d...@bajtogrod.pl> - -pkgname=igraph -pkgver=0.9.0 -pkgrel=1 -pkgdesc="A library for creating and manipulating (un)directed graphs." -arch=(x86_64) -url="https://igraph.org/c/" -license=(GPL2) -depends=(glpk arpack libxml2 suitesparse) -makedepends=(cmake) -source=("https://github.com/igraph/igraph/releases/download/$pkgver/$pkgname-$pkgver.tar.gz") -sha256sums=('012e5d5a50420420588c33ec114c6b3000ccde544db3f25c282c1931c462ad7a') - -build() { - cmake -B build -S $pkgname-$pkgver \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=None \ - -DBUILD_SHARED_LIBS=ON - cmake --build build -} - -check() { - cmake --build build --target check -} - -package() { - DESTDIR="$pkgdir" cmake --install build -} Copied: igraph/repos/community-x86_64/PKGBUILD (from rev 874379, igraph/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-02-26 11:04:29 UTC (rev 874380) @@ -0,0 +1,37 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Fazlul Shahriar <fshahr...@gmail.com> +# Contributor: Denis Zawada <d...@bajtogrod.pl> + +pkgname=igraph +pkgver=0.9.0 +pkgrel=2 +pkgdesc="A library for creating and manipulating (un)directed graphs." +arch=(x86_64) +url="https://igraph.org/c/" +license=(GPL2) +depends=(glpk arpack libxml2 suitesparse) +makedepends=(cmake) +source=("https://github.com/igraph/igraph/releases/download/$pkgver/$pkgname-$pkgver.tar.gz" + igraph-fix-symbol.patch) +sha256sums=('012e5d5a50420420588c33ec114c6b3000ccde544db3f25c282c1931c462ad7a' + '977d9b996746b82d347567b7d069f241833dd95f8b80aec39674cc0e1164eb40') + +prepare() { + patch -d $pkgname-$pkgver -p1 < igraph-fix-symbol.patch # Fix missing igraph_subcomponent symbol https://github.com/igraph/igraph/pull/1705 +} + +build() { + cmake -B build -S $pkgname-$pkgver \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=None \ + -DBUILD_SHARED_LIBS=ON + cmake --build build +} + +check() { + cmake --build build --target check +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} Copied: igraph/repos/community-x86_64/igraph-fix-symbol.patch (from rev 874379, igraph/trunk/igraph-fix-symbol.patch) =================================================================== --- igraph-fix-symbol.patch (rev 0) +++ igraph-fix-symbol.patch 2021-02-26 11:04:29 UTC (rev 874380) @@ -0,0 +1,12 @@ +diff --git a/src/connectivity/components.c b/src/connectivity/components.c +index 71ff01621..bae3d4dad 100644 +--- a/src/connectivity/components.c ++++ b/src/connectivity/components.c +@@ -30,6 +30,7 @@ + #include "igraph_operators.h" + #include "igraph_progress.h" + #include "igraph_stack.h" ++#include "igraph_structural.h" + #include "igraph_vector.h" + + #include "core/interruption.h"