os icon indicating copy to clipboard operation
os copied to clipboard

[Wolfi Package Request]: libdicom

Open NateLangloisProscia opened this issue 2 weeks ago • 1 comments

What software would you like us to add to wolfi-os. Ideally include a URL to the project and its source.

libdicom: a C library for reading DICOM files, with a focus on DICOM Whole Slide Imaging (WSI). It is a required dependency of OpenSlide 4.x (requested separately).

Project: https://github.com/ImagingDataCommons/libdicom Source: https://github.com/ImagingDataCommons/libdicom/releases/download/v1.3.0/libdicom-1.3.0.tar.xz

which versions of the software should we include?

1.3.0 (latest)

Add some justification for why this specific package and versions are important.

OpenSlide 4.x needs libdicom to read DICOM WSI slides, so libdicom is a prerequisite for packaging OpenSlide in Wolfi. Without it in Wolfi, anyone running OpenSlide on Wolfi has to build libdicom themselves, and that build is not matched by vulnerability scanners against any security feed. Packaging it in Wolfi means its CVEs are tracked like those of any other Wolfi package.

Building from the 1.3.0 release tarball with meson works with Wolfi's toolchain, but the build needs utarray.h from uthash, which Wolfi's uthash package doesn't currently ship (it ships only uthash.h). The uthash package would need to install all of its headers, or libdicom's build would need to vendor them.

Please check all that apply

  • [x] This package has an un-restrictive license
  • [x] The package/versions proposed are actively maintained upstream
  • [x] I am interested in adding this package to Wolfi OS myself
  • [ ] I am willing to help maintain this package

NateLangloisProscia avatar Nov 18 '26 23:11 NateLangloisProscia

Requested alongside OpenSlide (#78790), which depends on this package.

NateLangloisProscia avatar Nov 18 '26 23:11 NateLangloisProscia