diff options
-rw-r--r-- | app-emulation/winex/ChangeLog | 16 | ||||
-rw-r--r-- | app-emulation/winex/files/digest-winex-20021123 | 1 | ||||
-rw-r--r-- | app-emulation/winex/files/winex-20021123-fake_windows.tar.bz2 | bin | 0 -> 500 bytes | |||
-rw-r--r-- | app-emulation/winex/files/winex-20021123-misc.tar.bz2 | bin | 0 -> 4064 bytes | |||
-rw-r--r-- | app-emulation/winex/winex-20021011.ebuild | 4 | ||||
-rw-r--r-- | app-emulation/winex/winex-20021123.ebuild | 135 |
6 files changed, 148 insertions, 8 deletions
diff --git a/app-emulation/winex/ChangeLog b/app-emulation/winex/ChangeLog index 8437e9e80a36..5c1bcef8f17c 100644 --- a/app-emulation/winex/ChangeLog +++ b/app-emulation/winex/ChangeLog @@ -1,14 +1,21 @@ # ChangeLog for app-emulation/wine # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/app-emulation/winex/ChangeLog,v 1.13 2002/10/11 18:27:26 phoenix Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/winex/ChangeLog,v 1.14 2002/11/23 14:22:02 phoenix Exp $ +*winex-20021123 (23 Nov 2002) + 23 Nov 2002; phoen][x <phoenix@gentoo.org> winex-20021123.ebuild, + files/digest-winex-20021123, files/winex-20021123-misc, + files/winex-20021123-fake_windows : + New snapshot of winex-2.2.1. Updated the files/-layout: + winex, winex-regedit and config are in ${PN}-misc.tar.bz2 now. The fake_windows + has been deleted from ${SRC_URI} and also resides in files/ now. The idea is, that + all dynamic data goes into files/. Modified the ebuild to reflect these changes. *winex-20021011 (11 Oct 2002) 11 Oct 2002; phoen][x <phoenix@gentoo.org> winex-20021011.ebuild, files/digest-winex-20021011, files/winex-20021011-config, files/winex-20021011-regedit, files/winex-20021011-winex : - New version of winex (2.2). Disabled the build of programs/ because there were some major problems with the rc-files. If you find a way to work around that, tell me how you did it. I gave up after one hour. @@ -16,7 +23,6 @@ *winex-20020807-r1 (13 Sep 2002) 13 Sep 2002; phoen][x <phoenix@gentoo.org> winex-20020807-r1.ebuild : - Added manpage installation. This installs the manpage of wine as ${PN}. *winex-20020807 (19 Aug 2002) @@ -63,12 +69,10 @@ *winex-20020628 (28 Jun 2002) - 28 Jun 2002; J.Alberto Suárez L. <bass@gentoo.org> winex-20020728.ebuild - + 28 Jun 2002; J.Alberto Suárez L. <bass@gentoo.org> winex-20020728.ebuild: New CVS version *winex-20020511 (11 May 2002) 11 May 2002; B.Verwilst <verwilst@gentoo.org> ChangeLog : - Initial ebuild diff --git a/app-emulation/winex/files/digest-winex-20021123 b/app-emulation/winex/files/digest-winex-20021123 new file mode 100644 index 000000000000..bd53b671d16f --- /dev/null +++ b/app-emulation/winex/files/digest-winex-20021123 @@ -0,0 +1 @@ +MD5 db223729a396cce5b4226ae852adbc76 winex-20021123.tar.bz2 6341565 diff --git a/app-emulation/winex/files/winex-20021123-fake_windows.tar.bz2 b/app-emulation/winex/files/winex-20021123-fake_windows.tar.bz2 Binary files differnew file mode 100644 index 000000000000..d60f11e08ee3 --- /dev/null +++ b/app-emulation/winex/files/winex-20021123-fake_windows.tar.bz2 diff --git a/app-emulation/winex/files/winex-20021123-misc.tar.bz2 b/app-emulation/winex/files/winex-20021123-misc.tar.bz2 Binary files differnew file mode 100644 index 000000000000..0b6fc9a5fae2 --- /dev/null +++ b/app-emulation/winex/files/winex-20021123-misc.tar.bz2 diff --git a/app-emulation/winex/winex-20021011.ebuild b/app-emulation/winex/winex-20021011.ebuild index a52076041e25..bb444e30f8c9 100644 --- a/app-emulation/winex/winex-20021011.ebuild +++ b/app-emulation/winex/winex-20021011.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/winex/winex-20021011.ebuild,v 1.4 2002/10/24 23:23:44 blizzy Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/winex/winex-20021011.ebuild,v 1.5 2002/11/23 14:22:02 phoenix Exp $ IUSE="cups opengl" @@ -11,7 +11,7 @@ SRC_URI="mirror://gentoo/${P}.tar.bz2 HOMEPAGE="http://www.transgaming.com/" SLOT="0" -KEYWORDS="~x86 -ppc" +KEYWORDS="~x86 -ppc -sparc -sparc64" LICENSE="Aladdin" DEPEND="virtual/x11 diff --git a/app-emulation/winex/winex-20021123.ebuild b/app-emulation/winex/winex-20021123.ebuild new file mode 100644 index 000000000000..28eaa7575b5b --- /dev/null +++ b/app-emulation/winex/winex-20021123.ebuild @@ -0,0 +1,135 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/winex/winex-20021123.ebuild,v 1.1 2002/11/23 14:22:02 phoenix Exp $ + +inherit base + +IUSE="cups opengl" +S=${WORKDIR}/wine +DESCRIPTION="WineX is a 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 -sparc64" +LICENSE="Aladdin" + +DEPEND="virtual/x11 + sys-devel/gcc + sys-devel/flex + dev-util/yacc + >=sys-libs/ncurses-5.2 + >=media-libs/freetype-2.0.0 + dev-lang/tcl dev-lang/tk + opengl? ( virtual/opengl ) + cups? ( net-print/cups )" + + +src_unpack() { + #cd ${WORKDIR} + #unpack ${A} + 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 + + ./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." +} + |