Hi,

I thought I'd seen mention of this in the archives but nothing seems to
have appeared on www.ivtvdriver.org so I thought I'd submit the stuff I
had to do to get the ivtv X driver to build with the modular X.org
(which just landed in Debian).

I took *.ch from the 0.10.6 tarball which I had lying around (seems
pretty close to svn but I don't know what else is out there) and added
autoconf/automake support etc heavily based on the existing i810 driver
source. The attached tarball includes just the build files and *.ch
should be put in the src sub-directory. I had to include a copy of
fbpriv.h directly since it doesn't seem to be installed by any part of
the X packages in Debian.

I did make some changes to *.[ch] to correct the includes to work with
the paths used by the modular X stuff. I've attached that bit as a
patch. I bet there are some more cleanups that could be done here
(mostly changing "quoted" to <angle bracket> style includes) but I just
did what was necessary for to get it going.

I'm not sure how you would want to support pre-modular X builds since
the new build system obviously doesn't work there. I guess there is no
harm in keeping the Imakefile around.

If you would something else, such as a copy of the 'make dist' tarball
(it's a bit big due to the auto* generated files), then please ask.

Thanks,
Ian.
-- 
Ian Campbell

What, after all, is a halo?  It's only one more thing to keep clean.
                -- Christopher Fry

Attachment: xf86-video-ivtv-buildsystem.tar.bz2
Description: application/bzip-compressed-tar

--- ivtv_xdriver_0.10.6.orig/ivtvdrv/xc/programs/Xserver/hw/xfree86/drivers/ivtv/ivtv_xv.c	2005-08-30 21:24:04.000000000 +0100
+++ xf86-video-ivtv-0.10.6/src/ivtv_xv.c	2006-04-23 19:47:47.000000000 +0100
@@ -46,7 +46,7 @@
 
 #include "xf86.h"
 #include "xf86xv.h"
-#include "Xv.h"
+#include <X11/extensions/Xv.h>
 #include "fourcc.h"
 #include "regionstr.h"
 typedef struct ivtv_xv_portData
--- ivtv_xdriver_0.10.6.orig/ivtvdrv/xc/programs/Xserver/hw/xfree86/drivers/ivtv/ivtvhw.c	2005-06-12 22:03:21.000000000 +0100
+++ xf86-video-ivtv-0.10.6/src/ivtvhw.c	2006-04-23 19:48:04.000000000 +0100
@@ -18,7 +18,7 @@
 #include "asm/page.h"		/* #define for PAGE_* */
 #include "globals.h"
 #define DPMS_SERVER
-#include "extensions/dpms.h"
+#include <X11/extensions/dpms.h>
 
 #define DEBUG 0
 

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to