~ubuntu-branches/ubuntu/vivid/xorg/vivid

« back to all changes in this revision

Viewing changes to xsf-docs/reference/squeeze-backports.txt

  • Committer: Package Import Robot
  • Author(s): Timo Aaltonen
  • Date: 2012-01-23 07:38:32 UTC
  • mfrom: (6.3.21 sid)
  • Revision ID: package-import@ubuntu.com-20120123073832-w9qhf5zktgfswej8
Tags: 1:7.6+10ubuntu1
* Merge from Debian unstable, remaining changes:
  - Add apport hook
  - Demote xfonts-{75DPI,100DPI} to Suggests. Demote xfonts-scalable to
    Recommends.
  - debian/local/Xsession:
    Truncate xsession-errors on startup if too big
  - debian/local/Xsession.d/20x11-common_process-args:
    Add support for session command containing args.
  - debian/local/Xsession.d/60x11-common_localhost:
    Authorise all processes running with the user's credentials to connect
    to the server.
  - debian/local/Xsession.d/60x11-common_xdg_path:
    Add session script to set xdg path depending on the selected session.
  - debian/rules, debian/control:
    Add dependencies on x11-common, since pkgbinarymangler moves the docs
    there to save some space on the image.
  - debian/scripts/vars.*:
    + Don't drop wacom from input-all.
    + Add -vmmouse to input-all for amd64 and i386.
    + Add -qxl to video-all for amd64 and i386.
    + Add -geode to video-all for i386.
    + Drop video drivers that are likely irrelevant for ARM.
    + Drop apm, ark, chips, i128, i740, rendition, s3virge, tseng, voodoo
      from xserver-xorg-video-all dependencies. They are unmaintained and
      obsolete.
  - debian/x11-common.{preinst,postinst,postrm}.in:
    Clean up the old failsafe-x files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Backports policy for squeeze
2
 
============================
3
 
:toc:
 
1
Backports for squeeze
 
2
=====================
4
3
Cyril Brulebois <kibi@debian.org>
5
4
 
6
5
 
7
 
Proposed plans
8
 
--------------
 
6
Bird’s-eye view
 
7
---------------
9
8
 
10
9
If one forgets about libraries and clients, a whole X stack boils down
11
10
to: the server itself, input and video drivers, libdrm, and mesa.
12
11
 
13
 
Since upgrading the server means upgrading all input and video drivers
14
 
(more than 50 source packages), that’s certainly too much to backport,
15
 
since we’re already trying to support `stable` (through stable
16
 
updates), `testing`/`unstable`, and `experimental`. For example, in
17
 
February 2011, that means `xorg-server` 1.7 in `stable`, 1.9 in
18
 
`unstable` (and “soon” in `testing`), and 1.10 in `experimental`.
19
 
 
20
 
So the plan is to keep `xorg-server` as it is in `squeeze` (possibly
21
 
preparing/testing targeted fix if appropriate), and backporting
22
 
drivers when possible. With API/ABI updates, the minimal server
23
 
version required tend to get raised from time to time, but usually
24
 
drivers can be built against a rather large range of server
25
 
versions. In case a driver stop building against the server available
26
 
in `stable`, we’ll likely stick to the highest version still building
27
 
against it, and then tell people to upgrade the whole stack if they
28
 
need something more recent (unless some trivial cherry-picking is
29
 
possible, of course).
30
 
 
31
 
The plan is to backport a few drivers on a possibly regular fashion,
32
 
and other drivers upon request.
33
 
 
34
 
 
35
 
Input drivers
36
 
~~~~~~~~~~~~~
37
 
 
38
 
 * `evdev`: Linux-only keyboard & mouse/pointer driver.
39
 
 * `keyboard` and `mouse`: Needed for non-Linux ports.
40
 
 * `synaptics`: Better touchpad support than `evdev`.
41
 
 
42
 
 
43
 
Video drivers
44
 
~~~~~~~~~~~~~
45
 
 
46
 
 * `ati`: Drivers for ATI cards.
47
 
 * `intel`: Driver for Intel cards.
48
 
 * `nouveau`: Driver for NVidia cards. Not possible since upstream’s http://git.debian.org/?p=pkg-xorg/driver/xserver-xorg-video-nouveau.git;a=commit;h=a4d580bf05d7aac1d486e5d1ba9a2201c026e5f5[a4d580bf05].
49
 
 * `fbdev` and `vesa`: Generic drivers.
50
 
 * `dummy`: Dummy driver, suitable when there’s no monitor connected.
51
 
 
52
 
.Note
53
 
There are a few other drivers for ATI cards (`mach64`, `r128`), which
54
 
are pulled by `ati`, but there are versions available in `squeeze`
55
 
already, so backporting them isn’t required.
56
 
 
57
 
 
58
 
Libraries
59
 
~~~~~~~~~
60
 
 
61
 
The important libraries are `libdrm` and `mesa`. The former will
62
 
likely get pulled at some point by a driver, so a backport will be
63
 
needed for this library. The latter is under very heavy development,
64
 
so one may want to try a new release or a snapshot without having to
65
 
upgrade everything to `unstable`. It’s a huge package to build, so we
66
 
link:../howto/build-mesa.html[documented how to build it] locally. But
67
 
there’s some hope to make some weekly or daily builds available at
68
 
some point.
69
 
 
70
 
 
71
 
Kernel
72
 
~~~~~~
73
 
 
74
 
Some of those drivers might need a more recent kernel version than
75
 
the one in `squeeze`, but hopefully it’ll be available through
76
 
`squeeze-backports` as well.
 
12
To keep things simple, the idea is to backport all of those to
 
13
`squeeze` through `squeeze-backports`, along with some of the
 
14
additional packages which might be involved (like `libxfont` or
 
15
`x11proto-fixes-dev`).
 
16
 
 
17
The backports were prepared so that it’s possible to upgrade the
 
18
`input-all` and `video-all` meta packages on `amd64` and `i386`. If
 
19
specific drivers (maintained by the X Strike Force) are wanted,
 
20
requesting them on the `debian-backports@` / `debian-x@` mailing lists
 
21
should do the trick. For other drivers, please contact the relevant
 
22
package maintainers.
 
23
 
 
24
 
 
25
Instructions
 
26
------------
 
27
 
 
28
The usual link:http://backports-master.debian.org/[backports instructions]
 
29
apply. But let’s gather everything in a single place.
 
30
 
 
31
Add that to your `sources.list`:
 
32
----
 
33
deb http://backports.debian.org/debian-backports squeeze-backports main
 
34
----
 
35
 
 
36
Update your cache:
 
37
----
 
38
apt-get update
 
39
----
 
40
 
 
41
If you’re interested in just upgrading the usual `mesa` packages:
 
42
----
 
43
apt-get install -t squeeze-backports libgl1-mesa-dri libgl1-mesa-glx
 
44
----
 
45
 
 
46
If you want the whole stack, we should distinguish between two
 
47
cases.
 
48
 
 
49
In the usual case, both the `xserver-xorg-input-all` and
 
50
`xserver-xorg-video-all` meta packages were installed, and pulled a
 
51
lot of packages, which should work for most users. In that case, due
 
52
to a bug in `apt`, one has to remove the `wacom` input package before
 
53
proceeding to the upgrade (the `xserver-xorg-input-all` package might
 
54
be scheduled for removal as a consequence, but that doesn’t
 
55
hurt). Then specifying a few packages to upgrade should pull
 
56
everything from `squeeze-backports`.
 
57
 
 
58
----
 
59
apt-get purge xserver-xorg-input-wacom
 
60
apt-get install -t squeeze-backports xorg xserver-xorg xserver-xorg-core xserver-xorg-input-all xserver-xorg-video-all
 
61
----
 
62
 
 
63
In case only the needed packages were installed, like the `synaptics`
 
64
input driver and the `intel` video driver, the following should be
 
65
sufficient:
 
66
----
 
67
apt-get install -t squeeze-backports xorg xserver-xorg xserver-xorg-core xserver-xorg-input-synaptics xserver-xorg-video-intel
 
68
----
 
69
 
 
70
It is probably a very good idea to install the Linux kernel from
 
71
`squeeze-backports` as well. It is even required for the `nouveau`
 
72
video driver.