Re: [cmake-developers] [CMake 0012636]: FindwxWidgets.cmake library list is not up-to-date for wxWidgets 2.9.3: doesn't include webview

2011-12-21 Thread Werner Mahr
Mantis Bug Tracker wrote:


 The following CMake command fails, although it should be valid under
 wxWidgets 2.9.3:
 
 FIND_PACKAGE(wxWidgets COMPONENTS core base html webview REQUIRED)

If you update the wx-module, you should consider including a version 
check, or at least a var that contains the version.

-- 
MfG usw.

Werner Mahr

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


[cmake-developers] Integration of manpage installation

2011-06-07 Thread Werner Mahr
Hi,

after reading some stuff about integration of KDE-stuff into cmake, I 
want to know your oppinion about manpages. At least on unix-based 
systems it's an essential function of a build-environment to allow 
installation of the docs.

My suggestion is, to add a new property like man-source-dir or somehow 
like that, and all pages in that dir are installed to the right place if 
they start with the name of the corresponding executable.

I would like to discuss that before I start digging into the code, to 
avoid to finish something that you like to have solved in a different 
place.

-- 
MfG usw.

Werner Mahr

___
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


Re: [cmake-developers] Integration of manpage installation

2011-06-07 Thread Werner Mahr
Eric Noulard wrote:

 My suggestion is, to add a new property like man-source-dir or
 somehow like that, and all pages in that dir are installed to the
 right place if they start with the name of the corresponding
 executable.
 
 Have a look at the new (in 2.8.4)  GnuInstallDirs.cmake module:
 
 http://www.cmake.org/Bug/view.php?id=3976

This Bug is about Vars for the installation-dirs, I'm thinking about 
installation-process.

Usually manpages are named in sources like cmake.1 and are installed 
$mandir/1/cmake

or most often

$mandir/1/cmake.gz

So I want to implement functionality to allow the dwevs to just give the 
place of manpage-sources and let cmake do all the steps:

Rename from appname.section or appname.lang.section to 
appname

compress to appname.gz (maybe configurable)

install to $mandir/section/appname[.gz] or 
$mandir/section/lang/appname[.gz]

If $mandir is given directly or configured in a var like your link 
describes doesn't matter in this case. I don't know about other systems 
like Linux, so maybe the process is different for other plattforms, but 
at least in Linux-systems it would be a great help.

As I started porting amule to cmake I got stuck at exactly that point. 
Google just pointed out hits where the poster got told to look how 
others did it, but there's no generic solution. I would prefer to 
provide such a generic solution instead of reinventing the wheel for 
such a common task over and over again.

-- 
MfG usw.

Werner Mahr

___
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


Re: [cmake-developers] Integration of manpage installation

2011-06-07 Thread Werner Mahr
Michael Wild wrote:

 Rename from appname.section or appname.lang.section to
 appname

 install to $mandir/section/appname[.gz] or
 $mandir/section/lang/appname[.gz]

 install(FILES cmake.1
   DESTINATION ${CMAKE_INSTALL_FULL_MANDIR}/man1 COMPONENT doc)
 
 If you want gzipping, either leave it to the package generation system
 (e.g. dh_installman on Debian and cohorts) or add a custom command to
 do so.

Gzipping isn't the problem, the problem are these two steps above. With 
this command no transformation is done.

amule.1 goes to $mandir/man1/amule.1 instead of $mandir/man1/amule.1
amule.de.1 goes to $mandir/man1/amule.de.1 $mandir/de/man1/amule.1

Even worse
locale.7 would go to $mandir/man1/locale.7 where it definitely not 
belongs.

-- 
MfG usw.

Werner Mahr

___
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers