Portage is a package management system used by Gentoo Linux
# ChangeLog for media-libs/fontconfig
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/fontconfig/ChangeLog,v 1.120 2008/06/26 21:38:55 cardoe Exp $
*fontconfig-2.6.0-r2 (26 Jun 2008)
26 Jun 2008; Doug Goldstein
-fontconfig-2.6.0-r1.ebuild, +fontconfig-2.6.0-r2.ebuild:
Purposefully dropped the xml USE flag and libxml2 support. Having this is
silly since expat is the preferred way to go per upstream and libxml2
support simply exists as a fallback when expat isn't around. expat support
is the main way to go and every other distro uses it. By using the xml USE
flag to enable libxml2 support, this confuses users and results in most
people getting the non-standard behavior of libxml2 usage since most
profiles have USE=xml
25 Jun 2008; Peter Alfredsen
fontconfig-2.6.0-r1.ebuild:
Fixed parallel build build failure fix. Set WANT_AUTOMAKE and inherit
autotools.
22 Jun 2008; Peter Volkov
+files/fontconfig-2.6.0-parallel.patch, fontconfig-2.6.0-r1.ebuild:
Fixed parallel build failure, bug #225079, thank Iain for report.
*fontconfig-2.6.0-r1 (04 Jun 2008)
04 Jun 2008; Peter Alfredsen
-fontconfig-2.5.93-r1.ebuild, -fontconfig-2.6.0.ebuild,
+fontconfig-2.6.0-r1.ebuild:
Bump with fc-lang changes included.
03 Jun 2008; Ryan Hill
Fix ugly Changelog.
*fontconfig-2.6.0 (03 Jun 2008)
03 Jun 2008; Ryan Hill
-fontconfig-2.5.93.ebuild, +fontconfig-2.6.0.ebuild:
Version bump. No differences from 2.5.93-r1.
Major changes since 2.5.0:
* Handle bitmap-only TTF files that do not have a GLYF table
* Ignore point size and DPI for bitmap (PCF) fonts.
* Add fantasy and cursive generic families
* Merge Fedora and Mandriva configuration options
* Build fixes for cross compile and Win32 platforms
*fontconfig-2.5.93-r1 (01 Jun 2008)
01 Jun 2008; Peter Alfredsen
+fontconfig-2.5.93-r1.ebuild:
Install fc-lang directory, needed to test font language coverage.
30 May 2008; Alexis Ballier
fontconfig-2.5.93.ebuild:
Readd libtoolize call for fbsd
*fontconfig-2.5.93 (25 May 2008)
25 May 2008; Ryan Hill
Version bump.
(should've waited an hour)
*fontconfig-2.5.92 (25 May 2008)
25 May 2008; Ryan Hill
Version bump.
04 May 2008; Peter Volkov
+files/fontconfig-2.5.0-libtool-2.2.patch, fontconfig-2.5.0-r1.ebuild:
Fixed compilation with libtool-2.2, bug #213831, thank Alessandro Guido
for report.
30 Mar 2008;
Drop to ~mips due to unstable deps
10 Feb 2008; Ryan Hill
Remove old.
16 Jan 2008; Jeroen Roovers
Stable for HPPA (bug #205266).
15 Jan 2008; Raúl Porcel
alpha/ia64 stable wrt #205266
14 Jan 2008;
Stable on amd64; bug 205266
13 Jan 2008; nixnut
Stable on ppc wrt bug 205266
12 Jan 2008; Brent Baude
Marking fontconfig-2.5.0-r1 ppc64 for bug 205266
12 Jan 2008; Dawid Węgliński
fontconfig-2.5.0-r1.ebuild:
Stable on x86 (bug #205266)
11 Jan 2008; Ferris McCormick
fontconfig-2.5.0-r1.ebuild:
Sparc stable, Bug #205266
*fontconfig-2.5.0-r1 (20 Dec 2007)
20 Dec 2007; Ryan Hill
Revision bump. Added PDEPEND on app-admin/eselect-fontconfig.
*fontconfig-2.5.0 (14 Nov 2007)
14 Nov 2007; Ryan Hill
Version bump.
02 Sep 2007; Ryan Hill
Use CONFIG_PROTECT_MASK to force updates to /etc/fonts/fonts.conf rather
than nasty pkg_postinst hacks. Bug #183576 by Alan Hourihane.
21 Jul 2007; Ryan Hill
-files/fontconfig-2.3.2-pkg_config.patch,
-files/fontconfig-2.3.2-symbol_alias.patch, -fontconfig-2.3.2-r1.ebuild:
Remove old.
16 Jul 2007; Christian Heim
Fixing the Manifest (for real).
16 Jul 2007; Ryan Hill
Fix digest.
16 Jul 2007; Ryan Hill
+files/fontconfig-2.3.2-pkg_config.patch,
+files/fontconfig-2.3.2-symbol_alias.patch, +fontconfig-2.3.2-r1.ebuild:
Readd 2.3.2-r1 for bug #185484.
15 Jul 2007; Ryan Hill
-files/patch/fontconfig-2.1-slighthint.patch,
-files/patch/fontconfig-2.2-blacklist.patch,
-files/patch/fontconfig-2.2-local_fontdir-r1.patch,
-files/patch/fontconfig-2.2-remove_subpixel_test.patch,
-files/fontconfig-2.3.2-noftinternals.patch,
-files/fontconfig-2.3.2-pkg_config.patch,
-files/fontconfig-2.3.2-symbol_alias.patch, -fontconfig-2.2.3.ebuild,
-fontconfig-2.3.2-r1.ebuild, -fontconfig-2.3.2-r2.ebuild,
-fontconfig-2.4.1.ebuild:
Remove old.
15 Jul 2007; Ryan Hill
-files/fontconfig-2.3.2-noftinternals.patch,
-files/fontconfig-2.3.2-pkg_config.patch,
-files/fontconfig-2.3.2-symbol_alias.patch, -fontconfig-2.2.3.ebuild,
-fontconfig-2.3.2-r1.ebuild, -fontconfig-2.3.2-r2.ebuild,
-fontconfig-2.4.1.ebuild:
Remove old.
12 Jul 2007; Roy Marples
Keyworded ~sparc-fbsd.
27 May 2007; Joshua Kinard
Stable on mips.
25 May 2007; Raúl Porcel
alpha stable wrt #166029
16 Feb 2007; Diego Pettenò
fontconfig-2.4.2.ebuild:
Add missing pkgconfig dependency, closes bug #167159 reported by Alberto
Fiaschi.
13 Feb 2007; Markus Rothe
Stable on ppc64; bug #166029
10 Feb 2007; Jeroen Roovers
Stable for HPPA (bug #166029).
10 Feb 2007; nixnut
Stable on ppc wrt bug 166029
10 Feb 2007; Steve Dibb
amd64 stable, bug 166029
09 Feb 2007; Gustavo Zacarias
fontconfig-2.4.2.ebuild:
Stable on sparc wrt #166029
09 Feb 2007; Fabian Groffen
fontconfig-2.3.2-r1.ebuild, fontconfig-2.3.2-r2.ebuild,
fontconfig-2.4.1.ebuild, fontconfig-2.4.2.ebuild:
Dropped ppc-macos keyword, see you in prefix
09 Feb 2007; Christian Faulhammer
fontconfig-2.4.2.ebuild:
stable x86; bug #166029
*fontconfig-2.4.2 (4 Dec 2006)
04 Dec 2006; Marinus Schraal
New release
20 Oct 2006; Bryan Østergaard
fontconfig-2.3.2-r1.ebuild:
Stable on Alpha.
11 Oct 2006; Daniel Drake
Fix missing RDEPEND, bug #149879
26 Sep 2006; Gustavo Zacarias
fontconfig-2.3.2-r1.ebuild:
Stable on hppa
23 Sep 2006; Seemant Kulleen
fontconfig-2.3.2-r1.ebuild:
fix for bug #138346 -- explicitly set the automake version
*fontconfig-2.3.2-r2 (18 Sep 2006)
18 Sep 2006; Marinus Schraal
fontconfig-2.3.2-noftinternals.patch :
Don't break on freetype 2.2 (#140359)
*fontconfig-2.4.1 (17 Sep 2006)
17 Sep 2006; Marinus Schraal
New release (#108150)
Re-enable optional doc generation (needed for manpages)
04 Sep 2006; Joshua Kinard
Marked stable on mips.
16 Aug 2006; Markus Rothe
Stable on ppc64
03 Aug 2006; Gustavo Zacarias
fontconfig-2.3.2-r1.ebuild:
Stable on sparc
19 Jul 2006; Danny van Dyk
fontconfig-2.3.2-r1.ebuild:
Marked stable on amd64.
14 Jul 2006; Tobias Scherbaum
fontconfig-2.3.2-r1.ebuild:
ppc stable, bug #139612
13 Jul 2006; Aron Griffis
fontconfig-2.3.2-r1.ebuild:
Mark 2.3.2-r1 stable on ia64
12 Jul 2006; Chris Gianelloni
fontconfig-2.3.2-r1.ebuild:
Stable on x86 wrt bug #139612.
*fontconfig-2.3.2-r1 (07 Apr 2006)
07 Apr 2006; Marinus Schraal
files/fontconfig-2.3.2-pkg_config.patch, files/fontconfig-2.3.2-symbol_alias.patch :
Fix pkgconfig includes crudely (#83623)
Remove reference to /usr/X11R6 in configure (#122526)
Install more docs (#124287, thanks to Andy Kittner)
Add aliases for symbol and dingbats fonts (#124238, thanks to Florian Mickler)
Add docbook switch, so we can disable it hard (#124287, thanks exg)
31 Mar 2006; Diego Pettenò
fontconfig-2.3.2.ebuild:
Add elibtoolize and ~x86-fbsd keyword.
*fontconfig-2.3.2 (29 May 2005)
29 May 2005; foser
New release (#84757)
17 Feb 2005; Lina Pezzella
Stable ppc-macos
15 Jan 2005; Lina Pezzella
fontconfig-2.2.3.ebuild:
v. 2.2.2 stable ppc-macos.
v. 2.2.3 unstable ppc-macos.
21 Dec 2004; Markus Rothe
Stable on ppc64; bug #44116
21 Dec 2004; Luca Barbato
fontconfig-2.2.3.ebuild:
Marked ppc
11 Dec 2004; Mike Frysinger
Remove C++ checks from configure since we dont need C++ #74077.
19 Oct 2004; Dylan Carlson
Stable on amd64.
18 Oct 2004; Gustavo Zacarias
Stable on sparc
5 Sep 2004; Alexander Plank
~macos - if freetype isn't already merged, compilation fails
20 Aug 2004; Gustavo Zacarias
Stable on sparc
18 Aug 2004; Aron Griffis
stable on alpha and ia64
*fontconfig-2.2.3 (19 Jul 2004)
19 Jul 2004; foser
New release
13 Jul 2004; Stephen P. Becker
Stable on mips - bug 56886
01 Jul 2004; Aron Griffis
stable on alpha and ia64
19 Jun 2004; foser
Build with DESTDIR to fix libtool problems (#50076)
*fontconfig-2.1-r1 (02 Jun 2004)
02 Jun 2004; Michael Sterrett
fontconfig-2.1-r1.ebuild:
resurrect fontconfig-2.1-r1 for keywords
02 Jun 2004; foser
Don't force fc-cache update, it breaks portage removal of fonts (#13808)
2.2.2 : remove ed dep (#42805)
17 Apr 2004; Travis Tilley
fontconfig-2.2.2.ebuild:
marked stable on amd64
*fontconfig-2.2.2 (11 Mar 2004)
11 Mar 2004;
Version bumped.
13 Jan 2004;
marked stable on hppa
26 Nov 2003; Brandy Westcott brandy@gentoo.org fontconfig-2.2.1.ebuild:
Fixed SRC_URI.
01 Nov 2003; Seemant Kulleen
SRC_URI and HOMEPAGE update, thanks to: Stony Yakovac
#32423
22 Oct 2003; Aron Griffis
Stable on alpha
22 Oct 2003; Bartosch Pixa
set ppc in keywords
01 Jul 2003; Todd Sunderlin
set stable on sparc
17 Jun 2003; foser
backport disable docs fix (#21195)
*fontconfig-2.2.1 (11 Jun 2003)
11 Jun 2003; foser
Always disable docs building (#21195)
Update fotndir patch to include /usr/local/share/fonts for local fonts
11 Jun 2003; Seemant Kulleen
fontconfig-2.2.0-r2.ebuild,
files/patch/fontconfig-0.0.1.020826.1330-blacklist.patch,
files/patch/fontconfig-2.0-defaultconfig.patch,
files/patch/fontconfig-2.0-x11fontpath-date-configure.patch,
files/patch/fontconfig-2.1-cvs-update-20021221.patch,
files/patch/fontconfig-2.1-fixedwidth.patch,
files/patch/fontconfig-2.1-slighthint.patch,
files/patch/fontconfig-2.1-x11fontpath-date-configure-v2.patch,
files/patch/fontconfig-2.1-x11fontpath-date-configure.patch,
files/patch/fontconfig-2.2-blacklist.patch,
files/patch/fontconfig-2.2-local_fontdir-r1.patch,
files/patch/fontconfig-2.2-remove_subpixel_test.patch,
files/patch/fontconfig-2.2.0-cvs_bugfixes.patch:
restored to its previous state. sorry about that, foser
21 May 2003; Tavis Ormandy
fontconfig-2.2.0-r2.ebuild:
die if using ccc.
*fontconfig-2.2.0-r2 (14 May 2003)
04 Aug 2003; Guy Martin
Marked stable on hppa.
17 May 2003; foser
small fix to install devel docs and usual docs together
16 May 2003; foser
Added MAKEOPTS to fix possible parallel make problems with docs building
15 May 2003; foser
Remove cvs Id stuff from patch (#12035)
14 May 2003; foser
fontconfig-2.2-cvs_bugfixes.patch, fontconfig-2.2-remove_subpixel_test.patch :
Removed defaultconfig patch, its font preferences is suboptimal
Added some minor bugfixes from stable cvs, should fix docs problems as well
reenable docs USE flag, doesn't seem to work correctly though
Removed subpixel test from local.conf trying to fix #12757
*fontconfig-2.2.0-r1 (27 Apr 2003)
27 Apr 2003; Martin Schlemmer
fontconfig-2.2-blacklist.patch, fontconfig-2.2-defaultconfig.patch :
Add blacklist patch from MDK to filter known fonts that borks. Add
defaultconfig patch from MDK that add more font family's.
*fontconfig-2.2.0 (23 Apr 2003)
23 Apr 2003; foser
New version, added some more standard fontpaths on request (#19564)
*fontconfig-2.1.94-r1 (18 Apr 2003)
19 Apr 2003; foser
Fixed freetype dep (#19576)
18 Apr 2003; foser
Added patch to add our local userdir to fonts.conf, bad mess up on my side
Now people can really enjoy the vera fonts ;)
*fontconfig-2.1.94 (17 Apr 2003)
17 Apr 2003; foser
Pre 2.2 release, supports Bitstream Vera fonts
08 Apr 2003; Martin Schlemmer
Mark stable for x86 and mips. It has been in testing for long, and stable
for other arch's for a while. Bug #18972.
08 Feb 2003; Jason Wever
Changed ~sparc keyword to sparc
04 Feb 2003; Olivier Reisch
Putting back to ~ppc. Warn ppl to recompile qt and kdelibs after install...
03 Feb 2003; Aron Griffis
Mark stable on alpha (needed for gnome)
27 Jan 2002; Olivier Reisch
Masked -ppc Breaks fonts on PPC platform.
*fontconfig-2.1-r1 (23 Dec 2002)
15 Mar 2003; Mark Guertin
set ppc in keywords
12 Mar 2003; Jungmin Seo
files/patch/fontconfig-2.1-fixedwidth.patch:
the patch fixes a font fixedwith bug, it has been applied in cvs,
so not required for the next version. Thanks to ganadist@mizi.com for
the patch.
12 Mar 2003; Zach Welch
add arm keyword
11 Mar 2003; Guy Martin
Added hppa to keywords.
23 Dec 2002; Martin Schlemmer
Update from XFree86 cvs.
13 Dec 2002; Martin Schlemmer
Bump to stable. Initial testing seems fine, and we need to resove the
fonts.conf issue which are handled IMHO much better in this release.
*fontconfig-2.1 (11 Dec 2002)
11 Dec 2002; Martin Schlemmer
New version.
06 Dec 2002; Rodney Rees
Changed sparc ~sparc keywords
02 Dec 2002; foser
Depend on freetype-2.1.2-r2, as it fixes bug #10028.
*fontconfig-2.0-r4 (26 Nov 2002)
26 Nov 2002; foser
New patch to fix both date and x11 fontdir problem in bug #11086
*fontconfig-2.0-r3 (31 Oct 2002)
31 Oct 2002; Martin Schlemmer
Add patch to close bug #10028.
*fontconfig-2.0-r2 (29 Oct 2002)
29 Oct 2002; Martin Schlemmer
Do not include date in generated /etc/fonts/fonts.conf, as users do not
seem to know how to set their timezone, or what to do with 'zic' for that
matter. Bugs #9473, #9705 and #9768.
*fontconfig-2.0-r1 (26 Oct 2002)
26 Oct 2002; Martin Schlemmer
Add some patches from Redhat.
*fontconfig-2.0 (30 Sep 2002)
24 Oct 2002; Jack Morgan
Added sparc/sparc64 keywords
21 Oct 2002; Calum Selkirk
Added ppc to KEYWORDS.
01 Oct 2002; Martin Schlemmer
Fix sandbox issues.
30 Sep 2002; Martin Schlemmer
Initial version.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
AUX fontconfig-2.3.2-docbook.patch 506 RMD160 c205d99ecc19866da8d0ac4ef7172dcef98a6299 SHA1 1054f38cef09c93baf34f08253345ca2ae638e4a SHA256 c6480dcf19fec22126a9205fa3d9b317e5a97613f86218cf1926a2a07848afd5
AUX fontconfig-2.5.0-libtool-2.2.patch 2589 RMD160 36a07e0161c6b2a970de19a090db4f750a519bea SHA1 e0267a4f29c670425861211cf960745021c22b6d SHA256 fce47ca38e8cff70ef7be40493b02b99ff2387a6e141a0e322ec8bfedee5b1a9
AUX fontconfig-2.6.0-parallel.patch 437 RMD160 5a8ab14d0d86f19d0658768a37927bf1761b3d3c SHA1 f12963e627d0735aed4e3c5b9b16331fd293ce4a SHA256 0f0a2fd2ad9241aa680f2c4fa607cc7898e9d8e8aa585b68d47961f82cf424e8
DIST fontconfig-2.4.2.tar.gz 1278340 RMD160 c953020a5193500080c9eceef47b76e61c41b188 SHA1 cd5e30625680a0435563b586275156eaf8d0d34a SHA256 63a3d6413182817b91eea327b58c243f1865acfc40bef61fc52d2b0431341363
DIST fontconfig-2.5.0.tar.gz 1385058 RMD160 2c61ba3adc49aa5dd4eb081e13a849cc1d62d9da SHA1 9ffad5f5eb2c5dd277bfed1cafc6e62aa0172842 SHA256 34c6badb4cb7eb496779d30616903de400fa244838ea39c2a7f63eaa5fdf0efe
DIST fontconfig-2.6.0.tar.gz 1403857 RMD160 2fea7fa3fe1757b58ce53c4225b9f8e6ec7507bf SHA1 93752566b8327485b153bd156049614f779b4c57 SHA256 a9a639eaa0e5666606a4657cc1494eb6df820fac7e5a2aa0c3f7e703b7c8d8a5
EBUILD fontconfig-2.4.2.ebuild 2414 RMD160 4c7488d70c9e4380ae73525e7f15a122de85f2b5 SHA1 479f03bcf14b76e10e67950a5925991f00494388 SHA256 e0274d8c6fb723b4f0bc39e2e6596c4b61b8c6d15f0a79ab160d4945c0ac3ee0
EBUILD fontconfig-2.5.0-r1.ebuild 2505 RMD160 e65b8588e50e6f56ddaebbe9e75f0600e18e98a9 SHA1 55f256b214f5d2bef1d78ef61a747d61b6f77266 SHA256 2b6ecdb834a51f4ef21dd265127e82eb60474edc1dc83dceec4f1c987b64c5b5
EBUILD fontconfig-2.6.0-r2.ebuild 2855 RMD160 a527a5aaf9f4f800e519366f87451c45475307b7 SHA1 24656e410e9a9084c9f48f1b441c2f94ef46c587 SHA256 cc3b37e8964a950a2ae2ccae73ad6597c540464532469587a6dac3bc241030f7
MISC ChangeLog 18656 RMD160 0740882a102a1f5353c649b50d58d11a157d688c SHA1 227a4e4b7e3971f6425e512cee1c27c5da710ca3 SHA256 2859ca24135587b4b7e5b668845b0ac16ccb90bc36c9d2ab420be11b2c707256
MISC metadata.xml 419 RMD160 898b8233ab233060d8137dadf28c291b83a65500 SHA1 ee62c352812f8765122e5a65b7df5f8794c6c485 SHA256 859faa6fc0c008e92a6432f0fd50a760170d724b15997e557d5d73088277c4db
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
iEYEARECAAYFAkhkDHgACgkQoeSe8B0zEfw5iACeOZSDC73quJvbKA+LJ/EQn58/
riYAn2amPY/Y6C4yRpOqkyR5w9AUG1vu
=+hrI
-----END PGP SIGNATURE-----
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/fontconfig/fontconfig-2.4.2.ebuild,v 1.15 2008/03/30 23:04:48 ricmm Exp $
inherit eutils libtool autotools
DESCRIPTION="A library for configuring and customizing font access"
HOMEPAGE="http://fontconfig.org/"
SRC_URI="http://fontconfig.org/release/${P}.tar.gz"
LICENSE="fontconfig"
SLOT="1.0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
IUSE="doc xml"
RDEPEND=">=media-libs/freetype-2.1.4
!xml? ( >=dev-libs/expat-1.95.3 )
xml? ( >=dev-libs/libxml2-2.6 )"
DEPEND="${RDEPEND}
dev-util/pkgconfig
doc? ( app-text/docbook-sgml-utils )"
src_unpack() {
unpack ${A}
cd "${S}"
# add docbook switch so we can disable it
epatch "${FILESDIR}"/${PN}-2.3.2-docbook.patch
eautoreconf
# elibtoolize
epunt_cxx #74077
}
src_compile() {
[ "${ARCH}" == "alpha" -a "${CC}" == "ccc" ] && \
die "Dont compile fontconfig with ccc, it doesnt work very well"
# disable docs only disables local docs generation, they come with the tarball
econf $(use_enable doc docs) \
$(use_enable doc docbook) \
--localstatedir=/var \
--with-docdir=/usr/share/doc/${PF} \
--with-default-fonts=/usr/share/fonts \
--with-add-fonts=/usr/local/share/fonts,/usr/X11R6/lib/X11/fonts \
$(use_enable xml libxml2) \
|| die
emake -j1 || die
}
src_install() {
emake DESTDIR="${D}" install || die
insinto /etc/fonts
doins "${S}"/fonts.conf
cd "${S}"
newman doc/fonts-conf.5 fonts-conf.5
dohtml doc/fontconfig-user.html
dodoc doc/fontconfig-user.{txt,pdf}
if use doc; then
doman doc/Fc*.3
dohtml doc/fontconfig-devel.html doc
dohtml -r doc/fontconfig-devel
dodoc doc/fontconfig-devel.{txt,pdf}
fi
dodoc AUTHORS ChangeLog NEWS README
# Changes should be made to /etc/fonts/local.conf, and as we had
# too much problems with broken fonts.conf, we force update it ...
#
echo 'CONFIG_PROTECT_MASK="/etc/fonts/fonts.conf"' > "${T}"/37fontconfig
doenvd "${T}"/37fontconfig
}
pkg_postinst() {
echo
ewarn "Please make fontconfig configuration changes in /etc/fonts/conf.d/"
ewarn "and NOT to /etc/fonts/fonts.conf, as it will be replaced!"
echo
if [ "${ROOT}" = "/" ]
then
ebegin "Creating global font cache..."
/usr/bin/fc-cache -sr
eend $?
fi
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/fontconfig/fontconfig-2.5.0-r1.ebuild,v 1.10 2008/05/04 13:27:41 pva Exp $
inherit eutils libtool autotools
DESCRIPTION="A library for configuring and customizing font access"
HOMEPAGE="http://fontconfig.org/"
SRC_URI="http://fontconfig.org/release/${P}.tar.gz"
LICENSE="fontconfig"
SLOT="1.0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
IUSE="doc xml"
RDEPEND=">=media-libs/freetype-2.1.4
!xml? ( >=dev-libs/expat-1.95.3 )
xml? ( >=dev-libs/libxml2-2.6 )"
DEPEND="${RDEPEND}
dev-util/pkgconfig
doc? ( app-text/docbook-sgml-utils )"
PDEPEND="app-admin/eselect-fontconfig"
src_unpack() {
unpack ${A}
cd "${S}"
# add docbook switch so we can disable it
epatch "${FILESDIR}"/${PN}-2.3.2-docbook.patch
epatch "${FILESDIR}"/${P}-libtool-2.2.patch #213831 Fix libtool-2.2 brekage
eautoreconf
epunt_cxx #74077
}
src_compile() {
# I'm thinking this should be removed
[[ ${ARCH} == alpha && ${CC} == ccc ]] && \
die "Dont compile fontconfig with ccc, it doesnt work very well"
# disable docs only disables local docs generation, they come with the tarball
econf $(use_enable doc docs) \
$(use_enable doc docbook) \
--localstatedir=/var \
--with-docdir=/usr/share/doc/${PF} \
--with-default-fonts=/usr/share/fonts \
--with-add-fonts=/usr/local/share/fonts \
$(use_enable xml libxml2) \
|| die
emake || die
}
src_install() {
emake DESTDIR="${D}" install || die
insinto /etc/fonts
doins "${S}"/fonts.conf
newman doc/fonts-conf.5 fonts.conf.5
dohtml doc/fontconfig-user.html
dodoc doc/fontconfig-user.{txt,pdf}
if use doc; then
doman doc/Fc*.3
dohtml doc/fontconfig-devel.html doc
dohtml -r doc/fontconfig-devel
dodoc doc/fontconfig-devel.{txt,pdf}
fi
dodoc AUTHORS ChangeLog NEWS README
# Changes should be made to /etc/fonts/local.conf, and as we had
# too much problems with broken fonts.conf, we force update it ...
#
echo 'CONFIG_PROTECT_MASK="/etc/fonts/fonts.conf"' > "${T}"/37fontconfig
doenvd "${T}"/37fontconfig
}
pkg_postinst() {
echo
ewarn "Please make fontconfig configuration changes in /etc/fonts/conf.d/"
ewarn "and NOT to /etc/fonts/fonts.conf, as it will be replaced!"
echo
if [[ ${ROOT} = / ]]; then
ebegin "Creating global font cache..."
/usr/bin/fc-cache -sr
eend $?
fi
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/fontconfig/fontconfig-2.6.0-r2.ebuild,v 1.1 2008/06/26 21:38:55 cardoe Exp $
WANT_AUTOMAKE=1.9
inherit eutils autotools libtool
DESCRIPTION="A library for configuring and customizing font access"
HOMEPAGE="http://fontconfig.org/"
SRC_URI="http://fontconfig.org/release/${P}.tar.gz"
LICENSE="fontconfig"
SLOT="1.0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
IUSE="doc"
# Purposefully dropped the xml USE flag and libxml2 support. Having this is
# silly since expat is the preferred way to go per upstream and libxml2 support
# simply exists as a fallback when expat isn't around. expat support is the main
# way to go and every other distro uses it. By using the xml USE flag to enable
# libxml2 support, this confuses users and results in most people getting the
# non-standard behavior of libxml2 usage since most profiles have USE=xml
RDEPEND=">=media-libs/freetype-2.1.4
>=dev-libs/expat-1.95.3"
DEPEND="${RDEPEND}
dev-util/pkgconfig
doc? ( app-text/docbook-sgml-utils )"
PDEPEND="app-admin/eselect-fontconfig"
src_unpack() {
unpack ${A}
cd "${S}"
epunt_cxx #74077
epatch "${FILESDIR}"/${P}-parallel.patch
# Neeeded to get a sane .so versionning on fbsd, please dont drop
# If you have to run eautoreconf, you can also leave the elibtoolize call as
# it will be a no-op.
eautomake
elibtoolize
}
src_compile() {
econf $(use_enable doc docs) \
--localstatedir=/var \
--with-docdir=/usr/share/doc/${PF} \
--with-default-fonts=/usr/share/fonts \
--with-add-fonts=/usr/local/share/fonts \
|| die
emake || die
}
src_install() {
emake DESTDIR="${D}" install || die
#fc-lang directory contains language coverage datafiles
#which are needed to test the coverage of fonts.
insinto /usr/share/fc-lang
doins fc-lang/*.orth
insinto /etc/fonts
doins "${S}"/fonts.conf
doman $(find "${S}" -type f -name *.1 -print)
newman doc/fonts-conf.5 fonts.conf.5
dodoc doc/fontconfig-user.{txt,pdf}
if use doc; then
doman doc/Fc*.3
dohtml doc/fontconfig-devel.html doc
dodoc doc/fontconfig-devel.{txt,pdf}
fi
dodoc AUTHORS ChangeLog README
# Changes should be made to /etc/fonts/local.conf, and as we had
# too much problems with broken fonts.conf, we force update it ...
#
echo 'CONFIG_PROTECT_MASK="/etc/fonts/fonts.conf"' > "${T}"/37fontconfig
doenvd "${T}"/37fontconfig
}
pkg_postinst() {
echo
ewarn "Please make fontconfig configuration changes in /etc/fonts/conf.d/"
ewarn "and NOT to /etc/fonts/fonts.conf, as it will be replaced!"
echo
if [[ ${ROOT} = / ]]; then
ebegin "Creating global font cache..."
/usr/bin/fc-cache -sr
eend $?
fi
}