Bug 866063 - fontconfig depends on either expat and libxml2
Summary: fontconfig depends on either expat and libxml2
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: mingw-fontconfig
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-13 15:37 UTC by Nicola Fontana
Modified: 2012-10-14 15:12 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-14 15:12:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Patch for dropping libxml2 dependency (1.34 KB, patch)
2012-10-13 15:37 UTC, Nicola Fontana
no flags Details | Diff

Description Nicola Fontana 2012-10-13 15:37:38 UTC
Created attachment 626578 [details]
Patch for dropping libxml2 dependency

expat and libxml2 dependencies are mutually exclusives in fontconfig but the actual package depends on both. The mainstream spec (fontconfig.spec) depends only on expat (expat-devel) and I think the same should be for this one.

Attached the (untested) patch to depend only on expat: fill free to ignore it if it does not follow your guidelines.

Comment 1 Erik van Pienbroek 2012-10-13 16:26:22 UTC
Hi,

The current mingw32-fontconfig/mingw64-fontconfig packages only depend on expat and not on libxml2:

$ rpm --query --requires mingw32-fontconfig
mingw32(kernel32.dll)
mingw32(libexpat-1.dll)
mingw32(libfontconfig-1.dll)
mingw32(libfreetype-6.dll)
mingw32(msvcrt.dll)
mingw32(user32.dll)
mingw32-crt
mingw32-filesystem >= 83
pkgconfig
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1

The additional BR for libxml2 in the mingw-fontconfig therefore isn't used during the build and can be removed safely. I'll commit your patch to rawhide, but I won't push updated packages to Fedora 17/18 as the end result remains the same: fontconfig only depends on expat

Comment 2 Erik van Pienbroek 2012-10-14 15:12:07 UTC
Updated package built for rawhide


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