From owner-freebsd-ports-bugs@FreeBSD.ORG Fri May 2 22:10:03 2008 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 6DC58106566B for ; Fri, 2 May 2008 22:10:03 +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 448658FC1C for ; Fri, 2 May 2008 22: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.2/8.14.2) with ESMTP id m42MA3Tt015368 for ; Fri, 2 May 2008 22:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m42MA3vv015367; Fri, 2 May 2008 22:10:03 GMT (envelope-from gnats) Resent-Date: Fri, 2 May 2008 22:10:03 GMT Resent-Message-Id: <200805022210.m42MA3vv015367@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, leres@ee.lbl.gov (Craig Leres) Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 227C9106564A for ; Fri, 2 May 2008 22:05:52 +0000 (UTC) (envelope-from leres@ee.lbl.gov) Received: from fun.ee.lbl.gov (fun.ee.lbl.gov [131.243.2.202]) by mx1.freebsd.org (Postfix) with ESMTP id 04FEE8FC12 for ; Fri, 2 May 2008 22:05:51 +0000 (UTC) (envelope-from leres@ee.lbl.gov) Received: from fun.ee.lbl.gov (localhost [127.0.0.1]) by fun.ee.lbl.gov (8.14.2/8.14.2) with ESMTP id m42M5p8v060142 for ; Fri, 2 May 2008 15:05:51 -0700 (PDT) Received: from fun.ee.lbl.gov (leres@localhost) by fun.ee.lbl.gov (8.14.2/8.14.2/Submit) with ESMTP id m42M5pLt060138 for ; Fri, 2 May 2008 15:05:51 -0700 (PDT) Message-Id: <200805022205.m42M5pLt060138@fun.ee.lbl.gov> Date: Fri, 02 May 2008 15:05:51 -0700 From: leres@ee.lbl.gov (Craig Leres) To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/123345: x11/wrapper: [PATCH] xorg-wrapper should depend on xorg-server X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 May 2008 22:10:03 -0000 >Number: 123345 >Category: ports >Synopsis: x11/wrapper: [PATCH] xorg-wrapper should depend on xorg-server >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri May 02 22:10:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Craig Leres >Release: FreeBSD 6.2-RELEASE i386 >Organization: Lawrence Berkeley National Laboratory >Environment: FreeBSD fun.ee.lbl.gov 6.2-RELEASE FreeBSD 6.2-RELEASE #8: Mon Dec 17 17:25:55 PST 2007 leres@fun.ee.lbl.gov:/usr/src/6.2-RELEASE/sys/i386/compile/LBLSMP i386 >Description: If you have xorg-wrapper and xorg-server installed and then uninstall and re-install xorg-server, the /usr/local/bin/X symlink will change from Xwrapper to Xorg and the system effectively reverts to non-wrapper mode even though xorg-wrapper is still "installed." >How-To-Repeat: See attached txt file. >Fix: Make wrapper depend on xorg-server since the wrapper port replaces /usr/local/bin/X -- patch appended. Perhaps a better solution would be to add a WRAPPER option to the xorg-server port have it build and install Xwrapper. If this would be prefered, I can generate a patch to do that. ------- =_aaaaaaaaaa0 Content-Type: text/plain; name="session.txt"; charset="us-ascii" Content-ID: <60129.1209765913.2@fun.ee.lbl.gov> # uname -a FreeBSD fun.ee.lbl.gov 6.2-RELEASE FreeBSD 6.2-RELEASE #8: Mon Dec 17 17:25:55 PST 2007 leres@fun.ee.lbl.gov:/usr/src/6.2-RELEASE/sys/i386/compile/LBLSMP i386 # pkg_info | egrep "xorg-server|xorg-wrapper" xorg-server-1.4_8,1 X.Org X server and related programs xorg-wrapper-1.0_6 Wrapper for X.org X11 server # ls -l /usr/local/bin/X* lrwxr-xr-x 1 root wheel 23 May 1 15:04 /usr/local/bin/X -> /usr/local/bin/Xwrapper /* *** X points to Xwrapper *** */ lrwxr-xr-x 1 root wheel 4 May 1 09:52 /usr/local/bin/X.bck -> Xorg -r-xr-xr-x 1 root wheel 1724483 May 1 09:52 /usr/local/bin/Xorg -r-sr-xr-x 1 root wheel 6564 May 1 15:04 /usr/local/bin/Xwrapper # cd /usr/ports/x11-servers/xorg-server # make deinstall ===> Deinstalling for x11-servers/xorg-server [...] # make install ===> Installing for xorg-server-1.4_8,1 [...] # !ls ls -l /usr/local/bin/X* lrwxr-xr-x 1 root wheel 4 May 2 14:42 /usr/local/bin/X -> Xorg /* *** X points to Xorg *** */ lrwxr-xr-x 1 root wheel 4 May 1 09:52 /usr/local/bin/X.bck -> Xorg -r-xr-xr-x 1 root wheel 1724483 May 2 14:42 /usr/local/bin/Xorg -r-sr-xr-x 1 root wheel 6564 May 1 15:04 /usr/local/bin/Xwrapper ------- =_aaaaaaaaaa0 Content-Type: text/plain; name="patch.txt"; charset="us-ascii" Content-ID: <60129.1209765913.3@fun.ee.lbl.gov> --- Makefile.virgin Sun Apr 20 04:28:57 2008 +++ Makefile Fri May 2 14:55:36 2008 @@ -19,6 +19,8 @@ PLIST_FILES= bin/Xwrapper USE_XORG= x11 +RUN_DEPENDS= xorg-server:${PORTSDIR}/x11-servers/xorg-server + .include XSERVER= -DXSERVER_PATH=\"${LOCALBASE}/bin/Xorg\" ------- =_aaaaaaaaaa0-- >Release-Note: >Audit-Trail: >Unformatted: ------- =_aaaaaaaaaa0 Content-Type: text/plain; charset="us-ascii" Content-ID: <60129.1209765913.1@fun.ee.lbl.gov>