Re: [NEW] emulators/hatari

2016-07-31 Thread Adam Wolk
On Tue, Jul 05, 2016 at 02:46:15PM -0600, Aaron Bieber wrote:
> 
> 
> On Thu, Jun 23, 2016, at 02:33 PM, Adam Wolk wrote:
> > On Thu, 23 Jun 2016 22:23:25 +0200
> > Frederic Cambus  wrote:
> > 
> > > On Wed, Jun 22, 2016 at 08:14:37PM +0200, Adam Wolk wrote:
> > > > 
> > > > I think the CMakeLists in this port still need some work. It tries
> > > > to touch stuff outside the fake directory on `make fake` step.  
> > > 
> > > Indeed, you are right. New tarball attached :
> > > 
> > > - Added a patch to fix the issue you mentioned
> > > - Added missing RUN_DEPENDS on mtools (required for zip2st additional
> > > tool)
> > > - Added a pre-configure target to replace an hardcoded /usr/share
> > > occurence in a man page
> > > 
> > > Also, bundled tool atari-hd-image.sh is unusable on OpenBSD because it
> > > requires 'mkdosfs' and cannot be patched to use 'newfs_msdos' as a
> > > required option is missing, so avoid installing program + manpage.
> > > 
> > 
> > OK awolk@ on latest tarball.
> 
> OK abieber@ (assuming we are still good to import stuff!)
> 
> > 
> > Regards,
> > Adam
> > 
> 

Committed. Thanks!



Re: [NEW] emulators/hatari

2016-07-05 Thread Aaron Bieber


On Thu, Jun 23, 2016, at 02:33 PM, Adam Wolk wrote:
> On Thu, 23 Jun 2016 22:23:25 +0200
> Frederic Cambus  wrote:
> 
> > On Wed, Jun 22, 2016 at 08:14:37PM +0200, Adam Wolk wrote:
> > > 
> > > I think the CMakeLists in this port still need some work. It tries
> > > to touch stuff outside the fake directory on `make fake` step.  
> > 
> > Indeed, you are right. New tarball attached :
> > 
> > - Added a patch to fix the issue you mentioned
> > - Added missing RUN_DEPENDS on mtools (required for zip2st additional
> > tool)
> > - Added a pre-configure target to replace an hardcoded /usr/share
> > occurence in a man page
> > 
> > Also, bundled tool atari-hd-image.sh is unusable on OpenBSD because it
> > requires 'mkdosfs' and cannot be patched to use 'newfs_msdos' as a
> > required option is missing, so avoid installing program + manpage.
> > 
> 
> OK awolk@ on latest tarball.

OK abieber@ (assuming we are still good to import stuff!)

> 
> Regards,
> Adam
> 



Re: [NEW] emulators/hatari

2016-06-23 Thread Adam Wolk
On Thu, 23 Jun 2016 22:23:25 +0200
Frederic Cambus  wrote:

> On Wed, Jun 22, 2016 at 08:14:37PM +0200, Adam Wolk wrote:
> > 
> > I think the CMakeLists in this port still need some work. It tries
> > to touch stuff outside the fake directory on `make fake` step.  
> 
> Indeed, you are right. New tarball attached :
> 
> - Added a patch to fix the issue you mentioned
> - Added missing RUN_DEPENDS on mtools (required for zip2st additional
> tool)
> - Added a pre-configure target to replace an hardcoded /usr/share
> occurence in a man page
> 
> Also, bundled tool atari-hd-image.sh is unusable on OpenBSD because it
> requires 'mkdosfs' and cannot be patched to use 'newfs_msdos' as a
> required option is missing, so avoid installing program + manpage.
> 

OK awolk@ on latest tarball.

Regards,
Adam



Re: [NEW] emulators/hatari

2016-06-23 Thread Frederic Cambus
On Wed, Jun 22, 2016 at 08:14:37PM +0200, Adam Wolk wrote:
> 
> I think the CMakeLists in this port still need some work. It tries to
> touch stuff outside the fake directory on `make fake` step.

Indeed, you are right. New tarball attached :

- Added a patch to fix the issue you mentioned
- Added missing RUN_DEPENDS on mtools (required for zip2st additional
tool)
- Added a pre-configure target to replace an hardcoded /usr/share
occurence in a man page

Also, bundled tool atari-hd-image.sh is unusable on OpenBSD because it
requires 'mkdosfs' and cannot be patched to use 'newfs_msdos' as a
required option is missing, so avoid installing program + manpage.



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


Re: [NEW] emulators/hatari

2016-06-22 Thread Adam Wolk
On Wed, 22 Jun 2016 13:01:47 +0200
Frederic Cambus  wrote:

> On Wed, Jun 15, 2016 at 01:53:29AM +0200, Frederic Cambus wrote:
> 
> > > > Here is a new tarball with these modifications in. Thanks for
> > > > testing.  
> > > 
> > > ok bentley@  
> > 
> > Anyone willing to test the port and give a second OK?  
> 
> Updated tarball adding a patch to make detecting and using optional 
> dependencies (portaudio and capsimage) opt-in, and disabled by
> default. Issue was spotted by awolk@.
> 
> For the record, portaudio is only useful for microphone input
> emulation in Falcon mode, so it doesn't make sense to add a
> dependency for such an edge case.
> 

I think the CMakeLists in this port still need some work. It tries to
touch stuff outside the fake directory on `make fake` step.
Linker in this case.

$ ag execute_process 
CMakeLists.txt
151:execute_process(COMMAND getconf LFS_CFLAGS
162: execute_process(COMMAND pkg-config --cflags-only-other sdl2
166: execute_process(COMMAND pkg-config --cflags-only-other sdl

share/CMakeLists.txt
8:   install(CODE "execute_process(COMMAND ln -sf 
application-x-st-disk-image.png
19:  install(CODE "execute_process(COMMAND ln -sf 
application-x-st-disk-image.svg

cmake/Uninstall.cmake
17:execute_process(
30:execute_process(

cmake/Toolchain-mingw32-win64_64.cmake
24:EXECUTE_PROCESS(

cmake/Toolchain-mingw32-win64_32.cmake
24:EXECUTE_PROCESS(

CMakeLists.txt.orig
143:execute_process(COMMAND getconf LFS_CFLAGS
154: execute_process(COMMAND pkg-config --cflags-only-other sdl2
158: execute_process(COMMAND pkg-config --cflags-only-other sdl
$ pwd
/usr/ports/pobj/hatari-1.9.0/hatari-1.9.0


---


-- Installing: 
/usr/ports/pobj/hatari-1.9.0/fake-amd64/usr/local/man/man1/hatariui.1.gz
-- Installing: 
/usr/ports/pobj/hatari-1.9.0/fake-amd64/usr/local/share/icons/hicolor/32x32/apps/hatari.png
-- Installing: 
/usr/ports/pobj/hatari-1.9.0/fake-amd64/usr/local/share/icons/hicolor/32x32/mimetypes/application-x-st-disk-image.png
ln: 
/usr/local/share/icons/hicolor/32x32/mimetypes/application-vnd.msa-disk-image.png:
 Permission denied
ln: 
/usr/local/share/icons/hicolor/32x32/mimetypes/application-vnd.fastcopy-disk-image.png:
 Permission denied
ln: 
/usr/local/share/icons/hicolor/32x32/mimetypes/application-x-stx-disk-image.png:
 Permission denied
-- Installing: 
/usr/ports/pobj/hatari-1.9.0/fake-amd64/usr/local/share/icons/hicolor/48x48/apps/hatari.png
-- Installing: 
/usr/ports/pobj/hatari-1.9.0/fake-amd64/usr/local/share/icons/hicolor/48x48/mimetypes/application-x-st-disk-image.png
ln: 
/usr/local/share/icons/hicolor/48x48/mimetypes/application-vnd.msa-disk-image.png:
 Permission denied
ln: 
/usr/local/share/icons/hicolor/48x48/mimetypes/application-vnd.fastcopy-disk-image.png:
 Permission denied
ln: 
/usr/local/share/icons/hicolor/48x48/mimetypes/application-x-stx-disk-image.png:
 Permission denied
-- Installing: 
/usr/ports/pobj/hatari-1.9.0/fake-amd64/usr/local/share/icons/hicolor/64x64/apps/hatari.png
-- Installing: 
/usr/ports/pobj/hatari-1.9.0/fake-amd64/usr/local/share/icons/hicolor/64x64/mimetypes/application-x-st-disk-image.png
ln: 
/usr/local/share/icons/hicolor/64x64/mimetypes/application-vnd.msa-disk-image.png:
 Permission denied
ln: 
/usr/local/share/icons/hicolor/64x64/mimetypes/application-vnd.fastcopy-disk-image.png:
 Permission denied
ln: 
/usr/local/share/icons/hicolor/64x64/mimetypes/application-x-stx-disk-image.png:
 Permission denied
-- Installing: 
/usr/ports/pobj/hatari-1.9.0/fake-amd64/usr/local/share/icons/hicolor/128x128/apps/hatari.png
-- Installing: 
/usr/ports/pobj/hatari-1.9.0/fake-amd64/usr/local/share/icons/hicolor/128x128/mimetypes/application-x-st-disk-image.png
ln: 
/usr/local/share/icons/hicolor/128x128/mimetypes/application-vnd.msa-disk-image.png:
 Permission denied
ln: 
/usr/local/share/icons/hicolor/128x128/mimetypes/application-vnd.fastcopy-disk-image.png:
 Permission denied
ln: 
/usr/local/share/icons/hicolor/128x128/mimetypes/application-x-stx-disk-image.png:
 Permission denied
-- Installing: 
/usr/ports/pobj/hatari-1.9.0/fake-amd64/usr/local/share/icons/hicolor/256x256/apps/hatari.png
-- Installing: 
/usr/ports/pobj/hatari-1.9.0/fake-amd64/usr/local/share/icons/hicolor/256x256/mimetypes/application-x-st-disk-image.png
ln: 
/usr/local/share/icons/hicolor/256x256/mimetypes/application-vnd.msa-disk-image.png:
 Permission denied
ln: 
/usr/local/share/icons/hicolor/256x256/mimetypes/application-vnd.fastcopy-disk-image.png:
 Permission denied
ln: 
/usr/local/share/icons/hicolor/256x256/mimetypes/application-x-stx-disk-image.png:
 Permission denied
-- Installing: 
/usr/ports/pobj/hatari-1.9.0/fake-amd64/usr/local/share/icons/hicolor/scalable/apps/hatari.svg
-- Installing: 
/usr/ports/pobj/hatari-1.9.0/fake-amd64/usr/local/share/icons/hicolor/scalable/mimetypes/application-x-st-disk-image.svg
ln: 
/usr/local/share/icons/hicolor/scalable/mimetypes/application-vnd.msa-disk-image.svg:
 Permission denied
ln: 
/usr/local/share/icons/hicolor/sc

Re: [NEW] emulators/hatari

2016-06-22 Thread Frederic Cambus
On Wed, Jun 15, 2016 at 01:53:29AM +0200, Frederic Cambus wrote:

> > > Here is a new tarball with these modifications in. Thanks for testing.
> > 
> > ok bentley@
> 
> Anyone willing to test the port and give a second OK?

Updated tarball adding a patch to make detecting and using optional 
dependencies (portaudio and capsimage) opt-in, and disabled by default.
Issue was spotted by awolk@.

For the record, portaudio is only useful for microphone input emulation
in Falcon mode, so it doesn't make sense to add a dependency for such
an edge case.



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


Re: [NEW] emulators/hatari

2016-06-14 Thread Frederic Cambus
On Sun, Jun 05, 2016 at 05:10:49AM -0600, Anthony J. Bentley wrote:
> Frederic Cambus writes:
> > Here is a new tarball with these modifications in. Thanks for testing.
> 
> ok bentley@

Anyone willing to test the port and give a second OK?



Re: [NEW] emulators/hatari

2016-06-05 Thread Anthony J. Bentley
Frederic Cambus writes:
> Here is a new tarball with these modifications in. Thanks for testing.

ok bentley@



Re: [NEW] emulators/hatari

2016-06-03 Thread Frederic Cambus
Hi Anthony,

On Thu, Jun 02, 2016 at 09:45:15PM -0600, Anthony J. Bentley wrote:
> 
> Looks good, and works for me. Two things need fixing though: man pages
> need to be installed under ${PREFIX}/share/man/man1 (and I would
> decompress them, but that's personal taste), and the port does not build

Indeed. Man pages are now where they should be, and uncompressed.

> if libzip is installed, because its zip.h header gets picked up instead
> of src/includes/zip.h.

Good catch. I added a patch to change include directories order and
it should now build correctly.

Here is a new tarball with these modifications in. Thanks for testing.



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


Re: [NEW] emulators/hatari

2016-06-02 Thread Anthony J. Bentley
Hi Frederic,

Frederic Cambus writes:
> Here is a new port : emulators/hatari
> 
> Tested on amd64.
> 
> From DESCR :
> 
> Hatari is an Atari ST/STE/TT/Falcon emulator for Linux, FreeBSD, NetBSD,
> BeOS, Mac-OSX and other Systems which are supported by the SDL library.
> Unlike most other open source ST emulators which try to give you a good
> environment for running GEM applications, Hatari tries to emulate the
> hardware as close as possible so that it is able to run most of the old
> Atari games and demos.  Because of this, it may be somewhat slower than
> less accurate emulators.

Looks good, and works for me. Two things need fixing though: man pages
need to be installed under ${PREFIX}/share/man/man1 (and I would
decompress them, but that's personal taste), and the port does not build
if libzip is installed, because its zip.h header gets picked up instead
of src/includes/zip.h.

-- 
Anthony J. Bentley



Re: [NEW] emulators/hatari

2016-05-07 Thread Frederic Cambus
On Mon, Apr 18, 2016 at 07:31:10PM +0200, Frederic Cambus wrote:

> From DESCR :
> 
> Hatari is an Atari ST/STE/TT/Falcon emulator for Linux, FreeBSD, NetBSD,
> BeOS, Mac-OSX and other Systems which are supported by the SDL library.
> Unlike most other open source ST emulators which try to give you a good
> environment for running GEM applications, Hatari tries to emulate the
> hardware as close as possible so that it is able to run most of the old
> Atari games and demos.  Because of this, it may be somewhat slower than
> less accurate emulators.

Ping.

For those interested in testing, this site has a lot of disk images
with demoscene productions : http://pacidemo.planet-d.net/html.html



[NEW] emulators/hatari

2016-04-18 Thread Frederic Cambus
Hi ports@,

Here is a new port : emulators/hatari

Tested on amd64.

>From DESCR :

Hatari is an Atari ST/STE/TT/Falcon emulator for Linux, FreeBSD, NetBSD,
BeOS, Mac-OSX and other Systems which are supported by the SDL library.
Unlike most other open source ST emulators which try to give you a good
environment for running GEM applications, Hatari tries to emulate the
hardware as close as possible so that it is able to run most of the old
Atari games and demos.  Because of this, it may be somewhat slower than
less accurate emulators.



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