summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTilman Klar <phoenix@gentoo.org>2003-03-28 14:54:44 +0000
committerTilman Klar <phoenix@gentoo.org>2003-03-28 14:54:44 +0000
commit1ccdd59f630bb2d38f1ed6c721d2aeae830fe483 (patch)
treed22a80f225fdcac49abf78aa08983f8575b0ef23 /app-emulation/winex
parentAdded ~sparc to keywords. (diff)
downloadhistorical-1ccdd59f630bb2d38f1ed6c721d2aeae830fe483.tar.gz
historical-1ccdd59f630bb2d38f1ed6c721d2aeae830fe483.tar.bz2
historical-1ccdd59f630bb2d38f1ed6c721d2aeae830fe483.zip
Version bump.
Diffstat (limited to 'app-emulation/winex')
-rw-r--r--app-emulation/winex/ChangeLog15
-rw-r--r--app-emulation/winex/files/digest-winex-200303281
-rw-r--r--app-emulation/winex/files/winex-20030328-fake_windows.tar.bz2bin0 -> 500 bytes
-rw-r--r--app-emulation/winex/files/winex-20030328-misc.tar.bz2bin0 -> 4064 bytes
-rw-r--r--app-emulation/winex/files/winex-20030328.patch15
-rw-r--r--app-emulation/winex/winex-20030328.ebuild138
6 files changed, 165 insertions, 4 deletions
diff --git a/app-emulation/winex/ChangeLog b/app-emulation/winex/ChangeLog
index 0c84a165395f..707d4e8b3398 100644
--- a/app-emulation/winex/ChangeLog
+++ b/app-emulation/winex/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for app-emulation/winex
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/winex/ChangeLog,v 1.21 2003/02/18 16:07:24 phoenix Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/winex/ChangeLog,v 1.22 2003/03/28 14:54:44 phoenix Exp $
+
+*winex-20030328 (28 Mar 2003)
+
+ 28 Mar 2003; phoen][x <phoenix@gentoo.org> winex-20030328.ebuild,
+ files/winex-20030328-fake_windows.tar.bz2, files/winex-20030328-misc.tar.bz2,
+ files/winex-20030328.patch :
+ Version bump. Incorporated a patch to fix problems with programs/{wcmd,winhelp}.
+
+*winex-20021123 (23 Nov 2002)
18 Feb 2002; phoen][x <phoenix@gentoo.org> All winex ebuilds :
Made app-emulation/winex block on app-emulation/winex-transgaming because they
@@ -8,10 +17,8 @@
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
-*winex-20021123 (23 Nov 2002)
-
05 Feb 2003; phoen][x <phoenix@gentoo.org> winex-20021123.ebuild :
- Modified X dependencies. You can build winex without X now (for commandline
+ Modified X dependencies. WineX can be build without X now (for commandline
applications) - this closes bug #14651.
23 Nov 2002; phoen][x <phoenix@gentoo.org> winex-20021123.ebuild,
diff --git a/app-emulation/winex/files/digest-winex-20030328 b/app-emulation/winex/files/digest-winex-20030328
new file mode 100644
index 000000000000..39391408e915
--- /dev/null
+++ b/app-emulation/winex/files/digest-winex-20030328
@@ -0,0 +1 @@
+MD5 3a8c0d43923e1ecca10a484ca9c92c87 winex-20030328.tar.bz2 6830705
diff --git a/app-emulation/winex/files/winex-20030328-fake_windows.tar.bz2 b/app-emulation/winex/files/winex-20030328-fake_windows.tar.bz2
new file mode 100644
index 000000000000..d60f11e08ee3
--- /dev/null
+++ b/app-emulation/winex/files/winex-20030328-fake_windows.tar.bz2
Binary files differ
diff --git a/app-emulation/winex/files/winex-20030328-misc.tar.bz2 b/app-emulation/winex/files/winex-20030328-misc.tar.bz2
new file mode 100644
index 000000000000..0b6fc9a5fae2
--- /dev/null
+++ b/app-emulation/winex/files/winex-20030328-misc.tar.bz2
Binary files differ
diff --git a/app-emulation/winex/files/winex-20030328.patch b/app-emulation/winex/files/winex-20030328.patch
new file mode 100644
index 000000000000..1a5170e5159a
--- /dev/null
+++ b/app-emulation/winex/files/winex-20030328.patch
@@ -0,0 +1,15 @@
+--- 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/winex-20030328.ebuild b/app-emulation/winex/winex-20030328.ebuild
new file mode 100644
index 000000000000..a632c52da01a
--- /dev/null
+++ b/app-emulation/winex/winex-20030328.ebuild
@@ -0,0 +1,138 @@
+# 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/winex-20030328.ebuild,v 1.1 2003/03/28 14:54:44 phoenix Exp $
+
+inherit base
+
+DESCRIPTION="distribution of Wine with enhanced DirectX for gaming"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+HOMEPAGE="http://www.transgaming.com/"
+
+SLOT="0"
+KEYWORDS="~x86 -ppc -sparc"
+LICENSE="Aladdin"
+IUSE="cups opengl"
+
+DEPEND="sys-devel/gcc
+ sys-devel/flex
+ dev-util/yacc
+ >=sys-libs/ncurses-5.2
+ >=media-libs/freetype-2.0.0
+ X? ( virtual/x11
+ dev-lang/tcl
+ dev-lang/tk )
+ opengl? ( virtual/opengl )
+ cups? ( net-print/cups )
+ !app-emulation/winex-transgaming"
+
+S=${WORKDIR}/wine
+
+src_unpack() {
+ base_src_unpack
+ # Unpacking the miscellaneous files
+ mkdir misc
+ cd misc
+ tar jxvf ${FILESDIR}/${P}-misc.tar.bz2 &> /dev/null
+ chown root:root *
+}
+
+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
+
+ # patching winex to not compile wcmd and winhelp
+ epatch ${FILESDIR}/winex-20030328.patch
+
+ ./configure --prefix=/usr/lib/winex \
+ --sysconfdir=/etc/winex \
+ --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" is a better loader :)
+ cd ${S}/tools
+ cp wineshelllink 1
+ sed -e 's/\(WINE_LOADER=\)\(\${WINE_LOADER:-wine}\)/\1winex/' 1 > wineshelllink
+
+ cd ${S}
+ make depend all || die "make depend all failed"
+ cd ${S}/programs
+ make || die "make died"
+}
+
+src_install () {
+
+ local WINEXMAKEOPTS="prefix=${D}/usr/lib/${PN}"
+
+ # Installs winex to ${D}/usr/lib/${PN}
+ cd ${S}
+ make ${WINEXMAKEOPTS} install || die "make install failed"
+ cd ${S}/programs
+ make ${WINEXMAKEOPTS} install || die "make install failed"
+
+ dodir /usr/bin
+
+ # Creates /usr/lib/winex/.data with fake_windows in it
+ # This is needed for ~/.winex initialization by our
+ # winex wrapper script
+ dodir /usr/lib/winex/.data
+ cd ${D}/usr/lib/winex/.data
+ tar jxvf ${FILESDIR}/${P}-fake_windows.tar.bz2
+ chown root:root fake_windows/ -R
+
+ # moving the wrappers to bin/
+ insinto /usr/bin
+ dobin ${WORKDIR}/misc/regedit-winex ${WORKDIR}/misc/winex
+
+ ### Set up the remaining files
+ cd ${S}
+
+ # copying the winedefault.reg into .data
+ insinto /usr/lib/winex/.data
+ doins winedefault.reg ${WORKDIR}/misc/config
+
+ # Set up this dynamic data
+ insinto /usr/lib/wine/.data/fake_windows/Windows
+ doins documentation/samples/system.ini
+ doins documentation/samples/generic.ppd
+
+ ### Misc tasks
+ # Take care of the documentation
+ cd ${S}
+ dodoc ANNOUNCE AUTHORS BUGS ChangeLog DEVELOPERS-HINTS LICENSE README
+
+ # 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/${PN}/bin
+ chmod a-x *.so
+
+}
+
+pkg_postinst() {
+ einfo "Use /usr/bin/winex 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\" should show it."
+}
+