On 7/13/07, Simon Geard <[EMAIL PROTECTED]> wrote:
> On Thu, 2007-07-12 at 12:19 +0100, Ken Moffat wrote:
> >  Thanks for putting it more clearly than I was able to - there is
> > not much difficult about modular X, but there is an awful lot of it
> > and plenty of scope for errors and typos.
>
> I think the biggest issue I've found is lack of clarity over versions,
> particularly during the 7.2 development cycle, during which development
> was also going on on work that wouldn't make 7.2 (input hotplug in
> particular). It was quite difficult to establish whether a given tarball
> was part of the imminent 7.2, or the much further off 7.3.

The policy is actually very straightforward. For version
major.minor.patch, things within the same major.minor are meant for
the same Xorg release. So, if you know that Xorg-7.2 has
inputproto-1.3.2, then all the inputproto-1.4.x (which has the
input-hotplug stuff) packages are slated for 7.3. I've only seen one
or two packages that broke this policy.

If the question is, how do you figure out which packages belong to
which Xorg version to start, there are a couple ways. This wiki page:

http://wiki.x.org/wiki/Releases/ModuleVersions

But I don't particularly trust that since I think it's done as an
afterthought and I think I've found errors before. Or, you can use
some wget/sed magic/ugly hackery to figure it out. Try this:

wget -O- http://xorg.freedesktop.org/releases/X11R7.2/src/lib/ 2>/dev/null |
    sed -n '/\.tar\.bz2/{s/.*href="\([^"]*\)".*/\1/;s/-X11R7.[0-9]//;p}'

> Of course, the actual releases are nicely tagged and organised in
> versioned directories. But if you're trying to preview any of this stuff
> - or even just keep individual packages up to date - it's quite a pain.

The other place to follow is the xorg-announce release list.

http://lists.freedesktop.org/archives/xorg-announce/

If you're looking for previews and not trying to break things, then
you pretty much need to follow along. But that's no different than any
project, really. If you just want to find out what's been updated,
then follow the announce list, or manage some more hacks.

I use a similar cmd to the one above to dump out a version of all the
packages from the individual/ directory. Then I diff the two lists. It
sort of blows, but it results in things like this:

$ cat ~/src/xorg/lib/lib-7.2.wget.post
libSM-1.0.3.tar.bz2
libX11-1.1.2.tar.bz2
libXcomposite-0.3.2.tar.bz2
libXext-1.0.3.tar.bz2
libXfont-1.2.8.tar.bz2
libXi-1.0.4.tar.bz2
libXinerama-1.0.2.tar.bz2
libXt-1.0.5.tar.bz2
libXtst-1.0.2.tar.bz2
$ cat ~/src/xorg/lib/lib-7.3.wget.pre
libXcomposite-0.4.0.tar.bz2
libXdamage-1.1.1.tar.bz2
# libXfont-1.2.9 is same as 1.3.0
libXfont-1.3.0.tar.bz2
libXi-1.1.1.tar.bz2
libXrandr-1.2.1.tar.bz2

But, yeah, it can get pretty rough. Someone wrote in to the DIY list
with their script called picklist, which looks pretty nice.

http://www.diy-linux.org/pipermail/diy-linux-dev/2007-April/001024.html

--
Dan
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to