From: mobinmob <mobinmob@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New packages: notcurses and growlight
Date: Tue, 17 Nov 2020 15:55:54 +0100 [thread overview]
Message-ID: <20201117145554.MQk2UuSr85UmmdfS-4S7DswVZ8b9Bhoe6EttUQsi2sg@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: 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() {
next prev parent reply other threads:[~2020-11-17 14:55 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 ` [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 [this message]
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=20201117145554.MQk2UuSr85UmmdfS-4S7DswVZ8b9Bhoe6EttUQsi2sg@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).