Bug 176674

Summary: [PATCH] libXScrnSaver-devel has broken dependencies
Product: [Fedora] Fedora Reporter: Dawid Gajownik <gajownik>
Component: libXScrnSaverAssignee: X/OpenGL Maintenance List <xgl-maint>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideKeywords: EasyFix, Patch
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://www.redhat.com/archives/fedora-test-list/2005-December/msg00724.html
Whiteboard:
Fixed In Version: 1.0.0-2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-01-17 03:35:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 176614    
Attachments:
Description Flags
patch to the spec file none

Description Dawid Gajownik 2005-12-29 11:47:46 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20051217 SeaMonkey/1.5a

Description of problem:
Please see â http://www.redhat.com/archives/fedora-test-list/2005-December/msg00724.html for more information.

Version-Release number of selected component (if applicable):
 libXScrnSaver-1.0.0-1

How reproducible:
Always

Steps to Reproduce:
1. Run `fedora-rmdevelrpms' from fedora-rpmdevtools package
2. yum install libXScrnSaver-devel
3. pkg-config --libs xscrnsaver
  

Additional info:

This bug blocks update of gajim in FE.

Comment 1 Dawid Gajownik 2005-12-29 11:52:48 UTC
Created attachment 122627 [details]
patch to the spec file

Comment 2 Mike A. Harris 2006-01-09 17:07:23 UTC
Just so the problem is 100% documented directly in bugzilla, here is a cut
and paste of the mail message linked to above:

-------------------------------------------------------
[libXScrnSaver] Is âRequires.privateâ real ly needed?

    * From: Dawid Gajownik <gajownik fedora pl>
    * To: For testers of Fedora Core development releases <fedora-test-list
redhat com>
    * Subject: [libXScrnSaver] Is âRequires.privateâ real ly needed?
    * Date: Sat, 24 Dec 2005 16:25:38 +0100

Hi!


I wanted to update gajim in Fedora Extras but libXScrnSaver-devel has broken
dependencies. `pkg-config --libs xscrnsaver' command gives this output:

Package x11 was not found in the pkg-config search path.
Perhaps you should add the directory containing `x11.pc'
to the PKG_CONFIG_PATH environment variable
Package 'x11', required by 'XScrnSaver', not found


Before reporting this in Bugzilla I wanted to ask about one question.
/usr/lib/pkgconfig/xscrnsaver.pc file contains this line:

Requires.private: x11 xext


If I understand pkg-config's manpage correctly, âRequires.privateâ and
âLibs.privateâ are only needed in the case of static linking. Am I right? If
yes, maybe it would be better to comment this line out to not to add unnecessary
dependency bloat? (X.org X11 libs in Rawhide do not provide static libs.) Here's
the proposal patch â http://wiki.fedora.pl/gajownik/xorg/libXScrnSaver-private.patch

Comments?

BTW Merry Christmas!



Comment 3 Mike A. Harris 2006-01-17 03:35:22 UTC
Fixed in the 1.0.0-2 release