Web lists-archives.com

Re: xorg version in Buster

On Sat 27 Apr 2019 at 12:17:42 (-0400), Felix Miata wrote:
> Paul Sutton composed on 2019-04-27 17:07 (UTC+0100):
> > According to https://packages.debian.org/source/buster/xorg-server the
> > version of x-org supplied with Buster is 2:  is this correct or
> > is the actual version number hidden in there somewhere.  I am not sure
> > how to interpret the number (sorry) 
> Hidden. The upstream source includes the first two "."s and no ":".
> > Gnome is easy 3.x same for the kernel 4.19.x
> > This is for the presentation I am working on which is now on Salsa (
> > https://salsa.debian.org/zleap-guest/presentations )
> > However being able to interpret this information would be useful to me
> > generally. 
> If you are running Buster, it's the second line in /var/log/Xorg.0.log.
> Online for your purpose https://distrowatch.com/table.php?distribution=debian is
> useful for selected packages, among which the Xorg server.

I would prefer the stderr output from:

$ Xorg -version

X.Org X Server 1.19.2
Release Date: 2017-03-02
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.9.0-8-amd64 x86_64 Debian
Current Operating System: Linux wren 4.9.0-8-amd64 #1 SMP Debian 4.9.144-3.1 (2019-02-19) x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.9.0-8-amd64 root=LABEL=swan06 ro systemd.show_status=true quiet
Build Date: 03 November 2018  03:09:11AM
xorg-server 2:1.19.2-1+deb9u5 (https://www.debian.org/support)
Current version of pixman: 0.34.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.

because the Xorg.0.log varies in location.

For many people, the log is in $HOME/.local/share/xorg/Xorg.0.log
because they don't have permission to write to /var/log/. If there
*is* a file at /var/log/Xorg.0.log, it's quite possible that it
survives from an earlier Debian version (when X servers ran as root),
or it could be a log left over from running
# Xorg -configure
as root at some time in the past in order to write an xorg.conf file
(which is where my own came from).

As someone posted, the version numbers can be broken down as described
in §5.6.12 of the Debian Policy manual. Mangling upstream version
numbers to fit policy is described in §3.2.