diff --git a/.cvsignore b/.cvsignore index ae4bbae..a86623b 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,2 +1 @@ -glew-1.4.0-src-clean.tgz -glew-mesa-replacement-headers.tgz +glew-1.5.0-src-clean.tgz diff --git a/LICENSE-README.fedora b/LICENSE-README.fedora deleted file mode 100644 index 2edfb07..0000000 --- a/LICENSE-README.fedora +++ /dev/null @@ -1,16 +0,0 @@ -The original version of GLEW contains files under 4 licenses: -BSD -GPLv2+ -SGI Free Software License B -GLX Public License - -The last 2 licenses are not Free software licenses and thus not acceptable for -Fedora. The version shipped by Fedora has the encumbered files removed and -replaced by files from Mesa. These replacement files are licensed under the -MIT license, which is BSD and GPL compatible. - -Also note that the GPL licensed files are scripts which generate parts of the -C-code in GLEW, these scripts itself are only part of the GLEW sources shipped -by Fedora, not of the binary rpm. Thus the binary package is licensed under the -BSD license, and only under the BSD license. This is important for other -packages which use the GLEW library. diff --git a/glew-1.3.6-pathandstrip.patch b/glew-1.3.6-pathandstrip.patch index a96cd29..fd03d97 100644 --- a/glew-1.3.6-pathandstrip.patch +++ b/glew-1.3.6-pathandstrip.patch @@ -1,6 +1,7 @@ ---- glew/Makefile.orig 2007-03-02 16:56:00.000000000 +0000 -+++ glew/Makefile 2007-03-04 19:56:19.000000000 +0000 -@@ -41,9 +41,9 @@ +diff -up glew/Makefile.orig glew/Makefile +--- glew/Makefile.orig 2007-12-28 04:05:25.000000000 +0100 ++++ glew/Makefile 2008-01-21 20:30:35.000000000 +0100 +@@ -41,16 +41,16 @@ $(error "Platform '$(SYSTEM)' not suppor endif GLEW_DEST ?= /usr @@ -13,33 +14,32 @@ SHARED_OBJ_EXT ?= o TARDIR = ../glew-$(GLEW_VERSION) TARBALL = ../glew_$(GLEW_VERSION).tar.gz -@@ -57,7 +57,7 @@ - STRIP = + + AR = ar + INSTALL = install +-STRIP = strip ++STRIP = true + RM = rm -f + LN = ln -sf + ifeq ($(MAKECMDGOALS), debug) +@@ -117,7 +117,7 @@ ifeq ($(patsubst mingw%,mingw,$(SYSTEM)) + $(INSTALL) -m 0644 lib/$(LIB.SHARED) $(BINDIR)/ else - OPT = $(POPT) --STRIP = -s -+STRIP = - endif - INCLUDE = -Iinclude - CFLAGS = $(OPT) $(WARN) $(INCLUDE) $(CFLAGS.EXTRA) -@@ -121,7 +121,7 @@ - $(INSTALL) -m 0644 lib/$(LIB.SHARED) $(LIBDIR)/ + $(STRIP) -x lib/$(LIB.SHARED) +- $(INSTALL) -m 0644 lib/$(LIB.SHARED) $(LIBDIR)/ ++ $(INSTALL) -m 0755 lib/$(LIB.SHARED) $(LIBDIR)/ $(LN) $(LIB.SHARED) $(LIBDIR)/$(LIB.SONAME) - else -- $(INSTALL) $(STRIP) -m 0644 lib/$(LIB.SHARED) $(LIBDIR)/ -+ $(INSTALL) $(STRIP) -m 0755 lib/$(LIB.SHARED) $(LIBDIR)/ - $(LN) $(LIB.SHARED) $(LIBDIR)/$(LIB.SONAME) - endif endif -@@ -137,7 +137,7 @@ - $(INSTALL) -m 0644 lib/$(LIB.STATIC) $(LIBDIR)/ + # development files +@@ -132,7 +132,7 @@ else $(LN) $(LIB.SHARED) $(LIBDIR)/$(LIB.DEVLNK) - else -- $(INSTALL) $(STRIP) -m 0644 lib/$(LIB.STATIC) $(LIBDIR)/ -+ $(INSTALL) $(STRIP) -m 0755 lib/$(LIB.STATIC) $(LIBDIR)/ - $(LN) $(LIB.SHARED) $(LIBDIR)/$(LIB.DEVLNK) - endif endif + # utilities +- $(INSTALL) -s -m 0755 bin/$(GLEWINFO.BIN) bin/$(VISUALINFO.BIN) $(BINDIR)/ ++ $(INSTALL) -m 0755 bin/$(GLEWINFO.BIN) bin/$(VISUALINFO.BIN) $(BINDIR)/ + + uninstall: + $(RM) $(INCDIR)/wglew.h --- glew/config/Makefile.linux.orig 2007-03-01 06:49:21.000000000 +0000 +++ glew/config/Makefile.linux 2007-03-04 19:38:17.000000000 +0000 @@ -9,10 +9,10 @@ diff --git a/glew-1.4.0-GL_FLOAT_MATXxX.patch b/glew-1.4.0-GL_FLOAT_MATXxX.patch deleted file mode 100644 index 320d45f..0000000 --- a/glew-1.4.0-GL_FLOAT_MATXxX.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff -up glew/include/GL/glew.h~ glew/include/GL/glew.h ---- glew/include/GL/glew.h~ 2008-01-12 21:02:24.000000000 +0100 -+++ glew/include/GL/glew.h 2008-01-12 21:02:24.000000000 +0100 -@@ -2317,6 +2317,12 @@ typedef void (GLAPIENTRY * PFNGLVERTEXAT - #define GL_PIXEL_UNPACK_BUFFER 0x88EC - #define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED - #define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF -+#define GL_FLOAT_MAT2x3 0x8B65 -+#define GL_FLOAT_MAT2x4 0x8B66 -+#define GL_FLOAT_MAT3x2 0x8B67 -+#define GL_FLOAT_MAT3x4 0x8B68 -+#define GL_FLOAT_MAT4x2 0x8B69 -+#define GL_FLOAT_MAT4x3 0x8B6A - #define GL_SRGB 0x8C40 - #define GL_SRGB8 0x8C41 - #define GL_SRGB_ALPHA 0x8C42 diff --git a/glew-1.4.0-auto-make.patch b/glew-1.4.0-auto-make.patch deleted file mode 100644 index 0756ddd..0000000 --- a/glew-1.4.0-auto-make.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff -up glew/auto/Makefile~ glew/auto/Makefile ---- glew/auto/Makefile~ 2007-08-06 21:39:42.000000000 +0200 -+++ glew/auto/Makefile 2007-08-06 21:39:42.000000000 +0200 -@@ -105,7 +105,6 @@ $(I.DEST)/glew.h: $(EXT)/.dummy - @echo "--------------------------------------------------------------------" - test -d $(I.DEST) || mkdir -p $(I.DEST) - cp -f $(SRC)/glew_license.h $@ -- cat $(SRC)/sgi_license.h >> $@ - cat $(SRC)/glew_head.h >> $@ - $(BIN)/make_header.pl GLAPIENTRY GL $(GL_CORE_SPEC) >> $@ - $(BIN)/make_header.pl GLAPIENTRY GL $(GL_EXT_SPEC) >> $@ -@@ -138,7 +137,6 @@ $(I.DEST)/glxew.h: $(EXT)/.dummy - @echo "Creating glxew.h" - @echo "--------------------------------------------------------------------" - cp -f $(SRC)/glew_license.h $@ -- cat $(SRC)/glx_license.h >> $@ - cat $(SRC)/glxew_head.h >> $@ - $(BIN)/make_header.pl '' GLX $(GLX_CORE_SPEC) >> $@ - $(BIN)/make_header.pl '' GLX $(GLX_EXT_SPEC) >> $@ diff --git a/glew-1.4.0-license-doc.patch b/glew-1.4.0-license-doc.patch deleted file mode 100644 index 67f2ea5..0000000 --- a/glew-1.4.0-license-doc.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff -up glew/doc/credits.html~ glew/doc/credits.html ---- glew/doc/credits.html~ 2007-08-18 10:06:03.000000000 +0200 -+++ glew/doc/credits.html 2007-08-18 10:06:03.000000000 +0200 -@@ -88,10 +88,11 @@ which modifications were made by Michael -
- GLEW is originally derived from the EXTGL project by Lev Povalahev. The --source code is licensed under the modified BSD license, the SGI Free Software License B, and the GLX Public License. The automatic code --generation scripts are released under the GPL. -+source code is licensed under the modified BSD license, parts which were -+licensed under the non free SGI Free Software License B and GLX Public -+License have been replaced -+by MIT licensed files from Mesa. The automatic code generation scripts are -+released under the GPL. -
- - diff --git a/glew.spec b/glew.spec index 2c742c8..bb1d4c1 100644 --- a/glew.spec +++ b/glew.spec @@ -1,27 +1,20 @@ Name: glew -Version: 1.4.0 -Release: 4%{?dist} +Version: 1.5.0 +Release: 1%{?dist} Summary: The OpenGL Extension Wrangler Library Group: System Environment/Libraries -License: BSD +License: BSD and MIT URL: http://glew.sourceforge.net # This is http://downloads.sourceforge.net/glew/glew-%{version}-src.tgz -# With the following files removed because they are subject to the -# "SGI Free Software License B" resp "GLX Public License" : -# include/GL/glew.h include/GL/glxew.h auto/src/glew_head.h -# auto/src/glxew_head.h auto/src/sgi_license.h auto/src/glx_license.h -# doc/sgi.txt doc/glx.txt +# The files under the doc dir in this archive are under this non free license: +# Copyright (C) 2002-2008, Milan Ikits