Re: Mediacast to TV - MiracleCast - Open-Source Miracast - Wifi-Display on linux

On 01.02.2015 10:18, poma wrote:
On 01.02.2015 05:38, poma wrote:
On 31.01.2015 17:28, Patrick O'Callaghan wrote:
I have a smart TV (Sony Bravia) and can use Android Cast Screen from my
phone or tablet to see content. Apparently it also works with the Apple
equivalent. Is there a way to do this from my F21 desktop?



On Wifi-Display, Democratic Republics and Miracles
MiracleCast - Wifi-Display/Miracast Implementation

Review Request: libwfd - A stand-alone implementation of the Wifi-Display protocol

MiracleCast - libwfd
build: remove libwfd dependency



src/wifi/wifid.c:30:28: fatal error: systemd/sd-bus.h: No such file or directory
src/shared/rtsp.c:31:30: fatal error: systemd/sd-event.h: No such file or directory
src/shared/wpas.c:31:30: fatal error: systemd/sd-event.h: No such file or directory

 systemd.spec | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/systemd.spec b/systemd.spec
index d3c7012..55265bb 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -502,7 +502,7 @@ CONFIGURE_OPTS=(
         --with-ntp-servers='0.%{ntpvendor} 1.%{ntpvendor} 
2.%{ntpvendor} 3.%{ntpvendor}'
-        --disable-kdbus
+        --enable-kdbus
@@ -988,6 +988,14 @@ getent passwd systemd-journal-upload >/dev/null 2>&1 || useradd -r -l -g systemd



#include <stdio.h>
src/wifi/wifid-supplicant.c:2447:2: error: unknown type name ‘FILE’
/usr/include/readline/rltypedefs.h:71:28: error: unknown type name ‘FILE’
/usr/include/readline/readline.h:423:20: error: unknown type name ‘FILE’
/usr/include/readline/readline.h:550:8: error: unknown type name ‘FILE’
/usr/include/readline/readline.h:551:8: error: unknown type name ‘FILE’
/usr/include/readline/readline.h:580:8: error: unknown type name ‘rl_getc_func_t’
/usr/include/readline/readline.h:899:3: error: unknown type name ‘FILE’
/usr/include/readline/readline.h:900:3: error: unknown type name ‘FILE’
src/ctl/ctl-cli.c:326:15: error: ‘stdin’ undeclared (first use in this function)

 src/ctl/ctl.h    | 1 +
 src/wifi/wifid.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/ctl/ctl.h b/src/ctl/ctl.h
index 47c37ae..19ad34d 100644
--- a/src/ctl/ctl.h
+++ b/src/ctl/ctl.h
@@ -20,6 +20,7 @@
 #include <errno.h>
 #include <stdarg.h>
 #include <stdbool.h>
+#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <sys/socket.h>
diff --git a/src/wifi/wifid.h b/src/wifi/wifid.h
index 62d5346..728136e 100644
--- a/src/wifi/wifid.h
+++ b/src/wifi/wifid.h
@@ -20,6 +20,7 @@
 #include <errno.h>
 #include <libudev.h>
 #include <stdbool.h>
+#include <stdio.h>
 #include <stdlib.h>
 #include <systemd/sd-bus.h>
 #include <systemd/sd-event.h>


$ git clone git://
$ cd miracle/
$ patch -p1 < ../miracle-include-stdio.h.patch
$ test -f ./configure || NOCONFIGURE=1 ./
$ ./configure --disable-static
$ make
$ su
# make install

$ ls -1 /usr/local/bin/miracle*

MiracleCast - Howto

Open-Source Miracast
Wifi-Display on linux

MiracleCast - Howto
"Current State"
    We require direct access to the wpa_supplicant interface. No network-manager (including ConnMan, 
NetworkManager, wicd) provides a Wifi-P2P API so we implemented it ourselves. We really want to drop this 
once network-managers start exposing such APIs.
    We use our own miracle-dhcp binary as DHCP client and server implementation. It's copied from ConnMan as 
no existing DHCP server provides ad-hoc capabilities. Once sd-dns gains DHCP-server support, we will 
immediately switch to it (which should happen during 2014) and drop our helper-binary.

Can folks from the NetworkManager team & systemd-networkd team answer regarding the current status in this 

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]