/[livecd-tools]/trunk/openglify
Gentoo

Contents of /trunk/openglify

Parent Directory Parent Directory | Revision Log Revision Log


Revision 116 - (hide annotations) (download)
Thu Jul 20 21:34:03 2006 UTC (8 years, 5 months ago) by wolf31o2
File size: 1295 byte(s)
A small fix-up so that openglify works with both the modular and monolithic X builds in portage.

1 wolf31o2 5 #!/bin/bash
2 wolf31o2 44 # Copyright 1999-2005 Gentoo Foundation
3 wolf31o2 5 # Distributed under the terms of the GNU General Public License v2
4 wolf31o2 116 # $Header: /var/cvsroot/gentoo/src/livecd-tools/openglify,v 1.7 2006/07/20 21:34:03 wolf31o2 Exp $
5 wolf31o2 5
6 wolf31o2 54 #This script is designed to tweak the system for opengl-update
7 wolf31o2 5 #set up our flexible opengl stuff:
8    
9     #move symlinks to a malleable /etc/opengl directory.
10 wolf31o2 54 install -d test/lib/modules/extensions
11    
12 wolf31o2 116 rm -f /usr/lib/libGL{,core}.{a,so}* > /dev/null 2>&1
13     rm -f /usr/lib/modules/extensions/libglx* > /dev/null 2>&1
14     rm -f /usr/lib/xorg/modules/extensions/libglx* > /dev/null 2>&1
15 wolf31o2 54
16     ln -sf /etc/opengl/lib/libGL.so /usr/lib/libGL.so
17     ln -sf /etc/opengl/lib/libGL.so.1 /usr/lib/libGL.so.1
18     ln -sf /etc/opengl/lib/libGLcore.so /usr/lib/libGLcore.so
19     ln -sf /etc/opengl/lib/libGLcore.so.1 /usr/lib/libGLcore.so.1
20 wolf31o2 116 if [ -d /usr/lib/modules/extensions ]
21     then
22     ln -sf /etc/opengl/lib/modules/extensions/libglx.so \
23     /usr/lib/modules/extensions/libglx.so
24     ln -sf /etc/opengl/lib/modules/extensions/libglx.a \
25     /usr/lib/modules/extensions/libglx.a
26     elif [ -d /usr/lib/xorg/modules/extensions ]
27     then
28     ln -sf /etc/opengl/lib/modules/extensions/libglx.so \
29     /usr/lib/xorg/modules/extensions/libglx.so
30     ln -sf /etc/opengl/lib/modules/extensions/libglx.a \
31     /usr/lib/xorg/modules/extensions/libglx.a
32     fi

Properties

Name Value
svn:eol-style native
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.20