[X2Go-Commits] [cups-x2go] 01/01: cups-x2go: fix commented out second ps2pdf definition to output PDF data to stdout.

git-admin at x2go.org git-admin at x2go.org
Fri Mar 20 03:38:12 CET 2015


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository cups-x2go.

commit 13c191a23d297a324bcaae23083f0f071934de11
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Fri Mar 20 03:38:04 2015 +0100

    cups-x2go: fix commented out second ps2pdf definition to output PDF data to stdout.
---
 cups-x2go        |    2 +-
 debian/changelog |    2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/cups-x2go b/cups-x2go
index e6a0c32..1d906b9 100755
--- a/cups-x2go
+++ b/cups-x2go
@@ -42,7 +42,7 @@ my $printdsa = "/root/.ssh/id_dsa-x2goprint";
 
 # PS2PDF command
 my $ps2pdf = "/usr/bin/gs -q -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile=- -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -dDoNumCopies -c .setpdfwrite -f \"%s\"";
-#my $ps2pdf = "/usr/bin/gs -q -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile=\"%s.pdf\" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -dDoNumCopies -c .setpdfwrite -f /usr/bin/margin-offset.ps \"%s\"";
+#my $ps2pdf = "/usr/bin/gs -q -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile=- -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -dDoNumCopies -c .setpdfwrite -f /usr/bin/margin-offset.ps \"%s\"";
 
 ## loglevel for cups-x2go, possible values: emerg, alert, crit, err, warning, notice, info, debug
 my $strloglevel = "notice";
diff --git a/debian/changelog b/debian/changelog
index 4da7667..7e21319 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -28,6 +28,8 @@ cups-x2go (3.0.1.2-0x2go1) UNRELEASED; urgency=low
       IPC::Open2::open2(). Capture the ps2pdf program's stdout and write it to
       the temporary file handle "manually".
       Should fix problems reported by Jan Bi on IRC.
+    - cups-x2go: fix commented out second ps2pdf definition to output PDF data
+      to stdout.
 
  -- X2Go Release Manager <git-admin at x2go.org>  Tue, 10 Feb 2015 21:08:34 +0100
 

--
Alioth's /srv/git/code.x2go.org/cups-x2go.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/cups-x2go.git


More information about the x2go-commits mailing list