Repository navigation
Description
Is there an existing issue for this item?
- I have searched the existing issues
Repositories
SunshineStream/Sunshine, LizardByte/libdisplaydevice, LizardByte/tray
Languages/Skills/Technologies
C, C++, CMake
Description
It's getting a little bit old when system packages are updated in different package managers, introducing breaking changes, and it's very difficult if not impossible to pin the versions.
Below is a table showing the current Sunshine packages and their respective names in both Conan and Conda. Conan seems to be a bit more complete.
I've also been reading about cpm (https://github.com/cpm-cmake/CPM.cmake) which seems interesting, particularly about the ability to easily apply patches.
The other option is to move more packages to submodules. In all cases I think static linking whereever possible will alleviate annoying issues for users on Linux and macOS.
The end goal is to just simplify the build process and make the builds more repeatable/consistent. I know that Plex uses Conan, which is what drew me to investigate that one.
I also briefly looked at vcpkg, but it is missing a lot of important ones.
Any feedback/discussion would be welcomed!
| Type | package name | Conan | Conda |
|---|---|---|---|
| System | appindicator3-0.1 | ? | ? |
| System | ayatana-appindicator3-0.1 | ? | ? |
| System/Fetch | Boost | boost | boost-cpp |
| System | doxygen | doxygen | doxygen |
| Submodule | glad (generator) | glad | glad |
| System | graphviz | ? | graphviz |
| Submodule | googletest | gtest | gtest |
| System | libcap | libcap | libcap |
| System | libcurl | libcurl | libcurl |
| System | libdrm | libdrm | libdrm |
| System | libevdev | libevdev | evdev |
| System | libnotify | ? | ? |
| System | libva | libva | libva |
| System | libva-drm | ? | ? |
| System | minhook | minhook | ? |
| System | miniupnpc | miniupnpc | ? |
| Submodule | nanors | ? | ? |
| System | nlohmann_json | nlohmann_json | nlohmann_json |
| System | npm | nodejs | nodejs |
| Submodule | nv-codec-headers | nv-codec-headers | ? |
| Submodule | nvapi-open-source-sdk | ? | ? |
| Submodule | nvfbc | ? | ? |
| System | OpenSSL | openssl | openssl |
| System | PkgConfig | pkgconf | pkgconfig |
| Submodule | Simple-Web-Server | ? | ? |
| System | systemd | libsystemd | libsystemd |
| System | Threads | ? | ? |
| Submodule | TPCircularBuffer | ? | ? |
| System | Udev | libudev | libudev |
| System | Wayland | wayland | wayland |
| Submodule | wayland-protocols | wayland-protocols | wayland-protocols |
| Submodule | wlr-protocols | ? | ? |
| System | X11 | xorg ? | xorg-libx11 |
| System | zlib | zlib | zlib or libzlib |
Packages that should not come from a package manager:
| Type | package name |
|---|---|
| Submodule | build-deps (FFmpeg) |
| Submodule | doxyconfig |
| Submodule | inputtino |
| Submodule | libdisplaydevice |
| Submodule | moonlight-common-c |
| Submodule | tray |
| Submodule | ViGEmClient |
Conda References:
- https://wolfv.github.io/posts/2019/06/12/conda-for-cpp.html
- https://computing.docs.ligo.org/conda/compiling/
Also see: https://moderncppdevops.com/pkg-mngr-roundup/ for other options.
Estimated Effort
effort:Extra-Large
Priority
priority:Medium
Target Milestone
6+ months
Dependencies
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsIn Progress
Activity
LizardByte-bot commentedon Jul 19, 2025
It seems this issue hasn't had any activity in the past 90 days. If it's still something you'd like addressed, please let us know by leaving a comment. Otherwise, to help keep our backlog tidy, we'll be closing this issue in 10 days. Thanks!
knyipab commentedon Jul 19, 2025
Just leave a comment to prevent it from being closed, and shows that someone care about the packaging issue for archlinux.
ReenigneArcher commentedon Jul 19, 2025
@knyipab Thanks. I'm going to exclude "planned" labels from the stale workflow. You can let us know which roadmap issues you're looking forward to by leaving a thumbs up on them. Thanks!
ReenigneArcher commentedon Sep 9, 2025
CPM added in the following PRs as an initial starting point.