Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Sep 2003 22:30:30 +0200
From:      "alexander" <arundel@gmx.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/56607: Update port: emualtors/vba
Message-ID:  <20030908203030.GA6158@gmx.net>
Resent-Message-ID: <200309082030.h88KUJVU015285@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
	Note: There was a bad value `<[' for the field `>Severity:'.
	It was set to the default value of `serious'.

	Note: There was a bad value `<[' for the field `>Priority:'.
	It was set to the default value of `medium'.


>Number:         56607
>Category:       ports
>Synopsis:       Update port: emualtors/vba
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 08 13:30:19 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     No Name
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
<organization of PR author (multiple lines)>
>Environment:
System: FreeBSD root 4.8-STABLE FreeBSD 4.8-STABLE #0: Wed Aug 27 01:14:14 CEST 2003 arundel@root:/usr/src/sys/compile/ARUNDEL i386


	<machine, os, target, libraries (multiple lines)>
>Description:
	VisualBoyAdvance is currently one of the best Gameboy Advance emulators out there.
>How-To-Repeat:
	<code/input/activities to reproduce the problem (multiple lines)>
>Fix:

	<how to correct or work around the problem, if known (multiple lines)>

--- output begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	./vba/
#	./vba/Makefile
#	./vba/files
#	./vba/files/patch-aa
#	./vba/files/patch-ab
#	./vba/distinfo
#	./vba/pkg-plist
#	./vba/pkg-descr
#
echo c - /usr/ports/emulators/vba/
mkdir -p /usr/ports/emulators/vba/ > /dev/null 2>&1
echo x - /usr/ports/emualtors/vba/Makefile
sed 's/^X//' >/usr/ports/emulators/vba/Makefile << 'END-of-/usr/ports/emulators/vba/Makefile'
X# New ports collection makefile for:	vba
X# Date Created:				02 September 2003
X# Whom:					<arundel@gmx.net>
X#
X# $FreeBSD$
X
XPORTNAME=	vba
XPORTVERSION=	1.6a
XCATEGORIES=	emulators
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
XDISTNAME=	VisualBoyAdvance-src-${PORTVERSION}
X
XMAINTAINER=	arundel@gmx.net
XCOMMENT=	Currently the best Gameboy Advance emulator!
X
XBUILD_DEPENDS=	nasm:${PORTSDIR}/devel/nasm
XLIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png
X
XUSE_X_PREFIX=	yes
XUSE_GMAKE=	yes
XGNU_CONFIGURE=	yes
XUSE_SDL=	yes
XWRKSRC=		${WRKDIR}/VisualBoyAdvance-${PORTVERSION}
X
XTARGET_DIR=	${PREFIX}/bin/
X
X.include <bsd.port.pre.mk>
X
X.if ${OSVERSION} < 500035
XCFLAGS+=	-O0
X.else
XCLAGS+=
X.endif
X
XDATA_FILES=	${WRKSRC}/src/VisualBoyAdvance.cfg
XPROG_FILES=	${WRKSRC}/src/VisualBoyAdvance
XDOC_FILES=	${WRKSRC}/COPYING ${WRKSRC}/COPYRIGHT.TXT ${WRKSRC}/NEWS ${WRKSRC}/README
X
Xpre-everything::
X	@${ECHO_MSG} ""
X	@${ECHO_MSG} "VisualBoyAdvance has the following tunable option(s):"
X	@${ECHO_MSG} ""
X	@${ECHO_MSG} "--enable-gp                  enable GP32 emulation (default is NO)"
X	@${ECHO_MSG} "--enable-c-core              enable C core (default is YES)"
X	@${ECHO_MSG} "--enable-dev                 enable development features (default is YES)"
X	@${ECHO_MSG} "--with-mmx                   use MMX (default is NO)"
X	@${ECHO_MSG} "--with-profiling             enable profiling (default is YES)"
X	@${ECHO_MSG} "--with-sdl-prefix=PFX        Prefix where SDL is installed (optional)"
X	@${ECHO_MSG} "--with-sdl-exec-prefix=PFX   Exec prefix where SDL is installed (optional)"
X	@${ECHO_MSG} "--disable-sdltest            Do not try to compile and run a test SDL program"
X	@${ECHO_MSG} "--with-x                     use the X Window System"
X	@${ECHO_MSG} ""
X	@${ECHO_MSG} "GCC must be 3.x or greater in order to compile GBA.cpp with -O2. Earlier"
X	@${ECHO_MSG} "versions have a problem during optimization that requires an absurd"
X	@${ECHO_MSG} "ammount of memory and usually ends up crashing the compiler/computer"
X	@${ECHO_MSG} ""
X	@${ECHO_MSG} "Note by MAINTAINER: Currently everything < 500035 is being build with -O0"
X	@${ECHO_MSG} "flag. The options above are untested and probably don't work"
X	@${ECHO_MSG} ""
X
Xdo-build:
X	cd ${WRKSRC} && ${GMAKE}
X
Xdo-install:
X	${INSTALL} -d ${TARGET_DIR} && \
X	${INSTALL_PROGRAM} ${PROG_FILES} ${TARGET_DIR} && \
X	${INSTALL_DATA} ${DATA_FILES} ${TARGET_DIR} && \
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_MAN} ${DOC_FILES} ${DOCSDIR}
X.endif
X
X.include <bsd.port.post.mk>
END-of-./vba/Makefile
echo c - ./vba/files
mkdir -p ./vba/files > /dev/null 2>&1
echo x - ./vba/files/patch-aa
sed 's/^X//' >./vba/files/patch-aa << 'END-of-./vba/files/patch-aa'
X*** src/SDL.cpp.orig	Sat Aug 23 16:19:48 2003
X--- src/SDL.cpp	Tue Sep  2 17:59:39 2003
X***************
X*** 619,625 ****
X    }
X  #else
X  #define SDL_CALL_STRETCHER \
X!         asm volatile("call *%%eax"::"a" (stretcher),"S" (src),"D" (dest))
X  #endif
X  #else
X  #define SDL_CALL_STRETCHER \
X--- 619,625 ----
X    }
X  #else
X  #define SDL_CALL_STRETCHER \
X! //        asm volatile("call *%%eax"::"a" (stretcher),"S" (src),"D" (dest))
X  #endif
X  #else
X  #define SDL_CALL_STRETCHER \
END-of-./vba/files/patch-aa
echo x - ./vba/files/patch-ab
sed 's/^X//' >./vba/files/patch-ab << 'END-of-./vba/files/patch-ab'
X*** configure.orig	Sat Aug 23 16:20:50 2003
X--- configure	Fri Sep  5 01:50:01 2003
X***************
X*** 2726,2784 ****
X  
X  fi
X  
X- echo $ac_n "checking for socklen_t""... $ac_c" 1>&6
X- echo "configure:2731: checking for socklen_t" >&5
X- cat > conftest.$ac_ext <<EOF
X- #line 2733 "configure"
X- #include "confdefs.h"
X- #include <sys/socket.h>
X- socklen_t x;
X- 
X- int main() {
X- 
X- ; return 0; }
X- EOF
X- if { (eval echo configure:2742: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
X-   rm -rf conftest*
X-   echo "$ac_t""yes" 1>&6
X- else
X-   echo "configure: failed program was:" >&5
X-   cat conftest.$ac_ext >&5
X-   rm -rf conftest*
X-   
X- cat > conftest.$ac_ext <<EOF
X- #line 2751 "configure"
X- #include "confdefs.h"
X- #include <sys/socket.h>
X- int accept (int, struct sockaddr *, size_t *);
X- 
X- int main() {
X- 
X- ; return 0; }
X- EOF
X- if { (eval echo configure:2760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
X-   rm -rf conftest*
X-   
X- echo "$ac_t""size_t" 1>&6
X- cat >> confdefs.h <<\EOF
X- #define socklen_t size_t
X- EOF
X- 
X- else
X-   echo "configure: failed program was:" >&5
X-   cat conftest.$ac_ext >&5
X-   rm -rf conftest*
X-   
X- echo "$ac_t""int" 1>&6
X- cat >> confdefs.h <<\EOF
X- #define socklen_t int
X- EOF
X- 
X- fi
X- rm -f conftest*
X- fi
X- rm -f conftest*
X- 
X  echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
X  echo "configure:2784: checking whether byte ordering is bigendian" >&5
X  if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
X--- 2726,2731 ----
END-of-./vba/files/patch-ab
echo x - ./vba/distinfo
sed 's/^X//' >./vba/distinfo << 'END-of-./vba/distinfo'
XMD5 (VisualBoyAdvance-src-1.6a.tar.gz) = 4ca771356a274d72b789e39011a1ba9c
END-of-./vba/distinfo
echo x - ./vba/pkg-plist
sed 's/^X//' >./vba/pkg-plist << 'END-of-./vba/pkg-plist'
Xbin/VisualBoyAdvance
Xbin/VisualBoyAdvance.cfg
X%%PORTDOCS%%%%DOCSDIR%%/COPYING
X%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT.TXT
X%%PORTDOCS%%%%DOCSDIR%%/NEWS
X%%PORTDOCS%%%%DOCSDIR%%/README
X@dirrm share/doc/vba
END-of-./vba/pkg-plist
echo x - ./vba/pkg-descr
sed 's/^X//' >./vba/pkg-descr << 'END-of-./vba/pkg-descr'
X- configurable GB/GBA keys, including joystick support
X- option to use BIOS file
X- zip/gzip file support
X- directory selection for save state, battery and screen capture
X- fullscreen mode (selectable resolution)
X- video sizes 1x, 2x, 3x and 4x
X- graphic filters Normal, TV Mode, 2xSaI, Super 2xSaI and more
X- interframe blending support
X- same emulation core as VisualBoyAdvance: GB and GBA emulation
X- built-in ARM/THUMB assembly debugger
X- 10 save states accesible through keyboard
X- automatic battery file load/save
X- auto-fire support
X- pause, reset through keyboard
X- 16, 24 and 32 bit desktop support
X- GDB remote debugging (see below for information)
X- auto frameskipping and throttle
X- AGBPrint support for development
X- RTC support
X
XWWW:  http://vboy.emuhq.com/
END-of-./vba/pkg-descr
exit
--- output ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030908203030.GA6158>