Subject: Bug#4063: magicfilter has wrong path

From: [email-masked]
Date: Tue, 6 Aug 96 19:37 EDT

Package: magicfilter
Version: 1.2-5    

There is one serious problem which prevented magicfilter from working here,
and some small glitches.

1. The executable is installed as /usr/sbin/magicfilter, but the (rather
   well done) /usr/sbin/magicfilterconfig extracts a filter, in my case
   /usr/sbin/dj500-filter which starts with # !/usr/bin/magicfilter (not bin,
   not sbin) so that my initial print attempt failed with
	Aug  6 19:24:18 miles lpd[13640]: cannot execv /usr/sbin/dj500-filter
   as dj500-filter tries to start a program that's not there.

   A solution would be to do a	s|usr/sbin|usr/bin|  from magicfilterconfig.

2. There is another problem with extracting the filter from the set of
   filters in /usr/doc/examples/magicfilter/filters/filters.tar.gz as the 
   extracted file is not registered with dpkg --- upon removal of the package
   a useless file will remain on the machine.

3. The generated /etc/printcap had a :pl#72:, you could check /etc/papersize
   and then put :pl#66: for letter paper users.

4. The package suggests pbmplus, and we don't seem to have such a package. I
   think that netpbm replaced pbmplus.

-- 
Dirk Eddelb"uttel                             http://qed.econ.queensu.ca/~edd

---

From: [email-masked] (Erick Branderhorst)
Date: Wed, 7 Aug 1996 09:15:26 +0100

>    a useless file will remain on the machine.

a if [ "$1" = "purge" ] ; then  in postrm should remove these filters IMHO.
I suggested this unpacking of filter because these filters take up quit some
space and they are never used.

>    think that netpbm replaced pbmplus.

I'm sure on this.

Erick

---

From: [email-masked]
Date: Wed, 7 Aug 96 09:22 EDT

Dirk> 2. There is another problem with extracting the filter from the set
  Dirk> of filters in /usr/doc/examples/magicfilter/filters/filters.tar.gz as
  Dirk> the extracted file is not registered with dpkg --- upon removal of
  Dirk> the package a useless file will remain on the machine.  a if [ "$1" =
  Dirk> "purge" ] ; then in postrm should remove these

  Erick> filters IMHO.  I suggested this unpacking of filter because these
  Erick> filters take up quit some space and they are never used.

Sure, that's why I installed "magicfilter" and not "apsfilter" :-) I really
like the idea of extracting only the needed filters.

The problem is the housekeeping which happens independently of dpkg.