Depend camera tests on device.category == 'CAPTURE' instead of xawtv

Bug #983911 reported by Ara Pulido
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Checkbox
Fix Released
Undecided
Unassigned
checkbox (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Creating this bug to start a discussion, rather than propose a solution.

Currently, the camera/detect test depends on xawtv, which is not in main. Therefore, it won't be installed by default.

Is the camera/detect test really needed? Shall we just depend the rest of the camera test on the device.category == 'CAPTURE'?

Ara Pulido (ara)
Changed in checkbox:
milestone: none → 0.13.x
Revision history for this message
Daniel Manrique (roadmr) wrote :

It'd be interesting to know which devices can show as CAPTURE. If scanners are, then the test will run on systems with a scanner plugged in :)

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in checkbox (Ubuntu):
status: New → Confirmed
Revision history for this message
Daniel Manrique (roadmr) wrote :

OK, moving to Incomplete for checkbox, pending verification of whether a scanner appears as a CAPTURE device. Marking invalid for ubuntu/checkbox as per our policy. If so, both the camera/detect test and the detect section of the camera_test script could potentially be removed.

I did some research and it's possible to use gstreamer to detect whether a webcam is present (look at Ubiquity's source code for examples), but if CAPTURE-based detection is reliable, we can just use that.

Changed in checkbox:
status: New → Invalid
status: Invalid → Incomplete
Revision history for this message
Daniel Manrique (roadmr) wrote :

xawtv has been removed as a requirement for checkbox, and now camera detection uses a different mechanism. Introduced in Checkbox rev 1569.

Marking Fix Released as this is in the latest checkbox packages.

Changed in checkbox:
status: Incomplete → Fix Released
Changed in checkbox (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.