[Kdenlive-devel] kdenlive 0.7 on freebsd: it works, but need some help

Alberto Villa villa.alberto at gmail.com
Wed Oct 22 10:08:53 UTC 2008


hi everyone
i'm working to build kdenlive 0.7 on freebsd. i've made it with some dirty 
hack and the program works, but it is quite unstable. i'd like to clean the 
patches i've done in order to submit them to you (gosh... orrible english)

actually my only problem is: linux/input.h
to avoid compilation errors i've imported some code from it, but i think 
that's not enough. here's an example:

--- src/jogshuttle.h.old	2008-10-15 09:48:47.000000000 +0000
+++ src/jogshuttle.h	2008-10-15 13:18:09.000000000 +0000
@@ -24,10 +24,17 @@
 #include <qthread.h>
 #include <QObject>
 
-#include <linux/input.h>
+//#include <linux/input.h>
+#include <sys/time.h>
 
-
-typedef struct input_event EV;
+typedef	unsigned int	__u16;
+typedef int		__s32;
+typedef struct input_event {
+        struct timeval time;
+        __u16 type;
+        __u16 code;
+        __s32 value;
+} EV;
 
 class ShuttleThread : public QThread {
 
why is linux/input.h needed? i've read somewhere it's often required only for 
joysticks or similar... in this case i could delete it from freebsd with some 
ifdef...

thanks for your help!
-- 
Alberto Villa <villa.alberto at gmail.com>




More information about the Kdenlive mailing list