Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Sep 2008 01:58:48 -0800 (AKDT)
From:      Mel <mel.xyzzy@rachie.is-a-geek.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        MAINTAINER <beech@FreeBSD.org>
Subject:   ports/127393: [PATCH] Add proper X extensions and protos for net/x11vnc
Message-ID:  <20080915095848.7C6B833C1B@squish.rachie.is-a-geek.net>
Resent-Message-ID: <200809151000.m8FA040G090935@freefall.freebsd.org>

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

>Number:         127393
>Category:       ports
>Synopsis:       [PATCH] Add proper X extensions and protos for net/x11vnc
>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:   Mon Sep 15 10:00:04 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Mel
>Release:        FreeBSD 7.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD squish.rachie.is-a-geek.net 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #5: Sat Sep 13 02:44:01 AKDT 2008 root@squish.rachie.is-a-geek.net:/data/obj/data/RELENG_7/src/sys/GENERIC-PF i386


	
>Description:
>From x11vnc.log:
15/09/2008 01:23:47 WARNING: XTEST extension not available (either missing from
15/09/2008 01:23:47   display or client library libXtst missing at build time).
15/09/2008 01:23:47   MOST user input (pointer and keyboard) will be DISCARDED.
15/09/2008 01:23:47   If display does have XTEST, be sure to build x11vnc with
15/09/2008 01:23:47   a working libXtst build environment (e.g. libxtst-dev,
15/09/2008 01:23:47   or other packages).
15/09/2008 01:23:47 No XTEST extension, switching to -xwarppointer mode for
15/09/2008 01:23:47   pointer motion input.

This basically disables all useful stuff for the program.

15/09/2008 01:23:47 The RECORD X extension was not found on the display.
15/09/2008 01:23:47 If your system has disabled it by default, you can
15/09/2008 01:23:47 enable it to get a nice x11vnc performance speedup
15/09/2008 01:23:47 for scrolling by putting this into the "Module" section
15/09/2008 01:23:47 of /etc/X11/xorg.conf or /etc/X11/XF86Config:
15/09/2008 01:23:47
15/09/2008 01:23:47   Section "Module"
15/09/2008 01:23:47   ...
15/09/2008 01:23:47       Load    "record"
15/09/2008 01:23:47   ...
15/09/2008 01:23:47   EndSection

This is fixed when recordproto is available at buildtime. Some might consider
it optional, I'm not one of them, but if this is added only through a config
variable, it's fine by me.

>How-To-Repeat:
Build net/x11vnc without any Xorg modules installed.

>Fix:

--- x11vnc_Makefile.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/x11vnc/Makefile,v
retrieving revision 1.14
diff -u -r1.14 Makefile
--- Makefile	3 Sep 2008 04:24:20 -0000	1.14
+++ Makefile	15 Sep 2008 09:41:35 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	x11vnc
 PORTVERSION=	0.9.3
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net
 MASTER_SITES=	SF
 MASTER_SITE_SUBDIR=libvncserver
@@ -18,7 +18,7 @@
 LIB_DEPENDS=	jpeg.9:${PORTSDIR}/graphics/jpeg
 
 USE_GNOME=	gnometarget
-USE_XORG=	x11 xext
+USE_XORG=	x11 xext xtst recordproto
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib"
--- x11vnc_Makefile.diff ends here ---

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



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