[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#688182: kFreeBSD support



Package: linphone
Version: 3.5.2-10
Severity: wishlist
Tags: patch
User: debian-bsd@lists.debian.org
Usertag: kfreebsd
X-Debbugs-Cc: debian-bsd@lists.debian.org

Hi!

  Find attached a patch that will make linphone build successfully on
kfreebsd (and supply working video capability there). Doesn't touch
debian/* but only required source changes. I think it's easily
possible to make this also proper for upstream.

Regards

   Christoph

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 10.0-0-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages linphone depends on:
ii  libatk1.0-0         2.4.0-2
ii  libavcodec53        6:0.8.3-7
ii  libavutil51         6:0.8.3-7
ii  libc0.1             2.13-35
ii  libcairo2           1.12.2-2
ii  libfontconfig1      2.9.0-7
ii  libfreetype6        2.4.9-1
ii  libgdk-pixbuf2.0-0  2.26.1-1
ii  libglib2.0-0        2.32.3-1
ii  libgsm1             1.0.13-4
ii  libgtk2.0-0         2.24.10-2
ii  liblinphone4        3.5.2-10
ii  libmediastreamer1   3.5.2-10
ii  libogg0             1.3.0-4
ii  libortp8            3.5.2-10
ii  libpango1.0-0       1.30.0-1
ii  libspeex1           1.2~rc1-6
ii  libspeexdsp1        1.2~rc1-6
ii  libswscale2         6:0.8.3-7
ii  libtheora0          1.1.1+dfsg.1-3.1
ii  libv4l-0            0.8.8-3
ii  libx11-6            2:1.5.0-1
ii  libxv1              2:1.0.7-1
ii  linphone-nogtk      3.5.2-10

linphone recommends no packages.

Versions of packages linphone suggests:
ii  yelp  3.4.2-1+b1

-- no debconf information

-- 
Description: Fix v4l support on kFreeBSD

 This patch is enough to make linphone build on kfreebsd with video
 enabled. The resulting linphone was successfully tested using
 cuse4bsd and webcamd (pending upload).

Author: Christoph Egger <christoph@debian.org>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- linphone-3.5.2.orig/mediastreamer2/src/msv4l.c
+++ linphone-3.5.2/mediastreamer2/src/msv4l.c
@@ -17,8 +17,6 @@ along with this program; if not, write t
 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
 
-#ifdef __linux
-
 #include "mediastreamer-config.h"
 
 #include <fcntl.h>
@@ -1071,5 +1069,3 @@ static void v4l_detect(MSWebCamManager *
 	}
 }
 
-
-#endif

Reply to: