POV-Ray : Newsgroups : povray.unix : Unix frontend patch version 0.2.1 released Server Time
22 Dec 2024 08:52:01 EST (-0500)
  Unix frontend patch version 0.2.1 released (Message 1 to 1 of 1)  
From: Nicolas Calimet
Subject: Unix frontend patch version 0.2.1 released
Date: 30 Dec 2005 11:04:52
Message: <43b55aa4$1@news.povray.org>
Version 0.2.1 of the Unix frontend patch to povray-3.6.1 for Unix
is available for download here:

http://pov4grasp.free.fr/download/povray-3.6.1-frontend-0.2.1.diff.bz2

	This is a bugfix release, no new feature is added.
	List of changes from version 0.2.0:

- fix status stream to output any suffix text after the %s formatter
- fix status stream to output a terminal newline when not on a tty
- fix status stream to be unredirected [source/frontend/messageoutput.cpp]


	A generic linux povray binary is also available here:

http://pov4grasp.free.fr/download/povray-nc-0006.bz2

Download the file, unpack it with 'bunzip2 povray-nc-0006.bz2' and set its
executable permission with 'chmod +x povray-nc-0006'.

The binary includes the linux framebuffer patch described in this thread:
http://news.povray.org/439de1da$1@news.povray.org
It has support for the X Window display but comes without SVGAlib display.
The binary was compiled with the Intel C++ compiler to take advantage of
Pentium 4 optimizations.  It should however work on any other platform
as well.


	Release notes:

This maintenance release fixes a few bugs or missing features concerning
the status stream, which is not handled the same way as the other POV-Ray
text streams.  As noted previously (see the recent thread for the 0.2.0
version of this patch) this stream was not able to display a suffix text
after the %s formatter.  This is now possible, with the restriction that
the suffix text might get erased if the status message becomes too long
(this is the result that, by design, no text wrapping apply for the status
stream).

Additionally, the status stream now outputs a trailing newline caracter
(instead of the usual linefeed) when the stream isn't connected to a tty,
for instance when the POV-Ray output is redirected to a file or piped to
another unix command.  This allows e.g. to grep the status stream and
get all of its occurences.  Previous versions of this patch would not
work correctly in this respect.  See the sample image in p.b.i (same
subject).  Note that in such case the wrap width is set to 80 when not
set otherwise (this is because the terminal size cannot be determined).

This release also fixes an incorrect behaviour of the status stream
with respect to the redirection of all streams.  According to the
documentation, the status stream cannot be redirected to a file via
e.g. the -GA command-line option.  This patch now follows the docs.


	Installation instructions for the source patch:

1) copy the file linked above to the parent directory of the povray-3.6.1/
    directory (source distribution only).  The povray source distro that you
    intend to patch should be the official release.

2) IMPORTANT: if you already applied a previous version of this patch,
    you must unpatch first the povray sources with the *old* patch, e.g.

% bzcat povray-3.6.1-frontend-0.2.0.diff.bz2 | patch -p0 -f -R

3) patch the povray-3.6.1/ sources:

% bzcat povray-3.6.1-frontend-0.2.1.diff.bz2 | patch -p0 -f

    and ignore the possible warnings (in principle they are harmless).

4) cd to povray-3.6.1/ and run the ./bootstrap script.  This requires
    having the GNU autotools installed, i.e. autoconf and automake.

5) run './configure && make check' as usual.


	- NC


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.