On Thu, Jul 16, 2015 at 09:59:17 +0200, Alois Schloegl wrote: > I changed the control file in the debian package (see attachments). > > default-jre-headless is now not in "Depends" but in "Build-Depends" and > "Recommends". The resulting octave-debian packages does the job. > > In case somebody wants to use the java-interface, the above error > message seems good enough. > > Please consider repackaging Octave with the modified control file.
I think the error message is less than ideal, but I agree that this would help those users who might want to keep clear of Java for whatever reasons. I have the attached patch ready to push, tested locally, any objections from fellow maintainers or bystanders with this change to src:octave? -- mike
>From 9bab6df007570d206f1f55b7388bbb232a311faa Mon Sep 17 00:00:00 2001 From: Mike Miller <mtmil...@debian.org> Date: Sat, 29 Aug 2015 17:17:25 -0400 Subject: [PATCH] Downgrade default-jre-headless from Depends to Recommends. Closes: #742503 Thanks: Alois Schloegl for the suggestion --- debian/control | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/control b/debian/control index 610f613..4419835 100644 --- a/debian/control +++ b/debian/control @@ -63,10 +63,10 @@ Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-octave/octave.git Package: octave Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, texinfo, octave-common (= ${source:Version}), - liboctave3 (= ${binary:Version}), - default-jre-headless [!armhf !hurd-i386 !kfreebsd-amd64 !kfreebsd-i386 !mips !mipsel !sparc] + liboctave3 (= ${binary:Version}) Recommends: gnuplot-x11 | gnuplot-qt, libopenblas-base | libatlas3-base, - pstoedit + pstoedit, + default-jre-headless [!armhf !hurd-i386 !kfreebsd-amd64 !kfreebsd-i386 !mips !mipsel !sparc] Suggests: octave-info, octave-doc, octave-htmldoc, -- 2.5.0