[arch-commits] Commit in ncmpc/trunk (PKGBUILD progressbar.patch)

Gaëtan Bisson bisson at archlinux.org
Thu Sep 27 17:37:56 UTC 2018


    Date: Thursday, September 27, 2018 @ 17:37:56
  Author: bisson
Revision: 335482

upstream update

Modified:
  ncmpc/trunk/PKGBUILD
Deleted:
  ncmpc/trunk/progressbar.patch

-------------------+
 PKGBUILD          |   13 +++++--------
 progressbar.patch |   36 ------------------------------------
 2 files changed, 5 insertions(+), 44 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-27 17:25:54 UTC (rev 335481)
+++ PKGBUILD	2018-09-27 17:37:56 UTC (rev 335482)
@@ -5,8 +5,8 @@
 # Contributor: Daniel Bainton <dpb [at] backarrow.org>
 
 pkgname=ncmpc
-pkgver=0.30
-pkgrel=2
+pkgver=0.31
+pkgrel=1
 pkgdesc='Fully featured MPD client using ncurses'
 url='https://www.musicpd.org/clients/ncmpc/'
 arch=('x86_64')
@@ -16,16 +16,13 @@
             'ruby: to enable lyrics plugin')
 makedepends=('meson' 'python-sphinx')
 validpgpkeys=('0392335A78083894A4301C43236E8A58C6DB4512')
-source=("https://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig}
-        'progressbar.patch')
-sha256sums=('e3fe0cb58b8a77f63fb1645c2f974b334f1614efdc834ec698ee7d861f1b12a3'
-            'SKIP'
-            '5ccc53da4f8e6a3fa2a2f7abad878bae846737a89cbde550170b25fa46d0292e')
+source=("https://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig})
+sha256sums=('8d3416c5b99ec21527b506f75bd7e536ddff60e61695b05989e791a751611bcc'
+            'SKIP')
 
 prepare() {
 	cd "${srcdir}/${pkgname}-${pkgver}"
 	sed "s/curses == 'ncursesw'/false/g" -i meson.build
-	patch -p1 -i ../progressbar.patch
 }
 
 build() {

Deleted: progressbar.patch
===================================================================
--- progressbar.patch	2018-09-27 17:25:54 UTC (rev 335481)
+++ progressbar.patch	2018-09-27 17:37:56 UTC (rev 335482)
@@ -1,36 +0,0 @@
-From fa73e3faa29af8638d2557c6c808bda9dc67afc2 Mon Sep 17 00:00:00 2001
-From: Aleksi Blinnikka <aleksi.blinnikka at gmail.com>
-Date: Tue, 10 Apr 2018 02:33:30 +0300
-Subject: [PATCH] Fix blank progressbar when colors are not in use
-
-When moving wbkgd() call in 9c22a95 it was not conditional like it was
-for others (commits 7946611 and 6b337bc), which caused progress bar to
-not show.
----
- src/ProgressBar.cxx | 6 +++++-
- 1 file changed, 5 insertions(+), 1 deletion(-)
-
-diff --git a/src/ProgressBar.cxx b/src/ProgressBar.cxx
-index 7ddc72f..02782db 100644
---- a/src/ProgressBar.cxx
-+++ b/src/ProgressBar.cxx
-@@ -19,6 +19,7 @@
- 
- #include "ProgressBar.hxx"
- #include "colors.hxx"
-+#include "options.hxx"
- 
- #include <assert.h>
- 
-@@ -26,7 +27,10 @@ ProgressBar::ProgressBar(Point p, unsigned _width)
- 	:window(p, {_width, 1u})
- {
- 	leaveok(window.w, true);
--	wbkgd(window.w, COLOR_PAIR(COLOR_PROGRESSBAR));
-+#ifdef ENABLE_COLORS
-+	if (options.enable_colors)
-+		wbkgd(window.w, COLOR_PAIR(COLOR_PROGRESSBAR));
-+#endif
- }
- 
- void



More information about the arch-commits mailing list