unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* New xorg-updates branch pushed
@ 2014-12-20  5:36 Mark H Weaver
  2014-12-21 23:56 ` Ludovic Courtès
  2014-12-27 17:30 ` Mark H Weaver
  0 siblings, 2 replies; 4+ messages in thread
From: Mark H Weaver @ 2014-12-20  5:36 UTC (permalink / raw)
  To: guix-devel

Hello Guix!

I've pushed a new branch 'xorg-updates' which updates almost every
package in xorg.scm, as well as mesa, dbus, glib, pixman, cairo,
poppler, inkscape, and a few others.

My original purpose was to apply security fixes mentioned here:

  http://www.x.org/wiki/Development/Security/Advisory-2014-12-09/

but I decided it was a better use of my time to upgrade xorg-server to
the latest pre-release (which contains the fixes) than to try to
backport them to our old xorg-server.  This required updating the *proto
packages, which in turn forced a rebuild of the X libraries and
everything built on them, so I decided I might as well update most of
xorg.scm while I was at it.

I've been running with these patches on my own system for the last day
or so, and it's working very well so far.  The X server now uses
xf86-input-evdev, which among other things enables hotplugging of input
devices.  xf86-video-modesetting also now works.  I was also able to
resurrect xf86-video-geode, thanks to a new upstream release.

Two drivers no longer compile: xf86-video-ast and xf86-video-newport.
They both try to include xaa.h, which has apparently been removed from
the server, although I confess I didn't look too deeply into it.

Most of the commits are fairly straightforward, but I wanted to call
attention to a few points:

* Wherever possible, I changed the source URIs to
  mirror://xorg/individual/.  For most of the package updates this was
  required, and then for consistency, in the final commit I changed all
  of the URIs for the packages I didn't update.  I made it the last
  commit so it will be easy to remove if there are objections :)

* Many video drivers needed patches.  Most of the patches are for two
  recurrent problems:

   * mibstore.h has been removed in the X server, and 10 of the video
     drivers haven't yet been updated.  Fixing this requires patches
     like this:

     http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/patches/xf86-video-nv-remove-mibstore.patch?h=xorg-updates

   * There's an incompatibility between glibc-2.20 and the os.h header
     in the xorg-server package.  Until they fix this properly, a
     simple workaround is to include <xorg-server.h> before including
     the headers for the internal X driver API, as done here:

     http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/patches/xf86-video-intel-glibc-2.20.patch?h=xorg-updates

   * Related to the problem above, some video drivers checked for the
     exa.h header in their configure scripts, and the test compilation
     fails for the same reason as above.  My workaround was to hack the
     configure script to include <xorg-server.h> in the test program,
     using patches like this:

     http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/patches/xf86-video-mach64-glibc-2.20.patch?h=xorg-updates

I've asked Hydra to build this new branch, and when it's done building
(or close to it) I plan to merge it into master.

In the meantime, if anyone feels inspired to review these 116 commits,
your comments and suggestions are welcome.  Testing would also be very
helpful, as I was only able to test on my Libreboot X60 laptop with
intel graphics.

       Mark

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: New xorg-updates branch pushed
  2014-12-20  5:36 New xorg-updates branch pushed Mark H Weaver
@ 2014-12-21 23:56 ` Ludovic Courtès
  2014-12-27 17:30 ` Mark H Weaver
  1 sibling, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2014-12-21 23:56 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: guix-devel

Mark H Weaver <mhw@netris.org> skribis:

> I've pushed a new branch 'xorg-updates' which updates almost every
> package in xorg.scm, as well as mesa, dbus, glib, pixman, cairo,
> poppler, inkscape, and a few others.
>
> My original purpose was to apply security fixes mentioned here:
>
>   http://www.x.org/wiki/Development/Security/Advisory-2014-12-09/
>
> but I decided it was a better use of my time to upgrade xorg-server to
> the latest pre-release (which contains the fixes) than to try to
> backport them to our old xorg-server.  This required updating the *proto
> packages, which in turn forced a rebuild of the X libraries and
> everything built on them, so I decided I might as well update most of
> xorg.scm while I was at it.

Excellent!

> I've been running with these patches on my own system for the last day
> or so, and it's working very well so far.  The X server now uses
> xf86-input-evdev, which among other things enables hotplugging of input
> devices.  xf86-video-modesetting also now works.  I was also able to
> resurrect xf86-video-geode, thanks to a new upstream release.
>
> Two drivers no longer compile: xf86-video-ast and xf86-video-newport.
> They both try to include xaa.h, which has apparently been removed from
> the server, although I confess I didn't look too deeply into it.

OK.

> Most of the commits are fairly straightforward, but I wanted to call
> attention to a few points:
>
> * Wherever possible, I changed the source URIs to
>   mirror://xorg/individual/.  For most of the package updates this was
>   required, and then for consistency, in the final commit I changed all
>   of the URIs for the packages I didn't update.  I made it the last
>   commit so it will be easy to remove if there are objections :)

This is a good initiative IMO.

> * Many video drivers needed patches.  Most of the patches are for two
>   recurrent problems:
>
>    * mibstore.h has been removed in the X server, and 10 of the video
>      drivers haven't yet been updated.  Fixing this requires patches
>      like this:
>
>      http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/patches/xf86-video-nv-remove-mibstore.patch?h=xorg-updates
>
>    * There's an incompatibility between glibc-2.20 and the os.h header
>      in the xorg-server package.  Until they fix this properly, a
>      simple workaround is to include <xorg-server.h> before including
>      the headers for the internal X driver API, as done here:
>
>      http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/patches/xf86-video-intel-glibc-2.20.patch?h=xorg-updates
>
>    * Related to the problem above, some video drivers checked for the
>      exa.h header in their configure scripts, and the test compilation
>      fails for the same reason as above.  My workaround was to hack the
>      configure script to include <xorg-server.h> in the test program,
>      using patches like this:
>
>      http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/patches/xf86-video-mach64-glibc-2.20.patch?h=xorg-updates

Woow, congratulations for handling all those glitches!

> I've asked Hydra to build this new branch, and when it's done building
> (or close to it) I plan to merge it into master.
>
> In the meantime, if anyone feels inspired to review these 116 commits,
> your comments and suggestions are welcome.  Testing would also be very
> helpful, as I was only able to test on my Libreboot X60 laptop with
> intel graphics.

I’ve been meaning to test it on my laptop (“intel” driver), but that’s a
lot of rebuild, and I have gotten there yet.

Thanks a lot for taking care of this.  I hope we’ll find out what’s
going on with Hydra so it can start building it for good.

Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: New xorg-updates branch pushed
  2014-12-20  5:36 New xorg-updates branch pushed Mark H Weaver
  2014-12-21 23:56 ` Ludovic Courtès
@ 2014-12-27 17:30 ` Mark H Weaver
  2014-12-27 21:29   ` Ludovic Courtès
  1 sibling, 1 reply; 4+ messages in thread
From: Mark H Weaver @ 2014-12-27 17:30 UTC (permalink / raw)
  To: guix-devel

Mark H Weaver <mhw@netris.org> writes:
> I've pushed a new branch 'xorg-updates' which updates almost every
> package in xorg.scm, as well as mesa, dbus, glib, pixman, cairo,
> poppler, inkscape, and a few others.

Hydra has finished building it, and I've fixed the remaining problems,
so I've merged this into master.

     Mark

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: New xorg-updates branch pushed
  2014-12-27 17:30 ` Mark H Weaver
@ 2014-12-27 21:29   ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2014-12-27 21:29 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: guix-devel

Mark H Weaver <mhw@netris.org> skribis:

> Mark H Weaver <mhw@netris.org> writes:
>> I've pushed a new branch 'xorg-updates' which updates almost every
>> package in xorg.scm, as well as mesa, dbus, glib, pixman, cairo,
>> poppler, inkscape, and a few others.
>
> Hydra has finished building it, and I've fixed the remaining problems,
> so I've merged this into master.

Thanks!

Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-12-27 21:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-20  5:36 New xorg-updates branch pushed Mark H Weaver
2014-12-21 23:56 ` Ludovic Courtès
2014-12-27 17:30 ` Mark H Weaver
2014-12-27 21:29   ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).