logo

blog

My website can't be that messy, right? git clone https://hacktivis.me/git/blog.git
commit: 9ad792831c959e720d997840b14edf0f0b265722
parent f050704663c19ef6d5a8b9b700848b2b62dbc07b
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Wed, 21 Apr 2021 13:45:23 +0200

notes/pure-wayland: allegro-5 progress (no liballegro_dialog yet)

Diffstat:

Mnotes/pure-wayland.shtml3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/notes/pure-wayland.shtml b/notes/pure-wayland.shtml @@ -71,7 +71,7 @@ endif</code></pre> <li><a href="https://www.gtk.org/">GTK</a> 3 and later: Almost. <a href="https://gitlab.gnome.org/GNOME/gtk/-/issues/699">Suggestions are broken on multi-monitors</a> as well as the usual glitches.</li> <li><a href="http://freeglut.sourceforge.net/">FreeGLUT: free OpenGL utility toolkit</a>: No, depends on <code>wl_shell</code> which is absent in wlroots and probably others (See <a href="https://github.com/dcnieho/FreeGLUT/issues/72">FreeGLUT#72</a>)</li> <li><a href="https://liballeg.org/">allegro-4</a>: Maybe, compiles with OpenGL enabled</li> - <li><a href="https://liballeg.org/">allegro-5</a>: Doesn't seems to, with OpenGL enabled (required for some games) it pulls <code>GL/glx.h</code>. Also has code loading only "libGL.so".</li> + <li><a href="https://liballeg.org/">allegro-5</a>: I managed to get most of it to compile with some patches, couldn't get liballegro_dialog (gtk on non-apple unixes) yet though as it depends on GTK with X11.</li> <li><a href="http://glew.sourceforge.net/">GLEW: OpenGL Extension Wrangler Library</a>: <a href="https://github.com/nigels-com/glew/issues/172">Not really</a>, consider <a href="https://github.com/anholt/libepoxy#why-not-use-libglew">libepoxy</a> or <a href="https://glbinding.org/">glbinding</a> (drop-in). I managed to get it to compile with:<ul> <li>Applying <a href="https://github.com/nigels-com/glew/pull/216/commits/584a266e71c3c3f7ec4a0e4e61c31b67f80a2419">Extend GLEW API to support glewContextInit - GL without implied GLX, … #216</a></li> <li>Running <code><kbd>sed -i 's/-lGL/-lOpenGL/' config/Makefile.linux-egl</kbd></code></li> @@ -146,6 +146,7 @@ endif</code></pre> <li><a href="http://oolite.org/">oolite</a>: Nope, <a href="https://github.com/OoliteProject/oolite/issues/222">still on SDL-1.2</a></li> <li><a href="http://chromium-bsu.sourceforge.net/">Chromium B.S.U</a>: No, I get a grey window that flashes to red from time to time. Tested on master's branch at commit <code>86b985c5c386410371b48b4169aec14b81007a59</code></li> <li><a href="https://github.com/FluffyStuff/OpenRiichi">OpenRiichi</a>: Vala looks like a mess to make it work with <code>libOpenGL.so</code> instead.</li> + <li><a href="https://opensurge2d.org/">OpenSurge</a>: No because it depends on <code>liballegro_dialog</code></li> </ul> <h2>Multimedia</h2>