summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2004-09-04 04:25:02 +0000
committerSeemant Kulleen <seemant@gentoo.org>2004-09-04 04:25:02 +0000
commit363ec50eaceb0638185da2e240f3c24554c109a1 (patch)
tree46cb0d5103cda2a6d270aa86ef2d96eee8624d83 /x11-base
parentbounds checking patches and encodings segfault patches (diff)
downloadhistorical-363ec50eaceb0638185da2e240f3c24554c109a1.tar.gz
historical-363ec50eaceb0638185da2e240f3c24554c109a1.tar.bz2
historical-363ec50eaceb0638185da2e240f3c24554c109a1.zip
checking in, so I can get some help with this
Diffstat (limited to 'x11-base')
-rw-r--r--x11-base/xorg-x11/ChangeLog7
-rw-r--r--x11-base/xorg-x11/Manifest6
-rw-r--r--x11-base/xorg-x11/files/digest-xorg-x11-6.7.99.9042
-rw-r--r--x11-base/xorg-x11/xorg-x11-6.7.99.904.ebuild329
4 files changed, 197 insertions, 147 deletions
diff --git a/x11-base/xorg-x11/ChangeLog b/x11-base/xorg-x11/ChangeLog
index 9c85de786172..1d321ea235cf 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.102 2004/09/03 05:19:20 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-x11/ChangeLog,v 1.103 2004/09/04 04:25:02 seemant Exp $
+
+ 03 Sep 2004; Seemant Kulleen <seemant@gentoo.org>
+ xorg-x11-6.7.99.904.ebuild:
+ ok this is still -*'d -- please don't file bugs about segfaults and fonts
+ errors. Those are known issues and we're working on them.
*xorg-x11-6.7.99.904 (02 Sep 2004)
diff --git a/x11-base/xorg-x11/Manifest b/x11-base/xorg-x11/Manifest
index df09b38df2a0..ac053b825a8e 100644
--- a/x11-base/xorg-x11/Manifest
+++ b/x11-base/xorg-x11/Manifest
@@ -1,12 +1,12 @@
MD5 d9becbd2de11fb89582d64e8acfcae36 xorg-x11-6.7.0-r2.ebuild 38116
MD5 c45084d05d93bd559bcf7ca24aac3b62 xorg-x11-6.7.99.902.ebuild 40071
-MD5 6bc303c6f60ea5e7c832e0b6f882b3e8 xorg-x11-6.7.99.904.ebuild 41270
+MD5 1d3a468f332ee75964c2de4099545b6c xorg-x11-6.7.99.904.ebuild 42003
MD5 7fe3d25ff1d20065910e5ec4e116eeb1 xorg-x11-6.7.0-r1.ebuild 41872
MD5 0474908da429f67f670be8c4f77cc0b0 xorg-x11-6.7.99.903.ebuild 41252
-MD5 a5c1659da911809e21c98d1ec58a8273 ChangeLog 24556
+MD5 2cca74d845f49cece49044917e66611a ChangeLog 24775
MD5 36a69eed0e585f3dcf096cc82ac54575 metadata.xml 230
MD5 d2be7dc9989b9f7c3e2ccb84e5297eeb files/digest-xorg-x11-6.7.0-r1 906
MD5 51c9e80b73eced56c98721ff90648866 files/digest-xorg-x11-6.7.0-r2 904
MD5 b8189a2f2288867fa7ebc39493946c95 files/digest-xorg-x11-6.7.99.902 516
MD5 d64a77dbba4148d34f40f03c002c1122 files/digest-xorg-x11-6.7.99.903 516
-MD5 04e80574fbf0b9626e08f38eda31f332 files/digest-xorg-x11-6.7.99.904 516
+MD5 f8c7cefa19b8d2f20c88acceac920fe7 files/digest-xorg-x11-6.7.99.904 516
diff --git a/x11-base/xorg-x11/files/digest-xorg-x11-6.7.99.904 b/x11-base/xorg-x11/files/digest-xorg-x11-6.7.99.904
index 7e6226f6b818..f5673921fe82 100644
--- a/x11-base/xorg-x11/files/digest-xorg-x11-6.7.99.904
+++ b/x11-base/xorg-x11/files/digest-xorg-x11-6.7.99.904
@@ -3,5 +3,5 @@ MD5 01a21c248e5ac4ba02cbbea994fc774a xfsft-encodings-0.1.tar.bz2 11892
MD5 d0fab996daf97adf095e2dad0bd9012e gentoo-cursors-tad-0.3.1.tar.bz2 1196991
MD5 3d4ee581df78c9dacc6e97aa07a1af72 gemini-koi8-u.tar.bz2 439173
MD5 02aadc16fe9ce67246dc5819e340ce9d xorg-x11-6.7.99.904-files-0.1.tar.bz2 9383
-MD5 f656730d926b149b7e21c6095c7e1b7b xorg-x11-6.7.99.904-patches-0.1.tar.bz2 57577
+MD5 8491e4087b1930f5d2a555a14a28fe6d xorg-x11-6.7.99.904-patches-0.1.tar.bz2 58295
MD5 1c0c18876d0a6d1871d2a502bcd9c2d2 xorg-x11-6.7.99.904.tar.bz2 43765992
diff --git a/x11-base/xorg-x11/xorg-x11-6.7.99.904.ebuild b/x11-base/xorg-x11/xorg-x11-6.7.99.904.ebuild
index 2eb8fc26189f..f4b06f85e9f6 100644
--- a/x11-base/xorg-x11/xorg-x11-6.7.99.904.ebuild
+++ b/x11-base/xorg-x11/xorg-x11-6.7.99.904.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.7.99.904.ebuild,v 1.3 2004/09/03 20:37:43 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-x11/xorg-x11-6.7.99.904.ebuild,v 1.4 2004/09/04 04:25:02 seemant Exp $
# Set TDFX_RISKY to "yes" to get 16-bit, 1024x768 or higher on low-memory
# voodoo3 cards.
@@ -22,11 +22,11 @@ inherit eutils flag-o-matic gcc xfree
RESTRICT="nostrip"
# IUSE="gatos" disabled because gatos is broken on ~4.4 now (31 Jan 2004)
-IUSE="3dfx 3dnow bitmap-fonts cjk debug dlloader dmx doc insecure-drivers ipv6 mmx nls pam sdk sse static"
+IUSE="3dfx 3dnow bitmap-fonts cjk debug dlloader dmx doc insecure-drivers ipv6 mmx nls pam sdk sse static xprint"
# IUSE_INPUT_DEVICES="synaptics wacom"
FILES_VER="0.1"
-PATCH_VER="0.2"
+PATCH_VER="0.1"
XCUR_VER="0.3.1"
#MGADRV_VER="1_3_0beta"
#VIADRV_VER="0.1"
@@ -72,7 +72,7 @@ LICENSE="Adobe-X CID DEC DEC-2 IBM-X NVIDIA-X NetBSD SGI UCB-LBL XC-2
nokia tektronix the-open-group todd-c-miller x-truetype xfree86-1.0
MIT SGI-B BSD FTL | GPL-2"
SLOT="0"
-KEYWORDS="-x86 -ppc -hppa -mips -ia64 -amd64 -ppc64"
+KEYWORDS="-x86 -ppc64 -amd64 -ppc -mips"
# Need portage-2.0.50_pre9 for `use !foo`
DEPEND=">=sys-apps/baselayout-1.8.3
@@ -91,7 +91,8 @@ DEPEND=">=sys-apps/baselayout-1.8.3
>=sys-apps/portage-2.0.50_pre9
!x11-base/xfree
!virtual/xft
- !virtual/x11"
+ !virtual/x11
+ dmx? ( app-text/sgmltools-lite )"
# x11-libs/xft -- blocked because of interference with xorg's
PDEPEND="x86? (
@@ -111,6 +112,8 @@ PROVIDE="virtual/x11
DESCRIPTION="An X11 implementation maintained by the X.Org Foundation"
+HOSTCONF="config/cf/host.def"
+
cflag_setup() {
# Set up CFLAGS
filter-flags "-funroll-loops"
@@ -193,10 +196,12 @@ pkg_setup() {
}
host_def_setup() {
- ebegin "Setting up config/cf/host.def"
- cd ${S}; cp ${FILES_DIR}/site.def config/cf/host.def || die
+ HOSTCONF=config/cf/host.def
+
+ ebegin "Setting up ${HOSTCONF}"
+ cd ${S}; cp ${FILES_DIR}/site.def ${HOSTCONF} || die
echo "#define XVendorString \"Gentoo Linux (The X.Org Foundation ${PV}, revision ${PR}-${PATCH_VER})\"" \
- >> config/cf/host.def
+ >> ${HOSTCONF}
# Pending http://bugs.gentoo.org/show_bug.cgi?id=49038 and
# http://freedesktop.org/cgi-bin/bugzilla/show_bug.cgi?id=600
@@ -204,43 +209,43 @@ host_def_setup() {
# Makes ld bail at link time on undefined symbols
# Suggested by Mike Harris <mharris@redhat.com>
#echo "#define SharedLibraryLoadFlags -shared -Wl,-z,defs" \
- # >> config/cf/host.def
+ # >> ${HOSTCONF}
# Enable i810 on x86_64 (RH #126687)
- echo "#define XF86ExtraCardDrivers i810" >> config/cf/host.def
+ echo "#define XF86ExtraCardDrivers i810" >> ${HOSTCONF}
# FHS install locations for docs
- echo "#define ManDirectoryRoot /usr/share/man" >> config/cf/host.def
- echo "#define DocDir /usr/share/doc/${PF}" >> config/cf/host.def
- echo "#define FontDir /usr/share/fonts" >> config/cf/host.def
+ echo "#define ManDirectoryRoot /usr/share/man" >> ${HOSTCONF}
+ echo "#define DocDir /usr/share/doc/${PF}" >> ${HOSTCONF}
+ echo "#define FontDir /usr/share/fonts" >> ${HOSTCONF}
# Make man4 and man7 stuff get 'x' suffix like everything else
# Necessary so we can install to /usr/share/man without overwriting
- echo "#define DriverManDir \$(MANSOURCEPATH)4" >> config/cf/host.def
+ echo "#define DriverManDir \$(MANSOURCEPATH)4" >> ${HOSTCONF}
echo "#define DriverManSuffix 4x /* use just one tab or cpp will die */" \
- >> config/cf/host.def
- echo "#define MiscManDir \$(MANSOURCEPATH)7" >> config/cf/host.def
+ >> ${HOSTCONF}
+ echo "#define MiscManDir \$(MANSOURCEPATH)7" >> ${HOSTCONF}
echo "#define MiscManSuffix 7x /* use just one tab or cpp will die */" \
- >> config/cf/host.def
+ >> ${HOSTCONF}
# Don't build xterm -- use external (#54051)
- echo "#define BuildXterm NO" >> config/cf/host.def
+ echo "#define BuildXterm NO" >> ${HOSTCONF}
# Xwrapper has been removed so we now need to use the set uid server
# again, this mustve happened somewhere after 4.3.0 in the development.
- echo "#define InstallXserverSetUID YES" >> config/cf/host.def
- echo "#define BuildServersOnly NO" >> config/cf/host.def
+ echo "#define InstallXserverSetUID YES" >> ${HOSTCONF}
+ echo "#define BuildServersOnly NO" >> ${HOSTCONF}
# Don't use /lib64 if $(get_libdir) != lib64
# Replaces 0181_all_4.3.0-amd64-nolib64.patch
if [ "$(get_libdir)" == "lib64" ] ; then
- echo "#define HaveLib64 YES" >> config/cf/host.def
+ echo "#define HaveLib64 YES" >> ${HOSTCONF}
else
- echo "#define HaveLib64 NO" >> config/cf/host.def
+ echo "#define HaveLib64 NO" >> ${HOSTCONF}
fi
# Set location of DRM source to be installed
- echo "#define InstSrcDir ${ROOT}/usr/src/${PF}" >> config/cf/host.def
+ echo "#define InstSrcDir ${ROOT}/usr/src/${PF}" >> ${HOSTCONF}
# Bug #12775 .. fails with -Os.
replace-flags "-Os" "-O2"
@@ -275,45 +280,59 @@ host_def_setup() {
[ ! `is_kernel "2" "2"` ] ) || \
[ "`uname -r | cut -d. -f1,2`" != "2.2" ]
then
- echo "#define HasLinuxInput YES" >> config/cf/host.def
+ echo "#define HasLinuxInput YES" >> ${HOSTCONF}
fi
- echo "#define CcCmd ${CC}" >> config/cf/host.def
- echo "#define OptimizedCDebugFlags ${CFLAGS} GccAliasingArgs" >> config/cf/host.def
- echo "#define OptimizedCplusplusDebugFlags ${CXXFLAGS} GccAliasingArgs" >> config/cf/host.def
+ echo "#define CcCmd ${CC}" >> ${HOSTCONF}
+ echo "#define OptimizedCDebugFlags ${CFLAGS} GccAliasingArgs" >> ${HOSTCONF}
+ echo "#define OptimizedCplusplusDebugFlags ${CXXFLAGS} GccAliasingArgs" >> ${HOSTCONF}
if use static
then
- echo "#define DoLoadableServer NO" >>config/cf/host.def
+ echo "#define DoLoadableServer NO" >>${HOSTCONF}
else
if use dlloader ; then
einfo "Setting DoLoadableServer/MakeDllModules to YES."
- echo "#define DoLoadableServer YES" >> config/cf/host.def
- echo "#define MakeDllModules YES" >> config/cf/host.def
+ echo "#define DoLoadableServer YES" >> ${HOSTCONF}
+ echo "#define MakeDllModules YES" >> ${HOSTCONF}
fi
+# use_build dlloader DoLoadableServer && \
+# einfo "Setting DoLoadable Server to YES."
+# use_build dlloader MakeDllModules && \
+# einfo "Setting MakeDllModules to YES."
+
fi
- if use debug
+# if use debug
+# then
+# echo "#define XFree86Devel YES" >> ${HOSTCONF}
+# else
+ use_build debug XFree86Devel
+ use_build debug BuildDebug
+ use_build debug DebuggableLibraries
+
+ if use !debug
then
- echo "#define XFree86Devel YES" >> config/cf/host.def
- else
- echo "#define ExtraXInputDrivers acecad" >> config/cf/host.def
+ echo "#define ExtraXInputDrivers acecad" >> ${HOSTCONF}
# use less ram .. got this from Spider's makeedit.eclass :)
echo "#define GccWarningOptions -Wno-return-type -w" \
- >> config/cf/host.def
+ >> ${HOSTCONF}
fi
# Remove circular dep between pam and X11, bug #35468
# If pam is in USE and we have X11, then we can enable PAM
- if use pam && [ "`best_version x11-base/xorg-x11`" ]
+# if use pam && [ "`best_version x11-base/xorg-x11`" ]
+ if [ "`best_version x11-base/xorg-x11`" ]
then
# If you want to have optional pam support, do it properly ...
- echo "#define HasPam YES" >> config/cf/host.def
- echo "#define HasPamMisc YES" >> config/cf/host.def
- else
- echo "#define HasPam NO" >> config/cf/host.def
- echo "#define HasPamMisc NO" >> config/cf/host.def
+# echo "#define HasPam YES" >> ${HOSTCONF}
+# echo "#define HasPamMisc YES" >> ${HOSTCONF}
+ use_build pam HasPam
+ use_build pam HasPamMisc
+# else
+# echo "#define HasPam NO" >> ${HOSTCONF}
+# echo "#define HasPamMisc NO" >> ${HOSTCONF}
fi
if use x86 || use alpha
@@ -321,79 +340,84 @@ host_def_setup() {
# build with glide3 support? (build the tdfx_dri.o module)
if use 3dfx
then
- echo "#define HasGlide3 YES" >> config/cf/host.def
+ echo "#define HasGlide3 YES" >> ${HOSTCONF}
fi
+# This won't work unless we can disable building the tdfx stuff
+# entirely :/
+# use_build 3dfx HasGlide3
fi
if use x86
then
# optimize Mesa for architecture
- if use mmx
- then
- echo "#define HasMMXSupport YES" >> config/cf/host.def
- echo "#define MesaUseMMX YES" >> config/cf/host.def
- else
- echo "#define HasMMXSupport NO" >> config/cf/host.def
- echo "#define MesaUseMMX NO" >> config/cf/host.def
- fi
-
- if use 3dnow
- then
- echo "#define Has3DNowSupport YES" >> config/cf/host.def
- echo "#define MesaUse3DNow YES" >> config/cf/host.def
- else
- echo "#define Has3DNowSupport NO" >> config/cf/host.def
- echo "#define MesaUse3DNow NO" >> config/cf/host.def
- fi
-
- if use sse
- then
- echo "#define HasKatmaiSupport YES" >> config/cf/host.def
- echo "#define MesaUseKatmai YES" >> config/cf/host.def
- echo "#define HasSSESupport YES" >> config/cf/host.def
- echo "#define MesaUseSSE YES" >> config/cf/host.def
- else
- echo "#define HasKatmaiSupport NO" >> config/cf/host.def
- echo "#define MesaUseKatmai NO" >> config/cf/host.def
- echo "#define HasSSESupport NO" >> config/cf/host.def
- echo "#define MesaUseSSE NO" >> config/cf/host.def
- fi
-
- # build with glide3 support? (build the tdfx_dri.o module)
- if use 3dfx
- then
- echo "#define HasGlide3 YES" >> config/cf/host.def
- fi
+# if use mmx
+# then
+# echo "#define HasMMXSupport YES" >> ${HOSTCONF}
+# echo "#define MesaUseMMX YES" >> ${HOSTCONF}
+# else
+# echo "#define HasMMXSupport NO" >> ${HOSTCONF}
+# echo "#define MesaUseMMX NO" >> ${HOSTCONF}
+# fi
+ use_build mmx HasMMXSupport
+ use_build mmx MesaUseMMX
+
+# if use 3dnow
+# then
+# echo "#define Has3DNowSupport YES" >> ${HOSTCONF}
+# echo "#define MesaUse3DNow YES" >> ${HOSTCONF}
+# else
+# echo "#define Has3DNowSupport NO" >> ${HOSTCONF}
+# echo "#define MesaUse3DNow NO" >> ${HOSTCONF}
+# fi
+ use_build 3dnow Has3DNowSupport
+ use_build 3dnow MesaUse3DNow
+
+# if use sse
+# then
+# echo "#define HasKatmaiSupport YES" >> ${HOSTCONF}
+# echo "#define MesaUseKatmai YES" >> ${HOSTCONF}
+# echo "#define HasSSESupport YES" >> ${HOSTCONF}
+# echo "#define MesaUseSSE YES" >> ${HOSTCONF}
+# else
+# echo "#define HasKatmaiSupport NO" >> ${HOSTCONF}
+# echo "#define MesaUseKatmai NO" >> ${HOSTCONF}
+# echo "#define HasSSESupport NO" >> ${HOSTCONF}
+# echo "#define MesaUseSSE NO" >> ${HOSTCONF}
+# fi
+ use_build sse HasKatmaiSupport
+ use_build sse MesaUseKatmai
+ use_build sse HasSSESupport
+ use_build sse MesaUseSSE
# Compile the VIA driver
- # echo "#define XF86ExtraCardDrivers via" >> config/cf/host.def
+ # echo "#define XF86ExtraCardDrivers via" >> ${HOSTCONF}
fi
if use hppa
then
- echo "#define DoLoadableServer NO" >> config/cf/host.def
+ echo "#define DoLoadableServer NO" >> ${HOSTCONF}
fi
if use alpha
then
echo "#define XF86CardDrivers mga nv tga s3virge sis rendition \
i740 tdfx cirrus tseng fbdev \
- ati vga v4l glint" >> config/cf/host.def
+ ati vga v4l glint" >> ${HOSTCONF}
fi
if use ppc
then
echo "#define XF86CardDrivers mga glint s3virge sis savage trident \
chips tdfx fbdev ati DevelDrivers vga nv imstt \
- XF86OSCardDrivers XF86ExtraCardDrivers" >> config/cf/host.def
+ XF86OSCardDrivers XF86ExtraCardDrivers" >> ${HOSTCONF}
fi
if use ppc64
then
- echo "#define MakeDllModules YES" >> config/cf/host.def
- echo "#define XF86VgaHw YES" >> config/cf/host.def
- echo "#define XF86FBDevHw YES" >> config/cf/host.def
- echo "#define XF86CardDrivers fbdev v4l ati vga nv" >> config/cf/host.def
+ echo "#define MakeDllModules YES" >> ${HOSTCONF}
+ echo "#define XF86VgaHw YES" >> ${HOSTCONF}
+ echo "#define XF86FBDevHw YES" >> ${HOSTCONF}
+ echo "#define XF86CardDrivers fbdev v4l ati vga nv" >> ${HOSTCONF}
fi
if use sparc
@@ -401,15 +425,15 @@ host_def_setup() {
echo "#define XF86CardDrivers sunffb sunleo suncg6 suncg3 suncg14 \
suntcx sunbw2 glint mga tdfx ati savage vesa vga fbdev \
XF86OSCardDrivers XF86ExtraCardDrivers \
- DevelDrivers" >> config/cf/host.def
+ DevelDrivers" >> ${HOSTCONF}
fi
# The definitions for fontconfig
- echo "#define UseFontconfig YES" >> config/cf/host.def
- echo "#define HasFontconfig YES" >> config/cf/host.def
+ echo "#define UseFontconfig YES" >> ${HOSTCONF}
+ echo "#define HasFontconfig YES" >> ${HOSTCONF}
# Use the xorg Xft2 lib
- echo "#define SharedLibXft YES" >> config/cf/host.def
+ echo "#define SharedLibXft YES" >> ${HOSTCONF}
# Set up docs building
if use doc
@@ -420,74 +444,87 @@ host_def_setup() {
fi
# with USE="X doc' circular dep w/ virtual/ghostscript
- # echo "#define HasGhostScript ${DOC}" >> config/cf/host.def
+ # echo "#define HasGhostScript ${DOC}" >> ${HOSTCONF}
# Caused issues, basic docs aren't installed
- #echo "#define BuildLinuxDocText ${DOC}" >> config/cf/host.def
- echo "#define BuildLinuxDocHtml ${DOC}" >> config/cf/host.def
- echo "#define BuildLinuxDocPS ${DOC}" >> config/cf/host.def
- echo "#define BuildSpecsDocs ${DOC}" >> config/cf/host.def
- echo "#define BuildHtmlManPages ${DOC}" >> config/cf/host.def
+ #echo "#define BuildLinuxDocText ${DOC}" >> ${HOSTCONF}
+# echo "#define BuildLinuxDocHtml ${DOC}" >> ${HOSTCONF}
+# echo "#define BuildLinuxDocPS ${DOC}" >> ${HOSTCONF}
+# echo "#define BuildSpecsDocs ${DOC}" >> ${HOSTCONF}
+# echo "#define BuildHtmlManPages ${DOC}" >> ${HOSTCONF}
+ use_build doc BuildLinuxDocText
+ use_build doc BuildLinuxDocPS
+ use_build doc BuildSpecsDocs
+ use_build doc BuildHtmlManPages
# enable Japanese docs, optionally
- if use cjk
- then
- echo "#define InstallJapaneseDocs ${DOC}" >> config/cf/host.def
- fi
+# if use cjk
+# then
+# echo "#define InstallJapaneseDocs ${DOC}" >> ${HOSTCONF}
+# fi
+ use doc && use_build cjk InstallJapaneseDocs
# Native Language Support Fonts
if use !nls
then
- echo "#define BuildCyrillicFonts NO" >> config/cf/host.def
- echo "#define BuildArabicFonts NO" >> config/cf/host.def
- echo "#define BuildGreekFonts NO" >> config/cf/host.def
- echo "#define BuildHebrewFonts NO" >> config/cf/host.def
- echo "#define BuildThaiFonts NO" >> config/cf/host.def
+ echo "#define BuildCyrillicFonts NO" >> ${HOSTCONF}
+ echo "#define BuildArabicFonts NO" >> ${HOSTCONF}
+ echo "#define BuildGreekFonts NO" >> ${HOSTCONF}
+ echo "#define BuildHebrewFonts NO" >> ${HOSTCONF}
+ echo "#define BuildThaiFonts NO" >> ${HOSTCONF}
if use !cjk
then
- echo "#define BuildCIDFonts NO" >> config/cf/host.def
- echo "#define BuildJapaneseFonts NO" >> config/cf/host.def
- echo "#define BuildKoreanFonts NO" >> config/cf/host.def
- echo "#define BuildChineseFonts NO" >> config/cf/host.def
+ echo "#define BuildCIDFonts NO" >> ${HOSTCONF}
+ echo "#define BuildJapaneseFonts NO" >> ${HOSTCONF}
+ echo "#define BuildKoreanFonts NO" >> ${HOSTCONF}
+ echo "#define BuildChineseFonts NO" >> ${HOSTCONF}
fi
fi
# Crappy bitmap fonts
- if use bitmap-fonts
- then
- echo "#define Build75DpiFonts YES" >> config/cf/host.def
- echo "#define Build100DpiFonts YES" >> config/cf/host.def
- else
- echo "#define Build75DpiFonts NO" >> config/cf/host.def
- echo "#define Build100DpiFonts NO" >> config/cf/host.def
- fi
-
- if use dmx
- then
- echo "#define BuildDmx YES" >> config/cf/host.def
- else
- echo "#define BuildDmx NO" >> config/cf/host.def
- fi
-
- if use insecure-drivers
- then
- echo "#define BuildDevelDRIDrivers YES" >> config/cf/host.def
- else
- echo "#define BuildDevelDRIDrivers NO" >> config/cf/host.def
- fi
+# if use bitmap-fonts
+# then
+# echo "#define Build75DpiFonts YES" >> ${HOSTCONF}
+# echo "#define Build100DpiFonts YES" >> ${HOSTCONF}
+# else
+# echo "#define Build75DpiFonts NO" >> ${HOSTCONF}
+# echo "#define Build100DpiFonts NO" >> ${HOSTCONF}
+# fi
+ use_build bitmap-fonts Build75DpiFonts
+ use_build bitmap-fonts Build100DpiFonts
+
+# if use dmx
+# then
+# echo "#define BuildDmx YES" >> ${HOSTCONF}
+# else
+# echo "#define BuildDmx NO" >> ${HOSTCONF}
+# fi
+ use_build dmx BuildDmx
+
+# if use insecure-drivers
+# then
+# echo "#define BuildDevelDRIDrivers YES" >> ${HOSTCONF}
+# else
+# echo "#define BuildDevelDRIDrivers NO" >> ${HOSTCONF}
+# fi
+ use_build insecure-drivers BuildDevelDRIDrivers
if use ipv6
then
- echo "#define BuildIPv6 YES" >> config/cf/host.def
+# echo "#define BuildIPv6 YES" >> ${HOSTCONF}
# In case Gentoo ever works on a system with IPv6 sockets that don't
# also listen on IPv4 (see config/cf/X11.tmpl)
- echo "#define PreferXdmcpIPv6 YES" >> config/cf/host.def
- else
- echo "#define BuildIPv6 NO" >> config/cf/host.def
+ echo "#define PreferXdmcpIPv6 YES" >> ${HOSTCONF}
+# else
+# echo "#define BuildIPv6 NO" >> ${HOSTCONF}
fi
+ use_build ipv6 BuildIPv6
# Ajax is the man for getting this going for us
- echo "#define ProPoliceSupport YES" >> config/cf/host.def
+ echo "#define ProPoliceSupport YES" >> ${HOSTCONF}
+
+ # Make xprint optional
+ use_build xprint BuildXprint
# End the host.def definitions here
eend 0
@@ -611,7 +648,12 @@ src_compile() {
unset MAKE_OPTS
einfo "Building xorg-x11..."
- FAST=1 emake World WORLDOPTS="" || die
+ if use debug
+ then
+ FAST=1 makeg World WORLDOPTS="" || die
+ else
+ FAST=1 emake World WORLDOPTS="" || die
+ fi
if use nls
then
@@ -1006,7 +1048,7 @@ src_install() {
doins ${WORKDIR}/cursors/gentoo-silver/cursors/*
# Remove xterm app-defaults, since we don't install xterm
- rm ${D}/etc/X11/app-defaults/{UXTerm,XTerm,XTerm-color}
+# rm ${D}/etc/X11/app-defaults/{UXTerm,XTerm,XTerm-color}
# For Battoussai's gatos stuffs:
if use sdk
@@ -1015,6 +1057,9 @@ src_install() {
doins ${S}/extras/drm/shared/drm.h
fi
+ # Remove the /etc/rc.d nonsense -- not everyone is RedHat
+ rm -rf ${D}/etc/rc.d
+
setup_config_files
}
@@ -1108,10 +1153,10 @@ font_setup() {
# These cause ttmkfdir to segfault :/
rm -f ${ROOT}/usr/share/fonts/encodings/iso8859-6.8x.enc.gz
rm -f ${ROOT}/usr/share/fonts/encodings/iso8859-6.16.enc.gz
- rm -f ${ROOT}/usr/share/fonts/encodings/large/cns11643-1.enc
- rm -f ${ROOT}/usr/share/fonts/encodings/large/cns11643-2.enc
- rm -f ${ROOT}/usr/share/fonts/encodings/large/cns11643-3.enc
- rm -f ${ROOT}/usr/share/fonts/encodings/suneu-greek.enc
+# rm -f ${ROOT}/usr/share/fonts/encodings/large/cns11643-1.enc
+# rm -f ${ROOT}/usr/share/fonts/encodings/large/cns11643-2.enc
+# rm -f ${ROOT}/usr/share/fonts/encodings/large/cns11643-3.enc
+# rm -f ${ROOT}/usr/share/fonts/encodings/suneu-greek.enc
# ********************************************************************
# A note about fonts and needed files: