I think there's another option: work with the upstream FindBugs maintainers to make the UI dependencies optional (e.g. when attempting to start the UI, display an error message indicating that a non-headless JRE should be installed). This doesn't seem like a problem specific to Debian, or is it? Are there JREs used in the wild that are headless? I don't know too much about it, but I wonder whether the Compact Profiles might have similar limitations.
Just a thought, since it could help avoid vendor-specific patches. On Mon, Dec 21, 2015 at 5:58 PM, Gioele Barabucci <[email protected]> wrote: > Package: findbugs > Version: 2.0.3+repack-2 > Severity: wishlist > > Dear Maintainer, > > would it be possible to move the GUI of findbugs to a separate package? > > Right now findbugs is a dependency of gradle-debian-helper (via gradle > -> libgradle-plugins-java). Because of the GUI, findbugs depends on > default-jre instead of default-jre-headless. > > Depending on default-jre means that installing gradle-debian-helper > brings in many X11 and desktop components, like dconf, glib (and > plugins), libasound2, gtk (both version 2 and 3), cairo, libx11, > libwayland. In the end, installing the gradle-debian-helper requires > installing about 400 MB of software. > > If the findbugs package contained only the command line version, it could > depend on just default-jre-headless and avoid this long chain of > dependencies. > > Regards, > > -- > Gioele Barabucci <[email protected]> > > -- Cheers, Jonathan

