summaryrefslogtreecommitdiff
path: root/indra/newview/FixPackage.cmake.in
AgeCommit message (Collapse)Author
2025-07-12Rich Presence support using Discord Social SDKErik Kundiman
Download DiscordSocialSdk-1.4.9649.zip https://discord.com/developers/applications/1393451183741599796/social-sdk/downloads to your ~/Downloads folder. Add -DUSE_DISCORD:BOOL=ON to your cmake line. The authorisation is triggered by selecting Help > Discord Social. It seems that the user will need to do this every time they want Rich Presence support on the viewer while using Discord. The Discord app is still set to be a public client in the OAuth2 tab, I'm going to try to make it work with the app set to be a confidential client, next. All Discord-related code are contained within one file, llstartup.cpp, and other classes access it through some opaque layer, static functions, otherwise we'd get these "duplicate symbol" linking errors.
2025-05-14Revert "Revert to LL's OpenJPEG fork"Erik Kundiman
This reverts commit 3a36cdf6ebd9d2795bdcd14162f38df568d51796.
2025-04-27One Collada DOM try_compile for all platformsErik Kundiman
On macOS, it's static library too, now, hence the stream editing is done out of any platform scope (which it's still needed because BUILD_SHARED_LIBS is ignored), and the (so)versions don't need to be set any more. CMAKE_INSTALL_LIBDIR is also ignored, hence the libcollada14dom.a moving.
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-02-15MacPorts' openal-soft has been upgraded to 1.24.2Erik Kundiman
2024-12-23MacPorts' icu has been upgraded from 74.2 to 76.1Erik Kundiman
2024-12-23MacPorts' openal-soft has been upgraded to 1.24.1Erik Kundiman
The __APPLE__ undef and redefining is for getting around the `expected ';' after top level declarator` error that would happen on /opt/local/include/AL/alext.h line 165: typedef ALCboolean (ALC_APIENTRY*PFNALCSETTHREADCONTEXTPROC)(ALCcontext *context) ALC_API_NOEXCEPT17; where ALCcontext wouldn't be recognised because of freealut's /opt/local/include/AL/alut.h that would include macOS' OpenAL framework alc.h instead of MacPorts openal-soft's own alc.h, if __APPLE__ is defined, hence the undefining just before including freealut's alut.h (and redefining afterwards, to avoid any problem).
2024-11-20MacPorts' expat (compatibility) has been updatedErik Kundiman
2024-09-27Codesign message & fixup_bundle after links creationErik Kundiman
to avoid verbose warnings of non-existent embedded items.
2024-09-24MacPorts' expat (compatibility) has been updatedErik Kundiman
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-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-01Merge remote-tracking branch 'secondlife/release/2024.08-DeltaFPS' into ↵Erik Kundiman
2024.08-DeltaFPS
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-28lipo -thin every dylib in Frameworks automaticallyErik Kundiman
foreach, and execute_process' OUTPUT_VARIABLE just don't work in installation phase SCRIPT.
2024-08-28Unmount VLC volume on macOS after installationErik Kundiman
2024-08-26Don't create links to non-existent dependenciesErik Kundiman
JsonCpp isn't used any more and Boost is linked statically now, so SLPlugin doesn't need to link to any Boost dynamic libraries upwards (which are of an older version and are there because they're still needed by Collada DOM). I suspect links to non-existent files have been the cause of why Gatekeeper just wouldn't identify the developer despite the fact that Apple notarisation service would still accept the bundle and various Apple's integrity (command-line) tools would still validate the bundle too. This commit also removes unnecessary linkage changes for the media plugins.
2024-08-26No need to create link for libbrotlidec.1.1.0.dylibErik Kundiman
Only libbrotlidec.1.dylib that is linked by some other library there (libfreetype.6.dylib). This commit also reindented 8 spaces to only 4 spaces.
2024-08-10No Meshoptimizer macOS install name change or linkErik Kundiman
since the app links to Meshoptimizer statically now on macOS.
2024-07-11Separate file for fixing Mac package dependenciesErik Kundiman
since the variable PACKAGE is not available to check any more by that stage.