Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New packages: SuiteSparse-5.10.1, igraph-0.9.4, rankwidth-0.9
@ 2021-11-09  1:44 tornaria
  2021-11-09 23:15 ` leahneukirchen
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: tornaria @ 2021-11-09  1:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 528 bytes --]

There is a new pull request by tornaria against master on the void-packages repository

https://github.com/tornaria/void-packages graphs
https://github.com/void-linux/void-packages/pull/33971

New packages: SuiteSparse-5.10.1, igraph-0.9.4, rankwidth-0.9
Dependency for sage. I compiled sage-9.4 using this (maybe I should add: it is the sage I use every day).

I placed these three packages in one PR because of their dependency.



A patch file from https://github.com/void-linux/void-packages/pull/33971.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-graphs-33971.patch --]
[-- Type: text/x-diff, Size: 7202 bytes --]

From a3fc1a0faff8587a9ddf698d0569ba3ab5076064 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 30 Aug 2021 22:34:53 -0300
Subject: [PATCH 1/3] New package: SuiteSparse-5.10.1

---
 common/shlibs                |  1 +
 srcpkgs/SuiteSparse-devel    |  1 +
 srcpkgs/SuiteSparse/template | 42 ++++++++++++++++++++++++++++++++++++
 3 files changed, 44 insertions(+)
 create mode 120000 srcpkgs/SuiteSparse-devel
 create mode 100644 srcpkgs/SuiteSparse/template

diff --git a/common/shlibs b/common/shlibs
index 52c2f17b7198..d40f9178b0d7 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -66,6 +66,7 @@ libppl.so.14 ppl-1.2_1
 libppl_c.so.4 ppl-0.11_1
 libstdc++.so.6 libstdc++-4.4.0_1
 libssp.so.0 libssp-4.4.0_1
+libcxsparse.so.3 SuiteSparse-5.10.1_1
 libncurses.so.6 ncurses-libs-6.0_1 ignore
 libncursesw.so.6 ncurses-libs-5.8_1 ignore
 libtinfo.so.6 ncurses-libtinfo-libs-6.2_2
diff --git a/srcpkgs/SuiteSparse-devel b/srcpkgs/SuiteSparse-devel
new file mode 120000
index 000000000000..cfb45e420a6f
--- /dev/null
+++ b/srcpkgs/SuiteSparse-devel
@@ -0,0 +1 @@
+SuiteSparse
\ No newline at end of file
diff --git a/srcpkgs/SuiteSparse/template b/srcpkgs/SuiteSparse/template
new file mode 100644
index 000000000000..23f75ff6dd7a
--- /dev/null
+++ b/srcpkgs/SuiteSparse/template
@@ -0,0 +1,42 @@
+# Template file for 'SuiteSparse'
+pkgname=SuiteSparse
+version=5.10.1
+revision=1
+make_build_args="BLAS=-lblas LAPACK=-llapack TBB=-ltbb SPQR_CONFIG=-DHAVE_TBB"
+hostmakedepends="cmake chrpath"
+makedepends="tbb-devel libgomp-devel lapack-devel mpfr-devel"
+short_desc="Suite of sparse matrix software"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="custom:multiple"
+homepage="https://people.engr.tamu.edu/davis/suitesparse.html"
+distfiles="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${version}.tar.gz"
+checksum=acb4d1045f48a237e70294b950153e48dce5b5f9ca8190e86c2b8c54ce00a7ee
+
+do_build() {
+	make config library $make_build_args JOBS=$XBPS_MAKEJOBS
+}
+
+do_check() {
+	make go $make_build_args LD_LIBRARY_PATH=$wrksrc/lib JOBS=$XBPS_MAKEJOBS
+}
+
+do_install() {
+	make install $make_build_args INSTALL=$DESTDIR/usr
+	vlicense LICENSE.txt
+
+	# remove invalid rpath
+	chrpath -d $DESTDIR/usr/lib/lib*.so
+}
+
+SuiteSparse-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		# do not vmove libmetis.so
+		vmove "usr/lib/lib[a-ln-z]*.so"
+		vmove "usr/lib/libmo*.so"
+		vmove usr/share/doc
+	}
+}

From 39d0922ddb74f601516b37798e49f566a5837ded Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 30 Aug 2021 22:35:49 -0300
Subject: [PATCH 2/3] New package: igraph-0.9.4

---
 common/shlibs           |  2 ++
 srcpkgs/igraph-devel    |  1 +
 srcpkgs/igraph/template | 25 +++++++++++++++++++++++++
 3 files changed, 28 insertions(+)
 create mode 120000 srcpkgs/igraph-devel
 create mode 100644 srcpkgs/igraph/template

diff --git a/common/shlibs b/common/shlibs
index d40f9178b0d7..bebd9e40bc4b 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3867,6 +3867,8 @@ libjsonnet.so.0 jsonnet-0.14.0_2
 libjsonnet++.so.0 jsonnet-0.14.0_2
 libigdgmm.so.11 intel-gmmlib-21.3.1_1
 libigfxcmrt.so.7 intel-media-driver-21.3.5_1
+libigdgmm.so.11 intel-gmmlib-19.4.1_1
+libigraph.so.0 igraph-0.9.4_1
 libgtk-layer-shell.so.0 gtk-layer-shell-0.1.0_1
 librdkafka.so.1 librdkafka-1.4.4_3
 librdkafka++.so.1 librdkafka-1.4.4_3
diff --git a/srcpkgs/igraph-devel b/srcpkgs/igraph-devel
new file mode 120000
index 000000000000..fcd7873f9600
--- /dev/null
+++ b/srcpkgs/igraph-devel
@@ -0,0 +1 @@
+igraph
\ No newline at end of file
diff --git a/srcpkgs/igraph/template b/srcpkgs/igraph/template
new file mode 100644
index 000000000000..9ad070206203
--- /dev/null
+++ b/srcpkgs/igraph/template
@@ -0,0 +1,25 @@
+# Template file for 'igraph'
+pkgname=igraph
+version=0.9.4
+revision=1
+build_style=cmake
+configure_args="-DIGRAPH_ENABLE_TLS=on -DIGRAPH_ENABLE_LTO=on -DBUILD_SHARED_LIBS=ON"
+hostmakedepends="flex bison python3"
+makedepends="arpack-ng-devel glpk-devel gmp-devel lapack-devel libgomp-devel libxml2-devel SuiteSparse-devel"
+short_desc="Graph library"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="GPL-2.0-or-later"
+homepage="https://igraph.org/c/"
+distfiles="https://github.com/igraph/igraph/releases/download/${version}/igraph-${version}.tar.gz"
+checksum=a3285cccf4f043c9ced2bc8d8d2609ff8398cb92ed49fdf86264ed91929137dd
+
+igraph-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}

From 87115e5ed054a2312fcaa56a852004f777ab9c20 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 30 Aug 2021 22:36:11 -0300
Subject: [PATCH 3/3] New package: rankwidth-0.9

---
 common/shlibs              |  1 +
 srcpkgs/rankwidth-devel    |  1 +
 srcpkgs/rankwidth/template | 24 ++++++++++++++++++++++++
 srcpkgs/rankwidth/update   |  1 +
 4 files changed, 27 insertions(+)
 create mode 120000 srcpkgs/rankwidth-devel
 create mode 100644 srcpkgs/rankwidth/template
 create mode 100644 srcpkgs/rankwidth/update

diff --git a/common/shlibs b/common/shlibs
index bebd9e40bc4b..3a0c1e097963 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -438,6 +438,7 @@ libparted.so.2 libparted-3.1_1
 libparted-fs-resize.so.0 libparted-3.1_1
 libntfs-3g.so.89 ntfs-3g-2021.8.22_1
 libruby.so.3.0 ruby-3.0.2_1
+librw.so.0 rankwidth-0.9_1
 libprocessui.so.9 libksysguard-5.18.90_1
 libksignalplotter.so.9 libksysguard-5.18.90_1
 libksgrd.so.9 libksysguard-5.18.90_1
diff --git a/srcpkgs/rankwidth-devel b/srcpkgs/rankwidth-devel
new file mode 120000
index 000000000000..ae0ae25eafc9
--- /dev/null
+++ b/srcpkgs/rankwidth-devel
@@ -0,0 +1 @@
+rankwidth
\ No newline at end of file
diff --git a/srcpkgs/rankwidth/template b/srcpkgs/rankwidth/template
new file mode 100644
index 000000000000..f3880936a5b0
--- /dev/null
+++ b/srcpkgs/rankwidth/template
@@ -0,0 +1,24 @@
+# Template file for 'rankwidth'
+pkgname=rankwidth
+version=0.9
+revision=1
+wrksrc=rw-${version}
+build_style=gnu-configure
+hostmakedepends="pkg-config"
+makedepends="igraph-devel"
+short_desc="Calculates rank-width and rank-decompositions"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="GPL-2.0-or-later"
+homepage="https://sourceforge.net/projects/rankwidth/"
+distfiles="${SOURCEFORGE_SITE}/rankwidth/rw-$version.tar.gz"
+checksum=c1e03506fe25cdfcb428c051fc56b2d2affb5b06fba3f2ce756631466befb441
+
+rankwidth-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+	}
+}
diff --git a/srcpkgs/rankwidth/update b/srcpkgs/rankwidth/update
new file mode 100644
index 000000000000..226d3b64d1c1
--- /dev/null
+++ b/srcpkgs/rankwidth/update
@@ -0,0 +1 @@
+pkgname=rw

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: New packages: SuiteSparse-5.10.1, igraph-0.9.4, rankwidth-0.9
  2021-11-09  1:44 [PR PATCH] New packages: SuiteSparse-5.10.1, igraph-0.9.4, rankwidth-0.9 tornaria
@ 2021-11-09 23:15 ` leahneukirchen
  2021-11-09 23:18 ` leahneukirchen
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: leahneukirchen @ 2021-11-09 23:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 247 bytes --]

New comment by leahneukirchen on void-packages repository

https://github.com/void-linux/void-packages/pull/33971#issuecomment-964630410

Comment:
`/usr/bin/rw` clashes with the `rw` packages, is it possible to rename this? else add `conflicts=`.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: New packages: SuiteSparse-5.10.1, igraph-0.9.4, rankwidth-0.9
  2021-11-09  1:44 [PR PATCH] New packages: SuiteSparse-5.10.1, igraph-0.9.4, rankwidth-0.9 tornaria
  2021-11-09 23:15 ` leahneukirchen
@ 2021-11-09 23:18 ` leahneukirchen
  2021-11-10  1:34 ` [PR PATCH] [Updated] " tornaria
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: leahneukirchen @ 2021-11-09 23:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 224 bytes --]

New comment by leahneukirchen on void-packages repository

https://github.com/void-linux/void-packages/pull/33971#issuecomment-964632423

Comment:
Else drop the binary and the `/usr/share/doc/rw`, we probably won't need it.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR PATCH] [Updated] New packages: SuiteSparse-5.10.1, igraph-0.9.4, rankwidth-0.9
  2021-11-09  1:44 [PR PATCH] New packages: SuiteSparse-5.10.1, igraph-0.9.4, rankwidth-0.9 tornaria
  2021-11-09 23:15 ` leahneukirchen
  2021-11-09 23:18 ` leahneukirchen
@ 2021-11-10  1:34 ` tornaria
  2021-11-10  1:35 ` tornaria
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: tornaria @ 2021-11-10  1:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 533 bytes --]

There is an updated pull request by tornaria against master on the void-packages repository

https://github.com/tornaria/void-packages graphs
https://github.com/void-linux/void-packages/pull/33971

New packages: SuiteSparse-5.10.1, igraph-0.9.4, rankwidth-0.9
Dependency for sage. I compiled sage-9.4 using this (maybe I should add: it is the sage I use every day).

I placed these three packages in one PR because of their dependency.



A patch file from https://github.com/void-linux/void-packages/pull/33971.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-graphs-33971.patch --]
[-- Type: text/x-diff, Size: 7202 bytes --]

From a3fc1a0faff8587a9ddf698d0569ba3ab5076064 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 30 Aug 2021 22:34:53 -0300
Subject: [PATCH 1/3] New package: SuiteSparse-5.10.1

---
 common/shlibs                |  1 +
 srcpkgs/SuiteSparse-devel    |  1 +
 srcpkgs/SuiteSparse/template | 42 ++++++++++++++++++++++++++++++++++++
 3 files changed, 44 insertions(+)
 create mode 120000 srcpkgs/SuiteSparse-devel
 create mode 100644 srcpkgs/SuiteSparse/template

diff --git a/common/shlibs b/common/shlibs
index 52c2f17b7198..d40f9178b0d7 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -66,6 +66,7 @@ libppl.so.14 ppl-1.2_1
 libppl_c.so.4 ppl-0.11_1
 libstdc++.so.6 libstdc++-4.4.0_1
 libssp.so.0 libssp-4.4.0_1
+libcxsparse.so.3 SuiteSparse-5.10.1_1
 libncurses.so.6 ncurses-libs-6.0_1 ignore
 libncursesw.so.6 ncurses-libs-5.8_1 ignore
 libtinfo.so.6 ncurses-libtinfo-libs-6.2_2
diff --git a/srcpkgs/SuiteSparse-devel b/srcpkgs/SuiteSparse-devel
new file mode 120000
index 000000000000..cfb45e420a6f
--- /dev/null
+++ b/srcpkgs/SuiteSparse-devel
@@ -0,0 +1 @@
+SuiteSparse
\ No newline at end of file
diff --git a/srcpkgs/SuiteSparse/template b/srcpkgs/SuiteSparse/template
new file mode 100644
index 000000000000..23f75ff6dd7a
--- /dev/null
+++ b/srcpkgs/SuiteSparse/template
@@ -0,0 +1,42 @@
+# Template file for 'SuiteSparse'
+pkgname=SuiteSparse
+version=5.10.1
+revision=1
+make_build_args="BLAS=-lblas LAPACK=-llapack TBB=-ltbb SPQR_CONFIG=-DHAVE_TBB"
+hostmakedepends="cmake chrpath"
+makedepends="tbb-devel libgomp-devel lapack-devel mpfr-devel"
+short_desc="Suite of sparse matrix software"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="custom:multiple"
+homepage="https://people.engr.tamu.edu/davis/suitesparse.html"
+distfiles="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${version}.tar.gz"
+checksum=acb4d1045f48a237e70294b950153e48dce5b5f9ca8190e86c2b8c54ce00a7ee
+
+do_build() {
+	make config library $make_build_args JOBS=$XBPS_MAKEJOBS
+}
+
+do_check() {
+	make go $make_build_args LD_LIBRARY_PATH=$wrksrc/lib JOBS=$XBPS_MAKEJOBS
+}
+
+do_install() {
+	make install $make_build_args INSTALL=$DESTDIR/usr
+	vlicense LICENSE.txt
+
+	# remove invalid rpath
+	chrpath -d $DESTDIR/usr/lib/lib*.so
+}
+
+SuiteSparse-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		# do not vmove libmetis.so
+		vmove "usr/lib/lib[a-ln-z]*.so"
+		vmove "usr/lib/libmo*.so"
+		vmove usr/share/doc
+	}
+}

From 39d0922ddb74f601516b37798e49f566a5837ded Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 30 Aug 2021 22:35:49 -0300
Subject: [PATCH 2/3] New package: igraph-0.9.4

---
 common/shlibs           |  2 ++
 srcpkgs/igraph-devel    |  1 +
 srcpkgs/igraph/template | 25 +++++++++++++++++++++++++
 3 files changed, 28 insertions(+)
 create mode 120000 srcpkgs/igraph-devel
 create mode 100644 srcpkgs/igraph/template

diff --git a/common/shlibs b/common/shlibs
index d40f9178b0d7..bebd9e40bc4b 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3867,6 +3867,8 @@ libjsonnet.so.0 jsonnet-0.14.0_2
 libjsonnet++.so.0 jsonnet-0.14.0_2
 libigdgmm.so.11 intel-gmmlib-21.3.1_1
 libigfxcmrt.so.7 intel-media-driver-21.3.5_1
+libigdgmm.so.11 intel-gmmlib-19.4.1_1
+libigraph.so.0 igraph-0.9.4_1
 libgtk-layer-shell.so.0 gtk-layer-shell-0.1.0_1
 librdkafka.so.1 librdkafka-1.4.4_3
 librdkafka++.so.1 librdkafka-1.4.4_3
diff --git a/srcpkgs/igraph-devel b/srcpkgs/igraph-devel
new file mode 120000
index 000000000000..fcd7873f9600
--- /dev/null
+++ b/srcpkgs/igraph-devel
@@ -0,0 +1 @@
+igraph
\ No newline at end of file
diff --git a/srcpkgs/igraph/template b/srcpkgs/igraph/template
new file mode 100644
index 000000000000..9ad070206203
--- /dev/null
+++ b/srcpkgs/igraph/template
@@ -0,0 +1,25 @@
+# Template file for 'igraph'
+pkgname=igraph
+version=0.9.4
+revision=1
+build_style=cmake
+configure_args="-DIGRAPH_ENABLE_TLS=on -DIGRAPH_ENABLE_LTO=on -DBUILD_SHARED_LIBS=ON"
+hostmakedepends="flex bison python3"
+makedepends="arpack-ng-devel glpk-devel gmp-devel lapack-devel libgomp-devel libxml2-devel SuiteSparse-devel"
+short_desc="Graph library"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="GPL-2.0-or-later"
+homepage="https://igraph.org/c/"
+distfiles="https://github.com/igraph/igraph/releases/download/${version}/igraph-${version}.tar.gz"
+checksum=a3285cccf4f043c9ced2bc8d8d2609ff8398cb92ed49fdf86264ed91929137dd
+
+igraph-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}

From 919b3b80b4848bb74275dd34684fe8222c138b2f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 30 Aug 2021 22:36:11 -0300
Subject: [PATCH 3/3] New package: rankwidth-0.9

---
 common/shlibs              |  1 +
 srcpkgs/rankwidth-devel    |  1 +
 srcpkgs/rankwidth/template | 24 ++++++++++++++++++++++++
 srcpkgs/rankwidth/update   |  1 +
 4 files changed, 27 insertions(+)
 create mode 120000 srcpkgs/rankwidth-devel
 create mode 100644 srcpkgs/rankwidth/template
 create mode 100644 srcpkgs/rankwidth/update

diff --git a/common/shlibs b/common/shlibs
index bebd9e40bc4b..3a0c1e097963 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -438,6 +438,7 @@ libparted.so.2 libparted-3.1_1
 libparted-fs-resize.so.0 libparted-3.1_1
 libntfs-3g.so.89 ntfs-3g-2021.8.22_1
 libruby.so.3.0 ruby-3.0.2_1
+librw.so.0 rankwidth-0.9_1
 libprocessui.so.9 libksysguard-5.18.90_1
 libksignalplotter.so.9 libksysguard-5.18.90_1
 libksgrd.so.9 libksysguard-5.18.90_1
diff --git a/srcpkgs/rankwidth-devel b/srcpkgs/rankwidth-devel
new file mode 120000
index 000000000000..ae0ae25eafc9
--- /dev/null
+++ b/srcpkgs/rankwidth-devel
@@ -0,0 +1 @@
+rankwidth
\ No newline at end of file
diff --git a/srcpkgs/rankwidth/template b/srcpkgs/rankwidth/template
new file mode 100644
index 000000000000..f3880936a5b0
--- /dev/null
+++ b/srcpkgs/rankwidth/template
@@ -0,0 +1,24 @@
+# Template file for 'rankwidth'
+pkgname=rankwidth
+version=0.9
+revision=1
+wrksrc=rw-${version}
+build_style=gnu-configure
+hostmakedepends="pkg-config"
+makedepends="igraph-devel"
+short_desc="Calculates rank-width and rank-decompositions"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="GPL-2.0-or-later"
+homepage="https://sourceforge.net/projects/rankwidth/"
+distfiles="${SOURCEFORGE_SITE}/rankwidth/rw-$version.tar.gz"
+checksum=c1e03506fe25cdfcb428c051fc56b2d2affb5b06fba3f2ce756631466befb441
+
+rankwidth-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+	}
+}
diff --git a/srcpkgs/rankwidth/update b/srcpkgs/rankwidth/update
new file mode 100644
index 000000000000..226d3b64d1c1
--- /dev/null
+++ b/srcpkgs/rankwidth/update
@@ -0,0 +1 @@
+pkgname=rw

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: New packages: SuiteSparse-5.10.1, igraph-0.9.4, rankwidth-0.9
  2021-11-09  1:44 [PR PATCH] New packages: SuiteSparse-5.10.1, igraph-0.9.4, rankwidth-0.9 tornaria
                   ` (2 preceding siblings ...)
  2021-11-10  1:34 ` [PR PATCH] [Updated] " tornaria
@ 2021-11-10  1:35 ` tornaria
  2021-11-10  1:35 ` [PR PATCH] [Updated] " tornaria
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: tornaria @ 2021-11-10  1:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 435 bytes --]

New comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/pull/33971#issuecomment-964700315

Comment:
> Else drop the binary and the `/usr/share/doc/rw`, we probably won't need it.

It turns out sagemath doesn't need the binary, so I just removed the binary and docs.

In case anyone ever needs the binary, we can rename the binary or make a separate package with `conflicts=` or whatever...

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR PATCH] [Updated] New packages: SuiteSparse-5.10.1, igraph-0.9.4, rankwidth-0.9
  2021-11-09  1:44 [PR PATCH] New packages: SuiteSparse-5.10.1, igraph-0.9.4, rankwidth-0.9 tornaria
                   ` (3 preceding siblings ...)
  2021-11-10  1:35 ` tornaria
@ 2021-11-10  1:35 ` tornaria
  2021-11-10  1:36 ` tornaria
  2021-11-10 11:31 ` [PR PATCH] [Merged]: " leahneukirchen
  6 siblings, 0 replies; 8+ messages in thread
From: tornaria @ 2021-11-10  1:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 533 bytes --]

There is an updated pull request by tornaria against master on the void-packages repository

https://github.com/tornaria/void-packages graphs
https://github.com/void-linux/void-packages/pull/33971

New packages: SuiteSparse-5.10.1, igraph-0.9.4, rankwidth-0.9
Dependency for sage. I compiled sage-9.4 using this (maybe I should add: it is the sage I use every day).

I placed these three packages in one PR because of their dependency.



A patch file from https://github.com/void-linux/void-packages/pull/33971.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-graphs-33971.patch --]
[-- Type: text/x-diff, Size: 7496 bytes --]

From a3fc1a0faff8587a9ddf698d0569ba3ab5076064 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 30 Aug 2021 22:34:53 -0300
Subject: [PATCH 1/3] New package: SuiteSparse-5.10.1

---
 common/shlibs                |  1 +
 srcpkgs/SuiteSparse-devel    |  1 +
 srcpkgs/SuiteSparse/template | 42 ++++++++++++++++++++++++++++++++++++
 3 files changed, 44 insertions(+)
 create mode 120000 srcpkgs/SuiteSparse-devel
 create mode 100644 srcpkgs/SuiteSparse/template

diff --git a/common/shlibs b/common/shlibs
index 52c2f17b7198..d40f9178b0d7 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -66,6 +66,7 @@ libppl.so.14 ppl-1.2_1
 libppl_c.so.4 ppl-0.11_1
 libstdc++.so.6 libstdc++-4.4.0_1
 libssp.so.0 libssp-4.4.0_1
+libcxsparse.so.3 SuiteSparse-5.10.1_1
 libncurses.so.6 ncurses-libs-6.0_1 ignore
 libncursesw.so.6 ncurses-libs-5.8_1 ignore
 libtinfo.so.6 ncurses-libtinfo-libs-6.2_2
diff --git a/srcpkgs/SuiteSparse-devel b/srcpkgs/SuiteSparse-devel
new file mode 120000
index 000000000000..cfb45e420a6f
--- /dev/null
+++ b/srcpkgs/SuiteSparse-devel
@@ -0,0 +1 @@
+SuiteSparse
\ No newline at end of file
diff --git a/srcpkgs/SuiteSparse/template b/srcpkgs/SuiteSparse/template
new file mode 100644
index 000000000000..23f75ff6dd7a
--- /dev/null
+++ b/srcpkgs/SuiteSparse/template
@@ -0,0 +1,42 @@
+# Template file for 'SuiteSparse'
+pkgname=SuiteSparse
+version=5.10.1
+revision=1
+make_build_args="BLAS=-lblas LAPACK=-llapack TBB=-ltbb SPQR_CONFIG=-DHAVE_TBB"
+hostmakedepends="cmake chrpath"
+makedepends="tbb-devel libgomp-devel lapack-devel mpfr-devel"
+short_desc="Suite of sparse matrix software"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="custom:multiple"
+homepage="https://people.engr.tamu.edu/davis/suitesparse.html"
+distfiles="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${version}.tar.gz"
+checksum=acb4d1045f48a237e70294b950153e48dce5b5f9ca8190e86c2b8c54ce00a7ee
+
+do_build() {
+	make config library $make_build_args JOBS=$XBPS_MAKEJOBS
+}
+
+do_check() {
+	make go $make_build_args LD_LIBRARY_PATH=$wrksrc/lib JOBS=$XBPS_MAKEJOBS
+}
+
+do_install() {
+	make install $make_build_args INSTALL=$DESTDIR/usr
+	vlicense LICENSE.txt
+
+	# remove invalid rpath
+	chrpath -d $DESTDIR/usr/lib/lib*.so
+}
+
+SuiteSparse-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		# do not vmove libmetis.so
+		vmove "usr/lib/lib[a-ln-z]*.so"
+		vmove "usr/lib/libmo*.so"
+		vmove usr/share/doc
+	}
+}

From 39d0922ddb74f601516b37798e49f566a5837ded Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 30 Aug 2021 22:35:49 -0300
Subject: [PATCH 2/3] New package: igraph-0.9.4

---
 common/shlibs           |  2 ++
 srcpkgs/igraph-devel    |  1 +
 srcpkgs/igraph/template | 25 +++++++++++++++++++++++++
 3 files changed, 28 insertions(+)
 create mode 120000 srcpkgs/igraph-devel
 create mode 100644 srcpkgs/igraph/template

diff --git a/common/shlibs b/common/shlibs
index d40f9178b0d7..bebd9e40bc4b 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3867,6 +3867,8 @@ libjsonnet.so.0 jsonnet-0.14.0_2
 libjsonnet++.so.0 jsonnet-0.14.0_2
 libigdgmm.so.11 intel-gmmlib-21.3.1_1
 libigfxcmrt.so.7 intel-media-driver-21.3.5_1
+libigdgmm.so.11 intel-gmmlib-19.4.1_1
+libigraph.so.0 igraph-0.9.4_1
 libgtk-layer-shell.so.0 gtk-layer-shell-0.1.0_1
 librdkafka.so.1 librdkafka-1.4.4_3
 librdkafka++.so.1 librdkafka-1.4.4_3
diff --git a/srcpkgs/igraph-devel b/srcpkgs/igraph-devel
new file mode 120000
index 000000000000..fcd7873f9600
--- /dev/null
+++ b/srcpkgs/igraph-devel
@@ -0,0 +1 @@
+igraph
\ No newline at end of file
diff --git a/srcpkgs/igraph/template b/srcpkgs/igraph/template
new file mode 100644
index 000000000000..9ad070206203
--- /dev/null
+++ b/srcpkgs/igraph/template
@@ -0,0 +1,25 @@
+# Template file for 'igraph'
+pkgname=igraph
+version=0.9.4
+revision=1
+build_style=cmake
+configure_args="-DIGRAPH_ENABLE_TLS=on -DIGRAPH_ENABLE_LTO=on -DBUILD_SHARED_LIBS=ON"
+hostmakedepends="flex bison python3"
+makedepends="arpack-ng-devel glpk-devel gmp-devel lapack-devel libgomp-devel libxml2-devel SuiteSparse-devel"
+short_desc="Graph library"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="GPL-2.0-or-later"
+homepage="https://igraph.org/c/"
+distfiles="https://github.com/igraph/igraph/releases/download/${version}/igraph-${version}.tar.gz"
+checksum=a3285cccf4f043c9ced2bc8d8d2609ff8398cb92ed49fdf86264ed91929137dd
+
+igraph-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+	}
+}

From 9f64a6c75d610b60cc5793806220c021f0b59df9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 30 Aug 2021 22:36:11 -0300
Subject: [PATCH 3/3] New package: rankwidth-0.9

---
 common/shlibs              |  1 +
 srcpkgs/rankwidth-devel    |  1 +
 srcpkgs/rankwidth/template | 32 ++++++++++++++++++++++++++++++++
 srcpkgs/rankwidth/update   |  1 +
 4 files changed, 35 insertions(+)
 create mode 120000 srcpkgs/rankwidth-devel
 create mode 100644 srcpkgs/rankwidth/template
 create mode 100644 srcpkgs/rankwidth/update

diff --git a/common/shlibs b/common/shlibs
index bebd9e40bc4b..3a0c1e097963 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -438,6 +438,7 @@ libparted.so.2 libparted-3.1_1
 libparted-fs-resize.so.0 libparted-3.1_1
 libntfs-3g.so.89 ntfs-3g-2021.8.22_1
 libruby.so.3.0 ruby-3.0.2_1
+librw.so.0 rankwidth-0.9_1
 libprocessui.so.9 libksysguard-5.18.90_1
 libksignalplotter.so.9 libksysguard-5.18.90_1
 libksgrd.so.9 libksysguard-5.18.90_1
diff --git a/srcpkgs/rankwidth-devel b/srcpkgs/rankwidth-devel
new file mode 120000
index 000000000000..ae0ae25eafc9
--- /dev/null
+++ b/srcpkgs/rankwidth-devel
@@ -0,0 +1 @@
+rankwidth
\ No newline at end of file
diff --git a/srcpkgs/rankwidth/template b/srcpkgs/rankwidth/template
new file mode 100644
index 000000000000..c322a6e1a12a
--- /dev/null
+++ b/srcpkgs/rankwidth/template
@@ -0,0 +1,32 @@
+# Template file for 'rankwidth'
+pkgname=rankwidth
+version=0.9
+revision=1
+wrksrc=rw-${version}
+build_style=gnu-configure
+hostmakedepends="pkg-config"
+makedepends="igraph-devel"
+short_desc="Calculates rank-width and rank-decompositions"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="GPL-2.0-or-later"
+homepage="https://sourceforge.net/projects/rankwidth/"
+distfiles="${SOURCEFORGE_SITE}/rankwidth/rw-$version.tar.gz"
+checksum=c1e03506fe25cdfcb428c051fc56b2d2affb5b06fba3f2ce756631466befb441
+
+post_install() {
+	# the binary conflicts with rw package, and it's not needed for
+	# sagemath; if ever someone needs it we can decide whether to
+	# rename it or install in a separate package with conflicts=rw
+	rm -rf ${DESTDIR}/usr/bin/rw
+	rm -rf ${DESTDIR}/usr/share/doc/rw
+}
+
+rankwidth-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+	}
+}
diff --git a/srcpkgs/rankwidth/update b/srcpkgs/rankwidth/update
new file mode 100644
index 000000000000..226d3b64d1c1
--- /dev/null
+++ b/srcpkgs/rankwidth/update
@@ -0,0 +1 @@
+pkgname=rw

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: New packages: SuiteSparse-5.10.1, igraph-0.9.4, rankwidth-0.9
  2021-11-09  1:44 [PR PATCH] New packages: SuiteSparse-5.10.1, igraph-0.9.4, rankwidth-0.9 tornaria
                   ` (4 preceding siblings ...)
  2021-11-10  1:35 ` [PR PATCH] [Updated] " tornaria
@ 2021-11-10  1:36 ` tornaria
  2021-11-10 11:31 ` [PR PATCH] [Merged]: " leahneukirchen
  6 siblings, 0 replies; 8+ messages in thread
From: tornaria @ 2021-11-10  1:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 197 bytes --]

New comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/pull/33971#issuecomment-964700794

Comment:
Second force-push because I had forgotten to `git add`.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR PATCH] [Merged]: New packages: SuiteSparse-5.10.1, igraph-0.9.4, rankwidth-0.9
  2021-11-09  1:44 [PR PATCH] New packages: SuiteSparse-5.10.1, igraph-0.9.4, rankwidth-0.9 tornaria
                   ` (5 preceding siblings ...)
  2021-11-10  1:36 ` tornaria
@ 2021-11-10 11:31 ` leahneukirchen
  6 siblings, 0 replies; 8+ messages in thread
From: leahneukirchen @ 2021-11-10 11:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 376 bytes --]

There's a merged pull request on the void-packages repository

New packages: SuiteSparse-5.10.1, igraph-0.9.4, rankwidth-0.9
https://github.com/void-linux/void-packages/pull/33971

Description:
Dependency for sage. I compiled sage-9.4 using this (maybe I should add: it is the sage I use every day).

I placed these three packages in one PR because of their dependency.



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-11-10 11:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-09  1:44 [PR PATCH] New packages: SuiteSparse-5.10.1, igraph-0.9.4, rankwidth-0.9 tornaria
2021-11-09 23:15 ` leahneukirchen
2021-11-09 23:18 ` leahneukirchen
2021-11-10  1:34 ` [PR PATCH] [Updated] " tornaria
2021-11-10  1:35 ` tornaria
2021-11-10  1:35 ` [PR PATCH] [Updated] " tornaria
2021-11-10  1:36 ` tornaria
2021-11-10 11:31 ` [PR PATCH] [Merged]: " leahneukirchen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).