<feed xmlns='http://www.w3.org/2005/Atom'>
<title>viewer.git/indra/media_plugins/cef, branch main</title>
<subtitle>Megapahit's fork of the Second Life viewer.
</subtitle>
<id>https://megapahit.org/viewer.git/atom?h=main</id>
<link rel='self' href='https://megapahit.org/viewer.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/'/>
<updated>2026-07-23T14:46:17Z</updated>
<entry>
<title>Revert "Links to some system libs &amp; bundle some others for CEF"</title>
<updated>2026-07-23T14:46:17Z</updated>
<author>
<name>Erik Kundiman</name>
<email>erik@megapahit.org</email>
</author>
<published>2026-07-23T14:42:16Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=3da3b4c0827d9f47ff073f5b25ab430c05e49899'/>
<id>urn:sha1:3da3b4c0827d9f47ff073f5b25ab430c05e49899</id>
<content type='text'>
This reverts commit 3441a57e91f607b8beaa12424bcf71117cedade2.
Also includes both libGLESv2.so &amp; libvulkan.so.1 to the stripping
part. Also reorder the list alphabetically (and case-ically).
Presence of libGLESv2.so on the system isn't mandatory any more
now on Debian/Ubuntu.

This fixes the WebGL being disabled on affected distros.
</content>
</entry>
<entry>
<title>Revert "Links to libGLESv2.so &amp; libvulkan.so.1 for Flatpak"</title>
<updated>2026-07-23T14:34:22Z</updated>
<author>
<name>Erik Kundiman</name>
<email>erik@megapahit.org</email>
</author>
<published>2026-07-23T14:34:22Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=3518e8a432e826f62e598e6af43ab388d57b53a2'/>
<id>urn:sha1:3518e8a432e826f62e598e6af43ab388d57b53a2</id>
<content type='text'>
This reverts commit 9870f317f0ed1f2be6e4fa2d33669a71ec59e549.
</content>
</entry>
<entry>
<title>Links to libGLESv2.so &amp; libvulkan.so.1 for Flatpak</title>
<updated>2026-07-22T03:58:51Z</updated>
<author>
<name>Erik Kundiman</name>
<email>erik@megapahit.org</email>
</author>
<published>2026-07-21T10:49:13Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=9870f317f0ed1f2be6e4fa2d33669a71ec59e549'/>
<id>urn:sha1:9870f317f0ed1f2be6e4fa2d33669a71ec59e549</id>
<content type='text'>
the ones on the runtime, instead of bundling copies.
</content>
</entry>
<entry>
<title>Not use address size suffix for Flatpak library dir</title>
<updated>2026-06-23T12:02:41Z</updated>
<author>
<name>Erik Kundiman</name>
<email>erik@megapahit.org</email>
</author>
<published>2026-06-23T12:02:41Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=0f5b40798a6c122b7104d6bafefcb7decaad2fc3'/>
<id>urn:sha1:0f5b40798a6c122b7104d6bafefcb7decaad2fc3</id>
<content type='text'>
so upstream dullahan_host's rpath, which is meant to have
$ORIGIN/../lib, would correctly refer to the library dir (where
libcef.so is), without having to manipulate dullahan_host (cause
Flatpak SDK doesn't have patchelf). But Dullahan/CEF is still not
working on Flatpak just yet (LibVLC does, now, after I changed the
prebuilt package from Debian 13 binaries to Fedora 44 binaries,
where libvlccore links to libidn with the same compatibility
version.
</content>
</entry>
<entry>
<title>Strip viewer binaries on GCC and Clang</title>
<updated>2026-06-23T11:57:44Z</updated>
<author>
<name>Erik Kundiman</name>
<email>erik@megapahit.org</email>
</author>
<published>2026-06-23T10:50:04Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=3f27cd9a683360843524a42628faa6310e196645'/>
<id>urn:sha1:3f27cd9a683360843524a42628faa6310e196645</id>
<content type='text'>
but excluding AppleClang.
</content>
</entry>
<entry>
<title>Flatpak support</title>
<updated>2026-06-22T03:25:21Z</updated>
<author>
<name>Erik Kundiman</name>
<email>erik@megapahit.org</email>
</author>
<published>2026-06-22T00:34:39Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=ee87dd9f21e0dcd5a2f3a78586e5ae5d2ba592d5'/>
<id>urn:sha1:ee87dd9f21e0dcd5a2f3a78586e5ae5d2ba592d5</id>
<content type='text'>
Still uses prebuilt GLU, could be improved by using the glu shared
module.
Still uses prebuilt OpenAL, could be improved by separating the
ALUT dependency (which isn't available on the runtime) from it,
so we could use runtime's OpenAL.
Still uses prebuilt LibXML2, could be improved by separating the
Minizip &amp; ColladaDOM from it (which aren't available on the
runtime) from it, so we could use runtime's LibXML2 but have
ColladaDOM built against it (and a still non-runtime Minizip).
Still uses FLTK 1.3, when I tried using 1.4, it still had linking
errors (might need to just add Cairo libraries to the
target_link_libraries).
VLC plugins are installed in vlc/plugins path relative to the vlc
&amp; vlccore libraries, the way they are in the distro I got the
binaries from (Debian), cause I think it's the libraries that are
compiled with that path.
Still uses prebuilt dependencies in general, could be improved by
having them as modules to be built.
_FORTIFY_SOURCE needs to be skipped to avoid redefinition cause
Flatpak build system already defines it.
The conditionals for deciding installation paths need to be
reorganised to accomodate installation that doesn't require an
encapsulating namespace (because the installed files are already
encapsulated in the app sandbox).
The library directory naming scheme used here is lib64.
The libGLESv2.so &amp; libvulkan.so.1 installed are still copies, not
links yet, because I'm still not familiar yet with the runtime
hierarchies (they might reside just in /usr/lib/x86_64-linux-gnu).
</content>
</entry>
<entry>
<title>Links to some system libs &amp; bundle some others for CEF</title>
<updated>2026-06-01T09:31:59Z</updated>
<author>
<name>Erik Kundiman</name>
<email>erik@megapahit.org</email>
</author>
<published>2026-06-01T09:31:59Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=3441a57e91f607b8beaa12424bcf71117cedade2'/>
<id>urn:sha1:3441a57e91f607b8beaa12424bcf71117cedade2</id>
<content type='text'>
So CEF would stop complaining about missing libGLESv2.so on Linux.
Another link, which is for libvulkan.so.1.
System libEGL would break newer CEF so we're bundling it, it's not so
big. The JSON file is so we make sure we include everything a typical
system CEF would.
</content>
</entry>
<entry>
<title>Fix media plugins installed to the wrong place on macOS</title>
<updated>2026-05-28T01:57:47Z</updated>
<author>
<name>Erik Kundiman</name>
<email>erik@megapahit.org</email>
</author>
<published>2026-05-28T01:56:34Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=6a8d2a2c9ae7447814f4a9a868daf4b75adbd790'/>
<id>urn:sha1:6a8d2a2c9ae7447814f4a9a868daf4b75adbd790</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Arch package links to system CEF instead of bundling it</title>
<updated>2026-05-26T12:50:26Z</updated>
<author>
<name>Erik Kundiman</name>
<email>erik@megapahit.org</email>
</author>
<published>2026-05-26T12:47:39Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=06810358cd6e92b0eef8d02464a56c9bc3969057'/>
<id>urn:sha1:06810358cd6e92b0eef8d02464a56c9bc3969057</id>
<content type='text'>
Arch's system CEF version is 147 so we choose Dullahan version 1.30.
</content>
</entry>
<entry>
<title>Fedora package links to system CEF instead of bundling it</title>
<updated>2026-05-26T12:38:34Z</updated>
<author>
<name>Erik Kundiman</name>
<email>erik@megapahit.org</email>
</author>
<published>2026-05-26T12:23:39Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=d8f5cc0f9ac38e8fdbf674664c38ba5f0ee3996a'/>
<id>urn:sha1:d8f5cc0f9ac38e8fdbf674664c38ba5f0ee3996a</id>
<content type='text'>
Fedora's system CEF version is 146.0.11 so we choose the Dullahan
version that uses the next closest CEF version (146.0.12 and not
146.0.10), which is Dullahan 1.29 and not 1.28.
System libcef_dll is somehow distributed only in source form
(on Arch too), so in order to be able to link to it, we have to
compile it first, but its CMakeLists.txt is a sub one, incomplete,
so we use the solution of adding an empty macro:
https://www.magpcss.org/ceforum/viewtopic.php?f=6&amp;t=17732
System CEF's library encapsulating folder that contains libcef.so,
hence needs to be add to runtime path.
</content>
</entry>
</feed>
