Magellan Linux

Diff of /tags/openglupdate-2_3_6/opengl-update.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/opengl-update/opengl-update.in revision 1984 by niro, Thu Nov 15 12:59:19 2012 UTC tags/openglupdate-2_3_6/opengl-update.in revision 2068 by niro, Thu Mar 7 13:37:21 2013 UTC
# Line 241  set_new_implementation() Line 241  set_new_implementation()
241   mkdir -p ${DST_PREFIX}/${LIBDIR}   mkdir -p ${DST_PREFIX}/${LIBDIR}
242   pushd ${DST_PREFIX}/${LIBDIR} &> /dev/null   pushd ${DST_PREFIX}/${LIBDIR} &> /dev/null
243   # First remove old symlinks   # First remove old symlinks
244   for file in lib{EGL,GL{,ESv{1,2}},OpenVG}{,core}.{so,dylib,a,la}   for file in lib{EGL,GL*,OpenVG}{,core}.{so,dylib,a,la}
245   do   do
246     # exclude libGLU
247     [[ ${file} = libGLU.so ]] && continue
248   [[ -h ${file} ]] && rm -f ${file}   [[ -h ${file} ]] && rm -f ${file}
249   done   done
250    
251   # Note that we don't do .so*, just .so on purpose.  The   # Note that we don't do .so*, just .so on purpose.  The
252   # loader knows to look in the profile dir, and the   # loader knows to look in the profile dir, and the
253   # linked just needs the .so   # linked just needs the .so
254   for file in ${PREFIX}/${LIBDIR}/opengl/${GL_LOCAL}/lib/lib{EGL,GL{,ESv{1,2}},OpenVG}{,core}.{so,dylib,a,la}   for file in ${PREFIX}/${LIBDIR}/opengl/${GL_LOCAL}/lib/lib{EGL,GL*,OpenVG}{,core}.{so,dylib,a,la}
255   do   do
256   [[ -f ${file} ]] || continue   [[ -f ${file} ]] || continue
257   [[ -f ${file##*/} ]] && rm -f ${file##*/}   [[ -f ${file##*/} ]] && rm -f ${file##*/}
# Line 269  set_new_implementation() Line 271  set_new_implementation()
271   mkdir -p ${DST_PREFIX}/${LIBDIR}/tls   mkdir -p ${DST_PREFIX}/${LIBDIR}/tls
272   pushd ${DST_PREFIX}/${LIBDIR}/tls &> /dev/null   pushd ${DST_PREFIX}/${LIBDIR}/tls &> /dev/null
273   # First remove old symlinks   # First remove old symlinks
274   for file in lib{EGL,GL{,ESv{1,2}},OpenVG}{,core}.{so,dylib,a,la}   for file in lib{EGL,GL*,OpenVG}{,core}.{so,dylib,a,la}
275   do   do
276     # exclude libGLU
277     [[ ${file} = libGLU.so ]] && continue
278   [[ -h ${file} ]] && rm -f ${file}   [[ -h ${file} ]] && rm -f ${file}
279   done   done
280    
281   for file in ${PREFIX}/${LIBDIR}/opengl/${GL_LOCAL}/lib/tls/lib{EGL,GL{,ESv{1,2}},OpenVG}{,core}.{so,dylib,a,la}   for file in ${PREFIX}/${LIBDIR}/opengl/${GL_LOCAL}/lib/tls/lib{EGL,GL*,OpenVG}{,core}.{so,dylib,a,la}
282   do   do
283   [[ -f ${file} ]] || continue   [[ -f ${file} ]] || continue
284   [[ -f ${file##*/} ]] && rm -f ${file##*/}   [[ -f ${file##*/} ]] && rm -f ${file##*/}
# Line 329  set_new_implementation() Line 333  set_new_implementation()
333   headers[GL]="gl.h glx.h glxtokens.h glext.h glxext.h glxmd.h glxproto.h"   headers[GL]="gl.h glx.h glxtokens.h glext.h glxext.h glxmd.h glxproto.h"
334   headers[GLES]="egl.h gl_extensions.h glext.h gl.h glplatform.h"   headers[GLES]="egl.h gl_extensions.h glext.h gl.h glplatform.h"
335   headers[GLES2]="gl2ext.h gl2.h gl2platform.h"   headers[GLES2]="gl2ext.h gl2.h gl2platform.h"
336   headers[EGL]="eglext.h egl.h eglplatform.h"   headers[EGL]="eglext.h egl.h eglmesaext.h eglplatform.h"
337   headers[KHR]="khrplatform.h"   headers[KHR]="khrplatform.h"
338   headers[VG]="openvg.h vgext.h vgplatform.h vgu.h"   headers[VG]="openvg.h vgext.h vgplatform.h vgu.h"
339   for incl_dir in EGL GL GLES GLES2 KHR VG   for incl_dir in EGL GL GLES GLES2 KHR VG

Legend:
Removed from v.1984  
changed lines
  Added in v.2068