From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jun 7 19:30:15 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B65B16A428 for ; Tue, 7 Jun 2005 19:30:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FF2643D53 for ; Tue, 7 Jun 2005 19:30:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j57JUFhb044765 for ; Tue, 7 Jun 2005 19:30:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j57JUFDC044764; Tue, 7 Jun 2005 19:30:15 GMT (envelope-from gnats) Resent-Date: Tue, 7 Jun 2005 19:30:15 GMT Resent-Message-Id: <200506071930.j57JUFDC044764@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Alejandro Pulver" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02D0916A41C for ; Tue, 7 Jun 2005 19:26:28 +0000 (GMT) (envelope-from alejandro@varnet.biz) Received: from relay.pair.com (relay00.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id A689743D4C for ; Tue, 7 Jun 2005 19:26:27 +0000 (GMT) (envelope-from alejandro@varnet.biz) Received: (qmail 16705 invoked from network); 7 Jun 2005 19:26:23 -0000 Received: from unknown (HELO phobos.mars.bsd) (unknown) by unknown with SMTP; 7 Jun 2005 19:26:23 -0000 Message-Id: <1118172482.0@phobos.mars.bsd> Date: Tue, 7 Jun 2005 16:28:02 -0300 From: "Alejandro Pulver" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.4 Cc: Subject: ports/82007: New port: emulators/generator-cbiere - SEGA Genesis emulator X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jun 2005 19:30:15 -0000 >Number: 82007 >Category: ports >Synopsis: New port: emulators/generator-cbiere - SEGA Genesis emulator >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jun 07 19:30:14 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Alejandro Pulver >Release: FreeBSD 5.4-RELEASE i386 >Organization: >Environment: System: FreeBSD 5.4-RELEASE #0: Sat May 21 12:14:47 ART 2005 root@phobos.mars.bsd:/usr/src/sys/i386/compile/ATHLON-ALE >Description: >How-To-Repeat: >Fix: --- generator-cbiere.shar 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: # # generator-cbiere # generator-cbiere/files # generator-cbiere/files/patch-configure # generator-cbiere/Makefile # generator-cbiere/distinfo # generator-cbiere/pkg-descr # generator-cbiere/pkg-message # echo c - generator-cbiere mkdir -p generator-cbiere > /dev/null 2>&1 echo c - generator-cbiere/files mkdir -p generator-cbiere/files > /dev/null 2>&1 echo x - generator-cbiere/files/patch-configure sed 's/^X//' >generator-cbiere/files/patch-configure << 'END-of-generator-cbiere/files/patch-configure' X*** configure.orig Sun Apr 17 03:19:27 2005 X--- configure Fri Apr 29 18:25:26 2005 X*************** X*** 4179,4185 **** X fi X X if [ "x$GCCVER" != "xno" ]; then X! CFLAGS="$CFLAGS -W -Wall -Wformat=2" X if [ "x$WARN" != "xno" ]; then X CFLAGS="$CFLAGS -Wstrict-prototypes -Wunused" X fi X--- 4179,4185 ---- X fi X X if [ "x$GCCVER" != "xno" ]; then X! # CFLAGS="$CFLAGS -W -Wall -Wformat=2" X if [ "x$WARN" != "xno" ]; then X CFLAGS="$CFLAGS -Wstrict-prototypes -Wunused" X fi END-of-generator-cbiere/files/patch-configure echo x - generator-cbiere/Makefile sed 's/^X//' >generator-cbiere/Makefile << 'END-of-generator-cbiere/Makefile' X# New ports collection makefile for: emulators/generator-cbiere X# Date created: 7 Jun 2005 X# Whom: Alejandro Pulver X# X# $FreeBSD$ X# X XPORTNAME= generator XPORTVERSION= 0.35 XCATEGORIES= emulators XMASTER_SITES= http://www.ghostwhitecrab.com/generator/ XPKGNAMESUFFIX= -cbiere XDISTNAME= ${PORTNAME}-${PORTVERSION}${PKGNAMESUFFIX} X XMAINTAINER= alejandro@varnet.biz XCOMMENT= SEGA Genesis emulator X XLIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg X XUSE_BZIP2= yes XUSE_SDL= sdl XUSE_GMAKE= yes XUSE_GNOME= gtk12 X XOPTIONS= OPTIMIZED_CFLAGS "Enable compilation optimizations" on \ X RAZE "Use RAZE z80 emulation (only for i386)" on \ X SDL_AUDIO "Use SDL for audio" off X XGNU_CONFIGURE= yes XCONFIGURE_ARGS= --program-transform-name=s/${PORTNAME}/${PORTNAME}${PKGNAMESUFFIX}/ XCONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} XCONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ X LDFLAGS="-L${LOCALBASE}/lib" XCONFIGURE_ARGS+= --with-gtk X XPLIST_FILES= bin/${PORTNAME}${PKGNAMESUFFIX}-gtk X XLATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX} X Xpost-install: X @${ECHO_CMD} X @${CAT} ${PKGMESSAGE} X @${ECHO_CMD} X X.include X X.if ${ARCH} == "alpha" && ${OSVERSION} >= 502102 XBROKEN= "Does not configure on alpha 5.x" X.endif X X# Generator needs GCC 2.95.x or GCC >= 3.4.2 to work properly. X# Generator-CBiere automatically determines the GCC version. X X.if ${OSVERSION} < 400012 X# GCC < 2.95 is in the base system. XUSE_GCC= 2.95 X.endif X X.if ${OSVERSION} >= 500035 && ${OSVERSION} < 502126 X# GCC > 2.95 (3.X) && GCC < 3.4.2 is in the base system. XUSE_GCC= 3.4 X.endif X X.if defined(WITHOUT_OPTIMIZED_CFLAGS) XCONFIGURE_ARGS+= --without-gcc X.endif X X.if defined(WITH_RAZE) && ${ARCH} == "i386" XBUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm XCONFIGURE_ARGS+= --with-raze X.else XCONFIGURE_ARGS+= --with-cmz80 X.endif X X.if defined(WITH_SDL_AUDIO) XCONFIGURE_ARGS+= --with-sdl-audio X.endif X X.include END-of-generator-cbiere/Makefile echo x - generator-cbiere/distinfo sed 's/^X//' >generator-cbiere/distinfo << 'END-of-generator-cbiere/distinfo' XMD5 (generator-0.35-cbiere.tar.bz2) = bce3326c165d74e8a00e50355b653e08 XSIZE (generator-0.35-cbiere.tar.bz2) = 454740 END-of-generator-cbiere/distinfo echo x - generator-cbiere/pkg-descr sed 's/^X//' >generator-cbiere/pkg-descr << 'END-of-generator-cbiere/pkg-descr' XSEGA Genesis emulator X XModified version of Generator by James Ponder based on version 0.35. X XAdditional features: X X* Support for BZIP2, GZIP and ZIP compressed ROMs. X* Support for X11's XVideo hardware acceleration by SDL for faster and X smoother graphics. X* Fullscreen support with or without the classic color frame. X* SDL audio support (in favour of OSS Audio) which means you can use ESound X and others for sharing the sound device among other applications. X* Optional mute playing i.e., if you don't have a soundcard or the soundcard X is busy you can still play. X* Support for 48kHz sample rate (needs driver support). X* Automagic CPU usage reduction which is especially cool for notebooks. X* Working support for Game Genie codes. X XAuthor: Christian Biere X XWWW: http://www.ghostwhitecrab.com/generator/ X X- Alejandro Pulver Xalejandro@varnet.biz END-of-generator-cbiere/pkg-descr echo x - generator-cbiere/pkg-message sed 's/^X//' >generator-cbiere/pkg-message << 'END-of-generator-cbiere/pkg-message' XGenerator-CBiere has been installed. X XIf you are using SDL < 1.2.8 and you only see a black window (with sound), try Xthe following (you must have xvattr, otherwise install it from ports): X Xxvattr -a XV_AUTOPAINT_COLORKEY -v 1 X XIf you enabled the option SDL_AUDIO and your sound is delayed try setting the Xvariable "sound_maxfields" and "sound_minfields" in your configuration file X(usually "~/.genrc") to lower values. Like: X X# default: 5 Xsound_minfields = 1 X X# default: 10 Xsound_maxfields = 2 X XIf you want AVI recording set the environment variable "SDL_VIDEO_YUV_HWACCEL" Xto "0". This will disable hardware support for YUV overlays, which causes the Xsmoothing and the green backround when there are no ROMs loaded. But AVIs will Xbe correctly produced. X XTo gain more performance set the CPUTYPE variable in "make.conf" as appropiate X(in addition to enabling the build option OPTIMIZED_CFLAGS), then rebuild and Xinstall generator. X XFor more information visit: http://www.ghostwhitecrab.com/generator/ END-of-generator-cbiere/pkg-message exit --- generator-cbiere.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: