--- glew-1.6.0.orig/Makefile
+++ glew-1.6.0/Makefile
@@ -56,7 +56,6 @@
AR = ar
INSTALL = install
-STRIP = strip
RM = rm -f
LN = ln -sf
ifeq ($(MAKECMDGOALS), debug)
@@ -182,10 +181,8 @@
# runtime
ifeq ($(filter-out mingw% cygwin,$(SYSTEM)),)
$(INSTALL) -d -m 0755 $(BINDIR)
- $(STRIP) -x lib/$(LIB.SHARED)
$(INSTALL) -m 0755 lib/$(LIB.SHARED) $(BINDIR)/
else
- $(STRIP) -x lib/$(LIB.SHARED)
$(INSTALL) -m 0644 lib/$(LIB.SHARED) $(LIBDIR)/
$(LN) $(LIB.SHARED) $(LIBDIR)/$(LIB.SONAME)
endif
@@ -195,7 +192,6 @@
else
$(LN) $(LIB.SHARED) $(LIBDIR)/$(LIB.DEVLNK)
endif
- $(STRIP) -x lib/$(LIB.STATIC)
$(INSTALL) -m 0644 lib/$(LIB.STATIC) $(LIBDIR)/
install.lib.mx: glew.lib.mx
@@ -203,10 +199,8 @@
# runtime
ifeq ($(filter-out mingw% cygwin,$(SYSTEM)),)
$(INSTALL) -d -m 0755 $(BINDIR)
- $(STRIP) -x lib/$(LIB.SHARED.MX)
$(INSTALL) -m 0755 lib/$(LIB.SHARED.MX) $(BINDIR)/
else
- $(STRIP) -x lib/$(LIB.SHARED.MX)
$(INSTALL) -m 0644 lib/$(LIB.SHARED.MX) $(LIBDIR)/
$(LN) $(LIB.SHARED.MX) $(LIBDIR)/$(LIB.SONAME.MX)
endif
@@ -216,7 +210,6 @@
else
$(LN) $(LIB.SHARED.MX) $(LIBDIR)/$(LIB.DEVLNK.MX)
endif
- $(STRIP) -x lib/$(LIB.STATIC.MX)
$(INSTALL) -m 0644 lib/$(LIB.STATIC.MX) $(LIBDIR)/
install.bin: glew.bin
--- glew-1.6.0.orig/glewmx.pc.in
+++ glew-1.6.0/glewmx.pc.in
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: glewmx
+Description: The OpenGL Extension Wrangler library (mx)
+Version: @version@
+Cflags: -I${includedir}
+Libs: -L${libdir} -lGLEWmx
--- glew-1.6.0.orig/debian/watch
+++ glew-1.6.0/debian/watch
@@ -0,0 +1,8 @@
+# glew watch control file for uscan
+
+# Compulsory line, this is a version 3 file
+version=3
+
+# use official qa.debian.org format for the sf.net redirector
+http://sf.net/glew/ glew-([\d.]*).tgz
+
--- glew-1.6.0.orig/debian/visualinfo.sgml
+++ glew-1.6.0/debian/visualinfo.sgml
@@ -0,0 +1,236 @@
+
+ Joost">
+ Damad">
+
+ 20050425">
+
+ 1">
+ <joost@damad.be>">
+
+ GLEW">
+
+
+ Debian">
+ GNU">
+ GPL">
+]>
+
+
+
+
+ &dhemail;
+
+
+ &dhfirstname;
+ &dhsurname;
+
+
+ 2006
+ &dhusername;
+
+ &dhdate;
+
+
+ &dhucpackage;
+
+ &dhsection;
+
+
+ &dhpackage;
+
+ displays GL extension and visual info
+
+
+
+ &dhpackage; [-display display] [-visual id]
+
+
+
+ DESCRIPTION
+
+ This manual page documents briefly the
+ &dhpackage; command.
+
+ &dhpackage;
+is a small utility that displays all available visuals,
+aka. pixelformats, in an OpenGL system along with renderer version
+information. It shows a table of all the visuals that support OpenGL
+ along with their capabilities. The format of the table is similar to
+that of glxinfo on Unix systems:
+
+
+
+ visual
+
+ ~= pixel format descriptor
+
+
+
+ id
+
+ = visual id (integer from 1 - max visuals)
+
+
+
+ tp
+
+ = type (wn: window, pb: pbuffer, wp: window & pbuffer, bm: bitmap)
+
+
+
+ ac
+
+ = acceleration (ge: generic, fu: full, no: none)
+
+
+
+ fm
+
+ = format (i: integer, f: float, c: color index)
+
+
+
+ db
+
+ = double buffer (y = yes)
+
+
+
+ dw
+
+ = swap method (x: exchange, c: copy, u: undefined)
+
+
+
+ st
+
+ = stereo (y = yes)
+
+
+
+ sz
+
+ = total # bits
+
+
+
+ r
+
+ = # bits of red
+
+
+
+ g
+
+ = # bits of green
+
+
+
+ b
+
+ = # bits of blue
+
+
+
+ a
+
+ = # bits of alpha
+
+
+
+ axbf
+
+ = # aux buffers
+
+
+
+ dpth
+
+ = # bits of depth
+
+
+
+ stcl
+
+ = # bits of stencil
+
+
+
+
+
+
+
+
+ OPTIONS
+
+ A summary of options is included below.
+
+
+
+
+
+
+
+ Print help and exit.
+
+
+
+
+
+
+ Allows specifying an X display.
+
+
+
+
+
+
+ Allows specifying a specific X visual.
+
+
+
+
+
+ SEE ALSO
+
+ Xorg (1x), glewinfo (1)
+
+
+
+ AUTHOR
+
+ This manual page was written by &dhusername; &dhemail; for
+ the &debian; system (but may be used by others). Permission is
+ granted to copy, distribute and/or modify this document under
+ the terms of the &gnu; General Public License, Version 2 any
+ later version published by the Free Software Foundation.
+
+
+ On Debian systems, the complete text of the GNU General Public
+ License can be found in /usr/share/common-licenses/GPL.
+
+
+
+
+
+
+
+
--- glew-1.6.0.orig/debian/libglewmx1.6.install
+++ glew-1.6.0/debian/libglewmx1.6.install
@@ -0,0 +1 @@
+usr/lib/*/libGLEWmx*so.*
--- glew-1.6.0.orig/debian/control
+++ glew-1.6.0/debian/control
@@ -0,0 +1,80 @@
+Source: glew
+Priority: optional
+Section: libs
+Maintainer: Joost Yervante Damad
+Build-Depends: debhelper (>= 8.1.2), libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, libx11-dev, docbook-to-man, libxmu-dev, libxi-dev, binutils (>> 2.18)
+Standards-Version: 3.9.2
+Homepage: http://glew.sourceforge.net/
+
+Package: glew-utils
+Section: utils
+Architecture: any
+Replaces: libglew1.4 (<< 1.5)
+Depends: libglew1.6 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
+Description: OpenGL Extension Wrangler - utilities
+ For more information about GLEW please refer to the description of the
+ libglew1.6-dev package.
+ .
+ This package contains the utilities which can be used to query the
+ supported openGL extensions.
+
+Package: libglew1.6-dev
+Section: libdevel
+Architecture: any
+Depends: libglew1.6 (= ${binary:Version}), libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, ${misc:Depends}
+Conflicts: libglew-dev, libglew1.5-dev
+Provides: libglew-dev, libglew1.5-dev
+Description: OpenGL Extension Wrangler - development environment
+ The OpenGL Extension Wrangler, GLEW for short, is a library that
+ handles initialization of OpenGL extensions in a portable and simple
+ way. Once the program initializes the library and checks the
+ availability of extensions, it can safely call the entry points defined
+ by the extension. Currently GLEW supports almost all the extensions
+ found in the OpenGL extension registry[1].
+ .
+ This package contains the development documentation as well as the
+ required header files.
+
+Package: libglew1.6
+Section: libs
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Conflicts: libglew1
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Suggests: glew-utils
+Description: OpenGL Extension Wrangler - runtime environment
+ For more information about GLEW please refer to the description of the
+ libglew-dev package.
+ .
+ This package contains the runtime support files.
+
+Package: libglewmx1.6
+Section: libs
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Conflicts: libglew1
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: OpenGL Extension Wrangler - runtime environment
+ For more information about GLEW please refer to the description of the
+ libglew-dev package.
+ .
+ This package contains the runtime support files, built with GLEW_MX option,
+ adding support for thread-safe usage of multiple rendering contexts.
+
+Package: libglewmx1.6-dev
+Section: libdevel
+Architecture: any
+Conflicts: libglewmx-dev, libglewmx1.5-dev
+Provides: libglewmx-dev, libglewmx1.5-dev
+Depends: libglew-dev, libglewmx1.6 (= ${binary:Version}), ${misc:Depends}
+Description: OpenGL Extension Wrangler - development environment
+ The OpenGL Extension Wrangler, GLEW for short, is a library that
+ handles initialization of OpenGL extensions in a portable and simple
+ way. Once the program initializes the library and checks the
+ availability of extensions, it can safely call the entry points defined
+ by the extension. Currently GLEW supports almost all the extensions
+ found in the OpenGL extension registry[1].
+ .
+ This package contains the development libraries compiled with GLEW_MX
--- glew-1.6.0.orig/debian/libglew1.6-dev.install
+++ glew-1.6.0/debian/libglew1.6-dev.install
@@ -0,0 +1,4 @@
+usr/include/*
+usr/lib/*/libGLEW.a
+usr/lib/*/libGLEW.so
+usr/lib/*/pkgconfig/glew.pc
--- glew-1.6.0.orig/debian/glew-utils.install
+++ glew-1.6.0/debian/glew-utils.install
@@ -0,0 +1,2 @@
+usr/bin/glewinfo
+usr/bin/visualinfo
--- glew-1.6.0.orig/debian/glew-utils.manpages
+++ glew-1.6.0/debian/glew-utils.manpages
@@ -0,0 +1,2 @@
+debian/glewinfo.1
+debian/visualinfo.1
--- glew-1.6.0.orig/debian/shlibs.local
+++ glew-1.6.0/debian/shlibs.local
@@ -0,0 +1 @@
+libGLEW 1.6 libglew1.6
--- glew-1.6.0.orig/debian/copyright
+++ glew-1.6.0/debian/copyright
@@ -0,0 +1,92 @@
+This package was debianized by Marcelo Magallon on
+Sun, 30 Mar 2003 14:25:20 +0200.
+
+It was downloaded from http://glew.sf.net/
+
+Upstream Authors: Milan Ikits & Marcelo E. Magallon
+
+Copyright:
+
+The original version of GLEW contained files under 4 licenses:
+BSD, GPLv2+, SGI Free Software License B, GLX Public License
+
+The last 2 licenses are not Free software licenses.
+This version 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.
+
+The library itself is released under the following license:
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in
+ the documentation and/or other materials provided with the
+ distribution.
+ * The name of the author may be used to endorse or promote products
+ derived from this software without specific prior written
+ permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
+ ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+
+===
+
+The mesa replacement headers are licensed like this:
+
+Copyright (C) 1999-2006 Brian Paul All Rights Reserved.
+Copyright (C) 2007 Hans de Goede (modifications needed for glew)
+
+Permission is hereby granted, free of charge, to any person obtaining a
+copy of this software and associated documentation files (the "Software"),
+to deal in the Software without restriction, including without limitation
+the rights to use, copy, modify, merge, publish, distribute, sublicense,
+and/or sell copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included
+in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
+AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+===
+
+The different components of the build system are released under the
+following conditions:
+
+ This package is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ This package is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+ MA 02110-1301, USA.
+
+ On Debian systems, the complete text of the GNU General Public
+ License can be found in `/usr/share/common-licenses/GPL'.
--- glew-1.6.0.orig/debian/libglewmx1.6-dev.install
+++ glew-1.6.0/debian/libglewmx1.6-dev.install
@@ -0,0 +1,3 @@
+usr/lib/*/libGLEWmx.a
+usr/lib/*/libGLEWmx.so
+usr/lib/*/pkgconfig/glewmx.pc
--- glew-1.6.0.orig/debian/compat
+++ glew-1.6.0/debian/compat
@@ -0,0 +1 @@
+5
--- glew-1.6.0.orig/debian/rules
+++ glew-1.6.0/debian/rules
@@ -0,0 +1,81 @@
+#!/usr/bin/make -f
+# (C) 2003 Marcelo E. Magallón
+# (C) 2006-2011 Joost Yervante Damad
+
+export DH_VERBOSE
+# export DH_NO_ACT
+# export DH_OPTIONS
+
+CFLAGS = -Wall -g
+
+srcversion := $(shell dpkg-parsechangelog | grep ^Version: | cut -d ' ' -f 2)
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+ INSTALL_PROGRAM += -s
+endif
+
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ touch configure-stamp
+
+build:
+
+install: build-stamp
+build-stamp: configure-stamp debian-manpages
+ dh_testdir
+ dh_testroot
+ dh_prep
+ $(MAKE) GL_LDFLAGS=-lGL GLU_LDFLAGS=-lGLU GLUT_LDFLAGS=-lglut LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)
+ touch build-stamp
+ dh_installdirs
+ $(MAKE) install.all GLEW_DEST=$(CURDIR)/debian/tmp/usr LIBDIR=$(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)
+
+clean:
+ dh_testdir
+ dh_testroot
+ cp -f config/Makefile.linux config/Makefile.gnu
+ cp -f config/Makefile.linux config/Makefile.kfreebsd
+ rm -f build-stamp build-stampmx configure-stamp
+ $(MAKE) distclean
+ dh_clean
+ -rm -f $(shell cat debian/*.manpages)
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installdocs
+ dh_installchangelogs
+ dh_install --sourcedir=debian/tmp
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_makeshlibs -V
+ dh_installdeb
+ dh_shlibdeps # -ldebian/tmp/usr/lib
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+
+debian-manpages: $(shell cat debian/*.manpages)
+
+debian/%.1: debian/%.sgml
+ docbook-to-man $< > $@
+
+.PHONY: build clean binary-indep binary-arch binary install debian-manpages
--- glew-1.6.0.orig/debian/glewinfo.sgml
+++ glew-1.6.0/debian/glewinfo.sgml
@@ -0,0 +1,132 @@
+
+ Joost">
+ Damad">
+
+ 20050425">
+
+ 1">
+ <joost@damad.be>">
+
+ GLEW">
+
+
+ Debian">
+ GNU">
+ GPL">
+]>
+
+
+
+
+ &dhemail;
+
+
+ &dhfirstname;
+ &dhsurname;
+
+
+ 2006
+ &dhusername;
+
+ &dhdate;
+
+
+ &dhucpackage;
+
+ &dhsection;
+
+
+ &dhpackage;
+
+ displays GL extension info
+
+
+
+ &dhpackage; [-display display] [-visual id]
+
+
+
+ DESCRIPTION
+
+ This manual page documents briefly the
+ &dhpackage; command.
+
+ &dhpackage;
+is a commandline tool that displays GL extension information.
+
+
+
+
+ OPTIONS
+
+ A summary of options is included below.
+
+
+
+
+
+
+
+ Print help and exit.
+
+
+
+
+
+
+ Allows specifying an X display.
+
+
+
+
+
+
+ Allows specifying a specific X visual.
+
+
+
+
+
+ SEE ALSO
+
+ Xorg (1x), visualinfo (1)
+
+
+
+ AUTHOR
+
+ This manual page was written by &dhusername; &dhemail; for
+ the &debian; system (but may be used by others). Permission is
+ granted to copy, distribute and/or modify this document under
+ the terms of the &gnu; General Public License, Version 2 any
+ later version published by the Free Software Foundation.
+
+
+ On Debian systems, the complete text of the GNU General Public
+ License can be found in /usr/share/common-licenses/GPL.
+
+
+
+
+
+
+
+
--- glew-1.6.0.orig/debian/libglew1.6.install
+++ glew-1.6.0/debian/libglew1.6.install
@@ -0,0 +1 @@
+usr/lib/*/libGLEW.*so.*
--- glew-1.6.0.orig/debian/changelog
+++ glew-1.6.0/debian/changelog
@@ -0,0 +1,366 @@
+glew (1.6.0-3~natty2) natty; urgency=low
+
+ * Backport
+
+ -- Cosme DomÃnguez DÃaz Sat, 27 Aug 2011 00:56:31 +0000
+
+glew (1.6.0-3) unstable; urgency=low
+
+ * incorporate multi-arch changes, thanks to Gregory Hainaut
+ and Steve Langasek (Closes: #631548)
+
+ -- Joost Yervante Damad Sat, 16 Jul 2011 12:46:42 +0200
+
+glew (1.6.0-2) unstable; urgency=low
+
+ * temporary let libglew1.6-dev provide libglew1.5-dev (Closes: #630536)
+ * temporary let libglewmx1.6-dev provide libglewmx1.5-dev
+
+ -- Joost Yervante Damad Wed, 15 Jun 2011 09:21:24 +0200
+
+glew (1.6.0-1) unstable; urgency=low
+
+ * New upstream release
+ * new sonames for 1.6
+ * refer libglew1.6-dev in descr (Closes: #628623)
+ * fix spelling error (Closes: #628624)
+ * fix lintian warning description-synopsis-starts-with-article
+
+ -- Joost Yervante Damad Fri, 10 Jun 2011 15:25:37 +0200
+
+glew (1.5.8-3) unstable; urgency=low
+
+ * remove Multi-Arch again (Thanks Steve) (Closes: #616663)
+
+ -- Joost Yervante Damad Tue, 15 Mar 2011 08:22:21 +0100
+
+glew (1.5.8-2) unstable; urgency=low
+
+ * fix watch file (Closes: #611137), thanks Artur Rona
+ * add Multi-Arch: foreign to libglew and libglewmx
+
+ -- Joost Yervante Damad Sun, 13 Mar 2011 11:24:04 +0100
+
+glew (1.5.8-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Joost Yervante Damad Wed, 09 Feb 2011 07:52:32 +0100
+
+glew (1.5.7-1) experimental; urgency=low
+
+ * New upstream release
+ * back to source format 1.0
+
+ -- Joost Yervante Damad Tue, 11 Jan 2011 11:20:03 +0100
+
+glew (1.5.4-1) unstable; urgency=low
+
+ * New upstream release (Closes: #580909)
+
+ -- Joost Yervante Damad Sat, 12 Jun 2010 08:46:41 +0200
+
+glew (1.5.3-3) unstable; urgency=low
+
+ * don't use uint in GLEW. (Closes: #584704)
+
+ -- Joost Yervante Damad Sun, 06 Jun 2010 08:52:46 +0200
+
+glew (1.5.3-2) unstable; urgency=low
+
+ * add glew.pc to package (Closes: #582546)
+ * introduce glewmx.pc
+
+ -- Joost Yervante Damad Fri, 21 May 2010 20:17:39 +0200
+
+glew (1.5.3-1) unstable; urgency=low
+
+ * New upstream release (Closes: #577183)
+ * reworked mx build support to reflect new version
+
+ -- Joost Yervante Damad Sat, 10 Apr 2010 18:16:21 +0200
+
+glew (1.5.1-8) unstable; urgency=low
+
+ * improve long description of glewMX (Closes: #568482)
+ (with thanks to Paul Brossier)
+
+ -- Joost Yervante Damad Fri, 05 Feb 2010 08:12:54 +0100
+
+glew (1.5.1-7) unstable; urgency=low
+
+ * update source format to 3.0
+ * update standards version to 3.8.3
+
+ -- Joost Yervante Damad Sat, 19 Dec 2009 21:16:11 +0100
+
+glew (1.5.1-6) unstable; urgency=low
+
+ * fix section of glew-utils
+
+ -- Joost Yervante Damad Mon, 17 Aug 2009 08:40:44 +0200
+
+glew (1.5.1-5) unstable; urgency=low
+
+ * Fix build on kfreebsd (Closes: #540971)
+
+ -- Joost Yervante Damad Mon, 17 Aug 2009 07:44:45 +0200
+
+glew (1.5.1-4) unstable; urgency=low
+
+ * make sure mx library really is MX (closes: #528232)
+
+ -- Joost Yervante Damad Mon, 11 May 2009 17:48:06 +0200
+
+glew (1.5.1-3) unstable; urgency=low
+
+ * libglewmx1.5-dev needs to depend on libglewmx1.5 (closes: #527981)
+
+ -- Joost Yervante Damad Sun, 10 May 2009 10:44:59 +0200
+
+glew (1.5.1-2) unstable; urgency=low
+
+ * also build library with GLEW_MX set (closes: #474488)
+ * don't strip libs
+
+ -- Joost Yervante Damad Sat, 09 May 2009 17:51:49 +0200
+
+glew (1.5.1-1) unstable; urgency=low
+
+ * update standards-version
+ * New upstream release (closes: #527105)
+ * licensing issues in docs fixed, soo remove dfsg suffix
+ * build-depend on binutils > 2.18 to accommodate backports (closes: #488657)
+ * remove Marcelo E. Magallon from Uploaders:
+ for MIA tracking (closes: #519350)
+
+ -- Joost Yervante Damad Sat, 09 May 2009 16:45:46 +0200
+
+glew (1.5.0dfsg1-3) unstable; urgency=low
+
+ * include source in upload
+
+ -- Joost Yervante Damad Fri, 25 Jan 2008 20:19:03 +0100
+
+glew (1.5.0dfsg1-2) unstable; urgency=low
+
+ * make sure changelog is also installed
+
+ -- Joost Yervante Damad Fri, 25 Jan 2008 18:05:03 +0100
+
+glew (1.5.0dfsg1-1) unstable; urgency=low
+
+ * Remove non-free documents (this is also reported to upstream)
+ doc/*.html (thanks to Joerg Jaspert for spotting it!)
+
+ -- Joost Yervante Damad Sun, 20 Jan 2008 15:40:57 +0100
+
+glew (1.5.0-1) unstable; urgency=low
+
+ * New upstream release
+ * Upstream also has the non-free files removed now
+ * split of glew-utils, to make it possible for libglew1.4 and libglew1.5 to
+ co-exist
+
+ -- Joost Yervante Damad Sun, 13 Jan 2008 08:20:53 +0100
+
+glew (1.4.0dfsg-2) unstable; urgency=low
+
+ * link with -Wl,-Bsymbolic-functions (from Ubuntu)
+ * move Homepage
+ * update standards-version to 3.7.3
+ * dev-package-should-be-section-libdevel
+ * package-contains-empty-directory usr/share/doc/libglew-dev/
+
+ -- Joost Yervante Damad Mon, 10 Dec 2007 18:49:11 +0100
+
+glew (1.4.0dfsg-1) unstable; urgency=low
+
+ * rename orig file to a dfsg suffix, in order to make clear that
+ this is modified from the original
+
+ -- Joost Yervante Damad Wed, 14 Nov 2007 20:10:24 +0100
+
+glew (1.4.0-3) unstable; urgency=low
+
+ * remove non-free files, with many thanks to
+ Hans de Goede from the Fedora project who did all
+ the hard work
+
+ -- Joost Yervante Damad Wed, 07 Nov 2007 16:55:23 +0100
+
+glew (1.4.0-2) unstable; urgency=low
+
+ * remove -s from install in Makefile (Closes: #437044)
+ * fix -dev package depends
+ * don't ignore make clean exit code (lintian)
+
+ -- Joost Yervante Damad Fri, 10 Aug 2007 18:38:32 +0200
+
+glew (1.4.0-1) unstable; urgency=low
+
+ * new upstream release
+ * switch maintainer/uploaders to reflect actual situation
+ * API/ABI changes, soo change package name to reflect that
+ * use libglew1.4, which removes need for lintian override
+
+ -- Joost Yervante Damad Sun, 17 Jun 2007 09:27:35 +0200
+
+glew (1.3.6-3) unstable; urgency=low
+
+ * don't use lib64 in debian (Closes: #419452)
+
+ -- Joost Yervante Damad Mon, 16 Apr 2007 19:04:25 +0200
+
+glew (1.3.6-2) unstable; urgency=low
+
+ * upload in unstable
+ * fix FTBS, depend on libxmu-dev (Closes: #416486)
+
+ -- Joost Yervante Damad Mon, 16 Apr 2007 19:04:06 +0200
+
+glew (1.3.6-1) experimental; urgency=low
+
+ * new upstream release
+ * fix build on kfreebsd (Closes: #399180)
+
+ -- Joost Yervante Damad Tue, 27 Mar 2007 20:44:04 +0200
+
+glew (1.3.4-5) unstable; urgency=low
+
+ * fix build on kfreebsd
+
+ -- Joost Yervante Damad Tue, 24 Oct 2006 17:34:22 +0200
+
+glew (1.3.4-4) unstable; urgency=low
+
+ * update uploaders field
+ * bump standards-version to 3.7.2
+ * fix watch file to use new sf.net redirector
+ * X11 libs no longer live in -L/usr/X11R6/lib
+ * (checklib) no longer link with unneeded xext, xi and xmu:
+ xext is pulled in again indirectly, but the other two
+ are really not needed
+ * minimize build dependencies
+
+ -- Joost Yervante Damad Mon, 23 Oct 2006 20:53:04 +0200
+
+glew (1.3.4-3) unstable; urgency=low
+
+ * install visualinfo also
+ * fix manpages see also
+
+ -- Joost Yervante Damad Wed, 26 Apr 2006 20:02:00 +0200
+
+glew (1.3.4-2) unstable; urgency=low
+
+ * The I-love-NMUs-that-introduce-bugs! release
+
+ * Joost Yervante Damad:
+ * add manpage for glewinfo
+ * fix lintian warning: old-fsf-address-in-copyright-file
+ * suggestions by Arnaud Quette (thanks!):
+ - add watch file
+ - add homepage to control file for all packages
+ * add config/Makefile.gnu (Closes: #356126)
+
+ * Marcelo E. Magallon:
+ * Makefile, config/Makefile.linux: revert change, change LD to
+ "cc" in the Linux configuration file. (closes: #333434)
+ * config/Makefile.gnu, config/Makefile.kfreebsd: consistently set
+ LD to cc, too. Use -Wl,-soname instead of -soname.
+
+ -- Marcelo E. Magallon Tue, 25 Apr 2006 20:15:32 -0600
+
+glew (1.3.4-1) unstable; urgency=low
+
+ * update build-depends for Xorg 7.0
+ * added myself as Co-Maintainer, with aproval of Marcelo
+ * new upstream version; closes: #335867
+ * some lintian fixes
+ * acknowledge NMUs: Closes: #346670, #333434
+ * really incorporate patch GTBFS for GNU/kFreeBSD: Closes: #332984
+ * remove obsolete lintian override for library-not-linked-against-libc
+ * add lintian override for package-name-doesnt-match-sonames libGLEW1.3
+ as this is intentional
+
+ -- Joost Yervante Damad Sun, 16 Apr 2006 09:36:59 +0200
+
+glew (1.3.1-1.2) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Credit and Big Thanks to Justin Pryzby
+ for the patch and testing.
+ * Update build-deps for xlibs-dev removal; closes: #346670.
+ * Include patch from Aurelien Jarno to fix FTBFS on GNU/kFreeBSD;
+ closes: #332984.
+
+ -- Amaya Rodrigo Sastre Wed, 18 Jan 2006 16:38:13 +0100
+
+glew (1.3.1-1.1) unstable; urgency=low
+
+ * Porter NMU to fix RC bug which is preventing rss-glx from building on hppa
+ * Apply patch from LaMont Jones to fix the library on hppa (Closes: #333434)
+
+ -- Ari Pollak Thu, 8 Dec 2005 11:21:18 -0500
+
+glew (1.3.1-1) unstable; urgency=low
+
+ * New upstream release (skipped a few because of some problems)
+
+ -- Marcelo E. Magallon Thu, 10 Feb 2005 21:21:42 -0600
+
+glew (1.2.3-2) unstable; urgency=low
+
+ * Make objects position-independent. (closes: bug#258355)
+
+ -- Marcelo E. Magallon Sat, 21 Aug 2004 22:09:03 -0600
+
+glew (1.2.3-1) unstable; urgency=low
+
+ * New upstream
+ * Really upload
+
+ -- Marcelo E. Magallon Sun, 27 Jun 2004 17:27:43 -0600
+
+glew (1.1.3-1) unstable; urgency=low
+
+ * Initial upload
+
+ -- Marcelo E. Magallon Tue, 18 Nov 2003 23:52:11 -0600
+
+glew (1.1.3-0.1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Marcelo E. Magallon Tue, 18 Nov 2003 14:58:45 -0600
+
+glew (1.1.2-0.1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Marcelo E. Magallon Thu, 25 Sep 2003 13:09:12 +0200
+
+glew (1.1.0.20030729-0.1) unstable; urgency=low
+
+ * Pull from CVS, calls itself 1.1.1
+
+ -- Marcelo E. Magallon Tue, 29 Jul 2003 11:11:24 +0200
+
+glew (1.1.0-0.1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Marcelo E. Magallon Sun, 06 Jul 2003 22:12:19 +0200
+
+glew (1.0.7-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Marcelo E. Magallon Wed, 16 Apr 2003 23:53:37 +0200
+
+glew (1.0.6-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Marcelo E. Magallon Sun, 30 Mar 2003 14:25:20 +0200
--- glew-1.6.0.orig/debian/source/format
+++ glew-1.6.0/debian/source/format
@@ -0,0 +1 @@
+1.0
--- glew-1.6.0.orig/config/Makefile.kfreebsd
+++ glew-1.6.0/config/Makefile.kfreebsd
@@ -3,6 +3,7 @@
LD = cc
PICFLAG = -fPIC
LDFLAGS.EXTRA = -L/usr/X11R6/lib
+LIBDIR = $(GLEW_DEST)/lib
LDFLAGS.GL = -lXmu -lXi -lGLU -lGL -lXext -lX11
LDFLAGS.STATIC = -Wl,-Bstatic
LDFLAGS.DYNAMIC = -Wl,-Bdynamic
@@ -10,14 +11,14 @@
WARN = -Wall -W
POPT = -O2
BIN.SUFFIX =
-LIB.SONAME = lib$(NAME).so.$(SO_MAJOR)
-LIB.DEVLNK = lib$(NAME).so
-LIB.SHARED = lib$(NAME).so.$(SO_VERSION)
-LIB.STATIC = lib$(NAME).a
-LDFLAGS.SO = -shared -Wl,-soname $(LIB.SONAME)
+LIB.SONAME = lib$(NAME).so.$(SO_MAJOR)
+LIB.DEVLNK = lib$(NAME).so
+LIB.SHARED = lib$(NAME).so.$(SO_VERSION)
+LIB.STATIC = lib$(NAME).a
+LDFLAGS.SO = -shared -Wl,-soname=$(LIB.SONAME) -Wl,-Bsymbolic-functions
LIB.SONAME.MX = lib$(NAME)mx.so.$(SO_MAJOR)
LIB.DEVLNK.MX = lib$(NAME)mx.so
LIB.SHARED.MX = lib$(NAME)mx.so.$(SO_VERSION)
LIB.STATIC.MX = lib$(NAME)mx.a
-LDFLAGS.SO.MX = -shared -Wl,-soname $(LIB.SONAME.MX)
+LDFLAGS.SO.MX = -shared -Wl,-soname=$(LIB.SONAME.MX) -Wl,-Bsymbolic-functions
SHARED_OBJ_EXT = pic_o
--- glew-1.6.0.orig/config/Makefile.gnu
+++ glew-1.6.0/config/Makefile.gnu
@@ -3,6 +3,7 @@
LD = cc
PICFLAG = -fPIC
LDFLAGS.EXTRA = -L/usr/X11R6/lib
+LIBDIR = $(GLEW_DEST)/lib
LDFLAGS.GL = -lXmu -lXi -lGLU -lGL -lXext -lX11
LDFLAGS.STATIC = -Wl,-Bstatic
LDFLAGS.DYNAMIC = -Wl,-Bdynamic
@@ -10,14 +11,14 @@
WARN = -Wall -W
POPT = -O2
BIN.SUFFIX =
-LIB.SONAME = lib$(NAME).so.$(SO_MAJOR)
-LIB.DEVLNK = lib$(NAME).so
-LIB.SHARED = lib$(NAME).so.$(SO_VERSION)
-LIB.STATIC = lib$(NAME).a
-LDFLAGS.SO = -shared -Wl,-soname=$(LIB.SONAME)
+LIB.SONAME = lib$(NAME).so.$(SO_MAJOR)
+LIB.DEVLNK = lib$(NAME).so
+LIB.SHARED = lib$(NAME).so.$(SO_VERSION)
+LIB.STATIC = lib$(NAME).a
+LDFLAGS.SO = -shared -Wl,-soname=$(LIB.SONAME) -Wl,-Bsymbolic-functions
LIB.SONAME.MX = lib$(NAME)mx.so.$(SO_MAJOR)
LIB.DEVLNK.MX = lib$(NAME)mx.so
LIB.SHARED.MX = lib$(NAME)mx.so.$(SO_VERSION)
LIB.STATIC.MX = lib$(NAME)mx.a
-LDFLAGS.SO.MX = -shared -Wl,-soname=$(LIB.SONAME.MX)
+LDFLAGS.SO.MX = -shared -Wl,-soname=$(LIB.SONAME.MX) -Wl,-Bsymbolic-functions
SHARED_OBJ_EXT = pic_o
--- glew-1.6.0.orig/config/config.guess
+++ glew-1.6.0/config/config.guess
@@ -1,10 +1,10 @@
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
+# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
# Free Software Foundation, Inc.
-timestamp='2009-04-27'
+timestamp='2009-12-30'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -27,16 +27,16 @@
# the same distribution terms that you use for the rest of that program.
-# Originally written by Per Bothner .
-# Please send patches to . Submit a context
-# diff and a properly formatted ChangeLog entry.
+# Originally written by Per Bothner. Please send patches (context
+# diff format) to and include a ChangeLog
+# entry.
#
# This script attempts to guess a canonical system name similar to
# config.sub. If it succeeds, it prints the system name on stdout, and
# exits with 0. Otherwise, it exits with 1.
#
-# The plan is that this can be called by configure scripts if you
-# don't specify an explicit build system type.
+# You can get the latest version of this script from:
+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
me=`echo "$0" | sed -e 's,.*/,,'`
@@ -56,8 +56,9 @@
GNU config.guess ($timestamp)
Originally written by Per Bothner.
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
+Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -170,7 +171,7 @@
arm*|i386|m68k|ns32k|sh3*|sparc|vax)
eval $set_cc_for_build
if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
- | grep __ELF__ >/dev/null
+ | grep -q __ELF__
then
# Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
# Return netbsd for either. FIX?
@@ -333,6 +334,9 @@
sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit ;;
+ i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
+ echo i386-pc-auroraux${UNAME_RELEASE}
+ exit ;;
i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
eval $set_cc_for_build
SUN_ARCH="i386"
@@ -656,7 +660,7 @@
# => hppa64-hp-hpux11.23
if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
- grep __LP64__ >/dev/null
+ grep -q __LP64__
then
HP_ARCH="hppa2.0w"
else
@@ -807,12 +811,12 @@
i*:PW*:*)
echo ${UNAME_MACHINE}-pc-pw32
exit ;;
- *:Interix*:[3456]*)
+ *:Interix*:*)
case ${UNAME_MACHINE} in
x86)
echo i586-pc-interix${UNAME_RELEASE}
exit ;;
- EM64T | authenticamd | genuineintel)
+ authenticamd | genuineintel | EM64T)
echo x86_64-unknown-interix${UNAME_RELEASE}
exit ;;
IA64)
@@ -822,6 +826,9 @@
[345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
echo i${UNAME_MACHINE}-pc-mks
exit ;;
+ 8664:Windows_NT:*)
+ echo x86_64-pc-mks
+ exit ;;
i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
# How do we know it's Interix rather than the generic POSIX subsystem?
# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
@@ -851,6 +858,20 @@
i*86:Minix:*:*)
echo ${UNAME_MACHINE}-pc-minix
exit ;;
+ alpha:Linux:*:*)
+ case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
+ EV5) UNAME_MACHINE=alphaev5 ;;
+ EV56) UNAME_MACHINE=alphaev56 ;;
+ PCA56) UNAME_MACHINE=alphapca56 ;;
+ PCA57) UNAME_MACHINE=alphapca56 ;;
+ EV6) UNAME_MACHINE=alphaev6 ;;
+ EV67) UNAME_MACHINE=alphaev67 ;;
+ EV68*) UNAME_MACHINE=alphaev68 ;;
+ esac
+ objdump --private-headers /bin/sh | grep -q ld.so.1
+ if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
+ echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
+ exit ;;
arm*:Linux:*:*)
eval $set_cc_for_build
if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
@@ -873,6 +894,17 @@
frv:Linux:*:*)
echo frv-unknown-linux-gnu
exit ;;
+ i*86:Linux:*:*)
+ LIBC=gnu
+ eval $set_cc_for_build
+ sed 's/^ //' << EOF >$dummy.c
+ #ifdef __dietlibc__
+ LIBC=dietlibc
+ #endif
+EOF
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
+ echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
+ exit ;;
ia64:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit ;;
@@ -882,78 +914,34 @@
m68*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit ;;
- mips:Linux:*:*)
- eval $set_cc_for_build
- sed 's/^ //' << EOF >$dummy.c
- #undef CPU
- #undef mips
- #undef mipsel
- #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
- CPU=mipsel
- #else
- #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
- CPU=mips
- #else
- CPU=
- #endif
- #endif
-EOF
- eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
- /^CPU/{
- s: ::g
- p
- }'`"
- test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
- ;;
- mips64:Linux:*:*)
+ mips:Linux:*:* | mips64:Linux:*:*)
eval $set_cc_for_build
sed 's/^ //' << EOF >$dummy.c
#undef CPU
- #undef mips64
- #undef mips64el
+ #undef ${UNAME_MACHINE}
+ #undef ${UNAME_MACHINE}el
#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
- CPU=mips64el
+ CPU=${UNAME_MACHINE}el
#else
#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
- CPU=mips64
+ CPU=${UNAME_MACHINE}
#else
CPU=
#endif
#endif
EOF
- eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
- /^CPU/{
- s: ::g
- p
- }'`"
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
;;
or32:Linux:*:*)
echo or32-unknown-linux-gnu
exit ;;
- ppc:Linux:*:*)
- echo powerpc-unknown-linux-gnu
- exit ;;
- ppc64:Linux:*:*)
- echo powerpc64-unknown-linux-gnu
- exit ;;
- alpha:Linux:*:*)
- case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
- EV5) UNAME_MACHINE=alphaev5 ;;
- EV56) UNAME_MACHINE=alphaev56 ;;
- PCA56) UNAME_MACHINE=alphapca56 ;;
- PCA57) UNAME_MACHINE=alphapca56 ;;
- EV6) UNAME_MACHINE=alphaev6 ;;
- EV67) UNAME_MACHINE=alphaev67 ;;
- EV68*) UNAME_MACHINE=alphaev68 ;;
- esac
- objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
- if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
- echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
- exit ;;
padre:Linux:*:*)
echo sparc-unknown-linux-gnu
exit ;;
+ parisc64:Linux:*:* | hppa64:Linux:*:*)
+ echo hppa64-unknown-linux-gnu
+ exit ;;
parisc:Linux:*:* | hppa:Linux:*:*)
# Look for CPU level
case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
@@ -962,8 +950,11 @@
*) echo hppa-unknown-linux-gnu ;;
esac
exit ;;
- parisc64:Linux:*:* | hppa64:Linux:*:*)
- echo hppa64-unknown-linux-gnu
+ ppc64:Linux:*:*)
+ echo powerpc64-unknown-linux-gnu
+ exit ;;
+ ppc:Linux:*:*)
+ echo powerpc-unknown-linux-gnu
exit ;;
s390:Linux:*:* | s390x:Linux:*:*)
echo ${UNAME_MACHINE}-ibm-linux
@@ -986,66 +977,6 @@
xtensa*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit ;;
- i*86:Linux:*:*)
- # The BFD linker knows what the default object file format is, so
- # first see if it will tell us. cd to the root directory to prevent
- # problems with other programs or directories called `ld' in the path.
- # Set LC_ALL=C to ensure ld outputs messages in English.
- ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
- | sed -ne '/supported targets:/!d
- s/[ ][ ]*/ /g
- s/.*supported targets: *//
- s/ .*//
- p'`
- case "$ld_supported_targets" in
- elf32-i386)
- TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
- ;;
- a.out-i386-linux)
- echo "${UNAME_MACHINE}-pc-linux-gnuaout"
- exit ;;
- "")
- # Either a pre-BFD a.out linker (linux-gnuoldld) or
- # one that does not give us useful --help.
- echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
- exit ;;
- esac
- # Determine whether the default compiler is a.out or elf
- eval $set_cc_for_build
- sed 's/^ //' << EOF >$dummy.c
- #include
- #ifdef __ELF__
- # ifdef __GLIBC__
- # if __GLIBC__ >= 2
- LIBC=gnu
- # else
- LIBC=gnulibc1
- # endif
- # else
- LIBC=gnulibc1
- # endif
- #else
- #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
- LIBC=gnu
- #else
- LIBC=gnuaout
- #endif
- #endif
- #ifdef __dietlibc__
- LIBC=dietlibc
- #endif
-EOF
- eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
- /^LIBC/{
- s: ::g
- p
- }'`"
- test x"${LIBC}" != x && {
- echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
- exit
- }
- test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
- ;;
i*86:DYNIX/ptx:4*:*)
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
# earlier versions are messed up and put the nodename in both
@@ -1074,7 +1005,7 @@
i*86:syllable:*:*)
echo ${UNAME_MACHINE}-pc-syllable
exit ;;
- i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
+ i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
echo i386-unknown-lynxos${UNAME_RELEASE}
exit ;;
i*86:*DOS:*:*)
@@ -1182,7 +1113,7 @@
rs6000:LynxOS:2.*:*)
echo rs6000-unknown-lynxos${UNAME_RELEASE}
exit ;;
- PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
+ PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
echo powerpc-unknown-lynxos${UNAME_RELEASE}
exit ;;
SM[BE]S:UNIX_SV:*:*)
@@ -1275,6 +1206,16 @@
*:Darwin:*:*)
UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
case $UNAME_PROCESSOR in
+ i386)
+ eval $set_cc_for_build
+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
+ if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
+ grep IS_64BIT_ARCH >/dev/null
+ then
+ UNAME_PROCESSOR="x86_64"
+ fi
+ fi ;;
unknown) UNAME_PROCESSOR=powerpc ;;
esac
echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
--- glew-1.6.0.orig/config/Makefile.linux
+++ glew-1.6.0/config/Makefile.linux
@@ -2,14 +2,8 @@
CC = cc
LD = cc
PICFLAG = -fPIC
-M_ARCH ?= $(shell uname -m)
-ifeq (x86_64,${M_ARCH})
-LDFLAGS.EXTRA = -L/usr/X11R6/lib64
-LIBDIR = $(GLEW_DEST)/lib64
-else
LDFLAGS.EXTRA = -L/usr/X11R6/lib
LIBDIR = $(GLEW_DEST)/lib
-endif
LDFLAGS.GL = -lXmu -lXi -lGLU -lGL -lXext -lX11
LDFLAGS.STATIC = -Wl,-Bstatic
LDFLAGS.DYNAMIC = -Wl,-Bdynamic
@@ -21,10 +15,10 @@
LIB.DEVLNK = lib$(NAME).so
LIB.SHARED = lib$(NAME).so.$(SO_VERSION)
LIB.STATIC = lib$(NAME).a
-LDFLAGS.SO = -shared -Wl,-soname=$(LIB.SONAME)
+LDFLAGS.SO = -shared -Wl,-soname=$(LIB.SONAME) -Wl,-Bsymbolic-functions
LIB.SONAME.MX = lib$(NAME)mx.so.$(SO_MAJOR)
LIB.DEVLNK.MX = lib$(NAME)mx.so
LIB.SHARED.MX = lib$(NAME)mx.so.$(SO_VERSION)
LIB.STATIC.MX = lib$(NAME)mx.a
-LDFLAGS.SO.MX = -shared -Wl,-soname=$(LIB.SONAME.MX)
+LDFLAGS.SO.MX = -shared -Wl,-soname=$(LIB.SONAME.MX) -Wl,-Bsymbolic-functions
SHARED_OBJ_EXT = pic_o