That's one reason why I prefer GNU autoconf/automake over cmake.
http://www.gnu.org/software/autoconf-archive/ax_with_curses.html
-------- Will Godfrey 18:20 Mon 07 Nov --------
On Mon, 07 Nov 2016 13:58:58 +0100
Edgar Aichinger <edogawa@xxxxxx> wrote:
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
Hi Edgar,
Depressing news :(
It seems the only way to deal with this is to directly look for ncurses.h
In debian 'ordinary' ncurses is at:
/usr/include/ncurses.h
and for ncursesw is is:
/usr/include/ncursesw/ncurses.h
I don't know if this is common of just a debian idea.
At this moment in time I have no idea how to do that - anyone else done such a
thing?
--
Will J Godfrey
http://www.musically.me.uk
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.
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