Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 295263 - kde-misc/tellico-2.1.1 currently not built with webcam support
Summary: kde-misc/tellico-2.1.1 currently not built with webcam support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-30 23:57 UTC by Darragh Bailey
Modified: 2010-02-15 07:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darragh Bailey 2009-11-30 23:57:16 UTC
Tellico supports accessing a webcam if one is available, when performing searches. This permits scanning of barcodes to speed the process of searching for the appropriate ISBN.

The current ebuild doesn't specify the appropriate options to cmake to enable webcam support. 

Reproducible: Always

Steps to Reproduce:
1. Open Tellico
2. Click "Search" button on main toolbar
3. Change dropdown box on search query from "Title" to "ISBN"

Actual Results:  
Nothing

Expected Results:  
New window should appear showing a preview of the webcam

Using "strace -eopen tellico", upon opening the search wizard and selecting the the ISBN option from the dropdown, the following should appear in the terminal indicating that even if you don't have a webcam, that it attempted to open it.

open("/dev/video0", O_RDWR)


Creating a local ebuild with the following change was sufficient to enable the support for the webcam to scan barcodes.

--- /usr/portage/kde-misc/tellico/tellico-2.1.1.ebuild	2009-11-21 10:55:48.000000000 +0000
+++ /usr/local/portage/kde-misc/tellico/tellico-2.1.1-r1.ebuild	2009-11-30 20:57:43.000000000 +0000
@@ -43,6 +43,7 @@
 		$(cmake-utils_use_with taglib)
 		$(cmake-utils_use_with xmp Exempi)
 		$(cmake-utils_use_with yaz)
+		$(cmake-utils_use_enable v4l WEBCAM)
 		$(cmake-utils_use_with v4l)"
 
 	kde4-base_src_configure
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-02-15 07:35:06 UTC
Fixed with 2.2. Sync in a hour+ or so