Add a CXXFLAG to the OpenSceneGraph .deb build

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Wed Oct 6 11:55:25 UTC 2010


Hello,

On Tuesday 05 October 2010 14:58:11 Massimo Di Stefano wrote:
> Hello All
> 
> i'm an OSG user,
> 
> for my study i need to build an app that depends on OSG and FFMPEG
> this app needs an uptodate ffmpeg library to build .. so i have to use
> ffmpeg from svn.
> 
> Unlucky to build my app i can't use the osg .deb packages beacouse i need 
to build OSG using this export :
> >> export CXXFLAGS='-D__STDC_CONSTANT_MACROS'
> 
> Please, can you tell me if it is possible to add this flag in the 
> openscenegraph na d openthreads .deb packages ?

It is not clear to me why do you need to compile OSG packages with that flag 
enabled, instead of just building your project with that flag enabled.  Do 
OSG packages really behave different (compile different chunks of code) when 
enabling or disabling the flag?

Even in that case, if it's not enabled by default, I doubt that it's a good 
idea to enable them for all Debian users -- at least we haven't had such 
requests before.

Anyway, there's a very simple way to achieve what you propose -- you can 
compilie our Debian packages from source, with whatever additional flags you 
desire:
http://www.debianhelp.co.uk/debcreation.htm

In this way, you can get the packages compiled with whatever flags you want 
and then install them in your system, without forcing us to introduce any 
changes for the rest of the Debian people :)

Cheers.

BTW, in future ocasions please submit 'whishlist' bug reports to the 
appropriate packages, instead of writing private emails.
-- 
Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>



More information about the pkg-multimedia-maintainers mailing list