Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59307 - Porting: media-libs/fontconfig-2.2.3
Summary: Porting: media-libs/fontconfig-2.2.3
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: PPC All
: High normal (vote)
Assignee: osx porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 63189
  Show dependency tree
 
Reported: 2004-08-03 13:22 UTC by Robin Munn
Modified: 2005-02-06 13:33 UTC (History)
0 users

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 Robin Munn 2004-08-03 13:22:49 UTC
I added the macos keyword media-libs/fontconfig-2.2.3 and tried to compile it; the configure process complained that freetype was missing:

.
.
.
checking for getopt_long... yes
checking for freetype-config... no
configure: error: You must have freetype installed; see http://www.freetype.org/


I have gentoo-macos-20040726; its package.provided list contains "media-libs/freetype-2.1.4". But apparently Apple's installation of freetype doesn't include a freetype-config script.

Reproducible: Always
Steps to Reproduce:
1. emerge -av fontconfig
2.
3.

Actual Results:  
Install fails due to absence of freetype-config script.

Expected Results:  
Configure needs to find a freetype-config script; maybe we should give it one.
On macos only, supply a freetype-config script in the ebuild that specifies the
location of the freetype install on OS X. Either that, or bug Apple to include a
freetype-config program in their default install...

emerge info:
!!! Using `which gcc` to gcc locate version, this may break
!!! DISTCC, installing gcc-config and setting your current gcc
!!! profile will fix this
Portage 20040726 (default-macos-10.3, gcc-3.3, unavailable, 7.4.0 Power
Macintosh powerpc)
=================================================================
System uname: 7.4.0 Power Macintosh powerpc
macos-20040726
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632)
[disabled]
Autoconf: 
Automake: 
Binutils: 
ACCEPT_KEYWORDS="macos"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe"
CHOST="powerpc-apple-darwin"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect cvs keepwork"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="macos"
Comment 1 Rendhalver 2004-09-06 02:06:06 UTC
actually the macos version of freetype does include freetype-config it's just installed in /usr/X11R6/bin which i am guessing isnt in the path used by emerge.

if we add --with-freetype-config=/usr/X11R6/bin/freetype-config to the configure section it fixes it.
we would have to do an ARCH check to make it portable but it should work fine.
Comment 2 Lina Pezzella (RETIRED) gentoo-dev 2005-01-15 14:07:47 UTC
Stabilized v. 2.2.2
Marked v. 2.2.3 unstable.
Comment 3 Hasan Khalil (RETIRED) gentoo-dev 2005-02-06 13:33:06 UTC
Closing out bugs that've been resolved for a while now...