Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Oct 2009 16:14:54 +0200 (CEST)
From:      Tijl Coosemans <tijl@ulyssis.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/139865: x11/kdebase3: add dependency on x11/libXScrnSaver
Message-ID:  <200910231414.n9NEEsZa060531@kalimero.kotnet.org>
Resent-Message-ID: <200910231450.n9NEo3rn066830@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         139865
>Category:       ports
>Synopsis:       x11/kdebase3: add dependency on x11/libXScrnSaver
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 23 14:50:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Tijl Coosemans
>Release:        FreeBSD 7.2-STABLE i386
>Organization:
>Environment:
>Description:
The Kaffeine media player uses fake mouse moves every 55 seconds to
prevent the screensaver from running when playing a video. This seems
unreliable when kdebase3 was compiled without x11/libXScrnSaver. In
that case the screensaver does run and then stops 55 seconds later.

This is in fact also a missing dependency because kdesktop links with
this lib when it's found during configure unless --without-xscreensaver
was specified which the kdebase3 port currently doesn't do.

The relevant code is in kdesktop/xautolock.cc. The lib is used there
to detect user inactivity.
>How-To-Repeat:
>Fix:

--- patch-kdebase3 begins here ---
--- Makefile.orig	2009-10-23 15:19:17.000000000 +0200
+++ Makefile	2009-10-23 15:34:36.000000000 +0200
@@ -8,7 +8,7 @@
 
 PORTNAME=	kdebase
 PORTVERSION=	${KDE_VERSION}
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	x11 kde
 MASTER_SITES=	${MASTER_SITE_KDE}
 MASTER_SITE_SUBDIR=	stable/${PORTVERSION:S/.0//}/src
@@ -35,7 +35,7 @@
 
 USE_BZIP2=	yes
 USE_GMAKE=	yes
-USE_XORG=	xpm xkbfile xrandr xcursor
+USE_XORG=	xpm xkbfile xrandr xcursor xscrnsaver
 SUB_FILES=	kdm pkg-deinstall pkg-install pkg-message
 PKGMESSAGE=	${WRKDIR}/pkg-message
 PKGINSTALL=	${WRKDIR}/pkg-install
--- patch-kdebase3 ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910231414.n9NEEsZa060531>