[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Handling server / drivers dependencies

Cyril Brulebois <kibi@debian.org> (01/02/2011):
> Tweaks to xorg-server + sample driver updates will be pushed to
> repositories under users/kibi/pkg-xorg probably, for discussion /
> review before pushing to the main repositories.

The server part is in the pu/dependencies branch on:

Debdiff on the server:
| [deb]
| Provides: {+xorg-input-abi-11,+} xorg-input-abi-11.0, {+xorg-video-abi-8,+} xorg-video-abi-8.0, xserver
| [udeb]
| Provides: {+xorg-input-abi-11, xorg-video-abi-8,+} xserver

In the deb, we add xorg-*-abi-$major, keeping xorg-*-abi-$major.$minor
manually until every driver gets rid of the $minor.

In the udeb, we addd xorg-*-abi-$major provides.

To test a driver update:
 - install xserver-xorg-dev from git.
 - remove the serverabi dependency in debian/rules (xsfbs might still
   be needed if there are some debian/*.in maintainer scripts handled
   through xsfbs; only a few drivers need it).
 - call dh_xsf_substvars before dh_gencontrol.

On fbdev:
| [deb]
| Depends: libc6 (>= 2.2.5), [-xorg-video-abi-8.0,-] {+xorg-video-abi-8,+} xserver-xorg-core (>= 2:
| Provides: [-xorg-driver-video, xserver-xorg-video-8-] {+xorg-driver-video+}
| [udeb]
| Depends: libc6-udeb (>= [-2.11)-] {+2.11), xorg-video-abi-8, xserver-xorg-core-udeb (>= 2:}
| {+Provides: xorg-driver-video+}

In the deb, we transition from xorg-*-abi-$major.$minor to

In the udeb, we start depending on the server properly. We provide
xorg-driver-video, just in case. (That might help having generic
packages lists in d-i in case non-Linux ports get a Graphical
Installer as well.)

> The draft document is available online:
>   http://pkg-xorg.alioth.debian.org/reference/dependencies.html


I still need to test a g-i image, making sure dependencies work as
intended; also, play around with dh and dh sequences. But probably
another day.


Attachment: signature.asc
Description: Digital signature

Reply to: