Bug#670219: blender: fails to build with openjpeg 1.5

2012-04-24 Thread Mathieu Malaterre
Package: blender
Version: 2.62
Severity: important


openjpeg 1.5 is currently in experimental. However the transition to unstable 
is planned.

Please make sure to fix blender so that it compiles witrh openjpeg 1.5. It 
currently fails with:

[ 33%] Building C object 
source/blender/imbuf/CMakeFiles/bf_imbuf.dir/intern/jp2.c.o
cd /tmp/blender-2.62/obj-x86_64-linux-gnu/source/blender/imbuf  /usr/bin/gcc  
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D__SSE__ 
-D__MMX__ -D__SSE2__ -D__LITTLE_ENDIAN__ -DWITH_OPENEXR -DWITH_TIFF 
-DWITH_OPENJPEG -DWITH_FFMPEG -DWITH_DDS -DWITH_CINEON -DWITH_HDR -DNDEBUG 
-fopenmp  -msse2  -msse -pipe -fPIC -funsigned-char -fno-strict-aliasing  -Wall 
-Wcast-align -Werror=declaration-after-statement 
-Werror=implicit-function-declaration -Werror=return-type -Wstrict-prototypes 
-Wno-char-subscripts -Wno-unknown-pragmas -Wpointer-arith -Wunused-parameter 
-Wwrite-strings -Wno-error=unused-but-set-variable -O2 -DNDEBUG 
-I/tmp/blender-2.62/source/blender/imbuf -I/tmp/blender-2.62/source/blender/avi 
-I/tmp/blender-2.62/source/blender/blenkernel 
-I/tmp/blender-2.62/source/blender/blenlib 
-I/tmp/blender-2.62/source/blender/blenloader 
-I/tmp/blender-2.62/source/blender/makesdna 
-I/tmp/blender-2.62/intern/guardedalloc -I/tmp/blender-2.62/intern/memutil 
-I/tmp/ble
 nder-2.62/intern/ffmpeg-o CMakeFiles/bf_imbuf.dir/intern/jp2.c.o   -c 
/tmp/blender-2.62/source/blender/imbuf/intern/jp2.c
/tmp/blender-2.62/source/blender/imbuf/intern/jp2.c: In function 
'cinema_parameters':
/tmp/blender-2.62/source/blender/imbuf/intern/jp2.c:332:29: error: 'false' 
undeclared (first use in this function)
/tmp/blender-2.62/source/blender/imbuf/intern/jp2.c:332:29: note: each 
undeclared identifier is reported only once for each function it appears in
make[3]: *** [source/blender/imbuf/CMakeFiles/bf_imbuf.dir/intern/jp2.c.o] 
Error 1
make[3]: Leaving directory `/tmp/blender-2.62/obj-x86_64-linux-gnu'
make[2]: *** [source/blender/imbuf/CMakeFiles/bf_imbuf.dir/all] Error 2
make[2]: Leaving directory `/tmp/blender-2.62/obj-x86_64-linux-gnu'
make[1]: *** [all] Error 2


Thanks

-- System Information:
Debian Release: 6.0.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (200, 'testing'), (100, 
'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#670219:

2012-04-24 Thread Mathieu Malaterre
tags 670219 patch
thanks

Here is a very simple patch which fix compilation against opj 1.5

2cts
-M



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#670219:

2012-04-24 Thread Mathieu Malaterre
With the patch



-- 
Mathieu


openjpeg15fix.patch
Description: Binary data


Bug#670219: [PATCH] blender: fails to build with openjpeg 1.5

2012-04-24 Thread Matteo F. Vescovi

Hi!

I would apply your patch right now, if I only could get it ;-)
Probably you forgot to attach it to the BTS follow-up.

Cheers.

--
Matteo F. Vescovi
Debian Sponsored Maintainer
GnuPG KeyID: 83B2CF7A



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#670219: blender: fails to build with openjpeg 1.5

2012-04-24 Thread Matteo F. Vescovi

Hi!

Finally, I managed to have blender building fine on sid[1] and 
experimental[2] suites, with a patch modified starting from yours.


Now I'm waiting for the closing-bug upload, that should happen soon.

Cheers!


[1] 
http://debomatic64.debian.net/unstable/pool/blender_2.62-2/blender_2.62-2.buildlog
[2] 
http://debomatic64.debian.net/experimental/pool/blender_2.62-2/blender_2.62-2.buildlog


--
Matteo F. Vescovi
Debian Sponsored Maintainer
GnuPG KeyID: 83B2CF7A



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org