From owner-freebsd-ports@FreeBSD.ORG Tue Feb 3 23:18:53 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 E5D651065687 for ; Tue, 3 Feb 2009 23:18:53 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmmtao104.cox.net (eastrmmtao104.cox.net [68.230.240.46]) by mx1.freebsd.org (Postfix) with ESMTP id 7888A8FC13 for ; Tue, 3 Feb 2009 23:18:53 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmimpo01.cox.net ([68.1.16.119]) by eastrmmtao104.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20090203231852.JLHU3752.eastrmmtao104.cox.net@eastrmimpo01.cox.net>; Tue, 3 Feb 2009 18:18:52 -0500 Received: from localhost ([68.103.37.153]) by eastrmimpo01.cox.net with bizsmtp id BbJs1b0013JFCbG02bJsAX; Tue, 03 Feb 2009 18:18:52 -0500 X-Authority-Analysis: v=1.0 c=1 a=6I5d2MoRAAAA:8 a=AkhvXqqcB-60-bVNxSEA:9 a=BFUnw1ryDYWzPSw2Kf0HMx9ep2wA:4 a=CiSHi91Bn78A:10 a=si9q_4b84H0A:10 a=SV7veod9ZcQA:10 a=4vB-4DCPJfMA:10 a=LY0hPdMaydYA:10 X-CM-Score: 0.00 Date: Tue, 03 Feb 2009 17:19:12 -0600 To: "Alex Goncharov" From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 References: Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: User-Agent: Opera Mail/9.63 (Linux) Cc: Florent Thoumie , freebsd-ports@freebsd.org Subject: Re: X drivers depend on Gnome? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Feb 2009 23:18:54 -0000 On Tue, 03 Feb 2009 13:03:47 -0600, Alex Goncharov wrote: > 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 > ---------- The pkg-config is not GNOME. Even the GTK+2 is not GNOME. By the way, why don't you check the size of pkg-config. I am VERY surpised about that you are whining over it. > 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 -- -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org