Bug 117960 - Patches to enable webcam support in net-im/kopete
Summary: Patches to enable webcam support in net-im/kopete
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-10 16:10 UTC by Mike Durian
Modified: 2009-01-10 14:00 UTC (History)
0 users

See Also:


Attachments
file.shar (11.07 KB, text/plain)
2007-11-10 16:10 UTC, Mike Durian
no flags Details
patch-kopete_libkopete_avdevice-videodevice.cpp (7.74 KB, text/x-c++src)
2009-01-06 20:00 UTC, Tino Engel
no flags Details
patch-kopete_libkopete_avdevice-videodevice.h (1.24 KB, text/x-chdr)
2009-01-06 20:00 UTC, Tino Engel
no flags Details
patch-kopete_libkopete_avdevice-videodevicepool.cpp (564 bytes, text/x-c++src)
2009-01-06 20:00 UTC, Tino Engel
no flags Details
Makefile.diff (462 bytes, patch)
2009-01-06 20:00 UTC, Tino Engel
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Durian 2007-11-10 16:10:00 UTC
	A few basic patches that enable webcam support in the
	net-im/kopete port.  It adds a dependancy on multimedia/v4l_compat.
	Perhaps there should be a RUN_DEPEND on multimedia/pwcbsd too.
	I'm not sure.  Are there other Video4Linux compatbile webcam
	drivers in the port tree?  If not, then I'm thinking the
	RUN_DEPEND on multimedia/pwcbsd should be added.

How-To-Repeat: 	I tested with a Logitech QuickCam Pro 4000.  Actually, I've
	only tested in the configuration window.  I haven't verified
	that the feed makes it across the network.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-11-10 22:35:03 UTC
Responsible Changed
From-To: freebsd-ports-bugs->kde

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Tino Engel 2009-01-06 20:00:22 UTC
Dear port maintainer,

I have used the patches (they were outdated) provided in PR ports/117960
to create port compliant patches for the current kopete port
(kdenetwork-kopete-0.12.8).

I have verified that the port compiles and installs clean with the 3
additional patch files in the files-directory.

kopete now recognizes a webcam with pwcbsd driver correctly.
(pwcbsd-1.4.1_1)

The webcam (in my case a Logitech Quickcam 4000 Pro) shows up in kopete
configuration dialog.
In addition I have veryfied the stream makes it through the internet,
and you can have a bidirectional webcam chat with another msn client.

Please note that I had to forward the needed ports on my router to make
it work. Those were:
TCP: 1863,6891-6900,6901
UDP: 1863,5190,6901

I have attached the three patches.

In addition I have attached a patch for the change to the Makefile
the original PR also suggested. It is adding the build dependencies
BUILD_DEPENDS=${LOCALBASE}/include/linux/videodev.h:${PORTSDIR}/multimedia/v4l_compat

KNOWN PROBLEM: The configuration section for the webcam does store all
options permanently except the whiteness. This results in a quite dark
picture when the value goes back to zero.
This is a minor issue, because the setting can be changed once the
webcam is on (during a conversation) and is stored as long as the
webcam is on.

Please contact me if there are any open questions concerning this topic.

Sincerely yours, Tino Engel
Comment 3 dfilter service freebsd_committer freebsd_triage 2009-01-10 13:52:37 UTC
makc        2009-01-10 13:52:22 UTC

  FreeBSD ports repository

  Modified files:
    net-im/kopete        Makefile 
  Added files:
    net-im/kopete/files  
                         extrapatch-kopete_libkopete_avdevice-videodevice.cpp 
                         extrapatch-kopete_libkopete_avdevice-videodevice.h 
                         extrapatch-kopete_libkopete_avdevice-videodevicepool.cpp 
  Log:
  Enable optional webcamera support
  
  PR:             ports/117960
  Submitted by:   Mike Durian <durian at boogie.com>, Tino Engel <goaengel at gmx.net>
  Approved by:    miwi (mentor)
  
  Revision  Changes    Path
  1.13      +11 -1     ports/net-im/kopete/Makefile
  1.1       +246 -0    ports/net-im/kopete/files/extrapatch-kopete_libkopete_avdevice-videodevice.cpp (new)
  1.1       +48 -0     ports/net-im/kopete/files/extrapatch-kopete_libkopete_avdevice-videodevice.h (new)
  1.1       +12 -0     ports/net-im/kopete/files/extrapatch-kopete_libkopete_avdevice-videodevicepool.cpp (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Max Brazhnikov freebsd_committer freebsd_triage 2009-01-10 13:57:47 UTC
State Changed
From-To: open->closed

Committed. Thanks!