Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 498246 - media-libs/fontconfig - confdir is not set correctly in fontconfig.pc
Summary: media-libs/fontconfig - confdir is not set correctly in fontconfig.pc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords:
: 491354 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-01-16 12:14 UTC by Vikraman (RETIRED)
Modified: 2014-01-16 14:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vikraman (RETIRED) gentoo-dev 2014-01-16 12:14:03 UTC

@baseconfigdir@ is not expanded in fontconfig.pc

$ 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

Fixed in upstream: https://bugs.freedesktop.org/show_bug.cgi?id=73686

At least the following package on my system is affected.

$ qlist font-bh-ttf
/@baseconfigdir@/conf.avail/42-luxi-mono.conf
/@baseconfigdir@/conf.d/42-luxi-mono.conf
/usr/share/fonts/TTF/luximbi.ttf
/usr/share/fonts/TTF/luximb.ttf
/usr/share/fonts/TTF/luximri.ttf
/usr/share/fonts/TTF/luximr.ttf
/usr/share/fonts/TTF/luxirbi.ttf
/usr/share/fonts/TTF/luxirb.ttf
/usr/share/fonts/TTF/luxirri.ttf
/usr/share/fonts/TTF/luxirr.ttf
/usr/share/fonts/TTF/luxisbi.ttf
/usr/share/fonts/TTF/luxisb.ttf
/usr/share/fonts/TTF/luxisri.ttf
/usr/share/fonts/TTF/luxisr.ttf
/usr/share/doc/font-bh-ttf-1.0.3/ChangeLog.bz2
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-01-16 14:41:51 UTC
*** Bug 491354 has been marked as a duplicate of this bug. ***
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-01-16 14:43:30 UTC
+*fontconfig-2.11.0-r1 (16 Jan 2014)
+
+  16 Jan 2014; Lars Wendler <polynomial-c@gentoo.org>
+  -fontconfig-2.11.0.ebuild, +fontconfig-2.11.0-r1.ebuild,
+  +files/fontconfig-2.11.0-baseconfigdir_fix.patch:
+  Fixed baseconfigdir reference in pkgconfig file (bug #498246).
+