From: Matt Turner Date: Thu, 23 Aug 2012 23:39:20 +0000 (-0700) Subject: Remove libGLU X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b95d598323540ecb6dbbdcf00bbb5cf3fb22a78c;p=mesa.git Remove libGLU It's been moved to its own repository, found at http://cgit.freedesktop.org/mesa/glu/ Acked-by: Kenneth Graunke --- diff --git a/configs/default b/configs/default index 85a863f3081..5e4cc56785d 100644 --- a/configs/default +++ b/configs/default @@ -94,7 +94,7 @@ MOTIF_CFLAGS = -I/usr/include/Motif1.2 # Directories to build LIB_DIR = lib SRC_DIRS = glsl mapi/glapi mapi/vgapi mesa \ - gallium egl gallium/winsys gallium/targets glu + gallium egl gallium/winsys gallium/targets DRIVER_DIRS = x11 osmesa # Gallium directories and diff --git a/configure.ac b/configure.ac index 12a9a74c594..a80ccbfa568 100644 --- a/configure.ac +++ b/configure.ac @@ -340,18 +340,12 @@ AC_ARG_WITH([gl-lib-name], [specify GL library name @<:@default=GL@:>@])], [GL_LIB=$withval], [GL_LIB=GL]) -AC_ARG_WITH([glu-lib-name], - [AS_HELP_STRING([--with-glu-lib-name@<:@=NAME@:>@], - [specify GLU library name @<:@default=GLU@:>@])], - [GLU_LIB=$withval], - [GLU_LIB=GLU]) AC_ARG_WITH([osmesa-lib-name], [AS_HELP_STRING([--with-osmesa-lib-name@<:@=NAME@:>@], [specify OSMesa library name @<:@default=OSMesa@:>@])], [OSMESA_LIB=$withval], [OSMESA_LIB=OSMesa]) AS_IF([test "x$GL_LIB" = xyes], [GL_LIB=GL]) -AS_IF([test "x$GLU_LIB" = xyes], [GLU_LIB=GLU]) AS_IF([test "x$OSMESA_LIB" = xyes], [OSMESA_LIB=OSMesa]) dnl @@ -366,11 +360,9 @@ AC_ARG_ENABLE([mangling], if test "x${enable_mangling}" = "xyes" ; then DEFINES="${DEFINES} -DUSE_MGL_NAMESPACE" GL_LIB="Mangled${GL_LIB}" - GLU_LIB="Mangled${GLU_LIB}" OSMESA_LIB="Mangled${OSMESA_LIB}" fi AC_SUBST([GL_LIB]) -AC_SUBST([GLU_LIB]) AC_SUBST([OSMESA_LIB]) dnl @@ -389,7 +381,6 @@ if test "x$enable_texture_float" = xyes; then fi GL_LIB_NAME='lib$(GL_LIB).'${LIB_EXTENSION} -GLU_LIB_NAME='lib$(GLU_LIB).'${LIB_EXTENSION} OSMESA_LIB_NAME='lib$(OSMESA_LIB).'${LIB_EXTENSION} EGL_LIB_NAME='lib$(EGL_LIB).'${LIB_EXTENSION} GLESv1_CM_LIB_NAME='lib$(GLESv1_CM_LIB).'${LIB_EXTENSION} @@ -398,7 +389,6 @@ VG_LIB_NAME='lib$(VG_LIB).'${LIB_EXTENSION} GLAPI_LIB_NAME='lib$(GLAPI_LIB).'${LIB_EXTENSION} GL_LIB_GLOB=${LIB_PREFIX_GLOB}'$(GL_LIB)'${LIB_VERSION_SEPARATOR}'*'${LIB_EXTENSION}'*' -GLU_LIB_GLOB=${LIB_PREFIX_GLOB}'$(GLU_LIB)'${LIB_VERSION_SEPARATOR}'*'${LIB_EXTENSION}'*' EGL_LIB_GLOB=${LIB_PREFIX_GLOB}'$(EGL_LIB)'${LIB_VERSION_SEPARATOR}'*'${LIB_EXTENSION}'*' EGL_LIB_GLOB=${LIB_PREFIX_GLOB}'$(EGL_LIB)'${LIB_VERSION_SEPARATOR}'*'${LIB_EXTENSION}'*' GLESv1_CM_LIB_GLOB=${LIB_PREFIX_GLOB}'$(GLESv1_CM_LIB)'${LIB_VERSION_SEPARATOR}'*'${LIB_EXTENSION}'*' @@ -407,7 +397,6 @@ VG_LIB_GLOB=${LIB_PREFIX_GLOB}'$(VG_LIB)'${LIB_VERSION_SEPARATOR}'*'${LIB_EXTENS GLAPI_LIB_GLOB=${LIB_PREFIX_GLOB}'$(GLAPI_LIB)'${LIB_VERSION_SEPARATOR}'*'${LIB_EXTENSION}'*' AC_SUBST([GL_LIB_NAME]) -AC_SUBST([GLU_LIB_NAME]) AC_SUBST([OSMESA_LIB_NAME]) AC_SUBST([EGL_LIB_NAME]) AC_SUBST([GLESv1_CM_LIB_NAME]) @@ -416,7 +405,6 @@ AC_SUBST([VG_LIB_NAME]) AC_SUBST([GLAPI_LIB_NAME]) AC_SUBST([GL_LIB_GLOB]) -AC_SUBST([GLU_LIB_GLOB]) AC_SUBST([EGL_LIB_GLOB]) AC_SUBST([GLESv1_CM_LIB_GLOB]) AC_SUBST([GLESv2_LIB_GLOB]) @@ -1465,60 +1453,6 @@ if test "x$enable_opencl" = xyes; then enable_gallium_loader=yes fi -dnl -dnl GLU configuration -dnl -AC_ARG_ENABLE([glu], - [AS_HELP_STRING([--disable-glu], - [enable OpenGL Utility library @<:@default=enabled@:>@])], - [enable_glu="$enableval"], - [enable_glu=yes]) - -if test "x$enable_glu" = xyes; then - if test "x$enable_glx" = xno -a "x$enable_osmesa" = xno; then - AC_MSG_NOTICE([Disabling GLU since there is no OpenGL driver]) - enable_glu=no - fi -fi - -if test "x$enable_glu" = xyes; then - SRC_DIRS="$SRC_DIRS glu" - - if test "x$enable_glx" = xno; then - # Link libGLU to libOSMesa instead of libGL - GLU_LIB_DEPS="" - GLU_PC_REQ="osmesa" - if test "$enable_static" = no; then - GLU_MESA_DEPS='-l$(OSMESA_LIB)' - else - GLU_MESA_DEPS="" - fi - else - # If static, empty GLU_LIB_DEPS and add libs for programs to link - GLU_PC_REQ="gl" - GLU_PC_LIB_PRIV="-lm" - if test "$enable_static" = no; then - GLU_LIB_DEPS="-lm" - GLU_MESA_DEPS='-l$(GL_LIB)' - else - GLU_LIB_DEPS="" - GLU_MESA_DEPS="" - fi - fi -fi -if test "$enable_static" = no; then - GLU_LIB_DEPS="$GLU_LIB_DEPS $OS_CPLUSPLUS_LIBS" -fi -GLU_PC_LIB_PRIV="$GLU_PC_LIB_PRIV $OS_CPLUSPLUS_LIBS" -AC_SUBST([GLU_LIB_DEPS]) -AC_SUBST([GLU_MESA_DEPS]) -AC_SUBST([GLU_PC_REQ]) -AC_SUBST([GLU_PC_REQ_PRIV]) -AC_SUBST([GLU_PC_LIB_PRIV]) -AC_SUBST([GLU_PC_CFLAGS]) - -AC_SUBST([PROGRAM_DIRS]) - dnl dnl Gallium configuration dnl @@ -2116,7 +2050,6 @@ xyesno) esac echo "" -echo " GLU: $enable_glu" dnl EGL echo "" diff --git a/docs/autoconf.html b/docs/autoconf.html index 4fa96c3c672..fa902872ccc 100644 --- a/docs/autoconf.html +++ b/docs/autoconf.html @@ -17,10 +17,6 @@
  • DRI Driver Options
  • OSMesa Driver Options
  • -
  • Library Options -

  • Demo Program Options @@ -219,12 +215,6 @@ libraries that will be built. More details on the specific GL libraries can be found in the basic installation instructions. -

    -
    GLU

    The libGLU library will be built by default -on all drivers. This can be disable with the option ---disable-glu. -

    -

    4. Demo Program Options

    diff --git a/docs/contents.html b/docs/contents.html index e7a23a6bcaf..efd75191935 100644 --- a/docs/contents.html +++ b/docs/contents.html @@ -74,7 +74,6 @@
  • SourceForge homepage
  • Source Code Repository
  • Source Code Tree -
  • SGI's GLU
  • Utilities
  • Help Wanted
  • Development Notes diff --git a/docs/download.html b/docs/download.html index 3d543281f4b..a1a1baa28ff 100644 --- a/docs/download.html +++ b/docs/download.html @@ -69,7 +69,6 @@ docs/ - documentation src/ - source code for libraries src/mesa - sources for the main Mesa library and device drivers src/gallium - sources for Gallium and Gallium drivers -src/glu - libGLU source code src/glx - sources for building libGL with full GLX and DRI support @@ -80,7 +79,12 @@ instructions.

    -

    Demos and GLUT

    +

    Demos, GLUT, and GLU

    + +

    +A package of SGI's GLU library is available +here +

    A package of Mark Kilgard's GLUT library is available @@ -93,9 +97,13 @@ The Mesa demos collection is available

    -In the past, GLUT and the Mesa demos were released in conjunction with -Mesa releases. But since GLUT and the demos change infrequently, they -were split off some time ago. +In the past, GLUT, GLU and the Mesa demos were released in conjunction with +Mesa releases. But since GLUT, GLU and the demos change infrequently, they +were split off into their own git repositories: + +GLUT, +GLU and +Demos,

    diff --git a/docs/faq.html b/docs/faq.html index fa90d5bfe81..80f4a71dc43 100644 --- a/docs/faq.html +++ b/docs/faq.html @@ -226,10 +226,6 @@ Basically you'll want the following:
  • /usr/lib/libGL.so.1 - a symlink to libGL.so.1.xyz
  • /usr/lib/libGL.so.xyz - the actual OpenGL/Mesa library. xyz denotes the Mesa version number. -
  • /usr/lib/libGLU.so - a symlink to libGLU.so.1 -
  • /usr/lib/libGLU.so.1 - a symlink to libGLU.so.1.3.xyz -
  • /usr/lib/libGLU.so.xyz - the OpenGL Utility library. xyz denotes the Mesa -version number.
  • After installing XFree86/X.org and the DRI drivers, some of these files diff --git a/docs/glu.html b/docs/glu.html deleted file mode 100644 index 3d7cbe50a5e..00000000000 --- a/docs/glu.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - - SGI GLU - - - - -

    SGI SI GLU

    - -(Silicon Graphics, Inc. Sample Implementation of the OpenGL Utility library) - -

    -SGI open-sourced their OpenGL Sample Implementation (SI) in January, 2000. -This includes the GLU library. -

    - -

    -The SI GLU library implements GLU version 1.3 whereas the original -Mesa GLU library only implemented version 1.2. -We recommend using the SI GLU library instead of Mesa's GLU library -since it's more up-to-date, complete and reliable. -We're no longer developing the original Mesa GLU library. -

    - -

    -The SI GLU library code is included in the Mesa distribution. -You don't have to download it separately. -

    - - -

    -Olivier Michel has made Linux RPMs of GLU for i386 and PowerPC. -You can download them from the -download area under Miscellaneous. -

    - -

    -Visit the -OpenGL Sample Implementation home page for more information about the SI. -

    - - - diff --git a/docs/install.html b/docs/install.html index 948d147f19e..c756c2fcd61 100644 --- a/docs/install.html +++ b/docs/install.html @@ -151,9 +151,6 @@ You'll see a set of library files similar to this: lrwxrwxrwx 1 brian users 10 Mar 26 07:53 libGL.so -> libGL.so.1* lrwxrwxrwx 1 brian users 19 Mar 26 07:53 libGL.so.1 -> libGL.so.1.5.060100* -rwxr-xr-x 1 brian users 3375861 Mar 26 07:53 libGL.so.1.5.060100* -lrwxrwxrwx 1 brian users 11 Mar 26 07:53 libGLU.so -> libGLU.so.1* -lrwxrwxrwx 1 brian users 20 Mar 26 07:53 libGLU.so.1 -> libGLU.so.1.3.060100* --rwxr-xr-x 1 brian users 549269 Mar 26 07:53 libGLU.so.1.3.060100* lrwxrwxrwx 1 brian users 14 Mar 26 07:53 libOSMesa.so -> libOSMesa.so.6* lrwxrwxrwx 1 brian users 23 Mar 26 07:53 libOSMesa.so.6 -> libOSMesa.so.6.1.060100* -rwxr-xr-x 1 brian users 23871 Mar 26 07:53 libOSMesa.so.6.1.060100* @@ -162,8 +159,6 @@ lrwxrwxrwx 1 brian users 23 Mar 26 07:53 libOSMesa.so.6 -> libOSM

    libGL is the main OpenGL library (i.e. Mesa).
    -libGLU is the OpenGL Utility library. -
    libOSMesa is the OSMesa (Off-Screen) interface library.

    diff --git a/docs/license.html b/docs/license.html index f0ac28ccfe8..d69c673ceda 100644 --- a/docs/license.html +++ b/docs/license.html @@ -95,8 +95,6 @@ Device drivers src/mesa/drivers/* MIT, generally Ext headers include/GL/glext.h Khronos include/GL/glxext.h - -SGI GLU library src/glu/sgi/ SGI Free B

    diff --git a/docs/relnotes-9.0.html b/docs/relnotes-9.0.html index 1e3a11b6445..ccc0dd587bf 100644 --- a/docs/relnotes-9.0.html +++ b/docs/relnotes-9.0.html @@ -82,6 +82,10 @@ The two supported build methods are now autoconf/automake and SCons.

  • Removed Gallium3D - nvfx driver (use nv30 instead)
  • +

    +libGLU has been moved into its own repository, found at http://cgit.freedesktop.org/mesa/glu/ +

    + diff --git a/docs/sourcetree.html b/docs/sourcetree.html index 42675d9bb5d..6a1f0398368 100644 --- a/docs/sourcetree.html +++ b/docs/sourcetree.html @@ -146,11 +146,6 @@ each directory.