Summary
Description: The git repository for the ATI/AMD fglrx packaging scripts.
Last Change: Thu 2/4/10 2:40
Recent Commits
>
--git a/Ubuntu/dists/intrepid/control b/Ubuntu/dists/intrepid/control
index 6c1afe4..58a190c 100644
--- a/Ubuntu/dists/intrepid/control
+++ b/Ubuntu/dists/intrepid/control
@@ -1,5 +1,5 @@
Source: fglrx-installer
-Section: restricted
+Section: restricted/misc
Priority: extra
Maintainer: Mario Limonciello <superm1@ubuntu.com>
Uploaders: Mario Limonciello <superm1@ubuntu.com>, Aric Cyr <Aric.Cyr@gmail.com>
@@ -40,7 +40,6 @@ Description: Video driver for the ATI graphics accelerators
and hardware accelerated OpenGL.
Package: xorg-driver-fglrx-dev
-Section: restricted
Architecture: amd64 i386
Depends: xorg-driver-fglrx
Conflicts: fglrx-driver-dev, xfree86-driver-fglrx-dev
@@ -52,8 +51,8 @@ Description: Video driver for the ATI graphics accelerators (devel files)
and the FGLRXGAMMA extension interface library.
Package: fglrx-kernel-source
-Architecture: all
-Depends: make, dkms, linux-libc-dev
+Architecture: amd64 i386
+Depends: make, dkms, linux-libc-dev, linux-headers
Suggests: xorg-driver-fglrx
Description: Kernel module source for the ATI graphics accelerators
Video driver for the ATI Radeon and FireGL graphics accelerators.
@@ -70,3 +69,11 @@ Description: Catalyst Control Center for the ATI graphics accelerators
.
This package provides the Catalyst Control Center, Linux Edition
+Package: fglrx-modaliases
+Architecture: amd64 i386
+Description: Identifiers supported by the ATI graphics driver
+ In order to identify what hardware is supported by Jockey,
+ there must be a static list of what the current driver in the Ubuntu
+ archive supports.
+ .
+ This package provides that list.
diff --git a/Ubuntu/dists/intrepid/fglrx-modaliases.install b/Ubuntu/dists/intrepid/fglrx-modaliases.install
new file mode 100644
index 0000000..ff6b76c
--- /dev/null
+++ b/Ubuntu/dists/intrepid/fglrx-modaliases.install
@@ -0,0 +1 @@
+debian/modaliases/fglrx-modules.alias.override usr/share/modaliases
diff --git a/Ubuntu/dists/intrepid/modaliases/fglrx_supported b/Ubuntu/dists/intrepid/modaliases/fglrx_supported
new file mode 100644
index 0000000..aa99bd3
--- /dev/null
+++ b/Ubuntu/dists/intrepid/modaliases/fglrx_supported
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+set -e
+
+filename="$1"
+
+[ -e "$filename" ] || {
+ echo "USAGE: $0 path/to/fglrx_drv.so" >&2
+ exit 1
+}
+
+echo "# Listing generated by fglrx_supported. Do not edit manually."
+
+strings "$filename" |
+ sed -n 's/^0x\([0-9A-F]\{4\}\)$/alias pci:v00001002d0000\1sv*sd*bc03sc*i* fglrx/p' |
+ sort | uniq
diff --git a/Ubuntu/dists/intrepid/rules b/Ubuntu/dists/intrepid/rules
index 62dfee2..5ec649d 100755
--- a/Ubuntu/dists/intrepid/rules
+++ b/Ubuntu/dists/intrepid/rules
@@ -65,6 +65,11 @@ configure/$(PKG_driver)::
# set exec bit on scripts
find lib etc debian -name "*.sh" -type f | xargs chmod +x
+ # Generate modaliases
+ sh -e debian/modaliases/fglrx_supported
+ $(XARCH)/usr/X11R6/$(LIBDIR)/modules/drivers/fglrx_drv.so >
+ debian/modaliases/fglrx-modules.alias.override
+
clean::
rm -f debian/{10fglrx,
dkms.conf,
@@ -72,7 +77,8 @@ clean::
$(PKG_driver_dev).install,
$(PKG_kernel_src).install,
$(PKG_control).install,
- overrides/$(PKG_kernel_src)}
+ overrides/$(PKG_kernel_src),
+ modaliases/fglrx-modules.alias.override}
binary-install/$(PKG_driver)::
ifeq ($(DEB_BUILD_ARCH),amd64)
<
Copyright © 2010 by Phoronix Media