[kde-freebsd] [SVN Commit] area51/KDE

2010-09-01 Thread Max Brazhnikov
SVN commit 6552 by makc:

Update distinfo for rerolled tarballs

 M  +3 -3  misc/kde4-l10n-es/distinfo  
 M  +3 -3  russian/kde4-l10n/distinfo  


___
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/KDE/misc/kdehier4

2010-09-01 Thread Max Brazhnikov
SVN commit 6553 by makc:

Point share/PolicyKit/policy to LOCALBASE, since PolicyKit does not support 
files in multiple prefixes. 
Add maintainer-generate-plist target.

 M  +5 -1  Makefile  
 M  +4 -2  files/make-plist.sh  
 M  +6 -0  files/mtree-dirlist  
 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] [SVN Commit] area51/KDE/x11

2010-09-01 Thread Max Brazhnikov
SVN commit 6554 by makc:

Remove share/PolicyKit from plist, it's handled by kdehier4 now.

 M  +0 -2  kdebase4-runtime/pkg-plist  
 M  +0 -2  kdebase4-workspace/pkg-plist  
 M  +0 -2  kdelibs4/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] [SVN Commit] area51

2010-09-01 Thread Max Brazhnikov
SVN commit 6555 by makc:

Add instruction for upgrade KDE to 4.5.1

 M  +12 -0 UPDATING-area51  


___
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

2010-09-01 Thread Max Brazhnikov
SVN commit 6556 by makc:

Fix path

 M  +1 -1  UPDATING-area51  


___
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


Re: [kde-freebsd] power_profile: changed to 'performance'

2010-09-01 Thread Andriy Gapon

[ping]

on 24/07/2010 22:51 Andriy Gapon said the following:
 
 Noob mode: how can I get rid of the message in the subject line?
 
 Full story.
 I have a desktop FreeBSD machine with KDE 4 as desktop environment.
 I did something with it, not exactly sure what, and I started to get the 
 message
 in subject log in my /var/log/messages.  The messages appears each time I 
 switch
 back to my KDE session after switching out to another virtual terminal, no
 matter if it's a console or other X terminal.
 Suspected actions: upgrade of KDE from 4.4.4 to 4.4.5; some change in KDE
 configuration via control center GUI.  The latter is more probable, because 
 I
 run another KDE session on the same machine under a different acccount, and
 switching to that session doesn't cause the message to appear.
 
 The message is produced by /etc/rc.d/power_profile script.
 As I've said, this is a desktop machine, there is no acad driver attachment, 
 and
 I've verified that the script is not executed by devd.
 Instead, it seems that the script is executed by hald.  And it seems that hald
 executes it because of a request that comes to it via dbus.  I suspect that 
 some
 component of KDE (PowerDevil?) sends the request.
 
 Thus, I come to you with this question.
 Thank you very much for any help/ideas on this.
 


-- 
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


Re: [kde-freebsd] power_profile: changed to 'performance'

2010-09-01 Thread Alberto Villa
On Saturday 24 July 2010 21:51:18 Andriy Gapon wrote:
 The message is produced by /etc/rc.d/power_profile script.
 As I've said, this is a desktop machine, there is no acad driver
 attachment, and I've verified that the script is not executed by devd.
 Instead, it seems that the script is executed by hald.  And it seems 
that
 hald executes it because of a request that comes to it via dbus.  I
 suspect that some component of KDE (PowerDevil?) sends the 
request.

hello!

i only get those message when i (un)plug the ac cable... can you 
please attach your ~/.kde4/share/config/powerdevil* files?
also, do you get messages about economy power profile too?
-- 
Alberto Villa, FreeBSD Committer avi...@freebsd.org
http://people.FreeBSD.org/~avilla

Cats are intended to teach us that not everything in nature has a 
function.
-- Garrison Keillor


signature.asc
Description: This is a digitally signed message part.
___
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


Re: [kde-freebsd] power_profile: changed to 'performance'

2010-09-01 Thread Andriy Gapon
on 01/09/2010 14:34 Alberto Villa said the following:
 On Saturday 24 July 2010 21:51:18 Andriy Gapon wrote:
 The message is produced by /etc/rc.d/power_profile script.
 As I've said, this is a desktop machine, there is no acad driver
 attachment, and I've verified that the script is not executed by devd.
 Instead, it seems that the script is executed by hald.  And it seems 
 that
 hald executes it because of a request that comes to it via dbus.  I
 suspect that some component of KDE (PowerDevil?) sends the 
 request.
 
 hello!
 
 i only get those message when i (un)plug the ac cable... can you 
 please attach your ~/.kde4/share/config/powerdevil* files?

Uploaded here:
http://people.freebsd.org/~avg/powerdevil/

 also, do you get messages about economy power profile too?

No, I don't get those.
As I've said this is a simple desktop machine, it supports only one profile and 
it
would simply power off when AC is disconnected :-)

-- 
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] [SVN Commit] area51/KDE/x11/kdebase4-workspace

2010-09-01 Thread Dima Panov
SVN commit 6557 by fluffy:

- Add net/cagibi to dependencies


 M  +3 -1  Makefile  


___
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


Re: [kde-freebsd] power_profile: changed to 'performance'

2010-09-01 Thread Andriy Gapon
on 01/09/2010 15:31 Alberto Villa said the following:
 On Wednesday 01 September 2010 14:17:49 Andriy Gapon wrote:
 Uploaded here:
 http://people.freebsd.org/~avg/powerdevil/
 
 please, adjust the permissions, they are forbidden

Oops, sorry, should be fixed now.

-- 
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] [SVN Commit] area51/KDE/x11

2010-09-01 Thread Dima Panov
SVN commit 6558 by fluffy:

- Cagibi required by kdebase-runtime, not workspace!

Noticed by: makc


 M  +1 -0  kdebase4-runtime/Makefile  
 M  +1 -3  kdebase4-workspace/Makefile  


___
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/KDE/x11/kdebase4-runtime

2010-09-01 Thread Max Brazhnikov
SVN commit 6559 by makc:

Remove mistakenly added entry from USE_KDE4

 M  +1 -1  Makefile  


___
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/Tools/scripts

2010-09-01 Thread Alberto Villa
SVN commit 6560 by xzhayon:

- Add -n flag to simulate the merge.
- Rename KDESRC and KDEDST to MERGESRC and MERGEDST.



 M  +63 -46kdemerge  


___
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/KDE/misc/kdeutils4

2010-09-01 Thread Alberto Villa
SVN commit 6561 by xzhayon:

- Split WITH_ARCHIVERS in WITH_7ZIP, WITH_RAR and WITH_ZIP.

Discussed with: makc


 M  +12 -7 Makefile  


___
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


Re: [kde-freebsd] kaffeine-1.0 and webcamd based DVB-T?

2010-09-01 Thread Juergen Lock
On Tue, Aug 31, 2010 at 08:58:16PM +0200, Hans Petter Selasky wrote:
 On Tuesday 31 August 2010 20:48:15 Juergen Lock wrote:
  On Mon, Aug 30, 2010 at 11:22:20PM +0200, Hans Petter Selasky wrote:
   Hi,
  
  Hi!
  
   I've committed to the HAL stuff to webcamd in the I4B SVN as of r1628. To
   enable HAL support build like this:
   
   make -j3 HAVE_HAL=YES LIBDIR=/usr/local/lib
   
   Run like this:
   
   ./webcamd -H
  
   There's an initialization missing so the code did nothing...
  (works now for dvb, v4l untested due to lack of device.)
  
   Cheers,
  Juergen
  
  Index: webcamd_hal.c
  ===
  --- webcamd_hal.c   (revision 1628)
  +++ webcamd_hal.c   (working copy)
  @@ -69,6 +69,8 @@
  char **ppdev;
  int n;
  
  +   if (!(hal_conn = dbus_bus_get(DBUS_BUS_SYSTEM, NULL)))
  +   return;
  hal_ctx = libhal_ctx_new();
  if (hal_ctx == NULL)
  return;
 
 Committed to r1629.

Found out your version only works when specifying the usb device
with -d explicitly (read: I forgot to test the other case... :(
u_unit, u_addr, u_index were not set) - here's a possible fix,
also at:

http://people.freebsd.org/~nox/tmp/webcamd-hal-r1629.patch

 Cheers,
Juergen

Index: kernel/linux_usb.c
===
--- kernel/linux_usb.c  (revision 1629)
+++ kernel/linux_usb.c  (working copy)
@@ -266,7 +266,7 @@
  * This function is the FreeBSD probe and attach callback.
  **/
 int
-usb_linux_probe(uint8_t bus, uint8_t addr, uint8_t index)
+usb_linux_probe_p(int *p_bus, int *p_addr, int *p_index)
 {
const struct usb_device_id *id;
struct usb_linux_softc *sc;
@@ -281,6 +281,9 @@
uint8_t match_bus_addr;
uint8_t index_copy;
uint8_t device_index;
+   uint8_t bus = *p_bus;
+   uint8_t addr = *p_addr;
+   uint8_t index = *p_index;
 
for (i = 0;; i++) {
if (i == ARRAY_SIZE(uls))
@@ -365,9 +368,11 @@
return (-ENXIO);
 
 found:
+   *p_bus = libusb20_dev_get_bus_number(pdev);
+   *p_addr = libusb20_dev_get_address(pdev);
+   *p_index = index_copy;
 #ifdef HAVE_WEBCAMD
-   if (pidfile_create(libusb20_dev_get_bus_number(pdev),
-   libusb20_dev_get_address(pdev), index_copy)) {
+   if (pidfile_create(*p_bus, *p_addr, index_copy)) {
fprintf(stderr, Webcamd is already running for 
ugen%d.%d.%d\n,
libusb20_dev_get_bus_number(pdev),
Index: kernel/linux_usb.h
===
--- kernel/linux_usb.h  (revision 1629)
+++ kernel/linux_usb.h  (working copy)
@@ -583,7 +583,7 @@
 intusb_deregister(struct usb_driver *drv);
 
 struct usb_linux_softc *usb_linux2usb(int fd);
-intusb_linux_probe(uint8_t bus, uint8_t addr, uint8_t index);
+intusb_linux_probe_p(int *pbus, int *paddr, int *pindex);
 intusb_linux_detach(int fd);
 intusb_linux_suspend(int fd);
 intusb_linux_resume(int fd);
Index: webcamd.c
===
--- webcamd.c   (revision 1629)
+++ webcamd.c   (working copy)
@@ -462,7 +462,7 @@
}
linux_init();
 
-   f_usb = usb_linux_probe(u_unit, u_addr, u_index);
+   f_usb = usb_linux_probe_p(u_unit, u_addr, u_index);
if (f_usb  0)
v4b_errx(1, Cannot find USB device);
 
___
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/KDE/misc/kdehier4

2010-09-01 Thread Max Brazhnikov
SVN commit 6562 by makc:

Install configuration files for dbus

 M  +7 -2  Makefile  
 M  +4 -0  files/dirlist  
 M  +6 -1  files/make-plist.sh  
 A files/session-kde4.conf.in  
 A files/system-kde4.conf.in  
 M  +13 -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] New version of webcamd and cuse4bsd available

2010-09-01 Thread Hans Petter Selasky
Hi,

Please find ports patches attached for cuse4bsd and webcamd ports. Please test 
and report any bugs.

News:

- Add support for GNU/kFreeBSD
- Add support for DBUS/HAL registration
- Add support for more DVB tuner frontends
- Add support for multi-antenna DVB adapters
- Update to latest version of Linux DVB code

--HPS
diff -u -r cuse4bsd-kmod.orig/Makefile cuse4bsd-kmod/Makefile
--- cuse4bsd-kmod.orig/Makefile	2010-09-01 21:55:46.0 +0200
+++ cuse4bsd-kmod/Makefile	2010-09-01 21:57:15.0 +0200
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	cuse4bsd-kmod
-PORTVERSION=	0.1.12
+PORTVERSION=	0.1.13
 CATEGORIES=	multimedia kld
 MASTER_SITES=	http://www.selasky.org/hans_petter/cuse4bsd/releases/
 
diff -u -r cuse4bsd-kmod.orig/distinfo cuse4bsd-kmod/distinfo
--- cuse4bsd-kmod.orig/distinfo	2010-09-01 21:55:46.0 +0200
+++ cuse4bsd-kmod/distinfo	2010-09-01 21:57:28.0 +0200
@@ -1,3 +1,3 @@
-MD5 (cuse4bsd-kmod-0.1.12.tar.bz2) = dde330df068374610b6633853b67191f
-SHA256 (cuse4bsd-kmod-0.1.12.tar.bz2) = 5c8196375e2e97338106a823f2131463426b10fb2f2a3b1a05db131db04be7a5
-SIZE (cuse4bsd-kmod-0.1.12.tar.bz2) = 12656
+MD5 (cuse4bsd-kmod-0.1.13.tar.bz2) = b4f4744cea02702519f0dc99fad9c55d
+SHA256 (cuse4bsd-kmod-0.1.13.tar.bz2) = fb22b7bbc87e01d4815dcd2e73230df1c27c94f1efb2d86641b6e118ccf524c7
+SIZE (cuse4bsd-kmod-0.1.13.tar.bz2) = 12677
diff -u -r webcamd.orig/Makefile webcamd/Makefile
--- webcamd.orig/Makefile	2010-09-01 20:21:32.0 +0200
+++ webcamd/Makefile	2010-09-01 21:45:58.0 +0200
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	webcamd
-PORTVERSION=	0.1.14
-PORTREVISION=	1
+PORTVERSION=	0.1.15
 CATEGORIES=	multimedia
 MASTER_SITES=	http://www.selasky.org/hans_petter/video4bsd/releases/
 
@@ -25,8 +24,23 @@
 
 LIBDIR=		${PREFIX}/lib
 
+OPTIONS=HAL Build with HAL and DBUS support On
+
 .include bsd.port.pre.mk
 
+MAKE_ARGS+=-j2
+
+LIBCUSE=${LIBDIR}/libcuse4bsd.so
+
+.if defined(WITH_HAL)
+MAKE_ARGS+=HAVE_HAL=YES
+LIBHAL=${LIBDIR}/libhal.so:${LIBDIR}/libdbus-1.so:
+LIB_DEPENDS+=hal.1:${PORTSDIR}/sysutils/hal
+LIB_DEPENDS+=dbus-1:${PORTSDIR}/devel/dbus
+.else
+LIBHAL=
+.endif
+
 .if ${OSVERSION}  80
 IGNORE=		requires FreeBSD 8.0-RELEASE or later
 .endif
@@ -38,6 +52,8 @@
 post-install:
 	@${MKDIR} ${PREFIX}/etc/devd
 	@${SED} -e s|%%PREFIX%%|${PREFIX}|g \
+		-e s|%%LIBHAL%%|${LIBHAL}|g \
+		-e s|%%LIBCUSE%%|${LIBCUSE}|g \
 		 ${FILESDIR}/webcamd.conf.in  ${WRKDIR}/webcamd.conf
 	${INSTALL_DATA} ${WRKDIR}/webcamd.conf ${PREFIX}/etc/devd
 	@${CAT} ${PKGMESSAGE}
diff -u -r webcamd.orig/distinfo webcamd/distinfo
--- webcamd.orig/distinfo	2010-09-01 20:21:32.0 +0200
+++ webcamd/distinfo	2010-09-01 21:49:14.0 +0200
@@ -1,3 +1,3 @@
-MD5 (webcamd-0.1.14.tar.bz2) = e20b5946ef7e7b4c519303625709b46b
-SHA256 (webcamd-0.1.14.tar.bz2) = eedb054dcaa4aced9ef680ab909e3f44d67687495eb264daceccaead8ca87826
-SIZE (webcamd-0.1.14.tar.bz2) = 3583100
+MD5 (webcamd-0.1.15.tar.bz2) = 2a5cd14fb1e6587f6cc2e0aabcb6cc7d
+SHA256 (webcamd-0.1.15.tar.bz2) = f9459ec4dac097f5c948a55fb8e34413d42a6f2cda72df21f1a604a7e2d3c6d0
+SIZE (webcamd-0.1.15.tar.bz2) = 3542238
diff -u -r webcamd.orig/files/webcamd.conf.in webcamd/files/webcamd.conf.in
--- webcamd.orig/files/webcamd.conf.in	2010-09-01 20:21:32.0 +0200
+++ webcamd/files/webcamd.conf.in	2010-09-01 20:45:23.0 +0200
@@ -3,5 +3,5 @@
 	match subsystem	INTERFACE;
 	match type		ATTACH;
 	match intclass	(0x0e|0xff);
-	action env LD_PRELOAD=%%PREFIX%%/lib/libcuse4bsd.so %%PREFIX%%/etc/rc.d/webcamd start $cdev;
+	action env LD_PRELOAD=%%LIBHALLIBCUSE%% %%PREFIX%%/etc/rc.d/webcamd start $cdev;
 };
diff -u -r webcamd.orig/files/webcamd.in webcamd/files/webcamd.in
--- webcamd.orig/files/webcamd.in	2010-09-01 20:21:32.0 +0200
+++ webcamd/files/webcamd.in	2010-09-01 21:20:03.0 +0200
@@ -10,6 +10,7 @@
 #
 
 webcamd_enable=${webcamd_enable-NO}
+hald_enable=${hald_enable-NO}
 
 . /etc/rc.subr
 
@@ -17,6 +18,11 @@
 rcvar=`set_rcvar`
 command=%%PREFIX%%/sbin/webcamd
 command_args=-B
+
+if [ -n $hald_enable ]; then
+	command_args=$command_args -H
+fi
+
 pidfile=/var/run/webcamd.$cdev.0.pid
 
 load_rc_config $name
___
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/devel

2010-09-01 Thread Max Brazhnikov
SVN commit 6564 by makc:

move to libdbusmenu-qt 
update to 0.6.0

 D dbusmenu-qt (directory)  
 A libdbusmenu-qt (directory)  
 M  +10 -19libdbusmenu-qt/Makefile  
 M  +3 -3  libdbusmenu-qt/distinfo  
 A libdbusmenu-qt/files (directory)  
 A libdbusmenu-qt/files/patch-CMakeLists.txt  
 M  +4 -11 libdbusmenu-qt/pkg-descr  
 M  +2 -1  libdbusmenu-qt/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] [SVN Commit] area51/PORTS/net/cagibi

2010-09-01 Thread Max Brazhnikov
SVN commit 6565 by makc:

No need to instal it to kdeprefix, move to localbase 
minor clean up

 M  +4 -3  Makefile  
 M  +8 -10 pkg-descr  
 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


[kde-freebsd] [SVN Commit] area51/KDE/x11/kdelibs4

2010-09-01 Thread Max Brazhnikov
SVN commit 6566 by makc:

Chase libdbusmenu-qt update

 M  +1 -1  Makefile  


___
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


Re: [kde-freebsd] New version of webcamd and cuse4bsd available

2010-09-01 Thread Jan Henrik Sylvester
On 09/01/2010 22:54, Hans Petter Selasky wrote:
 On Wednesday 01 September 2010 22:13:03 Hans Petter Selasky wrote:
 Hi,

 Please find ports patches attached for cuse4bsd and webcamd ports. Please
 test and report any bugs.

 News:

 - Add support for GNU/kFreeBSD
 - Add support for DBUS/HAL registration
 - Add support for more DVB tuner frontends
 - Add support for multi-antenna DVB adapters
 - Update to latest version of Linux DVB code

 --HPS

 Please find attached new webcamd.diff, fixing a minor problem with HAL
 registration during bootup.

 --HPS

About the patches themselves: When I tried to apply the patches from 
/usr/ports/multimedia/, the cuse4bsd one tried to patch 
/usr/ports/multimedia/Makefile. I applied them from the subdirectories, 
but had to specify the location of files/*. Eventually, all hunks applied.

# webcamd -d 0.5 -H
Attached ugen0.5[0] to cuse unit 0
Loading firmware at '/boot/modules/dvb-usb-wt220u-fc03.fw', f=7
Waiting for HAL USB device.
Waiting for HAL USB device.
# webcamd -d 0.5 -H
Attached ugen0.5[0] to cuse unit 0
Waiting for HAL USB device.
Waiting for HAL USB device.
Waiting for HAL USB device.
...

This goes on with one line a second. kaffeine still does not know about 
my DVB-T stick.

Yesterday, I tried the snv version of webcamd (but not cuse4bsd at that 
time). It did not print the lines: Waiting for HAL USB device. Anyhow, 
kaffeine did not work and I verified with lshal that webcamd did not 
change anything in hal.

Cheers,
Jan Henrik
___
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