[Pkg-fglrx-devel] r753 - fglrx-driver/trunk/debian

Andreas Beckmann anbe-guest at alioth.debian.org
Wed Aug 31 20:40:24 UTC 2011


Author: anbe-guest
Date: 2011-08-31 20:40:23 +0000 (Wed, 31 Aug 2011)
New Revision: 753

Modified:
   fglrx-driver/trunk/debian/changelog
   fglrx-driver/trunk/debian/fglrx-driver.install.in
   fglrx-driver/trunk/debian/rules
Log:
Install a list of supported PCI IDs as /usr/share/fglrx/fglrx.ids.

Modified: fglrx-driver/trunk/debian/changelog
===================================================================
--- fglrx-driver/trunk/debian/changelog	2011-08-31 19:55:07 UTC (rev 752)
+++ fglrx-driver/trunk/debian/changelog	2011-08-31 20:40:23 UTC (rev 753)
@@ -5,6 +5,7 @@
   * Bump glx-alternative-fglrx dependency to >= 0.1.92 and drop the libglx.so
     compatibility symlink.
   * Cleanup maintainer scripts.
+  * Install a list of supported PCI IDs as /usr/share/fglrx/fglrx.ids.
   * Prepare support for squeeze-backports:
     - Add instructions for squeeze-backports to README.source and a
       prepare-squeeze-backport target to debian/rules that performs the

Modified: fglrx-driver/trunk/debian/fglrx-driver.install.in
===================================================================
--- fglrx-driver/trunk/debian/fglrx-driver.install.in	2011-08-31 19:55:07 UTC (rev 752)
+++ fglrx-driver/trunk/debian/fglrx-driver.install.in	2011-08-31 20:40:23 UTC (rev 753)
@@ -24,3 +24,4 @@
 _XPIC_/usr/X11R6/_LIB_/modules/drivers/fglrx_drv.so usr/lib/fglrx
 _XPIC_/usr/X11R6/_LIB_/modules/extensions/fglrx/fglrx-libglx.so	usr/lib/fglrx/
 _XPIC_/usr/X11R6/_LIB_/modules/linux/*.so			usr/lib/xorg/modules/linux/
+fglrx.ids							usr/share/fglrx/

Modified: fglrx-driver/trunk/debian/rules
===================================================================
--- fglrx-driver/trunk/debian/rules	2011-08-31 19:55:07 UTC (rev 752)
+++ fglrx-driver/trunk/debian/rules	2011-08-31 20:40:23 UTC (rev 753)
@@ -17,6 +17,7 @@
 endif
 
 generated=$(shell ls debian/*.in | sed s/\.in$$//g)
+generated	+= fglrx.ids
 
 %: %.in
 	sed -e s/_VERSION_/$(upstream_version)/g -e s/_ARCH_/$(arch)/g \
@@ -42,6 +43,10 @@
 	diff -w copyright.tmp LICENSE.tmp
 	rm -f copyright.tmp LICENSE.tmp
 
+fglrx.ids: common/lib/modules/fglrx/build_mod/fglrxko_pci_ids.h
+	cat $< | sed -n -r -e '/FGL_ASIC_ID/ s/.*\(0x(.{4})\).*/1002\1/p' \
+		| tr a-z A-Z | sort -u > $@
+
 override_dh_auto_configure: $(generated) compare-copyright-license
 	cd debian/man && ./autogen.sh --copy
 	cd debian/man && ./configure --prefix=/usr --mandir=/usr/share/man \




More information about the Pkg-fglrx-devel mailing list