* Solene Rapenne <sol...@perso.pw> le [23-09-2018 15:05:18 +0200]:
> Thuban <thu...@yeuxdelibad.net> wrote:
> > 
> > * Thomas Frohwein <tfrohw...@fastmail.com> le [22-09-2018 23:53:02 -0700]:
> > > Hi,
> > > 
> > > This is a script that I wrote that sets FNA games up to run on OpenBSD. 
> > > FNA is
> > > a framework has been used to make many XNA indie games portable to Mac and
> > > Linux. FNA itself is open-source and included in more than 30 indie games 
> > > of the
> > > last ~5 years. What it does is it provides a path for the closed-source 
> > > C#/XNA
> > > code to use open-source libraries (like SDL2 and OpenAL) instead of 
> > > Windows/XBox
> > > ones to achieve cross-platform support.
> > > 
> > > Me and some people from the #openbsd-gaming IRC have been using this for 
> > > months
> > > now. The script's main function is to automate the steps to set these 
> > > games up
> > > to use those libraries on OpenBSD. Taking a glance under the hood, the 
> > > script
> > > identifies required libraries and compares to what's present on the 
> > > system,
> > > moves some of the bundled mono files out of the way that may not match our
> > > ports-mono, adjusts the library names to recognize e.g. OpenBSD's 
> > > libSDL2, and
> > > drops in a custom launch script for the game.
> > > 
> > > Games that were tested and working with this in its current form include:
> > > 
> > > - Stardew Valley
> > > - Chasm
> > > - Rogue Legacy
> > > - Owlboy
> > > - Hacknet
> > > - Cryptark
> > > - Dust: An Elysian Tail
> > > - FEZ
> > > 
> > > To try it, you'll need the Linux version of an FNA game, extract it 
> > > (unzip),
> > > and run
> > > 
> > > $ fnaify
> > > 
> > > in the main directory of the game. Note that copies obtained via Steam 
> > > may fail
> > > to run if no Steam client is present.
> > > 
> > > Some notes on the port:
> > > 
> > > - It would be best if someone could host the tarball because I can't make
> > >   guarantees for uptime of my server.
> > > - RUN_DEPENDS includes ports with libraries that are commonly used by FNA
> > >   games. This is not the "bare-minimum" list which would be mono + SDL2 +
> > >   OpenAL - this would be enough to run Stardew Valley. The current RDEP 
> > > list
> > >   is my best attempt at finding a happy medium between bare minimum and
> > >   including everything.
> > > 
> > > ok?
> > 
> > Seems interesting.
> > 
> > Can't make install though : 
> > 
> > 
> >     /usr/ports/games/fnaify
> >     > make
> >     ===>  Checking files for fnaify-1.0
> >     >> Fetch https://thfr.info/distfiles/fnaify/fnaify-1.0.tar.gz
> >     fnaify-1.0.tar.gz 100% 
> > |**********************************************************************|  
> > 7368       00:00
> >     >> (SHA256) fnaify-1.0.tar.gz: OK
> >     ===>  Extracting for fnaify-1.0
> >     ===>  Patching for fnaify-1.0
> >     ===>  Compiler link: clang -> /usr/bin/clang
> >     ===>  Compiler link: clang++ -> /usr/bin/clang++
> >     ===>  Compiler link: cc -> /usr/bin/clang
> >     ===>  Compiler link: c++ -> /usr/bin/clang++
> >     ===>  Configuring for fnaify-1.0
> >     /usr/ports/games/fnaify
> >     > doas make install
> >     ===>  Faking installation for fnaify-1.0
> >     /usr/ports/pobj/fnaify-1.0/bin/install -c -m 755 
> > /usr/ports/pobj/fnaify-1.0/fnaify-1.0/fnaify 
> > /usr/ports/pobj/fnaify-1.0/fake-amd64/usr/local/bin
> >     Installing /usr/local/ports/games/fnaify/pkg/README as 
> > /usr/ports/pobj/fnaify-1.0/fake-amd64/usr/local/share/doc/pkg-readmes/fnaify-1.0
> >     ===>  Building package for fnaify-1.0
> >     Create /usr/ports/packages/amd64/all/fnaify-1.0.tgz
> >     Creating package fnaify-1.0
> >     
> > checksumming|***************************************************************************************************|100%
> >     Error: 
> > /usr/ports/pobj/fnaify-1.0/fake-amd64/usr/local/share/doc/pkg-readmes/${PKGSTEM}
> >  does not exist
> >     Fatal error: can't continue
> >     at /usr/libdata/perl5/OpenBSD/PkgCreate.pm line 1675.
> >     *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1971 
> > '/usr/ports/packages/amd64/all/fnaify-1.0.tgz')
> >     *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2430 
> > '_internal-package')
> >     *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2409 
> > 'package')
> >     *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1984 
> > '/var/db/pkg/fnaify-1.0/+CONTENTS')
> >     *** Error 1 in /usr/local/ports/games/fnaify 
> > (/usr/ports/infrastructure/mk/bsd.port.mk:2409 'install')
> >     /usr/ports/games/fnaify
> 
> it builds fine for me. You need to update your snapshot and ports tree, 
> PKGSTEM
> has been added a few weeks ago!
> 
right... my bad.

Reply via email to