Re: Xquartz version change?
Re: Xquartz version change?
- Subject: Re: Xquartz version change?
- From: Jeremy Huddleston <email@hidden>
- Date: Wed, 5 Dec 2007 22:56:24 -0800
On Dec 5, 2007, at 16:38, Martin Costabel wrote:
Jeremy Huddleston wrote:
"need a specific version of X11" is antiquated. X11 is no longer
released as one monolithic package and hasn't been for a few years
now.
This may be true in theory, but in real life my guess is that only a
negligible number of people will have chosen to pick different
modules from different releases. They will either have "Tiger's
original X11" or "Tiger's X11 with the 2006 updater" or "Leopard's
original X11" or some other complete package from xfree or xorg. In
the case of Apple's releases, the practical things to check are
whether the user has also the X11SDK installed which Apple
unfortunately still distributes separately, and whether the Apple
installer has forgotten to install some essential libraries or
headers as it has a habit of doing.
Well, we're talking about individual people here... we're talking
about applications. The application 'urxvt', for example, doesn't
need libXrandr. It should just check for libX11, libXft, and what
other handful of X11 libs it needs.
As for non-existence of a monolithic package, is there still
something identifiable as "xorg release 7.2" or not?
X11R7.2 is a collection of software at specific version numbers. If
you want to get technical, we're not 7.2 since we have newer versions
of some software. Like I mentioned earlier, saying 'X11 Version 7.2'
is like saying 'OS-X Version 10.4'.
Fink will need to adjust accordingly to "need a specific version of
libX11, libXft, libXt, etc, etc"... This is a "Good Thing". As an
analogy, saying you need X11 7.2 when you need libX11 is like
saying you need OS-X 10.3 when you need Carbon. The better thing
to do is check for Carbon.
Granted you want backwards compatability where appropriate, so I
urge you to do something like:
satisfiesLibX11Dependency() {
pkg-config x11 --atleast-version=1.0.3 && return 0
doThe10.4AndBeforeHacks()
}
As Peter has said, pkg-config is ruled out at the basic level where
this check is done, as long as Apple does not ship it with the system.
I certainly disagree there. If we're dealing with fink, they have pkg-
config, so why not use it? They use it to check other package
versions, right? How do they normally check which version of openssl,
libxml-2.0, etc are installed? Do they just check OS version?
--Jeremy
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden