logo

blog

My website can't be that messy, right? git clone https://hacktivis.me/git/blog.git
commit: 8cbf31dd05db58909dd1985c60d91d0a1c83f113
parent db9c620f01b296e864071110b20ef8d0d936bfca
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat,  5 Dec 2020 07:16:48 +0100

pure-wayland: SuperTuxKart now works, add notes on libraries linking/loading

Diffstat:

Mnotes/pure-wayland.shtml9++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/notes/pure-wayland.shtml b/notes/pure-wayland.shtml @@ -9,6 +9,13 @@ <main> <h1>Pure Wayland</h1> <p>A quick view of the status of a pure-wayland (as in not even <code>libX11.so</code>) setup.</p> + <p>Reminder: + <dl> + <dt>static linking</dt><dd>(<code>LDFLAGS="-static"</code>) some of the library is copied in the executable</dd> + <dt>shared linking</dt><dd>(<code>LDFLAGS="-shared"</code>) system library like <code>ld-linux-x86-64.so.2</code> loading the libraries before execution</dd> + <dt>dynamic <del>linking</del> loading</dt><dd>(<code>dlopen()</code>) loading a library during the execution</dd> + </dl> + </p> <h2>Web Browsers</h2> <ul> @@ -23,10 +30,10 @@ <li><a href="https://github.com/fmang/oshu">oshu</a>: Yes, just Works™ thanks to it being pure SDL2</li> <li><a href="https://parallelrealities.itch.io/blob-wars-attrition">Blob Wars : Attrition</a>: Yes, Just Works™ (SDL2)</li> <li><a href="https://supertux.org/">SuperTux</a>: <del>No, because of GLEW</del> Yes, changed it's build configuration to use <a href="https://glbinding.org/">glbinding</a></li> + <li><a href="https://supertuxkart.net/">SuperTuxKart</a>: Quite, works in wayland with gles2(because irrlicht tries to dynamically load <code>libGL.so.1</code> otherwise) in current git (<code>9f1ae2b7619f21546cc5cdd4bbeea53492d4b7ac</code>)</li> <li><a href="https://neverball.org">neverball</a>: No, Fails at runtime</li> <li><a href="https://www.bay12games.com/dwarves">dwarf fortress</a>: No, hard-depends on GTK2+ and libSDL-1</li> <li><a href="http://armagetronad.org/">armagetronad</a>: No, even in the current SDL2 branch</li> - <li><a href="https://supertuxkart.net/">SuperTuxKart</a>: Not really, works when libX11 is present</li> <li><a href="http://www.secretmaryo.org/">Secret Maryo Chronicles</a>: No, hard depends on X11</li> <li><a href="https://secretchronicles.org/">TSC: The Secret Chronicles of Dr. M.</a>: No, because of SFML</li> <li><a href="https://github.com/Anuken/Mindustry">Mindustry</a>: Nope, <code>libsdl-arc64.so</code> is shared linked against <code>libGL.so.1</code></li>