diff options
author | Donnie Berkholz <spyderous@gentoo.org> | 2004-11-21 22:49:34 +0000 |
---|---|---|
committer | Donnie Berkholz <spyderous@gentoo.org> | 2004-11-21 22:49:34 +0000 |
commit | 1f7391df705d92f27ab4f3416a7f00beac42dc3f (patch) | |
tree | 1a441a862c18eee58bfc0ffcb8c74299062a3e6b /x11-base/xorg-x11 | |
parent | For USE=minimal, remove all unnecessary fonts. This saves ~5.5MB. Unfortunate... (diff) | |
download | gentoo-2-1f7391df705d92f27ab4f3416a7f00beac42dc3f.tar.gz gentoo-2-1f7391df705d92f27ab4f3416a7f00beac42dc3f.tar.bz2 gentoo-2-1f7391df705d92f27ab4f3416a7f00beac42dc3f.zip |
Don't hide things behind USE=minimal that are already behind other USE flags, so we can combine minimal with various other things.
Diffstat (limited to 'x11-base/xorg-x11')
-rw-r--r-- | x11-base/xorg-x11/ChangeLog | 7 | ||||
-rw-r--r-- | x11-base/xorg-x11/xorg-x11-6.8.0-r4.ebuild | 44 |
2 files changed, 26 insertions, 25 deletions
diff --git a/x11-base/xorg-x11/ChangeLog b/x11-base/xorg-x11/ChangeLog index 6182f2429481..be9e204c41a1 100644 --- a/x11-base/xorg-x11/ChangeLog +++ b/x11-base/xorg-x11/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for x11-base/xorg-x11 # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-x11/ChangeLog,v 1.219 2004/11/21 22:42:56 spyderous Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-x11/ChangeLog,v 1.220 2004/11/21 22:49:34 spyderous Exp $ + + 21 Nov 2004; Donnie Berkholz <spyderous@gentoo.org>; + xorg-x11-6.8.0-r4.ebuild: + Don't hide things behind USE=minimal that are already behind other USE + flags, so we can combine minimal with various other things. 21 Nov 2004; Donnie Berkholz <spyderous@gentoo.org>; xorg-x11-6.8.0-r4.ebuild: diff --git a/x11-base/xorg-x11/xorg-x11-6.8.0-r4.ebuild b/x11-base/xorg-x11/xorg-x11-6.8.0-r4.ebuild index 02d93dc2e9e8..0cf2a47553cd 100644 --- a/x11-base/xorg-x11/xorg-x11-6.8.0-r4.ebuild +++ b/x11-base/xorg-x11/xorg-x11-6.8.0-r4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-x11/xorg-x11-6.8.0-r4.ebuild,v 1.10 2004/11/21 22:42:56 spyderous Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-x11/xorg-x11-6.8.0-r4.ebuild,v 1.11 2004/11/21 22:49:34 spyderous Exp $ # Set TDFX_RISKY to "yes" to get 16-bit, 1024x768 or higher on low-memory # voodoo3 cards. @@ -68,9 +68,9 @@ GENTOO_FILES="http://dev.gentoo.org/~spyderous/${PN}/patchsets/${PV}/${P}-files- mirror://gentoo/${P}-files-${FILES_VER}.tar.bz2" SRC_URI="!minimal? ( mirror://gentoo/eurofonts-X11.tar.bz2 ) - !minimal? ( font-server? ( http://dev.gentoo.org/~cyfred/xorg/${PN}/patchsets/${PV}/xfsft-encodings-${XFSFT_ENC_VER}.tar.bz2 ) ) + ( font-server? ( http://dev.gentoo.org/~cyfred/xorg/${PN}/patchsets/${PV}/xfsft-encodings-${XFSFT_ENC_VER}.tar.bz2 ) !minimal? ( mirror://gentoo/gentoo-cursors-tad-${XCUR_VER}.tar.bz2 ) - !minimal? ( nls? ( mirror://gentoo/gemini-koi8-u.tar.bz2 ) ) + ( nls? ( mirror://gentoo/gemini-koi8-u.tar.bz2 ) ${GENTOO_FILES} ${X_DRIVERS} ${X_PATCHES} @@ -207,19 +207,19 @@ src_unpack() { ebegin "Unpacking Gentoo cursors" unpack gentoo-cursors-tad-${XCUR_VER}.tar.bz2 > /dev/null eend 0 - - # Unpack extra fonts stuff from Mandrake - ebegin "Unpacking fonts" - if use nls; then - unpack gemini-koi8-u.tar.bz2 > /dev/null - fi - unpack eurofonts-X11.tar.bz2 > /dev/null - if use font-server; then - unpack xfsft-encodings-${XFSFT_ENC_VER}.tar.bz2 > /dev/null - fi - eend 0 fi + # Unpack extra fonts stuff from Mandrake + ebegin "Unpacking fonts" + if use nls; then + unpack gemini-koi8-u.tar.bz2 > /dev/null + fi + unpack eurofonts-X11.tar.bz2 > /dev/null + if use font-server; then + unpack xfsft-encodings-${XFSFT_ENC_VER}.tar.bz2 > /dev/null + fi + eend 0 + # Remove bum encoding rm -f ${WORKDIR}/usr/share/fonts/encodings/urdunaqsh-0.enc @@ -333,14 +333,12 @@ src_install() { compose_files_setup - if ! use minimal; then - if use font-server; then - encode_xfsft_files - fi + if use font-server; then + encode_xfsft_files + fi - if use nls; then - setup_koi8_fonts - fi + if use nls; then + setup_koi8_fonts fi etc_files_install @@ -438,9 +436,7 @@ pkg_postinst() { if [ "${ROOT}" = "/" ]; then umask 022 - if ! use minimal; then - font_setup - fi + font_setup if use opengl; then switch_opengl_implem |