Re: Add a CXXFLAG to the OpenSceneGraph .deb build

2010-10-06 Thread Reinhard Tartler
On Wed, Oct 06, 2010 at 13:55:25 (CEST), Manuel A. Fernandez Montecelo wrote:

 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.

You can also try the ffmpeg 0.6 package found in debian/experimental.

 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?

This is a percularity of C++ against FFmpeg, there are system headers
that behave differently when compiled with a C compared to a C++
compiler; in this case, the __STDC_CONSTANT_MACROS flag is set only in
C, which sets some defines that FFmpeg 0.6 relies on. I agree to Massimo
that this is an implementation detail that OSG users should better not
worry about, in this case, I would find it reasonable for OSG to suggest
and provide the proper CXXFLAGS.

 BTW, in future ocasions please submit 'whishlist' bug reports to the 
 appropriate packages, instead of writing private emails.

Yes, this way such discussions can be referenced and are less likely to
become forgotten.

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers


Add a CXXFLAG to the OpenSceneGraph .deb build

2010-10-05 Thread Massimo Di Stefano
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 ?

Thanks a lot for Your time! 

I really appreciate the hard works done by all Debian Mantainers!!!

Thanks!!!


Ciao,
Massimo.


___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers