[kde-freebsd] [patch] webcam support in kopete

2010-09-28 Thread Urankar Mikael
Hi,

I've some patches to bring webcam support in kopete (kde4 version).

I'm using them for quite some time now and webcam chat works fine with
another yahoo client over the internet (I haven't test with other IM
protocol)

patches attached or available here :
http://membres.multimania.fr/mike8/bsd/

review and comments are welcome

please Cc: me, I'm not subscribed to this list.

WBR,
Mikaƫl

--- Makefile.orig	2010-09-26 14:42:43.0 +0200
+++ Makefile	2010-09-26 14:59:28.0 +0200
@@ -60,6 +60,12 @@
 
 .include 
 
+post-patch:
+	@${REINPLACE_CMD} -e 's#defined(__linux__)#(defined(__linux__) || defined(__FreeBSD__))#g' \
+	${WRKSRC}/kopete/libkopete/avdevice/videodevice.cpp
+	@${REINPLACE_CMD} -e 's#defined(__linux__)#(defined(__linux__) || defined(__FreeBSD__))#g' \
+	${WRKSRC}/kopete/libkopete/avdevice/videodevicepool.cpp
+
 .if ${OSVERSION} >= 800074
 CMAKE_ARGS+=	-DBUILD_kppp:BOOL=OFF
 PLIST_SUB+=	KPPP="@comment "
--- ./kopete/libkopete/avdevice/videodevice.h.orig	2010-09-26 13:20:47.549551269 +0200
+++ ./kopete/libkopete/avdevice/videodevice.h	2010-09-26 13:24:23.403546399 +0200
@@ -32,9 +32,11 @@
 #include 
 #include 
 
-#if defined(__linux__) && defined(ENABLE_AV)
+#if (defined(__linux__) || defined(__FreeBSD__)) && defined(ENABLE_AV)
 
+#if defined(__linux__)
 #include 
+#endif
 #undef __STRICT_ANSI__
 #ifndef __u64 //required by videodev.h
 #define __u64 unsigned long long
@@ -48,8 +50,10 @@
 #define pgoff_t unsigned long
 #endif
 
+#if defined(__linux__)
 #include 
 #include 
+#endif
 #include 
 #define VIDEO_MODE_PAL_Nc  3
 #define VIDEO_MODE_PAL_M   4
@@ -61,7 +65,7 @@
 #include 
 #endif // HAVE_V4L2
 
-#endif // __linux__
+#endif // __linux__ __FreeBSD__ ENABLE_AV
 
 #include 
 #include 
@@ -80,7 +84,7 @@
 typedef enum
 {
 	VIDEODEV_DRIVER_NONE
-#if defined( __linux__) && defined(ENABLE_AV)
+#if (defined(__linux__) || defined(__FreeBSD__)) && defined(ENABLE_AV)
 ,
 	VIDEODEV_DRIVER_V4L
 #ifdef V4L2_CAP_VIDEO_CAPTURE
@@ -327,7 +331,7 @@
 	QVector m_input;
 
 protected:
-#if defined(__linux__) && defined(ENABLE_AV)
+#if (defined(__linux__) || defined(__FreeBSD__)) && defined(ENABLE_AV)
 	/*!
 	\enum VideoDevice::imgctrl_id Control-IDs used for V4L1- and software-controls
 	 */
@@ -356,7 +360,7 @@
 	int descriptor;
 	videodev_driver m_driver;
 	QString m_model;
-#if defined(__linux__) && defined(ENABLE_AV)
+#if (defined(__linux__) || defined(__FreeBSD__)) && defined(ENABLE_AV)
 #ifdef V4L2_CAP_VIDEO_CAPTURE
 	struct v4l2_capability V4L2_capabilities;
 	struct v4l2_format fmt;
@@ -388,7 +392,7 @@
 	virtual int initDevice();
 
 	void setupControls();
-#if defined(__linux__) && defined(ENABLE_AV) && defined(V4L2_CAP_VIDEO_CAPTURE)
+#if (defined(__linux__) || defined(__FreeBSD__)) && defined(ENABLE_AV) && defined(V4L2_CAP_VIDEO_CAPTURE)
 	bool getMenuCtrlOptions(quint32 id, quint32 maxindex, QStringList * options);
 	void saveV4L2ControlData(struct v4l2_queryctrl qctrl);
 	const char *getUnifiedV4L2StdCtrlName(quint32 std_ctrl_id);
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] BUILD ERROR: www/kdewebdev4 w/ ruby1.9

2010-09-28 Thread Chad Milios
i was having problems building kdewebdev4 with ruby1.9 installed (and 
RUBY_DEFAULT_VER=1.9 on the make command line) until i added the lines in the 
diff below, copied straight from kdebindings4-ruby. I'm no expert, some of this 
might be superfluous. i never tried to build with ruby1.8 so this might be 
general or it might only apply to non-default ruby. sorry i didnt copy the 
error 
message and now its built and done with but the error message pretty much said 
where the heck is libruby or the ruby libs and please add some cmake flags to 
tell me where.

i'm sure i can reproduce this if need be and would be happy to help out with 
more info (other cases like default ruby, etc), but thought i would start by 
just sending you a heads up since you probably already know what the problem is 
by now. I'll be available tonight and can get back to you quickly if you'd like 
more info

uname -a:
FreeBSD naruto.ccsys.org 8.1-RELEASE-p1 FreeBSD 8.1-RELEASE-p1 #0: Sun Sep 26 
01:03:08 UTC 2010 r...@naruto.ccsys.org:/usr/obj/usr/src/sys/GENERIC  amd64


--- Makefile.orig   2010-09-25 22:36:15.0 +
+++ Makefile2010-09-26 13:47:49.0 +
@@ -19,6 +19,7 @@
 
 LATEST_LINK=   ${PORTNAME}4
 
+USE_RUBY=   yes
 USE_BZIP2= yes
 USE_QT_VER=4
 USE_KDE4=  kdelibs pimlibs kdeprefix kdehier automoc4
@@ -27,4 +28,9 @@
porting_build uic3_build
 MAKE_JOBS_SAFE=yes
 
+CMAKE_ARGS+=-DRUBY_LIBRARY=${LOCALBASE}/lib/lib${RUBY_NAME}.so \
+   
 -DRUBY_INCLUDE_PATH=${LOCALBASE}/lib/ruby/${RUBY_VER}/${RUBY_ARCH} \
+-DCUSTOM_RUBY_SITE_LIB_DIR=${RUBY_SITELIBDIR} \
+-DCUSTOM_RUBY_SITE_ARCH_DIR=${RUBY_SITEARCHLIBDIR}
+
 .include 

___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] [SVN Commit] area51/QT/x11-toolkits/qt4-gui

2010-09-28 Thread Thomas Abthorpe
SVN commit 6583 by tabthorpe:

- Fix plist

 M  +15 -1 pkg-plist  


___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] Re: [patch] webcam support in kopete

2010-09-28 Thread Andriy Gapon
on 26/09/2010 17:20 Urankar Mikael said the following:
> Hi,
> 
> I've some patches to bring webcam support in kopete (kde4 version).
> 
> I'm using them for quite some time now and webcam chat works fine with
> another yahoo client over the internet (I haven't test with other IM
> protocol)

Just curious, do you use it with webcamd ?

-- 
Andriy Gapon
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] Re: [patch] webcam support in kopete

2010-09-28 Thread Urankar Mikael
On Tue 28 September 2010 at 04:59:21PM +0300, Andriy Gapon wrote:
> on 26/09/2010 17:20 Urankar Mikael said the following:
> > Hi,
> > 
> > I've some patches to bring webcam support in kopete (kde4 version).
> > 
> > I'm using them for quite some time now and webcam chat works fine with
> > another yahoo client over the internet (I haven't test with other IM
> > protocol)
> 
> Just curious, do you use it with webcamd ?
> 
Yes I'm using it with webcamd, hald need to be running.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] [SVN Commit] area51/PORTS/audio/amarok-kde4

2010-09-28 Thread Dima Panov
SVN commit 6584 by fluffy:

- Sync with ports


 M  +4 -10 Makefile  
 M  +3 -3  distinfo  
 M  +8 -57 pkg-plist  


___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] Re: Web cams

2010-09-28 Thread Bartosz Fabianowski
> What app could I use to verify that it's working with webcamd?

Until the webcam patches are committed to the kdenetwork4 port, you can 
always use pwcview.

- Bartosz
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] Re: Web cams

2010-09-28 Thread Steven Friedrich
On Tuesday 28 September 2010 12:33:37 pm Bartosz Fabianowski wrote:
> > What app could I use to verify that it's working with webcamd?
> 
> Until the webcam patches are committed to the kdenetwork4 port, you can
> always use pwcview.
> 
> - Bartosz

Thanks. I didn't think that would work if I wasn't using the pwc driver, but 
it does. Cool.

I'm REALLY looking forward to webcam with kopete...

-- 
System Name:   laptop2.StevenFriedrich.org
Hardware:  2.80GHz Intel Pentium 4 (HTT) with 2 GB memory
OS version:FreeBSD 8.1-RELEASE i386 (6.9 MB kernel)
manager(s):kde4-4.5.1 
X windows: xorg-7.5X.Org X Server 1.7.5
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] [SVN Commit] area51/QT/www/qt4-webkit

2010-09-28 Thread Thomas Abthorpe
SVN commit 6585 by tabthorpe:

- Fix build

 M  +3 -2  Makefile  
 M  +3 -0  pkg-plist  


___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] [ports-i...@freebsd.org: py26-sip-4.10.2, 1 failed on i386 8-exp]

2010-09-28 Thread Erwin Lansing

FYI; can you please investigate and/or report to the developers?  If
you are already aware of this problem but do not yet have a fix,
please mark the port BROKEN in the appropriate case, so that users do
not unexpectedly encounter it.

See http://pointyhat.freebsd.org for the full log.

Thanks,
-erwin

- Forwarded message from User Ports-i386  -

Date: Tue, 28 Sep 2010 20:15:57 GMT
From: User Ports-i386 
To: er...@freebsd.org, m...@freebsd.org, ite...@freebsd.org
Subject: py26-sip-4.10.2,1 failed on i386 8-exp

You can also find this build log at

  
http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/a.8-exp.20090507142441/py26-sip-4.10.2,1.log

building py26-sip-4.10.2,1 on hobson2.isc.freebsd.org
in directory /usr2/pkgbuild/8-exp/20100928161816/chroot/246
building for: 8.0-RELEASE-p5 i386
maintained by: k...@freebsd.org
port directory: /usr/ports/devel/py-sip
Makefile ident: $FreeBSD: ports/devel/py-sip/Makefile,v 1.43 2010/05/11 
10:43:07 fluffy Exp $
build started at Tue Sep 28 20:15:25 UTC 2010
FETCH_DEPENDS=
PATCH_DEPENDS=
EXTRACT_DEPENDS=
BUILD_DEPENDS=python26-2.6.6.tbz
RUN_DEPENDS=python26-2.6.6.tbz
prefixes: LOCALBASE=usr/local
add_pkg


===>  License check disabled, port has not defined LICENSE
=> sip-4.10.2.tar.gz doesn't seem to exist in /tmp/distfiles/.
=> Attempting to fetch from 
http://www.riverbankcomputing.com/static/Downloads/sip4/.
fetch: 
http://www.riverbankcomputing.com/static/Downloads/sip4/sip-4.10.2.tar.gz: Not 
Found
=> Attempting to fetch from 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/.
fetch: 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/sip-4.10.2.tar.gz: File 
unavailable (e.g., file not found, no access)
=> Attempting to fetch from 
ftp://ftp.se.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/.
fetch: 
ftp://ftp.se.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/sip-4.10.2.tar.gz: 
File unavailable (e.g., file not found, no access)
=> Attempting to fetch from 
ftp://ftp.uk.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/.
fetch: 
ftp://ftp.uk.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/sip-4.10.2.tar.gz: 
File unavailable (e.g., file not found, no access)
=> Attempting to fetch from 
ftp://ftp.ru.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/.
fetch: 
ftp://ftp.ru.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/sip-4.10.2.tar.gz: 
File unavailable (e.g., file not found, no access)
=> Attempting to fetch from 
ftp://ftp.jp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/.
fetch: 
ftp://ftp.jp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/sip-4.10.2.tar.gz: 
File unavailable (e.g., file not found, no access)
=> Attempting to fetch from 
ftp://ftp.tw.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/.
fetch: 
ftp://ftp.tw.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/sip-4.10.2.tar.gz: 
File unavailable (e.g., file not found, no access)
=> Attempting to fetch from 
ftp://ftp.cn.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/.
fetch: 
ftp://ftp.cn.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/sip-4.10.2.tar.gz: 
File unavailable (e.g., file not found, no access)
=> Attempting to fetch from ftp://pointyhat.freebsd.org/pub/FreeBSD/distfiles/.
fetch: ftp://pointyhat.freebsd.org/pub/FreeBSD/distfiles/sip-4.10.2.tar.gz: 
File unavailable (e.g., file not found, no access)
=> Couldn't fetch it - please try to retrieve this
=> port manually into /tmp/distfiles/ and try again.
*** Error code 1

Stop in /a/ports/devel/py-sip.

build of /usr/ports/devel/py-sip ended at Tue Sep 28 20:15:55 UTC 2010

!DSPAM:4ca24d00230291691615008!


- End forwarded message -
-- 
Erwin Lansing   http://droso.org
Prediction is very difficult
especially about the futureer...@freebsd.org


pgpthTBwARfDy.pgp
Description: PGP signature
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] [SVN Commit] area51/QT/misc/qt4-l10n

2010-09-28 Thread Thomas Abthorpe
SVN commit 6586 by tabthorpe:

- Fix plist

 M  +1 -1  pkg-plist  


___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information