Skip site navigation (1)Skip section navigation (2)
Date:      19 Sep 1999 02:09:11 -0700
From:      asami@FreeBSD.org (Satoshi - Ports Wraith - Asami)
To:        "R. Imura" <imura@FreeBSD.org>
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
Message-ID:  <vqczoyjqnd3.fsf@silvia.hip.berkeley.edu>
In-Reply-To: "R. Imura"'s message of "Sun, 19 Sep 1999 17:40:41 %2B0900"
References:  <199909181643.WAA04539@mail.cgu.chel.su> <vqcpuzfs4pp.fsf@silvia.hip.berkeley.edu> <19990919174041U.imura@cs.titech.ac.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
 * From: "R. Imura" <imura@FreeBSD.org>

 * 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 <X11/foo.h>" 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 <X11/foo.h>"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
<q*.h>" and not "#include <X11/qt/q*.h>", 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?vqczoyjqnd3.fsf>