From owner-freebsd-emulation@FreeBSD.ORG Sun Jul 30 16:50:57 2006 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8FE7616A4DF for ; Sun, 30 Jul 2006 16:50:57 +0000 (UTC) (envelope-from jjreynold@ip68-228-216-71.ph.ph.cox.net) Received: from fed1rmmtao09.cox.net (fed1rmmtao09.cox.net [68.230.241.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id E552143D45 for ; Sun, 30 Jul 2006 16:50:56 +0000 (GMT) (envelope-from jjreynold@ip68-228-216-71.ph.ph.cox.net) Received: from ip68-228-216-71.ph.ph.cox.net ([68.228.216.71]) by fed1rmmtao09.cox.net (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with ESMTP id <20060730165056.LMEA6303.fed1rmmtao09.cox.net@ip68-228-216-71.ph.ph.cox.net> for ; Sun, 30 Jul 2006 12:50:56 -0400 Received: from whale.home-net (whale.home-net [192.168.1.2]) by ip68-228-216-71.ph.ph.cox.net (8.13.4/8.13.4) with ESMTP id k6UGourb006427 for ; Sun, 30 Jul 2006 09:50:56 -0700 (MST) (envelope-from jjreynold@dolphin.home-net) Received: from whale.home-net (localhost [127.0.0.1]) by whale.home-net (8.13.6/8.13.6) with ESMTP id k6UGotO8002007 for ; Sun, 30 Jul 2006 09:50:55 -0700 (MST) (envelope-from jjreynold@whale.home-net) Received: (from jjreynold@localhost) by whale.home-net (8.13.6/8.13.6/Submit) id k6UGotYF002004; Sun, 30 Jul 2006 09:50:55 -0700 (MST) (envelope-from jjreynold) From: John Reynolds MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17612.58223.497204.510597@whale.home-net> Date: Sun, 30 Jul 2006 09:50:55 -0700 To: emulation@freebsd.org X-Mailer: VM 7.19 under Emacs 21.3.1 Cc: Subject: did QEMU mysteriously stop working for anybody else? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jul 2006 16:50:57 -0000 Hi all, back after I installed 6.1-BETA2 I installed the QEMU port (I think it was 0.8.0 or 0.7.9 during that time period). Everything worked like a charm with zero issues. However, I've recently upgraded to the latest -STABLE as of 6.1-STABLE FreeBSD 6.1-STABLE #0: Wed Jul 19 07:48:52 MST 2006 and now even the latest QEMU port doesn't work. There aren't any diagnostic messages printed to the screen, no nothing. There are no messages in the syslog or anywhere else I can find. When I fire it up using the same command qemu -localtime -hda /disk1/qemu/xp.img -m 256 -net nic -net tap the X screen blanks out (as if the monitor is turning off) for about a second, then comes back. It does this one more time, and then I'm sitting at the prompt of the xterm I launched qemu in. I've totally recompiled the port including the kqemu-kmod port so nothing is 'out of sync' there. Before I recompiled the port completely, when I fired up QEMU it would *reboot* the machine....repeatably. I thought maybe my image of WinXP that I had made and used for upwards of 5-8 weeks was "corrupted" somehow, so I started with a new image and tried to load QEMU while "booting" an XP disk to reinstall everything under this new image. Same behavior. X "blanks" comes back, "blanks" again, and then nothing. Has this happened to anybody else? Anybody got any hints on what to look for or try? I was *really* enjoying having QEMU around and miss it now . Thanks, -Jr -- John & Jennifer Reynolds johnjen at reynoldsnet.org www.reynoldsnet.org Structural / Physical Design - DEG/SG jreynold at sedona.ch.intel.com Running FreeBSD since 2.1.5-RELEASE. FreeBSD: The Power to Serve! "Unix is user friendly, it's just particular about the friends it chooses." From owner-freebsd-emulation@FreeBSD.ORG Mon Jul 31 11:03:48 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D8B316A548 for ; Mon, 31 Jul 2006 11:03:48 +0000 (UTC) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91E3A43D82 for ; Mon, 31 Jul 2006 11:02:58 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k6VB2s7f051775 for ; Mon, 31 Jul 2006 11:02:54 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k6VB2rpk051771 for freebsd-emulation@freebsd.org; Mon, 31 Jul 2006 11:02:53 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 31 Jul 2006 11:02:53 GMT Message-Id: <200607311102.k6VB2rpk051771@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-emulation@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jul 2006 11:03:48 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/09/22] kern/21463 emulation [linux] Linux compatability mode should n f [2002/11/07] kern/45023 emulation [linux] [patch] flexlm does not run with o [2005/02/19] kern/77710 emulation [linux] Linux page fault sigcontext infor 3 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [1999/04/16] kern/11165 emulation [ibcs2] IBCS2 doesn't work correctly with o [2001/08/14] kern/29698 emulation [linux] [patch] linux ipcs doesn'work o [2002/06/12] kern/39201 emulation [linux] [patch] ptrace(2) and rfork(RFLIN o [2002/08/11] kern/41543 emulation [patch] feature request: easier wine/w23 o [2003/08/21] kern/55835 emulation [linux] [patch] Linux IPC emulation missi a [2004/10/20] kern/72920 emulation [linux]: path "prefixing" is not done on o [2004/11/10] kern/73777 emulation [linux] [patch] linux emulation: root dir o [2006/01/04] kern/91293 emulation [svr4] [patch] *Experimental* Update to t o [2006/07/22] ports/100714emulation /u/p/graphics/linux_dri broken 9 problems total. From owner-freebsd-emulation@FreeBSD.ORG Mon Jul 31 13:21:36 2006 Return-Path: X-Original-To: freebsd-emulation@hub.freebsd.org Delivered-To: freebsd-emulation@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 12A5216A4E0; Mon, 31 Jul 2006 13:21:36 +0000 (UTC) (envelope-from netchild@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A8C043D6A; Mon, 31 Jul 2006 13:21:33 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from freefall.freebsd.org (netchild@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k6VDLXSX066799; Mon, 31 Jul 2006 13:21:33 GMT (envelope-from netchild@freefall.freebsd.org) Received: (from netchild@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k6VDLXKX066795; Mon, 31 Jul 2006 13:21:33 GMT (envelope-from netchild) Date: Mon, 31 Jul 2006 13:21:33 GMT From: Alexander Leidinger Message-Id: <200607311321.k6VDLXKX066795@freefall.freebsd.org> To: sax@noart.de, netchild@FreeBSD.org, freebsd-emulation@FreeBSD.org Cc: Subject: Re: ports/100714: /u/p/graphics/linux_dri broken X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jul 2006 13:21:36 -0000 Synopsis: /u/p/graphics/linux_dri broken State-Changed-From-To: open->closed State-Changed-By: netchild State-Changed-When: Mon Jul 31 13:17:17 UTC 2006 State-Changed-Why: I marked the port as IGNORE on 4.x. I don't have a suitable system to test/determine how to fix it in the port. http://www.freebsd.org/cgi/query-pr.cgi?pr=100714 From owner-freebsd-emulation@FreeBSD.ORG Mon Jul 31 17:37:40 2006 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F21A16A4E2 for ; Mon, 31 Jul 2006 17:37:40 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: from kiwi-computer.com (megan.kiwi-computer.com [63.224.10.3]) by mx1.FreeBSD.org (Postfix) with SMTP id 96D9C43D46 for ; Mon, 31 Jul 2006 17:37:36 +0000 (GMT) (envelope-from rick@kiwi-computer.com) Received: (qmail 84308 invoked by uid 2001); 31 Jul 2006 17:37:36 -0000 Date: Mon, 31 Jul 2006 12:37:36 -0500 From: "Rick C. Petty" To: John Reynolds Message-ID: <20060731173735.GB84042@megan.kiwi-computer.com> References: <17612.58223.497204.510597@whale.home-net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17612.58223.497204.510597@whale.home-net> User-Agent: Mutt/1.4.2.1i Cc: emulation@freebsd.org Subject: Re: did QEMU mysteriously stop working for anybody else? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rick-freebsd@kiwi-computer.com List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jul 2006 17:37:40 -0000 On Sun, Jul 30, 2006 at 09:50:55AM -0700, John Reynolds wrote: > Hi all, back after I installed 6.1-BETA2 I installed the QEMU port (I think it > was 0.8.0 or 0.7.9 during that time period). Everything worked like a charm > with zero issues. > > However, I've recently upgraded to the latest -STABLE as of > > 6.1-STABLE FreeBSD 6.1-STABLE #0: Wed Jul 19 07:48:52 MST 2006 > > and now even the latest QEMU port doesn't work. There aren't any diagnostic > messages printed to the screen, no nothing. There are no messages in the syslog > or anywhere else I can find. When I fire it up using the same > command > > qemu -localtime -hda /disk1/qemu/xp.img -m 256 -net nic -net tap > > the X screen blanks out (as if the monitor is turning off) for about a second, > then comes back. It does this one more time, and then I'm sitting at the prompt This is a strange behavior. You're not forcing it into fullscreen mode, so why would X even blank out? It should be running in a window. Are you sure there is no other diagnostic? It's working fine for me (by "fine" I mean: it boots windows but there are some other minor bugs). I'm running -STABLE as of Fri Jul 21 15:01:12 CDT 2006. You're also running an old version of qemu. I have qemu-0.8.1_2. I'd first try upgrading and see if the problem persists. -- Rick C. Petty From owner-freebsd-emulation@FreeBSD.ORG Tue Aug 1 19:38:42 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCA9516A4DA for ; Tue, 1 Aug 2006 19:38:42 +0000 (UTC) (envelope-from robb_force@hotmail.com) Received: from bay0-omc2-s41.bay0.hotmail.com (bay0-omc2-s41.bay0.hotmail.com [65.54.246.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 668EC43D4C for ; Tue, 1 Aug 2006 19:38:42 +0000 (GMT) (envelope-from robb_force@hotmail.com) Received: from hotmail.com ([207.46.9.149]) by bay0-omc2-s41.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 1 Aug 2006 12:38:42 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 1 Aug 2006 12:38:42 -0700 Message-ID: Received: from 209.36.244.254 by BAY120-DAV11.phx.gbl with DAV; Tue, 01 Aug 2006 19:38:38 +0000 X-Originating-IP: [209.36.244.254] X-Originating-Email: [robb_force@hotmail.com] X-Sender: robb_force@hotmail.com From: "Robb Force" To: Date: Tue, 1 Aug 2006 12:38:37 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 X-OriginalArrivalTime: 01 Aug 2006 19:38:42.0293 (UTC) FILETIME=[1841C250:01C6B5A2] Subject: Need help creating Daphne laserdisc emulator port X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Aug 2006 19:38:42 -0000 I'm not sure if I'm sending this to the right list since this seems to be devoted primarily to emulating operating systems. I thought I would give it a shot, my apologies if I was wrong. I'm also sorry for the length of this email! I would like to create a port of the Daphne laserdisc emulator and have made some progress I think. This is my first attempt at anything like this and I'm very new to Unix. Before I attempt anything further I could use some pointers. I discovered there is a work-in-progress port for this at NetBSD's site, so I borrowed part of it's pkg list and other things hoping to make this easier. I've also looked at several other FreeBSD ports that used the same libraries. Here is my Makefile so far: <--------------------------------------------------------------------------- ------------ # New ports collection makefile for: daphne # Date created: 31 July 2006 # Whom: Nathaniel Roark # # $FreeBSD$ # PORTNAME= daphne PORTVERSION= 0.99.7 CATEGORIES= emulators MASTER_SITES= http://www.daphne-emu.com/download/ DISTNAME= ${PORTNAME}-${PORTVERSION}c-src MAINTAINER= ports@FreeBSD.org COMMENT= A multiple arcade laserdisc emulator BUILD_DEPENDS= gsed:${PORTSDIR}/textproc/gsed LIB_DEPENDS= ogg:${PORTSDIR}/audio/libogg \ vorbis:${PORTSDIR}/audio/libvorbis USE_GCC= 3.4+ USE_GMAKE= yes GNU_CONFIGURE= yes USE_SDL= sdl mixer USE_LDCONFIG= ${PREFIX}/lib/daphne .if ${MACHINE_ARCH} == "i386" MAKE_ENV+= USE_MMX_RGB2YUV=1 MAKE_ENV+= PFLAGS="-DNATIVE_CPU_X86 -DMMX_RGB2YUV" .endif WRKSRC= ${WRKDIR}/${PORTNAME} post-extract: ${CP} ${WRKSRC}/src/Makefile.vars.freebsd_x86 ${WRKSRC}/src/Makefile.vars do-install: ${INSTALL_PROGRAM} ${WRKSRC}/daphne ${PREFIX}/bin ${MKDIR} ${PREFIX}/lib/daphne ${INSTALL_DATA} ${WRKSRC}/libvldp2.so ${PREFIX}/lib/daphne ${MKDIR} ${DATADIR} ${MKDIR} ${DATADIR}/pics ${INSTALL_DATA} ${WRKSRC}/pics/*.bmp ${DATADIR}/pics ${MKDIR} ${DATADIR}/sound ${INSTALL_DATA} ${WRKSRC}/sound/*.wav ${DATADIR}/sound ${INSTALL_DATA} ${WRKSRC}/sound/*.ogg ${DATADIR}/sound .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${{INSTALL_MAN}} ${WRKSRC}/doc/docs.html ${DOCSDIR}/index.html ${MKDIR} ${DOCSDIR}/graphics ${INSTALL_MAN} ${WRKSRC}/doc/docs_files/*.[Jj][Pp][Gg] ${DOCSDIR}/graphics .endif .include <-------------------------------------------------------------- The items I would like to point out: - The machine_arch check for i386 is in the NetBSD port. I don't know enough about environment flags and haven't seen any detailed docs about it so I'm at a loss on how to alter this for FreeBSD. - There is a note in the Daphne instructions that explains "You also need to compile libvldp2.so which comes with DAPHNE and has its own set of instructions inside the vldp2 directory. Go read those after you're done here." I only see "CONFIGURE_DIRS= src/vldp2" and installing the library in the NetBSD makefile. Here's the link I've been referring to http://pkgsrc.se/wip/daphne - I added the line "USE_LDCONFIG= ${PREFIX}/lib/daphne" since the port will add a shared library to /usr/local/lib/daphne. Is this correct? - Lastly, I borrowed this from the other port "${INSTALL_MAN} ${WRKSRC}/doc/docs_files/*.[Jj][Pp][Gg] ${DOCSDIR}/graphics" and am unsure if this will work in FreeBSD. Here is the pkg-plist: <------------------------------------------------------------ bin/daphne lib/daphne/libvldp2.so share/daphne/pics/ConsoleFont.bmp share/daphne/pics/credits.bmp share/daphne/pics/gamenowook.bmp share/daphne/pics/ldp1450.bmp share/daphne/pics/led0.bmp share/daphne/pics/led1.bmp share/daphne/pics/led2.bmp share/daphne/pics/led3.bmp share/daphne/pics/led4.bmp share/daphne/pics/led5.bmp share/daphne/pics/led6.bmp share/daphne/pics/led7.bmp share/daphne/pics/led8.bmp share/daphne/pics/led9.bmp share/daphne/pics/led10.bmp share/daphne/pics/led11.bmp share/daphne/pics/led12.bmp share/daphne/pics/led13.bmp share/daphne/pics/led14.bmp share/daphne/pics/led15.bmp share/daphne/pics/led16.bmp share/daphne/pics/lives.bmp share/daphne/pics/overlayleds1.bmp share/daphne/pics/overlayleds2.bmp share/daphne/pics/player1.bmp share/daphne/pics/player2.bmp share/daphne/pics/saveme.bmp share/daphne/sound/ab_alarm1.wav share/daphne/sound/ab_alarm2.wav share/daphne/sound/ab_alarm3.wav share/daphne/sound/ab_alarm4.wav share/daphne/sound/ab_enemy.wav share/daphne/sound/ab_fire.wav share/daphne/sound/ab_ship.wav share/daphne/sound/bl_shot.wav share/daphne/sound/cliff_correct.wav share/daphne/sound/cliff_startup.wav share/daphne/sound/cliff_wrong.wav share/daphne/sound/dl2_bad.wav share/daphne/sound/dl2_coin1.wav share/daphne/sound/dl2_coin2.wav share/daphne/sound/dl2_coin3.wav share/daphne/sound/dl2_coin4.wav share/daphne/sound/dl2_error.wav share/daphne/sound/dl2_good.wav share/daphne/sound/dl2_tic.wav share/daphne/sound/dl2_toc.wav share/daphne/sound/dl2_warble.wav share/daphne/sound/dl2_warn.wav share/daphne/sound/dl_accept.wav share/daphne/sound/dl_buzz.wav share/daphne/sound/dl_credit.wav share/daphne/sound/esh_beep.wav share/daphne/sound/gr_alarm1.wav share/daphne/sound/gr_alarm2.wav share/daphne/sound/gr_alarm3.wav share/daphne/sound/gr_alarm4.wav share/daphne/sound/gr_attack.wav share/daphne/sound/gr_cannon.wav share/daphne/sound/gr_fire.wav share/daphne/sound/gr_mineon.wav share/daphne/sound/mach3-01.ogg share/daphne/sound/mach3-02.ogg share/daphne/sound/mach3-03.ogg share/daphne/sound/mach3-04.ogg share/daphne/sound/mach3-05.ogg share/daphne/sound/mach3-06.ogg share/daphne/sound/mach3-07.ogg share/daphne/sound/mach3-08.ogg share/daphne/sound/mach3-09.ogg share/daphne/sound/mach3-11.ogg share/daphne/sound/mach3-13.ogg share/daphne/sound/mach3-15.ogg share/daphne/sound/mach3-19.ogg share/daphne/sound/mach3-20.ogg share/daphne/sound/mach3-22.ogg share/daphne/sound/mach3-33.ogg share/daphne/sound/mach3-34.ogg share/daphne/sound/mach3-35.ogg share/daphne/sound/mach3-36.ogg share/daphne/sound/mach3-37.ogg share/daphne/sound/mach3-39.ogg share/daphne/sound/mach3-40.ogg share/daphne/sound/mach3-41.ogg share/daphne/sound/mach3-42.ogg share/daphne/sound/mach3-43.ogg share/daphne/sound/mach3-45.ogg share/daphne/sound/mach3-49.ogg share/daphne/sound/mach3-null.ogg share/daphne/sound/saveme.wav share/daphne/sound/sd_coin.wav share/daphne/sound/sd_fail.wav share/daphne/sound/sd_succeed.wav share/daphne/sound/sda_success_hi.wav share/daphne/sound/sda_success_lo.wav %%PORTDOCS%%%%DOCSDIR%%/graphics/c15_to_25.jpg %%PORTDOCS%%%%DOCSDIR%%/graphics/c25_to_null.jpg %%PORTDOCS%%%%DOCSDIR%%/graphics/c9_to_15.jpg %%PORTDOCS%%%%DOCSDIR%%/graphics/c9_to_null.jpg %%PORTDOCS%%%%DOCSDIR%%/graphics/cstraight.jpg %%PORTDOCS%%%%DOCSDIR%%/graphics/ldp1450_dip2.jpg %%PORTDOCS%%%%DOCSDIR%%/graphics/ldv6010a.jpg %%PORTDOCS%%%%DOCSDIR%%/graphics/scoreboard1.jpg %%PORTDOCS%%%%DOCSDIR%%/graphics/scoreboard2.jpg %%PORTDOCS%%%%DOCSDIR%%/graphics/screenshot1.jpg %%PORTDOCS%%%%DOCSDIR%%/graphics/screenshot2.jpg %%PORTDOCS%%%%DOCSDIR%%/graphics/screenshot3.jpg %%PORTDOCS%%%%DOCSDIR%%/index.html %%PORTDOCS%%@dirrm %%DOCSDIR%%/graphics %%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm share/daphne/sound @dirrm share/daphne/pics @dirrm share/daphne @dirrm lib/daphne <------------------------------------------------------ And finally the pkg-descr: <------------------------------------------------------- DAPHNE is a multiple arcade laserdisc emulator that lets one play the original versions of many laserdisc arcade games (such as Dragon's Lair or Space Ace) on one's PC. http://www.daphne-emu.com/index.php <------------------------------------------------------- Any assistance with this attempt would be appreciated. Thanks for reading! From owner-freebsd-emulation@FreeBSD.ORG Thu Aug 3 00:03:20 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF89216A4DA for ; Thu, 3 Aug 2006 00:03:20 +0000 (UTC) (envelope-from robb_force@hotmail.com) Received: from bay0-omc1-s37.bay0.hotmail.com (bay0-omc1-s37.bay0.hotmail.com [65.54.246.109]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62AF743D45 for ; Thu, 3 Aug 2006 00:03:20 +0000 (GMT) (envelope-from robb_force@hotmail.com) Received: from hotmail.com ([207.46.9.154]) by bay0-omc1-s37.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 2 Aug 2006 17:03:20 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 2 Aug 2006 17:03:20 -0700 Message-ID: Received: from 209.36.244.254 by BAY120-DAV16.phx.gbl with DAV; Thu, 03 Aug 2006 00:03:19 +0000 X-Originating-IP: [209.36.244.254] X-Originating-Email: [robb_force@hotmail.com] X-Sender: robb_force@hotmail.com From: "Robb Force" To: References: <20060801235125.GA6671@megan.kiwi-computer.com> Date: Wed, 2 Aug 2006 17:03:18 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 X-OriginalArrivalTime: 03 Aug 2006 00:03:20.0200 (UTC) FILETIME=[3AA3D880:01C6B690] Subject: Re: Need help creating Daphne laserdisc emulator port X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Aug 2006 00:03:20 -0000 Edited for length.. > > I would like to create a port of the Daphne laserdisc emulator and have made > > some progress I think. This is my first attempt at anything like this and > > Did you check out: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/ Yes, I was following the handbook at first to get started then looked at finished ports. > You won't need the pkg list, there's a better way to achieve this > correctly. Noted, I'll create a new list using the methods mentioned in the handbook. > > .if ${MACHINE_ARCH} == "i386" > > This should be "ARCH" not "MACHINE_ARCH". > > > MAKE_ENV+= USE_MMX_RGB2YUV=1 > > MAKE_ENV+= PFLAGS="-DNATIVE_CPU_X86 -DMMX_RGB2YUV" > > .endif > > I've never seen PFLAGS before. In what language is the emulator written? Made the change to ARCH. It appears to be written in C++ since it requires the G++ compiler. I think I left some details out after looking at this a bit more. The Daphne texts explain that it will compile under FreeBSD. To compile there is step to create a Makefile.vars for your OS before doing the make command. Here are the contents of the FreeBSD vars file. <----------------------------------------------- # This file contains FreeBSD-specific environment variables # It is included by Makefile if a symlink is created to point to it # debugging version #DFLAGS = -g -DCPU_DEBUG # optimized version DFLAGS = -O3 -march=i686 -DX86_ASM -DGCC_X86_ASM -fomit-frame-pointer \ -fexpensive-optimizations -funroll-loops # to tell Makefile to assemble the MMX code export USE_MMX = 1 # platform-specific compile flags PFLAGS = ${DFLAGS} `sdl11-config --cflags` -DUNIX -DFREEBSD \ -DNATIVE_CPU_X86 -DMMX_RGB2YUV # platform-specific lib flags LIBS = `sdl11-config --libs` -lSDL_mixer -lz -logg -lvorbis -lvorbisfile <------------------------------------------------ There are some PFLAGS in the vars file, which might be why the NetBSD port had them? I'm not sure about the optimizations, I already have -O2 -pipe and I have march defined in make.conf. Should the DFLAGS in Makefile.vars be patched? Additionally, I have had trouble compiling Daphne and discovered it's due to a bug in gcc with the -DGCC_X86_ASM flag, so I'm thinking I would need to patch the Makefile.vars. > > - There is a note in the Daphne instructions that explains "You also need to > > compile libvldp2.so which comes with DAPHNE and has its own set of > > instructions inside the vldp2 directory. Go read those after you're done > > here." I only see "CONFIGURE_DIRS= src/vldp2" and installing the library in > > the NetBSD makefile. Here's the link I've been referring to > > http://pkgsrc.se/wip/daphne > > I'm not sure what you're saying here. Where was this CONFIGURE_DIRS > variable set? In the NetBSD makefile? The instructions say the vldp2 library must be compiled and installed since Daphne requires it to run. It seems like it might need it to compile too, but I'm not sure I can compile the library with this: cd ../daphne/src/vldp2/ ./configure make install clean This creates libvldp2.so in ../daphne so then I do: mkdir /usr/local/lib/daphne cp ../daphne/libvldp2.so /usr/local/lib/daphne/ ldconfig -m /usr/local/lib/daphne This seems to get the library dependency fixed. So, can I add this somewhere to the port Makefile? Like in post-extract or something? Anyway thanks for you help so far! Nate From owner-freebsd-emulation@FreeBSD.ORG Sat Aug 5 02:00:22 2006 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7DA0F16A4DE; Sat, 5 Aug 2006 02:00:22 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [80.253.10.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3E2143D45; Sat, 5 Aug 2006 02:00:21 +0000 (GMT) (envelope-from bsam@ipt.ru) Received: from sp34.ipt.ru ([217.147.20.50] helo=bs2.sp34.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1G9BSe-000AmA-2z; Sat, 05 Aug 2006 06:00:20 +0400 Received: from bsam by bs2.sp34.ru with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1G9BXI-00061U-0m; Sat, 05 Aug 2006 06:05:08 +0400 To: Jose Alonso Cardenas Marquez References: <200608041438.k74Ec3Wr096494@repoman.freebsd.org> <20060804195623.564c8a6e@Magellan.Leidinger.net> <20060804203725.efb1e8df.acm@FreeBSD.org> From: Boris Samorodov Date: Sat, 05 Aug 2006 06:05:07 +0400 In-Reply-To: <20060804203725.efb1e8df.acm@FreeBSD.org> (Jose Alonso Cardenas Marquez's message of "Fri, 4 Aug 2006 20:37:25 -0500") Message-ID: <36280092@bs2.sp34.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Alexander Leidinger , freebsd-emulation@FreeBSD.org Subject: Re: cvs commit: ports/ftp Makefile ports/ftp/linux-curl Makefile distinfo.i386 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Aug 2006 02:00:22 -0000 Hi! (move the thread to freebsd-emulation@) On Fri, 4 Aug 2006 20:37:25 -0500 Jose Alonso Cardenas Marquez wrote: > Now i have plist files for all my new linux ports. could you see it at > http://hellfire.no-ip.org/ports/, maybe you could tell me if some > things still are bad. I made a quick glance at the ports and the plist for linux-krb5-libs seems suspicious (too few @dirrm's). If I have time at Sunday I'll try to look at the ports more carefully. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru, Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org, The Power To Serve