From owner-cvs-all Sun Sep 19 2:10:55 1999 Delivered-To: cvs-all@freebsd.org Received: from dfw-ix3.ix.netcom.com (dfw-ix3.ix.netcom.com [206.214.98.3]) by hub.freebsd.org (Postfix) with ESMTP id 5880C1522F; Sun, 19 Sep 1999 02:10:47 -0700 (PDT) (envelope-from asami@stampede.cs.berkeley.edu) Received: (from smap@localhost) by dfw-ix3.ix.netcom.com (8.8.4/8.8.4) id EAA05026; Sun, 19 Sep 1999 04:09:46 -0500 (CDT) Received: from sji-ca50-38.ix.netcom.com(209.111.213.38) by dfw-ix3.ix.netcom.com via smap (V1.3) id rma005007; Sun Sep 19 04:09:18 1999 Received: (from asami@localhost) by silvia.hip.berkeley.edu (8.9.3/8.6.9) id CAA58754; Sun, 19 Sep 1999 02:09:14 -0700 (PDT) To: "R. Imura" Cc: andy@cgu.chel.su, cpiazza@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/x11-toolkits/qt2 - Imported sources References: <199909181643.WAA04539@mail.cgu.chel.su> <19990919174041U.imura@cs.titech.ac.jp> From: asami@FreeBSD.org (Satoshi - Ports Wraith - Asami) Date: 19 Sep 1999 02:09:11 -0700 In-Reply-To: "R. Imura"'s message of "Sun, 19 Sep 1999 17:40:41 +0900" Message-ID: Lines: 44 X-Mailer: Gnus v5.7/Emacs 20.4 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk * From: "R. Imura" * Should I change? Honestly, I don't care either way. But if you do, please also change all the other ports that use this. (Or ask someone else to.) * I have one question. * Why /usr/X11R6/include/X11 exists? To put X11 include files? :) I'm not sure if you are being sarcastic here, but if you want me to tell you the long version, it's something like, people wanted some place to put X11 headers, so they put them in /usr/include/X11 and said "#include " in their source files. (And the binaries went to /usr/bin/X11 and libraries to /usr/lib/X11...well, the libraries proper stayed in /usr/lib, and support files were under /usr/lib/X11, but anyway.) Now, when people realized it's not a good idea to put X11 stuff directly under /usr, they moved it out to a separate tree. The top of this "separate tree" is defined as ProjectRoot in site.def in the imake config files. They moved the entire thing over from /usr with the same hierarchy, except /usr/bin/X11 became ${ProjectRoot}/bin. They probably didn't want to move header files to ${ProjectRoot}/include instead of ${ProjectRoot}/include/X11 because they would have to go fix all the "#include "s in people's sources out there. So, what does that mean? Not much, I guess. If you look at /usr/X11R6/include and /usr/X11R6/include/X11, they both have files and subdirectories installed by various ports. You can make a case that qt, being a toolkit, belongs under include/X11 since that's where the X people put Xaw. But then gtk and Xm (Motif) are directly under include. If, as Andy says, most third-party sources say "#include " and not "#include ", there really isn't much difference. It's up to you. Satoshi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message