summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-08-22Stream notificationErik Kundiman
https://megapahit.com/show_bug.cgi?id=56 I could make such metadata setting triggered by an event only on the media plugin's side, not on the viewer's side. I had tried adding a MEDIA_EVENT_NOWPLAYING_CHANGED and hoped that mediactrl, viewerparcelmedia, or viewermedia would react to it, but no, so this is the best I could come up with for now, to keep checking if what's now playing has been updated or not. I intentionally didn't clear mNowPlaying the way mURL is, so that it wouldn't notify one last double after the player stops streaming. mNowPlaying and mMediaNowPlaying need to be kept in their last states so that the comparison is correct. I also intentionally didn't put the notification inside the MEDIA_PLAYING scope, cause the flow somehow never got into that scope.
2024-08-22Showing arrivals and departures can be toggled nowErik Kundiman
and by default it's off.
2024-08-21Squeeze five more people into the teamErik Kundiman
2024-08-21Arrival time in nearby tab (draft)Erik Kundiman
The period got updated to something more frequent (from 5 to 1 second). I copied from newview/llpanelpeople.cpp and updateLastInteractionTime. The values are still not accurate, and have a delayed start. The presentation could use something like std's strftime, but I started from what worked first, which was using LL's formatSeconds. The alignments really need some tidying up too.
2024-08-20Arrival, distance & leaving notifs in local chatErik Kundiman
https://megapahit.com/show_bug.cgi?id=49 The LLVOAvatar class doesn't seem to have a display name getter.
2024-08-19Make sure curl doesn't get configured with libssh2Erik Kundiman
Turns out it was on by default, probably that's why it would fail on everyone else's systems, building libcurl, cause in the log I saw libssh2 was requiring the very openssl3 we have to deactivate until libcurl compilation is done.
2024-08-18openSUSE Tumbleweed supportErik Kundiman
Its own CPACK_RPM_PACKAGE_REQUIRES will catch up soon.
2024-08-17Show avatar distance only on nearby listErik Kundiman
2024-08-17Distance in nearby tab (draft)Erik Kundiman
https://megapahit.com/show_bug.cgi?id=49 Still needs to be tidied up. For now it's aligned to the left. If you want to align it to the right, apart from modifying avatar_distance in panel_avatar_list_item.xml to look more like last_interaction, modify newview/llavatarlistitem.cpp line 555 to be something like: `S32 avatar_distance_width = avatar_item->mLastInteractionTime->getRect().mLeft - avatar_item->mAvatarDistance->getRect().mLeft;` I had tried this at first, but I couldn't make it look good and that's why I aligned it to the left. Also, these distances need to not be shown on Friends list. I'm doing that next.
2024-08-16Fix meshoptimizer & NDOF tracking contains garbageErik Kundiman
instead of 0.
2024-08-16LL's prebuilt files are saved in build directoryErik Kundiman
in their original names.
2024-08-15Make sure OpenSSL is built before CURLErik Kundiman
LLCoreHttp.cmake is included earlier (by llappearance/CMakeLists.txt), before llcorehttp/CMakeLists.txt (even though it includes LLCoreHttp.cmake in return).
2024-08-15Make packages/lib/release directory automaticallyErik Kundiman
cause it's needed at least on macOS, where the command to install the FMOD (which is the one done earliest) library is execute_process(COMMAND lipo), and not file(COPY) that would imply a mkdir.
2024-08-15Build directory creation that works on zsh & tcshErik Kundiman
too, not just on bash.
2024-08-14Rename openjpeg to openjpeg-2.5 if no openjpeg-2.5Erik Kundiman
instead of if there's openjpeg.
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.
2024-08-14macOS build process is for 1 arch at a time nowErik Kundiman
2024-08-14Use LL's NanoSVG for Ubuntu tooErik Kundiman
so we can have 1 set of instructions that applies to both Debian and Ubuntu.
2024-08-14Build instructions now use 1-level deep build dirErik Kundiman
2024-08-14Automatic libcurl download, build & installErik Kundiman
The MacPorts openssl11 port is not needed any more for building our libcurl.
2024-08-13Only download when there aren't the files yetErik Kundiman
2024-08-13libtool for building xmlrpc-epi & tidy up its cmakeErik Kundiman
Also CMakeCache.txt removal and Debian dependencies that might not be relevant on non-debootstraps are not part of the instructions.
2024-08-13Automatic OpenSSL download, build and installationErik Kundiman
2024-08-13Remove already implied file(MAKE_DIRECTORY)Erik Kundiman
file(COPY) seems to already include making the necessary directories.
2024-08-13Rename openjpeg to openjpeg-2.5 only if not doneErik Kundiman
yet, i.e. OpenJPEG not installed yet.
2024-08-13Path to file for sse2neon, not just the directoryErik Kundiman
2024-08-13Automatic libndofdev download, build & installErik Kundiman
I couldn't get try_compile to succeed using COMPILE_DEFINITIONS, I couldn't either using quotes for the CMAKE_C_FLAGS.
2024-08-13Remove NanoSVG installation instructionsErik Kundiman
The installation is already automatic.
2024-08-13CMake file & try_compile replacing execute_processErik Kundiman
file(DOWNLOAD) replacing execute_process(COMMAND curl), file(ARCHIVE_EXTRACT) replacing execute_process(COMMAND tar xf), file(MAKE_DIRECTORY) replacing execute_process(COMMAND mkdir -p), file(COPY) replacing execute_process(COMMAND cp), file(RENAME) replacing execute_process(COMMAND mv), try_compile replacing execute_process(COMMAND cmake/make), LIBS_PREBUILT_DIR replacing AUTOBUILD_INSTALL_DIR, 0 replacing ${${_binary}_installed} where appropriate, no FMOD reinstallation when it's already installed, and archives & unarchived source/build directories are in CMake root binary directory, instead of /tmp. SHOW_PROGRESS is on for downloading Dullahan from the Megapahit website cause it can be slow.
2024-08-13Automatic NanoSVG download/install on macOS/DebianErik Kundiman
2024-08-12Automatic XMLRPC-EPI Mac download, build & installErik Kundiman
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.
2024-08-12Automatically lipo -thin libfmod.dylibErik Kundiman
2024-08-12Right WORKING_DIRECTORY values to shorten pathsErik Kundiman
2024-08-12Remove unarchived dependencies after config/buildErik Kundiman
also fix ${_binary} to its intended fmodstudio name.
2024-08-12Remove unnecessary LINUX condition in Fedora testErik Kundiman
2024-08-12Don't redownload sse2neon if already installedErik Kundiman
2024-08-12Download & install aren't redone when installedErik Kundiman
by making sure we *write* the _installed files (containing the value 0).
2024-08-12Download VLC dmg automaticallyErik Kundiman
and building only for one architecture at a time is the one supported now.
2024-08-12Automatic OpenJPEG download, configure & installErik Kundiman
2024-08-11Dullahan x86-64 built with minimum macOS 10.15Erik Kundiman
LL's build seems to have a minimum macOS of 13.3.
2024-08-11Minimise UnixInstall.cmake difference from SLv'sErik Kundiman
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.
2024-08-11CPACK_DEBIAN_PACKAGE_DEPENDS are in CMakeLists nowErik Kundiman
and can be differentiated across different distros, even though there are only stable/LTS Debian and Ubuntu for now.
2024-08-11Rearrange CPack settings & contributors generationErik Kundiman
where they belong in newview/CMakeLists.txt.
2024-08-11Linux distro & logical cores queries are sharedErik Kundiman
by moving them to Variables.cmake so they can be reused throughout all CMake files.
2024-08-10Bring back Meshoptimizer linking to FBSD & DebianErik Kundiman
and Ubuntu. find_package(meshoptimizer) didn't imply its target_link_libraries.
2024-08-10Fix Meshoptimizer CMAKE_OSX_ARCHITECTURES valueErik Kundiman
It is decided that on x86-64, it's compiled too instead of using LL's (old) prebuilt libmeshoptimizer.a.
2024-08-10Make sure APP_SHARE_DIR is valued in llfilesystemErik Kundiman
otherwise the app would crash on GNU/Linux or BSD for missing the share directory prefix, unless cmake is run twice like before just so APP_SHARE_DIR is picked up but we don't want to have to run it twice.
2024-08-10Automatic dullahan_host runpath removal on FedoraErik Kundiman
2024-08-10No Meshoptimizer macOS install name change or linkErik Kundiman
since the app links to Meshoptimizer statically now on macOS.
2024-08-10Automatic Meshoptimizer download, build & installErik Kundiman
on macOS and Fedora.