diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2005-11-16 21:59:59 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2005-11-16 21:59:59 +0000 |
commit | 63309fdf2fbed2251b39772110132faff4463c43 (patch) | |
tree | e47ad9a1483997b2aad264cd2fa1c5ae81c9b9d5 /eclass | |
parent | Remove ath_rate_amrr if it is leftover from an old installation, #112728 (diff) | |
download | gentoo-2-63309fdf2fbed2251b39772110132faff4463c43.tar.gz gentoo-2-63309fdf2fbed2251b39772110132faff4463c43.tar.bz2 gentoo-2-63309fdf2fbed2251b39772110132faff4463c43.zip |
More xft/pango cleanups.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/mozconfig-2.eclass | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/eclass/mozconfig-2.eclass b/eclass/mozconfig-2.eclass index c62c328fb9e3..2cc4a708a312 100644 --- a/eclass/mozconfig-2.eclass +++ b/eclass/mozconfig-2.eclass @@ -1,21 +1,18 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/mozconfig-2.eclass,v 1.2 2005/11/15 10:48:23 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/mozconfig-2.eclass,v 1.3 2005/11/16 21:59:59 azarah Exp $ # # mozconfig.eclass: the new mozilla.eclass inherit multilib flag-o-matic -IUSE="debug gnome ipv6 truetype xinerama xprint mozsvg" +IUSE="debug gnome ipv6 xinerama xprint mozsvg" RDEPEND="virtual/x11 - !moznoxft? ( virtual/xft ) - >=media-libs/fontconfig-2.1 >=sys-libs/zlib-1.1.4 >=media-libs/jpeg-6b >=media-libs/libmng-1.0.0 >=media-libs/libpng-1.2.1 - >=sys-apps/portage-2.0.36 dev-libs/expat app-arch/zip app-arch/unzip @@ -174,13 +171,15 @@ mozconfig_init() { --enable-single-profile \ --disable-profilesharing \ --disable-profilelocking \ - --enable-default-toolkit=gtk2 + --enable-default-toolkit=gtk2 \ + --enable-pango mozconfig_use_enable ipv6 mozconfig_use_enable xinerama mozconfig_use_enable xprint - # We use --enable-xft and --enable-pango to do truetype fonts + # We use --enable-pango to do truetype fonts, and currently pango + # is required for it to build mozconfig_annotate gentoo --disable-freetype2 if use debug; then @@ -222,17 +221,6 @@ mozconfig_init() { if is-flag '-mcpu=ultrasparc*' || is-flag '-mtune=ultrasparc*'; then mozconfig_annotate "building on ultrasparc" --enable-js-ultrasparc fi - - # Check if we should enable Xft support... - if ! use truetype; then - mozconfig_annotate "disabling xft2 by request (-truetype)" --disable-xft - else - if [[ -x /usr/bin/pkg-config ]] && pkg-config xft; then - mozconfig_annotate "-moznoxft" --enable-xft --enable-pango - else - mozconfig_annotate "no pkg-config xft" --disable-xft - fi - fi } # Simulate the silly csh makemake script |