Summary
Description: Unnamed repository; edit this file 'description' to name the repository.
Last Change: Wed 4/10/13 13:00
Recent Commits
>
--git a/Ubuntu/ati-packager.sh b/Ubuntu/ati-packager.sh
index 0913473..830a04e 100644
--- a/Ubuntu/ati-packager.sh
+++ b/Ubuntu/ati-packager.sh
@@ -217,13 +217,14 @@ buildPackage()
#Detect x* dir name corresponding to X_NAME
- X_DIR=x750
+ X_DIR=x760
case ${X_NAME} in
gutsy) X_DIR=x690;;
hardy) X_DIR=x690;;
intrepid)X_DIR=x740;;
jaunty) X_DIR=x740;;
karmic) X_DIR=x740;;
+ lucid) X_DIR=x750;;
source) X_NAME=`lsb`;;
esac
diff --git a/Ubuntu/dists/lucid b/Ubuntu/dists/lucid
deleted file mode 120000
index 1d3a065..0000000
--- a/Ubuntu/dists/lucid
+++ /dev/null
@@ -1 +0,0 @@
-source
\ No newline at end of file
diff --git a/Ubuntu/dists/lucid/10fglrx.in b/Ubuntu/dists/lucid/10fglrx.in
new file mode 120000
index 0000000..39f2681
--- /dev/null
+++ b/Ubuntu/dists/lucid/10fglrx.in
@@ -0,0 +1 @@
+../source/10fglrx.in
\ No newline at end of file
diff --git a/Ubuntu/dists/lucid/README.Debian b/Ubuntu/dists/lucid/README.Debian
new file mode 120000
index 0000000..a623409
--- /dev/null
+++ b/Ubuntu/dists/lucid/README.Debian
@@ -0,0 +1 @@
+../source/README.Debian
\ No newline at end of file
diff --git a/Ubuntu/dists/lucid/acpi b/Ubuntu/dists/lucid/acpi
new file mode 120000
index 0000000..b40066a
--- /dev/null
+++ b/Ubuntu/dists/lucid/acpi
@@ -0,0 +1 @@
+../source/acpi
\ No newline at end of file
diff --git a/Ubuntu/dists/lucid/amdcccle.desktop b/Ubuntu/dists/lucid/amdcccle.desktop
new file mode 120000
index 0000000..578613b
--- /dev/null
+++ b/Ubuntu/dists/lucid/amdcccle.desktop
@@ -0,0 +1 @@
+../source/amdcccle.desktop
\ No newline at end of file
diff --git a/Ubuntu/dists/lucid/changelog.in b/Ubuntu/dists/lucid/changelog.in
new file mode 120000
index 0000000..0ca4fb7
--- /dev/null
+++ b/Ubuntu/dists/lucid/changelog.in
@@ -0,0 +1 @@
+../source/changelog.in
\ No newline at end of file
diff --git a/Ubuntu/dists/lucid/clean b/Ubuntu/dists/lucid/clean
new file mode 120000
index 0000000..31eb4b8
--- /dev/null
+++ b/Ubuntu/dists/lucid/clean
@@ -0,0 +1 @@
+../source/clean
\ No newline at end of file
diff --git a/Ubuntu/dists/lucid/compat b/Ubuntu/dists/lucid/compat
new file mode 120000
index 0000000..2e7c470
--- /dev/null
+++ b/Ubuntu/dists/lucid/compat
@@ -0,0 +1 @@
+../source/compat
\ No newline at end of file
diff --git a/Ubuntu/dists/lucid/control b/Ubuntu/dists/lucid/control
new file mode 120000
index 0000000..edda009
--- /dev/null
+++ b/Ubuntu/dists/lucid/control
@@ -0,0 +1 @@
+../source/control
\ No newline at end of file
diff --git a/Ubuntu/dists/lucid/copyright b/Ubuntu/dists/lucid/copyright
new file mode 120000
index 0000000..7af4ccd
--- /dev/null
+++ b/Ubuntu/dists/lucid/copyright
@@ -0,0 +1 @@
+../source/copyright
\ No newline at end of file
diff --git a/Ubuntu/dists/lucid/dkms b/Ubuntu/dists/lucid/dkms
new file mode 120000
index 0000000..4b6453b
--- /dev/null
+++ b/Ubuntu/dists/lucid/dkms
@@ -0,0 +1 @@
+../source/dkms
\ No newline at end of file
diff --git a/Ubuntu/dists/lucid/dkms.conf.in b/Ubuntu/dists/lucid/dkms.conf.in
new file mode 120000
index 0000000..67f1f49
--- /dev/null
+++ b/Ubuntu/dists/lucid/dkms.conf.in
@@ -0,0 +1 @@
+../source/dkms.conf.in
\ No newline at end of file
diff --git a/Ubuntu/dists/lucid/fglrx-amdcccle.install.in b/Ubuntu/dists/lucid/fglrx-amdcccle.install.in
new file mode 120000
index 0000000..7090552
--- /dev/null
+++ b/Ubuntu/dists/lucid/fglrx-amdcccle.install.in
@@ -0,0 +1 @@
+../source/fglrx-amdcccle.install.in
\ No newline at end of file
diff --git a/Ubuntu/dists/lucid/fglrx-dev.install.in b/Ubuntu/dists/lucid/fglrx-dev.install.in
new file mode 120000
index 0000000..b563c95
--- /dev/null
+++ b/Ubuntu/dists/lucid/fglrx-dev.install.in
@@ -0,0 +1 @@
+../source/fglrx-dev.install.in
\ No newline at end of file
diff --git a/Ubuntu/dists/lucid/fglrx-dev.links b/Ubuntu/dists/lucid/fglrx-dev.links
new file mode 120000
index 0000000..e471bd9
--- /dev/null
+++ b/Ubuntu/dists/lucid/fglrx-dev.links
@@ -0,0 +1 @@
+../source/fglrx-dev.links
\ No newline at end of file
diff --git a/Ubuntu/dists/lucid/fglrx-modaliases.install b/Ubuntu/dists/lucid/fglrx-modaliases.install
new file mode 120000
index 0000000..080fac2
--- /dev/null
+++ b/Ubuntu/dists/lucid/fglrx-modaliases.install
@@ -0,0 +1 @@
+../source/fglrx-modaliases.install
\ No newline at end of file
diff --git a/Ubuntu/dists/lucid/fglrx.atieventsd.init b/Ubuntu/dists/lucid/fglrx.atieventsd.init
new file mode 120000
index 0000000..4621328
--- /dev/null
+++ b/Ubuntu/dists/lucid/fglrx.atieventsd.init
@@ -0,0 +1 @@
+../source/fglrx.atieventsd.init
\ No newline at end of file
diff --git a/Ubuntu/dists/lucid/fglrx.default b/Ubuntu/dists/lucid/fglrx.default
new file mode 120000
index 0000000..37004c1
--- /dev/null
+++ b/Ubuntu/dists/lucid/fglrx.default
@@ -0,0 +1 @@
+../source/fglrx.default
\ No newline at end of file
diff --git a/Ubuntu/dists/lucid/fglrx.dirs b/Ubuntu/dists/lucid/fglrx.dirs
new file mode 120000
index 0000000..fe27f1e
--- /dev/null
+++ b/Ubuntu/dists/lucid/fglrx.dirs
@@ -0,0 +1 @@
+../source/fglrx.dirs
\ No newline at end of file
diff --git a/Ubuntu/dists/lucid/fglrx.install.in b/Ubuntu/dists/lucid/fglrx.install.in
new file mode 120000
index 0000000..05f3cce
--- /dev/null
+++ b/Ubuntu/dists/lucid/fglrx.install.in
@@ -0,0 +1 @@
+../source/fglrx.install.in
\ No newline at end of file
diff --git a/Ubuntu/dists/lucid/fglrx.links b/Ubuntu/dists/lucid/fglrx.links
new file mode 120000
index 0000000..a731d64
--- /dev/null
+++ b/Ubuntu/dists/lucid/fglrx.links
@@ -0,0 +1 @@
+../source/fglrx.links
\ No newline at end of file
diff --git a/Ubuntu/dists/lucid/fglrx.manpages b/Ubuntu/dists/lucid/fglrx.manpages
new file mode 120000
index 0000000..546ccdd
--- /dev/null
+++ b/Ubuntu/dists/lucid/fglrx.manpages
@@ -0,0 +1 @@
+../source/fglrx.manpages
\ No newline at end of file
diff --git a/Ubuntu/dists/lucid/fglrx.postinst b/Ubuntu/dists/lucid/fglrx.postinst
new file mode 120000
index 0000000..5c46fe4
--- /dev/null
+++ b/Ubuntu/dists/lucid/fglrx.postinst
@@ -0,0 +1 @@
+../source/fglrx.postinst
\ No newline at end of file
diff --git a/Ubuntu/dists/lucid/fglrx.postrm b/Ubuntu/dists/lucid/fglrx.postrm
new file mode 120000
index 0000000..c42f423
--- /dev/null
+++ b/Ubuntu/dists/lucid/fglrx.postrm
@@ -0,0 +1 @@
+../source/fglrx.postrm
\ No newline at end of file
diff --git a/Ubuntu/dists/lucid/fglrx.preinst b/Ubuntu/dists/lucid/fglrx.preinst
new file mode 120000
index 0000000..1a8330d
--- /dev/null
+++ b/Ubuntu/dists/lucid/fglrx.preinst
@@ -0,0 +1 @@
+../source/fglrx.preinst
\ No newline at end of file
diff --git a/Ubuntu/dists/lucid/fglrx.prerm b/Ubuntu/dists/lucid/fglrx.prerm
new file mode 120000
index 0000000..4e34ca0
--- /dev/null
+++ b/Ubuntu/dists/lucid/fglrx.prerm
@@ -0,0 +1 @@
+../source/fglrx.prerm
\ No newline at end of file
diff --git a/Ubuntu/dists/lucid/modaliases b/Ubuntu/dists/lucid/modaliases
new file mode 120000
index 0000000..39a67c0
--- /dev/null
+++ b/Ubuntu/dists/lucid/modaliases
@@ -0,0 +1 @@
+../source/modaliases
\ No newline at end of file
diff --git a/Ubuntu/dists/lucid/overrides b/Ubuntu/dists/lucid/overrides
new file mode 120000
index 0000000..a702b38
--- /dev/null
+++ b/Ubuntu/dists/lucid/overrides
@@ -0,0 +1 @@
+../source/overrides
\ No newline at end of file
diff --git a/Ubuntu/dists/lucid/replacements b/Ubuntu/dists/lucid/replacements
new file mode 120000
index 0000000..8589abe
--- /dev/null
+++ b/Ubuntu/dists/lucid/replacements
@@ -0,0 +1 @@
+../source/replacements
\ No newline at end of file
diff --git a/Ubuntu/dists/lucid/rules b/Ubuntu/dists/lucid/rules
new file mode 100755
index 0000000..5e3a2c8
--- /dev/null
+++ b/Ubuntu/dists/lucid/rules
@@ -0,0 +1,148 @@
+#!/usr/bin/make -f
+# Copyright (C) 2002-2005 Flavio Stanchina
+# Copyright (C) 2005-2006 Aric Cyr
+# Copyright (C) 2007-2010 Mario Limonciello
+
+# Figure out some magic versioning
+CVERSION := $(shell dpkg-parsechangelog | grep '^Version:' | cut -d' ' -f2 | cut -d- -f1 | cut -d\: -f2)
+DVERSION := $(shell dpkg-parsechangelog | grep '^Version:' | cut -d' ' -f2 | cut -d\: -f2)
+DISTRO := $(shell dpkg-parsechangelog | grep '^Distribution:' | cut -d' ' -f2 | cut -d\: -f2)
+
+# Package names
+PKG_driver := fglrx
+PKG_driver_dev := fglrx-dev
+PKG_control := fglrx-amdcccle
+
+#Directory naming schemes
+DRIDIR := usr/lib/$(PKG_driver)
+DRIDIR32 := usr/lib32/$(PKG_driver)
+XMODDIR := $(DRIDIR)/xorg/modules
+LIBDIR := lib
+ARCH := x86
+XARCH := x750
+
+# This is a hack to make sure that
+# the blacklist file is available
+# early in the boot process when
+# /usr is on a separate partition.
+# See LP: #538071.
+PKG_LIBDIR := lib/fglrx
+
+ifeq ($(DEB_HOST_ARCH),amd64)
+ LIBDIR := lib64
+ ARCH := x86_64
+ XARCH := $(XARCH)_64a
+endif
+
+# DEB_DH_SHLIBDEPS_ARGS_ALL="-Xlib32"
+
+clean:
+ dh clean
+
+
+build:
+ #Create important strings
+ for i in 10fglrx \
+ dkms.conf \
+ $(PKG_driver).install \
+ $(PKG_driver_dev).install \
+ $(PKG_control).install \
+ overrides/$(PKG_driver); do \
+ sed -e "s|#XMODDIR#|$(XMODDIR)|" \
+ -e "s|#XMODDIR32#|$(XMODDIR32)|" \
+ -e "s|#DRIDIR32#|$(DRIDIR32)|" \
+ -e "s|#LIBDIR#|$(LIBDIR)|" \
+ -e "s|#DRIDIR#|$(DRIDIR)|" \
+ -e "s|#CVERSION#|$(CVERSION)|" \
+ -e "s|#XARCH#|$(XARCH)|" \
+ -e "s|#ARCH#|$(ARCH)|" \
+ debian/$$i.in > debian/$$i; \
+ done
+
+ # remove exec bit on everything
+ find arch \
+ etc \
+ lib \
+ module \
+ usr \
+ $(XARCH) -type f | xargs chmod -x
+
+ # set executable on user apps
+ find arch/$(ARCH)/usr/sbin \
+ arch/$(ARCH)/usr/X11R6/bin \
+ usr/sbin/ -type f | xargs chmod a+x
+
+ # set exec bit on scripts
+ find lib etc debian -name "*.sh" -type f | xargs chmod +x
+
+ # Generate modaliases
+ sh -e debian/modaliases/fglrx_supported \
+ lib/modules/fglrx/build_mod/fglrxko_pci_ids.h > \
+ debian/modaliases/fglrx-modules.alias.override
+
+ dh build
+
+
+binary-arch:
+ #Steps that we can't easily represent in debhelper files or .in files yet
+ifeq ($(DEB_HOST_ARCH),amd64)
+ dh_install -p$(PKG_driver) "arch/x86/usr/X11R6/lib/libAMD*.so*" "$(DRIDIR32)"
+ dh_install -p$(PKG_driver) "arch/x86/usr/X11R6/lib/*.so*" "$(DRIDIR32)"
+ dh_installdirs -p$(PKG_driver) "$(DRIDIR32)"
+ dh_install -p$(PKG_driver) "arch/x86/usr/X11R6/lib/modules/dri" "$(DRIDIR32)"
+ dh_install -p$(PKG_driver) "arch/x86/usr/lib/*" "$(DRIDIR32)"
+
+ for i in \
+ debian/$(PKG_driver)/$(DRIDIR32)/dri/fglrx_dri.so \
+ debian/$(PKG_driver)/$(DRIDIR32)/libGL.so.* \
+ ; do execstack -q $$i; execstack -c $$i; done
+
+ #they don't provide the symlink for us (starting at 8.699)
+ dh_link -p$(PKG_driver) $(DRIDIR32)/libatiuki.so.1.0 $(DRIDIR32)/libatiuki.so.1
+else
+ dh_installdirs -p$(PKG_driver)
+endif
+ dh_installdocs -p$(PKG_driver) usr/share/doc/fglrx/* --exclude ATI_LICENSE.TXT
+ dh_installinit -p$(PKG_driver) --name="atieventsd" --no-start --update-rcd-params="defaults 31"
+
+ #remove executable bits from stack
+ dh_install -p$(PKG_control)
+ execstack -c debian/$(PKG_control)/$(DRIDIR)/bin/amdcccle
+ dh_install -p$(PKG_driver)
+ for i in \
+ debian/$(PKG_driver)/$(DRIDIR)/bin/atiode \
+ debian/$(PKG_driver)/$(DRIDIR)/bin/amdnotifyui \
+ debian/$(PKG_driver)/$(DRIDIR)/dri/fglrx_dri.so \
+ debian/$(PKG_driver)/$(DRIDIR)/libGL.so.* \
+ ; do execstack -q $$i; execstack -c $$i; done
+
+ # Make some additional scripts executable
+ find debian/$(PKG_control)/$(DRIDIR)/bin/ \
+ -type f | xargs chmod a+x
+
+ # Blacklist any other driver that udev may want to load instead of fglrx
+ printf "blacklist radeon\n" > $(CURDIR)/debian/$(PKG_driver)/$(PKG_LIBDIR)/modprobe.conf
+
+ #ld.so.conf
+ echo "/$(DRIDIR)" > "$(CURDIR)/debian/$(PKG_driver)/$(DRIDIR)/ld.so.conf"
+ifeq ($(DEB_HOST_ARCH),amd64)
+ echo "/$(DRIDIR32)" >> "$(CURDIR)/debian/$(PKG_driver)/$(DRIDIR)/ld.so.conf"
+endif
+
+
+ #Run the normal stuff
+ dh binary-arch
+
+binary: binary-arch binary-indep ;
+ #Run the normal stuff
+ dh binary
+
+override_dh_shlibdeps:
+ifeq ($(DEB_HOST_ARCH),amd64)
+ dh_shlibdeps -l$(CURDIR)/debian/fglrx/usr/lib/fglrx:$(CURDIR)/debian/fglrx/usr/lib32/fglrx -Xlib32
+else
+ dh_shlibdeps -l$(CURDIR)/debian/fglrx/usr/lib/fglrx
+endif
+
+%:
+ dh $@
diff --git a/Ubuntu/dists/maverick b/Ubuntu/dists/maverick
new file mode 120000
index 0000000..1d3a065
--- /dev/null
+++ b/Ubuntu/dists/maverick
@@ -0,0 +1 @@
+source
\ No newline at end of file
diff --git a/Ubuntu/dists/source/rules b/Ubuntu/dists/source/rules
index 5e3a2c8..a252618 100755
--- a/Ubuntu/dists/source/rules
+++ b/Ubuntu/dists/source/rules
@@ -19,7 +19,7 @@ DRIDIR32 := usr/lib32/$(PKG_driver)
XMODDIR := $(DRIDIR)/xorg/modules
LIBDIR := lib
ARCH := x86
-XARCH := x750
+XARCH := x760
# This is a hack to make sure that
# the blacklist file&nb
Copyright © 2013 by Phoronix Media