pkgsrc-Bugs archive

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

pkg/43804: mplayer cannot interact with xscreensaver

>Number:         43804
>Category:       pkg
>Synopsis:       mplayer should build with libXScrnSaver for modular Xorg
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 27 12:35:00 +0000 2010
>Originator:     Pierre Pronchery
>Release:        NetBSD 5.1_RC3
System: NetBSD kwarx.defora.lan 5.1_RC3 NetBSD 5.1_RC3 (GENERIC) #2: Sun Aug 1 
18:03:51 CEST 2010 
Architecture: x86_64
Machine: amd64
mplayer is usually able to automatically disable the current
screensaver, thanks to the "stop-xscreensaver" option. I have found it
not to be working on my pkgsrc-2010Q1, modular-xorg-based builds, and
suspect that it needs libXScrnSaver to do so.
Build mplayer on pkgsrc-2010Q1 with modular-xorg, and play a long movie
with the "-stop-xscreensaver" option enabled (with xscreensaver
running). Unforfunately, the screensaver is still enabled.
This should do it:

Index: Makefile
RCS file: /cvsroot/pkgsrc/multimedia/mplayer/Makefile,v
retrieving revision 1.69
diff -p -u -r1.69 Makefile
--- Makefile    24 Jan 2010 13:26:11 -0000      1.69
+++ Makefile    27 Aug 2010 12:25:47 -0000
@@ -35,6 +35,7 @@ do-install:
 .include "../../x11/libXinerama/"
 .include "../../x11/libXv/"
 .if ${X11_TYPE} == "modular"
+.include "../../x11/libXScrnSaver/"
 .include "../../x11/libXvMC/"
 .include "../../x11/libXxf86dga/"

Home | Main Index | Thread Index | Old Index