[Xquartz-dev] XQuartz 2.7.0 beta1

Jeremy Huddleston jeremyhu at apple.com
Mon Jul 25 11:26:45 PDT 2011


I know you guys wouldn't be satisfied with just 2.6.3's low risk stability improvements.  You want to live on the edge.  You want change!  Well the answer is here.  2.7.0_beta1!

1) Better automated build system
This shouldn't matter to you, but it should make my life easier for putting together these packages.  I mention it in case there is anything odd about the installer package (I didn't notice anything) since I'm now using PackageMaker from a command line script rather than the UI.

2) Improved logging
Instead of just dumping everything out to stderr and letting launchd sort it out for us, we're doing our logging ourselves.  The server creates a log in ~/Library/Logs which is similar to /var/log/Xorg.##.log for the XFree86 DDX.  In addition, we're now logging to ASL from quartz-wm, xinit, and the server, so you can use syslog to watch and filter the logs.  Below is a snippet from the Xquartz(1) man page which provides more information.  Note that the server also sets a 'Subsystem' key for some messages which will help with filtering.  More subsystems will be added and logging migrated to the new system in the coming betas.

LOGGING
       XQuartz stores a  server  log  at  ~/Library/Logs/X11.org.macports.log
       which  is  analogous  to  /var/log/Xorg.#.log  on systems that use the
       XFree86 DDX such as Linux, BSD, and Solaris.

       In addition to this server log, XQuartz sends messages  to  syslogd(8)
       using  asl(3).   These logs are sent to the org.macports facility, and
       you can watch these logs using the following syslog(1) command:

       $ syslog -w -k Facility eq org.macports

       or you can include extra information such as the file, line, and func-
       tion where the message originated:

       $  syslog  -w -F '$(Time) $(Sender) <$(Level)> $(File):$(Line) $(Func-
       tion) :: $(Message)' -k Facility eq org.macports

       By  default,  XQaurtz  sets an ASL mask which prevents it from logging
       messages below the ASL_LEVEL_WARNING level (meaning almost all logging
       is  done  strictly to the file referenced above).  To force XQuartz to
       send all log messages to syslogd(8), you can adjust  this  mask  using
       the following syslog(1) command:

       $ syslog -c X11.bin -d

       The  stdout  and  stderr  messages  printed by any process launched by
       XQuartz will be redirected to this syslog  facility  with  a  priority
       level  of  ASL_LEVEL_INFO and ASL_LEVEL_NOTICE respectively.  In order
       to see these messages in syslog, you will need to adjust XQuartz's asl
       mask as above but using -i or -n instead of -d.

3) Improved GLX
I've updated to mesa-7.10.3 which contains the first set of changes in the revamped libGL.  7.11 includes additional changes which will appear in the next beta, but I wanted to put out a release with 7.10.3 as a "stepping stone".  If you've been having weird issues with GLX, please give this version a try.  Please report any *NEW* issues.  I don't expect that everything will be fixed.  7.11 should address many additional issues (note that the longstanding issue with vanishing CGL context on window withdrawl is not going to be addressed in 2.7.0).

4) General version bumps
Other modules were bumped as well over the past couple months, but I didn't want to include them in the low-risk 2.6.3 update.  Please check out the ChangeLog for more a full list.  http://xquartz.macosforge.org/trac/wiki/ChangeLog

Note that this release includes an updated freetype which should address some font rendering issues.

5) Lion, almost there...
My goal is that 2.7.0 will be built on Lion and will run on Leopard or later (this may change to SL or later), but we're not quite there yet.  Some changes in mesa-7.11 are required in order to do OpenGL capability detection at runtime rather than build time, and I need to make further changes to libXplugin to support all OS versions in one binary.  As such, this release was built on Snow Leopard, but it should work mostly fine on Lion (with the caveat that it does not include the updated preference pane for Lion's scrolling behavior).

---

2.7.0_beta1 is a really a stepping stone to show off where we are now, rolling up the latest xorg stable releases with the top-of-tree server.  2.7.0_beta2 will continue this trajectory (improving logging and better supporting Lion and SL in one package).

Thanks for testing,
Jeremy



More information about the Xquartz-dev mailing list