Bug 1213883

Summary: system-config-printer failed to build on SLE/Leap caused by non-implemented pkg-conf in cups.
Product: [openSUSE] openSUSE Tumbleweed Reporter: Yifan Jiang <yfjiang>
Component: GNOMEAssignee: E-mail List <gnome-bugs>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Yifan Jiang 2023-08-02 01:57:00 UTC
To find the build required /usr/lib/cups_serverbin, The system-config-printer now uses either pkg-config  or a specified --with-cups-serverbin-dir:

https://github.com/OpenPrinting/system-config-printer/blob/b5d7912946a9228d596b1ff8f2bee2fcc87ac6d2/configure.ac#L41C1-L41C106

The latest system-config-printer.spec fully depends on the pkg-config:

https://build.opensuse.org/package/view_file/openSUSE:Factory/system-config-printer/system-config-printer.spec?expand=1

This will not build with SLE-15-SP* and Leap 15.*, where the cups (< 2.4 ) stay in an non old version without exported pkg-config (https://github.com/OpenPrinting/cups/commit/3e573834787810c95fabfd5a85721e6736f24271).
Comment 1 Yifan Jiang 2023-08-14 03:40:12 UTC
fixed at https://build.opensuse.org/request/show/1101877