Date: Tuesday, September 6, 2022 @ 21:54:55 Author: arojas Revision: 1295143
archrelease: copy trunk to community-staging-x86_64 Added: rankwidth/repos/community-staging-x86_64/ rankwidth/repos/community-staging-x86_64/PKGBUILD (from rev 1295142, rankwidth/trunk/PKGBUILD) rankwidth/repos/community-staging-x86_64/igraph-0.10.patch (from rev 1295142, rankwidth/trunk/igraph-0.10.patch) -------------------+ PKGBUILD | 30 ++++++++++++++++++++++++++++++ igraph-0.10.patch | 12 ++++++++++++ 2 files changed, 42 insertions(+) Copied: rankwidth/repos/community-staging-x86_64/PKGBUILD (from rev 1295142, rankwidth/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-09-06 21:54:55 UTC (rev 1295143) @@ -0,0 +1,30 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> + +pkgname=rankwidth +pkgver=0.9 +pkgrel=2 +pkgdesc='A program that calculates rank-width and rank-decompositions' +arch=(x86_64) +url='https://sourceforge.net/projects/rankwidth/' +license=(GPL2) +depends=(igraph) +makedepends=() +source=(https://master.dl.sourceforge.net/project/rankwidth/rw-$pkgver.tar.gz + igraph-0.10.patch) +sha256sums=('c1e03506fe25cdfcb428c051fc56b2d2affb5b06fba3f2ce756631466befb441' + '328d8ee4aeac26cbd104c02e156cf511aeb736d1a1a6903071c055714bb9c4c4') + +prepare() { + patch -d rw-$pkgver -p1 < igraph-0.10.patch # Fix build with igraph 0.10 +} + +build() { + cd rw-$pkgver + ./configure --prefix=/usr + make +} + +package() { + cd rw-$pkgver + make install DESTDIR="$pkgdir" +} Copied: rankwidth/repos/community-staging-x86_64/igraph-0.10.patch (from rev 1295142, rankwidth/trunk/igraph-0.10.patch) =================================================================== --- community-staging-x86_64/igraph-0.10.patch (rev 0) +++ community-staging-x86_64/igraph-0.10.patch 2022-09-06 21:54:55 UTC (rev 1295143) @@ -0,0 +1,12 @@ +diff -ru rw-0.9.orig/simplerw.c rw-0.9/simplerw.c +--- rw-0.9.orig/simplerw.c 2022-09-06 23:46:51.140196431 +0200 ++++ rw-0.9/simplerw.c 2022-09-06 23:51:48.752989556 +0200 +@@ -134,7 +134,7 @@ + igraph_destroy(&igraph); + return(-1); + } +- igraph_get_adjacency(&igraph, &imatrix, IGRAPH_GET_ADJACENCY_BOTH, 0); ++ igraph_get_adjacency(&igraph, &imatrix, IGRAPH_GET_ADJACENCY_BOTH, 0, 0); + igraph_destroy(&igraph); + if(igraph_matrix_nrow(&imatrix) > MAX_VERTICES) + {