-
Notifications
You must be signed in to change notification settings - Fork 87
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
OS X support? #316
Comments
Hi Roni, I think it would be great to have OS X support. Unfortunately, I don't own any OS X device, so right now I'm trying to prioritise those platforms that I'm more familiar with. Snap packaging (almost there) and dockerization are next in my list. I believe OS X would run on Virtualbox, so I will leave this issue open in case someone wants to contribute any patches or I have some time to work on it. Thanks for showing interest! |
Hi @juanrubio I have OSX device. Now I'm trying to compile using autoreconf and make. I will give some update and I will definitely ask questions; Update for now:
TODO:
DONE
TODO: easy_install soundcloud
TODO: brew install ossp-uuid -> FAIL with version |
Hey!, Unfortunately, I don't have an OSX device and my attempts at using a VirtualBox VM have not been very fruitful. So if you get to a working recipe to build on a mac, I would love to have that added to the project docs somewhere! |
I have some updates
TODO: brew install dbus
TODO: compile&install https://github.com/andreas-volz/dbus-cplusplus
TODO: brew install liboggz
TODO: brew install opusfile
TODO: brew install libsndfile
OSX has no alsa; Only CoreAudio; |
There are two OpenMAX IL pcm renderers in Tizonia, one based on Alsa and the other based on PulseAudio.
I don't know if it is feasible to install PulseAudio on OSX. Apparently there is a formula which appears to be active? If this is a viable route, then a top-level configure option could be added to disable the Alsa renderer on OSX. For testing purposes, you can disable locally by removing https://github.com/tizonia/tizonia-openmax-il/tree/master/plugins |
Let me know if PulseAudio is doable on OSX, and I'll add a top-level "--disable-alsa" configure option. |
@juanrubio PulsaAlsa is ok on osx; --disable-alsa will be great |
Oh. Just read your first comment; I will try "removing pcm_renderer_alsa from both configure.ac and Makefile.am"; |
OSX don' have epoll; @juanrubio how to set up to use kqueue? |
Some updates
TODO: disable alsa
DONE
TODO: brew install boost-python
TODO: fix code (ignore argument) !!!BAD TEMPORARY SOLUTION!!!
TODO: support for KQUEUE
TODO: set MSG_NOSIGNAL to 0
TODO: brew install libfishsound
Strange. libvpx is installed; TODO: fix Makefile.am
Same as vpx_decoder
DONE
DONE |
I compiled and install tizonia; But on start
I get
|
OK, I've created an issue for the top-level configure option So you've managed to get all the dependencies and workarounds in place to get Tizonia to build. That's great progress!. As for the crash, we need to figure out what's going on. First step would be to enable logging to see if that gives us a clue:
and replace
Of course, a
When it crashes, press Thanks! |
This is now implemented in #402. But please note that the actual option is
|
It looks like this has gone largely dormant, is there any active work being done here? I would be happy to pick up where @a06kin left off. I read through the thread here, is there any other documentation I should check out? Thanks in advance for any help bringing me up to speed. |
It would be awesome if someone could pick this up. So thanks in advance if you can do it. From what I remember, @a06kin was able to compile and install Tizonia (with various functionalities disabled) and he got his first crash while using one of the YouTube options. So I guess one way to start is to try to reproduce up to that point and obtain some backtraces from the crash with GDB. With that, we could investigate the root cause and plan for the next step. This is the main document to read for building instructions etc. This comment has some info on how to enable logging in Tizonia, etc, which will be essential for this task. And if there's anything you need, don't hesitate to ask! |
Any progress on this? would really like to try this out. |
Thanks for the interest. I would love to see this going somewhere too!. Unfortunately, there has not been any progress in a long time. I do not own a Mac device, so I'm really unable to help here... |
I understand, but still decided to ping as I'm constantly searching for some lighter way to listen music via command line and this would be perfect (always ending up to browse this repo, hah). I have a Macbook I use daily in both free time and for work (web development) but Linux/unix-programming is not my strongest suit. I could try to build and test more in some point if that helps, maybe next weekend or so. |
Yes, I think that would definitely help. Please use this thread to record your findings. I would be able to provide some support, like adding configure option to disable features that are not fully functional, etc. It would be good to get to the point where at least the core parts of the app/framework are buildable. That would make further steps easier. |
Fall in love with this player please make it on MacOSX happen? How can the community help? Is there any new progress? |
Hey @juanrubio @tizonia, |
So I've manage to build it. |
Hi @tcheronneau!, First of all, many thanks for looking into the OS X port. This is really amazing, lots of people keep asking for OS X support. I don't own an Apple device but I'll try to help where I can. There seems to be a way to select the kqueue backend in libev. I've looked around, and I have found this: Please have a look at the entire thread. The solution seems to be linked at the bottom. I hope it helps! |
So I managed to make it work with kqueue. |
So I've tried to setup log files or put stdout but I think tizonia does not read the file log4crc. |
Hey @tizonia I'll probably your help to debug this one. |
@tcheronneau Hey, I managed to get Mac OSX support working on my device through playing around with the Docker convenience script and installing pulseaudio on the host device through brew. I pushed the changes I made to get it working on my other account here: dominic-codespoti/docker-tizonia-mac-support@395cc90 |
I've just submitted an initial meson PR. Perhaps the people who've managed to fix the source could share their modifications so that the meson script can be adapted? By the way, the newer libuuid 2.34 is also buildable. Assuming it's necessary, someone could create and submit a bottle. |
@DominicCodespoti That's really awesome! As I'm a docker newbie, could you provide step-by-step instructions how to run this on a mac? I'm dying to stream some music via command line. Thanks in advance! |
Hey all, this isn't a native solution but thanks in large part to @DominicCodespoti 's efforts, the docker-tizonia repo now has Mac OSX support. The README now contains instructions specific to Mac setup, and the @ronilaukkarinen , assuming you've installed and set up Docker based on their docs, the instructions in the README along with the helper script should be enough to get you up and running; feel free to reach out if you have any additional questions or trouble. |
@matthewarmand Nice, thanks a lot for your effort! I'll give it a go soon! |
@matthewarmand @DominicCodespoti Rad! |
Would love to use this on my Macbook Pro. Any thoughts for OS X support? homebrew has most of the packages and OS X is mostly unix after all.
The text was updated successfully, but these errors were encountered: