Bug#508462: tex4ht: oolatex doesn't like GNU's java [with a patch]

2009-02-27 Thread Kapil Hari Paranjape
tags 508462 - patch
reassign 508462 java-gcj-compat
forcemerge 474075 508462
thanks

Hello,

As explained in this list:

 - This problem is caused by java-gcj-compat declaring a
   compatability with java version 1.5 which is AFAICS incorrect.

 - The entry of opendjk packages means that tex4ht no longer
   needs a non-free java to run and tex4ht Suggests
   the openjdk runtime.

 - the problem has already been reported as #474075.

Regards,

Kapil.
--



signature.asc
Description: Digital signature


Bug#508462: tex4ht: oolatex doesn't like GNU's java [with a patch]

2008-12-11 Thread giacomo boffi
Package: tex4ht
Version: 20080701-2
Severity: normal
Tags: patch



-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages tex4ht depends on:
ii  libc6  2.7-16GNU C Library: Shared libraries
ii  libkpathsea4   2007.dfsg.2-4 TeX Live: path search library for 
ii  tex4ht-common  20080701-2LaTeX and TeX for Hypertext (HTML)
ii  texlive-base-bin   2007.dfsg.2-4 TeX Live: Essential binaries

tex4ht recommends no packages.

tex4ht suggests no packages.

-- no debconf information

as you should know, oolatex (xtpipes) needs java from Sun

here it is a patch to let oolatex test which java implementation is run
by the command java, and to exit with a meaningful error message (that can be 
improved, of course)

the patch is relevant in the debian context, and is not intended for 
propagation 
upstream

best regards

gb

--- /usr/share/tex4ht/oolatex   2008-09-14 05:53:15.0 +0200
+++ oolatex 2008-12-11 15:11:38.0 +0100
@@ -1,4 +1,7 @@
 #!/bin/sh
+
+java -version 21 | grep -q 'GNU libgcj'  printf oolatex NEEDS Sun's 
Java\n  exit
+
 if command -v xhtex  /dev/null 21 ; then
   true
 else

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#508462: tex4ht: oolatex doesn't like GNU's java [with a patch]

2008-12-11 Thread Kapil Hari Paranjape
Hello,

On Thu, 11 Dec 2008, giacomo boffi wrote:
 Package: tex4ht
 Version: 20080701-2
 Severity: normal
 Tags: patch
 
 tex4ht suggests no packages.

Yes, but tex4ht-common suggests openjdk-6-jre-headless.

 as you should know, oolatex (xtpipes) needs java from Sun

Which is packaged in Debian as openjdk-6-jre-headless.

 here it is a patch to let oolatex test which java implementation is run
 by the command java, and to exit with a meaningful error message (that can 
 be 
 improved, of course)

The way in which java is run it automatically checks for java 
version 1.5 (which is what is required). Unfortunately, gcj is listed
as providing this compatability without actually providing it. A
bug (#474075) has been filed against gcj for this.

So there is no patch to tex4ht required in my opinion. 

Regards,

Kapil.
--



signature.asc
Description: Digital signature