summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorChristopher James Halse Rogers <christopher.halse.rogers@canonical.com>2010-06-01 18:22:25 +1000
committerChristopher James Halse Rogers <christopher.halse.rogers@canonical.com>2010-06-01 18:22:25 +1000
commit78e28df182379e7326ca71e8c3bfb74a00c85ad8 (patch)
tree7ce1131c6b05dc3fc70208fe6efd7acaedb74e65 /debian
parentfdf0edf342d3b2aed64f3c40e06358f1b30789e7 (diff)
Install radeong_dri as r300_dri.
The DDX only looks for r{600,300,200}_dri.so, so the DRI module needs to be called one of these. The gallium driver only supports r300-r500, so call it r300_dri.so
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules6
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index c432c666db6..e658e77ef4b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -269,6 +269,12 @@ binary-arch: install
# Remove the whole tree to avoid false-positives in --list-missing, and
# install the right files manually.
rm -r debian/tmp/usr/lib/dri
+ # Radeon searches for r{200,300,600}_dri only, but the gallium driver
+ # is (at the moment) radeong_dri. Rename it to r300_dri, as it
+ # fails to support r600.
+ mv build/dri/glx/gallium/radeong_dri.so \
+ build/dri/glx/gallium/r300_dri.so
+
dh_install -s --list-missing
dh_installman -s
dh_lintian -s