Created attachment 178584 [details] devel___allegro.diff This adds an SNDIO option for supporting audio/sndio to devel/allegro sourced from the OpenBSD ports tree as support for it is not upstream. The current maintainer has a history of maintainer timeouts (across all their ports), so I treated the port as if it was unmaintained and tried to clean it up a little. Changes: - Add SNDIO option - http://sourceforge.net/projects/nemysisfreebsdp is gone. When the DEMOS and EXAMPLES options are turned on the port will try to fetch files (icons) from it - Remove DEMOS since it wasn't working for a while - Remove demo starter scripts and pkg-message - EXAMPLES now only installs the example source files instead of binaries too - Add LICENSE - Switch to options helpers - Move audio output options to their own option group - Make OSS support an explicit option, so that it can be turned off - Remove OGG option; audio/libogg is already a dependency via audio/libvorbis - Change WWW to a URL that works - Allegro never links with libpng; make it a build dependency only Most ports that use Allegro can still be build. Synth test logs: https://pkg.tobik.me/logs/allegro/ The following ports fail to build: - x11-fonts/alfont: marked as broken, needed by games/opensurge - games/opensonic: missing graphics/libpng lib dependency since devel/allegro doesn't specify it anymore
Created attachment 178585 [details] games___opensonic.diff
Created attachment 178589 [details] devel___allegro.diff - Make OpenGL a build dependency only
Ok, let's commit it.
A commit references this bug: Author: tobik Date: Fri Jun 9 13:30:21 UTC 2017 New revision: 442981 URL: https://svnweb.freebsd.org/changeset/ports/442981 Log: - Add sndio support [1] - Remove ALSA from default options - Switch to options helpers - Move audio output options to their own option group - Make OSS support an explicit option, so that it can be turned off - Remove OGG option and make it mandatory: audio/libogg is already a dependency via audio/libvorbis - Make the port simpler by not building the examples and not installing the example games (if necessary installing them can be done later in a separate port) - Add LICENSE - Fix WWW - Allegro never directly links with libpng or libGLU; make them a build dependency only - Reset maintainer PR: 215838 Obtained from: OpenBSD [1] Approved by: mat (mentor), maintainer timeout (5 months) Differential Revision: https://reviews.freebsd.org/D11039 Changes: head/devel/allegro/Makefile head/devel/allegro/distinfo head/devel/allegro/files/patch-CMakeLists.txt head/devel/allegro/files/patch-allegro.cfg head/devel/allegro/files/patch-cmake_FileList.cmake head/devel/allegro/files/patch-include_allegro_platform_alunix.h head/devel/allegro/files/patch-include_allegro_platform_alunixac.h.cmake head/devel/allegro/files/patch-modules.lst head/devel/allegro/files/patch-src-x-xkeyboard.c head/devel/allegro/files/patch-src_unix_usnddrv.c head/devel/allegro/files/patch-src_x_xkeyboard.c head/devel/allegro/files/pkg-message.in head/devel/allegro/files/shooter.in head/devel/allegro/files/skater.in head/devel/allegro/files/skater_agl.in head/devel/allegro/files/sndio.c head/devel/allegro/pkg-descr head/devel/allegro/pkg-plist
A commit references this bug: Author: tobik Date: Fri Jun 9 13:31:21 UTC 2017 New revision: 442982 URL: https://svnweb.freebsd.org/changeset/ports/442982 Log: Add explicit libpng dependency to fix the build of games/opensonic after the recent devel/allegro update. PR: 215838 Approved by: mat (mentor), devel@stasyan.com (maintainer) Differential Revision: https://reviews.freebsd.org/D11039 Changes: head/games/opensonic/Makefile