diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | lib/Xconfig/card.pm | 6 |
2 files changed, 2 insertions, 5 deletions
@@ -3,6 +3,7 @@ corresponding entry in ServerLayout. ie do not rely on InputDevice sections to use XFdrake-compatible Identifiers (as suggested by fcrozat) - add avivo in the Xorg drivers list +- handle libglx.so provided by standard.conf alternative Version 0.21 - 8 August 2007, by Pascal "Pixel" Rigaux diff --git a/lib/Xconfig/card.pm b/lib/Xconfig/card.pm index 1042864..a92edf1 100644 --- a/lib/Xconfig/card.pm +++ b/lib/Xconfig/card.pm @@ -75,10 +75,6 @@ sub to_raw_X { # remove ModulePath that we added $raw_X->remove_ModulePath(modules_dir() . "/extensions/$_") foreach 'nvidia97xx', 'nvidia96xx', 'nvidia71xx', 'nvidia-current'; $raw_X->remove_ModulePath(modules_dir()); - # then may re-add some - if ($card->{DRI_GLX_SPECIAL}) { - $raw_X->add_ModulePath($card->{DRI_GLX_SPECIAL}); - } #- if we have some special ModulePath, ensure the last one is the standard ModulePath $raw_X->add_ModulePath(modules_dir()) if $raw_X->get_ModulePaths; @@ -348,7 +344,7 @@ sub libgl_config_and_more { my $wanted = $card->{Driver} eq 'fglrx' ? "/etc/ld.so.conf.d/GL/ati.conf" : $card->{Driver} eq 'nvidia' ? "/etc/nvidia$card->{DriverVersion}/ld.so.conf" : - '/etc/ld.so.conf.d/GL/' . (arch() =~ /64/ ? 'lib64' : 'lib') . 'mesagl1.conf'; + '/etc/ld.so.conf.d/GL/standard.conf'; my $link = "$::prefix/etc/alternatives/gl_conf"; my $need_run_ldconfig = readlink($link) ne $wanted; -e "$::prefix$wanted" or log::l("ERROR: $wanted does not exist, linking $link to it anyway"); |