[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#107054: Doesn't send data to lpr on powerpc!



On Mon, Jul 30, 2001 at 05:38:03AM -0500, Dirk Eddelbuettel wrote:
> Every architecture is built automatically without human intervention, using
> an automatic compile-time detection scheme.
> 
> If something is wrong on powerpc, it probably means that the built process
> was somehow disturbed / confused / unusual.  Maybe it was as simple as the
> lpr package not being available or some such.
> 
> Now, could you send me the actual entry for this?
> 

I've attached a diff between the i386 a2ps.cfg and the powerpc one.
By looking at a2ps.cfg.in in the source package, it looks like it's
just something simple like configure getting confused about lpr.

Many packages Provide lpr, should only the true lpr package be allowed
for the build?


Adam
--- a2ps.cfg	Sun Jul 29 23:52:01 2001
+++ /etc/a2ps.cfg	Sun Jun  3 02:18:25 2001
@@ -132,13 +132,13 @@
 #
 
 # Calling AcrobatReader for PDF to PostScript.
-Variable: del.acroread \
-   acroread -toPostScript
+#Variable: del.acroread \
+#   acroread -toPostScript
 
 # Acrobat 4 lets us specify the medium, which is precious sometimes, and
 # that we should shrink the document to the size of the medium.
-Variable: del.acroread \
-   acroread -toPostScript -size "#wx#h" -shrink
+#Variable: del.acroread \
+#   acroread -toPostScript -size "#wx#h" -shrink
 
 # Passes the options to psnup.  A problem with psnup is that even if
 # no service is requested, the PostScript is altered.  There are such
@@ -295,8 +295,8 @@
 Delegation: pdf2ps pdf:ps \
    pdf2ps '$f' #f0 && #{del.psselect} #f0 | #{del.psnup}
 # Delegated to AcrobatReader
-Delegation: Acrobat pdf:ps \
-   #{del.acroread} < '$f' | #{del.psselnup}
+#Delegation: Acrobat pdf:ps \
+#   #{del.acroread} < '$f' | #{del.psselnup}
 
 ########## PostScript files
 # Pass the PostScript files to psnup and psselect
@@ -417,13 +417,13 @@
 # with a hook to post-process PostScript (to call psbook for instance).
 # Something like `#{lp.hook} lp  #{lp.options}'
 #             or `#{lp.hook} lpr #{lp.options}'.
-Variable: lp.default #{lp.hook} lpr #{lp.options}
+Variable: lp.default #{lp.hook} cat #{lp.options}
 
 
 # The same, but when a printer is specified.
 # Something like `#{lp.hook} lp  #{lp.options} -d'
 #             or `#{lp.hook} lpr #{lp.options} -P'.
-Variable: lp #{lp.hook} lpr #{lp.options} -P
+Variable: lp #{lp.hook} cat #{lp.options} >
 
 
 # To avoid that the next installation of a2ps destroys your

Reply to: