Re: dicomscope 3.6.0 / debian package
Hi Mathieu,
On Thu, 8 Jan 2009, Mathieu Malaterre wrote:
A quick update. I am done with the packaging of dicomscope (I
think). Thanks to the help of the OFFIS team, I integrated the 3.6.0
release of there dicomscope. So even if the latest available src zip
from their ftp server is 3.5.1, in the end the package will contains
all bug fixes and new features from the 3.6.0 release ! Big thanks to
OFFIS team for that !
many thanks for your work on this and it is really great to hear about
active upstream projects. As you might have noticed I have commited
some changes to SVN. Then I tried to build the package using pbuilder
to make sure that the package builds in a clean environment. I noticed
that there is some problem with
Build-Depends: sun-java6-jdk | sun-java5-jdk
and thus I tried the following patch:
Index: control
===================================================================
--- control (Revision 2929)
+++ control (Arbeitskopie)
@@ -4,7 +4,7 @@
DM-Upload-Allowed: yes
Uploaders: Mathieu Malaterre <mathieu.malaterre@gmail.com>
Priority: extra
-Build-Depends: debhelper (>= 4), cmake, libdcmtk1-dev, sun-java6-jdk | sun-java5-jdk,
+Build-Depends: debhelper (>= 5), cmake, libdcmtk1-dev, openjdk-6-jdk,
libssl-dev, libxml2-dev, tofrodos, quilt
Standards-Version: 3.8.0
Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/dicomscope/trunk/?rev=0&sc=0
@@ -14,7 +14,7 @@
Package: dicomscope
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, tk8.3 | tk8.4, libdcmtk1, libssl0.9.8,
- libxml2, sun-java5-jre | sun-java6-jre
+ libxml2, java2-runtime
Description: The OFFIS DICOM Viewer
DICOMscope is a free DICOM viewer which can display uncompressed,
monochrome DICOM images from all modalities and which supports
which I have stolen from imagej which works fine with openjdk. I have no experience
with Java and I actually have no idea why pbuilder fails to resolve the dependencies
properly. But we should aim at openjava anyway if possible because otherwise
dicomscope would have to go to contrib because it uses non-free components. Could
you please verify whether this is possible?
Unfortunately I stumbled upon a problem which is most probably not connected
to my choice of the Java JDK but might happen with any of them and I'm just
to less experienced with cmake. I get:
...
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
JAVA_AWT_INCLUDE_PATH (ADVANCED)
used as include directory in directory /tmp/buildd/dicomscope-3.5.1/interface/libsrc
JAVA_INCLUDE_PATH (ADVANCED)
used as include directory in directory /tmp/buildd/dicomscope-3.5.1/interface/libsrc
JAVA_INCLUDE_PATH2 (ADVANCED)
used as include directory in directory /tmp/buildd/dicomscope-3.5.1/interface/libsrc
-- Configuring done
make: *** [configure-stamp] Error 1
I guess you might have set some variables in your environment and just missed
to set this in the debian/rules file.
I have added a dicomscope helper that start the jar archive. And
merge in difference with dcmtk 3.5.4 package (eg. imagectn was
renamed).
Sounds good.
Layout is:
$ dpkg -L dicomscope
/.
/etc
/etc/dcmtk
/etc/dcmtk/DICOMscope.cfg
/usr
/usr/share
/usr/share/dicomscope
/usr/share/dicomscope/DICOMscope.jar
/usr/share/dicomscope/tcl
/usr/share/dicomscope/tcl/dcmpsdmp.tcl
/usr/share/dicomscope/tcl/dcmpschk.tcl
/usr/share/dicomscope/codes.dic
/usr/share/doc
/usr/share/doc/dicomscope
/usr/share/doc/dicomscope/README.Debian
/usr/share/doc/dicomscope/changelog.gz
/usr/share/doc/dicomscope/copyright
/usr/share/dcmtk
/usr/share/dcmtk/codes.dic
/usr/bin
/usr/bin/dicomscope
/usr/lib
/usr/lib/libjInterface.so
Looks reasonable.
Again, thanks for your effort on dicomscope and I hope you will be able
to polish things with the hints I have given above.
Kind regards
Andreas.
--
http://fam-tille.de
Reply to: