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

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to fglrx-installer in Ubuntu.
https://bugs.launchpad.net/bugs/616215

Title:
  Should Depend: on appropriate xserver-xorg-video-$ABI

Status in “fglrx-installer” package in Ubuntu:
  Fix Released

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/616215/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to