Bug 73686 - confdir is not set correctly in fontconfig.pc
Summary: confdir is not set correctly in fontconfig.pc
Status: RESOLVED FIXED
Alias: None
Product: fontconfig
Classification: Unclassified
Component: library (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: fontconfig-bugs
QA Contact: Behdad Esfahbod
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-16 07:45 UTC by Vikraman Choudhury
Modified: 2014-01-16 10:31 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
0001-Set-confdir-correctly.patch (748 bytes, patch)
2014-01-16 07:46 UTC, Vikraman Choudhury
Details | Splinter Review

Description Vikraman Choudhury 2014-01-16 07:45:24 UTC
$ cat /usr/lib/pkgconfig/fontconfig.pc
prefix=/usr
exec_prefix=${prefix}
libdir=/usr/lib
includedir=${prefix}/include
sysconfdir=/etc
localstatedir=/var
PACKAGE=fontconfig
confdir=@baseconfigdir@
cachedir=${localstatedir}/cache/${PACKAGE}

Name: Fontconfig
Description: Font configuration and customization library
Version: 2.11.0
Requires:  freetype2
Requires.private:  expat
Libs: -L${libdir} -lfontconfig
Libs.private: -lexpat  -lfreetype
Cflags: -I${includedir}  -I/usr/include/freetype2 -I/usr/include/libpng16

@baseconfigdir@ is not expanded since it is set in Makefile.am while fontconfig.pc is generated from configure.ac. The correct value should be @BASECONFIGDIR@ which is known in configure.ac.

I have attached a one line patch which fixes this.
Comment 1 Vikraman Choudhury 2014-01-16 07:46:37 UTC
Created attachment 92206 [details] [review]
0001-Set-confdir-correctly.patch
Comment 2 Akira TAGOH 2014-01-16 10:31:57 UTC
Thanks for reporting. fixed in git.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.