|Summary:||games/spring update to 105.0|
|Product:||Ports & Packages||Reporter:||Adriaan de Groot <adridg>|
|Component:||Individual Port(s)||Assignee:||Dmitry Marakasov <amdmi3>|
|Status:||In Progress ---|
|Severity:||Affects Only Me||Flags:||bugzilla:
Description Adriaan de Groot 2021-04-02 23:23:37 UTC
See also PR 229100, which was a 2018 request to update the port. games/spring is marked BROKEN; it doesn't build. It's also years out-of-date. The current release is spring 105.0, released in 2021. https://springrts.com/dl/buildbot/default/master/105.0/source/
Comment 1 Dmitry Marakasov 2021-04-22 14:19:13 UTC
This was delayed this long because newer versions of spring seemed to require complete reimplementation of huge platform-specific code bits (such as threading) for FreeBSD. I've managed to build 105.0.1 with minimal patching though, trying to playtest now.
Comment 2 Dmitry Marakasov 2021-04-22 16:57:45 UTC
It fails to build under 12 and I'm not going to fix it there. Need couple of days to upgrade my laptop to 13 to test it. Meanwhile, WIP spring port is available for testing here: https://github.com/AMDmi3/freebsd-ports/tree/spring-update
Comment 3 Dmitry Marakasov 2021-04-29 17:45:59 UTC
It fails with "OpenGL extension "GLEW_ARB_geometry_shader4" not supported, aborting" here, but I guess that's expected on builtin intel graphics. I'll update the port since it's anyway better than the one which is outdated and doesn't build, testing is welcome.
Comment 4 Adriaan de Groot 2021-05-17 19:59:29 UTC
It builds, but when starting it I get a similar report: ``` [t=00:00:00.418052] [GR::LogVersionInfo] [t=00:00:00.418059] SDL version : 2.0.12 (linked) / 2.0.12 (compiled) [t=00:00:00.418063] GL version : 4.6 (Core Profile) Mesa 20.2.3 [t=00:00:00.418066] GL vendor : X.Org [t=00:00:00.418070] GL renderer : AMD Radeon (TM) R7 300 Series (BONAIRE, DRM 3.35.0, 13.0-STABLE, LLVM 10.0.1) [t=00:00:00.418074] GLSL version: 4.60 [t=00:00:00.418078] GLEW version: 2.2.0 [t=00:00:00.418081] GPU memory : 2048MB (total) / 2048MB (available) [t=00:00:00.418085] SDL swap-int: 1 [t=00:00:00.418089] [t=00:00:00.418093] [GR::CheckGLExtensions] OpenGL extension "GLEW_EXT_direct_state_access" not supported, ignoring [t=00:00:00.418114] [GR::CheckGLExtensions] OpenGL extension "GLEW_EXT_texture_edge_clamp" not supported, ignoring [t=00:00:00.418117] [GR::CheckGLExtensions] OpenGL extension "GLEW_ARB_texture_border_clamp" not supported, ignoring [t=00:00:00.418121] [GR::CheckGLExtensions] OpenGL extension "GLEW_ARB_fragment_program" not supported, ignoring [t=00:00:00.418125] [GR::CheckGLExtensions] OpenGL extension "GLEW_ARB_shading_language_100" not supported, ignoring [t=00:00:00.418440] [WatchDog::DeregisterThread] deregistering controls for thread [main] [t=00:00:10.676480] Error: [ExitSpringProcess] errorMsg="OpenGL extension "GLEW_ARB_geometry_shader4" not supported, aborting" msgCaption="Spring: caught unsupported_error: " mainThread=1 [t=00:00:10.676633] Error: [Watchdog::ClearTimer(id)] Invalid thread 4 (_threadId=0x0) [t=00:00:10.676644] [SpringApp::Kill] fromRun=0 ``` /usr/local/bin/glewinfo agrees with that assessment, but I'm not sure where this stuff is even supposed to come from. We might need an nvidia user (I don't know if I feel like swapping cards around **again**) to check.