Age | Commit message (Collapse) | Author |
|
I had added these for Debian, but then I wasn't sure. After starting
over from scratch to build on Ubuntu, these have to be installed
manually (probably used to be pulled in by OpenJPEG's dev package).
libxml2-utils is needed for xmllint, for parsing autobuild.xml.
Autotools are removed since we're using prebuilt xmlrpc-epi, openssl
and curl now on macOS.
cmake is brought back now that the build deps installation line is
before any cmake command.
|
|
|
|
too, not just on bash.
|
|
to make it more flexible in case we want to use a different string
for the viewer channel, such as "Megapahit Viewer Release" or the
likes.
|
|
|
|
so we can have 1 set of instructions that applies to both Debian
and Ubuntu.
|
|
|
|
The MacPorts openssl11 port is not needed any more for building our libcurl.
|
|
Also CMakeCache.txt removal and Debian dependencies that might not
be relevant on non-debootstraps are not part of the instructions.
|
|
|
|
I couldn't get try_compile to succeed using COMPILE_DEFINITIONS,
I couldn't either using quotes for the CMAKE_C_FLAGS.
|
|
The installation is already automatic.
|
|
When linking to the static archive on arm64, it would fail with an
error of undefined iconv symbols.
When linking to the dynamic library, the path was to the dynamic
library was still assumed to still be in /usr/local/lib, so specifically
for the executable target, this needs to be changed (temporarily) to
the one in the prebuilt directory first, to later be changed again
by fixup_bundle to the bundled one in Frameworks.
|
|
and building only for one architecture at a time is the one supported now.
|
|
|
|
The variables set in this file are used only in llfilesystem/CMakeLists.txt,
and only used within a Linux (& FreeBSD) section, which then later
used in llfilesystem/lldir_linux.cpp, so Darwin doesn't need these
variables set specifically for it.
|
|
and can be differentiated across different distros, even though
there are only stable/LTS Debian and Ubuntu for now.
|
|
|
|
on macOS and Fedora.
|
|
so that we don't have to run cmake twice just to pick up those
variables.
|
|
|
|
|
|
For now it still downloads even though the builder has downloaded
the files before. You could temporarily comment out the relevant
use_prebuilt_binary calls to skip all the re-downloads and re-installs.
|
|
|
|
automatically. Fix tab to spaces too.
|
|
xxhashlib's dynamic libraries aren't used by this project (so only
the headers are used), so there's no need for it to be the universal
variant.
The VLC dmg is automatically opened now (implemented in some previous
commit).
|
|
Also minimise ViewerMiscLibs.cmake diff from upstream.
|
|
|
|
It's assumed that fmodstudioapi20223mac-installer.dmg has been
downloaded to ~/Downloads/.
|
|
|
|
and fix one too many ../
|
|
|
|
and also decapitalise "In-world".
|
|
|
|
ALUT and OpenAL are back, FMOD is gone, new dependency GLM.
|
|
|
|
Somehow it wouldn't work when the libvlc dylibs linked by
media_plugin_libvlc were far in Frameworks, even with all the
linkages and VLC_PLUGIN_PATH set correctly.
Because of this, I had to make the libvlc files redundantly copied
(they're under 1 MB so we'll live with it) in llplugin just like
upstream for media_plugin_libvlc to link to instead, though it seems
the directory name can be anything, so I just let it be "plugins"
for installation convenience using CMake.
Also now the builder is assumed to not necessarily want VLC.app to
be installed in /Applications, though they would need to keep the
downloaded VLC disc image open.
|
|
libvorbis is not pulled in automatically by any other of the viewer
build dependencies.
Hardcode $project to Megapahit, since the instruction is not in a
script context.
|
|
|
|
It has a newer default of something higher than C99, which would
cause an error of implicit int at configuring stage, so it wasn't
about some missing library for runtime.
It's also not necessary to specify the path to nghttp2 (or zlib)
since it seems to have already been detected.
We might as well lower the minimum macOS requirement here to 11.
|
|
|
|
|
|
|
|
|
|
Our macOS and GNU/Linux builds use FMOD, and FreeALUT is required
only when OpenAL is used instead.
|
|
|
|
|
|
It is assumed that fmodstudioapi20222mac-installer.dmg or
fmodstudioapi20223linux.tar.gz has been downloaded from
https://www.fmod.com/download#fmodengine to ~/Downloads/.
|
|
|
|
|