OTB-Application debian source package should be more automatic
Mantis Issue 342, reported by jmalik, assigned to sdinot, created: 2011-06-17
As of today, every application in otbapp-common is specified manually.
So each time a new app comes out upstream, the otbapp-cli/qtgui/flgui contains the executables for the new app (since found via regex), but the otbapp-common does not contain the main library containing the application code.
Proposed solution : [1]
- generate the application list via CMake in a text file
- make the debian package use it (probably need to include the text file in the installed files, which may not be desired)
[2] before starting building the source package, parse all CMakeLists.txt in OTB-Application sources, look for pattern :
OTB_WRAP_APPLICATION(NAME otbFineRegistration CLASSNAME "otb::FineRegistration" INCLUDE_FILE "otbFineRegistration.h" INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR} LINK_LIBRARIES OTBFineRegistration)
and extract the "OTBFineRegistration" from there.
1308301557 - julienmSebastien, any good idea to handle this ?
1326022346 - julienmotbapp package is entering maintenance mode and won't move a lot now.
The applications have been moved in OTB and we don't have this problem for the otb-bin package.