Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 22202 Details for
Bug 34237
WineX cvs ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Correction - fix man page, symlink; for Alsa 1.0, non gcc 3.3 systems
winex-cvs-3.2-r1.ebuild (text/plain), 5.18 KB, created by
Brett I. Holcomb
on 2003-12-14 11:36:42 UTC
(
hide
)
Description:
Correction - fix man page, symlink; for Alsa 1.0, non gcc 3.3 systems
Filename:
MIME Type:
Creator:
Brett I. Holcomb
Created:
2003-12-14 11:36:42 UTC
Size:
5.18 KB
patch
obsolete
># Copyright 1999-2003 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: ># ># 12/05/2003 B.I. Holcomb ># Various mods to make it work like old Winex builds. ># 1. Put winex-cvs-winex and winex-cvs-regedit in ># files directory. Modified wine files. These ># were not included in the winex ># 2. Changed wine.conf man 5 section to be ># winex-cvs.conf man 5 section. ># 3. Created fake_windows directory from wine install. ># >IUSE="cups opengl nptl" > >inherit eutils > >ECVS_SERVER="cvs.transgaming.org:/cvsroot" >ECVS_MODULE="winex" >ECVS_USER="cvs" >ECVS_PASS="cvs" >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} > > >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.2-wcmd.patch > # > # patch for alsa lib 1.0 > # > cd ${S}/dlls/winmm/winealsa > epatch ${FILESDIR}/winex-cvs-3.2-alsa.patch > cd ${S} > # 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 > # and other files taken from wine that are not supplied with winex-cvs. > # Make symlink for winex > # > dodir /usr/bin > cp ${FILESDIR}/${PN}-winex ${D}/usr/bin/winex-cvs > cp ${FILESDIR}/${PN}-regedit ${D}/usr/bin/regedit-winex-cvs > cp ${FILESDIR}/regedit ${D}/usr/lib/winex-cvs/bin/regedit > dosym /usr/bin/winex-cvs /usr/bin/winex > cd ${S} > > # Take care of the other stuff > dodoc ANNOUNCE AUTHORS BUGS ChangeLog DEVELOPERS-HINTS LICENSE README ># ># May not need since we are using Wine fake windows. ># ># 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 > cp ${S}/documentation/wine.man ${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 ># cp ${D}/usr/lib/${PN}/man/man1/wine.conf.5 ${D}/usr/lib/${PN}/man/man5/${PN}.conf.5 > cp ${S}/documentation/wine.conf.man ${D}/usr/lib/${PN}/man/man5/${PN}.conf.5 > doman ${D}/usr/lib/${PN}/man/man5/${PN}.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 or /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 "Manpages have been installed to the system." > einfo "\"man winex-cvs and man winex-cvs.conf\" should show them." >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 34237
:
21192
|
21193
|
22151
|
22152
|
22153
|
22154
|
22155
|
22156
| 22202 |
22204