Re: ok? [NEW] emulators/minivmac : classic mac emu (6 flavors!)

2020-08-08 Thread Stuart Henderson
On 2020/08/07 14:49, joshua stein wrote:
> On Tue, 09 Jun 2020 at 02:18:45 +0200, Alex Free wrote:
> > Hello ports, attached is a Mini vMac port for the latest version with 6
> > total flavors. Each flavor emulates a different Mac model, such as the M
> > acintosh 128k, 512Ke, SE, Classic, SEFDHD, or II. The Macintosh Plus is
> > emulated by default. This single port can emulate 7 different machines.
> > 
> > Everything here except sound emulation works. OpenBSD has actually been
> > officially supported for some time now, but sound still isn't implemente
> > d.
> 
> I made some cleanups in the Makefile and README (whitespace, 
> wrapping) and added WANTLIB.  Otherwise it looks ok to me.
> 
> I've only ever used it on macOS before and it's kind of awkward to 
> use on OpenBSD without a GUI desktop environment since you can only 
> interact with Mini vMac by dragging and dropping disk images onto 
> its window.
> 
> I did find this dragon utility which just creates a small GUI window 
> based on files passed from the command line, which you can then drag 
> and drop onto minivmac:
> 
> https://github.com/mwh/dragon
> 
> Maybe someone can make a quick port of it.

two comments,

WRKDIST =   ${WRKDIR}/minivmac
WRKSRC =${WRKDIR}/minivmac

only WRKDIST is needed, WRKSRC defaults to WRKSRC

and there's no mechanism to make the flavours exclusive, i.e.
someone could set FLAVOR="se classic 128k".

I wonder if actually it would be better to provide separate
binaries for the various flavours and arrange things so they can
be installed alongside each other? and maybe use "plus" rather
than having unflavoured == Mac Plus?



Re: ok? [NEW] emulators/minivmac : classic mac emu (6 flavors!)

2020-08-07 Thread joshua stein
On Tue, 09 Jun 2020 at 02:18:45 +0200, Alex Free wrote:
> Hello ports, attached is a Mini vMac port for the latest version with 6
> total flavors. Each flavor emulates a different Mac model, such as the M
> acintosh 128k, 512Ke, SE, Classic, SEFDHD, or II. The Macintosh Plus is
> emulated by default. This single port can emulate 7 different machines.
> 
> Everything here except sound emulation works. OpenBSD has actually been
> officially supported for some time now, but sound still isn't implemente
> d.

I made some cleanups in the Makefile and README (whitespace, 
wrapping) and added WANTLIB.  Otherwise it looks ok to me.

I've only ever used it on macOS before and it's kind of awkward to 
use on OpenBSD without a GUI desktop environment since you can only 
interact with Mini vMac by dragging and dropping disk images onto 
its window.

I did find this dragon utility which just creates a small GUI window 
based on files passed from the command line, which you can then drag 
and drop onto minivmac:

https://github.com/mwh/dragon

Maybe someone can make a quick port of it.


minivmac.tar.gz
Description: application/tar-gz


emulators/minivmac

2020-08-07 Thread Guy Godfroy

Hello,

Sorry for starting a new thread, I couldn't answer to the existing one 
because I didn't have suscribed yet.


I was writing the minivmac port when I saw that somebody did it already. 
Thanks!


but after executing make port-lib-depends-check on your port, it show 
that it's missing the WANTLIB variable in the makefile, which should be 
initiated with "X11 c".


I look forward for this to be merged.

Guy



Re: ok? [NEW] emulators/minivmac : classic mac emu (6 flavors!)

2020-06-10 Thread Stuart Henderson
On 2020/06/10 21:52, Alex Free wrote:
> > Sent: Tuesday, June 09, 2020 at 2:18 AM
> >
> 
> Anyone interested in this?
> 

That's a really short time before prodding for replies.



Re: ok? [NEW] emulators/minivmac : classic mac emu (6 flavors!)

2020-06-10 Thread Alex Free
> Sent: Tuesday, June 09, 2020 at 2:18 AM
> From: "Alex Free" 
> To: "ports@openbsd.org" 
> Subject: ok? [NEW] emulators/minivmac : classic mac emu (6 flavors!)
>
> Hello ports, attached is a Mini vMac port for the latest version with 6
> total flavors. Each flavor emulates a different Mac model, such as the M
> acintosh 128k, 512Ke, SE, Classic, SEFDHD, or II. The Macintosh Plus is
> emulated by default. This single port can emulate 7 different machines.
>
> Everything here except sound emulation works. OpenBSD has actually been
> officially supported for some time now, but sound still isn't implemente
> d.
>
> I've included a pkg/README with some quick start style information. It a
> lso mentions that  sound emulation is not currently supported.
>
> This port has been tested on OpenBSD 6.7 Current macppc and works perfec
> tly. This is a great surprise since powerpc OpenBSD was never a confirme
> d supported OS. I've set this up to work on i386 and amd64 as well, whic
> h are officially supported by Mini vMac. However I am unable to verify t
> hey work at the moment. If you have time to test this port on amd64 or i
> 386 that would be great.
>
> I did have to patch 2 files, just to specify cc instead of gcc.
>
> The homepage for Mini vMac is at https://gryphel.com/c/minivmac/ . I've
> emulated System 1 and System 6 so far.
>
> The build system is like nothing I've ever seen before, but ports made i
> t easy to work with. Let me know if you can help get this emulator into
> ports, if you have any suggestions, or improvements to how I've made thi
> s work.
>
> Besides testing amd64 and i386 I belive this is ready to be committed.
>
> Everything passes portcheck as well!
>

Anyone interested in this?



ok? [NEW] emulators/minivmac : classic mac emu (6 flavors!)

2020-06-08 Thread Alex Free
Hello ports, attached is a Mini vMac port for the latest version with 6
total flavors. Each flavor emulates a different Mac model, such as the M
acintosh 128k, 512Ke, SE, Classic, SEFDHD, or II. The Macintosh Plus is
emulated by default. This single port can emulate 7 different machines.

Everything here except sound emulation works. OpenBSD has actually been
officially supported for some time now, but sound still isn't implemente
d.

I've included a pkg/README with some quick start style information. It a
lso mentions that  sound emulation is not currently supported.

This port has been tested on OpenBSD 6.7 Current macppc and works perfec
tly. This is a great surprise since powerpc OpenBSD was never a confirme
d supported OS. I've set this up to work on i386 and amd64 as well, whic
h are officially supported by Mini vMac. However I am unable to verify t
hey work at the moment. If you have time to test this port on amd64 or i
386 that would be great.

I did have to patch 2 files, just to specify cc instead of gcc.

The homepage for Mini vMac is at https://gryphel.com/c/minivmac/ . I've
emulated System 1 and System 6 so far.

The build system is like nothing I've ever seen before, but ports made i
t easy to work with. Let me know if you can help get this emulator into
ports, if you have any suggestions, or improvements to how I've made thi
s work.

Besides testing amd64 and i386 I belive this is ready to be committed.

Everything passes portcheck as well!


minivmac.tgz
Description: GNU Zip compressed data