diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-08-24 23:30:37 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-08-24 23:30:37 +0000 |
commit | 7d4e99a0dde37c8c0af547e6aa100642e68097dd (patch) | |
tree | 12e8cce851f7187703af173b7de113a363c69953 /app-emulation | |
parent | added few configure flag improvements from #21071 (diff) | |
download | gentoo-2-7d4e99a0dde37c8c0af547e6aa100642e68097dd.tar.gz gentoo-2-7d4e99a0dde37c8c0af547e6aa100642e68097dd.tar.bz2 gentoo-2-7d4e99a0dde37c8c0af547e6aa100642e68097dd.zip |
fix manpages #26985
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/xmame/Manifest | 9 | ||||
-rw-r--r-- | app-emulation/xmame/files/0.70.1-glx-fix.patch | 19 | ||||
-rw-r--r-- | app-emulation/xmame/files/0.71.1-glx-fix.patch | 19 | ||||
-rw-r--r-- | app-emulation/xmame/files/0.71.1-mips-fix.patch | 26 | ||||
-rw-r--r-- | app-emulation/xmame/files/digest-xmame-0.70.1 | 1 | ||||
-rw-r--r-- | app-emulation/xmame/files/digest-xmame-0.71.1 | 1 | ||||
-rw-r--r-- | app-emulation/xmame/xmame-0.70.1.ebuild | 124 | ||||
-rw-r--r-- | app-emulation/xmame/xmame-0.71.1.ebuild | 125 | ||||
-rw-r--r-- | app-emulation/xmame/xmame-0.72.1.ebuild | 6 | ||||
-rw-r--r-- | app-emulation/xmess/Manifest | 9 | ||||
-rw-r--r-- | app-emulation/xmess/files/0.70.1-glx-fix.patch | 19 | ||||
-rw-r--r-- | app-emulation/xmess/files/0.71.1-glx-fix.patch | 19 | ||||
-rw-r--r-- | app-emulation/xmess/files/0.71.1-mips-fix.patch | 26 | ||||
-rw-r--r-- | app-emulation/xmess/files/digest-xmess-0.70.1 | 1 | ||||
-rw-r--r-- | app-emulation/xmess/files/digest-xmess-0.71.1 | 1 | ||||
-rw-r--r-- | app-emulation/xmess/xmess-0.70.1.ebuild | 124 | ||||
-rw-r--r-- | app-emulation/xmess/xmess-0.71.1.ebuild | 125 | ||||
-rw-r--r-- | app-emulation/xmess/xmess-0.72.1.ebuild | 6 |
18 files changed, 12 insertions, 648 deletions
diff --git a/app-emulation/xmame/Manifest b/app-emulation/xmame/Manifest index 504876dd9fd6..705b24372974 100644 --- a/app-emulation/xmame/Manifest +++ b/app-emulation/xmame/Manifest @@ -1,11 +1,4 @@ -MD5 b9d5b1d5f70db976a728f55426205e87 files/digest-xmame-0.70.1 66 -MD5 13dc5b32bbff98dec74c41dd0c9b33a1 files/0.70.1-glx-fix.patch 597 MD5 13dc5b32bbff98dec74c41dd0c9b33a1 files/0.72.1-glx-fix.patch 597 -MD5 13dc5b32bbff98dec74c41dd0c9b33a1 files/0.71.1-glx-fix.patch 597 -MD5 9765de8e4328a9ac524a7d66802608a4 files/0.71.1-mips-fix.patch 761 -MD5 107286d761f6e59864994eb2870602c8 files/digest-xmame-0.71.1 67 MD5 9e2434931e4fa0ed0cce862961302c8c files/digest-xmame-0.72.1 67 -MD5 a85c7269941f777624906a6583d9a7a1 xmame-0.70.1.ebuild 4173 MD5 c5bc8c71636e39b2fdb20392b95bf13f ChangeLog 3432 -MD5 806f293e28d5bef98370c4d9641246c4 xmame-0.72.1.ebuild 4173 -MD5 8ccacf00fa9d56a3549f337ead259d1c xmame-0.71.1.ebuild 4214 +MD5 15280fd1819b823b4ea530b5488c2889 xmame-0.72.1.ebuild 4251 diff --git a/app-emulation/xmame/files/0.70.1-glx-fix.patch b/app-emulation/xmame/files/0.70.1-glx-fix.patch deleted file mode 100644 index 20d29a9d0573..000000000000 --- a/app-emulation/xmame/files/0.70.1-glx-fix.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff -urN xmame-0.70.1-orig/src/unix/osd_cpu.h xmame-0.70.1/src/unix/osd_cpu.h ---- xmame-0.70.1-orig/src/unix/osd_cpu.h 2003-06-12 05:37:50.000000000 +0200 -+++ xmame-0.70.1/src/unix/osd_cpu.h 2003-07-15 15:09:03.000000000 +0200 -@@ -39,11 +39,15 @@ - #endif - - /* grrr work around some stupid header conflicts */ -+#ifndef xgl - #if !defined __XF86_DGA_C && !defined __XOPENGL_C_ && !defined LONG64 - typedef signed char INT8; - typedef signed short INT16; - typedef signed int INT32; - #endif -+#else -+#include <X11/Xmd.h> -+#endif - - #ifndef LONG64 - typedef signed long long INT64; diff --git a/app-emulation/xmame/files/0.71.1-glx-fix.patch b/app-emulation/xmame/files/0.71.1-glx-fix.patch deleted file mode 100644 index 20d29a9d0573..000000000000 --- a/app-emulation/xmame/files/0.71.1-glx-fix.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff -urN xmame-0.70.1-orig/src/unix/osd_cpu.h xmame-0.70.1/src/unix/osd_cpu.h ---- xmame-0.70.1-orig/src/unix/osd_cpu.h 2003-06-12 05:37:50.000000000 +0200 -+++ xmame-0.70.1/src/unix/osd_cpu.h 2003-07-15 15:09:03.000000000 +0200 -@@ -39,11 +39,15 @@ - #endif - - /* grrr work around some stupid header conflicts */ -+#ifndef xgl - #if !defined __XF86_DGA_C && !defined __XOPENGL_C_ && !defined LONG64 - typedef signed char INT8; - typedef signed short INT16; - typedef signed int INT32; - #endif -+#else -+#include <X11/Xmd.h> -+#endif - - #ifndef LONG64 - typedef signed long long INT64; diff --git a/app-emulation/xmame/files/0.71.1-mips-fix.patch b/app-emulation/xmame/files/0.71.1-mips-fix.patch deleted file mode 100644 index d7259a7967f8..000000000000 --- a/app-emulation/xmame/files/0.71.1-mips-fix.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- xmame-0.71.1-orig/src/cpu/mips/mips3drc.c.orig 2003-08-02 20:49:23.023587861 -0500 -+++ xmame-0.71.1/src/cpu/mips/mips3drc.c 2003-08-02 20:51:44.377905935 -0500 -@@ -162,11 +162,11 @@ - **#################################################################################################*/ - - /* PC and pointer pair */ --struct pc_ptr_pair -+/*struct pc_ptr_pair - { - UINT32 pc; - UINT8 * target; --}; -+};*/ - - - /* memory access function table */ -@@ -358,7 +358,8 @@ - - /* fill in the config */ - memset(&drconfig, 0, sizeof(drconfig)); -- drconfig.cachesize = CACHE_SIZE; -+ drconfig.cache_size = CACHE_SIZE; -+ drconfig.max_instructions = MAX_INSTRUCTIONS; - drconfig.address_bits = 32; - drconfig.lsbs_to_ignore = 2; - drconfig.uses_fp = 1; diff --git a/app-emulation/xmame/files/digest-xmame-0.70.1 b/app-emulation/xmame/files/digest-xmame-0.70.1 deleted file mode 100644 index d0dda2921b8c..000000000000 --- a/app-emulation/xmame/files/digest-xmame-0.70.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 a6ab5e8a70cc6c64f7c364522a1b018f xmame-0.70.1.tar.bz2 9940156 diff --git a/app-emulation/xmame/files/digest-xmame-0.71.1 b/app-emulation/xmame/files/digest-xmame-0.71.1 deleted file mode 100644 index 21eaf8c78dfc..000000000000 --- a/app-emulation/xmame/files/digest-xmame-0.71.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 652341c43e216a96d26a2731b4ab5ffe xmame-0.71.1.tar.bz2 10051496 diff --git a/app-emulation/xmame/xmame-0.70.1.ebuild b/app-emulation/xmame/xmame-0.70.1.ebuild deleted file mode 100644 index 59c04557eb12..000000000000 --- a/app-emulation/xmame/xmame-0.70.1.ebuild +++ /dev/null @@ -1,124 +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/xmame/xmame-0.70.1.ebuild,v 1.5 2003/08/17 23:03:58 vapier Exp $ - -inherit games flag-o-matic gcc eutils - -TARGET=${PN} - -DESCRIPTION="Multiple Arcade Machine Emulator for X11" -SRC_URI="http://x.mame.net/download/xmame-${PV}.tar.bz2" -HOMEPAGE="http://x.mame.net/" - -LICENSE="xmame" -SLOT="0" -KEYWORDS="x86 ~ppc ~sparc ~mips ~alpha" -IUSE="sdl dga xv alsa esd opengl X 3dfx svga ggi arts joystick" - -DEPEND="sys-libs/zlib - sdl? ( >=media-libs/libsdl-1.2.0 ) - alsa? ( media-libs/alsa-lib ) - xv? ( >=x11-base/xfree-4.1.0 ) - dga? ( >=x11-base/xfree-4.1.0 ) - esd? ( >=media-sound/esound-0.2.29 ) - svga? ( media-libs/svgalib ) - ggi? ( media-libs/libggi ) - arts? ( kde-base/arts ) - x86? ( dev-lang/nasm )" - -S=${WORKDIR}/xmame-${PV} - -src_unpack() { - unpack ${A} - - cd ${S} - - epatch ${FILESDIR}/${PV}-glx-fix.patch - - [ ${ARCH} == "x86" ] && sed -i -e '/X86_ASM_68000 =/s:#::' -e '/X86_MIPS3_DRC =/s:#::' Makefile - [ ${ARCH} == "ppc" ] && sed -i '/^MY_CPU/s:i386:risc:' Makefile - [ ${ARCH} == "sparc" ] && sed -i '/^MY_CPU/s:i386:risc:' Makefile - [ ${ARCH} == "alpha" ] && sed -i '/^MY_CPU/s:i386:alpha:' Makefile - [ ${ARCH} == "mips" ] && sed -i '/^MY_CPU/s:i386:mips:' Makefile - - [ ${ARCH} == "x86" ] && [ `use joystick` ] && sed -i '/JOY_I386.*=/s:#::' Makefile - - [ `use esd` ] && sed -i '/SOUND_ESOUND/s:#::' Makefile - [ `use alsa` ] && sed -i '/SOUND_ALSA/s:#::' Makefile - [ `use arts` ] && sed -i '/SOUND_ARTS/s:#::' Makefile - [ `use sdl` ] && sed -i '/SOUND_SDL/s:#::' Makefile - - if [ `use dga` ] ; then - sed -i '/X11_DGA/s:#::' Makefile - [ `use 3dfx` ] && sed -i '/TDFX_DGA_WORKAROUND/s:#::' Makefile - fi - - [ `use xv` ] && sed -i '/X11_XV/s:#::' Makefile - - sed -i \ - -e "/^PREFIX/s:=.*:=/usr:" \ - -e "/^BINDIR/s:=.*:=${GAMES_BINDIR}:" \ - -e "/^XMAMEROOT/s:=.*:=${GAMES_DATADIR}/${TARGET}:" \ - -e "/^TARGET/s:mame:${TARGET:1}:" \ - Makefile - - case ${ARCH} in - x86) append-flags -Wno-unused -fomit-frame-pointer -fstrict-aliasing -fstrength-reduce -ffast-math - [ `gcc-major-version` -eq 3 ] \ - && append-flags -falign-functions=2 -falign-jumps=2 -falign-loops=2 \ - || append-flags -malign-functions=2 -malign-jumps=2 -malign-loops=2 - ;; - ppc) append-flags -Wno-unused -funroll-loops -fstrength-reduce -fomit-frame-pointer -ffast-math -fsigned-char - ;; - esac - sed -i "s:^CFLAGS =:CFLAGS=${CFLAGS}:" Makefile -} - -src_compile() { - [ ! -z "`use X``use dga``use xv`" ] && { make DISPLAY_METHOD=x11 || die; } - [ `use sdl` ] && { make DISPLAY_METHOD=SDL || die; } - [ `use svga` ] && { make DISPLAY_METHOD=svgalib || die; } - [ `use ggi` ] && { make DISPLAY_METHOD=ggi || die; } - [ `use opengl` ] && { make DISPLAY_METHOD=xgl || die; } -} - -src_install() { - sed -i \ - -e "s:^PREFIX.*:PREFIX=${D}/usr:" \ - -e "s:^BINDIR.*:BINDIR=${D}/${GAMES_BINDIR}:" \ - -e "s:^XMAMEROOT.*:XMAMEROOT=${D}/${GAMES_DATADIR}/${TARGET}:" \ - Makefile - - [ ! -z "`use X``use dga``use xv`" ] && { make DISPLAY_METHOD=x11 install || die; } - [ `use sdl` ] && { make DISPLAY_METHOD=SDL install || die; } - [ `use svga` ] && { make DISPLAY_METHOD=svgalib install || die; } - [ `use ggi` ] && { make DISPLAY_METHOD=ggi install || die; } - [ `use opengl` ] && { make DISPLAY_METHOD=xgl install || die; } - - dodoc doc/{changes.*,*.txt,mame/*,${TARGET}rc.dist} README todo - dohtml -r doc/* - - if [ `use opengl` ] ; then - dosym ${TARGET}.xgl ${GAMES_BINDIR}/${TARGET} - elif [ ! -z "`use X``use dga``use xv`" ] ; then - dosym ${TARGET}.x11 ${GAMES_BINDIR}/${TARGET} - elif [ `use sdl` ] ; then - dosym ${TARGET}.SDL ${GAMES_BINDIR}/${TARGET} - elif [ `use svga` ] ; then - dosym ${TARGET}.svgalib ${GAMES_BINDIR}/${TARGET} - elif [ `use ggi` ] ; then - dosym ${TARGET}.ggi ${GAMES_BINDIR}/${TARGET} - fi - - prepgamesdirs -} - -pkg_postinst() { - einfo "Your available MAME binaries are:" - [ ! -z "`use X``use dga``use xv`" ] && einfo " ${TARGET}.x11" - [ `use sdl` ] && einfo " ${TARGET}.SDL" - [ `use svga` ] && einfo " ${TARGET}.svgalib" - [ `use ggi` ] && einfo " ${TARGET}.ggi" - [ `use opengl` ] && einfo " ${TARGET}.xgl" - games_pkg_postinst -} diff --git a/app-emulation/xmame/xmame-0.71.1.ebuild b/app-emulation/xmame/xmame-0.71.1.ebuild deleted file mode 100644 index de7bfaff8993..000000000000 --- a/app-emulation/xmame/xmame-0.71.1.ebuild +++ /dev/null @@ -1,125 +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/xmame/xmame-0.71.1.ebuild,v 1.1 2003/08/16 06:06:12 vapier Exp $ - -inherit games flag-o-matic gcc eutils - -TARGET=${PN} - -DESCRIPTION="Multiple Arcade Machine Emulator for X11" -SRC_URI="http://x.mame.net/download/xmame-${PV}.tar.bz2" -HOMEPAGE="http://x.mame.net/" - -LICENSE="xmame" -SLOT="0" -KEYWORDS="x86 ~ppc ~sparc ~mips ~alpha" -IUSE="sdl dga xv alsa esd opengl X 3dfx svga ggi arts joystick" - -DEPEND="sys-libs/zlib - sdl? ( >=media-libs/libsdl-1.2.0 ) - alsa? ( media-libs/alsa-lib ) - xv? ( >=x11-base/xfree-4.1.0 ) - dga? ( >=x11-base/xfree-4.1.0 ) - esd? ( >=media-sound/esound-0.2.29 ) - svga? ( media-libs/svgalib ) - ggi? ( media-libs/libggi ) - arts? ( kde-base/arts ) - x86? ( dev-lang/nasm )" - -S=${WORKDIR}/xmame-${PV} - -src_unpack() { - unpack ${A} - - cd ${S} - - epatch ${FILESDIR}/${PV}-glx-fix.patch - epatch ${FILESDIR}/${PV}-mips-fix.patch - - [ ${ARCH} == "x86" ] && sed -i -e '/X86_ASM_68000 =/s:#::' -e '/X86_MIPS3_DRC =/s:#::' Makefile - [ ${ARCH} == "ppc" ] && sed -i '/^MY_CPU/s:i386:risc:' Makefile - [ ${ARCH} == "sparc" ] && sed -i '/^MY_CPU/s:i386:risc:' Makefile - [ ${ARCH} == "alpha" ] && sed -i '/^MY_CPU/s:i386:alpha:' Makefile - [ ${ARCH} == "mips" ] && sed -i '/^MY_CPU/s:i386:mips:' Makefile - - [ ${ARCH} == "x86" ] && [ `use joystick` ] && sed -i '/JOY_I386.*=/s:#::' Makefile - - [ `use esd` ] && sed -i '/SOUND_ESOUND/s:#::' Makefile - [ `use alsa` ] && sed -i '/SOUND_ALSA/s:#::' Makefile - [ `use arts` ] && sed -i '/SOUND_ARTS/s:#::' Makefile - [ `use sdl` ] && sed -i '/SOUND_SDL/s:#::' Makefile - - if [ `use dga` ] ; then - sed -i '/X11_DGA/s:#::' Makefile - [ `use 3dfx` ] && sed -i '/TDFX_DGA_WORKAROUND/s:#::' Makefile - fi - - [ `use xv` ] && sed -i '/X11_XV/s:#::' Makefile - - sed -i \ - -e "/^PREFIX/s:=.*:=/usr:" \ - -e "/^BINDIR/s:=.*:=${GAMES_BINDIR}:" \ - -e "/^XMAMEROOT/s:=.*:=${GAMES_DATADIR}/${TARGET}:" \ - -e "/^TARGET/s:mame:${TARGET:1}:" \ - Makefile - - case ${ARCH} in - x86) append-flags -Wno-unused -fomit-frame-pointer -fstrict-aliasing -fstrength-reduce -ffast-math - [ `gcc-major-version` -eq 3 ] \ - && append-flags -falign-functions=2 -falign-jumps=2 -falign-loops=2 \ - || append-flags -malign-functions=2 -malign-jumps=2 -malign-loops=2 - ;; - ppc) append-flags -Wno-unused -funroll-loops -fstrength-reduce -fomit-frame-pointer -ffast-math -fsigned-char - ;; - esac - sed -i "s:^CFLAGS =:CFLAGS=${CFLAGS}:" Makefile -} - -src_compile() { - [ ! -z "`use X``use dga``use xv`" ] && { make DISPLAY_METHOD=x11 || die; } - [ `use sdl` ] && { make DISPLAY_METHOD=SDL || die; } - [ `use svga` ] && { make DISPLAY_METHOD=svgalib || die; } - [ `use ggi` ] && { make DISPLAY_METHOD=ggi || die; } - [ `use opengl` ] && { make DISPLAY_METHOD=xgl || die; } -} - -src_install() { - sed -i \ - -e "s:^PREFIX.*:PREFIX=${D}/usr:" \ - -e "s:^BINDIR.*:BINDIR=${D}/${GAMES_BINDIR}:" \ - -e "s:^XMAMEROOT.*:XMAMEROOT=${D}/${GAMES_DATADIR}/${TARGET}:" \ - Makefile - - [ ! -z "`use X``use dga``use xv`" ] && { make DISPLAY_METHOD=x11 install || die; } - [ `use sdl` ] && { make DISPLAY_METHOD=SDL install || die; } - [ `use svga` ] && { make DISPLAY_METHOD=svgalib install || die; } - [ `use ggi` ] && { make DISPLAY_METHOD=ggi install || die; } - [ `use opengl` ] && { make DISPLAY_METHOD=xgl install || die; } - - dodoc doc/{changes.*,*.txt,mame/*,${TARGET}rc.dist} README todo - dohtml -r doc/* - - if [ `use opengl` ] ; then - dosym ${TARGET}.xgl ${GAMES_BINDIR}/${TARGET} - elif [ ! -z "`use X``use dga``use xv`" ] ; then - dosym ${TARGET}.x11 ${GAMES_BINDIR}/${TARGET} - elif [ `use sdl` ] ; then - dosym ${TARGET}.SDL ${GAMES_BINDIR}/${TARGET} - elif [ `use svga` ] ; then - dosym ${TARGET}.svgalib ${GAMES_BINDIR}/${TARGET} - elif [ `use ggi` ] ; then - dosym ${TARGET}.ggi ${GAMES_BINDIR}/${TARGET} - fi - - prepgamesdirs -} - -pkg_postinst() { - games_pkg_postinst - einfo "Your available MAME binaries are:" - [ ! -z "`use X``use dga``use xv`" ] && einfo " ${TARGET}.x11" - [ `use sdl` ] && einfo " ${TARGET}.SDL" - [ `use svga` ] && einfo " ${TARGET}.svgalib" - [ `use ggi` ] && einfo " ${TARGET}.ggi" - [ `use opengl` ] && einfo " ${TARGET}.xgl" -} diff --git a/app-emulation/xmame/xmame-0.72.1.ebuild b/app-emulation/xmame/xmame-0.72.1.ebuild index d494ed0ef118..f8b0ed7b980f 100644 --- a/app-emulation/xmame/xmame-0.72.1.ebuild +++ b/app-emulation/xmame/xmame-0.72.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/xmame/xmame-0.72.1.ebuild,v 1.1 2003/08/17 23:04:18 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/xmame/xmame-0.72.1.ebuild,v 1.2 2003/08/24 23:29:18 vapier Exp $ inherit games flag-o-matic gcc eutils @@ -84,6 +84,10 @@ src_compile() { src_install() { sed -i \ + -e "s:Xmame:${TARGET}:g" \ + -e "s:xmame:${TARGET}:g" \ + doc/*.6 + sed -i \ -e "s:^PREFIX.*:PREFIX=${D}/usr:" \ -e "s:^BINDIR.*:BINDIR=${D}/${GAMES_BINDIR}:" \ -e "s:^XMAMEROOT.*:XMAMEROOT=${D}/${GAMES_DATADIR}/${TARGET}:" \ diff --git a/app-emulation/xmess/Manifest b/app-emulation/xmess/Manifest index 7bfc38bdbd91..a0182dfc29de 100644 --- a/app-emulation/xmess/Manifest +++ b/app-emulation/xmess/Manifest @@ -1,11 +1,4 @@ -MD5 b9d5b1d5f70db976a728f55426205e87 files/digest-xmess-0.70.1 66 -MD5 13dc5b32bbff98dec74c41dd0c9b33a1 files/0.70.1-glx-fix.patch 597 -MD5 13dc5b32bbff98dec74c41dd0c9b33a1 files/0.71.1-glx-fix.patch 597 -MD5 9765de8e4328a9ac524a7d66802608a4 files/0.71.1-mips-fix.patch 761 -MD5 107286d761f6e59864994eb2870602c8 files/digest-xmess-0.71.1 67 MD5 13dc5b32bbff98dec74c41dd0c9b33a1 files/0.72.1-glx-fix.patch 597 MD5 9e2434931e4fa0ed0cce862961302c8c files/digest-xmess-0.72.1 67 -MD5 70d091dd20584e1f5d7db1242a49174c xmess-0.70.1.ebuild 4173 MD5 d980c686b87013e058dbe08091c427fb ChangeLog 885 -MD5 7e17958c9a2ae945dd4410c9a40a6fdd xmess-0.71.1.ebuild 4214 -MD5 7c39b0419577b184cf7ccb0113eb2625 xmess-0.72.1.ebuild 4173 +MD5 f57f3cd402044e2039235b098d92edd8 xmess-0.72.1.ebuild 4251 diff --git a/app-emulation/xmess/files/0.70.1-glx-fix.patch b/app-emulation/xmess/files/0.70.1-glx-fix.patch deleted file mode 100644 index 20d29a9d0573..000000000000 --- a/app-emulation/xmess/files/0.70.1-glx-fix.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff -urN xmame-0.70.1-orig/src/unix/osd_cpu.h xmame-0.70.1/src/unix/osd_cpu.h ---- xmame-0.70.1-orig/src/unix/osd_cpu.h 2003-06-12 05:37:50.000000000 +0200 -+++ xmame-0.70.1/src/unix/osd_cpu.h 2003-07-15 15:09:03.000000000 +0200 -@@ -39,11 +39,15 @@ - #endif - - /* grrr work around some stupid header conflicts */ -+#ifndef xgl - #if !defined __XF86_DGA_C && !defined __XOPENGL_C_ && !defined LONG64 - typedef signed char INT8; - typedef signed short INT16; - typedef signed int INT32; - #endif -+#else -+#include <X11/Xmd.h> -+#endif - - #ifndef LONG64 - typedef signed long long INT64; diff --git a/app-emulation/xmess/files/0.71.1-glx-fix.patch b/app-emulation/xmess/files/0.71.1-glx-fix.patch deleted file mode 100644 index 20d29a9d0573..000000000000 --- a/app-emulation/xmess/files/0.71.1-glx-fix.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff -urN xmame-0.70.1-orig/src/unix/osd_cpu.h xmame-0.70.1/src/unix/osd_cpu.h ---- xmame-0.70.1-orig/src/unix/osd_cpu.h 2003-06-12 05:37:50.000000000 +0200 -+++ xmame-0.70.1/src/unix/osd_cpu.h 2003-07-15 15:09:03.000000000 +0200 -@@ -39,11 +39,15 @@ - #endif - - /* grrr work around some stupid header conflicts */ -+#ifndef xgl - #if !defined __XF86_DGA_C && !defined __XOPENGL_C_ && !defined LONG64 - typedef signed char INT8; - typedef signed short INT16; - typedef signed int INT32; - #endif -+#else -+#include <X11/Xmd.h> -+#endif - - #ifndef LONG64 - typedef signed long long INT64; diff --git a/app-emulation/xmess/files/0.71.1-mips-fix.patch b/app-emulation/xmess/files/0.71.1-mips-fix.patch deleted file mode 100644 index d7259a7967f8..000000000000 --- a/app-emulation/xmess/files/0.71.1-mips-fix.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- xmame-0.71.1-orig/src/cpu/mips/mips3drc.c.orig 2003-08-02 20:49:23.023587861 -0500 -+++ xmame-0.71.1/src/cpu/mips/mips3drc.c 2003-08-02 20:51:44.377905935 -0500 -@@ -162,11 +162,11 @@ - **#################################################################################################*/ - - /* PC and pointer pair */ --struct pc_ptr_pair -+/*struct pc_ptr_pair - { - UINT32 pc; - UINT8 * target; --}; -+};*/ - - - /* memory access function table */ -@@ -358,7 +358,8 @@ - - /* fill in the config */ - memset(&drconfig, 0, sizeof(drconfig)); -- drconfig.cachesize = CACHE_SIZE; -+ drconfig.cache_size = CACHE_SIZE; -+ drconfig.max_instructions = MAX_INSTRUCTIONS; - drconfig.address_bits = 32; - drconfig.lsbs_to_ignore = 2; - drconfig.uses_fp = 1; diff --git a/app-emulation/xmess/files/digest-xmess-0.70.1 b/app-emulation/xmess/files/digest-xmess-0.70.1 deleted file mode 100644 index d0dda2921b8c..000000000000 --- a/app-emulation/xmess/files/digest-xmess-0.70.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 a6ab5e8a70cc6c64f7c364522a1b018f xmame-0.70.1.tar.bz2 9940156 diff --git a/app-emulation/xmess/files/digest-xmess-0.71.1 b/app-emulation/xmess/files/digest-xmess-0.71.1 deleted file mode 100644 index 21eaf8c78dfc..000000000000 --- a/app-emulation/xmess/files/digest-xmess-0.71.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 652341c43e216a96d26a2731b4ab5ffe xmame-0.71.1.tar.bz2 10051496 diff --git a/app-emulation/xmess/xmess-0.70.1.ebuild b/app-emulation/xmess/xmess-0.70.1.ebuild deleted file mode 100644 index 3aff3255364f..000000000000 --- a/app-emulation/xmess/xmess-0.70.1.ebuild +++ /dev/null @@ -1,124 +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/xmess/xmess-0.70.1.ebuild,v 1.5 2003/08/05 15:15:51 vapier Exp $ - -inherit games flag-o-matic gcc eutils - -TARGET=${PN} - -DESCRIPTION="Multiple Arcade Machine Emulator for X11" -SRC_URI="http://x.mame.net/download/xmame-${PV}.tar.bz2" -HOMEPAGE="http://x.mame.net/" - -LICENSE="xmame" -SLOT="0" -KEYWORDS="x86 ~ppc ~sparc ~mips ~alpha" -IUSE="sdl dga xv alsa esd opengl X 3dfx svga ggi arts joystick" - -DEPEND="sys-libs/zlib - sdl? ( >=media-libs/libsdl-1.2.0 ) - alsa? ( media-libs/alsa-lib ) - xv? ( >=x11-base/xfree-4.1.0 ) - dga? ( >=x11-base/xfree-4.1.0 ) - esd? ( >=media-sound/esound-0.2.29 ) - svga? ( media-libs/svgalib ) - ggi? ( media-libs/libggi ) - arts? ( kde-base/arts ) - x86? ( dev-lang/nasm )" - -S=${WORKDIR}/xmame-${PV} - -src_unpack() { - unpack ${A} - - cd ${S} - - epatch ${FILESDIR}/${PV}-glx-fix.patch - - [ ${ARCH} == "x86" ] && sed -i -e '/X86_ASM_68000 =/s:#::' -e '/X86_MIPS3_DRC =/s:#::' Makefile - [ ${ARCH} == "ppc" ] && sed -i '/^MY_CPU/s:i386:risc:' Makefile - [ ${ARCH} == "sparc" ] && sed -i '/^MY_CPU/s:i386:risc:' Makefile - [ ${ARCH} == "alpha" ] && sed -i '/^MY_CPU/s:i386:alpha:' Makefile - [ ${ARCH} == "mips" ] && sed -i '/^MY_CPU/s:i386:mips:' Makefile - - [ ${ARCH} == "x86" ] && [ `use joystick` ] && sed -i '/JOY_I386.*=/s:#::' Makefile - - [ `use esd` ] && sed -i '/SOUND_ESOUND/s:#::' Makefile - [ `use alsa` ] && sed -i '/SOUND_ALSA/s:#::' Makefile - [ `use arts` ] && sed -i '/SOUND_ARTS/s:#::' Makefile - [ `use sdl` ] && sed -i '/SOUND_SDL/s:#::' Makefile - - if [ `use dga` ] ; then - sed -i '/X11_DGA/s:#::' Makefile - [ `use 3dfx` ] && sed -i '/TDFX_DGA_WORKAROUND/s:#::' Makefile - fi - - [ `use xv` ] && sed -i '/X11_XV/s:#::' Makefile - - sed -i \ - -e "/^PREFIX/s:=.*:=/usr:" \ - -e "/^BINDIR/s:=.*:=${GAMES_BINDIR}:" \ - -e "/^XMAMEROOT/s:=.*:=${GAMES_DATADIR}/${TARGET}:" \ - -e "/^TARGET/s:mame:${TARGET:1}:" \ - Makefile - - case ${ARCH} in - x86) append-flags -Wno-unused -fomit-frame-pointer -fstrict-aliasing -fstrength-reduce -ffast-math - [ `gcc-major-version` -eq 3 ] \ - && append-flags -falign-functions=2 -falign-jumps=2 -falign-loops=2 \ - || append-flags -malign-functions=2 -malign-jumps=2 -malign-loops=2 - ;; - ppc) append-flags -Wno-unused -funroll-loops -fstrength-reduce -fomit-frame-pointer -ffast-math -fsigned-char - ;; - esac - sed -i "s:^CFLAGS =:CFLAGS=${CFLAGS}:" Makefile -} - -src_compile() { - [ ! -z "`use X``use dga``use xv`" ] && { make DISPLAY_METHOD=x11 || die; } - [ `use sdl` ] && { make DISPLAY_METHOD=SDL || die; } - [ `use svga` ] && { make DISPLAY_METHOD=svgalib || die; } - [ `use ggi` ] && { make DISPLAY_METHOD=ggi || die; } - [ `use opengl` ] && { make DISPLAY_METHOD=xgl || die; } -} - -src_install() { - sed -i \ - -e "s:^PREFIX.*:PREFIX=${D}/usr:" \ - -e "s:^BINDIR.*:BINDIR=${D}/${GAMES_BINDIR}:" \ - -e "s:^XMAMEROOT.*:XMAMEROOT=${D}/${GAMES_DATADIR}/${TARGET}:" \ - Makefile - - [ ! -z "`use X``use dga``use xv`" ] && { make DISPLAY_METHOD=x11 install || die; } - [ `use sdl` ] && { make DISPLAY_METHOD=SDL install || die; } - [ `use svga` ] && { make DISPLAY_METHOD=svgalib install || die; } - [ `use ggi` ] && { make DISPLAY_METHOD=ggi install || die; } - [ `use opengl` ] && { make DISPLAY_METHOD=xgl install || die; } - - dodoc doc/{changes.*,*.txt,mame/*,${TARGET}rc.dist} README todo - dohtml -r doc/* - - if [ `use opengl` ] ; then - dosym ${TARGET}.xgl ${GAMES_BINDIR}/${TARGET} - elif [ ! -z "`use X``use dga``use xv`" ] ; then - dosym ${TARGET}.x11 ${GAMES_BINDIR}/${TARGET} - elif [ `use sdl` ] ; then - dosym ${TARGET}.SDL ${GAMES_BINDIR}/${TARGET} - elif [ `use svga` ] ; then - dosym ${TARGET}.svgalib ${GAMES_BINDIR}/${TARGET} - elif [ `use ggi` ] ; then - dosym ${TARGET}.ggi ${GAMES_BINDIR}/${TARGET} - fi - - prepgamesdirs -} - -pkg_postinst() { - einfo "Your available MAME binaries are:" - [ ! -z "`use X``use dga``use xv`" ] && einfo " ${TARGET}.x11" - [ `use sdl` ] && einfo " ${TARGET}.SDL" - [ `use svga` ] && einfo " ${TARGET}.svgalib" - [ `use ggi` ] && einfo " ${TARGET}.ggi" - [ `use opengl` ] && einfo " ${TARGET}.xgl" - games_pkg_postinst -} diff --git a/app-emulation/xmess/xmess-0.71.1.ebuild b/app-emulation/xmess/xmess-0.71.1.ebuild deleted file mode 100644 index 90641e925040..000000000000 --- a/app-emulation/xmess/xmess-0.71.1.ebuild +++ /dev/null @@ -1,125 +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/xmess/xmess-0.71.1.ebuild,v 1.1 2003/08/16 06:07:03 vapier Exp $ - -inherit games flag-o-matic gcc eutils - -TARGET=${PN} - -DESCRIPTION="Multiple Arcade Machine Emulator for X11" -SRC_URI="http://x.mame.net/download/xmame-${PV}.tar.bz2" -HOMEPAGE="http://x.mame.net/" - -LICENSE="xmame" -SLOT="0" -KEYWORDS="x86 ~ppc ~sparc ~mips ~alpha" -IUSE="sdl dga xv alsa esd opengl X 3dfx svga ggi arts joystick" - -DEPEND="sys-libs/zlib - sdl? ( >=media-libs/libsdl-1.2.0 ) - alsa? ( media-libs/alsa-lib ) - xv? ( >=x11-base/xfree-4.1.0 ) - dga? ( >=x11-base/xfree-4.1.0 ) - esd? ( >=media-sound/esound-0.2.29 ) - svga? ( media-libs/svgalib ) - ggi? ( media-libs/libggi ) - arts? ( kde-base/arts ) - x86? ( dev-lang/nasm )" - -S=${WORKDIR}/xmame-${PV} - -src_unpack() { - unpack ${A} - - cd ${S} - - epatch ${FILESDIR}/${PV}-glx-fix.patch - epatch ${FILESDIR}/${PV}-mips-fix.patch - - [ ${ARCH} == "x86" ] && sed -i -e '/X86_ASM_68000 =/s:#::' -e '/X86_MIPS3_DRC =/s:#::' Makefile - [ ${ARCH} == "ppc" ] && sed -i '/^MY_CPU/s:i386:risc:' Makefile - [ ${ARCH} == "sparc" ] && sed -i '/^MY_CPU/s:i386:risc:' Makefile - [ ${ARCH} == "alpha" ] && sed -i '/^MY_CPU/s:i386:alpha:' Makefile - [ ${ARCH} == "mips" ] && sed -i '/^MY_CPU/s:i386:mips:' Makefile - - [ ${ARCH} == "x86" ] && [ `use joystick` ] && sed -i '/JOY_I386.*=/s:#::' Makefile - - [ `use esd` ] && sed -i '/SOUND_ESOUND/s:#::' Makefile - [ `use alsa` ] && sed -i '/SOUND_ALSA/s:#::' Makefile - [ `use arts` ] && sed -i '/SOUND_ARTS/s:#::' Makefile - [ `use sdl` ] && sed -i '/SOUND_SDL/s:#::' Makefile - - if [ `use dga` ] ; then - sed -i '/X11_DGA/s:#::' Makefile - [ `use 3dfx` ] && sed -i '/TDFX_DGA_WORKAROUND/s:#::' Makefile - fi - - [ `use xv` ] && sed -i '/X11_XV/s:#::' Makefile - - sed -i \ - -e "/^PREFIX/s:=.*:=/usr:" \ - -e "/^BINDIR/s:=.*:=${GAMES_BINDIR}:" \ - -e "/^XMAMEROOT/s:=.*:=${GAMES_DATADIR}/${TARGET}:" \ - -e "/^TARGET/s:mame:${TARGET:1}:" \ - Makefile - - case ${ARCH} in - x86) append-flags -Wno-unused -fomit-frame-pointer -fstrict-aliasing -fstrength-reduce -ffast-math - [ `gcc-major-version` -eq 3 ] \ - && append-flags -falign-functions=2 -falign-jumps=2 -falign-loops=2 \ - || append-flags -malign-functions=2 -malign-jumps=2 -malign-loops=2 - ;; - ppc) append-flags -Wno-unused -funroll-loops -fstrength-reduce -fomit-frame-pointer -ffast-math -fsigned-char - ;; - esac - sed -i "s:^CFLAGS =:CFLAGS=${CFLAGS}:" Makefile -} - -src_compile() { - [ ! -z "`use X``use dga``use xv`" ] && { make DISPLAY_METHOD=x11 || die; } - [ `use sdl` ] && { make DISPLAY_METHOD=SDL || die; } - [ `use svga` ] && { make DISPLAY_METHOD=svgalib || die; } - [ `use ggi` ] && { make DISPLAY_METHOD=ggi || die; } - [ `use opengl` ] && { make DISPLAY_METHOD=xgl || die; } -} - -src_install() { - sed -i \ - -e "s:^PREFIX.*:PREFIX=${D}/usr:" \ - -e "s:^BINDIR.*:BINDIR=${D}/${GAMES_BINDIR}:" \ - -e "s:^XMAMEROOT.*:XMAMEROOT=${D}/${GAMES_DATADIR}/${TARGET}:" \ - Makefile - - [ ! -z "`use X``use dga``use xv`" ] && { make DISPLAY_METHOD=x11 install || die; } - [ `use sdl` ] && { make DISPLAY_METHOD=SDL install || die; } - [ `use svga` ] && { make DISPLAY_METHOD=svgalib install || die; } - [ `use ggi` ] && { make DISPLAY_METHOD=ggi install || die; } - [ `use opengl` ] && { make DISPLAY_METHOD=xgl install || die; } - - dodoc doc/{changes.*,*.txt,mame/*,${TARGET}rc.dist} README todo - dohtml -r doc/* - - if [ `use opengl` ] ; then - dosym ${TARGET}.xgl ${GAMES_BINDIR}/${TARGET} - elif [ ! -z "`use X``use dga``use xv`" ] ; then - dosym ${TARGET}.x11 ${GAMES_BINDIR}/${TARGET} - elif [ `use sdl` ] ; then - dosym ${TARGET}.SDL ${GAMES_BINDIR}/${TARGET} - elif [ `use svga` ] ; then - dosym ${TARGET}.svgalib ${GAMES_BINDIR}/${TARGET} - elif [ `use ggi` ] ; then - dosym ${TARGET}.ggi ${GAMES_BINDIR}/${TARGET} - fi - - prepgamesdirs -} - -pkg_postinst() { - games_pkg_postinst - einfo "Your available MAME binaries are:" - [ ! -z "`use X``use dga``use xv`" ] && einfo " ${TARGET}.x11" - [ `use sdl` ] && einfo " ${TARGET}.SDL" - [ `use svga` ] && einfo " ${TARGET}.svgalib" - [ `use ggi` ] && einfo " ${TARGET}.ggi" - [ `use opengl` ] && einfo " ${TARGET}.xgl" -} diff --git a/app-emulation/xmess/xmess-0.72.1.ebuild b/app-emulation/xmess/xmess-0.72.1.ebuild index b996f565b6ff..2c4675475f55 100644 --- a/app-emulation/xmess/xmess-0.72.1.ebuild +++ b/app-emulation/xmess/xmess-0.72.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/xmess/xmess-0.72.1.ebuild,v 1.1 2003/08/17 23:05:05 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/xmess/xmess-0.72.1.ebuild,v 1.2 2003/08/24 23:29:48 vapier Exp $ inherit games flag-o-matic gcc eutils @@ -84,6 +84,10 @@ src_compile() { src_install() { sed -i \ + -e "s:Xmame:${TARGET}:g" \ + -e "s:xmame:${TARGET}:g" \ + doc/*.6 + sed -i \ -e "s:^PREFIX.*:PREFIX=${D}/usr:" \ -e "s:^BINDIR.*:BINDIR=${D}/${GAMES_BINDIR}:" \ -e "s:^XMAMEROOT.*:XMAMEROOT=${D}/${GAMES_DATADIR}/${TARGET}:" \ |