summaryrefslogtreecommitdiff
path: root/indra/newview/ViewerInstall.cmake
AgeCommit message (Collapse)Author
2024-11-10Get dictionaries folder installed to app_settingsErik Kundiman
https://megapahit.com/show_bug.cgi?id=5
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-08-25Put media plugins install commands correspondinglyErik Kundiman
2024-08-08Install FMOD 2.03.02 automatically on GNU/LinuxErik Kundiman
2024-08-07No need for custom target to generate contributorsErik Kundiman
The code is also moved to where it's relevant.
2024-08-07Generate InfoPlist.stringsErik Kundiman
It didn't work before because the destination folder wouldn't exist yet by the time it's configured, but CMake has been silent about it.
2024-07-29Get VLC streaming to work again on macOSErik Kundiman
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.
2024-07-28Install plugins somewhere close to libvlc on macOSErik Kundiman
and without having to rename the containing folder. VLC streaming still hasn't worked (it used to) since using fixup_bundle, since switching to FMOD, since switching from SDL to Cocoa, since merging Maintenance B, so still no idea which of these is causing it.
2024-07-17Use `sed` a little bit differently on GNU/LinuxErik Kundiman
2024-07-17Apply contributors generation for non macOS tooErik Kundiman
2024-07-12Reimplementation of contributors.txt generationErik Kundiman
We don't rely on viewer_manifest.py's extract_names any more to generate the contributors list, it's implemented in CMake now, using sed, paste, and sort.
2024-07-12Simplify InfoPlist.strings configurationErik Kundiman
2024-07-12Fix version appearing as %%VERSION%% on macOS infoErik Kundiman
This would be done in viewer_manifest.py on SLv. This needed to be reimplemented, and now it is, just using CMake.
2024-07-11Separate file for fixing Mac package dependenciesErik Kundiman
since the variable PACKAGE is not available to check any more by that stage.
2024-07-11Support for `make install` on macOSErik Kundiman
Just set CMAKE_INSTALL_PREFIX to the newview/Megapahit.app/Contents/Resources inside your build folder, and set PACKAGE to OFF.
2024-07-10`cpack -G Bundle` instead of `make install` on MacErik Kundiman
Root project finally renamed to Megapahit, which has a nice effect of CPack: - Run preinstall target for: Megapahit CPack: - Install project: Megapahit [] but it's really because CPack Bundle file couldn't be renamed via CPACK_PACKAGE_NAME like on DEB, RPM, and FREEBSD. CPack determines its own destination root folder, which is Resources (I didn't find a way to set it to Contents). fixup_bundle is now run on the .app deep inside CPack staging folders so that the dependency copies will be included in the DMG.
2024-07-09NDOF can be enabled for Space Navigator supportErik Kundiman
2024-07-07Link CEF & chmod a+x Dullahan execs after installErik Kundiman
otherwise fixup_bundle would try to fix DullahanHelper executables when otool -L somehow can't find files that contain spaces in their names. By postponing the chmod until after fixup_bundle is called, fixup_bundle will ignore the DullahanHelper apps since they contain no executables yet by that time. Apart from that, trying to link to CEF would fail before installation cause SLPlugin's Frameworks directory wouldn't exist yet.
2024-07-07macOS install DESTINATIONs are relative paths nowErik Kundiman
but set CMAKE_INSTALL_PREFIX to newview/Megapahit.app/Contents.
2024-07-07`make install` on macOS installs CEF & DullahanErik Kundiman
Using file(CHMOD ... PERMISSIONS .._EXECUTE) somehow didn't work, so I had to set it to reinstall the Dullahan executables, and they are the only files that are required to be executable (CEF framework and the .dylibs aren't).
2024-07-05`make install` on macOS copies dep libs to bundleErik Kundiman
I couldn't get CEF & Dullahan copied using this function. fixup_bundle on SLPlugin.app was considered invalid, however, SLPlugin itself gets install_name_tool changed but pointing to a non-existent Frameworks directory that would be in the SLPlugin.app bundle. We will have to create and fill such directory with links to the upper (the root viewer app bundle Frameworks') library copies ourselves. We wouldn't want fixup_bundle to successfully fill SLPlugin's Frameworks with copies instead of links anyway. See: `man cmake-modules` https://cmake.org/cmake/help/book/mastering-cmake/chapter/Install.html
2024-07-05libfmod.so files installed only if USE_FMODSTUDIOErik Kundiman
2024-07-05Reindentations & tabs to spaces to conversionsErik Kundiman
2024-07-05CPack packages licenses-linux.txt as licences.txtErik Kundiman
plus some reindentations.
2024-07-05`make install` on macOS copies resources to bundleErik Kundiman
Except for SLPlugin since there's already a custom command for it.
2024-06-29Get Dullahan working again on Debian/UbuntuErik Kundiman
After the Maintenance B merge, ironically it was Fedora's web functionality that worked out of the box (after only `patchelf --remove-rpath`-ing the dullahan_host binary from LL's v1.14.0-r2 release, since rpmbuild wouldn't allow non-existent paths). On Debian/Ubuntu somehow it wasn't working any more. It would complain about "No usable sandbox!" in (the new, replacing cef_log.txt) cef.log. The fix was done just by removing the chrome-sandbox' setuid permission (that's been turned on all this time following the common practice for CEF-based apps). On Fedora, it still works without setuid off. It may not have been needed after all, and it's safer anyway that we don't need to elevate the permission to use the effective UID of root to run the sandbox.
2024-06-25Replace tabs in ViewerInstall.cmake with spacesErik Kundiman
2024-06-19ViewerInstall.cmake: Install libfmod on Linuxfowlerdm
Install libfmod.so, libfmod.so.13, and libfmod.so.13.22
2024-06-07Fix can't send message to group chats on Linux/BSDErik Kundiman
https://megapahit.com/show_bug.cgi?id=26 WARNING #Messaging# llmessage/message.cpp(2050) dispatch : Ignoring unknown message ChatterBoxSessionStartReply WARNING #Messaging# llmessage/message.cpp(2050) dispatch : Ignoring unknown message ChatterBoxSessionAgentListUpdates WARNING #Messaging# llmessage/message.cpp(2050) dispatch : Ignoring unknown message ChatterBoxSessionAgentListUpdates These messages are in etc/messages.xml, and it was never included before.
2024-02-21Exclude libminigbm.so from being installedErik Kundiman
as it's not part of the Dullahan package any more.
2024-01-18GNU/Linux internal web browserErik Kundiman
The lllibs need to be built as static libs now, otherwise SLPlugin would lose reference to gSavedSettings. The media plugins still need to be built as dynamic libs however, so they can't rely on the condition in LibraryInstall.cmake any more. Since the Megapahit viewer, when built using GCC, is using the default value for _GLIBCXX_USE_CXX11_ABI (which is 1 for the newer C++11 ABI as opposed to 0 for the older C++03 ABI), the Dullahan dependency needs to be built with the very same _GLIBCXX_USE_CXX11_ABI setting too, otherwise apr_dso would fail at loading libmedia_plugin_cef.so because of the failure to refer to the setOnConsoleMessageCallback function with strictly the same (not differing between std::__cxx11::basic_string vs. std::basic_string) parameter types. The CEF build is Spotify's, so no live streaming support, while the Dullahan package used by the viewer was built using Kokua's dullahan fork. After rebuilding it with _GLIBCXX_USE_CXX11_ABI kept at default by not overriding it in variables (from the build-variables repo), the order of the target link libraries in CEFPlugin.cmake doesn't seem to matter any more (it did before!). Now EXTERNAL_TOS can be safely omitted from GNU/Linux added compile definitions (but still used on FreeBSD).
2023-12-07Install licenses.txtErik Kundiman
though the file is not tracked. Just put a generated one from building on a supported platform.
2023-08-28XDG desktop entryErik Kundiman
2023-08-28Temporary iconsErik Kundiman
2023-08-26Make using the system browser for links worksErik Kundiman
First, in order for launch_url.sh to be executable, it needs to be installed as a program. Secondly, the spawn browser command path needs to be adjusted accordingly. And last, add chrome (applies to chromium too on FBSD), to the list of browser commands to try (so chrome wasn't there :/, but dillo has always been XD, and that's why it kept opening Dillo here haha).
2023-08-26Certificate authority bundle gets installed tooErik Kundiman
When I tried using, for example, FBSD system's ca-root-nss.crt, at runtime, the viewer would fail at downloading textures, avatar names, and so on. So for now we're still relying on LLCA, it's just get installed automatically without having to track the file in the viewer project.
2023-08-26Fonts get installed tooErik Kundiman
2023-08-26CPack for packaging (when PACKAGE set to on)Erik Kundiman
Since we could use the dynamic versioning from the configuration phase of CMake, the inclusion is put in BuildVersion.cmake. Other CPACK variables are usually static so can be set when running cmake. CPack somehow doesn't pick up the DESTINATION values in ViewerInstall (slplugin & libvlc too) from UnixInstall, so they're they're partially hardcoded again there.
2023-07-29Viewer & resources can be installed on the systemErik Kundiman
2016-01-15merge changes for 4.0.1-releaseOz Linden
2015-11-10remove execute permission from many files that should not have itOz Linden
2015-11-02MAINT-5743 Fixed Remove gpu_table and references to it from viewer packagingandreykproductengine
2013-03-29Update Mac and Windows breakpad builds to latestGraham Madarasz
2010-08-24Backed out changeset c3d41f18ce2bTofu Linden
back-out the back-out for this branch. yay.
2010-08-24Backed out changeset a62bf7c0af21Tofu Linden
Backing out this merge that I pushed (prematurely) to the wrong place.
2010-06-29VWR-8885 CMAKE build hard depends on artwork filesTofu Linden
Warn earlier, clearer and harder about missing artwork bundle - this still bites snowglobe builders regularly. Reviewed by Aimee.
2009-04-09This is causing open source build problems - cherrypicked DEV-29644 ↵Brian McGroarty
VWR-12587: Cmake install target has a hard coded secondlife-bin reference remaining
2008-06-02svn merge -r88066:88786 ↵Bryan O'Sullivan
svn+ssh://svn.lindenlab.com/svn/linden/branches/cmake-9-merge dataserver-is-deprecated for-fucks-sake-whats-with-these-commit-markers