-
-
Notifications
You must be signed in to change notification settings - Fork 987
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve MacOS packaging #186
Comments
Can create a pkg and/or dmg using macports, but still missing the same libraries. Can also create a multipackage; however resulting pkg is ~400mb, which in my opinion is excessively large. |
@ReenigneArcher Is it possible to share a link to the 400mb multipackage? I'm on a Monterey 12.5.1 where I cannot install Xcode and MacPorts. |
Sorry, but I think those builds are expired. |
I can file a bug as well for this. Im getting |
I found a small typo in the instructions. If you copied and pasted the commands it would have shown an error prior to the error you showed. I've updated the docs here: https://docs.lizardbyte.dev/projects/sunshine/en/latest/about/installation.html#portfile Those instructions should work as I just tested them. If those still don't work, then please share the output of these commands. |
I was able to make it work and it paired great from mac to mac using Moonlight PC. Link you shared has a typo. This line Would it be possible to share the script to generate multipackage standalone pkg. I want to run sunshine on a mac where I can't install XCode. |
Looks like we're both wrong... it should be https://guide.macports.org/#development.local-repositories.
I just used macports to create the package. If you already have macports installed and the sunshine port installed, it's quite easy. See here: https://guide.macports.org/#using.binaries.binary-packages |
Hi there I'm trying to install Sunshine on a mac running El capitan but I get the Port sunshine not found error every time I try to install. |
El Capitan is not supported. Upgrade your OS. |
Any news here? I get this while starting: dyld[42802]: Library not loaded: /usr/local/opt/boost/lib/libboost_locale-mt.dylib |
Mac builds are x64 only right now, which probably means its not usable on ARM macs due to library incompatibility issues. A manual to get as far as I got:
i.e. the mac is willing to emulate the x64 build, but is not willing to mix architectures. There is a very promising link in this ticket, by @ReenigneArcher - https://lizardbyte--330.org.readthedocs.build/projects/sunshine/en/330/about/installation.html#portfile - but that link no longer works, unfortunately. |
Just use the portfile and be done with it. https://docs.lizardbyte.dev/projects/sunshine/en/latest/about/installation.html#portfile |
Hi @ReenigneArcher, I follow your guide to use macport and portfile. Tried v0.20.0, v0.19.1, and your suggestion build in (#1348 (comment)). That build has no boost180 Macports issue, but still not usable on ARM macs due to library incompatibility issues.
|
Try nightly portfile |
Maybe it’s a great idea to switch to Homebrew. |
Thanks, I'll try that.
Did you use homebrew to solve problem? Thank u both! |
Why does Sunshine need Xorg libraries to compile? |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as outdated.
This comment was marked as outdated.
Yes it is... we build it on every single PR and push event, so often multiple times a day.
That is NOT the portfile to use... that one is used to generate the portfile that we publish. Links to downloads can be found on the website. https://app.lizardbyte.dev/Sunshine/ |
Maybe it's a good idea to replace the release files for macOS from an DMG to a pkg installer |
A PR would be welcomed as long as it addresses the linking issues. dmg and pkg will have the same linking problems. Also, I think pkg and/or dmg will not be compatible with arm architecture. GitHub only gives us access to x86_64 runners so we can't compile on arm. Setting up Sunshine for cross compilation is probably a completely separate topic. |
Nightly portfile worked and finish installation. Then I run sunshine command to load, another issue appear.
Could you give me a link if the issue is already mentioned? Thank you for your support. |
Another dev just mentioned they have fixed these issues. I'm sure they'll put up a PR soon. |
h264_videotoolbox doesnt sound right. We need hevc instead of h264 on macOS |
|
Are you going to pay the bill? |
PR is pull request? So I need to wait for new update nightly portfile right? Thank you. |
So cross compilation is the way we need to go? |
Finally, I can successful running sunshine pretty well. I downloaded v0.19.1 Portfile and edit boost.version to 1.81. Thanks @ReenigneArcher for your support. |
Has anyone got a working Homebrew formula? |
@iMonZ compiling yourself is not too difficult, probably your easiest path forward. https://docs.lizardbyte.dev/projects/sunshine/en/latest/building/build.html |
So a ~400mb dmg would be an improvement.
Thanks. Broken packages should be removed from distribution and/or installation documentation should be amended. |
@rolfen We build EVERY pull request in Macports before merging, so I have no idea what everyone's issue with it is. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This is not a support thread. Please keep the discussion around the macOS dmg package. |
This comment was marked as off-topic.
This comment was marked as off-topic.
dmg is being dropped as part of #2222 in favor of homebrew |
Describe the Bug
The dmg packages are not use-able currently and therefore will not be included in release assets until this is resolved.
Known issues:
libopus.0.dylib
(see below)CPACK_BUNDLE_STARTUP_COMMAND
is not setExpected Behavior
No response
Additional Context
We could set
CPACK_BUNDLE_STARTUP_COMMAND
similar to this project: https://github.com/MegaGlest/megaglest-source/blob/1e4441e0996c2045f29998a3fd9b2b7a6c2ad441/mk/macos/CMakeLists.txt#L43The command points to this file: https://github.com/MegaGlest/megaglest-source/blob/develop/mk/macos/bundle_resources/MegaGlest.sh
Sunshine Host Operating System and Version
MacOS
Architecture
Sunshine Version
0.14.0
GPU Type
GPU Model
GPU Driver/Mesa Version
Capture Method (Linux Only)
The text was updated successfully, but these errors were encountered: