popcornmix / omxplayer

omxplayer
GNU General Public License v2.0
1.01k stars 334 forks source link

Building without D-BUS #404

Open vanfanel opened 8 years ago

vanfanel commented 8 years ago

Hi,

Some of us have custom GNU/Linux systems which don't rely on systemd and don't need D-BUS IPC at all. Until some time ago, omxplayer didn't depend on this. Now it does, but I would like to be at least able to build my own binaries without this. Could you add a configure or make option to do so, please?

popcornmix commented 8 years ago

omxplayer is designed for raspbian and is designed to depend on dbus. While I might consider a pull request to make this optional it is not something that is planned.

TheSin- commented 8 years ago

Sorry I missed this one, I searched for dbus before wrote my ticket, I should have tried d-bus I guess.

I'll try and get that log this morning once I get to the office, really hoping we can get something sorted for this, I really need to call omxplayer.bin directly and not use bus so I can start it very early in the boot. I have no idea why it worked for me for so long, it literally only broke like a month ago, and of course I showed my designed to my client prior to it breaking and now I have no options to fix it.

Thought my ticket was not the same at all, I don't want to build it without dbus, I just want a switch to run it without bus just for during boot when bus isn't avail. after that dbus is fine for me. So I do NOT want a configure switch, I want a runtime switch. Building OMXPLAYER is not fun at all since I have cross compile boxes and having to have userland installed to build just isn't an easy thing on an amd64 box. I'd really rather not have to build my own.

I just want/need to be able to use it on boot again.

jehutting commented 8 years ago

@vanfanel Hopefully you are following issue 456: I need your input on the following. I was questioning myself if the Makefile NO_DBUS_USAGE CFlag is something which is really needed. I don't want to clutter up the code if it is not necessary. I am not sure if the dbus library is avaliable on your system.