summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <spyderous@gentoo.org>2004-03-19 16:57:12 +0000
committerDonnie Berkholz <spyderous@gentoo.org>2004-03-19 16:57:12 +0000
commita2a892da97e8da414ed5f5b0854be572c6bc22b0 (patch)
tree75cf249a3918c7efc7e35e530de643823361c0d9 /x11-base
parentRemoving PROVIDE=virtual/x11. This should be used for the libraries, not the ... (diff)
downloadgentoo-2-a2a892da97e8da414ed5f5b0854be572c6bc22b0.tar.gz
gentoo-2-a2a892da97e8da414ed5f5b0854be572c6bc22b0.tar.bz2
gentoo-2-a2a892da97e8da414ed5f5b0854be572c6bc22b0.zip
Pulling old revisions.
Diffstat (limited to 'x11-base')
-rw-r--r--x11-base/kdrive/ChangeLog6
-rw-r--r--x11-base/kdrive/files/digest-kdrive-4.3.0-r14
-rw-r--r--x11-base/kdrive/files/digest-kdrive-4.3.0-r44
-rw-r--r--x11-base/kdrive/kdrive-4.3.0-r1.ebuild267
-rw-r--r--x11-base/kdrive/kdrive-4.3.0-r4.ebuild312
-rw-r--r--x11-base/xdirectfb/ChangeLog6
-rw-r--r--x11-base/xdirectfb/files/digest-xdirectfb-1.0_rc59
-rw-r--r--x11-base/xdirectfb/xdirectfb-1.0_rc5.ebuild89
8 files changed, 10 insertions, 687 deletions
diff --git a/x11-base/kdrive/ChangeLog b/x11-base/kdrive/ChangeLog
index c997ef411baa..a71bd43c1f11 100644
--- a/x11-base/kdrive/ChangeLog
+++ b/x11-base/kdrive/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-base/kdrive
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/kdrive/ChangeLog,v 1.14 2004/03/19 16:52:00 spyderous Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/kdrive/ChangeLog,v 1.15 2004/03/19 16:54:52 spyderous Exp $
+
+ 19 Mar 2004; Donnie Berkholz <spyderous@gentoo.org>; kdrive-4.3.0-r1.ebuild,
+ kdrive-4.3.0-r4.ebuild:
+ Pulling old revisions.
*kdrive-4.3.0-r5 (19 Mar 2004)
diff --git a/x11-base/kdrive/files/digest-kdrive-4.3.0-r1 b/x11-base/kdrive/files/digest-kdrive-4.3.0-r1
deleted file mode 100644
index 64d30c787084..000000000000
--- a/x11-base/kdrive/files/digest-kdrive-4.3.0-r1
+++ /dev/null
@@ -1,4 +0,0 @@
-MD5 4f241a4f867363f40efa2b00dca292af X430src-1.tgz 10993622
-MD5 844c2ee908d21dbf8911fd13115bf8b4 X430src-2.tgz 7962239
-MD5 b82a0443e1b7bf860e4343e6b6766cb6 X430src-3.tgz 12366363
-MD5 a6287f603ee1cb53c35c145ebcf399f0 kdrive-4.3.0-gentoo-0.2.tar.bz2 10656
diff --git a/x11-base/kdrive/files/digest-kdrive-4.3.0-r4 b/x11-base/kdrive/files/digest-kdrive-4.3.0-r4
deleted file mode 100644
index c1b117997d86..000000000000
--- a/x11-base/kdrive/files/digest-kdrive-4.3.0-r4
+++ /dev/null
@@ -1,4 +0,0 @@
-MD5 4f241a4f867363f40efa2b00dca292af X430src-1.tgz 10993622
-MD5 844c2ee908d21dbf8911fd13115bf8b4 X430src-2.tgz 7962239
-MD5 b82a0443e1b7bf860e4343e6b6766cb6 X430src-3.tgz 12366363
-MD5 920712d0d45061d026304f013b52cda8 kdrive-4.3.0-gentoo-0.5.tar.bz2 11257
diff --git a/x11-base/kdrive/kdrive-4.3.0-r1.ebuild b/x11-base/kdrive/kdrive-4.3.0-r1.ebuild
deleted file mode 100644
index f6d87fde73a7..000000000000
--- a/x11-base/kdrive/kdrive-4.3.0-r1.ebuild
+++ /dev/null
@@ -1,267 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/kdrive/kdrive-4.3.0-r1.ebuild,v 1.3 2004/02/24 16:26:35 spyderous Exp $
-
-# If you don't want to build the Xvesa server, do this.
-# VESA="no" emerge kdrive
-
-# Make sure Portage does _NOT_ strip symbols. We will do it later and make sure
-# that only we only strip stuff that are safe to strip ...
-RESTRICT="nostrip"
-
-IUSE="ipv6 xinerama fbdev"
-
-# VIDEO_CARDS="savage trident sis530 trio ts300 mach64 i810 igs"
-
-filter-flags "-funroll-loops"
-
-ALLOWED_FLAGS="-fstack-protector -march -mcpu -O -O1 -O2 -O3 -pipe"
-
-# Recently there has been a lot of stability problem in Gentoo-land. Many
-# things can be the cause to this, but I believe that it is due to gcc3
-# still having issues with optimizations, or with it not filtering bad
-# combinations (protecting the user maybe from themselves) yet.
-#
-# This can clearly be seen in large builds like glibc, where too aggressive
-# CFLAGS cause the tests to fail miserbly.
-#
-# Quote from Nick Jones <carpaski@gentoo.org>, who in my opinion
-# knows what he is talking about:
-#
-# People really shouldn't force code-specific options on... It's a
-# bad idea. The -march options aren't just to look pretty. They enable
-# options that are sensible (and include sse,mmx,3dnow when apropriate).
-#
-# The next command strips CFLAGS and CXXFLAGS from nearly all flags. If
-# you do not like it, comment it, but do not bugreport if you run into
-# problems.
-#
-# <azarah@gentoo.org> (13 Oct 2002)
-strip-flags
-
-# Are we using a snapshot ?
-USE_SNAPSHOT="no"
-PATCHVER="0.2"
-
-PATCHDIR="${WORKDIR}/patch"
-BASE_PV="${PV}"
-MY_SV="${BASE_PV//\.}"
-S="${WORKDIR}/xc"
-SRC_PATH="mirror://xfree/${BASE_PV}/source"
-HOMEPAGE="http://www.xfree.org"
-
-SRC_URI="${SRC_PATH}/X${MY_SV}src-1.tgz
- ${SRC_PATH}/X${MY_SV}src-2.tgz
- ${SRC_PATH}/X${MY_SV}src-3.tgz
- mirror://gentoo/${P}-gentoo-${PATCHVER}.tar.bz2"
-
-LICENSE="X11"
-SLOT="0"
-KEYWORDS="x86"
-
-# Need portage for USE_EXPAND
-DEPEND=">=sys-apps/baselayout-1.8.3
- >=sys-libs/ncurses-5.1
- >=sys-libs/zlib-1.1.3-r2
- >=sys-devel/flex-2.5.4a-r5
- >=dev-libs/expat-1.95.3
- >=sys-apps/sed-4
- dev-lang/perl
- media-libs/libpng
- >=sys-apps/portage-2.0.49-r13"
-
-PROVIDE="virtual/x11"
-
-#inherit needs to happen *after* DEPEND has been defined to have "newdepend"
-#do the right thing. Otherwise RDEPEND doesn't get set properly.
-inherit eutils flag-o-matic gcc xfree
-
-DESCRIPTION="Xfree86: famous and free X server. Tiny version (KDrive)"
-
-vesa() {
- has "$1" "${VESA}"
-}
-
-src_unpack() {
-
- unpack ${A}
- # Update from Keith Packard's CVS repo, www.keithp.com
- epatch ${PATCHDIR}/kdrive-keithp-CVS-20030707.patch
- # XFree86 patch
- epatch ${PATCHDIR}/XFree86-4.2.99.1-kdrive-posix-sigaction.patch
-
- ebegin "Setting up config/cf/host.def"
-
- # See linux.cf for MMX, 3DNOW and SSE autodetection. (spyderous)
-
- cd ${S}
- touch config/cf/host.def
- echo "#define XVendorString \"Gentoo Linux (KDrive ${PV}, revision ${PR})\"
-#define KDriveXServer YES
-#define TinyXServer YES
-#define ProjectRoot /usr/X11R6
-#define BuildLBX YES
-#define BuildDBE YES
-#define KdriveServerExtraDefines -DPIXPRIV
-#define BuildRandR YES
-#define BuildXInputLib YES
-#define BuildXTrueType NO
-#define BuildScreenSaverExt YES
-#define BuildScreenSaverLibrary YES
-#define SharedLibXss YES
-#define ServerXdmcpDefines -DXDMCP
-#define BuildFonts NO" >>config/cf/host.def
-
- # As far as I know, you can't use Xwrapper for multiple X servers,
- # so we have to suid Xfbdev and Xvesa. mharris (redhat) also does
- # this.
- echo "#define InstallXserverSetUID YES" >> config/cf/host.def
- echo "#define BuildServersOnly YES" >> config/cf/host.def
-
- # Bug #12775 .. fails with -Os.
- replace-flags "-Os" "-O2"
-
- if [ "`gcc-version`" != "2.95" ] ; then
- # Should fix bug #4189. gcc-3.x have problems with -march=pentium4
- # and -march=athlon-tbird
- replace-flags "-march=pentium4" "-march=pentium3"
- replace-flags "-march=athlon-tbird" "-march=athlon"
-
- # Without this, modules breaks with gcc3
- if [ "`gcc-version`" = "3.1" ] ; then
- append-flags "-fno-merge-constants"
- append-flags "-fno-merge-constants"
- fi
- fi
-
- if ( [ -e "/usr/src/linux" ] && \
- [ ! `is_kernel "2" "2"` ] ) || \
- [ "`uname -r | cut -d. -f1,2`" != "2.2" ]
- then
- echo "#define HasLinuxInput YES" >> config/cf/host.def
- fi
-
- echo "#define OptimizedCDebugFlags ${CFLAGS}" >> config/cf/host.def
- echo "#define OptimizedCplusplusDebugFlags ${CXXFLAGS}" >> config/cf/host.def
-
- if use debug ; then
- echo "#define XFree86Devel YES" >> config/cf/host.def
- echo "#define DoLoadableServer NO" >>config/cf/host.def
- else
- # use less ram .. got this from Spider's makeedit.eclass :)
- echo "#define GccWarningOptions -Wno-return-type -w" \
- >> config/cf/host.def
- fi
-
- # Xvesa isn't available on non-x86, non-gcc platforms.
- # See http://lists.debian.org/debian-x/2000/debian-x-200012/msg00029.html
-
- if vesa no || [ "${ARCH}" != "x86" ] ; then
- echo "#define XvesaServer NO" >> config/cf/host.def
- else
- echo "#define XvesaServer YES" >> config/cf/host.def
- fi
-
- use fbdev && \
- echo "#define XfbdevServer YES" >> config/cf/host.def || \
- echo "#define XfbdevServer NO" >> config/cf/host.def
-
- use ipv6 && \
- echo "#define HasIPv6 YES" >> config/cf/host.def
-
- if use xinerama
- then
- echo "#define BuildXinerama YES" >> config/cf/host.def
- # Don't know if this is necessary. Probably.
- echo "#define BuildXineramaLibrary YES" >> config/cf/host.def
- fi
-
- # By default, this will build a server with no support for scalable
- # fonts (but support for built-in ``fixed'' and ``cursor'' fonts, and
- # normal support for bitmap fonts and font-server provided fonts).
-
-local KDRIVE_XF_SERVERS="Savage Trident Sis530 Trio TS300 Igs i810 mach64"
-for i in ${KDRIVE_XF_SERVERS} ;
- do
-# I wish it worked like this. (spyderous)
-# if use video_cards_${i/[A-Z]/[a-z]} ; then
- if use `echo video_cards_${i} | tr [:upper:] [:lower:]` ; then
- echo "#define X${i}Server YES" >> config/cf/host.def
- fi
-done
-
- eend 0
-}
-
-src_compile() {
-
- # Set MAKEOPTS to have proper -j? option ..
- get_number_of_jobs
-
- # If a user defines the MAKE_OPTS variable in /etc/make.conf instead of
- # MAKEOPTS, they'll redefine an internal XFree86 Makefile variable and the
- # xfree build will silently die. This is tricky to track down, so I'm
- # adding a preemptive fix for this issue by making sure that MAKE_OPTS is
- # unset. (drobbins, 08 Mar 2003)
- unset MAKE_OPTS
-
- einfo "Building XFree86..."
- emake World WORLDOPTS="" || die
-
-# Build all man pages because I can't just build one. (spyderous)
- ebegin "Making and installing man pages..."
- local M=${WORKDIR}/man
- mkdir ${M}
- make install.man DESTDIR=${M} || die
- eend 0
-
-}
-
-src_install() {
-
- exeinto /usr/X11R6/bin
-
- if [ -z "`vesa no`" ] ; then
- doexe programs/Xserver/Xvesa
- fperms 4711 /usr/X11R6/bin/Xvesa
- fi
-
- if use fbdev ; then
- doexe programs/Xserver/Xfbdev
- fperms 4711 /usr/X11R6/bin/Xfbdev
- fi
-
-local KDRIVE_SERVERS="savage trident sis530 trio ts300 igs i810 mach64"
-for i in ${KDRIVE_SERVERS} ;
- do
- if use video_cards_${i} ; then
- doexe programs/Xserver/X${i}
- fperms 4711 /usr/X11R6/bin/X${i}
- fi
- done
-
- # Install our startx script
- doexe ${PATCHDIR}/startxkd
-
- # Install man pages
- local M=${WORKDIR}/man
-
- use fbdev && \
- doman -x11 ${M}/usr/X11R6/man/man1/Xfbdev.1x
-
- [ -z "`vesa no`" ] && \
- doman -x11 ${M}/usr/X11R6/man/man1/Xvesa.1x
-
- doman -x11 ${M}/usr/X11R6/man/man1/Xkdrive.1x
-
-}
-
-pkg_postinst() {
-
- einfo "You may edit /usr/X11R6/bin/startxkd to your preferences."
- einfo "Xvesa is the default."
- einfo "Or you can use something like:"
- einfo "\"xinit -- /usr/X11R6/bin/Xvesa :0 -screen 1280x1024x16 -nolisten tcp\"."
- einfo "Your ~/.xinitrc will be used if you use xinit."
-
-}
diff --git a/x11-base/kdrive/kdrive-4.3.0-r4.ebuild b/x11-base/kdrive/kdrive-4.3.0-r4.ebuild
deleted file mode 100644
index 8e9bd4d68479..000000000000
--- a/x11-base/kdrive/kdrive-4.3.0-r4.ebuild
+++ /dev/null
@@ -1,312 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/kdrive/kdrive-4.3.0-r4.ebuild,v 1.2 2004/02/23 16:25:40 brad_mssw Exp $
-
-# If you don't want to build the Xvesa server, do this.
-# VESA="no" emerge kdrive
-
-# By default, this will build a server with no support for scalable
-# fonts (but support for built-in ``fixed'' and ``cursor'' fonts, and
-# normal support for bitmap fonts and font-server provided fonts).
-
-IUSE="ipv6 xinerama fbdev speedo type1 cjk truetype freetype fs xv"
-
-# VIDEO_CARDS="savage trident sis530 trio ts300 mach64 i810 igs"
-
-filter-flags "-funroll-loops"
-
-ALLOWED_FLAGS="-fstack-protector -march -mcpu -O -O1 -Os -O2 -O3 -pipe -fomit-frame-pointer"
-
-# Recently there has been a lot of stability problem in Gentoo-land. Many
-# things can be the cause to this, but I believe that it is due to gcc3
-# still having issues with optimizations, or with it not filtering bad
-# combinations (protecting the user maybe from themselves) yet.
-#
-# This can clearly be seen in large builds like glibc, where too aggressive
-# CFLAGS cause the tests to fail miserbly.
-#
-# Quote from Nick Jones <carpaski@gentoo.org>, who in my opinion
-# knows what he is talking about:
-#
-# People really shouldn't force code-specific options on... It's a
-# bad idea. The -march options aren't just to look pretty. They enable
-# options that are sensible (and include sse,mmx,3dnow when apropriate).
-#
-# The next command strips CFLAGS and CXXFLAGS from nearly all flags. If
-# you do not like it, comment it, but do not bugreport if you run into
-# problems.
-#
-# <azarah@gentoo.org> (13 Oct 2002)
-strip-flags
-
-# Are we using a snapshot ?
-USE_SNAPSHOT="no"
-PATCHVER="0.5"
-MANDIR=${WORKDIR}/man
-PATCH_DIR="${WORKDIR}/patch"
-BASE_PV="${PV}"
-MY_SV="${BASE_PV//\.}"
-S="${WORKDIR}/xc"
-SRC_PATH="mirror://xfree/${BASE_PV}/source"
-DESCRIPTION="Xfree86: famous and free X server. Tiny version (KDrive)"
-HOMEPAGE="http://www.xfree.org"
-SRC_URI="${SRC_PATH}/X${MY_SV}src-1.tgz
- ${SRC_PATH}/X${MY_SV}src-2.tgz
- ${SRC_PATH}/X${MY_SV}src-3.tgz
- mirror://gentoo/${P}-gentoo-${PATCHVER}.tar.bz2"
-LICENSE="X11"
-SLOT="0"
-KEYWORDS="~x86 amd64"
-# Need portage for USE_EXPAND
-DEPEND=">=sys-apps/baselayout-1.8.3
- >=sys-libs/ncurses-5.1
- >=sys-libs/zlib-1.1.3-r2
- >=sys-devel/flex-2.5.4a-r5
- >=dev-libs/expat-1.95.3
- >=sys-apps/sed-4
- dev-lang/perl
- media-libs/libpng
- >=sys-apps/portage-2.0.49-r13"
-PROVIDE="virtual/x11"
-
-#inherit needs to happen *after* DEPEND has been defined to have "newdepend"
-#do the right thing. Otherwise RDEPEND doesn't get set properly.
-inherit eutils flag-o-matic gcc xfree
-
-src_unpack() {
- unpack ${A}
-
- ebegin "Setting up config/cf/host.def"
-
- # See linux.cf for MMX, 3DNOW and SSE autodetection. (spyderous)
-
- cd ${S}
- touch config/cf/host.def
- echo "#define XVendorString \"Gentoo Linux (KDrive ${PV}, revision ${PR})\"
-#define KDriveXServer YES
-#define TinyXServer YES
-#define BuildLBX NO
-#define BuildDBE YES
-#define KdriveServerExtraDefines -DPIXPRIV
-#define BuildRandR YES
-#define BuildXInputLib YES
-#define BuildXTrueType NO
-#define ServerXdmcpDefines -DXDMCP
-#define BuildFonts NO" >>config/cf/host.def
-
- # We dont really want to spend twice as long compiling libraries
- # if they exist of the system allready, so we check and change
- # respectively here.
- if [ "`best_version x11-base/xfree`" ] ; then
- echo "#define BuildScreenSaverExt NO" >> config/cf/host.def
- echo "#define BuildScreenSaverLibrary NO" >> config/cf/host.def
- echo "#define SharedLibXss NO" >> config/cf/host.def
- echo "#define BuildXextLib NO" >> config/cf/host.def
- echo "#define BuildX11Lib NO" >> config/cf/host.def
- echo "#define ProjectRoot /usr/X11R6" >> config/cf/host.def
- # If the libs exist locally we do not need to build against
- # kdrives personal libraries, dont patch to do this.
- mv ${PATCH_DIR}/0020* ${PATCH_DIR}/excluded
- else
- echo "#define BuildScreenSaverExt YES" >> config/cf/host.def
- echo "#define BuildScreenSaverLibrary YES" >> config/cf/host.def
- echo "#define SharedLibXss YES" >> config/cf/host.def
- echo "#define BuildXextLib YES" >> config/cf/host.def
- echo "#define BuildX11Lib YES" >> config/cf/host.def
- echo "#define ProjectRoot ${S}/usr/X11R6" >> config/cf/host.def
- fi
-
- # As far as I know, you can't use Xwrapper for multiple X servers,
- # so we have to suid Xfbdev and Xvesa. mharris (redhat) also does
- # this.
- echo "#define InstallXserverSetUID YES" >> config/cf/host.def
- echo "#define BuildServersOnly YES" >> config/cf/host.def
-
- if [ "`gcc-version`" != "2.95" ] ; then
- # Should fix bug #4189. gcc-3.x have problems with -march=pentium4
- # and -march=athlon-tbird
- replace-flags "-march=pentium4" "-march=pentium3"
- replace-flags "-march=athlon-tbird" "-march=athlon"
-
- # Without this, modules breaks with gcc3
- if [ "`gcc-version`" = "3.1" ] ; then
- append-flags "-fno-merge-constants"
- append-flags "-fno-merge-constants"
- fi
- fi
-
- # Safe if /usr/src/linux doesn't exist
- if ( [ -e "/usr/src/linux" ] && \
- [ ! `is_kernel "2" "2"` ] ) || \
- [ "`uname -r | cut -d. -f1,2`" != "2.2" ]
- then
- echo "#define HasLinuxInput YES" >> config/cf/host.def
- fi
-
- echo "#define OptimizedCDebugFlags ${CFLAGS}" >> config/cf/host.def
- echo "#define OptimizedCplusplusDebugFlags ${CXXFLAGS}" >> config/cf/host.def
-
- if use debug ; then
- echo "#define XFree86Devel YES" >> config/cf/host.def
- echo "#define DoLoadableServer NO" >>config/cf/host.def
- else
- # use less ram .. got this from Spider's makeedit.eclass :)
- echo "#define GccWarningOptions -Wno-return-type -w" \
- >> config/cf/host.def
- fi
-
- # Xvesa isn't available on non-x86, non-gcc platforms.
- # See http://lists.debian.org/debian-x/2000/debian-x-200012/msg00029.html
- if vesa no || [ "${ARCH}" != "x86" ] ; then
- echo "#define XvesaServer NO" >> config/cf/host.def
- else
- echo "#define XvesaServer YES" >> config/cf/host.def
- fi
-
- use fbdev && \
- echo "#define XfbdevServer YES" >> config/cf/host.def || \
- echo "#define XfbdevServer NO" >> config/cf/host.def
-
- use ipv6 && \
- echo "#define HasIPv6 YES" >> config/cf/host.def
-
- use xinerama && \
- echo "#define BuildXinerama YES" >> config/cf/host.def
-
- local KDRIVE_XF_SERVERS="Savage Trident Sis530 Trio TS300 Igs i810 mach64"
- for i in ${KDRIVE_XF_SERVERS} ; do
- # I wish it worked like this. (spyderous)
- # if use video_cards_${i/[A-Z]/[a-z]} ; then
- if use `echo video_cards_${i} | tr [:upper:] [:lower:]` ; then
- echo "#define X${i}Server YES" >> config/cf/host.def
- fi
- done
-
- # Set up font support
- use speedo && echo "#define BuildSpeedo YES" >> config/cf/host.def
- use type1 && echo "#define BuildType1 YES" >> config/cf/host.def
- use cjk && echo "#define BuildCID YES" >> config/cf/host.def
- use truetype && echo "#define BuildXTrueType YES" >> config/cf/host.def
- use freetype && echo "#define BuildFreeType YES" >> config/cf/host.def
- use fs && echo "#define FontServerAccess YES" >> config/cf/host.def
-
- # Video
- use xv && echo "#define BuildXvExt YES" >> config/cf/host.def
-
- eend 0
-
- # Bulk patching from all over
- cd ${WORKDIR}
- EPATCH_SUFFIX="patch" epatch ${PATCH_DIR}
-
- # We need to modify xmakefile after it has been created
- if [ ! "`best_version x11-base/xfree`" ] ; then
- ebegin "Creating fake X includes..."
- MY_PROJROOT="${S}/usr/X11R6/include/"
- MY_INCROOT="${S}/include"
- MY_LIBROOT="${S}/lib"
- MY_HERE="./"
-
- mkdir -p ${MY_PROJROOT}
- cd ${MY_INCROOT}
- for i in `ls ${MY_HERE}` ; do
- ln -sf ${MY_INCROOT}/${i} ${MY_PROJROOT}
- done
-
- cd ${MY_LIBROOT}
- for i in `ls ${MY_HERE}` ; do
- ln -sf ${MY_LIBROOT}/${i} ${MY_PROJROOT}
- done
-
- cd ${MY_PROJROOT} && rm -f Imakefile Makefile
- ln -sf ${MY_PROJROOT}/extensions ${MY_PROJROOT}/X11/extensions
- ln -sf ${S}/lib ${S}/usr/X11R6/lib
- eend 0
- fi
-
-}
-
-src_compile() {
-
- # Set MAKEOPTS to have proper -j? option ..
- get_number_of_jobs
-
- # If a user defines the MAKE_OPTS variable in /etc/make.conf instead of
- # MAKEOPTS, they'll redefine an internal XFree86 Makefile variable and the
- # xfree build will silently die. This is tricky to track down, so I'm
- # adding a preemptive fix for this issue by making sure that MAKE_OPTS is
- # unset. (drobbins, 08 Mar 2003)
- unset MAKE_OPTS
-
- einfo "Building KDrive..."
- emake World WORLDOPTS="" || die
-
- # This is dirty, we know, but there is no need to build man pages
- # for a whole pile of nothing. As such we are just going to copy
- # across the three needed man pages.
- einfo "Making and installing man pages..."
- mkdir -p ${MANDIR}
- MY_MAN_BASE="${S}/programs/Xserver/hw/kdrive"
-
- if ! use fbdev ; then
- # We need to regenerate some makefiles for fbdev
- echo "#define XfbdevServer YES" >> config/cf/host.def
- cd ${S}/programs && make Makefiles > /dev/null || die "Xfbdev Makefile regeneration error..."
- fi
-
- # We have a complete set of makefiles so lets just build what we need
- cd ${MY_MAN_BASE}
- emake DESTDIR=${MANDIR} install.man || die "Kdrive man page install..."
- emake DESTDIR=${MANDIR} -C vesa install.man || die "Xvesa man page install..."
- emake DESTDIR=${MANDIR} -C fbdev install.man || die "Xfbdev man page install..."
-
-}
-
-src_install() {
-
- exeinto /usr/X11R6/bin
-
- # Install Xvesa
- if [ -z "`vesa no`" ] ; then
- doexe programs/Xserver/Xvesa
- fperms 4711 /usr/X11R6/bin/Xvesa
- fi
-
- # Install Xfbdev
- if use fbdev ; then
- doexe programs/Xserver/Xfbdev
- fperms 4711 /usr/X11R6/bin/Xfbdev
- fi
-
- # Install the other servers
- local KDRIVE_SERVERS="savage trident sis530 trio ts300 igs i810 mach64"
- for i in ${KDRIVE_SERVERS} ; do
- if use video_cards_${i} ; then
- doexe programs/Xserver/X${i}
- fperms 4711 /usr/X11R6/bin/X${i}
- fi
- done
-
- # Install our startx script
- doexe ${PATCH_DIR}/startxkd
-
- # Install man pages
- if [ "`best_version x11-base/xfree`" ] ; then
- doman -x11 ${MANDIR}/usr/X11R6/man/man1/X{kdrive,vesa,fbdev}.1x
- else
- doman -x11 ${MANDIR}/${S}/usr/X11R6/man/man1/X{kdrive,vesa,fbdev}.1x
- fi
-}
-
-pkg_postinst() {
- einfo "You may edit /usr/X11R6/bin/startxkd to your preferences."
- einfo "Xvesa is the default."
- einfo "Or you can use something like:"
- einfo "\"xinit -- /usr/X11R6/bin/Xvesa :0 -screen 1280x1024x16 -nolisten tcp\"."
- einfo "Your ~/.xinitrc will be used if you use xinit."
-}
-
-# For allowing Xvesa build to be disabled
-vesa() {
- has "$1" "${VESA}"
-}
diff --git a/x11-base/xdirectfb/ChangeLog b/x11-base/xdirectfb/ChangeLog
index cb8095d9a815..23cdd9260c50 100644
--- a/x11-base/xdirectfb/ChangeLog
+++ b/x11-base/xdirectfb/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-base/xdirectfb
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/xdirectfb/ChangeLog,v 1.18 2004/03/19 16:47:49 spyderous Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xdirectfb/ChangeLog,v 1.19 2004/03/19 16:57:12 spyderous Exp $
+
+ 19 Mar 2004; Donnie Berkholz <spyderous@gentoo.org>;
+ xdirectfb-1.0_rc5.ebuild:
+ Pulling old revisions.
*xdirectfb-1.0_rc5-r1 (19 Mar 2004)
diff --git a/x11-base/xdirectfb/files/digest-xdirectfb-1.0_rc5 b/x11-base/xdirectfb/files/digest-xdirectfb-1.0_rc5
deleted file mode 100644
index bc2ebb4a6a3f..000000000000
--- a/x11-base/xdirectfb/files/digest-xdirectfb-1.0_rc5
+++ /dev/null
@@ -1,9 +0,0 @@
-MD5 4f241a4f867363f40efa2b00dca292af X430src-1.tgz 10993622
-MD5 844c2ee908d21dbf8911fd13115bf8b4 X430src-2.tgz 7962239
-MD5 b82a0443e1b7bf860e4343e6b6766cb6 X430src-3.tgz 12366363
-MD5 567903747018f2534965ab6cb3976b38 X430src-4.tgz 12906091
-MD5 4dbdbe9a85c8f7f98dd0ee015a3c7b4f X430src-5.tgz 4388018
-MD5 163d9864e1353a4a9f992cb3843c240f X430src-6.tgz 8074919
-MD5 e002e70f24098ca4f62fabd1c2809ed1 X430src-7.tgz 9317241
-MD5 a70e4d28c241374868a099127c668949 truetype.tar.gz 1524606
-MD5 fa7b791d117ab891080eedc71f923884 XDirectFB-1.0-rc5.tar.gz 96105
diff --git a/x11-base/xdirectfb/xdirectfb-1.0_rc5.ebuild b/x11-base/xdirectfb/xdirectfb-1.0_rc5.ebuild
deleted file mode 100644
index f23deb9a0d06..000000000000
--- a/x11-base/xdirectfb/xdirectfb-1.0_rc5.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/xdirectfb/xdirectfb-1.0_rc5.ebuild,v 1.6 2004/03/17 18:55:15 spyderous Exp $
-
-inherit eutils
-
-MY_PN="XDirectFB"
-MY_PV=${PV/_/-}
-MY_P=${MY_PN}-${MY_PV}
-MY_V=X430src
-S=${WORKDIR}/xc
-X=${WORKDIR}/${MY_P}
-
-DESCRIPTION="XDirectFB is a rootless XServer on top of DirectFB"
-SRC_URI="mirror://gentoo/${MY_V}-1.tgz
- mirror://gentoo/${MY_V}-2.tgz
- mirror://gentoo/${MY_V}-3.tgz
- mirror://gentoo/truetype.tar.gz
- http://www.directfb.org/download/${MY_PN}/${MY_P}.tar.gz"
-HOMEPAGE="http://www.directfb.org"
-
-SLOT="0"
-LICENSE="X11"
-KEYWORDS="x86 -sparc ~alpha"
-
-PROVIDE="virtual/x11"
-
-DEPEND=">=sys-libs/ncurses-5.1
- >=sys-libs/zlib-1.1.3-r2
- sys-devel/flex
- dev-lang/perl
- >=dev-libs/DirectFB-0.9.17"
-
-src_unpack () {
- unpack ${A}
-
- cd ${X}
- cp xc-directfb.diff ${S}
- cp -a programs/Xserver/hw/directfb ${S}/programs/Xserver/hw
- cp ${X}/config/cf/* ${S}/config/cf
- cp ${FILESDIR}/host.def ${S}/config/cf/
-
- cd ${S}
- epatch ./xc-directfb.diff
-
- cd ${S}/programs/Xserver/hw/directfb
- cp directfbScreen.c rootlessDirectFB.c ${T}
-
-
- # update changes in the newer DirectFB versions
- sed "s:DSPF_RGB15:DSPF_ARGB1555:g" \
- ${T}/directfbScreen.c > directfbScreen.c
-
- sed "s:DSPF_RGB15:DSPF_ARGB1555:g" \
- ${T}/rootlessDirectFB.c > rootlessDirectFB.c
-
-}
-
-src_compile() {
- emake World || die
-}
-
-src_install() {
-# make install DESTDIR=${D}
-
- exeinto /usr/X11R6/bin
- doexe ${S}/programs/Xserver/XDirectFB
- doexe ${FILESDIR}/startxdfb
-
- mv ${S}/programs/Xserver/hw/directfb/XDirectFB._man ./XDirectFB.1x
- insinto /usr/X11R6/man/man1
- doins ${S}/XDirectFB.1x
- dodir /etc/skel
- dodir /etc/X11/xinit
- cp ${FILESDIR}/.dfbserverrc ${D}/etc/skel
- cp ${FILESDIR}/dfbserverrc ${D}/etc/X11/xinit
-
- dohtml ${S}/programs/Xserver/hw/directfb/XDirectFB.1x.html
-
- cd ${X}
- dodoc AUTHORS ChangeLog README TODO
-}
-
-pkg_postinst() {
- chmod 4711 /usr/X11R6/bin/XDirectFB
- chmod 755 /usr/X11R6/bin/startxdfb
-
- einfo "To start XDirectFB use the startxdfb utility."
-}