From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jan 27 08:10:04 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E6481065670 for ; Tue, 27 Jan 2009 08:10:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E79568FC1B for ; Tue, 27 Jan 2009 08:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n0R8A3Jc013314 for ; Tue, 27 Jan 2009 08:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n0R8A37O013313; Tue, 27 Jan 2009 08:10:03 GMT (envelope-from gnats) Resent-Date: Tue, 27 Jan 2009 08:10:03 GMT Resent-Message-Id: <200901270810.n0R8A37O013313@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Sergey N. Voronkov" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B7DD106566C for ; Tue, 27 Jan 2009 08:04:37 +0000 (UTC) (envelope-from serg@tmn.ru) Received: from sbtx.tmn.ru (sbtx.tmn.ru [212.76.160.49]) by mx1.freebsd.org (Postfix) with ESMTP id 7E8BA8FC13 for ; Tue, 27 Jan 2009 08:04:36 +0000 (UTC) (envelope-from serg@tmn.ru) Received: from sv.tech.sibitex.tmn.ru (sv.tech.sibitex.tmn.ru [10.76.160.59]) by sbtx.tmn.ru (8.14.2/8.14.2) with ESMTP id n0R7nEHh018745 for ; Tue, 27 Jan 2009 12:49:27 +0500 (YEKT) (envelope-from serg@tmn.ru) Received: from sv.tech.sibitex.tmn.ru (localhost.tech.sibitex.tmn.ru [127.0.0.1]) by sv.tech.sibitex.tmn.ru (8.14.3/8.14.3) with ESMTP id n0R7nESo017609 for ; Tue, 27 Jan 2009 12:49:14 +0500 (YEKT) (envelope-from serg@sv.tech.sibitex.tmn.ru) Received: (from serg@localhost) by sv.tech.sibitex.tmn.ru (8.14.3/8.14.3/Submit) id n0R7nEFf017608; Tue, 27 Jan 2009 12:49:14 +0500 (YEKT) (envelope-from serg) Message-Id: <200901270749.n0R7nEFf017608@sv.tech.sibitex.tmn.ru> Date: Tue, 27 Jan 2009 12:49:14 +0500 (YEKT) From: "Sergey N. Voronkov" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/131033: x11-servers/xorg-server - add options to build record and xtrap modules X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Sergey N. Voronkov" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2009 08:10:04 -0000 >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 @@ -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: