Skip to contentSkip to conversation

htop: enable unicode if possible

PATCH Superseded Jérôme Pouiller 2 participants 2 messages Nov 9, 2016

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 htop: enable unicode if possible

---
 package/htop/htop.mk | 2 ++
 1 file changed, 2 insertions(+)
package/htop/htop.mk +2 -0
index 7409a78..e1a658b 100644
@@ -7,7 +7,9 @@
 HTOP_VERSION = 2.0.2
 HTOP_SITE = http://hisham.hm/htop/releases/$(HTOP_VERSION)
 HTOP_DEPENDENCIES = ncurses
+ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),)
 HTOP_CONF_OPTS = --disable-unicode
+endif
 # Prevent htop build system from searching the host paths
 HTOP_CONF_ENV = HTOP_NCURSES_CONFIG_SCRIPT=$(STAGING_DIR)/usr/bin/ncurses5-config
 HTOP_LICENSE = GPLv2
Signature · 1 line
2.9.3
#1 lore raw

PATCH 1/1 htop: enable unicode if possible

Hello,

Quoted 10 lines · J?r?me Pouiller
---
 package/htop/htop.mk | 2 ++
 1 file changed, 2 insertions(+)
package/htop/htop.mk +0 -0
index 7409a78..e1a658b 100644

package/htop/htop.mk line 12

Quoted 6 lines
package/htop/htop.mk +2 -0
@@ -7,7 +7,9 @@
 HTOP_VERSION = 2.0.2
 HTOP_SITE = http://hisham.hm/htop/releases/$(HTOP_VERSION)
 HTOP_DEPENDENCIES = ncurses
+ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),)
 HTOP_CONF_OPTS = --disable-unicode
+endif

We want something more explicit, like:

ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y)
HTOP_CONF_OPTS += --enable-unicode
else
HTOP_CONF_OPTS += --disable-unicode
endif

Could you try this, in both situations, and see if it works as expected?

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com