* Carnë Draug <carandraug+...@gmail.com> [2012-06-18 16:24]:

> the new version of the vrml package is now up and should be available
> for download (SF had some problems during the weekend but seems to have
> been fixed now).

Thanks.  I prepared a Debian package for version 1.0.13 of vrml and found
some issues:

1) There is a bug in vrml_material.m that was reported in Lauchpad,
The patch that fixes the problem is attached below.

2) The documentation file doc/vrml-mini-howto-1.pdf was included in the
previous tarball, but it is not present in 1.0.13.  For the Debian
package, the PDF file is now built from the LaTeX source, but it would be
preferable to have it back into the tarball.

3) In the DESCRIPTION file, freewrl is specified as a system requirement.
Since freewrl is not in Debian, we are currently patching
inst/vrml_browse.m to use whitedune instead of freewrl. It would be
actually better to check in the code for the availability of the
different VRML browsers.  In Unix or Linux, I would go with the code
below, but I am not sure it works on every platform.

#####################################################################
    browsers = {"freewrl", "whitedune"};
    for b = browsers
        [status, vrml_b_name] = system (sprintf ("which %s", b{1}));
        if status == 0
            break
        endif
    endfor
    if status == 1
        error ("No VRML browser available");
    endif
#####################################################################

Best,

Rafael
Description: Fix the order of terms in boolean operation
Author: Sebastian Rühl
Bug-Ubuntu: https://launchpad.net/bugs/787412
Reviewed-By: Rafael Laboissiere <raf...@laboissiere.net>
Forwarded: Not-needed
Last-Update: 2012-05-31

--- octave-vrml-1.0.11.orig/inst/vrml_material.m
+++ octave-vrml-1.0.11/inst/vrml_material.m
@@ -42,7 +42,7 @@ if emit && !isnan (ec)
 else
   se = "";
 end
-if tran && ! isnan (tran)
+if ! isnan (tran) && tran
   st = sprintf ("              transparency %8.3g\n",tran);
 else
   st = "";
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to