albfan/miraclecast

Isolate from systemd

Closed this issue ยท 21 comments

In theory, there is no need for systemd on miraclecast. Just some compile (but not runtime) dependencies

That will allow to install in non systemd OS

This also prevents compilation on many distros unless you've rebuilt the kernel with kdbus and then rebuilt systemd with that support enabled. If this is possible it'd be great for no other reason than this.

๐Ÿ‘, I'm a Gentoo + OpenRC user and the systemd requirement prevents me from using Miraclecast.

According to http://lists.freedesktop.org/archives/systemd-devel/2015-February/027742.html it looks like it is just needed as no network-managing service got a Wifi-Direct API.
Currently Connman seems to start supporting WifiDirect: http://git.kernel.org/cgit/network/connman/connman.git/tree/doc/wifi-p2p-overview.txt

I will give it a try

http://git.kernel.org/cgit/network/connman/connman.git/tree/test/p2p-on-supplicant

Isolate this is a long wanted feature.

Great! Well rebuilding systemd for every Ubuntu release doesn't seem to be a good solution at the moment. Noticed that the source import and rebuild with kdbus enabled got broken, as they are working on Ubuntu wily (15.10) now.
However, I just wonder why Network-Manager still misses this feature while Wifi-Direct is a known technology (and working with wpa_supplicant) for many years.
Just think about that: Here a mailing list entry from 2010 and after 5 years still no progress http://osdir.com/ml/networkmanager-list/2010-08/msg00204.html ๐Ÿ˜ž

Sometimes you can see the forest for the trees

https://www.freedesktop.org/wiki/Software/miracle/libwfd/

Let's see what can be reused

if isolation from Systemd gets done, I can start working on creating a Docker container for Miraclecast.

๐Ÿ‘

Cool app, but systemd means 1 less user

I have systemd in my raspberry pi. Just curious, what linux flavour and version are you using?

Use Ubuntu at work, Arch at home. Planning on going full Gentoo soon since I've had enough of systemd on all my devices.

can't use on Slackware :(

Is there anyone working on this openrc version? the referenced commit actually still put systemd as dependency in derekdai fork... I am also Gentoo OpenRC user :-)

I don't think so

Hm, I will ask some gentoo guys if they wanna help with this, so we can finally have this application integrated into Gentoo in both systemd & openrc ways:
https://bugs.gentoo.org/636016

thing is that especially in Gentoo distro there are lots of cases where item coming from upstream is only systemd based while Gentoo guys port it to openrc...

I do have gentoo account. I add some useful info there

Option to build without systemd is merged

Can you provide a PR it was moved to https://github.com/albfan/miraclecast/blob/master/CMakeLists.txt#L19 so that line is unneeded

Although i can understand the apathy vs systemd like 8 years ago, but uhmmm...
Are there any serious distro's left that do NOT use systemd nowadays? ๐Ÿค”

Slightly offtopic, but sure, eg. https://www.devuan.org/

@TriMoon, the purpose here is to allow embedded systems to run miraclecast if possible. Main goal was CentOS