c/c++ package manager
@ReenigneArcher is already working on this.
Since Sep 9, 2025.
Assessment
This issue has not been assessed yet.
Description
Is there an existing issue for this item?
- I have searched the existing issues
Repositories
LizardByte/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
- Dominant language
- No language data
- Stars
- 2
- Forks
- 0
- Avg merge
- 25m
- Merged PRs (30d)
- 5
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from LizardByte/roadmap
-
1-3 months effort:Large LizardByte/Sunshine packaging planned priority:Medium
Difficulty 5/5 Over a week Newbie friendliness 35/100
LizardByte/roadmap#178 ·
-
1-3 months C++ CSS effort:Medium HTML JavaScript LizardByte/Sunshine planned priority:High Vue
Difficulty 5/5 Over a week Newbie friendliness 35/100
LizardByte/roadmap#153 · 2 reactions ·
-
Dependency Dashboard Opendependencies
LizardByte/roadmap#151 · 1 assignee ·
-
1-3 months Bash/Shell/Scripting effort:Medium GitHub actions LizardByte/actions planned priority:High
LizardByte/roadmap#134 · 1 assignee ·
-
1-3 months C++ effort:Large LizardByte/libdisplaydevice LizardByte/Sunshine LizardByte/tray planned priority:High
Difficulty 5/5 Over a week Newbie friendliness 25/100
LizardByte/roadmap#102 ·