Hello community, here is the log from the commit of package lpdfilter checked in at Thu Jan 10 02:10:22 CET 2008. -------- --- lpdfilter/lpdfilter.changes 2007-09-04 17:29:23.000000000 +0200 +++ /mounts/work_src_done/STABLE/lpdfilter/lpdfilter.changes 2008-01-08 14:30:43.277532000 +0100 @@ -1,0 +2,5 @@ +Tue Jan 8 14:30:36 CET 2008 - werner@suse.de + +- The current acroread crashes on reading from stdin + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lpdfilter.spec ++++++ --- /var/tmp/diff_new_pack.v28806/_old 2008-01-10 02:09:31.000000000 +0100 +++ /var/tmp/diff_new_pack.v28806/_new 2008-01-10 02:09:31.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package lpdfilter (Version 0.46) # -# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -12,13 +12,13 @@ Name: lpdfilter BuildRequires: ghostscript-mini termcap xorg-x11 xorg-x11-devel Version: 0.46 -Release: 92 +Release: 125 Summary: A Standard Printer Filter for Lpd License: GPL v2 or later Group: Hardware/Printing Requires: a2ps file /bin/chown /usr/bin/tail /usr/bin/grep dialog netpbm jpeg transfig g3utils groff print_daemon ghostscript_any Conflicts: cups -Autoreqprov: on +AutoReqProv: on BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: lpdfilter-0.46.tar.bz2 Source1: pspreloads.tar.bz2 @@ -68,6 +68,8 @@ %doc /usr/share/man/man8/lpdfilter.8.gz %changelog +* Tue Jan 08 2008 - werner@suse.de +- The current acroread crashes on reading from stdin * Tue Sep 04 2007 - werner@suse.de - Be more flexible for searching for file catalog.devices * Fri Jul 27 2007 - werner@suse.de ++++++ lpdfilter-0.46.dif ++++++ --- /var/tmp/diff_new_pack.v28806/_old 2008-01-10 02:09:31.000000000 +0100 +++ /var/tmp/diff_new_pack.v28806/_new 2008-01-10 02:09:31.000000000 +0100 @@ -45,8 +45,43 @@ n=0 IFS=":" for e in $entry ; do +--- filter/pdf2ps ++++ filter/pdf2ps 2008-01-08 14:29:27.747906390 +0100 +@@ -41,9 +41,30 @@ fi + # run the command on stdin + # + if type -p acroread &> /dev/null ; then +- exec -a acroread acroread -toPostScript ++ medium="-size ${size:=a4}" ++ case "${size:=a4}" in ++ tabloid|11x17) medium="-size tabloid" ;; ++ a4dj) medium="-size a4" ;; ++ letterdj) medium="-size letter" ;; ++ letter|legal|ledger) medium="-size $size" ;; ++ a[345) medium="-size $size" ;; ++ b[45]) medium="-size $size" ;; ++ esac ++ ++ # ++ # The current acroread crashes on reading from stdin ++ # ++ # exec -a acroread acroread -toPostScript -level2 -shrink -expand -saveVM ${medium} ++ ++ trap 'test -n "$tmp" -a -e "$tmp" && rm -f "$tmp" ++ test -n "$out" -a -e "$out" && rm -f "$out"' EXIT ++ tmp="$(mktemp ${TMPDIR:-/tmp}/lpdfilter-${0##*/}-XXXXXXXXXX)" || exit 2 ++ out="$(mktemp ${TMPDIR:-/tmp}/lpdfilter-${0##*/}-XXXXXXXXXX)" || exit 2 ++ cat > $tmp ++ acroread -toPostScript -level2 -shrink -expand -saveVM ${medium} -pairs $tmp $out ++ cat $out + else +- tmp="$(mktemp ${TMPDIR:-/tmp}/lpdfilter-${0##*/}.XXXXXX)" || exit 2 ++ tmp="$(mktemp ${TMPDIR:-/tmp}/lpdfilter-${0##*/}.XXXXXXXXXX)" || exit 2 + cat > $tmp + $pdftops -dPSLevel1 $tmp - + fi --- global/setup.lib -+++ global/setup.lib 2007-09-04 17:27:13.620460492 +0200 ++++ global/setup.lib 2007-09-04 17:27:13.620460000 +0200 @@ -567,6 +567,14 @@ function upp () # -> /usr/share/ghostscript/<version>/doc/Devices.htm } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org