summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2015-03-12 18:57:04 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2015-03-12 18:57:04 +0000
commitbbc866e809ef8a336a1ca3673fb211a51ce9fe1e (patch)
tree1ccdee2a38c701ec55b79ebc511f094991ca3528 /games-emulation/generator
parentold (diff)
downloadgentoo-2-bbc866e809ef8a336a1ca3673fb211a51ce9fe1e.tar.gz
gentoo-2-bbc866e809ef8a336a1ca3673fb211a51ce9fe1e.tar.bz2
gentoo-2-bbc866e809ef8a336a1ca3673fb211a51ce9fe1e.zip
old
(Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-emulation/generator')
-rw-r--r--games-emulation/generator/ChangeLog8
-rw-r--r--games-emulation/generator/files/generator-0.35_p3-configure.patch94
-rw-r--r--games-emulation/generator/files/generator-0.35_p3-execstacks.patch12
-rw-r--r--games-emulation/generator/files/generator-0.35_p3-underlink.patch11
-rw-r--r--games-emulation/generator/generator-0.35_p3.ebuild68
5 files changed, 7 insertions, 186 deletions
diff --git a/games-emulation/generator/ChangeLog b/games-emulation/generator/ChangeLog
index ce226db0be77..d8c3e5103832 100644
--- a/games-emulation/generator/ChangeLog
+++ b/games-emulation/generator/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-emulation/generator
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/generator/ChangeLog,v 1.31 2015/02/25 15:51:14 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/generator/ChangeLog,v 1.32 2015/03/12 18:57:04 mr_bones_ Exp $
+
+ 12 Mar 2015; Michael Sterrett <mr_bones_@gentoo.org>
+ -files/generator-0.35_p3-configure.patch,
+ -files/generator-0.35_p3-execstacks.patch,
+ -files/generator-0.35_p3-underlink.patch, -generator-0.35_p3.ebuild:
+ old
25 Feb 2015; Agostino Sarubbo <ago@gentoo.org> generator-0.35_p4.ebuild:
Stable for x86, wrt bug #539932
diff --git a/games-emulation/generator/files/generator-0.35_p3-configure.patch b/games-emulation/generator/files/generator-0.35_p3-configure.patch
deleted file mode 100644
index 72ed087bd296..000000000000
--- a/games-emulation/generator/files/generator-0.35_p3-configure.patch
+++ /dev/null
@@ -1,94 +0,0 @@
---- configure.ac.original 2008-03-17 13:07:48.000000000 -0400
-+++ configure.ac 2008-03-17 13:08:03.000000000 -0400
-@@ -28,15 +28,12 @@
- AC_ARG_WITH(tcltk,
- AS_HELP_STRING(--with-tcltk,Create tcltk version),
- MY_PROG="generator-tcltk")
-- AC_ARG_WITH(gtk,
-- AS_HELP_STRING(--with-gtk,Create gtk version),
-- MY_PROG="generator-gtk")
- AC_ARG_WITH(sdl,
- AS_HELP_STRING(--with-sdl,Create SDL version),
- [MY_PROG="generator-sdl"; USE_SDL_AUDIO=yes])
- if [[ "x$MY_PROG" = "x" ]]; then
- AC_MSG_ERROR(You must select a user interface type:
-- svgalib allegro tcltk gtk sdl)
-+ svgalib allegro tcltk sdl)
- fi
- if [[ "x$MY_PROG" = "xgenerator-allegro" ]]; then
- AC_DEFINE(ALLEGRO, 1, [Allegro version])
-@@ -202,50 +199,6 @@
- CFLAGS="$CFLAGS -Wstrict-prototypes -Wunused"
- fi
- fi
-- if [[ "x$DEBUG" != "xno" ]]; then
-- AC_MSG_RESULT(Turning on debug flags)
-- CFLAGS="$CFLAGS -g -O"
-- optimum=no
-- else
-- if [[ "x$GCCVER" != "xno" ]]; then
-- AC_MSG_RESULT(Turning on gcc optimisations)
-- CFLAGS="$CFLAGS -O3 -fomit-frame-pointer"
-- if [[ "x$GCCVER" = "x3" ]]; then
-- AC_MSG_RESULT(Turning on gcc 3 optimisations)
-- CFLAGS="$CFLAGS -fno-math-errno"
-- fi
-- case "$CFLAGS" in
-- *mcpu*|*march*) AC_MSG_RESULT(Skipping target optimisations)
-- ;;
-- *) case "$target_cpu" in
-- i386) AC_MSG_RESULT(Turning on i386 optimisations)
-- CFLAGS="$CFLAGS -march=i386 -ffast-math"
-- ;;
-- i486) AC_MSG_RESULT(Turning on i486 optimisations)
-- CFLAGS="$CFLAGS -march=i486 -ffast-math"
-- ;;
-- i586) AC_MSG_RESULT(Turning on pentium optimisations)
-- # cannot do malign-double as we link to other libraries and
-- # it would break binary compatibility
-- CFLAGS="$CFLAGS -march=pentium -ffast-math"
-- ;;
-- i?86) AC_MSG_RESULT(Turning on i686 optimisations)
-- # cannot do malign-double as we link to other libraries and
-- # it would break binary compatibility
-- CFLAGS="$CFLAGS -march=i686 -ffast-math"
-- ;;
-- alpha*) AC_MSG_RESULT(Adding -mieee for Alpha)
-- CFLAGS="$CFLAGS -mieee"
-- ;;
-- *) AC_MSG_RESULT(Sorry unknown target CPU)
-- ;;
-- esac
-- esac
-- else
-- AC_MSG_WARN(You did not opt for gcc optimisations!)
-- optimum=no
-- fi
-- fi
- AC_CHECK_LIB(jpeg, jpeg_start_compress,
- [ MY_LIBS="-ljpeg $MY_LIBS"; AC_DEFINE(JPEG, 1, [JPEG features]) ])
-
-@@ -272,14 +225,7 @@
-
- AC_PATH_XTRA
-
-- if [[ "x$MY_PROG" = "xgenerator-gtk" ]]; then
-- MY_SUBDIRS="glade gtkopts $MY_SUBDIRS"
-- AM_PATH_GTK(1.2.10,,AC_MSG_ERROR(Generator needs gtk 1.2.10 or later))
-- AM_PATH_SDL(1.2.6,,AC_MSG_ERROR(Generator needs sdk 1.2.6 or later))
--
-- MY_LIBS="$MY_LIBS $X_PRE_LIBS $X_LIBS $X_EXTRA_LIBS"
-- CFLAGS="$CFLAGS $X_CFLAGS"
-- elif [[ "x$MY_PROG" = "xgenerator-sdl" ]]; then
-+ if [[ "x$MY_PROG" = "xgenerator-sdl" ]]; then
- MY_SUBDIRS="gtkopts $MY_SUBDIRS"
- AM_PATH_SDL(1.2.6,,AC_MSG_ERROR(Generator needs sdk 1.2.6 or later))
-
-@@ -305,6 +251,7 @@
- AC_CHECK_SIZEOF(unsigned long, 4)
- AC_CHECK_SIZEOF(unsigned long long, 8)
- AC_CHECK_HEADERS(sys/param.h)
-+ AC_CHECK_HEADERS(sys/time.h)
- AC_CHECK_HEADERS(bzlib.h)
- AC_CHECK_HEADERS(zlib.h)
- AC_CHECK_HEADERS(tcl8.0.h)
diff --git a/games-emulation/generator/files/generator-0.35_p3-execstacks.patch b/games-emulation/generator/files/generator-0.35_p3-execstacks.patch
deleted file mode 100644
index f92ef6121f5a..000000000000
--- a/games-emulation/generator/files/generator-0.35_p3-execstacks.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- raze/Makefile.am.old 2006-09-03 03:17:39.000000000 +0200
-+++ raze/Makefile.am 2006-09-03 03:16:36.000000000 +0200
-@@ -343,6 +343,10 @@
- raze: raze.o
- raze.o: raze.asm raze.reg
- nasm -e raze.asm -o raze2.asm
-+ echo "%ifidn __OUTPUT_FORMAT__,elf" >> raze2.asm
-+ echo "section .note.GNU-stack noalloc noexec nowrite progbits" \
-+ >> raze2.asm
-+ echo "%endif" >> raze2.asm
- nasm -f @ASMOUTPUT@ raze2.asm -o raze.o -praze.reg
-
diff --git a/games-emulation/generator/files/generator-0.35_p3-underlink.patch b/games-emulation/generator/files/generator-0.35_p3-underlink.patch
deleted file mode 100644
index 964a6bea0883..000000000000
--- a/games-emulation/generator/files/generator-0.35_p3-underlink.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- main/Makefile.am.old 2011-06-20 21:35:25.832460030 +0200
-+++ main/Makefile.am 2011-06-20 21:36:29.490503981 +0200
-@@ -7,7 +7,7 @@
- bin_PROGRAMS = @PROGRAM@
- EXTRA_PROGRAMS = generator-svgalib generator-tcltk generator-allegro \
- generator-gtk generator-sdl
--LDADD = ../cpu68k/lib68k.a ../ym2612/libym2612.a @MY_LIBS@ \
-+LDADD = ../cpu68k/lib68k.a ../ym2612/libym2612.a @MY_LIBS@ -lm \
- ../sn76496/libsn76496.a
-
- ## this should be generator_tcltk_DATA but it won't let me do that
diff --git a/games-emulation/generator/generator-0.35_p3.ebuild b/games-emulation/generator/generator-0.35_p3.ebuild
deleted file mode 100644
index 621eacd86697..000000000000
--- a/games-emulation/generator/generator-0.35_p3.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/generator/generator-0.35_p3.ebuild,v 1.10 2014/05/15 16:36:27 ulm Exp $
-
-EAPI=2
-inherit autotools eutils toolchain-funcs games
-
-MY_P=${PN}-${PV/_p/-cbiere-r}
-DESCRIPTION="Sega Genesis / Mega Drive emulator"
-HOMEPAGE="http://www.ghostwhitecrab.com/generator/"
-SRC_URI="http://www.ghostwhitecrab.com/${PN}/${MY_P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="+sdlaudio svga"
-
-DEPEND="virtual/jpeg
- media-libs/libsdl[joystick,video]
- sdlaudio? ( media-libs/libsdl[sound] )
- svga? ( media-libs/svgalib )"
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
- mkdir my-bins
-
- epatch \
- "${FILESDIR}"/${P}-configure.patch \
- "${FILESDIR}"/${P}-underlink.patch
-
- sed -i \
- -e 's/@GTK_CFLAGS@//g' \
- main/Makefile.am \
- || die "sed failed"
- eautoreconf
-}
-
-src_configure() {
- :
-}
-
-# builds SDL by default since otherwise -svga builds nothing
-src_compile() {
- local mygui myguis
-
- myguis="sdl"
- use svga && myguis="${myguis} svgalib"
-
- for mygui in ${myguis}; do
- [[ -f Makefile ]] && emake clean
- egamesconf \
- --with-cmz80 \
- --with-${mygui} \
- --without-tcltk \
- --with-gcc=$(gcc-major-version) \
- $(use_with sdlaudio sdl-audio) \
- --disable-dependency-tracking || die
- emake -j1 || die "building ${mygui}"
- mv main/generator-${mygui} my-bins/
- done
-}
-
-src_install() {
- dogamesbin my-bins/* || die "dogamesbin failed"
- dodoc AUTHORS ChangeLog NEWS README TODO docs/*
- prepgamesdirs
-}