Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 240444

Summary: games-emulation/mupen64 is unmaintained and since has been forked for further deveopment. I have an ebuild that I am submitting under the new project name, mupen64plus.
Product: Gentoo Linux Reporter: Scott Moreau <oreaus>
Component: New packagesAssignee: Christian Birchinger (RETIRED) <joker>
Status: RESOLVED DUPLICATE    
Severity: normal CC: games
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Scott Moreau 2008-10-08 02:45:22 UTC
mupen64 has not been developed in years. mupen64plus is the new fork that provides many bug fixes, and is in active development. (There are so many fixes, I cannot list them all) This ebuild builds all components, as opposed to all the separate mupen packages in current portage.

Reproducible: Always

Steps to Reproduce:
1.Install mupen64
2.Install mupen64plus
3.Compare for yourself

Actual Results:  
I found that mupen64 is not readily usable / too buggy to use, and mupen64plus fixes many many issues.


When I was looking through portage for available packages after my fresh gentoo install, I was surprised to see mupen64. But upon installing, I realised it was far from the latest version. I would like others to have mupen64plus available in the form of a gentoo package, so I started this ebuild.
Comment 1 Scott Moreau 2008-10-08 02:48:10 UTC
Portage 2.2_rc11 (default-linux/x86/2007.0/desktop, gcc-4.1.1, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r7 i686)
=================================================================
System uname: Linux-2.6.25-gentoo-r7-i686-Intel-R-_Pentium-R-_4_CPU_2.80GHz-with-glibc2.0
Timestamp of tree: Sat, 04 Oct 2008 16:36:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r8
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
LDFLAGS=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/desktop-effects /usr/local/portage/layman/my_overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa arts berkdb cairo cdr cli cracklib crypt cups dbus dell divx dri dvd dvdr dvdread eds emboss encode esd evo exif fam ffmpeg firefox flac fortran gdbm gif glitz gnome gpm gstreamer gtk hal iconv ipod ipv6 isdnlog jpeg kerberos ldap mad matroska midi mikmod mms mp2 mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl png postscript pppd python qt3 qt3support qt4 quicktime readline real reflection sdl session spell spl ssl svg tcpd theora tiff truetype unicode vorbis win32codecs wmf wmv x264 x86 xanim xcb xml xorg xpm xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 	emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m 	maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Scott Moreau 2008-10-08 03:53:13 UTC
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit subversion

ESVN_REPO_URI="svn://fascination.homelinux.net:7684/mupen64plus/trunk"
ESVN_PROJECT="mupen64plus-9999"
ESVN_FETCH_CMD="svn checkout --username mupen64 --password Dyson5632-kart"

DESCRIPTION="A Nintendo 64 (N64) emulator"
HOMEPAGE="http://code.google.com/p/mupen64plus/"
SRC_URI=""

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

RDEPEND="virtual/opengl
	media-libs/mesa
	>=x11-libs/gtk+-2
	>=media-libs/libsdl-1.2
	media-libs/sdl-ttf
	>=media-libs/freetype-2
	media-libs/libpng
	sys-libs/zlib"

DEPEND="${RDEPEND}
	dev-util/pkgconfig"

S="${WORKDIR}/trunk"

src_unpack() {
	subversion_src_unpack
	cd "${S}"
	for f in glN64/Makefile jttl_audio/Makefile rice_video/Makefile mupen64_input/Makefile blight_input/Makefile rsp_hle/Makefile glide64/Makefile Makefile
	do
		sed -i '/^version.h: .svn\/entries/, /main\/version.h$/d' "${f}";
	done

	sed 's|@MUPEN_VERSION@|\"1.4\"| ; s|@PLUGIN_VERSION@|\"1.4\"|' main/version.template > version.h

	for d in glN64/ jttl_audio/ rice_video/ mupen64_input/ blight_input/ rsp_hle/ glide64/ main/
	do
		cp version.h "${d}version.h"
	done
}

src_compile() {

	make PREFIX=/usr all || die "Make failed"
}

src_install() {

	make PREFIX="${D}/usr" install || die "Install failed"
}

pkg_postinst() {
	echo
	ewarn "If you are upgrading from a previous version of mupen64,"
	ewarn "backup your saved games then run rm -rf on your"
	ewarn "~/.mupen64plus directory. After launching the new version,"
	ewarn "copy your saved games to their original place. If you have"
	ewarn "problems with missing plugins, make sure sdl-ttf is"
	ewarn "installed on your system. If it is already, try"
	ewarn "reinstalling it."
	echo
}
Comment 3 Tristan Heaven (RETIRED) gentoo-dev 2008-10-08 14:33:12 UTC

*** This bug has been marked as a duplicate of bug 215426 ***