Bug 185421 - pkg-config --list-all fails due to xfont.pc needing fontenc.pc
Summary: pkg-config --list-all fails due to xfont.pc needing fontenc.pc
Keywords:
Status: CLOSED DUPLICATE of bug 185778
Alias: None
Product: Fedora
Classification: Fedora
Component: libXfont
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: X/OpenGL Maintenance List
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-03-14 17:06 UTC by Nick Lamb
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-06-06 03:18:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Nick Lamb 2006-03-14 17:06:33 UTC
Description of problem:

pkg-config --list-all fails with the error:
Package fontenc was not found in the pkg-config search path.

It turns out, with debugging enabled, that this occurs because the package
'libXfont-devel' installs a pkg-config xfont.pc file which includes the line:
Requires.private: fontenc freetype2

Yet, libXfont-devel does not have a dependency on libfontenc-devel, and so this
cannot work.

So far as I can see, either (1) libXfont-devel needs a dependency on
libfontenc-devel OR (2) the pkg-config configuration xfont.pc should be edited
to remove this dependency from the build process.

Comment 1 Mike A. Harris 2006-03-16 06:17:30 UTC
The Requires.private stuff is only used when static linking I believe, however
we only ship the dynamic libraries.  So, while Requires.private is still
relevent, it isn't used by anything in practice as far as I'm aware.

I'm more inclined to add an additional (and possibly unnecessary) dependency
on fontenc/freetype2 though than to patch the upstream *.pc files and keep
forked versions of them in our tree.



Comment 2 Mike A. Harris 2006-06-06 03:18:25 UTC

*** This bug has been marked as a duplicate of 185778 ***


Note You need to log in before you can comment on or make changes to this bug.