Bug 142004 - move cups-config to the cups package
Summary: move cups-config to the cups package
Status: RESOLVED WORKSFORME
: 919732 (view as bug list)
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Printing (show other bugs)
Version: Alpha 1
Hardware: x86-64 Linux
: P5 - None : Enhancement (vote)
Target Milestone: ---
Assignee: Klaus Singvogel
QA Contact: Johannes Meixner
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-09 10:33 UTC by Johannes Meixner
Modified: 2015-02-26 14:39 UTC (History)
3 users (show)

See Also:
Found By: Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Meixner 2006-01-09 10:33:37 UTC
I was informed by a customer that the installation of a
third-party driver package failed on his x86_64 system
because a filter was installed in /usr/lib/cups/filter/
instead of /usr/lib64/cups/filter/

Reason:
cups-config is not available in a default installation.
But the third-party driver package would need it to
determine the CUPS binary directory where filters and
backends must be stored.
On i386 it works because it uses /usr/lib/cups/ as fallback
but on x86_64 this fallback is wrong.
Comment 1 Klaus Singvogel 2006-01-09 11:31:44 UTC
I'm not happy with this proposal. I think it's more related to package "cups-dev" than any other.

Want to sleep a night over it, for final decision.
Comment 2 Klaus Singvogel 2006-01-11 18:04:35 UTC
moved it into main package.
fixed in next version.
Comment 3 Dr. Werner Fink 2006-01-13 13:06:07 UTC
ARGS, this breaks the build of ghostscript-library which depends
on cups-config.
Comment 4 Lars Müller 2006-01-14 12:54:24 UTC
Couldn't we inform the vendor to install cups-devel for installation of the driver or to use a different test?

This change also breaks the samba builds as we rely on cups-config being in the cups-devel package.

The current solution will provide use more pain.  Please revert it and inform the third party vendor on how to fix his install.
Comment 5 Lars Müller 2006-01-14 13:58:18 UTC
Klaus: Your comment #1 is full correct.  cups-config belons to the cups-devel package.  And moving the file will create more problems for us and other vendors than providing information to the vendor how to fix _his_ particular problem.
Comment 6 Marcus Rückert 2006-01-14 14:25:32 UTC
how about moving cups-config into the cups-libs package. the devel package should require the cups-libs rpm. -> build system issues fixed.


additionally the customer will get his fix too. the cups main package requires cups-libs -> cups-config is available for the customer

everyone would be happy.

Comment 7 Lars Müller 2006-01-14 19:48:52 UTC
Got catch Marcus!

Klaus: I've copied a cuos packaged with the changes suggested by Marcus to stable.  It's still your decision if you prefer cups-devel.
Comment 8 Klaus Singvogel 2006-01-31 08:40:10 UTC
cups-libs seems to work now. closing it.
Comment 9 Roger Larsson 2006-06-14 14:08:20 UTC
This breaks gutenprint build!

https://sourceforge.net/support/tracker.php?aid=1504268

If a *-config is installed, related headers have to be installed aswell!
I did not have cups-devel installed when I configured gutenprint.
Configurations usually tells me what I am missing.
Now I had to track it down from compilation error messages...

Comment 10 Klaus Singvogel 2006-06-14 14:25:22 UTC
Thanks, for pointing this out.

But I have doubts that your assumption is true.

Please tell us, which standard requires that "if a [cups]-config is installed, related headers have to be installed as well!" ???

If this is true, then cups-config has design flaw: it's used to give the user/system more information about the cups system configuration than just about devel related tasks. Therefore I think that cups-config is no longer part in package cups-devel, is the correct decision.

If a package relies on some specific include files, like gutenprint, then it should test for them in "configure" phase, and not stop compilation later.
--> this is my favored solution.
Comment 11 Roger Larsson 2006-06-14 20:33:56 UTC
Great!

Could you please convince 'rlk' about that
since he closed my gutenprint report!

"Gutenprint relies on cups-config to tell it how to compile
the CUPS driver, which is the normal protocol for this
purpose.  It's behaving as intended, so I am closing this."
Comment 12 Klaus Singvogel 2006-06-19 16:25:41 UTC
started discussion at sf.net
Comment 13 Roger Larsson 2006-12-20 22:36:18 UTC
A workaround using "Extras install all matching -devel packages" is quite nice!

Once you like to start developing use it. It will take some disk space but
is worth it! Could it be made sticky?

Then a simple question during install:
"Will this computer be used for software development?"
will cause all base -devel packages to be installed.
And that matching -devel packages will be installed in future.
Comment 14 Johannes Meixner 2015-02-26 14:39:38 UTC
*** Bug 919732 has been marked as a duplicate of this bug. ***