Bug 866063 - fontconfig depends on either expat and libxml2
fontconfig depends on either expat and libxml2
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: mingw-fontconfig (Show other bugs)
rawhide
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Richard W.M. Jones
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-13 11:37 EDT by Nicola Fontana
Modified: 2012-10-14 11:12 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-10-14 11:12:07 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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

  None (edit)
Description Nicola Fontana 2012-10-13 11:37:38 EDT
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 12:26:22 EDT
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 11:12:07 EDT
Updated package built for rawhide

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