TC Wan wrote: > Duncan wrote: > >> Pierre Ossman wrote: >> >> Sorry Pierre, I can't accept this patch as it stands because it parses >> linux/input.h, which requires that kernel headers are installed. >> >> I have reversed the patches from rel-1-6 and rel-1 >> >> There must be a better way to do this without this dependency. >> >> Duncan > > What if he used a build-time script outside of the actual python code to > parse the input.h file and generate an include file for python?
It is a great idea to use the event driver in freevo, I said that before, and it's something we should definitely have. This is exactly the way, that I would like the event driver to work. There are too many different kernels out there that I think parsing the linux/input.h at run-time is a bad idea too higher a chance that it will cause problems; generating a configuration file *is* the way to go. The configuration script can be python code or a simple text file. Not everybody will have kernel rpm installed so having the fall-back is a good idea too. There is a freevo helper makelircrc, so we should have one that does the same for events. When this is done I'll be more than happy to add event device processing to the rel-1. > I don't think it's possible to avoid accessing input.h at some point > during the build process.... The only drawback is if the kernel is > updated, the input definitions may also change and necessitate a rebuild > of freevo. Duncan ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel