All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] alsa-utils-alsamixer: add ncurses-terminfo RDEPENDS
@ 2010-08-29 12:50 Eric Bénard
       [not found] ` <lysk1x5xk3.fsf@ensc-virt.intern.sigma-chemnitz.de>
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Bénard @ 2010-08-29 12:50 UTC (permalink / raw)
  To: openembedded-devel

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

Signed-off-by: Eric Bénard <eric@eukrea.com>
---
 recipes/alsa/alsa-utils_1.0.20.bb |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/recipes/alsa/alsa-utils_1.0.20.bb b/recipes/alsa/alsa-utils_1.0.20.bb
index cca2980..51c963b 100644
--- a/recipes/alsa/alsa-utils_1.0.20.bb
+++ b/recipes/alsa/alsa-utils_1.0.20.bb
@@ -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"
-- 
1.6.3.3




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

* Re: [PATCH] alsa-utils-alsamixer: add ncurses-terminfo RDEPENDS
       [not found] ` <lysk1x5xk3.fsf@ensc-virt.intern.sigma-chemnitz.de>
@ 2010-08-29 14:10   ` Martin Jansa
  2010-08-29 15:01     ` Enrico Scholz
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Jansa @ 2010-08-29 14:10 UTC (permalink / raw)
  To: openembedded-devel

On Sun, Aug 29, 2010 at 03:59:56PM +0200, Enrico Scholz wrote:
> Eric Bénard <eric@eukrea.com> writes:
> 
> > +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,
-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com



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

* Re: [PATCH] alsa-utils-alsamixer: add ncurses-terminfo RDEPENDS
  2010-08-29 14:10   ` Martin Jansa
@ 2010-08-29 15:01     ` Enrico Scholz
  0 siblings, 0 replies; 3+ messages in thread
From: Enrico Scholz @ 2010-08-29 15:01 UTC (permalink / raw)
  To: openembedded-devel

Martin Jansa <martin.jansa@gmail.com> writes:

>> > +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



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

end of thread, other threads:[~2010-08-29 15:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-29 12:50 [PATCH] alsa-utils-alsamixer: add ncurses-terminfo RDEPENDS Eric Bénard
     [not found] ` <lysk1x5xk3.fsf@ensc-virt.intern.sigma-chemnitz.de>
2010-08-29 14:10   ` Martin Jansa
2010-08-29 15:01     ` Enrico Scholz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.