Magellan Linux

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

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

revision 1995 by niro, Wed Dec 19 10:57:22 2012 UTC revision 2847 by niro, Wed Nov 5 16:29:59 2014 UTC
# Line 243  set_new_implementation() Line 243  set_new_implementation()
243   # First remove old symlinks   # First remove old symlinks
244   for file in lib{EGL,GL*,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    
# Line 271  set_new_implementation() Line 273  set_new_implementation()
273   # First remove old symlinks   # First remove old symlinks
274   for file in lib{EGL,GL*,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    
# 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 eglmesaext.h eglplatform.h"   headers[GLES3]="gl3ext.h gl3.h gl31.h gl3platform.h"
337     headers[EGL]="eglext.h egl.h eglextchromium.h eglmesaext.h eglplatform.h"
338   headers[KHR]="khrplatform.h"   headers[KHR]="khrplatform.h"
339   headers[VG]="openvg.h vgext.h vgplatform.h vgu.h"   headers[VG]="openvg.h vgext.h vgplatform.h vgu.h"
340   for incl_dir in EGL GL GLES GLES2 KHR VG   for incl_dir in EGL GL GLES GLES2 GLES3 KHR VG
341   do   do
342     # run this only if the include dir exist in the chosen profile
343     [[ -e ${PREFIX}/${LIBDIR}/opengl/${GL_LOCAL}/include/${incl_dir} ]] || continue
344    
345   mkdir -p ${DST_PREFIX}/include/${incl_dir}   mkdir -p ${DST_PREFIX}/include/${incl_dir}
346   pushd ${DST_PREFIX}/include/${incl_dir} &> /dev/null   pushd ${DST_PREFIX}/include/${incl_dir} &> /dev/null
347   for file in ${headers[${incl_dir}]}   for file in ${headers[${incl_dir}]}

Legend:
Removed from v.1995  
changed lines
  Added in v.2847