Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] growlight: patch to work with notcurses v2.2.6.
@ 2021-04-14 12:45 mobinmob
  2021-04-14 12:47 ` ericonr
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: mobinmob @ 2021-04-14 12:45 UTC (permalink / raw)
  To: ml

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

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

https://github.com/mobinmob/void-packages growlight-update
https://github.com/void-linux/void-packages/pull/30233

growlight: patch to work with notcurses v2.2.6.
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

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

From 8ff206cee3c9d6d60694ad4e4e8112fd08e5e0e6 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Wed, 14 Apr 2021 15:43:30 +0300
Subject: [PATCH] growlight: patch to work with notcurses v2.2.6.

---
 ...bad3daf23276167e28dedb73dcd1af4c9f826.diff | 43 +++++++++++++++++++
 srcpkgs/growlight/template                    |  2 +-
 2 files changed, 44 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/growlight/patches/1bfbad3daf23276167e28dedb73dcd1af4c9f826.diff

diff --git a/srcpkgs/growlight/patches/1bfbad3daf23276167e28dedb73dcd1af4c9f826.diff b/srcpkgs/growlight/patches/1bfbad3daf23276167e28dedb73dcd1af4c9f826.diff
new file mode 100644
index 000000000000..2f336ed7000f
--- /dev/null
+++ b/srcpkgs/growlight/patches/1bfbad3daf23276167e28dedb73dcd1af4c9f826.diff
@@ -0,0 +1,43 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 9d85c10..4c1ad5f 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -34,7 +34,7 @@ add_compile_options(-Wall -Wextra -W -Wshadow -Wformat -fexceptions)
+ find_package(PkgConfig REQUIRED)
+ find_package(Threads)
+ set_package_properties(Threads PROPERTIES TYPE REQUIRED)
+-find_package(Notcurses 2.1.8 CONFIG)
++find_package(Notcurses 2.2.6 CONFIG)
+ set_package_properties(Notcurses PROPERTIES TYPE REQUIRED)
+ pkg_check_modules(LIBATASMART REQUIRED libatasmart>=0.19)
+ pkg_check_modules(LIBBLKID REQUIRED blkid>=2.20.1)
+diff --git a/README.md b/README.md
+index c8ef069..ec250d2 100644
+--- a/README.md
++++ b/README.md
+@@ -22,7 +22,7 @@ Dependencies:
+  - libcryptsetup 2.1.5+
+  - libdevmapper 1.02.74+
+  - libnettle 3.5.1+
+- - libnotcurses 2.1.8+
++ - libnotcurses 2.2.6+
+  - libpci 3.1.9+
+  - libpciaccess 0.13.1+
+  - libreadline 8.0+
+diff --git a/src/notcurses/notcurses.c b/src/notcurses/notcurses.c
+index 1eaf143..a56a9d3 100644
+--- a/src/notcurses/notcurses.c
++++ b/src/notcurses/notcurses.c
+@@ -622,10 +622,10 @@ cmvwhline(struct ncplane* nc, int y, int x, const char* ch, int n){
+   }
+   c.channels = ncplane_channels(nc);
+   if(ncplane_hline(nc, &c, n) != n){
+-    cell_release(nc, &c);
++    nccell_release(nc, &c);
+     return -1;
+   }
+-  cell_release(nc, &c);
++  nccell_release(nc, &c);
+   return 0;
+ }
+ 
diff --git a/srcpkgs/growlight/template b/srcpkgs/growlight/template
index 4456db1f8185..213429654c6c 100644
--- a/srcpkgs/growlight/template
+++ b/srcpkgs/growlight/template
@@ -1,7 +1,7 @@
 # Template file for 'growlight'
 pkgname=growlight
 version=1.2.32
-revision=1
+revision=2
 build_style=cmake
 configure_args="$(vopt_bool zfs USE_LIBZFS) $(vopt_bool man USE_PANDOC)"
 hostmakedepends="pkg-config $(vopt_if man pandoc)"

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

end of thread, other threads:[~2021-04-14 15:01 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-14 12:45 [PR PATCH] growlight: patch to work with notcurses v2.2.6 mobinmob
2021-04-14 12:47 ` ericonr
2021-04-14 12:47 ` [PR REVIEW] " ericonr
2021-04-14 12:48 ` mobinmob
2021-04-14 12:48 ` mobinmob
2021-04-14 12:48 ` [PR REVIEW] " ericonr
2021-04-14 12:49 ` ericonr
2021-04-14 12:59 ` [PR PATCH] [Updated] " mobinmob
2021-04-14 12:59 ` mobinmob
2021-04-14 13:02 ` [PR REVIEW] " mobinmob
2021-04-14 13:04 ` ericonr
2021-04-14 14:26 ` sgn
2021-04-14 14:29 ` sgn
2021-04-14 14:53 ` sgn
2021-04-14 15:01 ` [PR PATCH] [Closed]: " mobinmob

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