Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 242528 - new ebuild request : Grassroots DICOM library
Summary: new ebuild request : Grassroots DICOM library
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://sourceforge.net/apps/mediawiki...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-18 03:39 UTC by Steve Yin
Modified: 2011-01-22 14:41 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
sci-libs/gdcm-2.0.9 ebuild (gdcm-2.0.9.ebuild,3.52 KB, text/plain)
2008-10-18 03:40 UTC, Steve Yin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Yin 2008-10-18 03:39:49 UTC
GDCM is an open source DICOM library. It is meant to deal with DICOM files (as specified in part 10 of the DICOM standard). It offers some compatibility with ACR-NEMA 1.0 & 2.0 files (raw files). It is written in C++ and offer wrapping to the following target languages (via the use of swig):

    * Python (supported)
    * C# (testing)
    * Java (experimental)
    * PHP (experimental) 

It attempt to support all possible DICOM image encoding, namely:

    * RAW
    * JPEG lossy 8 & 12 bits
    * JPEG lossless 8, 12 & 16 bits
    * JPEG 2000 reversible & irreversible
    * RLE
    * Deflated (compression at DICOM Dataset level)
    * JPEG-LS (experimental)
    * MPEG-2 (not supported for now) 

GDCM is designed under the XP definition and has a nightly dashboard (CMake/CTest/Dart). 

Reproducible: Always
Comment 1 Steve Yin 2008-10-18 03:40:44 UTC
Created attachment 168876 [details]
sci-libs/gdcm-2.0.9 ebuild

sci-libs/gdcm-2.0.9 ebuild made by me.
Comment 2 Wormo (RETIRED) gentoo-dev 2008-10-19 00:00:12 UTC
Steve, thanks for submitting this ebuild!
It looks interesting -- how does gdcm compare to dmctk?

I'm not sure which of our ebuild maintainers would be likely to adopt this package since it is mainly of interest to those in the medical industry, but I'm assigning it to sci-biology in case they have a medical researcher who is interested. If they do not, then they will reassign this bug to "maintainer-wanted" and I hope you will consider adding this ebuild to sunrise overlay instead, so that it will be available to other users even if it is not popular enough to be in the main gentoo tree
http://overlays.gentoo.org/proj/sunrise
Comment 3 Steve Yin 2008-10-19 09:22:41 UTC
you mean dcmtk? I think dcmtk is very old package. 

I'm using gdcm in my recent research project, and of course i found it's powerful. by supplying python and java bindings, intergated with vtk and itk.

I think gdcm is a more powerful tool to me than dcmtk.
Comment 4 meme 2008-11-03 02:59:56 UTC
Is there a patch missing from the tree?

>>> Unpacking gdcm-2.0.9.tar.bz2 to /var/tmp/paludis/sci-libs-gdcm-2.0.9/work
tar jxf /usr/portage/distfiles/gdcm-2.0.9.tar.bz2 --no-same-owner

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 *
 *   /usr/local/overlays/wayne/sci-libs/gdcm/files/doxygen-nopdf.patch
 *   ( doxygen-nopdf.patch )
Comment 5 Mathieu Malaterre 2008-12-05 15:07:27 UTC
I am the maintainer of gdcm, but never got any info about this package...

Anyway what you get for free (compared to dcmtk):
- J2K (jpeg2000 thanks to openjpeg)
- Part3

Integration with VTK & ITK.

As a side note gdcm 2.0.10 is out, and http://gdcm.sourceforge.net/wiki/index.php/Main_Page is deprecated 

in favor of:

http://apps.sourceforge.net/mediawiki/gdcm/index.php?title=Main_Page

thanks
Comment 6 Mathieu Malaterre 2008-12-05 15:59:10 UTC
BTW, someone should fix the ebuild. It is missing at least:

GDCM_BUILD_TESTING:BOOL=OFF
CMAKE_BUILD_TYPE:STRING=Release
GDCM_USE_SYSTEM_UUID:BOOL=ON
GDCM_USE_SYSTEM_OPENJPEG:BOOL=ON

And if you do not want PDF doc:
GDCM_PDF_DOCUMENTATION:BOOL=OFF

thanks
Comment 8 John M. Drescher 2011-01-22 14:41:56 UTC
I have updated this to gdcm-2.0.15 adding most of the suggested changes from Mathieu Malterre. 

I put the ebuild in my gentoo overlay at 

http://github.com/drescherjm/jmdgentoooverlay/tree/master/sci-libs/gdcm

I have briefly tested this with the following use flags enabled:

[ebuild  N    ] sci-libs/gdcm-2.0.15  USE="examples expat jpeg pdf python wxwindows zlib -doc -java -test -uuid -vtk" 0 kB [1]

John