View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010347CMakeModulespublic2010-02-28 18:512016-06-10 14:31
ReporterGary Briggs 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionFixed in Version 
Summary0010347: FindCurses does not find unicode/wide flavors
DescriptionFindCurses does not find unicode/wide flavors. Please find attached a new FindCurses.cmake that does search for the extra libraries.

In the form of the file from before, there's a parameter, CURSES_NEED_WIDE, that causes the module to search for ncursesw instead of ncurses.

I started with the 2.6 module when I edited. The only difference I see between the 2.6 module and the 2.8 module is some comment boilerplate near the top; presumably adding that boilerplate would make this work for 2.8 also, although I'm just using "whatever it is that ubuntu has in the repo":
$ cmake --version
cmake version 2.6-patch 2
Additional InformationThis was discussed a while ago on the mailing list here:
http://www.mail-archive.com/cmake@cmake.org/msg15578.html [^]

And I brought it up again here:
http://www.mail-archive.com/cmake@cmake.org/msg27411.html [^]
[where I was asked to make this bug report]

Specifically I did this for the mojosetup project:
http://icculus.org/mojosetup/ [^]

With some discussion on their mailing list here:
http://icculus.org/pipermail/mojosetup/2010-February/000133.html [^]
TagsNo tags attached.
Attached Files? file icon FindCurses.cmake [^] (6,923 bytes) 2010-02-28 18:51

 Relationships

  Notes
(0033044)
Brad King (manager)
2013-05-15 16:02

Additional discussion here:

 http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/6816 [^]
(0033045)
Brad King (manager)
2013-05-15 16:03

For reference, the first commit to start dealing with the curses combinations was:

 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c41f7983 [^]
(0036416)
Sylwester Arabas (reporter)
2014-07-21 04:35

Hello,

We came across this issue after some GNU Data Language (GDL) users reported unicode-related regression after switching from autoconf to CMake. It would certainly be great to have this feature in CMake!

Could you please also suggest some workaround for older CMake versions? Is it best to simply include the modified FindCurses.cmake file posted here (renamed?) and after it gets into CMake add some condition on CMake versoin?

Thanks, regards,
Sylwester
(0036422)
Brad King (manager)
2014-07-21 10:18

For reference, some re-organization of FindCurses was done for 0015011 recently:

 FindCurses: Overhaul Curses and NCurses search logic
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=6c8364e6 [^]

Further changes should be rebased on at least that version.
(0036423)
Brad King (manager)
2014-07-21 10:23

Re 0010347:0036416: The changes linked in 0010347:0036422 should make it easier to support additional curses headers and libraries, but the FindCurses attached here will need to be updated to take them into account.

To work with older versions you can put the module in your project and list its location in CMAKE_MODULE_PATH. This is quite common. Often modules start that way and are later upstreamed in CMake.
(0041660)
Kitware Robot (administrator)
2016-06-10 14:27

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2010-02-28 18:51 Gary Briggs New Issue
2010-02-28 18:51 Gary Briggs File Added: FindCurses.cmake
2011-01-17 14:38 David Cole Assigned To => David Cole
2011-01-17 14:38 David Cole Status new => assigned
2011-02-09 13:58 David Cole Status assigned => backlog
2011-02-09 14:00 David Cole Assigned To David Cole =>
2013-05-15 16:02 Brad King Note Added: 0033044
2013-05-15 16:03 Brad King Note Added: 0033045
2014-07-21 04:35 Sylwester Arabas Note Added: 0036416
2014-07-21 10:18 Brad King Note Added: 0036422
2014-07-21 10:23 Brad King Note Added: 0036423
2016-06-10 14:27 Kitware Robot Note Added: 0041660
2016-06-10 14:27 Kitware Robot Status backlog => resolved
2016-06-10 14:27 Kitware Robot Resolution open => moved
2016-06-10 14:27 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team