On Mon, Jun 18, 2012 at 10:26 PM, Rafael Laboissiere <raf...@laboissiere.net
> wrote:

> * 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
> #####################################################################
>
>
I also would like to propose the attached patch. This makes the vrml
package a bit less dependent on a UNIX-like system and re-use available
platform-independent equivalent from octave.

Michael.

Attachment: octave-3.6.2-vrml-1.0.13-msvc.diff
Description: Binary data

------------------------------------------------------------------------------
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