summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Veber <coronalvr@gentoo.org>2003-07-29 06:56:07 +0000
committerAlex Veber <coronalvr@gentoo.org>2003-07-29 06:56:07 +0000
commit5fc3a7e9300e5c385db07d4b60486f624a16cb22 (patch)
treeca956081f660b02b7563d0966cbf3fb12800a2d5 /app-emulation/winex-cvs
parentbye bye winex-cvs (diff)
downloadgentoo-2-5fc3a7e9300e5c385db07d4b60486f624a16cb22.tar.gz
gentoo-2-5fc3a7e9300e5c385db07d4b60486f624a16cb22.tar.bz2
gentoo-2-5fc3a7e9300e5c385db07d4b60486f624a16cb22.zip
bye bye winex-cvs
Diffstat (limited to 'app-emulation/winex-cvs')
-rw-r--r--app-emulation/winex-cvs/ChangeLog10
-rw-r--r--app-emulation/winex-cvs/Manifest12
-rw-r--r--app-emulation/winex-cvs/files/digest-winex-cvs-3.00
-rw-r--r--app-emulation/winex-cvs/files/digest-winex-cvs-3.10
-rw-r--r--app-emulation/winex-cvs/files/digest-winex-cvs-3000 (renamed from app-emulation/winex-cvs/files/digest-winex-cvs-2.2.1)0
-rw-r--r--app-emulation/winex-cvs/files/winex-cvs-3.0_pre1.patch15
-rw-r--r--app-emulation/winex-cvs/files/winex-cvs-fake_windows.tar.bz2bin546 -> 0 bytes
-rw-r--r--app-emulation/winex-cvs/files/winex-cvs-regedit23
-rw-r--r--app-emulation/winex-cvs/files/winex-cvs-winex48
-rw-r--r--app-emulation/winex-cvs/winex-cvs-2.2.1.ebuild132
-rw-r--r--app-emulation/winex-cvs/winex-cvs-3.0.ebuild144
-rw-r--r--app-emulation/winex-cvs/winex-cvs-3.1.ebuild157
-rw-r--r--app-emulation/winex-cvs/winex-cvs-3000.ebuild29
13 files changed, 39 insertions, 531 deletions
diff --git a/app-emulation/winex-cvs/ChangeLog b/app-emulation/winex-cvs/ChangeLog
index e7e601a7f752..96f19d6efe9d 100644
--- a/app-emulation/winex-cvs/ChangeLog
+++ b/app-emulation/winex-cvs/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for app-emulation/winex-cvs
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/winex-cvs/ChangeLog,v 1.17 2003/07/17 14:58:24 coronalvr Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/winex-cvs/ChangeLog,v 1.18 2003/07/29 06:55:55 coronalvr Exp $
+
+*winex-cvs-3000 (29 Jul 2003)
+
+ 29 Jul 2003; Alex Veber <coronalvr@gentoo.org> winex-cvs-2.2.1.ebuild,
+ winex-cvs-3.0.ebuild, winex-cvs-3.1.ebuild, winex-cvs-3000.ebuild,
+ files/winex-cvs-3.0_pre1.patch, files/winex-cvs-fake_windows.tar.bz2,
+ files/winex-cvs-regedit, files/winex-cvs-winex:
+ bye bye winex-cvs, only a fake version is left.
17 Jul 2003; Alex Veber <coronalvr@gentoo.org> winex-cvs-2.2.1.ebuild,
winex-cvs-3.0.ebuild, winex-cvs-3.1.ebuild:
diff --git a/app-emulation/winex-cvs/Manifest b/app-emulation/winex-cvs/Manifest
index aebeead335f2..ee6414e037df 100644
--- a/app-emulation/winex-cvs/Manifest
+++ b/app-emulation/winex-cvs/Manifest
@@ -1,14 +1,4 @@
-MD5 5c4e6b19dd5e1d5c6d10ed46b57013c0 winex-cvs-3.1.ebuild 4659
-MD5 e3ecd445dadfed5d71f9005bffedba8e winex-cvs-2.2.1.ebuild 4041
-MD5 7a589626fb645ad8dad95fea45eaef13 winex-cvs-3.0.ebuild 4304
-MD5 2011ec1dc7308963ac580e1eb581b08f ChangeLog 5137
+MD5 1e8e3bf7d0d4c37408ac88336d55cf81 ChangeLog 5483
MD5 dcb9258e27d68d5d8cd25b24178e8147 winex-cvs-3000.ebuild 1233
MD5 6e817c3f6b82338028366853fddccf5f metadata.xml 157
MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-winex-cvs-3000 0
-MD5 dcdbcea3b1e30203a037de864aee829d files/winex-cvs-fake_windows.tar.bz2 546
-MD5 6b63a4e1f7384c6dbb53e53f09198665 files/winex-cvs-regedit 516
-MD5 a0f00bd1db2d0bc928d3845f4aac078a files/winex-cvs-winex 1244
-MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-winex-cvs-3.0 0
-MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-winex-cvs-3.1 0
-MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-winex-cvs-2.2.1 0
-MD5 190b622ae744fb68561764ce1b2d9f1d files/winex-cvs-3.0_pre1.patch 287
diff --git a/app-emulation/winex-cvs/files/digest-winex-cvs-3.0 b/app-emulation/winex-cvs/files/digest-winex-cvs-3.0
deleted file mode 100644
index e69de29bb2d1..000000000000
--- a/app-emulation/winex-cvs/files/digest-winex-cvs-3.0
+++ /dev/null
diff --git a/app-emulation/winex-cvs/files/digest-winex-cvs-3.1 b/app-emulation/winex-cvs/files/digest-winex-cvs-3.1
deleted file mode 100644
index e69de29bb2d1..000000000000
--- a/app-emulation/winex-cvs/files/digest-winex-cvs-3.1
+++ /dev/null
diff --git a/app-emulation/winex-cvs/files/digest-winex-cvs-2.2.1 b/app-emulation/winex-cvs/files/digest-winex-cvs-3000
index e69de29bb2d1..e69de29bb2d1 100644
--- a/app-emulation/winex-cvs/files/digest-winex-cvs-2.2.1
+++ b/app-emulation/winex-cvs/files/digest-winex-cvs-3000
diff --git a/app-emulation/winex-cvs/files/winex-cvs-3.0_pre1.patch b/app-emulation/winex-cvs/files/winex-cvs-3.0_pre1.patch
deleted file mode 100644
index 1a5170e5159a..000000000000
--- a/app-emulation/winex-cvs/files/winex-cvs-3.0_pre1.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- programs/Makefile.in.orig 2003-03-23 19:41:16.000000000 +0100
-+++ programs/Makefile.in 2003-03-23 19:41:24.000000000 +0100
-@@ -17,12 +17,10 @@
- regtest \
- uninstaller \
- view \
-- wcmd \
- wineconsole \
- winedbg \
- winemine \
- winetest \
-- winhelp \
- winver
-
- all: $(SUBDIRS)
diff --git a/app-emulation/winex-cvs/files/winex-cvs-fake_windows.tar.bz2 b/app-emulation/winex-cvs/files/winex-cvs-fake_windows.tar.bz2
deleted file mode 100644
index 1f8294cfc19c..000000000000
--- a/app-emulation/winex-cvs/files/winex-cvs-fake_windows.tar.bz2
+++ /dev/null
Binary files differ
diff --git a/app-emulation/winex-cvs/files/winex-cvs-regedit b/app-emulation/winex-cvs/files/winex-cvs-regedit
deleted file mode 100644
index 38986bfada06..000000000000
--- a/app-emulation/winex-cvs/files/winex-cvs-regedit
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/bash
-# The wineX regapi wrapper
-
-# Kindly distributed by Martin Schlemmer
-# Modified by phoen][x
-
-export INSTALLDIR="/usr/lib/winex-cvs"
-
-export WINEPREFIX="$HOME/.winex-cvs"
-
-export LD_LIBRARY_PATH="$INSTALLDIR/lib/wine:$INSTALLDIR/lib:$LD_LIBRARY_PATH"
-export WINEDLLPATH="$LD_LIBRARY_PATH"
-
-export WINE_LOADER=wine
-
-export RUNWINE="$INSTALLDIR/bin/wine"
-export REGAPI="$INSTALLDIR/bin/regapi"
-
-if([ -z ${1} ]) then
- echo "Usage: regedit-winex-cvs foo.reg"
-else
- "$REGAPI" setValue < ${1} &> /dev/null
-fi
diff --git a/app-emulation/winex-cvs/files/winex-cvs-winex b/app-emulation/winex-cvs/files/winex-cvs-winex
deleted file mode 100644
index 1fd1a609d0d5..000000000000
--- a/app-emulation/winex-cvs/files/winex-cvs-winex
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/bin/bash
-# The wineX wrapper
-
-# Kindly distributed by Martin Schlemmer
-# Modified by phoen][x
-
-export INSTALLDIR="/usr/lib/winex-cvs"
-
-export WINEPREFIX="$HOME/.winex-cvs"
-
-export LD_LIBRARY_PATH="$INSTALLDIR/lib/wine:$INSTALLDIR/lib:$LD_LIBRARY_PATH"
-export WINEDLLPATH="$LD_LIBRARY_PATH"
-
-export WINE_LOADER=wine
-
-export RUNWINE="$INSTALLDIR/bin/wine"
-export REGAPI="$INSTALLDIR/bin/regapi"
-
-if [ ! -f $WINEPREFIX/config ]
-then
- echo "!! ~/.winex-cvs/config misses"
- echo "!! Setting up a config file"
-
- mkdir -p $WINEPREFIX/fake_windows
-
- # First copy in the new config file.
- cp "$INSTALLDIR/.data/config" "$WINEPREFIX/config"
-
- echo "!! Setting up ~/.winex-cvs/fake_windows/"
- cp -R $INSTALLDIR/.data/fake_windows/* $WINEPREFIX/fake_windows
-
- echo "!! Setting up default registry."
- "$REGAPI" setValue < "$INSTALLDIR/.data/winedefault.reg" &> /dev/null
-
- echo "!! Installation complete."
- echo "!! Modify ~/.winex-cvs/config to reflect your systems setup."
- exit
-fi
-
-# Force the use of the more memory-efficient MSVC 5 allocator with
-# any programs that use MSVCRT. This reduces memory consumption
-# significantly.
-export __MSVCRT_HEAP_SELECT=__GLOBAL_HEAP_SELECTED,2
-
-
-PATH="$INSTALLDIR/bin:$PATH"
-
-"$RUNWINE" --debugmsg -all "$@"
diff --git a/app-emulation/winex-cvs/winex-cvs-2.2.1.ebuild b/app-emulation/winex-cvs/winex-cvs-2.2.1.ebuild
deleted file mode 100644
index 2e4b9b2ced10..000000000000
--- a/app-emulation/winex-cvs/winex-cvs-2.2.1.ebuild
+++ /dev/null
@@ -1,132 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/winex-cvs/winex-cvs-2.2.1.ebuild,v 1.5 2003/07/17 14:58:24 coronalvr Exp $
-
-IUSE="cups opengl"
-
-# Dont modify the ECVS_BRANCH setting yourself.
-# Instead, make a backup of this ebuild and rename it to
-# winex-[your branch].ebuild.
-#
-# Example:
-# winex-kohan-2.1.ebuild
-#
-# You can find more branches on
-# http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/winex/wine/
-
-
-ECVS_SERVER="cvs.winex.sourceforge.net:/cvsroot/winex"
-ECVS_MODULE="wine"
-ECVS_BRANCH=${PN/cvs/}${PV//./-}
-ECVS_TOP_DIR="${DISTDIR}/cvs-src/${ECVS_BRANCH}"
-
-inherit cvs
-
-S=${WORKDIR}/${ECVS_MODULE}
-DESCRIPTION="WineX is a distribution of Wine with enhanced DirectX for gaming.
- This ebuild will fetch the newest cvs sources from the cvs-server."
-HOMEPAGE="http://www.transgaming.com/"
-
-SLOT="0"
-KEYWORDS="x86 -ppc"
-LICENSE="Aladdin"
-
-newdepend "sys-devel/gcc
- sys-devel/flex
- dev-util/yacc
- >=media-libs/freetype-2.0.0
- X? ( virtual/x11
- dev-lang/tcl
- dev-lang/tk )
- opengl? ( virtual/opengl )
- cups? ( net-print/cups )
- !>=sys-libs/glibc-2.3.2"
-
-src_compile() {
- cd ${S}
- local myconf
-
- use opengl && myconf="--enable-opengl" || myconf="--disable-opengl"
- [ -z $DEBUG ] && myconf="$myconf --disable-trace --disable-debug" || myconf="$myconf --enable-trace --enable-debug"
-
- # the folks at #winehq were really angry about custom optimization
- unset CFLAGS
- unset CXXFLAGS
-
- ./configure --prefix=/usr/lib/winex-cvs \
- --sysconfdir=/etc/winex-cvs \
- --host=${CHOST} \
- --enable-curses \
- --with-x \
- ${myconf} || die "configure failed"
-
- # Fixes a winetest issue
- cd ${S}/programs/winetest
- cp Makefile 1
- sed -e 's:wine.pm:include/wine.pm:' 1 > Makefile
-
- # This persuades wineshelllink that "winex-cvs" is a better loader :)
- cd ${S}/tools
- cp wineshelllink 1
- sed -e 's/\(WINE_LOADER=\)\(\${WINE_LOADER:-wine}\)/\1winex-cvs/' 1 > wineshelllink
-
- cd ${S}
- make depend all || die "make depend all failed"
- cd programs && emake || die "emake died"
-}
-
-src_install () {
- local WINEXMAKEOPTS="prefix=${D}/usr/lib/winex-cvs"
-
- # Installs winex to /usr/lib/winex-cvs
- cd ${S}
- make ${WINEXMAKEOPTS} install || die "make install failed"
- cd ${S}/programs
- make ${WINEXMAKEOPTS} install || die "make install failed"
-
-
- # Creates /usr/lib/winex-cvs/.data with fake_windows in it
- # This is needed for our new winex-cvs wrapper script
- dodir /usr/lib/winex-cvs/.data
- pushd ${D}/usr/lib/winex-cvs/.data
- tar jxvf ${FILESDIR}/${PN}-fake_windows.tar.bz2
- popd
- cp ${S}/documentation/samples/config ${S}/documentation/samples/config.orig
- sed -e 's/"Path" = "\/c"/"Path" = "\$\{HOME\}\/.winex-cvs\/fake_windows"/' \
- ${S}/documentation/samples/config.orig > ${S}/documentation/samples/config
- cp ${S}/documentation/samples/config ${D}/usr/lib/winex-cvs/.data/config
- cp ${WORKDIR}/wine/winedefault.reg ${D}/usr/lib/winex-cvs/.data/winedefault.reg
- # Install the wrapper script
- dodir /usr/bin
- cp ${FILESDIR}/${PN}-winex ${D}/usr/bin/winex-cvs
- cp ${FILESDIR}/${PN}-regedit ${D}/usr/bin/regedit-winex-cvs
-
- # Take care of the other stuff
- cd ${S}
- dodoc ANNOUNCE AUTHORS BUGS ChangeLog DEVELOPERS-HINTS LICENSE README
-
- insinto /usr/lib/winex-cvs/.data/fake_windows/Windows
- doins documentation/samples/system.ini
- doins documentation/samples/generic.ppd
-
- # Manpage setup
- cp ${D}/usr/lib/${PN}/man/man1/wine.1 ${D}/usr/lib/${PN}/man/man1/${PN}.1
- doman ${D}/usr/lib/${PN}/man/man1/${PN}.1
- rm ${D}/usr/lib/${PN}/man/man1/${PN}.1
-
- # Remove the executable flag from those libraries.
- cd ${D}/usr/lib/winex-cvs/bin
- chmod a-x *.so
-
-}
-
-pkg_postinst() {
- einfo "Use /usr/bin/winex-cvs to start winex."
- einfo "This is a wrapper-script which will take care of everything"
- einfo "else. If you have further questions, enhancements or patches"
- einfo "send an email to phoenix@gentoo.org"
- einfo ""
- einfo "Manpage has been installed to the system."
- einfo "\"man winex-cvs\" should show it."
-}
-
diff --git a/app-emulation/winex-cvs/winex-cvs-3.0.ebuild b/app-emulation/winex-cvs/winex-cvs-3.0.ebuild
deleted file mode 100644
index 25ddfbb8fcde..000000000000
--- a/app-emulation/winex-cvs/winex-cvs-3.0.ebuild
+++ /dev/null
@@ -1,144 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/winex-cvs/winex-cvs-3.0.ebuild,v 1.3 2003/07/17 14:58:24 coronalvr Exp $
-
-IUSE="cups opengl"
-
-inherit eutils
-
-# Dont modify the ECVS_BRANCH setting yourself.
-# Instead, make a backup of this ebuild and rename it to
-# winex-[your branch].ebuild.
-#
-# Example:
-# winex-kohan-2.1.ebuild
-#
-# You can find more branches on
-# http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/winex/wine/
-
-
-ECVS_SERVER="cvs.winex.sourceforge.net:/cvsroot/winex"
-ECVS_MODULE="wine"
-ECVS_BRANCH=${PN/cvs/}${PV//./-}
-ECVS_BRANCH=${ECVS_BRANCH/pre/pre-}
-ECVS_BRANCH=${ECVS_BRANCH/_/-}
-ECVS_TOP_DIR="${DISTDIR}/cvs-src/${ECVS_BRANCH}"
-
-inherit cvs
-
-S=${WORKDIR}/${ECVS_MODULE}
-#echo ${ECVS_BRANCH}
-
-
-DESCRIPTION="WineX is a distribution of Wine with enhanced DirectX for gaming.
- This ebuild will fetch the newest cvs sources from the cvs-server."
-HOMEPAGE="http://www.transgaming.com/"
-
-SLOT="0"
-KEYWORDS="x86 -ppc"
-LICENSE="Aladdin"
-
-newdepend "sys-devel/gcc
- sys-devel/flex
- dev-util/yacc
- >=media-libs/freetype-2.0.0
- X? ( virtual/x11
- dev-lang/tcl
- dev-lang/tk )
- opengl? ( virtual/opengl )
- cups? ( net-print/cups )
- !>=sys-libs/glibc-2.3.2"
-
-src_compile() {
- cd ${S}
- local myconf
-
- use opengl && myconf="--enable-opengl" || myconf="--disable-opengl"
- [ -z $DEBUG ] && myconf="$myconf --disable-trace --disable-debug" || myconf="$myconf --enable-trace --enable-debug"
-
- # patching winex to not compile wcmd
- epatch ${FILESDIR}/winex-cvs-3.0_pre1.patch
-
- # the folks at #winehq were really angry about custom optimization
- unset CFLAGS
- unset CXXFLAGS
-
- ./configure --prefix=/usr/lib/winex-cvs \
- --sysconfdir=/etc/winex-cvs \
- --host=${CHOST} \
- --enable-curses \
- --with-x \
- ${myconf} || die "configure failed"
-
- # Fixes a winetest issue
- cd ${S}/programs/winetest
- cp Makefile 1
- sed -e 's:wine.pm:include/wine.pm:' 1 > Makefile
-
- # This persuades wineshelllink that "winex-cvs" is a better loader :)
- cd ${S}/tools
- cp wineshelllink 1
- sed -e 's/\(WINE_LOADER=\)\(\${WINE_LOADER:-wine}\)/\1winex-cvs/' 1 > wineshelllink
-
- cd ${S}
- make depend all || die "make depend all failed"
- cd programs && gmake || die "emake died"
-}
-
-src_install () {
- local WINEXMAKEOPTS="prefix=${D}/usr/lib/winex-cvs"
-
- # Installs winex to /usr/lib/winex-cvs
- cd ${S}
- make ${WINEXMAKEOPTS} install || die "make install failed"
- cd ${S}/programs
- make ${WINEXMAKEOPTS} install || die "make install failed"
-
-
- # Creates /usr/lib/winex-cvs/.data with fake_windows in it
- # This is needed for our new winex-cvs wrapper script
- dodir /usr/lib/winex-cvs/.data
- pushd ${D}/usr/lib/winex-cvs/.data
- tar jxvf ${FILESDIR}/${PN}-fake_windows.tar.bz2
- popd
- cp ${S}/documentation/samples/config ${S}/documentation/samples/config.orig
- sed -e 's/.transgaming\/c_drive/.winex-cvs\/fake_windows/' \
- ${S}/documentation/samples/config.orig > ${S}/documentation/samples/config
- cp ${S}/documentation/samples/config ${D}/usr/lib/winex-cvs/.data/config
- cp ${WORKDIR}/wine/winedefault.reg ${D}/usr/lib/winex-cvs/.data/winedefault.reg
- # Install the wrapper script
- dodir /usr/bin
- cp ${FILESDIR}/${PN}-winex ${D}/usr/bin/winex-cvs
- cp ${FILESDIR}/${PN}-regedit ${D}/usr/bin/regedit-winex-cvs
-
- # Take care of the other stuff
- cd ${S}
- dodoc ANNOUNCE AUTHORS BUGS ChangeLog DEVELOPERS-HINTS LICENSE README
-
- insinto /usr/lib/winex-cvs/.data/fake_windows/Windows
- doins documentation/samples/system.ini
- doins documentation/samples/generic.ppd
-
- # Manpage setup
- cp ${D}/usr/lib/${PN}/man/man1/wine.1 ${D}/usr/lib/${PN}/man/man1/${PN}.1
- doman ${D}/usr/lib/${PN}/man/man1/${PN}.1
- rm ${D}/usr/lib/${PN}/man/man1/${PN}.1
- doman ${D}/usr/lib/${PN}/man/man5/wine.conf.5
- rm ${D}/usr/lib/${PN}/man/man5/wine.conf.5
-
- # Remove the executable flag from those libraries.
- cd ${D}/usr/lib/winex-cvs/bin
- chmod a-x *.so
-
-}
-
-pkg_postinst() {
- einfo "Use /usr/bin/winex-cvs to start winex."
- einfo "This is a wrapper-script which will take care of everything"
- einfo "else. If you have further questions, enhancements or patches"
- einfo "send an email to phoenix@gentoo.org"
- einfo ""
- einfo "Manpage has been installed to the system."
- einfo "\"man winex-cvs\" should show it."
-}
-
diff --git a/app-emulation/winex-cvs/winex-cvs-3.1.ebuild b/app-emulation/winex-cvs/winex-cvs-3.1.ebuild
deleted file mode 100644
index d8a5f14a9d47..000000000000
--- a/app-emulation/winex-cvs/winex-cvs-3.1.ebuild
+++ /dev/null
@@ -1,157 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/winex-cvs/winex-cvs-3.1.ebuild,v 1.4 2003/07/17 14:58:24 coronalvr Exp $
-
-IUSE="cups opengl nptl"
-
-inherit eutils
-
-# Dont modify the ECVS_BRANCH setting yourself.
-# Instead, make a backup of this ebuild and rename it to
-# winex-[your branch].ebuild.
-#
-# Example:
-# winex-kohan-2.1.ebuild
-#
-# You can find more branches on
-# http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/winex/wine/
-
-
-ECVS_SERVER="cvs.winex.sourceforge.net:/cvsroot/winex"
-ECVS_MODULE="wine"
-ECVS_BRANCH=${PN/cvs/}${PV//./-}
-ECVS_BRANCH=${ECVS_BRANCH/pre/pre-}
-ECVS_BRANCH=${ECVS_BRANCH/_/-}
-ECVS_TOP_DIR="${DISTDIR}/cvs-src/${ECVS_BRANCH}"
-
-inherit cvs
-
-S=${WORKDIR}/${ECVS_MODULE}
-#echo ${ECVS_BRANCH}
-
-
-DESCRIPTION="WineX is a distribution of Wine with enhanced DirectX for gaming.
- This ebuild will fetch the newest cvs sources from the cvs-server."
-HOMEPAGE="http://www.transgaming.com/"
-
-SLOT="0"
-KEYWORDS="x86 -ppc"
-LICENSE="Aladdin"
-
-newdepend "sys-devel/gcc
- sys-devel/flex
- dev-util/yacc
- >=media-libs/freetype-2.0.0
- X? ( virtual/x11
- dev-lang/tcl
- dev-lang/tk )
- opengl? ( virtual/opengl )
- cups? ( net-print/cups )
- !>=sys-libs/glibc-2.3.2"
-
-src_unpack() {
- if ! [ -z "`perl -V:archname 2> /dev/null | grep 'thread-multi'`" ]
- then
- eerror "Sorry - can't build winex against threaded perl!"
- eerror "Please remerge perl and libperl WITHOUT 'USE=threads'"
- die "Not compatible with threaded perl"
- fi
- cvs_src_unpack
-}
-
-src_compile() {
- cd ${S}
- local myconf
-
- use opengl && myconf="--enable-opengl" || myconf="--disable-opengl"
- [ -z $DEBUG ] && myconf="$myconf --disable-trace --disable-debug" || myconf="$myconf --enable-trace --enable-debug"
-
- # for nptl threads
- use nptl && myconf="$myconf --enable-pthreads"
-
- # patching winex to not compile wcmd
- epatch ${FILESDIR}/winex-cvs-3.0_pre1.patch
-
- # the folks at #winehq were really angry about custom optimization
- unset CFLAGS
- unset CXXFLAGS
-
- ./configure --prefix=/usr/lib/winex-cvs \
- --sysconfdir=/etc/winex-cvs \
- --host=${CHOST} \
- --enable-curses \
- --with-x \
- ${myconf} || die "configure failed"
-
- # Fixes a winetest issue
- cd ${S}/programs/winetest
- cp Makefile 1
- sed -e 's:wine.pm:include/wine.pm:' 1 > Makefile
-
- # This persuades wineshelllink that "winex-cvs" is a better loader :)
- cd ${S}/tools
- cp wineshelllink 1
- sed -e 's/\(WINE_LOADER=\)\(\${WINE_LOADER:-wine}\)/\1winex-cvs/' 1 > wineshelllink
-
- cd ${S}
- make depend all || die "make depend all failed"
- cd programs && gmake || die "emake died"
-}
-
-src_install () {
- local WINEXMAKEOPTS="prefix=${D}/usr/lib/winex-cvs"
-
- # Installs winex to /usr/lib/winex-cvs
- cd ${S}
- make ${WINEXMAKEOPTS} install || die "make install failed"
- cd ${S}/programs
- make ${WINEXMAKEOPTS} install || die "make install failed"
-
-
- # Creates /usr/lib/winex-cvs/.data with fake_windows in it
- # This is needed for our new winex-cvs wrapper script
- dodir /usr/lib/winex-cvs/.data
- pushd ${D}/usr/lib/winex-cvs/.data
- tar jxvf ${FILESDIR}/${PN}-fake_windows.tar.bz2
- popd
- cp ${S}/documentation/samples/config ${S}/documentation/samples/config.orig
- sed -e 's/.transgaming\/c_drive/.winex-cvs\/fake_windows/' \
- ${S}/documentation/samples/config.orig > ${S}/documentation/samples/config
- cp ${S}/documentation/samples/config ${D}/usr/lib/winex-cvs/.data/config
- cp ${WORKDIR}/wine/winedefault.reg ${D}/usr/lib/winex-cvs/.data/winedefault.reg
- # Install the wrapper script
- dodir /usr/bin
- cp ${FILESDIR}/${PN}-winex ${D}/usr/bin/winex-cvs
- cp ${FILESDIR}/${PN}-regedit ${D}/usr/bin/regedit-winex-cvs
-
- # Take care of the other stuff
- cd ${S}
- dodoc ANNOUNCE AUTHORS BUGS ChangeLog DEVELOPERS-HINTS LICENSE README
-
- insinto /usr/lib/winex-cvs/.data/fake_windows/Windows
- doins documentation/samples/system.ini
- doins documentation/samples/generic.ppd
-
- # Manpage setup
- cp ${D}/usr/lib/${PN}/man/man1/wine.1 ${D}/usr/lib/${PN}/man/man1/${PN}.1
- doman ${D}/usr/lib/${PN}/man/man1/${PN}.1
- rm ${D}/usr/lib/${PN}/man/man1/${PN}.1
- doman ${D}/usr/lib/${PN}/man/man5/wine.conf.5
- rm ${D}/usr/lib/${PN}/man/man5/wine.conf.5
-
- # Remove the executable flag from those libraries.
- cd ${D}/usr/lib/winex-cvs/bin
- chmod a-x *.so
-
-}
-
-pkg_postinst() {
- einfo "Use /usr/bin/winex-cvs to start winex."
- einfo "This is a wrapper-script which will take care of everything"
- einfo "else. If you have further questions, enhancements or patches"
- einfo "send an email to phoenix@gentoo.org"
- einfo ""
- einfo "Manpage has been installed to the system."
- einfo "\"man winex-cvs\" should show it."
-}
-
diff --git a/app-emulation/winex-cvs/winex-cvs-3000.ebuild b/app-emulation/winex-cvs/winex-cvs-3000.ebuild
new file mode 100644
index 000000000000..3fe4aed98854
--- /dev/null
+++ b/app-emulation/winex-cvs/winex-cvs-3000.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header:
+
+DESCRIPTION="Winex - fake ebuild!"
+HOMEPAGE="http://www.transgaming.com/"
+
+SLOT="3000"
+KEYWORDS="x86 -ppc -sparc"
+LICENSE="Aladdin"
+IUSE=""
+
+DEPEND=""
+
+pkg_postinst() {
+einfo This package was removed from portage tree due to the request from Transgaming. Here is an extract from there email:
+einfo The primary reason for the WineX CVS tree being publicly available
+einfo "under the Aladdin Free Public License (AFPL) is to give outside"
+einfo developers who have an interest in the project the ability to track
+einfo our most current work, and to assist us with code or testing.
+einfo Our work is very complex though, and only a limited number of
+einfo developers have the skills required to contribute.
+einfo The intent of the public CVS tree is *not* to provide a 'free' version
+einfo of WineX that can be used without paying for it.  We want everyone
+einfo with an interest in the project to contribute, whether they contribute
+einfo code, or money to assist us with our development efforts.  We felt that
+einfo the AFPL was a good compromise to allow that to happen, which is why
+einfo we chose it.
+}