Skip to contentSkip to conversation

alsa-utils-alsamixer: add ncurses-terminfo RDEPENDS

PATCH In review Eric Bénard 3 participants 3 messages Aug 29, 2010 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 alsa-utils-alsamixer: add ncurses-terminfo RDEPENDS

else I get "Error opening terminal: linux." when trying to run it.

---
 recipes/alsa/alsa-utils_1.0.20.bb |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
recipes/alsa/alsa-utils_1.0.20.bb +3 -1
index cca2980..51c963b 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.alsa-project.org"
 SECTION = "console/utils"
 LICENSE = "GPLv2"
 DEPENDS = "alsa-lib ncurses"
-PR = "r3"
+PR = "r4"
 
 SRC_URI = "ftp://ftp.alsa-project.org/pub/utils/alsa-utils-${PV}.tar.bz2 \
 	   file://alsa-utils-remove-xmlto-1.0.19plus.patch \
@@ -52,6 +52,8 @@ FILES_alsa-utils-alsactl     = "${sbindir}/alsactl"
 FILES_alsa-utils-aseqdump    = "${bindir}/aseqdump"
 FILES_alsa-utils-alsaconf    = "${sbindir}/alsaconf"
 
+RDEPENDS_alsa-utils-alsamixer = "ncurses-terminfo"
+
 DESCRIPTION_alsa-utils-aplay        = "play (and record) sound files via ALSA"
 DESCRIPTION_alsa-utils-amixer       = "command-line based control for ALSA mixer and settings"
 DESCRIPTION_alsa-utils-alsamixer    = "ncurses based control for ALSA mixer and settings"
Signature · 1 line
1.6.3.3

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 7 lines · Enrico Scholz
Quoted 1 line · Eric Bénard

+RDEPENDS_alsa-utils-alsamixer = "ncurses-terminfo"

I think this should be solved in ncurses because it affects other packages too; e.g. moving its /etc/terminfo files from 'ncurses' into an own package and rrecommending this in the libtinfo package.

I've already added this to few recipes:
http://git.openembedded.org/cgit.cgi/openembedded/log/?qt=grep&q=terminfo

but only as RRECOMMENDS (RDEPENDS would be better), because ncurses-5.7 wasn't default and not all distros had ncurses-terminfo available.

Regards,

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#3 lore raw
Quoted 8 lines · Martin Jansa
Quoted 5 lines
Quoted 1 line

+RDEPENDS_alsa-utils-alsamixer = "ncurses-terminfo"

I think this should be solved in ncurses because it affects other packages too; e.g. moving its /etc/terminfo files from 'ncurses' into an own package and rrecommending this in the libtinfo package.

I've already added this to few recipes:
http://git.openembedded.org/cgit.cgi/openembedded/log/?qt=grep&q=terminfo

The 'ncurses-terminfo' is a large package (>500kB) and contains definitions for exotic terminal. The definitions on 'ncurses' take only 6kB and cover perhaps 95% of all use cases (linux, xterm, vt100, screen).

I will move them into an own -terminfo-base package; atm I am not sure whether I should write

| RSUGGESTS_${PN}-libtinfo = "${PN}-terminfo" | RRECOMMENDS_${PN}-libtinfo = "${PN}-terminfo-base"

or

| RPROVIDES_${PN}-terminfo = "virtual/terminfo"
| RPROVIDES_${PN}-terminfo-base = "virtual/terminfo"
| RDEPENDS_${PN}-libtinfo = "virtual/terminfo"

I tend to the first variant.

Enrico