Re: print-system virtual package?

2007-05-15 Thread Steve Greenland
On 14-May-07, 14:40 (CDT), Andreas Fester [EMAIL PROTECTED] wrote: 
 I was just investigating a bug where the issue seems
 that no print system is installed
 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=420746)
 
 That raised the question: would it make sense to add a
 virtual package like print-system or similar, which
 is provided by cupsys-client, lpr et al. and which I
 can suggest or recommend in my package?

Well, given the specific error:

$ qcad
libcups.so: cannot open shared object file: No such file or directory

I don't think you need a virtual depends, but instead an explicit
Depends: cupsys-client.

Steve
-- 
Steve Greenland
The irony is that Bill Gates claims to be making a stable operating
system and Linus Torvalds claims to be trying to take over the
world.   -- seen on the net


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: print-system virtual package?

2007-05-15 Thread Steve Langasek
On Tue, May 15, 2007 at 10:44:05AM -0500, Steve Greenland wrote:
 On 14-May-07, 14:40 (CDT), Andreas Fester [EMAIL PROTECTED] wrote: 
  I was just investigating a bug where the issue seems
  that no print system is installed
  (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=420746)

  That raised the question: would it make sense to add a
  virtual package like print-system or similar, which
  is provided by cupsys-client, lpr et al. and which I
  can suggest or recommend in my package?

 Well, given the specific error:

 $ qcad
 libcups.so: cannot open shared object file: No such file or directory

 I don't think you need a virtual depends, but instead an explicit
 Depends: cupsys-client.

Well, no; qcad needs to be fixed to use the fully qualified library name
with soname included, instead of assuming it can open any file name
'libcups.so' (even if present) and get the interface it's looking for.

-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
[EMAIL PROTECTED]   http://www.debian.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: print-system virtual package?

2007-05-15 Thread Andreas Fester
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Steve Greenland wrote:
[...]
 That raised the question: would it make sense to add a
 virtual package like print-system or similar, which
 is provided by cupsys-client, lpr et al. and which I
 can suggest or recommend in my package?
 
 Well, given the specific error:
 
 $ qcad
 libcups.so: cannot open shared object file: No such file or directory
 
 I don't think you need a virtual depends, but instead an explicit
 Depends: cupsys-client.

Well, the question was more a general one ;) because I was not sure if
explicitly depending on one specific printing frontend is a good idea.

Nevertheless, I meanwhile think that this specific issue has a different
cause: it seems that the Qt runtime dynamically loads libcups.so,
which is of course only available when the corresponding -dev package
is installed (I could reproduce the originally reported issue today after
a reboot). Manually creating the dev link from libcups.so.2 to libcups.so
then worked around the problem ...

Best Regards,

Andreas

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGShCaZ3bQVzeW+rsRAnj0AJ9cQJkdZD27/BxrH2bcxAjzBkXsIQCeNtz6
ayyyEbmLBU/m+eObLqoLiOA=
=EZK7
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]