Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] [WIP] New packages: notcurses and growlight
@ 2020-11-11 16:37 mobinmob
  2020-11-11 16:51 ` [PR PATCH] [Updated] " mobinmob
                   ` (26 more replies)
  0 siblings, 27 replies; 28+ messages in thread
From: mobinmob @ 2020-11-11 16:37 UTC (permalink / raw)
  To: ml

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

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

https://github.com/mobinmob/void-packages notcurses+growlight
https://github.com/void-linux/void-packages/pull/26292

[WIP] New packages: notcurses and growlight


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-notcurses+growlight-26292.patch --]
[-- Type: text/x-diff, Size: 3966 bytes --]

From ebd4035195ecdd1ecc421ae2e2ca594a847c68b6 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Wed, 11 Nov 2020 18:35:02 +0200
Subject: [PATCH 1/2] New package: notcurses.

---
 common/shlibs              |  2 ++
 srcpkgs/notcurses-devel    |  1 +
 srcpkgs/notcurses-progs    |  1 +
 srcpkgs/notcurses/template | 38 ++++++++++++++++++++++++++++++++++++++
 4 files changed, 42 insertions(+)
 create mode 120000 srcpkgs/notcurses-devel
 create mode 120000 srcpkgs/notcurses-progs
 create mode 100644 srcpkgs/notcurses/template

diff --git a/common/shlibs b/common/shlibs
index 5dea7af6b68..b2c5c79a02b 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3995,3 +3995,5 @@ libSeExpr2.so.3 seexpr-krita-3.4.4.0_1
 liburing.so.1 liburing-0.7_1
 libbson-1.0.so.0 libbson-1.17.0_1
 libsonic.so.0 libsonic-0.2.0_1
+libnotcurses.so.2 notcurses-2.0.4_1
+libnotcurses++.so.2 notcurses-2.0.4_1
diff --git a/srcpkgs/notcurses-devel b/srcpkgs/notcurses-devel
new file mode 120000
index 00000000000..609dfe4d9c5
--- /dev/null
+++ b/srcpkgs/notcurses-devel
@@ -0,0 +1 @@
+notcurses
\ No newline at end of file
diff --git a/srcpkgs/notcurses-progs b/srcpkgs/notcurses-progs
new file mode 120000
index 00000000000..609dfe4d9c5
--- /dev/null
+++ b/srcpkgs/notcurses-progs
@@ -0,0 +1 @@
+notcurses
\ No newline at end of file
diff --git a/srcpkgs/notcurses/template b/srcpkgs/notcurses/template
new file mode 100644
index 00000000000..ed30a8b50d1
--- /dev/null
+++ b/srcpkgs/notcurses/template
@@ -0,0 +1,38 @@
+# Template file for 'notcurses'
+pkgname=notcurses
+version=2.0.4
+revision=1
+build_style=cmake
+configure_args=" -DBUILD_TESTING=OFF -DUSE_STATIC=ON -DUSE_QRCODEGEN=OFF -DUSE_PANDOC=OFF"
+hostmakedepends="pkg-config"
+makedepends="libunistring-devel ffmpeg-devel ncurses-libtinfo-devel"
+depends="ncurses-base"
+short_desc="Blingful character graphics/TUI library"
+maintainer="mobinmob <mobinmob@disroot.org>"
+license="Apache-2.0"
+homepage="https://nick-black.com/dankwiki/index.php/Notcurses"
+changelog="https://raw.githubusercontent.com/dankamongmen/notcurses/master/NEWS.md"
+distfiles="https://github.com/dankamongmen/notcurses/archive/v${version}.tar.gz"
+checksum=6bb38ca0affc6425cd8e248c5b81aa4281713362c45202a450a89ab751833c98
+
+notcurses-devel_package() {
+	depends="notcurses-${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove /usr/lib/cmake
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+		vmove usr/share/doc
+	}
+}
+
+notcurses-progs_package() {
+	depends="notcurses-${version}_${revision}"
+	short_desc+=" - programs"
+	pkg_install() {
+		vmove usr/bin
+		vmove usr/share/notcurses
+	}
+}

From c76fb6bc9767b0cb83112a19264084cd99fff6a9 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Wed, 11 Nov 2020 18:35:32 +0200
Subject: [PATCH 2/2] New package: growlight.

---
 srcpkgs/growlight/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/growlight/template

diff --git a/srcpkgs/growlight/template b/srcpkgs/growlight/template
new file mode 100644
index 00000000000..40da046ad1b
--- /dev/null
+++ b/srcpkgs/growlight/template
@@ -0,0 +1,17 @@
+# Template file for 'growlight'
+pkgname=growlight
+version=1.2.18
+revision=1
+build_style=cmake
+configure_args=" -DUSE_PANDOC=OFF"
+hostmakedepends="pkg-config"
+makedepends="libatasmart-devel libblkid-devel libcap-devel cryptsetup-devel
+ nettle-devel notcurses-devel libpciaccess-devel eudev-libudev-devel zlib-devel
+ device-mapper-devel pciutils-devel zfs-devel"
+#depends=""
+short_desc="Block device manager and system installation tool"
+maintainer="mobinmob <mobinmob@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://nick-black.com/dankwiki/index.php/Growlight"
+distfiles="https://github.com/dankamongmen/growlight/archive/v${version}.tar.gz"
+checksum=c6c08556e6838226b81300e177c49d7a382e9eb30cfdb19f99790106e426a032

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

* Re: [PR PATCH] [Updated] [WIP] New packages: notcurses and growlight
  2020-11-11 16:37 [PR PATCH] [WIP] New packages: notcurses and growlight mobinmob
@ 2020-11-11 16:51 ` mobinmob
  2020-11-11 17:08 ` mobinmob
                   ` (25 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: mobinmob @ 2020-11-11 16:51 UTC (permalink / raw)
  To: ml

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

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

https://github.com/mobinmob/void-packages notcurses+growlight
https://github.com/void-linux/void-packages/pull/26292

[WIP] New packages: notcurses and growlight


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-notcurses+growlight-26292.patch --]
[-- Type: text/x-diff, Size: 3965 bytes --]

From 30f26342bba7bb97da7ac30a64b6386f86bfbe51 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Wed, 11 Nov 2020 18:49:34 +0200
Subject: [PATCH 1/2] New package: growlight-1.2.18.

---
 srcpkgs/growlight/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/growlight/template

diff --git a/srcpkgs/growlight/template b/srcpkgs/growlight/template
new file mode 100644
index 00000000000..f69d546507f
--- /dev/null
+++ b/srcpkgs/growlight/template
@@ -0,0 +1,16 @@
+# Template file for 'growlight'
+pkgname=growlight
+version=1.2.18
+revision=1
+build_style=cmake
+configure_args=" -DUSE_PANDOC=OFF"
+hostmakedepends="pkg-config"
+makedepends="libatasmart-devel libblkid-devel libcap-devel cryptsetup-devel
+ nettle-devel notcurses-devel libpciaccess-devel eudev-libudev-devel zlib-devel
+ device-mapper-devel pciutils-devel zfs-devel"
+short_desc="Block device manager and system installation tool"
+maintainer="mobinmob <mobinmob@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://nick-black.com/dankwiki/index.php/Growlight"
+distfiles="https://github.com/dankamongmen/growlight/archive/v${version}.tar.gz"
+checksum=c6c08556e6838226b81300e177c49d7a382e9eb30cfdb19f99790106e426a032

From d564d0dc396ddb20f0323af8c30ec5a52416ade2 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Wed, 11 Nov 2020 18:50:37 +0200
Subject: [PATCH 2/2] New package: notcurses-2.0.4.

---
 common/shlibs              |  2 ++
 srcpkgs/notcurses-devel    |  1 +
 srcpkgs/notcurses-progs    |  1 +
 srcpkgs/notcurses/template | 38 ++++++++++++++++++++++++++++++++++++++
 4 files changed, 42 insertions(+)
 create mode 120000 srcpkgs/notcurses-devel
 create mode 120000 srcpkgs/notcurses-progs
 create mode 100644 srcpkgs/notcurses/template

diff --git a/common/shlibs b/common/shlibs
index 5dea7af6b68..b2c5c79a02b 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3995,3 +3995,5 @@ libSeExpr2.so.3 seexpr-krita-3.4.4.0_1
 liburing.so.1 liburing-0.7_1
 libbson-1.0.so.0 libbson-1.17.0_1
 libsonic.so.0 libsonic-0.2.0_1
+libnotcurses.so.2 notcurses-2.0.4_1
+libnotcurses++.so.2 notcurses-2.0.4_1
diff --git a/srcpkgs/notcurses-devel b/srcpkgs/notcurses-devel
new file mode 120000
index 00000000000..609dfe4d9c5
--- /dev/null
+++ b/srcpkgs/notcurses-devel
@@ -0,0 +1 @@
+notcurses
\ No newline at end of file
diff --git a/srcpkgs/notcurses-progs b/srcpkgs/notcurses-progs
new file mode 120000
index 00000000000..609dfe4d9c5
--- /dev/null
+++ b/srcpkgs/notcurses-progs
@@ -0,0 +1 @@
+notcurses
\ No newline at end of file
diff --git a/srcpkgs/notcurses/template b/srcpkgs/notcurses/template
new file mode 100644
index 00000000000..ed30a8b50d1
--- /dev/null
+++ b/srcpkgs/notcurses/template
@@ -0,0 +1,38 @@
+# Template file for 'notcurses'
+pkgname=notcurses
+version=2.0.4
+revision=1
+build_style=cmake
+configure_args=" -DBUILD_TESTING=OFF -DUSE_STATIC=ON -DUSE_QRCODEGEN=OFF -DUSE_PANDOC=OFF"
+hostmakedepends="pkg-config"
+makedepends="libunistring-devel ffmpeg-devel ncurses-libtinfo-devel"
+depends="ncurses-base"
+short_desc="Blingful character graphics/TUI library"
+maintainer="mobinmob <mobinmob@disroot.org>"
+license="Apache-2.0"
+homepage="https://nick-black.com/dankwiki/index.php/Notcurses"
+changelog="https://raw.githubusercontent.com/dankamongmen/notcurses/master/NEWS.md"
+distfiles="https://github.com/dankamongmen/notcurses/archive/v${version}.tar.gz"
+checksum=6bb38ca0affc6425cd8e248c5b81aa4281713362c45202a450a89ab751833c98
+
+notcurses-devel_package() {
+	depends="notcurses-${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove /usr/lib/cmake
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+		vmove usr/share/doc
+	}
+}
+
+notcurses-progs_package() {
+	depends="notcurses-${version}_${revision}"
+	short_desc+=" - programs"
+	pkg_install() {
+		vmove usr/bin
+		vmove usr/share/notcurses
+	}
+}

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

* Re: [PR PATCH] [Updated] [WIP] New packages: notcurses and growlight
  2020-11-11 16:37 [PR PATCH] [WIP] New packages: notcurses and growlight mobinmob
  2020-11-11 16:51 ` [PR PATCH] [Updated] " mobinmob
@ 2020-11-11 17:08 ` mobinmob
  2020-11-11 19:44 ` mobinmob
                   ` (24 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: mobinmob @ 2020-11-11 17:08 UTC (permalink / raw)
  To: ml

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

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

https://github.com/mobinmob/void-packages notcurses+growlight
https://github.com/void-linux/void-packages/pull/26292

[WIP] New packages: notcurses and growlight


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-notcurses+growlight-26292.patch --]
[-- Type: text/x-diff, Size: 5110 bytes --]

From 30f26342bba7bb97da7ac30a64b6386f86bfbe51 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Wed, 11 Nov 2020 18:49:34 +0200
Subject: [PATCH 1/3] New package: growlight-1.2.18.

---
 srcpkgs/growlight/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/growlight/template

diff --git a/srcpkgs/growlight/template b/srcpkgs/growlight/template
new file mode 100644
index 00000000000..f69d546507f
--- /dev/null
+++ b/srcpkgs/growlight/template
@@ -0,0 +1,16 @@
+# Template file for 'growlight'
+pkgname=growlight
+version=1.2.18
+revision=1
+build_style=cmake
+configure_args=" -DUSE_PANDOC=OFF"
+hostmakedepends="pkg-config"
+makedepends="libatasmart-devel libblkid-devel libcap-devel cryptsetup-devel
+ nettle-devel notcurses-devel libpciaccess-devel eudev-libudev-devel zlib-devel
+ device-mapper-devel pciutils-devel zfs-devel"
+short_desc="Block device manager and system installation tool"
+maintainer="mobinmob <mobinmob@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://nick-black.com/dankwiki/index.php/Growlight"
+distfiles="https://github.com/dankamongmen/growlight/archive/v${version}.tar.gz"
+checksum=c6c08556e6838226b81300e177c49d7a382e9eb30cfdb19f99790106e426a032

From d564d0dc396ddb20f0323af8c30ec5a52416ade2 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Wed, 11 Nov 2020 18:50:37 +0200
Subject: [PATCH 2/3] New package: notcurses-2.0.4.

---
 common/shlibs              |  2 ++
 srcpkgs/notcurses-devel    |  1 +
 srcpkgs/notcurses-progs    |  1 +
 srcpkgs/notcurses/template | 38 ++++++++++++++++++++++++++++++++++++++
 4 files changed, 42 insertions(+)
 create mode 120000 srcpkgs/notcurses-devel
 create mode 120000 srcpkgs/notcurses-progs
 create mode 100644 srcpkgs/notcurses/template

diff --git a/common/shlibs b/common/shlibs
index 5dea7af6b68..b2c5c79a02b 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3995,3 +3995,5 @@ libSeExpr2.so.3 seexpr-krita-3.4.4.0_1
 liburing.so.1 liburing-0.7_1
 libbson-1.0.so.0 libbson-1.17.0_1
 libsonic.so.0 libsonic-0.2.0_1
+libnotcurses.so.2 notcurses-2.0.4_1
+libnotcurses++.so.2 notcurses-2.0.4_1
diff --git a/srcpkgs/notcurses-devel b/srcpkgs/notcurses-devel
new file mode 120000
index 00000000000..609dfe4d9c5
--- /dev/null
+++ b/srcpkgs/notcurses-devel
@@ -0,0 +1 @@
+notcurses
\ No newline at end of file
diff --git a/srcpkgs/notcurses-progs b/srcpkgs/notcurses-progs
new file mode 120000
index 00000000000..609dfe4d9c5
--- /dev/null
+++ b/srcpkgs/notcurses-progs
@@ -0,0 +1 @@
+notcurses
\ No newline at end of file
diff --git a/srcpkgs/notcurses/template b/srcpkgs/notcurses/template
new file mode 100644
index 00000000000..ed30a8b50d1
--- /dev/null
+++ b/srcpkgs/notcurses/template
@@ -0,0 +1,38 @@
+# Template file for 'notcurses'
+pkgname=notcurses
+version=2.0.4
+revision=1
+build_style=cmake
+configure_args=" -DBUILD_TESTING=OFF -DUSE_STATIC=ON -DUSE_QRCODEGEN=OFF -DUSE_PANDOC=OFF"
+hostmakedepends="pkg-config"
+makedepends="libunistring-devel ffmpeg-devel ncurses-libtinfo-devel"
+depends="ncurses-base"
+short_desc="Blingful character graphics/TUI library"
+maintainer="mobinmob <mobinmob@disroot.org>"
+license="Apache-2.0"
+homepage="https://nick-black.com/dankwiki/index.php/Notcurses"
+changelog="https://raw.githubusercontent.com/dankamongmen/notcurses/master/NEWS.md"
+distfiles="https://github.com/dankamongmen/notcurses/archive/v${version}.tar.gz"
+checksum=6bb38ca0affc6425cd8e248c5b81aa4281713362c45202a450a89ab751833c98
+
+notcurses-devel_package() {
+	depends="notcurses-${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove /usr/lib/cmake
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+		vmove usr/share/doc
+	}
+}
+
+notcurses-progs_package() {
+	depends="notcurses-${version}_${revision}"
+	short_desc+=" - programs"
+	pkg_install() {
+		vmove usr/bin
+		vmove usr/share/notcurses
+	}
+}

From 2aab99bcfb6c4beed99e425e8794d5dc36ebb202 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Wed, 11 Nov 2020 19:08:00 +0200
Subject: [PATCH 3/3] New package: notcurses-doc-2.0.4.

---
 srcpkgs/notcurses-doc/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/notcurses-doc/template

diff --git a/srcpkgs/notcurses-doc/template b/srcpkgs/notcurses-doc/template
new file mode 100644
index 00000000000..01f05336db9
--- /dev/null
+++ b/srcpkgs/notcurses-doc/template
@@ -0,0 +1,17 @@
+# Template file for 'notcurses-doc'
+pkgname=notcurses-doc
+version=2.0.4
+revision=1
+create_wrksrc=yes
+short_desc="Notcurses - documentation"
+maintainer="mobinmob <mobinmob@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://nick-black.com/dankwiki/index.php/Notcurses"
+distfiles="https://github.com/dankamongmen/notcurses/releases/download/v${version}/notcurses-doc-${version}.tar.gz"
+checksum=a0c64d39b024087e8cd70ea04b4257305d9df278ca4a95397e0d5b7f2ca37d32
+
+do_install() {
+	for i in *.html; do vdoc $i; done
+	for i in *.3; do vman $i; done
+	for i in *.1; do vman $i; done
+}

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

* Re: [WIP] New packages: notcurses and growlight
  2020-11-11 16:37 [PR PATCH] [WIP] New packages: notcurses and growlight mobinmob
  2020-11-11 16:51 ` [PR PATCH] [Updated] " mobinmob
  2020-11-11 17:08 ` mobinmob
@ 2020-11-11 19:44 ` mobinmob
  2020-11-11 20:30 ` mobinmob
                   ` (23 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: mobinmob @ 2020-11-11 19:44 UTC (permalink / raw)
  To: ml

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

New comment by mobinmob on void-packages repository

https://github.com/void-linux/void-packages/pull/26292#issuecomment-725623982

Comment:
- notcurses-doc is packaged seperately as is provided as a seperate tarball. That is nice, because we can have html docs and man pages without using pandoc during the build. 
- notcurses uses doctest for testing, which is a single-header library. I do not thing it makes sence to package it...
- notcurses also uses qrcodegen - it is in the repo but the template builds and installs only the C++ version, not the C one. I am not sure how to handle this.

Regardless of the above, I have tested both growlight and notcurses on x86_64.  

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

* Re: New packages: notcurses and growlight
  2020-11-11 16:37 [PR PATCH] [WIP] New packages: notcurses and growlight mobinmob
                   ` (2 preceding siblings ...)
  2020-11-11 19:44 ` mobinmob
@ 2020-11-11 20:30 ` mobinmob
  2020-11-11 20:30 ` mobinmob
                   ` (22 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: mobinmob @ 2020-11-11 20:30 UTC (permalink / raw)
  To: ml

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

New comment by mobinmob on void-packages repository

https://github.com/void-linux/void-packages/pull/26292#issuecomment-725623982

Comment:
- notcurses-doc is packaged seperately as it is provided in a seperate tarball. That is nice, because we can have html docs and man pages without using pandoc during the build. 
- notcurses uses doctest for testing, which is a single-header library. I do not thing it makes sence to package it...
- notcurses also uses qrcodegen - it is in the repo but the template builds and installs only the C++ version, not the C one. I am not sure how to handle this.

Regardless of the above, I have tested both growlight and notcurses on x86_64.  

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

* Re: New packages: notcurses and growlight
  2020-11-11 16:37 [PR PATCH] [WIP] New packages: notcurses and growlight mobinmob
                   ` (3 preceding siblings ...)
  2020-11-11 20:30 ` mobinmob
@ 2020-11-11 20:30 ` mobinmob
  2020-11-11 20:37 ` [PR PATCH] [Updated] " mobinmob
                   ` (21 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: mobinmob @ 2020-11-11 20:30 UTC (permalink / raw)
  To: ml

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

New comment by mobinmob on void-packages repository

https://github.com/void-linux/void-packages/pull/26292#issuecomment-725623982

Comment:
- notcurses-doc is packaged seperately as it is provided in a seperate tarball. That is nice, because we can have html docs and man pages without using pandoc during the build. 
- notcurses uses doctest for testing, which is a single-header library. I do not think it makes sence to package it...
- notcurses also uses qrcodegen - it is in the repo but the template builds and installs only the C++ version, not the C one. I am not sure how to handle this.

Regardless of the above, I have tested both growlight and notcurses on x86_64.  

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

* Re: [PR PATCH] [Updated] New packages: notcurses and growlight
  2020-11-11 16:37 [PR PATCH] [WIP] New packages: notcurses and growlight mobinmob
                   ` (4 preceding siblings ...)
  2020-11-11 20:30 ` mobinmob
@ 2020-11-11 20:37 ` mobinmob
  2020-11-11 20:39 ` mobinmob
                   ` (20 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: mobinmob @ 2020-11-11 20:37 UTC (permalink / raw)
  To: ml

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

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

https://github.com/mobinmob/void-packages notcurses+growlight
https://github.com/void-linux/void-packages/pull/26292

New packages: notcurses and growlight


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-notcurses+growlight-26292.patch --]
[-- Type: text/x-diff, Size: 5196 bytes --]

From bc293645d5977e738b2ca44a74d73fbcf347f48f Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Wed, 11 Nov 2020 22:35:44 +0200
Subject: [PATCH 1/3] New package: notcurses-2.0.4.

---
 common/shlibs              |  2 ++
 srcpkgs/notcurses-devel    |  1 +
 srcpkgs/notcurses-progs    |  1 +
 srcpkgs/notcurses/template | 38 ++++++++++++++++++++++++++++++++++++++
 4 files changed, 42 insertions(+)
 create mode 120000 srcpkgs/notcurses-devel
 create mode 120000 srcpkgs/notcurses-progs
 create mode 100644 srcpkgs/notcurses/template

diff --git a/common/shlibs b/common/shlibs
index 5dea7af6b68..b2c5c79a02b 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3995,3 +3995,5 @@ libSeExpr2.so.3 seexpr-krita-3.4.4.0_1
 liburing.so.1 liburing-0.7_1
 libbson-1.0.so.0 libbson-1.17.0_1
 libsonic.so.0 libsonic-0.2.0_1
+libnotcurses.so.2 notcurses-2.0.4_1
+libnotcurses++.so.2 notcurses-2.0.4_1
diff --git a/srcpkgs/notcurses-devel b/srcpkgs/notcurses-devel
new file mode 120000
index 00000000000..609dfe4d9c5
--- /dev/null
+++ b/srcpkgs/notcurses-devel
@@ -0,0 +1 @@
+notcurses
\ No newline at end of file
diff --git a/srcpkgs/notcurses-progs b/srcpkgs/notcurses-progs
new file mode 120000
index 00000000000..609dfe4d9c5
--- /dev/null
+++ b/srcpkgs/notcurses-progs
@@ -0,0 +1 @@
+notcurses
\ No newline at end of file
diff --git a/srcpkgs/notcurses/template b/srcpkgs/notcurses/template
new file mode 100644
index 00000000000..ed30a8b50d1
--- /dev/null
+++ b/srcpkgs/notcurses/template
@@ -0,0 +1,38 @@
+# Template file for 'notcurses'
+pkgname=notcurses
+version=2.0.4
+revision=1
+build_style=cmake
+configure_args=" -DBUILD_TESTING=OFF -DUSE_STATIC=ON -DUSE_QRCODEGEN=OFF -DUSE_PANDOC=OFF"
+hostmakedepends="pkg-config"
+makedepends="libunistring-devel ffmpeg-devel ncurses-libtinfo-devel"
+depends="ncurses-base"
+short_desc="Blingful character graphics/TUI library"
+maintainer="mobinmob <mobinmob@disroot.org>"
+license="Apache-2.0"
+homepage="https://nick-black.com/dankwiki/index.php/Notcurses"
+changelog="https://raw.githubusercontent.com/dankamongmen/notcurses/master/NEWS.md"
+distfiles="https://github.com/dankamongmen/notcurses/archive/v${version}.tar.gz"
+checksum=6bb38ca0affc6425cd8e248c5b81aa4281713362c45202a450a89ab751833c98
+
+notcurses-devel_package() {
+	depends="notcurses-${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove /usr/lib/cmake
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+		vmove usr/share/doc
+	}
+}
+
+notcurses-progs_package() {
+	depends="notcurses-${version}_${revision}"
+	short_desc+=" - programs"
+	pkg_install() {
+		vmove usr/bin
+		vmove usr/share/notcurses
+	}
+}

From eeb21bdaf6237b93696606bfa63e1f5f719ae507 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Wed, 11 Nov 2020 22:36:04 +0200
Subject: [PATCH 2/3] New package: notcurses-doc-2.0.4.

---
 srcpkgs/notcurses-doc/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/notcurses-doc/template

diff --git a/srcpkgs/notcurses-doc/template b/srcpkgs/notcurses-doc/template
new file mode 100644
index 00000000000..01f05336db9
--- /dev/null
+++ b/srcpkgs/notcurses-doc/template
@@ -0,0 +1,17 @@
+# Template file for 'notcurses-doc'
+pkgname=notcurses-doc
+version=2.0.4
+revision=1
+create_wrksrc=yes
+short_desc="Notcurses - documentation"
+maintainer="mobinmob <mobinmob@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://nick-black.com/dankwiki/index.php/Notcurses"
+distfiles="https://github.com/dankamongmen/notcurses/releases/download/v${version}/notcurses-doc-${version}.tar.gz"
+checksum=a0c64d39b024087e8cd70ea04b4257305d9df278ca4a95397e0d5b7f2ca37d32
+
+do_install() {
+	for i in *.html; do vdoc $i; done
+	for i in *.3; do vman $i; done
+	for i in *.1; do vman $i; done
+}

From 5c8ac147f609470d17d666dac80436489af9bf22 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Wed, 11 Nov 2020 22:36:50 +0200
Subject: [PATCH 3/3] New package: growlight-1.2.18

---
 srcpkgs/growlight/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/growlight/template

diff --git a/srcpkgs/growlight/template b/srcpkgs/growlight/template
new file mode 100644
index 00000000000..7739b9d963e
--- /dev/null
+++ b/srcpkgs/growlight/template
@@ -0,0 +1,17 @@
+# Template file for 'growlight'
+pkgname=growlight
+version=1.2.18
+revision=1
+build_style=cmake
+configure_args=" -DUSE_PANDOC=OFF"
+hostmakedepends="pkg-config"
+makedepends="libatasmart-devel libblkid-devel libcap-devel cryptsetup-devel
+ nettle-devel notcurses-devel libpciaccess-devel eudev-libudev-devel zlib-devel
+ device-mapper-devel pciutils-devel zfs-devel"
+depends="ntfs-3g jfsutils xfsprogs nvme-cli hdparm f2fs-tools btrfs-progs e2fsprogs"
+short_desc="Block device manager and system installation tool"
+maintainer="mobinmob <mobinmob@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://nick-black.com/dankwiki/index.php/Growlight"
+distfiles="https://github.com/dankamongmen/growlight/archive/v${version}.tar.gz"
+checksum=c6c08556e6838226b81300e177c49d7a382e9eb30cfdb19f99790106e426a032

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

* Re: New packages: notcurses and growlight
  2020-11-11 16:37 [PR PATCH] [WIP] New packages: notcurses and growlight mobinmob
                   ` (5 preceding siblings ...)
  2020-11-11 20:37 ` [PR PATCH] [Updated] " mobinmob
@ 2020-11-11 20:39 ` mobinmob
  2020-11-11 21:16 ` mobinmob
                   ` (19 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: mobinmob @ 2020-11-11 20:39 UTC (permalink / raw)
  To: ml

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

New comment by mobinmob on void-packages repository

https://github.com/void-linux/void-packages/pull/26292#issuecomment-725649257

Comment:
- Added some runtime dependencies to growlight.
- Both programms build succesfully for armv7, aarch64, aarch64-musl.

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

* Re: New packages: notcurses and growlight
  2020-11-11 16:37 [PR PATCH] [WIP] New packages: notcurses and growlight mobinmob
                   ` (6 preceding siblings ...)
  2020-11-11 20:39 ` mobinmob
@ 2020-11-11 21:16 ` mobinmob
  2020-11-11 21:16 ` mobinmob
                   ` (18 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: mobinmob @ 2020-11-11 21:16 UTC (permalink / raw)
  To: ml

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

New comment by mobinmob on void-packages repository

https://github.com/void-linux/void-packages/pull/26292#issuecomment-725665791

Comment:
- Also build for amv7-musl, armv6l-musl, armv6l, i686, x86_64-musl.

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

* Re: New packages: notcurses and growlight
  2020-11-11 16:37 [PR PATCH] [WIP] New packages: notcurses and growlight mobinmob
                   ` (7 preceding siblings ...)
  2020-11-11 21:16 ` mobinmob
@ 2020-11-11 21:16 ` mobinmob
  2020-11-11 21:50 ` [PR REVIEW] " ericonr
                   ` (17 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: mobinmob @ 2020-11-11 21:16 UTC (permalink / raw)
  To: ml

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

New comment by mobinmob on void-packages repository

https://github.com/void-linux/void-packages/pull/26292#issuecomment-725665791

Comment:
- Also build succesfully for amv7-musl, armv6l-musl, armv6l, i686, x86_64-musl.

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

* Re: [PR REVIEW] New packages: notcurses and growlight
  2020-11-11 16:37 [PR PATCH] [WIP] New packages: notcurses and growlight mobinmob
                   ` (8 preceding siblings ...)
  2020-11-11 21:16 ` mobinmob
@ 2020-11-11 21:50 ` ericonr
  2020-11-11 22:51 ` [PR PATCH] [Updated] " mobinmob
                   ` (16 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: ericonr @ 2020-11-11 21:50 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/26292#discussion_r521659611

Comment:
why disable? Also, doesn't require whitespace.

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

* Re: [PR PATCH] [Updated] New packages: notcurses and growlight
  2020-11-11 16:37 [PR PATCH] [WIP] New packages: notcurses and growlight mobinmob
                   ` (9 preceding siblings ...)
  2020-11-11 21:50 ` [PR REVIEW] " ericonr
@ 2020-11-11 22:51 ` mobinmob
  2020-11-11 22:54 ` mobinmob
                   ` (15 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: mobinmob @ 2020-11-11 22:51 UTC (permalink / raw)
  To: ml

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

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

https://github.com/mobinmob/void-packages notcurses+growlight
https://github.com/void-linux/void-packages/pull/26292

New packages: notcurses and growlight


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-notcurses+growlight-26292.patch --]
[-- Type: text/x-diff, Size: 6856 bytes --]

From 533bf01224458564cfb96d37e847c9ceccbb2acf Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Thu, 12 Nov 2020 00:48:04 +0200
Subject: [PATCH 1/4] New package: growlight-1.2.18

---
 srcpkgs/growlight/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/growlight/template

diff --git a/srcpkgs/growlight/template b/srcpkgs/growlight/template
new file mode 100644
index 00000000000..7739b9d963e
--- /dev/null
+++ b/srcpkgs/growlight/template
@@ -0,0 +1,17 @@
+# Template file for 'growlight'
+pkgname=growlight
+version=1.2.18
+revision=1
+build_style=cmake
+configure_args=" -DUSE_PANDOC=OFF"
+hostmakedepends="pkg-config"
+makedepends="libatasmart-devel libblkid-devel libcap-devel cryptsetup-devel
+ nettle-devel notcurses-devel libpciaccess-devel eudev-libudev-devel zlib-devel
+ device-mapper-devel pciutils-devel zfs-devel"
+depends="ntfs-3g jfsutils xfsprogs nvme-cli hdparm f2fs-tools btrfs-progs e2fsprogs"
+short_desc="Block device manager and system installation tool"
+maintainer="mobinmob <mobinmob@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://nick-black.com/dankwiki/index.php/Growlight"
+distfiles="https://github.com/dankamongmen/growlight/archive/v${version}.tar.gz"
+checksum=c6c08556e6838226b81300e177c49d7a382e9eb30cfdb19f99790106e426a032

From 115c9c79d6ec3c886ae86d69f1f99bdf57a79731 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Thu, 12 Nov 2020 00:49:15 +0200
Subject: [PATCH 2/4] qrcodegen: enable C library build

---
 srcpkgs/qrcodegen/template | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/qrcodegen/template b/srcpkgs/qrcodegen/template
index 53627a2b98f..69a30a99d54 100644
--- a/srcpkgs/qrcodegen/template
+++ b/srcpkgs/qrcodegen/template
@@ -1,10 +1,8 @@
 # Template file for 'qrcodegen'
 pkgname=qrcodegen
 version=1.6.0
-revision=2
+revision=3
 wrksrc="QR-Code-generator-${version}"
-build_wrksrc="cpp"
-build_style=gnu-makefile
 short_desc="QR Code generator library"
 maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
 license="MIT"
@@ -14,11 +12,20 @@ checksum=8acee5a77325e075b910747ad4b1fdb1491b7e22d0b8f1b5a6ea15ea08ba33a8
 
 CXXFLAGS="-fPIC"
 
+do_build() {
+	for dir in c cpp                                                     
+	do                                                                                 
+ 	cd $dir && make && cd ..                                                         
+	done
+}
+
 do_install() {
-	sed -n "/^License/,/xxxx/p" ../Readme.markdown > LICENSE
+	sed -n "/^License/,/xxxx/p" Readme.markdown > LICENSE
 	vlicense LICENSE
-	vinstall QrCode.hpp 644 usr/include/qrcodegen
-	vinstall libqrcodegen.a 644 usr/lib libqrcodegencpp.a
+	vinstall cpp/QrCode.hpp 644 usr/include/qrcodegen
+	vinstall cpp/libqrcodegen.a 644 usr/lib libqrcodegencpp.a
+	vinstall c/qrcodegen.h 644 usr/include/qrcodegen
+	vinstall c/libqrcodegen.a 644 usr/lib
 }
 
 qrcodegen-devel_package() {

From bbdb6a04223fe80c68fc28ac3d50aca9ce2f1ea7 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Thu, 12 Nov 2020 00:50:16 +0200
Subject: [PATCH 3/4] New package: notcurses-doc-2.0.4

---
 srcpkgs/notcurses-doc/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/notcurses-doc/template

diff --git a/srcpkgs/notcurses-doc/template b/srcpkgs/notcurses-doc/template
new file mode 100644
index 00000000000..01f05336db9
--- /dev/null
+++ b/srcpkgs/notcurses-doc/template
@@ -0,0 +1,17 @@
+# Template file for 'notcurses-doc'
+pkgname=notcurses-doc
+version=2.0.4
+revision=1
+create_wrksrc=yes
+short_desc="Notcurses - documentation"
+maintainer="mobinmob <mobinmob@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://nick-black.com/dankwiki/index.php/Notcurses"
+distfiles="https://github.com/dankamongmen/notcurses/releases/download/v${version}/notcurses-doc-${version}.tar.gz"
+checksum=a0c64d39b024087e8cd70ea04b4257305d9df278ca4a95397e0d5b7f2ca37d32
+
+do_install() {
+	for i in *.html; do vdoc $i; done
+	for i in *.3; do vman $i; done
+	for i in *.1; do vman $i; done
+}

From 6db771b451966b7cb6758ca2d583849d1ea08e13 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Thu, 12 Nov 2020 00:50:55 +0200
Subject: [PATCH 4/4] New package: notcurses-2.0.4

---
 common/shlibs              |  2 ++
 srcpkgs/notcurses-devel    |  1 +
 srcpkgs/notcurses-progs    |  1 +
 srcpkgs/notcurses/template | 38 ++++++++++++++++++++++++++++++++++++++
 4 files changed, 42 insertions(+)
 create mode 120000 srcpkgs/notcurses-devel
 create mode 120000 srcpkgs/notcurses-progs
 create mode 100644 srcpkgs/notcurses/template

diff --git a/common/shlibs b/common/shlibs
index 5dea7af6b68..b2c5c79a02b 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3995,3 +3995,5 @@ libSeExpr2.so.3 seexpr-krita-3.4.4.0_1
 liburing.so.1 liburing-0.7_1
 libbson-1.0.so.0 libbson-1.17.0_1
 libsonic.so.0 libsonic-0.2.0_1
+libnotcurses.so.2 notcurses-2.0.4_1
+libnotcurses++.so.2 notcurses-2.0.4_1
diff --git a/srcpkgs/notcurses-devel b/srcpkgs/notcurses-devel
new file mode 120000
index 00000000000..609dfe4d9c5
--- /dev/null
+++ b/srcpkgs/notcurses-devel
@@ -0,0 +1 @@
+notcurses
\ No newline at end of file
diff --git a/srcpkgs/notcurses-progs b/srcpkgs/notcurses-progs
new file mode 120000
index 00000000000..609dfe4d9c5
--- /dev/null
+++ b/srcpkgs/notcurses-progs
@@ -0,0 +1 @@
+notcurses
\ No newline at end of file
diff --git a/srcpkgs/notcurses/template b/srcpkgs/notcurses/template
new file mode 100644
index 00000000000..5cb6f420bd7
--- /dev/null
+++ b/srcpkgs/notcurses/template
@@ -0,0 +1,38 @@
+# Template file for 'notcurses'
+pkgname=notcurses
+version=2.0.4
+revision=1
+build_style=cmake
+configure_args=" -DBUILD_TESTING=OFF -DUSE_STATIC=ON -DUSE_PANDOC=OFF"
+hostmakedepends="pkg-config"
+makedepends="libunistring-devel ffmpeg-devel ncurses-libtinfo-devel qrcodegen-devel"
+depends="ncurses-base"
+short_desc="Blingful character graphics/TUI library"
+maintainer="mobinmob <mobinmob@disroot.org>"
+license="Apache-2.0"
+homepage="https://nick-black.com/dankwiki/index.php/Notcurses"
+changelog="https://raw.githubusercontent.com/dankamongmen/notcurses/master/NEWS.md"
+distfiles="https://github.com/dankamongmen/notcurses/archive/v${version}.tar.gz"
+checksum=6bb38ca0affc6425cd8e248c5b81aa4281713362c45202a450a89ab751833c98
+
+notcurses-devel_package() {
+	depends="notcurses-${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove /usr/lib/cmake
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+		vmove usr/share/doc
+	}
+}
+
+notcurses-progs_package() {
+	depends="notcurses-${version}_${revision}"
+	short_desc+=" - programs"
+	pkg_install() {
+		vmove usr/bin
+		vmove usr/share/notcurses
+	}
+}

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

* Re: New packages: notcurses and growlight
  2020-11-11 16:37 [PR PATCH] [WIP] New packages: notcurses and growlight mobinmob
                   ` (10 preceding siblings ...)
  2020-11-11 22:51 ` [PR PATCH] [Updated] " mobinmob
@ 2020-11-11 22:54 ` mobinmob
  2020-11-11 22:57 ` [PR REVIEW] " mobinmob
                   ` (14 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: mobinmob @ 2020-11-11 22:54 UTC (permalink / raw)
  To: ml

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

New comment by mobinmob on void-packages repository

https://github.com/void-linux/void-packages/pull/26292#issuecomment-725706732

Comment:
- Added C libs in the qrcodegen, @pullmoll please check.

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

* Re: [PR REVIEW] New packages: notcurses and growlight
  2020-11-11 16:37 [PR PATCH] [WIP] New packages: notcurses and growlight mobinmob
                   ` (11 preceding siblings ...)
  2020-11-11 22:54 ` mobinmob
@ 2020-11-11 22:57 ` mobinmob
  2020-11-11 22:59 ` mobinmob
                   ` (13 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: mobinmob @ 2020-11-11 22:57 UTC (permalink / raw)
  To: ml

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

New review comment by mobinmob on void-packages repository

https://github.com/void-linux/void-packages/pull/26292#discussion_r521687954

Comment:
I was under the impression that it is not available in every arch - seems that I am mistaken :) 
It is only used to "compile" the manpages.

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

* Re: [PR REVIEW] New packages: notcurses and growlight
  2020-11-11 16:37 [PR PATCH] [WIP] New packages: notcurses and growlight mobinmob
                   ` (12 preceding siblings ...)
  2020-11-11 22:57 ` [PR REVIEW] " mobinmob
@ 2020-11-11 22:59 ` mobinmob
  2020-11-11 23:00 ` mobinmob
                   ` (12 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: mobinmob @ 2020-11-11 22:59 UTC (permalink / raw)
  To: ml

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

New review comment by mobinmob on void-packages repository

https://github.com/void-linux/void-packages/pull/26292#discussion_r521688737

Comment:
It is nocross :(

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

* Re: [PR REVIEW] New packages: notcurses and growlight
  2020-11-11 16:37 [PR PATCH] [WIP] New packages: notcurses and growlight mobinmob
                   ` (13 preceding siblings ...)
  2020-11-11 22:59 ` mobinmob
@ 2020-11-11 23:00 ` mobinmob
  2020-11-11 23:06 ` mobinmob
                   ` (11 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: mobinmob @ 2020-11-11 23:00 UTC (permalink / raw)
  To: ml

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

New review comment by mobinmob on void-packages repository

https://github.com/void-linux/void-packages/pull/26292#discussion_r521688737

Comment:
It is nocross...

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

* Re: New packages: notcurses and growlight
  2020-11-11 16:37 [PR PATCH] [WIP] New packages: notcurses and growlight mobinmob
                   ` (14 preceding siblings ...)
  2020-11-11 23:00 ` mobinmob
@ 2020-11-11 23:06 ` mobinmob
  2020-11-11 23:11 ` [PR REVIEW] " ericonr
                   ` (10 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: mobinmob @ 2020-11-11 23:06 UTC (permalink / raw)
  To: ml

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

New comment by mobinmob on void-packages repository

https://github.com/void-linux/void-packages/pull/26292#issuecomment-725623982

Comment:
- notcurses-doc is packaged seperately as it is provided in a seperate tarball. That is nice, because we can have html docs and man pages without using pandoc during the build. 
- notcurses uses doctest for testing, which is a single-header library. I do not think it makes sense to package it...
- notcurses also uses qrcodegen - it is in the repo but the template builds and installs only the C++ version, not the C one. I am not sure how to handle this.

Regardless of the above, I have tested both growlight and notcurses on x86_64.  

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

* Re: [PR REVIEW] New packages: notcurses and growlight
  2020-11-11 16:37 [PR PATCH] [WIP] New packages: notcurses and growlight mobinmob
                   ` (15 preceding siblings ...)
  2020-11-11 23:06 ` mobinmob
@ 2020-11-11 23:11 ` ericonr
  2020-11-12  0:36 ` [PR PATCH] [Updated] " mobinmob
                   ` (9 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: ericonr @ 2020-11-11 23:11 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/26292#discussion_r521692913

Comment:
Being nocross isn't a huge issue, since it would only be a `hostmakedepends`, right? But yeah, I think ppc might lack haskell support.

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

* Re: [PR PATCH] [Updated] New packages: notcurses and growlight
  2020-11-11 16:37 [PR PATCH] [WIP] New packages: notcurses and growlight mobinmob
                   ` (16 preceding siblings ...)
  2020-11-11 23:11 ` [PR REVIEW] " ericonr
@ 2020-11-12  0:36 ` mobinmob
  2020-11-12  0:37 ` mobinmob
                   ` (8 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: mobinmob @ 2020-11-12  0:36 UTC (permalink / raw)
  To: ml

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

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

https://github.com/mobinmob/void-packages notcurses+growlight
https://github.com/void-linux/void-packages/pull/26292

New packages: notcurses and growlight


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-notcurses+growlight-26292.patch --]
[-- Type: text/x-diff, Size: 7270 bytes --]

From 6d5df623c2ceec8e2d2e712cd280d59dd75de733 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Thu, 12 Nov 2020 02:33:13 +0200
Subject: [PATCH 1/4] New package: notcurses-2.0.4

---
 common/shlibs              |  2 ++
 srcpkgs/notcurses-devel    |  1 +
 srcpkgs/notcurses-progs    |  1 +
 srcpkgs/notcurses/template | 40 ++++++++++++++++++++++++++++++++++++++
 4 files changed, 44 insertions(+)
 create mode 120000 srcpkgs/notcurses-devel
 create mode 120000 srcpkgs/notcurses-progs
 create mode 100644 srcpkgs/notcurses/template

diff --git a/common/shlibs b/common/shlibs
index 5dea7af6b68..b2c5c79a02b 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3995,3 +3995,5 @@ libSeExpr2.so.3 seexpr-krita-3.4.4.0_1
 liburing.so.1 liburing-0.7_1
 libbson-1.0.so.0 libbson-1.17.0_1
 libsonic.so.0 libsonic-0.2.0_1
+libnotcurses.so.2 notcurses-2.0.4_1
+libnotcurses++.so.2 notcurses-2.0.4_1
diff --git a/srcpkgs/notcurses-devel b/srcpkgs/notcurses-devel
new file mode 120000
index 00000000000..609dfe4d9c5
--- /dev/null
+++ b/srcpkgs/notcurses-devel
@@ -0,0 +1 @@
+notcurses
\ No newline at end of file
diff --git a/srcpkgs/notcurses-progs b/srcpkgs/notcurses-progs
new file mode 120000
index 00000000000..609dfe4d9c5
--- /dev/null
+++ b/srcpkgs/notcurses-progs
@@ -0,0 +1 @@
+notcurses
\ No newline at end of file
diff --git a/srcpkgs/notcurses/template b/srcpkgs/notcurses/template
new file mode 100644
index 00000000000..6a76c1f1c1f
--- /dev/null
+++ b/srcpkgs/notcurses/template
@@ -0,0 +1,40 @@
+# Template file for 'notcurses'
+pkgname=notcurses
+version=2.0.4
+revision=1
+build_style=cmake
+configure_args="-DUSE_STATIC=ON"
+hostmakedepends="pkg-config pandoc"
+makedepends="libunistring-devel ffmpeg-devel ncurses-libtinfo-devel qrcodegen-devel doctest-devel"
+depends="ncurses-base"
+short_desc="Blingful character graphics/TUI library"
+maintainer="mobinmob <mobinmob@disroot.org>"
+license="Apache-2.0"
+homepage="https://nick-black.com/dankwiki/index.php/Notcurses"
+changelog="https://raw.githubusercontent.com/dankamongmen/notcurses/master/NEWS.md"
+distfiles="https://github.com/dankamongmen/notcurses/archive/v${version}.tar.gz"
+checksum=6bb38ca0affc6425cd8e248c5b81aa4281713362c45202a450a89ab751833c98
+
+notcurses-devel_package() {
+	depends="notcurses-${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove /usr/lib/cmake
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+		vmove usr/share/doc
+		vmove usr/share/man/man3 
+	}
+}
+
+notcurses-progs_package() {
+	depends="notcurses-${version}_${revision}"
+	short_desc+=" - programs"
+	pkg_install() {
+		vmove usr/bin
+		vmove usr/share/notcurses
+		vmove usr/share/man/man1
+	}
+}

From df5be015f5ffadd2611b267d9352ecf1c937de85 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Thu, 12 Nov 2020 02:34:14 +0200
Subject: [PATCH 2/4] New package: doctest-2.4.1

---
 srcpkgs/doctest-devel    |  1 +
 srcpkgs/doctest/template | 26 ++++++++++++++++++++++++++
 2 files changed, 27 insertions(+)
 create mode 120000 srcpkgs/doctest-devel
 create mode 100644 srcpkgs/doctest/template

diff --git a/srcpkgs/doctest-devel b/srcpkgs/doctest-devel
new file mode 120000
index 00000000000..79086729892
--- /dev/null
+++ b/srcpkgs/doctest-devel
@@ -0,0 +1 @@
+doctest
\ No newline at end of file
diff --git a/srcpkgs/doctest/template b/srcpkgs/doctest/template
new file mode 100644
index 00000000000..4e87e7630bd
--- /dev/null
+++ b/srcpkgs/doctest/template
@@ -0,0 +1,26 @@
+# Template file for 'doctest'
+pkgname=doctest
+version=2.4.1
+revision=1
+build_style=cmake
+short_desc="Doctest C++ testing framework"
+maintainer="mobinmob <mobinmob@disroot.org>"
+license="MIT"
+homepage="https://github.com/onqtam/doctest/blob/master/doc/markdown/readme.md#reference"
+changelog="https://raw.githubusercontent.com/onqtam/doctest/master/CHANGELOG.md"
+distfiles="https://github.com/onqtam/doctest/archive/${version}.tar.gz"
+checksum=0a0f0be21ee23e36ff6b8b9d63c06a7792e04cce342e1df3dee0e40d1e21b9f0
+
+post_install() {
+	vlicense LICENSE.txt
+}
+
+doctest-devel_package() {
+	depends="doctest-${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		}
+}
+

From cc35774ab6ebc21aaa0d16baca6c7b5a6f354402 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Thu, 12 Nov 2020 02:34:52 +0200
Subject: [PATCH 3/4] qrcodegen: enable C library build

---
 srcpkgs/qrcodegen/template | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/qrcodegen/template b/srcpkgs/qrcodegen/template
index 53627a2b98f..69a30a99d54 100644
--- a/srcpkgs/qrcodegen/template
+++ b/srcpkgs/qrcodegen/template
@@ -1,10 +1,8 @@
 # Template file for 'qrcodegen'
 pkgname=qrcodegen
 version=1.6.0
-revision=2
+revision=3
 wrksrc="QR-Code-generator-${version}"
-build_wrksrc="cpp"
-build_style=gnu-makefile
 short_desc="QR Code generator library"
 maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
 license="MIT"
@@ -14,11 +12,20 @@ checksum=8acee5a77325e075b910747ad4b1fdb1491b7e22d0b8f1b5a6ea15ea08ba33a8
 
 CXXFLAGS="-fPIC"
 
+do_build() {
+	for dir in c cpp                                                     
+	do                                                                                 
+ 	cd $dir && make && cd ..                                                         
+	done
+}
+
 do_install() {
-	sed -n "/^License/,/xxxx/p" ../Readme.markdown > LICENSE
+	sed -n "/^License/,/xxxx/p" Readme.markdown > LICENSE
 	vlicense LICENSE
-	vinstall QrCode.hpp 644 usr/include/qrcodegen
-	vinstall libqrcodegen.a 644 usr/lib libqrcodegencpp.a
+	vinstall cpp/QrCode.hpp 644 usr/include/qrcodegen
+	vinstall cpp/libqrcodegen.a 644 usr/lib libqrcodegencpp.a
+	vinstall c/qrcodegen.h 644 usr/include/qrcodegen
+	vinstall c/libqrcodegen.a 644 usr/lib
 }
 
 qrcodegen-devel_package() {

From 9c1279525bd5f1c2a8a180054603d74215136e0f Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Thu, 12 Nov 2020 02:35:27 +0200
Subject: [PATCH 4/4] New package: growlight-1.2.18

---
 srcpkgs/growlight/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/growlight/template

diff --git a/srcpkgs/growlight/template b/srcpkgs/growlight/template
new file mode 100644
index 00000000000..a8932d3629d
--- /dev/null
+++ b/srcpkgs/growlight/template
@@ -0,0 +1,17 @@
+# Template file for 'growlight'
+pkgname=growlight
+version=1.2.18
+revision=1
+build_style=cmake
+hostmakedepends="pkg-config pandoc"
+makedepends="libatasmart-devel libblkid-devel libcap-devel cryptsetup-devel
+ nettle-devel notcurses-devel libpciaccess-devel eudev-libudev-devel zlib-devel
+ device-mapper-devel pciutils-devel zfs-devel"
+depends="ntfs-3g jfsutils xfsprogs nvme-cli hdparm f2fs-tools btrfs-progs e2fsprogs"
+short_desc="Block device manager and system installation tool"
+maintainer="mobinmob <mobinmob@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://nick-black.com/dankwiki/index.php/Growlight"
+distfiles="https://github.com/dankamongmen/growlight/archive/v${version}.tar.gz"
+checksum=c6c08556e6838226b81300e177c49d7a382e9eb30cfdb19f99790106e426a032
+

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

* Re: New packages: notcurses and growlight
  2020-11-11 16:37 [PR PATCH] [WIP] New packages: notcurses and growlight mobinmob
                   ` (17 preceding siblings ...)
  2020-11-12  0:36 ` [PR PATCH] [Updated] " mobinmob
@ 2020-11-12  0:37 ` mobinmob
  2020-11-12 11:17 ` [PR REVIEW] " mobinmob
                   ` (7 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: mobinmob @ 2020-11-12  0:37 UTC (permalink / raw)
  To: ml

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

New comment by mobinmob on void-packages repository

https://github.com/void-linux/void-packages/pull/26292#issuecomment-725745354

Comment:
- Added doctest.
- Removed notcurses-doc - the manpages are build with pandoc.

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

* Re: [PR REVIEW] New packages: notcurses and growlight
  2020-11-11 16:37 [PR PATCH] [WIP] New packages: notcurses and growlight mobinmob
                   ` (18 preceding siblings ...)
  2020-11-12  0:37 ` mobinmob
@ 2020-11-12 11:17 ` mobinmob
  2020-11-17 13:34 ` [PR PATCH] [Updated] " mobinmob
                   ` (6 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: mobinmob @ 2020-11-12 11:17 UTC (permalink / raw)
  To: ml

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

New review comment by mobinmob on void-packages repository

https://github.com/void-linux/void-packages/pull/26292#discussion_r522029434

Comment:
Yes, I have build the programms for many archs, w/o problem and added pandoc as hostmakedepends. If haskel is not available on ppc Ι can add pandoc and the configure_args for everything else.

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

* Re: [PR PATCH] [Updated] New packages: notcurses and growlight
  2020-11-11 16:37 [PR PATCH] [WIP] New packages: notcurses and growlight mobinmob
                   ` (19 preceding siblings ...)
  2020-11-12 11:17 ` [PR REVIEW] " mobinmob
@ 2020-11-17 13:34 ` mobinmob
  2020-11-17 14:55 ` mobinmob
                   ` (5 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: mobinmob @ 2020-11-17 13:34 UTC (permalink / raw)
  To: ml

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

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

https://github.com/mobinmob/void-packages notcurses+growlight
https://github.com/void-linux/void-packages/pull/26292

New packages: notcurses and growlight


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-notcurses+growlight-26292.patch --]
[-- Type: text/x-diff, Size: 7264 bytes --]

From 4dc1b876830b76a00326dc146016a2049413db31 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Thu, 12 Nov 2020 02:33:13 +0200
Subject: [PATCH 1/4] New package: notcurses-2.0.4

---
 common/shlibs              |  2 ++
 srcpkgs/notcurses-devel    |  1 +
 srcpkgs/notcurses-progs    |  1 +
 srcpkgs/notcurses/template | 40 ++++++++++++++++++++++++++++++++++++++
 4 files changed, 44 insertions(+)
 create mode 120000 srcpkgs/notcurses-devel
 create mode 120000 srcpkgs/notcurses-progs
 create mode 100644 srcpkgs/notcurses/template

diff --git a/common/shlibs b/common/shlibs
index 5e274cc8d8d..1289beb197b 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3991,3 +3991,5 @@ liburing.so.1 liburing-0.7_1
 libbson-1.0.so.0 libbson-1.17.0_1
 libsonic.so.0 libsonic-0.2.0_1
 libtickit.so.3 libtickit-0.4.1_1
+libnotcurses.so.2 notcurses-2.0.4_1
+libnotcurses++.so.2 notcurses-2.0.4_1
diff --git a/srcpkgs/notcurses-devel b/srcpkgs/notcurses-devel
new file mode 120000
index 00000000000..609dfe4d9c5
--- /dev/null
+++ b/srcpkgs/notcurses-devel
@@ -0,0 +1 @@
+notcurses
\ No newline at end of file
diff --git a/srcpkgs/notcurses-progs b/srcpkgs/notcurses-progs
new file mode 120000
index 00000000000..609dfe4d9c5
--- /dev/null
+++ b/srcpkgs/notcurses-progs
@@ -0,0 +1 @@
+notcurses
\ No newline at end of file
diff --git a/srcpkgs/notcurses/template b/srcpkgs/notcurses/template
new file mode 100644
index 00000000000..6a76c1f1c1f
--- /dev/null
+++ b/srcpkgs/notcurses/template
@@ -0,0 +1,40 @@
+# Template file for 'notcurses'
+pkgname=notcurses
+version=2.0.4
+revision=1
+build_style=cmake
+configure_args="-DUSE_STATIC=ON"
+hostmakedepends="pkg-config pandoc"
+makedepends="libunistring-devel ffmpeg-devel ncurses-libtinfo-devel qrcodegen-devel doctest-devel"
+depends="ncurses-base"
+short_desc="Blingful character graphics/TUI library"
+maintainer="mobinmob <mobinmob@disroot.org>"
+license="Apache-2.0"
+homepage="https://nick-black.com/dankwiki/index.php/Notcurses"
+changelog="https://raw.githubusercontent.com/dankamongmen/notcurses/master/NEWS.md"
+distfiles="https://github.com/dankamongmen/notcurses/archive/v${version}.tar.gz"
+checksum=6bb38ca0affc6425cd8e248c5b81aa4281713362c45202a450a89ab751833c98
+
+notcurses-devel_package() {
+	depends="notcurses-${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove /usr/lib/cmake
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+		vmove usr/share/doc
+		vmove usr/share/man/man3 
+	}
+}
+
+notcurses-progs_package() {
+	depends="notcurses-${version}_${revision}"
+	short_desc+=" - programs"
+	pkg_install() {
+		vmove usr/bin
+		vmove usr/share/notcurses
+		vmove usr/share/man/man1
+	}
+}

From 18c470d03d53ade2d8d4ee378a6251514d492173 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Thu, 12 Nov 2020 02:34:14 +0200
Subject: [PATCH 2/4] New package: doctest-2.4.1

---
 srcpkgs/doctest-devel    |  1 +
 srcpkgs/doctest/template | 26 ++++++++++++++++++++++++++
 2 files changed, 27 insertions(+)
 create mode 120000 srcpkgs/doctest-devel
 create mode 100644 srcpkgs/doctest/template

diff --git a/srcpkgs/doctest-devel b/srcpkgs/doctest-devel
new file mode 120000
index 00000000000..79086729892
--- /dev/null
+++ b/srcpkgs/doctest-devel
@@ -0,0 +1 @@
+doctest
\ No newline at end of file
diff --git a/srcpkgs/doctest/template b/srcpkgs/doctest/template
new file mode 100644
index 00000000000..4e87e7630bd
--- /dev/null
+++ b/srcpkgs/doctest/template
@@ -0,0 +1,26 @@
+# Template file for 'doctest'
+pkgname=doctest
+version=2.4.1
+revision=1
+build_style=cmake
+short_desc="Doctest C++ testing framework"
+maintainer="mobinmob <mobinmob@disroot.org>"
+license="MIT"
+homepage="https://github.com/onqtam/doctest/blob/master/doc/markdown/readme.md#reference"
+changelog="https://raw.githubusercontent.com/onqtam/doctest/master/CHANGELOG.md"
+distfiles="https://github.com/onqtam/doctest/archive/${version}.tar.gz"
+checksum=0a0f0be21ee23e36ff6b8b9d63c06a7792e04cce342e1df3dee0e40d1e21b9f0
+
+post_install() {
+	vlicense LICENSE.txt
+}
+
+doctest-devel_package() {
+	depends="doctest-${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		}
+}
+

From be2f08cbba0be4e7eb94a89113e150054291183a Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Thu, 12 Nov 2020 02:34:52 +0200
Subject: [PATCH 3/4] qrcodegen: enable C library build

---
 srcpkgs/qrcodegen/template | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/qrcodegen/template b/srcpkgs/qrcodegen/template
index 53627a2b98f..69a30a99d54 100644
--- a/srcpkgs/qrcodegen/template
+++ b/srcpkgs/qrcodegen/template
@@ -1,10 +1,8 @@
 # Template file for 'qrcodegen'
 pkgname=qrcodegen
 version=1.6.0
-revision=2
+revision=3
 wrksrc="QR-Code-generator-${version}"
-build_wrksrc="cpp"
-build_style=gnu-makefile
 short_desc="QR Code generator library"
 maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
 license="MIT"
@@ -14,11 +12,20 @@ checksum=8acee5a77325e075b910747ad4b1fdb1491b7e22d0b8f1b5a6ea15ea08ba33a8
 
 CXXFLAGS="-fPIC"
 
+do_build() {
+	for dir in c cpp                                                     
+	do                                                                                 
+ 	cd $dir && make && cd ..                                                         
+	done
+}
+
 do_install() {
-	sed -n "/^License/,/xxxx/p" ../Readme.markdown > LICENSE
+	sed -n "/^License/,/xxxx/p" Readme.markdown > LICENSE
 	vlicense LICENSE
-	vinstall QrCode.hpp 644 usr/include/qrcodegen
-	vinstall libqrcodegen.a 644 usr/lib libqrcodegencpp.a
+	vinstall cpp/QrCode.hpp 644 usr/include/qrcodegen
+	vinstall cpp/libqrcodegen.a 644 usr/lib libqrcodegencpp.a
+	vinstall c/qrcodegen.h 644 usr/include/qrcodegen
+	vinstall c/libqrcodegen.a 644 usr/lib
 }
 
 qrcodegen-devel_package() {

From d2ef525c5762869ce95788cb0b1ba32dd7f17ce5 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Thu, 12 Nov 2020 02:35:27 +0200
Subject: [PATCH 4/4] New package: growlight-1.2.18

---
 srcpkgs/growlight/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/growlight/template

diff --git a/srcpkgs/growlight/template b/srcpkgs/growlight/template
new file mode 100644
index 00000000000..a8932d3629d
--- /dev/null
+++ b/srcpkgs/growlight/template
@@ -0,0 +1,17 @@
+# Template file for 'growlight'
+pkgname=growlight
+version=1.2.18
+revision=1
+build_style=cmake
+hostmakedepends="pkg-config pandoc"
+makedepends="libatasmart-devel libblkid-devel libcap-devel cryptsetup-devel
+ nettle-devel notcurses-devel libpciaccess-devel eudev-libudev-devel zlib-devel
+ device-mapper-devel pciutils-devel zfs-devel"
+depends="ntfs-3g jfsutils xfsprogs nvme-cli hdparm f2fs-tools btrfs-progs e2fsprogs"
+short_desc="Block device manager and system installation tool"
+maintainer="mobinmob <mobinmob@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://nick-black.com/dankwiki/index.php/Growlight"
+distfiles="https://github.com/dankamongmen/growlight/archive/v${version}.tar.gz"
+checksum=c6c08556e6838226b81300e177c49d7a382e9eb30cfdb19f99790106e426a032
+

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

* Re: [PR PATCH] [Updated] New packages: notcurses and growlight
  2020-11-11 16:37 [PR PATCH] [WIP] New packages: notcurses and growlight mobinmob
                   ` (20 preceding siblings ...)
  2020-11-17 13:34 ` [PR PATCH] [Updated] " mobinmob
@ 2020-11-17 14:55 ` mobinmob
  2020-11-21 22:48 ` [PR PATCH] [Merged]: " the-maldridge
                   ` (4 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: mobinmob @ 2020-11-17 14:55 UTC (permalink / raw)
  To: ml

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

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

https://github.com/mobinmob/void-packages notcurses+growlight
https://github.com/void-linux/void-packages/pull/26292

New packages: notcurses and growlight


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-notcurses+growlight-26292.patch --]
[-- Type: text/x-diff, Size: 7068 bytes --]

From cc769d5fb397b61b2efe8a9c23da82c89bb07f3f Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Tue, 17 Nov 2020 16:53:28 +0200
Subject: [PATCH 1/4] New package: nocurses-2.0.4.

---
 common/shlibs              |  2 ++
 srcpkgs/notcurses-devel    |  1 +
 srcpkgs/notcurses-progs    |  1 +
 srcpkgs/notcurses/template | 40 ++++++++++++++++++++++++++++++++++++++
 4 files changed, 44 insertions(+)
 create mode 120000 srcpkgs/notcurses-devel
 create mode 120000 srcpkgs/notcurses-progs
 create mode 100644 srcpkgs/notcurses/template

diff --git a/common/shlibs b/common/shlibs
index 5e274cc8d8d..1289beb197b 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3991,3 +3991,5 @@ liburing.so.1 liburing-0.7_1
 libbson-1.0.so.0 libbson-1.17.0_1
 libsonic.so.0 libsonic-0.2.0_1
 libtickit.so.3 libtickit-0.4.1_1
+libnotcurses.so.2 notcurses-2.0.4_1
+libnotcurses++.so.2 notcurses-2.0.4_1
diff --git a/srcpkgs/notcurses-devel b/srcpkgs/notcurses-devel
new file mode 120000
index 00000000000..609dfe4d9c5
--- /dev/null
+++ b/srcpkgs/notcurses-devel
@@ -0,0 +1 @@
+notcurses
\ No newline at end of file
diff --git a/srcpkgs/notcurses-progs b/srcpkgs/notcurses-progs
new file mode 120000
index 00000000000..609dfe4d9c5
--- /dev/null
+++ b/srcpkgs/notcurses-progs
@@ -0,0 +1 @@
+notcurses
\ No newline at end of file
diff --git a/srcpkgs/notcurses/template b/srcpkgs/notcurses/template
new file mode 100644
index 00000000000..bb2d9419da8
--- /dev/null
+++ b/srcpkgs/notcurses/template
@@ -0,0 +1,40 @@
+# Template file for 'notcurses'
+pkgname=notcurses
+version=2.0.4
+revision=1
+build_style=cmake
+configure_args="-DUSE_STATIC=ON"
+hostmakedepends="pkg-config pandoc"
+makedepends="libunistring-devel ffmpeg-devel ncurses-libtinfo-devel qrcodegen-devel doctest-devel"
+depends="ncurses-base"
+short_desc="Blingful character graphics/TUI library"
+maintainer="mobinmob <mobinmob@disroot.org>"
+license="Apache-2.0"
+homepage="https://nick-black.com/dankwiki/index.php/Notcurses"
+changelog="https://raw.githubusercontent.com/dankamongmen/notcurses/master/NEWS.md"
+distfiles="https://github.com/dankamongmen/notcurses/archive/v${version}.tar.gz"
+checksum=6bb38ca0affc6425cd8e248c5b81aa4281713362c45202a450a89ab751833c98
+
+notcurses-devel_package() {
+	depends="notcurses-${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove /usr/lib/cmake
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+		vmove usr/share/doc
+		vmove usr/share/man/man3
+	}
+}
+
+notcurses-progs_package() {
+	depends="notcurses-${version}_${revision}"
+	short_desc+=" - programs"
+	pkg_install() {
+		vmove usr/bin
+		vmove usr/share/notcurses
+		vmove usr/share/man/man1
+	}
+}

From f90dd99b13e8734fb80162c619b1a763c1bb07a3 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Tue, 17 Nov 2020 16:54:10 +0200
Subject: [PATCH 2/4] New package: growlight-1.2.18.

---
 srcpkgs/growlight/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/growlight/template

diff --git a/srcpkgs/growlight/template b/srcpkgs/growlight/template
new file mode 100644
index 00000000000..65e5f69d52a
--- /dev/null
+++ b/srcpkgs/growlight/template
@@ -0,0 +1,16 @@
+# Template file for 'growlight'
+pkgname=growlight
+version=1.2.18
+revision=1
+build_style=cmake
+hostmakedepends="pkg-config pandoc"
+makedepends="libatasmart-devel libblkid-devel libcap-devel cryptsetup-devel
+ nettle-devel notcurses-devel libpciaccess-devel eudev-libudev-devel zlib-devel
+ device-mapper-devel pciutils-devel zfs-devel"
+depends="ntfs-3g jfsutils xfsprogs nvme-cli hdparm f2fs-tools btrfs-progs e2fsprogs"
+short_desc="Block device manager and system installation tool"
+maintainer="mobinmob <mobinmob@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://nick-black.com/dankwiki/index.php/Growlight"
+distfiles="https://github.com/dankamongmen/growlight/archive/v${version}.tar.gz"
+checksum=c6c08556e6838226b81300e177c49d7a382e9eb30cfdb19f99790106e426a032

From d179df8e19c31943fa63899c37f8e695fd9a00b1 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Tue, 17 Nov 2020 16:54:48 +0200
Subject: [PATCH 3/4] New package: doctest-2.4.1.

---
 srcpkgs/doctest-devel    |  1 +
 srcpkgs/doctest/template | 25 +++++++++++++++++++++++++
 2 files changed, 26 insertions(+)
 create mode 120000 srcpkgs/doctest-devel
 create mode 100644 srcpkgs/doctest/template

diff --git a/srcpkgs/doctest-devel b/srcpkgs/doctest-devel
new file mode 120000
index 00000000000..79086729892
--- /dev/null
+++ b/srcpkgs/doctest-devel
@@ -0,0 +1 @@
+doctest
\ No newline at end of file
diff --git a/srcpkgs/doctest/template b/srcpkgs/doctest/template
new file mode 100644
index 00000000000..eeb20eab623
--- /dev/null
+++ b/srcpkgs/doctest/template
@@ -0,0 +1,25 @@
+# Template file for 'doctest'
+pkgname=doctest
+version=2.4.1
+revision=1
+build_style=cmake
+short_desc="Doctest C++ testing framework"
+maintainer="mobinmob <mobinmob@disroot.org>"
+license="MIT"
+homepage="https://github.com/onqtam/doctest/blob/master/doc/markdown/readme.md#reference"
+changelog="https://raw.githubusercontent.com/onqtam/doctest/master/CHANGELOG.md"
+distfiles="https://github.com/onqtam/doctest/archive/${version}.tar.gz"
+checksum=0a0f0be21ee23e36ff6b8b9d63c06a7792e04cce342e1df3dee0e40d1e21b9f0
+
+post_install() {
+	vlicense LICENSE.txt
+}
+
+doctest-devel_package() {
+	depends="doctest-${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		}
+}

From 76b77debcf1d8c3dfd09d29cd0dc2bae70f50f39 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Tue, 17 Nov 2020 16:55:19 +0200
Subject: [PATCH 4/4] qrcodegen: enable C library build.

---
 srcpkgs/qrcodegen/template | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/qrcodegen/template b/srcpkgs/qrcodegen/template
index 53627a2b98f..d181e9cdb52 100644
--- a/srcpkgs/qrcodegen/template
+++ b/srcpkgs/qrcodegen/template
@@ -1,10 +1,8 @@
 # Template file for 'qrcodegen'
 pkgname=qrcodegen
 version=1.6.0
-revision=2
+revision=3
 wrksrc="QR-Code-generator-${version}"
-build_wrksrc="cpp"
-build_style=gnu-makefile
 short_desc="QR Code generator library"
 maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
 license="MIT"
@@ -14,11 +12,20 @@ checksum=8acee5a77325e075b910747ad4b1fdb1491b7e22d0b8f1b5a6ea15ea08ba33a8
 
 CXXFLAGS="-fPIC"
 
+do_build() {
+	for dir in c cpp
+	do
+	cd $dir && make && cd ..
+	done
+}
+
 do_install() {
-	sed -n "/^License/,/xxxx/p" ../Readme.markdown > LICENSE
+	sed -n "/^License/,/xxxx/p" Readme.markdown > LICENSE
 	vlicense LICENSE
-	vinstall QrCode.hpp 644 usr/include/qrcodegen
-	vinstall libqrcodegen.a 644 usr/lib libqrcodegencpp.a
+	vinstall cpp/QrCode.hpp 644 usr/include/qrcodegen
+	vinstall cpp/libqrcodegen.a 644 usr/lib libqrcodegencpp.a
+	vinstall c/qrcodegen.h 644 usr/include/qrcodegen
+	vinstall c/libqrcodegen.a 644 usr/lib
 }
 
 qrcodegen-devel_package() {

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

* Re: [PR PATCH] [Merged]: New packages: notcurses and growlight
  2020-11-11 16:37 [PR PATCH] [WIP] New packages: notcurses and growlight mobinmob
                   ` (21 preceding siblings ...)
  2020-11-17 14:55 ` mobinmob
@ 2020-11-21 22:48 ` the-maldridge
  2020-11-24  3:02 ` q66
                   ` (3 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: the-maldridge @ 2020-11-21 22:48 UTC (permalink / raw)
  To: ml

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

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

New packages: notcurses and growlight
https://github.com/void-linux/void-packages/pull/26292

Description:


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

* Re: New packages: notcurses and growlight
  2020-11-11 16:37 [PR PATCH] [WIP] New packages: notcurses and growlight mobinmob
                   ` (22 preceding siblings ...)
  2020-11-21 22:48 ` [PR PATCH] [Merged]: " the-maldridge
@ 2020-11-24  3:02 ` q66
  2020-11-24  9:48 ` mobinmob
                   ` (2 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: q66 @ 2020-11-24  3:02 UTC (permalink / raw)
  To: ml

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

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/pull/26292#issuecomment-732589272

Comment:
https://github.com/void-linux/void-packages/commit/8690cd6e4433a5c1405e128175e11a8d34c4dc4c
https://github.com/void-linux/void-packages/commit/f52b465ae69ef7982123424ee95a8252a50b8c7f

avoid hard-depending on pandoc in the future, it's unnecessary and breaks any platform that doesn't have a haskell toolchain built

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

* Re: New packages: notcurses and growlight
  2020-11-11 16:37 [PR PATCH] [WIP] New packages: notcurses and growlight mobinmob
                   ` (23 preceding siblings ...)
  2020-11-24  3:02 ` q66
@ 2020-11-24  9:48 ` mobinmob
  2020-11-24  9:48 ` mobinmob
  2020-11-24 12:46 ` q66
  26 siblings, 0 replies; 28+ messages in thread
From: mobinmob @ 2020-11-24  9:48 UTC (permalink / raw)
  To: ml

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

New comment by mobinmob on void-packages repository

https://github.com/void-linux/void-packages/pull/26292#issuecomment-732782779

Comment:
> [8690cd6](https://github.com/void-linux/void-packages/commit/8690cd6e4433a5c1405e128175e11a8d34c4dc4c)
> [f52b465](https://github.com/void-linux/void-packages/commit/f52b465ae69ef7982123424ee95a8252a50b8c7f)
> 
> avoid hard-depending on pandoc in the future, it's unnecessary and breaks any platform that doesn't have a haskell toolchain built

OK, thanks. I pondered what to do about the docs:
https://github.com/void-linux/void-packages/pull/26292#discussion_r521687954
 

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

* Re: New packages: notcurses and growlight
  2020-11-11 16:37 [PR PATCH] [WIP] New packages: notcurses and growlight mobinmob
                   ` (24 preceding siblings ...)
  2020-11-24  9:48 ` mobinmob
@ 2020-11-24  9:48 ` mobinmob
  2020-11-24 12:46 ` q66
  26 siblings, 0 replies; 28+ messages in thread
From: mobinmob @ 2020-11-24  9:48 UTC (permalink / raw)
  To: ml

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

New comment by mobinmob on void-packages repository

https://github.com/void-linux/void-packages/pull/26292#issuecomment-732782779

Comment:
> [8690cd6](https://github.com/void-linux/void-packages/commit/8690cd6e4433a5c1405e128175e11a8d34c4dc4c)
> [f52b465](https://github.com/void-linux/void-packages/commit/f52b465ae69ef7982123424ee95a8252a50b8c7f)
> 
> avoid hard-depending on pandoc in the future, it's unnecessary and breaks any platform that doesn't have a haskell toolchain built

Τhanks. I pondered what to do about the docs:
https://github.com/void-linux/void-packages/pull/26292#discussion_r521687954
 

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

* Re: New packages: notcurses and growlight
  2020-11-11 16:37 [PR PATCH] [WIP] New packages: notcurses and growlight mobinmob
                   ` (25 preceding siblings ...)
  2020-11-24  9:48 ` mobinmob
@ 2020-11-24 12:46 ` q66
  26 siblings, 0 replies; 28+ messages in thread
From: q66 @ 2020-11-24 12:46 UTC (permalink / raw)
  To: ml

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

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/pull/26292#issuecomment-732951920

Comment:
it doesn't matter it's host-only, that still means you're breaking things for anyone who wants to e.g. build on arm natively, etc

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

end of thread, other threads:[~2020-11-24 12:46 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-11 16:37 [PR PATCH] [WIP] New packages: notcurses and growlight mobinmob
2020-11-11 16:51 ` [PR PATCH] [Updated] " mobinmob
2020-11-11 17:08 ` mobinmob
2020-11-11 19:44 ` mobinmob
2020-11-11 20:30 ` mobinmob
2020-11-11 20:30 ` mobinmob
2020-11-11 20:37 ` [PR PATCH] [Updated] " mobinmob
2020-11-11 20:39 ` mobinmob
2020-11-11 21:16 ` mobinmob
2020-11-11 21:16 ` mobinmob
2020-11-11 21:50 ` [PR REVIEW] " ericonr
2020-11-11 22:51 ` [PR PATCH] [Updated] " mobinmob
2020-11-11 22:54 ` mobinmob
2020-11-11 22:57 ` [PR REVIEW] " mobinmob
2020-11-11 22:59 ` mobinmob
2020-11-11 23:00 ` mobinmob
2020-11-11 23:06 ` mobinmob
2020-11-11 23:11 ` [PR REVIEW] " ericonr
2020-11-12  0:36 ` [PR PATCH] [Updated] " mobinmob
2020-11-12  0:37 ` mobinmob
2020-11-12 11:17 ` [PR REVIEW] " mobinmob
2020-11-17 13:34 ` [PR PATCH] [Updated] " mobinmob
2020-11-17 14:55 ` mobinmob
2020-11-21 22:48 ` [PR PATCH] [Merged]: " the-maldridge
2020-11-24  3:02 ` q66
2020-11-24  9:48 ` mobinmob
2020-11-24  9:48 ` mobinmob
2020-11-24 12:46 ` q66

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).