! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Fails to build with linux >= 2.6.38
Status:
RESOLVED: FIXED
Product:
Xfce4-radio-plugin
Component:
General

Comments

Description Lionel Le Folgoc 2011-04-03 13:40:39 CEST
Created attachment 3595 
Proposed patch

Hi,

Recent linux kernels have dropped <linux/videodev.h>. This makes the build fail:
In file included from xfce4-radio.c:46:0:
xfce4-radio.h:28:28: fatal error: linux/videodev.h: No such file or directory
compilation terminated.

Here is a "best-effort" patch to port the v4l1 code of the plugin to libv4l1. It builds fine here, but I don't have any hardware to test it, so I can't tell whether it works or not.

Thanks.
Comment 1 Lionel Le Folgoc 2011-04-03 13:42:03 CEST
Created attachment 3596 
Proposed patch, the correct one this time

Grmpf, sorry, wrong patch
Comment 2 Stefan Ott 2011-05-19 06:10:18 CEST
I just released a new version which fixes this (by dropping v4l1 support altogether). Thanks for the patch though!

Bug #7464

Reported by:
Lionel Le Folgoc
Reported on: 2011-04-03
Last modified on: 2011-05-19

People

Assignee:
Stefan Ott
CC List:
0 users

Version

Version:
unspecified

Attachments

Proposed patch (7.03 KB, patch)
2011-04-03 13:40 CEST , Lionel Le Folgoc
no flags
Proposed patch, the correct one this time (4.59 KB, patch)
2011-04-03 13:42 CEST , Lionel Le Folgoc
no flags

Additional information