<feed xmlns='http://www.w3.org/2005/Atom'>
<title>viewer.git/indra/cmake/UnixInstall.cmake, branch 26.1.1</title>
<subtitle>Megapahit's fork of the Second Life viewer.
</subtitle>
<id>https://megapahit.org/viewer.git/atom?h=26.1.1</id>
<link rel='self' href='https://megapahit.org/viewer.git/atom?h=26.1.1'/>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/'/>
<updated>2025-04-07T04:14:09Z</updated>
<entry>
<title>Make it build &amp; install, USING Portage, on Gentoo</title>
<updated>2025-04-07T04:14:09Z</updated>
<author>
<name>Erik Kundiman</name>
<email>erik@megapahit.org</email>
</author>
<published>2025-04-07T04:14:09Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=e282774e68dc4e1826517a3dd4ab09714adcca26'/>
<id>urn:sha1:e282774e68dc4e1826517a3dd4ab09714adcca26</id>
<content type='text'>
Gentoo uses lib64, just like Fedora, and has libexec too.
The necessary step to install dependencies is part of the ebuild script
now (tracked in another repo, ebuild.git).
One thing I forgot to mention on the commit in that ebuild repo is,
unzip.h is provided on Gentoo only by minizip, and not minizip-ng cause
somehow the (minizip) "compat" USE flag couldn't be turned on somehow,
and there was no "minizip" (without -ng) package on Gentoo, but it was
achievable by setting the "minizip" USE flag on the zlib (again, without
-ng) package.
The queue header inclusion is needed cause its absence would cause the
compiling to fail on Portage (though it compiled when building the
viewer manually without Portage).
Also, using the prebuilt Meshoptimizer caused some linking errors when
using Portage (though, again, it linked when building the viewer
manually without Portage), hence Meshoptimizer is built from source as
part of the CMake configuration on Gentoo, differing from fellow Linux
distros.
Now Collada DOM, firstly the unpack destination directory is moved to
inside the build directory now, to make it uniform with other 3rd-party
files, just for less confusion. Secondly, since the patching that takes
effect is the one done by Portage, it would kill the process when there
are offending failed patchings (ones that generate .rej, reject files),
and they are the vcxproj patchings which aren't used anyway. Thirdly,
the hash checking on the downloaded file, that would fail anyway since
Portage doesn't allow any downloading that isn't part of the ebuild,
unfortunately has to be skipped so the emerge process wouldn't be killed
just because of it. Ebuild has its own sum checking (though this means
this particular file is not checked on other platforms, but other files
aren't checked either anyway yet).
Last but not least, the XDG Application category is removed because it's
considered deprecated by Portage, though not fatal, but the viewer is
already shown well in the Internet (Network) submenu anyway on unix
desktops.
</content>
</entry>
<entry>
<title>Decide lib64 or x86_64-linux-gnu based on distro</title>
<updated>2024-12-31T10:18:17Z</updated>
<author>
<name>Erik Kundiman</name>
<email>erik@megapahit.org</email>
</author>
<published>2024-12-31T10:13:54Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=fc3c0f48d92bf9c3dcad622b2b8e9340edc92c7c'/>
<id>urn:sha1:fc3c0f48d92bf9c3dcad622b2b8e9340edc92c7c</id>
<content type='text'>
Some builders might just have their installation somehow customised to
have both.
</content>
</entry>
<entry>
<title>Move libexec binaries to /usr/lib/megapahit on Arch</title>
<updated>2024-12-01T10:53:58Z</updated>
<author>
<name>Erik Kundiman</name>
<email>erik@megapahit.org</email>
</author>
<published>2024-12-01T10:53:58Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=e561067b7fa381474a08dcd3dbd88fd9ca9f3936'/>
<id>urn:sha1:e561067b7fa381474a08dcd3dbd88fd9ca9f3936</id>
<content type='text'>
as in Arch, there's really no /usr/libexec.
</content>
</entry>
<entry>
<title>Working Arch port but CEF &amp; WebRTC are still broken</title>
<updated>2024-10-20T13:10:34Z</updated>
<author>
<name>Erik Kundiman</name>
<email>erik@megapahit.org</email>
</author>
<published>2024-10-20T13:10:34Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=bdd8da4c5e4a3c2d9d58b1d72eda73c9f452c825'/>
<id>urn:sha1:bdd8da4c5e4a3c2d9d58b1d72eda73c9f452c825</id>
<content type='text'>
I've tried using FMOD instead, but CEF didn't work either.
At first I used crow-misia's WebRTC build but it would cause a
segmentation fault, but LL's build seems to break CEF.
Gotta find a way so CM's build doesn't crash the viewer.
PKGBUILD should be moved to indra/newview as an .in to be configured
by CMake for dynamic version numbers, and adjust the instruction
too to run makepkg -R from the folder where the generated PKGBUILD
will be.
</content>
</entry>
<entry>
<title>Fix order of checking lib64 &amp; lib/x86_64-linux-gnu</title>
<updated>2024-08-28T00:44:58Z</updated>
<author>
<name>Erik Kundiman</name>
<email>erik@megapahit.org</email>
</author>
<published>2024-08-28T00:44:58Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=94408352d5105e14bfa56a946b36e3b7d1b01637'/>
<id>urn:sha1:94408352d5105e14bfa56a946b36e3b7d1b01637</id>
<content type='text'>
Ubuntu, unlike Debian, has /lib64 and /usr/lib64 in their system,
so it misled CMake. This is a quick fix, ideally it's the distro
name that is checked.
</content>
</entry>
<entry>
<title>Minimise UnixInstall.cmake difference from SLv's</title>
<updated>2024-08-11T07:59:24Z</updated>
<author>
<name>Erik Kundiman</name>
<email>erik@megapahit.org</email>
</author>
<published>2024-08-11T07:49:22Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=1685e1590f7cb6e03d697f7abd1570f51dd37778'/>
<id>urn:sha1:1685e1590f7cb6e03d697f7abd1570f51dd37778</id>
<content type='text'>
The variables set in this file are used only in llfilesystem/CMakeLists.txt,
and only used within a Linux (&amp; FreeBSD) section, which then later
used in llfilesystem/lldir_linux.cpp, so Darwin doesn't need these
variables set specifically for it.
</content>
</entry>
<entry>
<title>`make install` on macOS copies resources to bundle</title>
<updated>2024-07-05T00:58:07Z</updated>
<author>
<name>Erik Kundiman</name>
<email>erik@megapahit.org</email>
</author>
<published>2024-07-05T00:58:07Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=532ebcd2d1e722e73aa09a49e77ebaa79cc05e3e'/>
<id>urn:sha1:532ebcd2d1e722e73aa09a49e77ebaa79cc05e3e</id>
<content type='text'>
Except for SLPlugin since there's already a custom command for it.
</content>
</entry>
<entry>
<title>Unix install sets plugin dir to system library dir</title>
<updated>2023-12-18T12:42:30Z</updated>
<author>
<name>Erik Kundiman</name>
<email>erik@megapahit.org</email>
</author>
<published>2023-12-18T12:42:30Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=b0e28d27bd990393e22ca3f474c340e77a08357b'/>
<id>urn:sha1:b0e28d27bd990393e22ca3f474c340e77a08357b</id>
<content type='text'>
because (at least) the vlc/plugins dirs are inside it in the same way
it's been inside llplugin. This is so the app can find system VLC
plugins. And for this, BUILD_SHARED_LIBS set on must work first on Linux
(has already been working on FreeBSD), since libmedia_plugin_libvlc is a
shared library (which now gets installed to system library dir too, on
both OSes).
</content>
</entry>
<entry>
<title>SLPlugin is in libexec when installed to system</title>
<updated>2023-07-30T11:02:54Z</updated>
<author>
<name>Erik Kundiman</name>
<email>erik@megapahit.org</email>
</author>
<published>2023-07-30T11:02:54Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=e08ad14176502a8cc26b401c48b7161ce8c39140'/>
<id>urn:sha1:e08ad14176502a8cc26b401c48b7161ce8c39140</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Viewer &amp; resources can be installed on the system</title>
<updated>2023-07-29T13:18:28Z</updated>
<author>
<name>Erik Kundiman</name>
<email>erik@megapahit.org</email>
</author>
<published>2023-07-29T13:18:28Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=849113dcafc35a4dfdcd778e3cf64c44112145ee'/>
<id>urn:sha1:849113dcafc35a4dfdcd778e3cf64c44112145ee</id>
<content type='text'>
</content>
</entry>
</feed>
