From cbcf64dcef952f96eb37dd9d1b8331f7172cc123 Mon Sep 17 00:00:00 2001 From: Joerg Schirottke Date: Tue, 5 Mar 2013 16:30:45 +0100 Subject: gfxdetect, mesa backport and steam support --- auto/config | 2 ++ config/chroot_local-hooks/gfxdetect | 17 +++++++++++++++++ config/lists/gfxdetect | 3 +++ config/lists/gfxdrivers | 8 ++++++++ config/lists/steam | 1 + config/repositories/mesa | 2 ++ config/repositories/mesa.gpg | 30 ++++++++++++++++++++++++++++++ config/repositories/steam | 2 ++ config/repositories/steam-wheezy | 2 ++ config/repositories/steam-wheezy.gpg | 30 ++++++++++++++++++++++++++++++ config/repositories/steam.gpg | Bin 0 -> 1881 bytes 11 files changed, 97 insertions(+) create mode 100755 config/chroot_local-hooks/gfxdetect create mode 100644 config/lists/gfxdetect create mode 100644 config/lists/gfxdrivers create mode 100644 config/lists/steam create mode 100644 config/repositories/mesa create mode 100644 config/repositories/mesa.gpg create mode 100644 config/repositories/steam create mode 100644 config/repositories/steam-wheezy create mode 100644 config/repositories/steam-wheezy.gpg create mode 100644 config/repositories/steam.gpg diff --git a/auto/config b/auto/config index b34eae9..af8318b 100755 --- a/auto/config +++ b/auto/config @@ -71,6 +71,8 @@ grep -wq trinity <<<"$LB_PACKAGES_LISTS" && LB_REPOSITORIES+=" trinity" grep -wq -e virtualbox -e vbox <<<"$LB_PACKAGES $LB_PACKAGES_LISTS" && LB_REPOSITORIES+=" vbox" grep -wq -e opera <<<"$LB_PACKAGES $LB_PACKAGES_LISTS" && LB_REPOSITORIES+=" opera" grep -wq chrome <<<"$LB_PACKAGES $LB_PACKAGES_LISTS" && LB_REPOSITORIES+=" chrome" +grep -wq mesa <<<"$LB_PACKAGES_LISTS" && LB_REPOSITORIES+=" mesa" +grep -wq steam <<<"$LB_PACKAGES_LISTS" && LB_REPOSITORIES+=" steam steam-wheezy" lb config noauto --linux-packages "$LB_LINUX_PACKAGES" --linux-flavours "$LB_LINUX_FLAVOURS" --repositories "$LB_REPOSITORIES" # Fetch kanotix-scripts if necessary diff --git a/config/chroot_local-hooks/gfxdetect b/config/chroot_local-hooks/gfxdetect new file mode 100755 index 0000000..01b139c --- /dev/null +++ b/config/chroot_local-hooks/gfxdetect @@ -0,0 +1,17 @@ +#!/bin/sh +if [ -d /usr/lib/mesa-diverted ]; then + update-alternatives --set glx /usr/lib/mesa-diverted +fi + +if [ -f /etc/kde4/kdm/kdmrc ]; then + sed -i 's|\(ServerArgsLocal=-br -nolisten tcp\).*|\1 -dpi 96|' /etc/kde4/kdm/kdmrc +fi + +if [ -f /usr/share/initramfs-tools/scripts/init-bottom/01gfxdetect ]; then + if [ -f /etc/alternatives/glx--fglrx-blacklists-radeon.conf ]; then + sed -i 's/.*\(blacklist\)/#\1/' /etc/alternatives/glx--fglrx-blacklists-radeon.conf + fi + if [ -f /etc/modprobe.d/nvidia-kernel-common.conf ]; then + sed -i 's/.*\(blacklist\)/#\1/' /etc/modprobe.d/nvidia-kernel-common.conf + fi +fi diff --git a/config/lists/gfxdetect b/config/lists/gfxdetect new file mode 100644 index 0000000..6a64fdb --- /dev/null +++ b/config/lists/gfxdetect @@ -0,0 +1,3 @@ +gfxdetect + +#include diff --git a/config/lists/gfxdrivers b/config/lists/gfxdrivers new file mode 100644 index 0000000..aeb2e28 --- /dev/null +++ b/config/lists/gfxdrivers @@ -0,0 +1,8 @@ +nvidia-glx nvidia-settings vdpau-va-driver nvidia-xconfig nvidia-kernel-dkms +#if ARCHITECTURE amd64 +libgl1-nvidia-glx:i386 +#endif +fglrx-driver fglrx-modules-dkms xvba-va-driver fglrx-atieventsd fglrx-control +#if ARCHITECTURE amd64 +libgl1-fglrx-glx:i386 +#endif diff --git a/config/lists/steam b/config/lists/steam new file mode 100644 index 0000000..bae29fc --- /dev/null +++ b/config/lists/steam @@ -0,0 +1 @@ +steam-launcher diff --git a/config/repositories/mesa b/config/repositories/mesa new file mode 100644 index 0000000..284209d --- /dev/null +++ b/config/repositories/mesa @@ -0,0 +1,2 @@ +deb http://kanotix.com/files/fix/mesa.wheezy ./ +deb-src http://kanotix.com/files/fix/mesa.wheezy ./ diff --git a/config/repositories/mesa.gpg b/config/repositories/mesa.gpg new file mode 100644 index 0000000..051af27 --- /dev/null +++ b/config/repositories/mesa.gpg @@ -0,0 +1,30 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v1.4.6 (GNU/Linux) + +mQGiBEbWErMRBACOPf61a+Of7/kfSx1djy8DEiyDa9ESx6nNnIaPy4agExu1XJdk +oWzVKqZlZuC8TEhjV+L8RpStBPdVxUuspASZtqEcJVF9viZtMzK2NTVR2bKtFNfj +OBRK3CAcHjhne0HCGPN7k2Tw2qW/jxucSdbw+0DKeRZBA1G4OS+0qWubbwCg1GVi +OXgXoeoHp9fAmRYKpfkLx3UD/2bLTanQ3vmdmYGgW6rCSTrackolYjUD9Qs5KPXT +jTC77Bti2SCJvO+aao4sl8QrkejmrtLmTGIQj3wWsQLk2KQwt593Xn9KZy6kokvQ +rkMcpqh/J5zxZF3xSLkIBXfZOsKeRj1U4MdGg25GeUG5k7xLUaaoqNWHZdPwJe0s +n7tJA/9WYaqHWcT/txpXkxg6HXA1ZadF86KxDV4uiccQMxDeURn0gmN51FSoexoI +EFxzLLeTvvqMLWIUGsv5Vn1aTYhoBOSw9XnO3o0a+G5Iwg9RPa2ovRLRJ94f8kgk +hDFL6ELroQPH522UNF8vNO8S+3ADWjPfTwjiVSs9a1aFwCV9mLQqS2Fub3RpeCAo +VGhvcmhhbW1lcikgPG5vcmVwbHlAa2Fub3RpeC5jb20+iGAEExECACACGwMGCwkI +BwMCBBUCCAMEFgIDAQIeAQIXgAUCSfSlhgAKCRDSDW5vauzFPRlAAJ97OIJp57Vk +qX0gsM3hBmkjWoSqrwCcDw/XKEp3BmxFpEa4JHIiyr9aQZ25Ag0ERtYStRAIALIx +U9baoSsUuNtyOTS9vGvy4uKo34/XMSSLMCAWKSBHXZ5p2fFRfmTymoZpjl8OLpeq +L/b9IyWbd0LnFLWT8pMXvNAoL6dwWermnmW0gONxb9zLBHcFfANoa6epcpG1NkWC +Wyujjcaf5i8wcUexsGNTrTQXZGq5KNtyRnscONfwB+tmH15YZgU3JwlnVlAV67Qo +zkktDqeyKGDNDkJJbEfIXIwQ0zMSGapzYoLpX1KtPqDjSX/Hzb56FN9mUX/qDtpJ +iKLSluuXbG9NwsBowfAyX4yJa3LkiABR4ZmqW8qSkV15tZRsJS+JyqP5ni5WZrcs +PmivpmIX0j52ytORtqMAAwYH/1dwmOJQyyZwiRsC09gnZjqBv+S/Yw3yFfjFjhaY +AqTQ0Whq5ptQLZBMQDHV7+VuEBghvPe6P+OoU3QorZ6HdHnwQkaU7z6olmRplYLj +mGgMGpIpzhpFNuBWmvYePvDTQWpe/Je6KL55kiGrGQCknnC4458DWEld0h0fbiDG +YWAR7F4dZ7CRHJgTjof9nOeQVnSfqYkXWkfbqAjDSrxZoyTr0dSYpKjgRwr3c6TM +hBSSiMYW6S0ZknA+hG5SKmoyBeVRCT6FDErYYfP3d7ZqpZ08DmTjrnB1H8Qj+Sda +26m9UqMdhmwpp2DPp3A5GmKqzbNRH5xnPGlOriotbnsvIauITwQYEQIADwUCRtYS +tQIbDAUJAeEzgAAKCRDSDW5vauzFPfaNAJ0bvj0+YPKUe45fdCiRRWPOSej0ZACf +XaCZ+2zAh156vgAAfkPqU5FHg/8= +=fxFL +-----END PGP PUBLIC KEY BLOCK----- diff --git a/config/repositories/steam b/config/repositories/steam new file mode 100644 index 0000000..15e41bb --- /dev/null +++ b/config/repositories/steam @@ -0,0 +1,2 @@ +deb http://repo.steampowered.com/steam/ precise steam +deb-src http://repo.steampowered.com/steam/ precise steam diff --git a/config/repositories/steam-wheezy b/config/repositories/steam-wheezy new file mode 100644 index 0000000..c3c0342 --- /dev/null +++ b/config/repositories/steam-wheezy @@ -0,0 +1,2 @@ +deb http://kanotix.com/files/fix/steam.wheezy ./ +deb-src http://kanotix.com/files/fix/steam.wheezy ./ diff --git a/config/repositories/steam-wheezy.gpg b/config/repositories/steam-wheezy.gpg new file mode 100644 index 0000000..051af27 --- /dev/null +++ b/config/repositories/steam-wheezy.gpg @@ -0,0 +1,30 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v1.4.6 (GNU/Linux) + +mQGiBEbWErMRBACOPf61a+Of7/kfSx1djy8DEiyDa9ESx6nNnIaPy4agExu1XJdk +oWzVKqZlZuC8TEhjV+L8RpStBPdVxUuspASZtqEcJVF9viZtMzK2NTVR2bKtFNfj +OBRK3CAcHjhne0HCGPN7k2Tw2qW/jxucSdbw+0DKeRZBA1G4OS+0qWubbwCg1GVi +OXgXoeoHp9fAmRYKpfkLx3UD/2bLTanQ3vmdmYGgW6rCSTrackolYjUD9Qs5KPXT +jTC77Bti2SCJvO+aao4sl8QrkejmrtLmTGIQj3wWsQLk2KQwt593Xn9KZy6kokvQ +rkMcpqh/J5zxZF3xSLkIBXfZOsKeRj1U4MdGg25GeUG5k7xLUaaoqNWHZdPwJe0s +n7tJA/9WYaqHWcT/txpXkxg6HXA1ZadF86KxDV4uiccQMxDeURn0gmN51FSoexoI +EFxzLLeTvvqMLWIUGsv5Vn1aTYhoBOSw9XnO3o0a+G5Iwg9RPa2ovRLRJ94f8kgk +hDFL6ELroQPH522UNF8vNO8S+3ADWjPfTwjiVSs9a1aFwCV9mLQqS2Fub3RpeCAo +VGhvcmhhbW1lcikgPG5vcmVwbHlAa2Fub3RpeC5jb20+iGAEExECACACGwMGCwkI +BwMCBBUCCAMEFgIDAQIeAQIXgAUCSfSlhgAKCRDSDW5vauzFPRlAAJ97OIJp57Vk +qX0gsM3hBmkjWoSqrwCcDw/XKEp3BmxFpEa4JHIiyr9aQZ25Ag0ERtYStRAIALIx +U9baoSsUuNtyOTS9vGvy4uKo34/XMSSLMCAWKSBHXZ5p2fFRfmTymoZpjl8OLpeq +L/b9IyWbd0LnFLWT8pMXvNAoL6dwWermnmW0gONxb9zLBHcFfANoa6epcpG1NkWC +Wyujjcaf5i8wcUexsGNTrTQXZGq5KNtyRnscONfwB+tmH15YZgU3JwlnVlAV67Qo +zkktDqeyKGDNDkJJbEfIXIwQ0zMSGapzYoLpX1KtPqDjSX/Hzb56FN9mUX/qDtpJ +iKLSluuXbG9NwsBowfAyX4yJa3LkiABR4ZmqW8qSkV15tZRsJS+JyqP5ni5WZrcs +PmivpmIX0j52ytORtqMAAwYH/1dwmOJQyyZwiRsC09gnZjqBv+S/Yw3yFfjFjhaY +AqTQ0Whq5ptQLZBMQDHV7+VuEBghvPe6P+OoU3QorZ6HdHnwQkaU7z6olmRplYLj +mGgMGpIpzhpFNuBWmvYePvDTQWpe/Je6KL55kiGrGQCknnC4458DWEld0h0fbiDG +YWAR7F4dZ7CRHJgTjof9nOeQVnSfqYkXWkfbqAjDSrxZoyTr0dSYpKjgRwr3c6TM +hBSSiMYW6S0ZknA+hG5SKmoyBeVRCT6FDErYYfP3d7ZqpZ08DmTjrnB1H8Qj+Sda +26m9UqMdhmwpp2DPp3A5GmKqzbNRH5xnPGlOriotbnsvIauITwQYEQIADwUCRtYS +tQIbDAUJAeEzgAAKCRDSDW5vauzFPfaNAJ0bvj0+YPKUe45fdCiRRWPOSej0ZACf +XaCZ+2zAh156vgAAfkPqU5FHg/8= +=fxFL +-----END PGP PUBLIC KEY BLOCK----- diff --git a/config/repositories/steam.gpg b/config/repositories/steam.gpg new file mode 100644 index 0000000..e284ebc Binary files /dev/null and b/config/repositories/steam.gpg differ -- cgit v1.0