Package: plantuml
Version: 1:1.2018.13+ds-1
Tags: patch

In <URL: 
https://github.com/arkivverket/noark5-tjenestegrensesnitt-standard/issues/272 >
there is a discussion on running plantuml in a docker image without
installing a lot of X11 related packages.  I tracked this down to the
dependency in plantuml on default-jre.

Would it be possible to change this to also accept the headless version,
ie 'default-jre | default-jre-headless'?  It would reduse the apt
download by 21.4 MiB and the disk footprint by 214 MiB.

Here is a way to test the impact of default-jre
vs. default-jre-headless:

#!/bin/sh
unset TMP TMPDIR TEMP
root=/tmp/plantuml-test-chroot
debootstrap stable "$root"
chroot "$root" mount -t proc proc /proc
chroot "$root" apt install -y --no-install-recommends default-jre-headless
chroot "$root" apt install -y --no-install-recommends default-jre
chroot "$root" umount /proc

-- 
Happy hacking
Petter Reinholdtsen

Reply via email to