Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 180527
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Petteri Räty <betelgeuse@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Daniel Golle <daniel.golle@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 180527 depends on: Show dependency tree
Bug 180527 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-06-01 09:31 0000
bluez-utils-3.11 contains a cups backend to print to bluetooth printers.
the executable file "bluetooth" gets installed into /usr/lib64/cups/backend/
rather than /usr/libexec/cups/backend/ where cups-1.2.9 expects it to be.


Reproducible: Always

Steps to Reproduce:
1. emerge bluez-utils
2. try to use bluetooth:// urls in cups and notice that it won't work.
3. look into /usr/lib64/cups/backend
  -> find a displaced and lonely bluetooth backend

Actual Results:  
printing to bluetooth printers doesn't work

Expected Results:  
it should be possible to use bluetooth printers

when moving the file from /usr/lib64/cups/backend to /usr/libexec/cups/backend,
cups will find it and everything is fine.

What should be done?
Should there be a fix for this in the ebuild or should the Makefile.in of the
upstream package be patched to install the cups-backend into the correct
location?
I'm willing to contribute, please guide me what to do next!

------- Comment #1 From Stefan Schweizer 2007-06-01 09:34:38 0000 -------
yeah, you just need to patch the makefile/configure to look in cups-config
--serverbin

------- Comment #2 From Daniel Golle 2007-06-01 10:06:50 0000 -------
I realized there are no nice m4 macros for cups.
But so I can still do it just like it is done in foomatic-db-engine ebuild.
sed is used src_unpack() to replace the string in Makefile.am.
the same can be done here.
sed -i -e "s:\$(libdir)/cups/backend:$(cups-config --serverbin)/cups/backend:"
cups/Makefile.am

but it would be nicer to make configure call cups-config and declare a variable
for the result.
how to do this?

------- Comment #3 From Petteri Räty 2007-06-01 17:35:46 0000 -------
(In reply to comment #1)
> yeah, you just need to patch the makefile/configure to look in cups-config
> --serverbin
> 

Patch added.

------- Comment #4 From Petteri Räty 2007-06-01 17:36:07 0000 -------
Marking as fixed.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug