[Debian-med-packaging] Bug#720681: Help with cmake needed (Was: Bug#720681: (Further) help with C++ needed)

Andreas Tille andreas at an3as.eu
Fri Dec 13 15:21:29 UTC 2013


Hi,

On Fri, Dec 13, 2013 at 01:11:10PM +0100, Gert Wollny wrote:
> The build system is quite complex, which makes it difficult to fix it
> without digging too much into it. As far as I can see there is some
> mixup between creating the files in VIEW/DIALOG and VIEW/UIC and then
> things go wrong, but how and why, I don't really understand. 
> 
> > 
> > I'm now trying to implement the hint of the issue reporter to run
> > uic-qt4 on the .ui files.
> A quick and dirty fix would be to create the files manually and add them
> as patch

Since about more than 50 ui_*.h files seem to be needed in this process
I dived again into the build system.  I dropped some comment into d/rules
(in Git git://git.debian.org/git/debian-med/ball.git)

	## Uhmmm, seems we need to do this for all UI files mentioned in
	##   source/VIEW/DIALOGS/sources.cmake
	## but I really hope some cmake expert might be able to find a clue
	## how to trigger cmake to do it as intended by upstream.
	## Somehow the code
	##   ADD_BALL_UIFILES("VIEW/DIALOGS" "${UI_LIST}")
	## needs to be called before the build code below can be started

which basically tries to describe what needs to happen but my cmake
knowledge is to rudimentary to know how to approach this.  If nobody has
any idea I'd try some script hacking around the cmake input file and try
to do what needs to be done to create the missing files.

Kind regards

       Andreas.

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list