From owner-freebsd-ports@FreeBSD.ORG Tue Feb 3 19:03:49 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A08841065704 for ; Tue, 3 Feb 2009 19:03:49 +0000 (UTC) (envelope-from alex-goncharov@comcast.net) Received: from QMTA01.westchester.pa.mail.comcast.net (qmta01.westchester.pa.mail.comcast.net [76.96.62.16]) by mx1.freebsd.org (Postfix) with ESMTP id 4E5AA8FC37 for ; Tue, 3 Feb 2009 19:03:49 +0000 (UTC) (envelope-from alex-goncharov@comcast.net) Received: from OMTA04.westchester.pa.mail.comcast.net ([76.96.62.35]) by QMTA01.westchester.pa.mail.comcast.net with comcast id BP6R1b00B0ldTLk51X3G9z; Tue, 03 Feb 2009 19:03:16 +0000 Received: from daland.home ([24.34.211.11]) by OMTA04.westchester.pa.mail.comcast.net with comcast id BX3p1b00A0FJTGg3QX3pGl; Tue, 03 Feb 2009 19:03:49 +0000 Received: from algo by daland.home with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1LUQYl-000Cir-UT; Tue, 03 Feb 2009 14:03:47 -0500 From: Alex Goncharov To: Florent Thoumie Message-Id: Sender: Alex Goncharov Date: Tue, 03 Feb 2009 14:03:47 -0500 Cc: freebsd-ports@freebsd.org Subject: X drivers depend on Gnome? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alex Goncharov List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Feb 2009 19:03:51 -0000 I am trying to disengage from the latest X, and have had reasonable success in this (thanks to everybody who had made the suggestions!): 1. Got the old (2008.12.23) ports tree and rebuilt the X-based components as necessary. 2. Restarted my desktop (resulting in a perfect work environment). 3. Got the new (last night) ports tree and rebuilt higher-level components (e.g. twm and xterm) on the foundation of the old X core pieces (such as xproto, xorg-server and libxcb). Going forward, I am going to keep the X core pieces as they are (e.g. xorg-server-1.4.2,1), and update higher-level ports as I always did. I am slowly moving down the X ports dependency stack, trying to understand what I should leave in a frozen state and what keep upgrading. Here I came across something that stunned me: the X drivers depend on Gnome. E.g. ---------- $ pwd; make -V _DEPEND_DIRS; pkg_which /usr/ports/devel/pkg-config /usr/ports/x11-drivers/xf86-video-nv ..... /usr/ports/x11/xproto /usr/ports/devel/pkg-config ---------- Which is explained by: ---------- $ grep XORG_CAT Makefile XORG_CAT= driver ---------- and in bsd.xorg.mk we find: ---------- # bsd.xorg.mk - Support for X.Org ports and dependencies # # Created by: Florent Thoumie # # !!! Here be dragons !!! (yeah, here as well...) # # $FreeBSD: ports/Mk/bsd.xorg.mk,v 1.9 2009/01/23 16:27:14 flz Exp $ . if ${XORG_CAT} == "driver" USE_GNOME+= pkgconfig ---------- The semantics of USE_GNOME is defined as follows: # USE_GNOME - A list of the Gnome dependencies the port has (e.g., # glib12, gtk12). Implies that the port needs # Gnome. Implies inclusion of bsd.gnome.mk. Can you please explain why X drivers need Gnome pieces? (I think it's wrong.) Thanks, -- Alex -- alex-goncharov@comcast.net --