Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jan 2009 12:49:14 +0500 (YEKT)
From:      "Sergey N. Voronkov" <serg@tmn.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/131033: x11-servers/xorg-server - add options to build record and xtrap modules
Message-ID:  <200901270749.n0R7nEFf017608@sv.tech.sibitex.tmn.ru>
Resent-Message-ID: <200901270810.n0R8A37O013313@freefall.freebsd.org>

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

>Number:         131033
>Category:       ports
>Synopsis:       x11-servers/xorg-server - add options to build record and xtrap modules
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 27 08:10:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Sergey N. Voronkov
>Release:        FreeBSD 6.4-RELEASE i386
>Organization:
Sibitex Ltd.
>Environment:
System: FreeBSD sv.tech.sibitex.tmn.ru 6.4-RELEASE FreeBSD 6.4-RELEASE #0: Mon Dec 1 13:30:20 YEKT 2008 serg@sv.tech.sibitex.tmn.ru:/usr/obj/usr/src/sys/SV i386

>Description:
	http://bugs.gentoo.org/236900

	record module - need for screen grabbers.
	xtrap module  - allow get and reassemble input.

Flame:	Xorg team seems to start to make some strange sings last coupe of months. Xorg is gouing to be more and more unusable in default configuration. May be this is a time to resurect XFree86? :-))) As an alternative, we will get linux on desktops in a short time (strange xkb, droped modules, hal as default dependency... What next?).
>How-To-Repeat:
	Build new xorg-server. You don't get this modules at all.
>Fix:


diff -ruN xorg-server.old/Makefile xorg-server/Makefile
--- xorg-server.old/Makefile    2009-01-27 12:37:33.000000000 +0500
+++ xorg-server/Makefile        2009-01-27 12:46:21.000000000 +0500
@@ -8,7 +8,7 @@
 PORTNAME=      xorg-server
 PORTVERSION=   1.5.3
 PORTEPOCH=     1
-PORTREVISION=  1
+PORTREVISION=  2
 CATEGORIES=    x11-servers
 MASTER_SITES=  http://xorg.freedesktop.org/releases/individual/xserver/
 DISTFILES=     xorg-server-${PORTVERSION}.tar.bz2
@@ -51,6 +51,8 @@
 
 OPTIONS=       HAL     "Compile with HAL config support" on \
                AIGLX   "Compile with Accelerated Indirect GLX support" on \
+               RECORD  "Compile with RECORD module support" on \
+               XTRAP   "Compile with XTRAP module support" on \
                SUID    "Install the Xorg server with setuid bit set" on
 
 .include <bsd.port.pre.mk>
@@ -75,6 +77,22 @@
 CONFIGURE_ARGS+=       --enable-aiglx=no
 .endif
 
+.if !defined(WITHOUT_RECORD)
+CONFIGURE_ARGS+=       --enable-record=yes
+PLIST_SUB+=    RECORD_PL=""
+.else
+CONFIGURE_ARGS+=       --enable-record=no
+PLIST_SUB+=    RECORD_PL="@comment "
+.endif
+
+.if !defined(WITHOUT_XTRAP)
+CONFIGURE_ARGS+=       --enable-xtrap=yes
+PLIST_SUB+=    XTRAP_PL=""
+.else
+CONFIGURE_ARGS+=       --enable-xtrap=no
+PLIST_SUB+=    XTRAP_PL="@comment "
+.endif
+
 .if !defined(WITHOUT_SUID) && (!defined(NO_SUID_XSERVER) || ${NO_SUID_XSERVER} == NO)
 CONFIGURE_ARGS+=--enable-install-setuid=yes
 .else
diff -ruN xorg-server.old/pkg-plist xorg-server/pkg-plist
--- xorg-server.old/pkg-plist   2009-01-27 12:37:33.000000000 +0500
+++ xorg-server/pkg-plist       2009-01-27 12:44:00.000000000 +0500
@@ -185,6 +185,10 @@
 lib/xorg/modules/extensions/libextmod.so
 lib/xorg/modules/extensions/libglx.la
 lib/xorg/modules/extensions/libglx.so
+%%RECORD_PL%%lib/xorg/modules/extensions/librecord.la         
+%%RECORD_PL%%lib/xorg/modules/extensions/librecord.so        
+%%XTRAP_PL%%lib/xorg/modules/extensions/libxtrap.la        
+%%XTRAP_PL%%lib/xorg/modules/extensions/libxtrap.so       
 lib/xorg/modules/fonts/libfreetype.la
 lib/xorg/modules/fonts/libfreetype.so
 %%ALPHA_NA%%lib/xorg/modules/libafb.la

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



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