Github messages for voidlinux
 help / color / mirror / Atom feed
From: mobinmob <mobinmob@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New packages: notcurses and growlight
Date: Wed, 11 Nov 2020 23:51:33 +0100	[thread overview]
Message-ID: <20201111225133.DOG0gTeMCYMjBkQyxNqt80iqDIIwu7bLMRFkDfJBdo0@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26292@inbox.vuxu.org>

[-- 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
+	}
+}

  parent reply	other threads:[~2020-11-11 22:51 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-11 16:37 [PR PATCH] [WIP] " 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 ` mobinmob [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201111225133.DOG0gTeMCYMjBkQyxNqt80iqDIIwu7bLMRFkDfJBdo0@z \
    --to=mobinmob@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).