ubuntu-x-swat team mailing list archive
-
ubuntu-x-swat team
-
Mailing list archive
-
Message #84108
[Bug 616214] [NEW] Should Depend: on appropriate xserver-xorg-video-$ABI
Public bug reported:
The nvidia-current package does not depend on any particular server ABI,
allowing it to be installed onto an incompatible X server.
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: nvidia-graphics-drivers (Ubuntu)
Importance: Medium
Assignee: Alberto Milone (albertomilone)
Status: Confirmed
** Changed in: nvidia-graphics-drivers (Ubuntu)
Status: New => Confirmed
** Changed in: nvidia-graphics-drivers (Ubuntu)
Importance: Undecided => Medium
** Changed in: nvidia-graphics-drivers (Ubuntu)
Assignee: (unassigned) => Alberto Milone (albertomilone)
--
Should Depend: on appropriate xserver-xorg-video-$ABI
https://bugs.launchpad.net/bugs/616214
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to nvidia-graphics-drivers in ubuntu.
Follow ups
-
[Bug 616214] Re: Should Depend: on appropriate xserver-xorg-video-$ABI
From: Bryce Harrington, 2011-06-28
-
[Bug 616214] Re: Should Depend: on appropriate xserver-xorg-video-$ABI
From: MyR, 2011-05-03
-
[Bug 616214] Re: Should Depend: on appropriate xserver-xorg-video-$ABI
From: Launchpad Bug Tracker, 2011-02-25
-
[Bug 616214] Re: Should Depend: on appropriate xserver-xorg-video-$ABI
From: Launchpad Bug Tracker, 2011-02-25
-
[Bug 616214] Re: Should Depend: on appropriate xserver-xorg-video-$ABI
From: Alberto Milone, 2011-02-15
-
[Bug 616214] Re: Should Depend: on appropriate xserver-xorg-video-$ABI
From: Alberto Milone, 2011-02-05
-
[Bug 616214] Re: Should Depend: on appropriate xserver-xorg-video-$ABI
From: Launchpad Bug Tracker, 2011-01-24
-
[Bug 616214] Re: Should Depend: on appropriate xserver-xorg-video-$ABI
From: Chris Halse Rogers, 2011-01-14
-
[Bug 616214] Re: Should Depend: on appropriate xserver-xorg-video-$ABI
From: Launchpad Bug Tracker, 2010-11-22
-
[Bug 616214] Please test proposed package
From: Martin Pitt, 2010-11-22
-
[Bug 616214] Re: Should Depend: on appropriate xserver-xorg-video-$ABI
From: Martin Pitt, 2010-11-22
-
[Bug 616214] Re: Should Depend: on appropriate xserver-xorg-video-$ABI
From: Alberto Milone, 2010-11-20
-
[Bug 616214] Re: Should Depend: on appropriate xserver-xorg-video-$ABI
From: Launchpad Bug Tracker, 2010-10-04
-
[Bug 616214] Re: Should Depend: on appropriate xserver-xorg-video-$ABI
From: Launchpad Bug Tracker, 2010-10-04
-
[Bug 616214] Re: Should Depend: on appropriate xserver-xorg-video-$ABI
From: NoOp, 2010-09-12
-
[Bug 616214] Re: Should Depend: on appropriate xserver-xorg-video-$ABI
From: Alberto Milone, 2010-08-14
-
[Bug 616214] Re: Should Depend: on appropriate xserver-xorg-video-$ABI
From: Launchpad Bug Tracker, 2010-08-13
-
[Bug 616214] Re: Should Depend: on appropriate xserver-xorg-video-$ABI
From: Alberto Milone, 2010-08-11
-
[Bug 616214] Re: Should Depend: on appropriate xserver-xorg-video-$ABI
From: Alberto Milone, 2010-08-11
-
[Bug 616214] Re: Should Depend: on appropriate xserver-xorg-video-$ABI
From: Chris Halse Rogers, 2010-08-11
-
[Bug 616214] [NEW] Should Depend: on appropriate xserver-xorg-video-$ABI
From: Chris Halse Rogers, 2010-08-11
References