Armin K. wrote:
> On 04/30/2012 07:11 PM, Bruce Dubbs wrote:
>> Fernando,
>>
>> I'm glad you got it working, but I can't get it to build. Lets compare
>> notes:
>>
>> sane:
>>
>> download sane-backends-1.0.22.tar.gz
>> sane-frontends-1.0.14.tar.gz
>>
>> tar -xf sane-backends-1.0.22.tar.gz
>> cd sane-backends-1.0.22
>>
>> I checked the sed for sane-1.0.19 and it seems to be already applied in
>> 1.0.22.
>>
>> ./configure --prefix=/usr --sysconfdir=/etc
>> make
>>
>> ...
> Also, there is a patch for v4l stuff. I got it from Debian, which seems
> to have got it from upstream:
I found a patch at gentoo that is from RH that works for me. Appears to have
been around for a year and sane hasn't fixed it. :)
-- Bruce
--- sane-backends-1.0.22/backend/v4l.h.deconflict-v4l 2010-12-01
15:49:58.000000000 -0800
+++ sane-backends-1.0.22/backend/v4l.h 2011-04-01 21:44:18.797102300 -0700
@@ -29,6 +29,8 @@
#ifndef v4l_h
#define v4l_h
+#include <libv4l1-videodev.h>
+
/* Kernel interface */
/* Only the stuff we need. For more features, more defines are needed */
@@ -46,7 +48,7 @@
#define VID_TYPE_MPEG_ENCODER 2048 /* Can encode MPEG streams */
#define VID_TYPE_MJPEG_DECODER 4096 /* Can decode MJPEG streams */
#define VID_TYPE_MJPEG_ENCODER 8192 /* Can encode MJPEG streams */
-
+#if 0
struct video_capability
{
char name[32];
@@ -58,7 +60,6 @@
int minwidth; /* Supported width */
int minheight; /* And height */
};
-
struct video_picture
{
__u16 brightness;
@@ -102,9 +103,10 @@
/* bitmap is 1024x625, a '1' bit represents a clipped pixel */
#define VIDEO_CLIPMAP_SIZE (128 * 625)
};
-
+#endif
#define VIDEO_MAX_FRAME 32
+#if 0
struct video_mbuf
{
int size; /* Total memory to map */
@@ -132,7 +134,7 @@
#define VIDEO_TYPE_CAMERA 2
__u16 norm; /* Norm set by channel */
};
-
+#endif
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page