[yoshimi] Re: Curses - foiled again :(

  • From: Edgar Aichinger <edogawa@xxxxxx>
  • To: yoshimi@xxxxxxxxxxxxx
  • Date: Mon, 07 Nov 2016 13:58:58 +0100

Am Freitag, 4. November 2016, 17:29:38 CET schrieb Will Godfrey:

On Tue, 1 Nov 2016 19:30:04 +0000
Will Godfrey <willgodfrey@xxxxxxxxxxxxxxx> wrote:

ncurses that is!

It seems we were assuming ncursesw was a substitute for ncurses. Well it's 
not.
It's an extension to allow the terminal to handle wide (unicode) characters.

Hmm forget that. It seems I didn't understand the problem - actually I still
don't :(

However, the patch does remove an anomaly so hopefully will be beneficial
anyway.



I don't know if this is related to what made you work on this, but anyway:

Your patch pretty much resembles another one I wrote to hack around some other 
problem, about half a year ago, see 

https://build.opensuse.org/package/view_file/home:edogawa/yoshimi/yoshimi-1.4.0-ncurses.patch?expand=1

My issue at the time was that yoshimi wouldn't build for openSUSE Leap 42.1, 
due to the ncurses version delivered with Leap; unlike previous openSUSE 
versions and Tumbleweed Leap is based on SUSE Linux Enterprise 11 or 12, and 
that specific version of ncurses doesn't supply a .pc file in the -devel 
subpackage at all. Unfortunately I don't really remember anymore but I think I 
gave up at a point. 

Looking at it again just like 2 weeks ago when updating my yoshimi rpm packages 
to 1.4.1 I saw that it wouldn't build for Leap 42.1 nor 42.2 (in RC state now 
and soon to be released). 

From what I understand from reading the cmake module, find_package () also 
relies on an existing .pc file and thus cannot work. I don't know much about 
cmake, but I suspect a custom test would have to be shipped as part of the 
yoshimi cmake support files, and honestly this exceeds my current abilities and 
available time.

Hope this helps,

Edgar
Yoshimi source code is available from either: 
http://sourceforge.net/projects/yoshimi
Or: https://github.com/Yoshimi/yoshimi
Our list archive is at: https://www.freelists.org/archive/yoshimi
To post, email to yoshimi@xxxxxxxxxxxxx

Other related posts: