← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 616215] [NEW] Should Depend: on appropriate xserver-xorg-video-$ABI

 

Public bug reported:

Again, same as for nvidia-current.

The dependency system for Xorg changed in 1.7.6.901 (in Debian, 1.8 in
Ubuntu).   The X server no longer declares a Breaks: against every
possible ABI it does not support.  Instead, it Provides: a video and
input ABI, and drivers are expected to depend on this ABI.

This was also accompanied by a change in where xserver-xorg-core-dev
stored its dependency information; it's no longer in /usr/share/xserver-
xorg/serverminver.

The relevant fragment from xsfbs.mk is:
# Compute dependencies for drivers
#
VIDEODEP = $(shell cat /usr/share/xserver-xorg/videodrvdep 2>/dev/null)
INPUTDEP = $(shell cat /usr/share/xserver-xorg/xinputdep 2>/dev/null)

# these two can be removed post-squeeze
VIDEOABI = $(shell cat /usr/share/xserver-xorg/videoabiver 2>/dev/null)
INPUTABI = $(shell cat /usr/share/xserver-xorg/inputabiver 2>/dev/null)
VIDDRIVER_PROVIDES = xserver-xorg-video-$(VIDEOABI), xorg-driver-video
INPDRIVER_PROVIDES = xserver-xorg-input-$(INPUTABI), xorg-driver-input

ifeq ($(PACKAGE),)
PACKAGE=$(shell awk '/^Package:/ { print $$2; exit }' < debian/control)
endif

.PHONY: serverabi
serverabi: install
ifeq ($(VIDEODEP),)
        @echo 'error: xserver-xorg-dev >= 1.7.6.901 needs to be installed'
        @exit 1
else
        echo "xviddriver:Depends=$(VIDEODEP)" >> debian/$(PACKAGE).substvars
        echo "xinpdriver:Depends=$(INPUTDEP)" >> debian/$(PACKAGE).substvars
        # the following is there for compatibility...
        echo "xviddriver:Provides=$(VIDDRIVER_PROVIDES)" >> debian/$(PACKAGE).substvars
        echo "xinpdriver:Provides=$(INPDRIVER_PROVIDES)" >> debian/$(PACKAGE).substvars
        echo "xserver:Depends=$(VIDEODEP), $(INPUTDEP)" >> debian/$(PACKAGE).substvars
endif

** Affects: fglrx-installer (Ubuntu)
     Importance: Medium
         Status: Confirmed

** Changed in: fglrx-installer (Ubuntu)
       Status: New => Confirmed

** Changed in: fglrx-installer (Ubuntu)
   Importance: Undecided => Medium

-- 
Should Depend: on appropriate xserver-xorg-video-$ABI
https://bugs.launchpad.net/bugs/616215
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to fglrx-installer in ubuntu.



Follow ups

References