patch: xbmc and lirc

Mickaël Maillot mickael.maillot at gmail.com
Sun Mar 6 09:48:56 UTC 2011


Hi,

2011/3/5 Juergen Lock <nox at jelal.kn-bremen.de>:
> Hi!
>
>  So the xbmc port atm doesn't build its lirc client code because
> that code uses inotify() which is a Linuxism.  Today I took a closer
> look and found it actually only uses inotify() to find out when
> lircd is stopped, which at least on FreeBSD it will also find out
> by receiving an eof from the socket fd so we can actually just
> disable the inotify() code.  Did that, added an autoconf check
> for good measure, and that got lirc working. :)
>
>  I've put the patch here:
>
>        http://people.freebsd.org/~nox/dvb/xbmc/patch-xbmc-lirc.txt
>
> (the first hunk is actually redundant, instead you should just
> remove files/patch-guilib__common__Makefile.in - I'll add the
> patch without it at the end.)
>
>  The mceusb remote works as is then with webcamd, for dvb tuner
> remotes supported by the Linux code webcamd uses you can start
> with this ~/.xbmc/userdata/Lircmap.xml :
>
>        http://people.freebsd.org/~nox/dvb/xbmc/Lircmap.xml
>
> note the comments at the beginning, you may need to remap
> important buttons for your particular remote.  Also see here:
>
>        http://wiki.xbmc.org/index.php?title=HOW-TO_setup_Lirc_to_talk_to_XBMC
>
>  And here comes the patch.  Enjoy, :)
>        Juergen
>

oh realy nice, thanks for the works, i'll try this asap and push the
patch in ports and upstream.


More information about the freebsd-multimedia mailing list