Dear all
The X2Go project is proud to announce a new release of the X2Go
component ,,cups-x2go''.
New gains of this version of ,,cups-x2go'' are:
o Fix run time errors when executing cups-x2go.
o Actually write content data, not a "random pointer value".
o Simplify temp file creation/names: use one template for all generated
temporary files.
o Create temporary PDF and title (original file name) files with correct file
name extensions.
o Trust perl's File::Temp module to clean up temporary files once the script
terminates.
o Add proper perl core and module dependencies.
The X2Go Project thanks Helmer Teles and Thomas Feustel for their testing work.
X2Go Component: cups-x2go
Version: 3.0.1.3
Status: RELEASE
Date: Fri, 19 Jun 2015 23:02:53 +0200
Fixes these bug report(s): 887
Changes:
cups-x2go (3.0.1.3) RELEASED; urgency=low
.
[ Mihai Moldovan ]
- New upstream version (3.0.1.3):
- cups-x2go: import tempfile() function from File::Temp module.
- cups-x2go: only repeat the last X, not the whole ".pdfX" string (or the
like.)
- cups-x2go: actually print "real" executed command instead of the
"original" one with placeholders.
- cups-x2go: read output from ghostscript, don't write a filehandle to the
temporary file. Fixes a hanging ghostscript call and... well... random
junk, instead of a "real" PDF file.
- cups-x2go: use parentheses around function arguments.
- cups-x2go: fix binmode() call, :raw layer is implicit.
- cups-x2go: fix print call... Does not allow to separate parameters with
a comma.
- cups-x2go: add correct :raw layer to binmode calls.
- cups-x2go: fix tiny typo.
- cups-x2go: read data from GS and STDIN in chunks of 8 kbytes, instead of
everything at once. Handles large print jobs gracefully.
- cups-x2go: add parentheses to close() calls.
- cups-x2go: delete PDF and title temporary files automatically.
- cups-x2go: unlink PS temporary file on-demand in END block. Also move
closelog to END block, because we want to print diagnosis messages in
the END block.
- cups-x2go: don't use unlink() explicitly. Trust File::Temp and our END
block to clean up correctly.
- cups-x2go: there is no continue in perl for stepping forward a loop.
Still not. I keep forgetting that. Use next. (Partly) Fixes: #887.
- cups-x2go: use the same temp file template for PS, PDF and title files.
Use appropriate suffixes if necessary when generating PDF and title temp
files. (Fully) Fixes: #887.
- debian/control:
- Add dependencies on perl-modules for core modules and ${perl:Depends}
for perl itself.
- Do not depend on perl-modules directly. ${perl:Depends} is already doing
that implicitly. It depends on perl, which depends on perl-modules.
- cups-x2go.spec:
- Add proper dependencies on perl and File::Temp module. Hopefully pulls
in perl-base with the core modules or the like...
Regards,
Mihai Moldovan