diff options
author | Tilman Klar <phoenix@gentoo.org> | 2002-09-13 14:51:07 +0000 |
---|---|---|
committer | Tilman Klar <phoenix@gentoo.org> | 2002-09-13 14:51:07 +0000 |
commit | 8fd0a1ad0455074d92d8fb4dff6f463463782f39 (patch) | |
tree | 65d8c451e32b27f8102aaf77e43e5e3b2acb6616 /app-emulation/wine | |
parent | Masked new revisions of winex and wine for testing (diff) | |
download | historical-8fd0a1ad0455074d92d8fb4dff6f463463782f39.tar.gz historical-8fd0a1ad0455074d92d8fb4dff6f463463782f39.tar.bz2 historical-8fd0a1ad0455074d92d8fb4dff6f463463782f39.zip |
New manpage setup.
Diffstat (limited to 'app-emulation/wine')
-rw-r--r-- | app-emulation/wine/ChangeLog | 32 | ||||
-rw-r--r-- | app-emulation/wine/files/digest-wine-20020904-r1 | 1 | ||||
-rw-r--r-- | app-emulation/wine/wine-20020904-r1.ebuild | 106 |
3 files changed, 127 insertions, 12 deletions
diff --git a/app-emulation/wine/ChangeLog b/app-emulation/wine/ChangeLog index b9f50b47ee9d..7c541075b36e 100644 --- a/app-emulation/wine/ChangeLog +++ b/app-emulation/wine/ChangeLog @@ -1,10 +1,17 @@ # ChangeLog for app-emulation/wine # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/ChangeLog,v 1.18 2002/09/09 19:33:57 phoenix Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/ChangeLog,v 1.19 2002/09/13 14:48:23 phoenix Exp $ -*wine-20020809 (09 Sep 2002) +*wine-20020904-r1 (13 Sep 2002) - 09 Sep 2002; phoen][x <phoenix@gentoo.org> wine-20020809.ebuild : + 13 Sep 2002; phoen][x <phoenix@gentoo.org> wine-20020904-r1.ebuild, ChangeLog : + + Added manpage installation. This installs the manpage of wine as ${PN}. + Tidied up the ChangeLog. + +*wine-20020904 (09 Sep 2002) + + 09 Sep 2002; phoen][x <phoenix@gentoo.org> wine-20020904.ebuild : Bumped to new version. @@ -36,19 +43,22 @@ Updated ebuild so it installs /usr/wine/bin/regapi. Closes bug #5611. 18 Jun 2002; Michael Cohen <mjc@gentoo.org> wine-20020710.ebuild : + Added ALSA and arts dependencies (Bug #5206 and friends) -*wine-20020710 (17 Jun 2002) - 17 Jun 2002 ;Michael Cohen <mjc@gentoo.org> wine-20020710.ebuild : - Version bump +*wine-20020710 (17 Jun 2002) + 17 Jun 2002; Michael Cohen <mjc@gentoo.org> wine-20020710.ebuild : + + Version bump *wine-20020605-r2 (15 Jun 2002) - 15 Jun 2002 ;Spider <spider@gentoo.org> wine-20020605-r2.ebuild : - the /etc/wine stuff wasn't installed so I fixed that (seems the source had moved into documentation/samples ) + 15 Jun 2002; Spider <spider@gentoo.org> wine-20020605-r2.ebuild : + + the /etc/wine stuff wasn't installed so I fixed that + (seems the source had moved into documentation/samples) - *wine-20020605-r1 (14 Jun 2002) 14 Jun 2002; Dan Armak <danarmak@gentoo.org> ChangeLog : @@ -69,7 +79,6 @@ 14 Apr 2002; Dan Armak <danarmak@gentoo.org>: new upstream release - *wine-20020310-r1 (29 Mar 2002) 29 Mar 2002; Dan Armak <danarmak@gentoo.org>: fix bug #1373: disable custom optimizations, @@ -82,8 +91,7 @@ man page/LFH fix submitted by Matthew Kennedy. - -22 Mar 2002; Dan Armak <danarmak@gentoo.org> Add missing /etc/wine/winedefault.reg file. + 22 Mar 2002; Dan Armak <danarmak@gentoo.org> Add missing /etc/wine/winedefault.reg file. *wine-20020310 (12 Mar 2002) diff --git a/app-emulation/wine/files/digest-wine-20020904-r1 b/app-emulation/wine/files/digest-wine-20020904-r1 new file mode 100644 index 000000000000..4d9267244b7f --- /dev/null +++ b/app-emulation/wine/files/digest-wine-20020904-r1 @@ -0,0 +1 @@ +MD5 686ebc4cb0a9ba3202e15453b07ab69a Wine-20020904.tar.gz 7603556 diff --git a/app-emulation/wine/wine-20020904-r1.ebuild b/app-emulation/wine/wine-20020904-r1.ebuild new file mode 100644 index 000000000000..24c4f6b6774a --- /dev/null +++ b/app-emulation/wine/wine-20020904-r1.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-20020904-r1.ebuild,v 1.1 2002/09/13 14:48:23 phoenix Exp $ + +DESCRIPTION="Wine is a free implementation of Windows on Unix." +SRC_URI="ftp://metalab.unc.edu/pub/Linux/ALPHA/wine/development/Wine-${PV}.tar.gz" +HOMEPAGE="http://www.winehq.com/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86 -ppc -sparc -sparc64" + +DEPEND="virtual/x11 + sys-devel/gcc + sys-devel/flex + dev-util/yacc + dev-lang/tcl dev-lang/tk + >=sys-libs/ncurses-5.2 + >=media-libs/freetype-2.0.0 + arts? ( kde-base/arts ) + alsa? ( media-libs/alsa-lib ) + nas? ( media-libs/nas ) + cups? ( net-print/cups ) + opengl? ( virtual/opengl )" + +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" + # there's no configure flag for cups, arts, alsa and nas, it's supposed to be autodetected + + # the folks at #winehq were really angry about custom optimization + export CFLAGS="" + export CXXFLAGS="" + + ./configure --prefix=/usr/lib/wine \ + --sysconfdir=/etc/wine \ + --host=${CHOST} \ + --enable-curses \ + ${myconf} || die + + cd ${S}/programs/winetest + cp Makefile 1 + sed -e 's:wine.pm:include/wine.pm:' 1 > Makefile + + cd ${S} + make depend all || die + cd programs && emake || die + +} + +src_install () { + + local WINEMAKEOPTS="prefix=${D}/usr/lib/wine" + + cd ${S} + make ${WINEMAKEOPTS} install || die + cd ${S}/programs + make ${WINEMAKEOPTS} install || die + + # Creates /usr/lib/wine/.data with fake_windows in it + # This is needed for our wine wrapper script + mkdir ${D}/usr/lib/wine/.data + cp -R ${WORKDIR}/fake_windows ${D}/usr/lib/wine/.data + cp ${FILESDIR}/${P}-config ${D}/usr/lib/wine/.data/config + cp ${WORKDIR}/${P}/winedefault.reg ${D}/usr/lib/wine/.data/winedefault.reg + + # Install the wrapper script + mkdir ${D}/usr/bin + cp ${FILESDIR}/${P}-wine ${D}/usr/bin/wine + cp ${FILESDIR}/${P}-regedit ${D}/usr/bin/regedit-wine + + # Take care of the documentation + cd ${S} + dodoc ANNOUNCE AUTHORS BUGS ChangeLog DEVELOPERS-HINTS LICENSE README + + insinto /usr/lib/wine/.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/wine/lib/wine + chmod a-x *.so +} + +pkg_postinst() { + einfo "**********************************************************************" + einfo "* NOTE: Use /usr/bin/wine to start wine. This is a wrapper-script *" + einfo "* which will take care of everything else. *" + einfo "* Use /usr/bin/regedit-wine to import registry files into the *" + einfo "* wine registry. *" + einfo "* 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 wine\" should show it. *" + einfo "**********************************************************************" +} + |