summaryrefslogtreecommitdiff
path: root/README.md
AgeCommit message (Collapse)Author
33 hoursAdjust Arch build instruction to have NDOF onErik Kundiman
Our Arch builds have been having NDOF enabled all this time.
4 daysGet the viewer launching on Fedora Asahi RemixErik Kundiman
Media plugins enabling not yet. OpenXR is disabled for now (it hasn't been used anyway). perl-FindBin is needed to be able to build OpenSSL on Fedora aarch64. Setting the C standard to 90 when building cURL is needed, otherwise it would fail at configure time with a misleading error of not finding link/run time requirements for dependencies (such as nghttp2 and zlib), at least on Fedora (and macOS too back then, I remember). GCC treated SSE2NEON warnings as errors on so many files, so -Wno-cpp is added globally. The same Linux CPU frequency calculation needs to be out of the x86 scope, otherwise the viewer would complain about not meeting the requirements at launch time.
7 daysRemove dependency on uriparserErik Kundiman
Turns out it hasn't been needed, might be leftover from system Collada DOM, and LL has their own URI parser.
7 daysHave libjpeg-turbo as requested in macOS build instructionErik Kundiman
It's installation is not implied by any other package for the project, at this moment.
7 daysHad missed sorting openSUSE & Ubuntu alphabeticallyErik Kundiman
2025-04-07Reorder the build instructions alphabeticallyErik Kundiman
by the platform/OS/distro name. Add -a to emerge since it's very likely the user hasn't set some necessary USE flags on before they try to install the viewer. Decapitalise openSUSE's initial letter.
2025-04-07Make it build & install, USING Portage, on GentooErik Kundiman
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.
2025-04-07Fix logics for using prebuilt or system GLMErik Kundiman
Since the last merge, the prebuilt version has been used for all Megapahit platforms, when some should've used the system version instead, as instructed. And then, not all Linux distros don't have sufficient version of GLM on their repos, some do have and have already been instructed to install system GLM anyway. So the distros that still have insufficient version of GLM (0.9.9.8 instead of the necessary 1.0.1) are Debian, Ubuntu and openSUSE Tumbleweed, while other distros and OSes have GLM 1.0.1.
2025-03-16readme.md -> update tumbleweed build instructionssecretfoxtail
SLD2-devel no longer exists in tumbleweed repositories, replace with libSDL2_gfx-1_0-0, libSDL2_gfx-devel, & sdl2-compat-devel
2025-03-11PCRE hasn't been depended on after allErik Kundiman
since we started using more recent patch versions of LL's Collada DOM fork.
2025-03-11Remove PCRE dependency on FreeBSDErik Kundiman
The Collada DOM upstream patch version is one that doesn't depend on PCRE anymore anyway.
2025-03-11Replace MacPorts' Boost 1.81 with 1.87Erik Kundiman
and therefore LL's Collada DOM can be upgraded to something newer than r4, and therefore PCRE can be no longer depended on. Have to set the C++ standard so it doesn't use anything old, but also it wasn't ready for something as new as C++20 yet, that's why it's explicitly set to C++17. Have to set the architecture too when you're cross-compiling, it would use the native architecture.
2025-03-06update openSUSE Tumbleweed readme & cmakelistssecretfoxtail
update & include new libboost packages
2025-02-27Update instructions to use C++20 instead of C++17Erik Kundiman
Upstream is shifting towards C++20.
2025-02-17Talk about the project right away in READMEErik Kundiman
instead of talking about SL & showing its trademarks first.
2025-02-15No need to install freealut (& openal) on ArchErik Kundiman
for now. Same reason, using FMOD is the method that doesn't break CEF on Arch.
2024-12-10Update Tumbleweed package requires & build instructionsSecret
2024-12-06CEF works now on Arch, but needs FMODErik Kundiman
2024-11-26Instruction fixes for getting it build on FedoraErik Kundiman
2024-11-06Use Arch PKGBUILD pkgrel for VIEWER_VERSION_REVISIONErik Kundiman
2024-10-22Dynamic Arch PKGBUILD valuesErik Kundiman
Set PACKAGE to ON.
2024-10-20Working Arch port but CEF & WebRTC are still brokenErik Kundiman
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.
2024-10-15Draft build instructions for Gentoo, Arch & WindowsErik Kundiman
Plus: Explicit on ENABLE_MEDIA_PLUGINS Sort Tumbleweed dependencies Sort FreeBSD setenv line FreeBSD dependencies that need to be explicitly installed now
2024-09-29Replace INTERNAL with just STRINGErik Kundiman
just like how ADDRESS_SIZE is set with Autobuild.
2024-09-21ColladaDOM depends on dynamic Boost 1.81 on macOSErik Kundiman
so we don't need the boost package or the -no_static variant of boost181 any more.
2024-09-21Remove remaining XMLRPC-EPI dependenciesErik Kundiman
2024-09-17Merge branch 'main' into 2024.08-DeltaFPSErik Kundiman
2024-09-17Revert to LL's OpenJPEG forkErik Kundiman
System 2.5.2 caused too much rainbow in DeltaFPS. For now, the OpenJPEG listed in autobuild.xml is 2.5.0. However, LL has recently got 2.5.2 too in their OpenJPEG fork repo, but we switch to that once it's the one listed in autobuild.xml. Reverting to the now maintained LL 3p-openjpeg should fix the texture thrashing problem https://megapahit.com/show_bug.cgi?id=1 starting from DeltaFPS.
2024-09-16OpenSUSE Tumbleweed instructions adjustmentsecretfoxtail
Change libboost_url version
2024-09-16Merge branch 'main' into 2024.08-DeltaFPSErik Kundiman
2024-09-16OpenSUSE Tumbleweed instructions adjustmentsecretfoxtail
add libboost_program_options-devel
2024-09-08opensuse instruction tweaksecretfoxtail
add pcre-devel
2024-09-08Merge branch 'main' into 2024.08-DeltaFPSErik Kundiman
# Conflicts: # README.md # indra/newview/CMakeLists.txt
2024-09-07OpenSUSE Tumbleweed instructionssecretfoxtail
Add OpenSUSE Tumbleweed build instructions to readme.md
2024-09-07Merge branch 'main' into 2024.08-DeltaFPSErik Kundiman
2024-09-07BSD/Linux can use the same dae loader constructionErik Kundiman
Also add explicit minizip, pcre, and xml2 development packages in Debian/Ubuntu instructions.
2024-09-05Get colladadom 2.3 build method to work on FedoraErik Kundiman
2024-09-02Merge branch 'main' into 2024.08-DeltaFPSErik Kundiman
2024-09-02boost & pcre must be manually installed on macOSErik Kundiman
now that they don't have collada dom to pull them in automatically.
2024-09-01Merge remote-tracking branch 'secondlife/release/2024.08-DeltaFPS' into ↵Erik Kundiman
2024.08-DeltaFPS
2024-08-31Remove Collada DOM dependency on FreeBSDErik Kundiman
and replace it with direct dependencies on Minizip and PCRE.
2024-08-31Revert Linux/BSD to use system Collada DOM for nowErik Kundiman
Turns out getting 2.3 compiled on those platforms need a lot more attention. Apart from that, the compilation result variable name got fixed, the prebuilt include directory got fixed, and pkg-config-ing minizip, libpcrecpp and libxml-2.0 so we can make have generic variable arguments to pass to Collada DOM's CMake settings.
2024-08-30Fix Error: Dae parsing issue - see log for detailsErik Kundiman
https://megapahit.com/show_bug.cgi?id=76 It seems like we have to use LL's Collada DOM 2.3. Make sure minizip is installed on macOS. It should be safe to uninstall your system Collada DOM package now. The CMake arguments might have to be completed for non-Darwin platforms in a next commit.
2024-08-28Automatic codesigning on macOSErik Kundiman
CMAKE_OSX_DEPLOYMENT_TARGET here, even though reset in Variables.cmake with mmacosx-version-min, will be used as the hardened runtime version when codesigning. Instructions use 11 as that version, as the builder is assumed to be building for arm64. When building for x86-64, you can replace all 11 here with 10.15. The sudo in codesigning is required for builders on Apple Silicon whose SIP is enabled, which is assumed to be the most likely case. Credits to Cate (32a).
2024-08-28Remove alut dependency on UbuntuErik Kundiman
2024-08-28Explicitly set FMODSTUDIO value in the instructionErik Kundiman
Ubuntu's OpenAL seemed to break CEF too.
2024-08-28More non-automatic Debian/Ubuntu build dependenciesErik Kundiman
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.
2024-08-19Merge branch 'webrtc-voice' into 2024.06-atlasaurusErik Kundiman
2024-08-15Build directory creation that works on zsh & tcshErik Kundiman
too, not just on bash.
2024-08-14Set ROOT_PROJECT_NAME to Megapahit nowErik Kundiman
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.