Subject: Re: pkg/36724: modular-xorg package seems to assume GNOME is installed
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Jeremy C. Reed <reed@reedmedia.net>
List: pkgsrc-bugs
Date: 08/02/2007 21:30:03
The following reply was made to PR pkg/36724; it has been noted by GNATS.

From: "Jeremy C. Reed" <reed@reedmedia.net>
To: gnats-bugs@NetBSD.org
Cc: tls@coyotepoint.com
Subject: Re: pkg/36724: modular-xorg package seems to assume GNOME is installed
Date: Thu, 2 Aug 2007 16:26:50 -0500 (CDT)

 On Thu, 2 Aug 2007, tls@coyotepoint.com wrote:
 
 > >How-To-Repeat:
 > 	try to build modular-xorg-server.  Note that build system does
 > 	not have the NetBSD distribution X sets installed but does have
 > 	X11_TYPE=xorg in mk.conf and xorg-libs and x11-links packages
 > 	installed immediately prior to the attempt to build/install
 > 	modular-xorg-server.
 
 
 I don't know if that (using modular with non-modular) is supported.
 
 > checking pkg-config is at least version 0.9.0... yes
 > checking for XKBCOMP... gnome-config: not found
 > gnome-config: not found
 > configure: error: Package requirements (x11 xkbfile) were not met:
 > 
 > No package 'x11' found
 > No package 'xkbfile' found
 
 The error is not about "gnome-config". That is not needed. The error is 
 that x11.pc and xkbfile.pc pkgconfig files aren't seen. They come from the 
 libX11 and libxkbfile packages, respectively.
 
 Notice that the pkgsrc/x11/xkbcomp/Makefile has:
 .include "../../x11/libX11/buildlink3.mk"
 .include "../../x11/libxkbfile/buildlink3.mk"
 
 But those start with:
 
 .if ${X11_TYPE} != "modular"
 .include "../../mk/x11.buildlink3.mk"
 .else
 
 So in other words, the libX11 and libxkbfile packages aren't required with 
 your wrong X11_TYPE.
 
 Maybe modular-xorg-server should fail if not modular? Maybe xkbcomp should 
 fail if not modular? (We don't have time to patch all these modular 
 components to work with native X or non-modular X.)
 
   Jeremy C. Reed