This removes includes/VG which is still referenced in several places causing the scons builds to fail.
It looks like this commit was included in 10.5.2 while the matching commit to disable the code wasn't?
Might want to document this in 10.5.2 or target it to 10.5.3 (if there will be a 10.5.3?)
Compiling src/gallium/state_trackers/vega/api.c ...
Compiling src/gallium/state_trackers/vega/api_context.c ...
Compiling src/gallium/state_trackers/vega/api_filters.c ...
src/gallium/state_trackers/vega/api.c:28:18: fatal error: mapi.h: No such file or directory
scons: *** [build/haiku-x86_64-debug/gallium/state_trackers/vega/api.os] Error 1
Compiling src/gallium/state_trackers/vega/api_images.c ...
src/gallium/state_trackers/vega/api_context.c:27:23: fatal error: VG/openvg.h: No such file or directory
scons: *** [build/haiku-x86_64-debug/gallium/state_trackers/vega/api_context.os] Error 1
src/gallium/state_trackers/vega/api_filters.c:27:23: fatal error: VG/openvg.h: No such file or directory
scons: *** [build/haiku-x86_64-debug/gallium/state_trackers/vega/api_filters.os] Error 1
In file included from src/gallium/state_trackers/vega/vg_context.h:30:0,
src/gallium/state_trackers/vega/vg_state.h:30:23: fatal error: VG/openvg.h: No such file or directory
Created attachment 114865 [details]
these fixes should likely be cherry-picked for 10.5.3 as they already exist in master.
I see what happened here - I checked the automake build with `make distcheck', but did the scons one only in-tree. So include/VG and src/mapi/mapi.[ch] were around and everything worked like a charm. I'll add them in for 10.5.3 unless Jose prefers that we disable st/egl and st/vega for scons.
Alexander, if you guys have autotools I would strongly suggest using it. SCons is not my forte, plus it has always been a bit like second class citizen.
Yeah.. I originally did the port for scons as it is *much* easier to wrangle vs autotools in big projects.
Anyway, if it isn't planned for scons to become the main buildsystem I should do the Haiku autotools work... I'm just not looking forward to it :-)
Using autotools for Haiku should not be that hard/messy nowadays. Do give it a shot and let me know if there are any problems.
On the scons question - looking at the way things are going, it seems unlikely for scons to become the main one.
Alexander, can you give this  tarball a try. Would love to have a release that one can use under Haiku ;-)
I've just pushed an alternative patch which adds the missing files to the tarball and confirmed that the Linux Scons build works like a charm. Mesa 10.5.3 (coming out in a second) will feature the fix, so feel free to reopen if the problem persist with it.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct.