[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [60394] trunk/blender/build_files/ build_environment/install_deps.sh: install_deps.sh fix: add explicit OGG lib handling, we need it to pass correct values for ffmpeg libraries ( at least for static builds).
Bastien Montagne
montagne29 at wanadoo.fr
Fri Sep 27 19:21:14 CEST 2013
I know, that’s not the problem. The issue is that now, I have to specify
libogg.a in the ffmpeg's libs (scons/cmake parameters), else Blender
won’t link (at least with static version)… Before I never had this
problem, not sure why it raises now! o_O
Bastien
On 27/09/2013 17:02, IRIE Shinsuke wrote:
> On Debian/Ubuntu, libogg-dev is automatically installed due to the
> package dependencies if VORBIS_USE or THEORA_USE is true.
>
> IRIE Shinsuke
>
> 13/09/27, Bastien Montagne wrote:
>> Revision: 60394
>> http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=60394
>> Author: mont29
>> Date: 2013-09-27 13:56:16 +0000 (Fri, 27 Sep 2013)
>> Log Message:
>> -----------
>> install_deps.sh fix: add explicit OGG lib handling, we need it to pass correct values for ffmpeg libraries (at least for static builds).
>>
>> I?\226?\128?\153m not close to understand why this has worked fine until today... :/
>>
>> Only tested with Debian, but I would not expect any issue with Fedora/Suse/Arch, this is a quite simple change!
>>
>> Modified Paths:
>> --------------
>> trunk/blender/build_files/build_environment/install_deps.sh
>>
>> Modified: trunk/blender/build_files/build_environment/install_deps.sh
>> ===================================================================
>> --- trunk/blender/build_files/build_environment/install_deps.sh 2013-09-27 13:54:40 UTC (rev 60393)
>> +++ trunk/blender/build_files/build_environment/install_deps.sh 2013-09-27 13:56:16 UTC (rev 60394)
>> @@ -247,6 +247,8 @@
>> # FFMPEG optional libs.
>> VORBIS_USE=false
>> VORBIS_DEV=""
>> +OGG_USE=false
>> +OGG_DEV=""
>> THEORA_USE=false
>> THEORA_DEV=""
>> XVID_USE=false
>> @@ -1890,16 +1892,18 @@
>> # These libs should always be available in debian/ubuntu official repository...
>> OPENJPEG_DEV="libopenjpeg-dev"
>> VORBIS_DEV="libvorbis-dev"
>> + OGG_DEV="libogg-dev"
>> THEORA_DEV="libtheora-dev"
>>
>> _packages="gawk cmake cmake-curses-gui scons build-essential libjpeg-dev libpng-dev \
>> libfreetype6-dev libx11-dev libxi-dev wget libsqlite3-dev libbz2-dev \
>> libncurses5-dev libssl-dev liblzma-dev libreadline-dev $OPENJPEG_DEV \
>> - libopenal-dev libglew-dev yasm $THEORA_DEV $VORBIS_DEV \
>> + libopenal-dev libglew-dev yasm $THEORA_DEV $VORBIS_DEV $OGG_DEV \
>> libsdl1.2-dev libfftw3-dev patch bzip2"
>>
>> OPENJPEG_USE=true
>> VORBIS_USE=true
>> + OGG_USE=true
>> THEORA_USE=true
>>
>> # Install newest libtiff-dev in debian/ubuntu.
>> @@ -2307,15 +2311,17 @@
>> # These libs should always be available in fedora/suse official repository...
>> OPENJPEG_DEV="openjpeg-devel"
>> VORBIS_DEV="libvorbis-devel"
>> + OGG_DEV="libogg-devel"
>> THEORA_DEV="libtheora-devel"
>>
>> _packages="gcc gcc-c++ make scons libtiff-devel freetype-devel libjpeg-devel\
>> libpng-devel libX11-devel libXi-devel wget ncurses-devel \
>> readline-devel $OPENJPEG_DEV openal-soft-devel \
>> - glew-devel yasm $THEORA_DEV $VORBIS_DEV patch"
>> + glew-devel yasm $THEORA_DEV $VORBIS_DEV $OGG_DEV patch"
>>
>> OPENJPEG_USE=true
>> VORBIS_USE=true
>> + OGG_USE=true
>> THEORA_USE=true
>>
>> if [ $RPM = "FEDORA" -o $RPM = "RHEL" ]; then
>> @@ -2643,13 +2649,15 @@
>> # These libs should always be available in arch official repository...
>> OPENJPEG_DEV="openjpeg"
>> VORBIS_DEV="libvorbis"
>> + OGG_DEV="libogg"
>> THEORA_DEV="libtheora"
>>
>> _packages="base-devel scons cmake libxi glew libpng libtiff wget openal \
>> - $OPENJPEG_DEV $VORBIS_DEV $THEORA_DEV yasm sdl fftw"
>> + $OPENJPEG_DEV $VORBIS_DEV $OGG_DEV $THEORA_DEV yasm sdl fftw"
>>
>> OPENJPEG_USE=true
>> VORBIS_USE=true
>> + OGG_USE=true
>> THEORA_USE=true
>>
>> if $WITH_ALL; then
>> @@ -2912,6 +2920,10 @@
>> _packages="$_packages $VORBIS_DEV"
>> fi
>>
>> + if $OGG_USE; then
>> + _packages="$_packages $OGG_DEV"
>> + fi
>> +
>> if $XVID_USE; then
>> _packages="$_packages $XVID_DEV"
>> fi
>>
>> _______________________________________________
>> Bf-blender-cvs mailing list
>> Bf-blender-cvs at blender.org
>> http://lists.blender.org/mailman/listinfo/bf-blender-cvs
>>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>
More information about the Bf-committers
mailing list