Opened 3 years ago

Last modified 2 months ago

#58366 new submission

Avara: New port

Reported by: mf2k (Frank Schima) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: Avara

Description

Here is my in progress portfile for Avara. The current build error is:

:info:build src/net/AvaraTCP.h:15:10: fatal error: 'SDL2_net/SDL_net.h' file not found
:info:build #include <SDL2_net/SDL_net.h>
:info:build          ^~~~~~~~~~~~~~~~~~~~
:info:build 1 error generated.

Attachments (4)

Portfile (1.0 KB) - added by mf2k (Frank Schima) 3 years ago.
Portfile.2 (1.8 KB) - added by jmroot (Joshua Root) 3 years ago.
includes.patch (270 bytes) - added by jmroot (Joshua Root) 3 years ago.
Makefile.patch (1.9 KB) - added by jmroot (Joshua Root) 3 years ago.

Download all attachments as: .zip

Change History (10)

Changed 3 years ago by mf2k (Frank Schima)

Attachment: Portfile added

comment:1 Changed 3 years ago by mf2k (Frank Schima)

Type: defectsubmission

comment:2 Changed 3 years ago by jmroot (Joshua Root)

Looks like it's assuming a framework installation of the SDL libs on macOS.

comment:3 Changed 3 years ago by mf2k (Frank Schima)

@jmroot: I see now that there is a libsdl-framework port. But it seems very out of date. Would you be willing to update it?

comment:4 Changed 3 years ago by jmroot (Joshua Root)

Shouldn't be needed, just tell the build system to find SDL with pkg-config.

Changed 3 years ago by jmroot (Joshua Root)

Attachment: Portfile.2 added

Changed 3 years ago by jmroot (Joshua Root)

Attachment: includes.patch added

Changed 3 years ago by jmroot (Joshua Root)

Attachment: Makefile.patch added

comment:5 Changed 3 years ago by jmroot (Joshua Root)

This works for the build. I can run it from the work dir. Now it just needs a working destroot phase.

comment:6 Changed 2 months ago by rherriman (Ryan Herriman)

@assertivist happened upon this during some Googling. We wanted to point out that sdl2_net is no longer a dependency.

We also have a nightly build downloadable here, so no idea if you want to continue pursuing this or not:

https://github.com/avaraline/Avara/releases/tag/0.7.0-nightly.20201230

Note: See TracTickets for help on using tickets.