On Sat, Dec 26, 2009 at 10:39 PM, Denis Barbier <bou...@gmail.com> wrote:
> tags 562387 + pending
> thanks
>
> On 2009/12/24 Mathieu Malaterre wrote:
>> Package libvtk-java is *again* totally busted. This is total junk, and
>> I am getting fed up dealing with all bug in libvtk-java.
>> I am not adding a second patch in GDCM just for the debian system.
>
> My bad, I was somehow abused by the error message about VTK_JAVA_JAR
> and my comment in bug #533193 was wrong.  This value is ignored when
> installing files and generating VTKConfig.cmake, and moreover vtk.jar
> is installed at the wrong place because of this upstream bug:
>  http://www.vtk.org/Bug/view.php?id=8750
>
> I committed a workaround a couple of weeks ago, vtk.jar is installed
> into debian/tmp/usr/share/java/vtk/vtk.jar and then copied into
> debian/libvtk-java/usr/share/java/vtk.jar .
> This is really ugly, I would love to see a better way.
> I am pretty sure that this bug has been introduced when trying to play
> with versioned jars in order to be able to install both VTK 5.2 and
> 5.4 Java wrappers, but this seems to be very fragile, any advice would
> surely be helpful.

Does this help ? Even if the path is wrong in VTKConfig.cmake, GDCM
can cope with that. In the end /usr/share/java/vtk/vtk.jar should be
the vtk jar file.

$ cvs ci -m"BUG: 0008750 [Java Wrappers] vtk.jar gets installed to the
wrong place" Wrapping/Java/CMakeLists.txt
Committer: Mathieu Malaterre <mathieu.malate...@gmail.com>
/cvsroot/VTK/VTK/Wrapping/Java/CMakeLists.txt,v  <--
Wrapping/Java/CMakeLists.txt
new revision: 1.63; previous revision: 1.62

Thanks,

-- 
Mathieu



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

Reply via email to