[csw-devel] SF.net SVN: gar:[11102] csw/mgar/pkg

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Thu Sep 30 13:58:02 CEST 2010


Revision: 11102
          http://gar.svn.sourceforge.net/gar/?rev=11102&view=rev
Author:   dmichelsen
Date:     2010-09-30 11:58:02 +0000 (Thu, 30 Sep 2010)

Log Message:
-----------
glew: Initial commit

Added Paths:
-----------
    csw/mgar/pkg/glew/
    csw/mgar/pkg/glew/branches/
    csw/mgar/pkg/glew/tags/
    csw/mgar/pkg/glew/trunk/
    csw/mgar/pkg/glew/trunk/Makefile
    csw/mgar/pkg/glew/trunk/checksums
    csw/mgar/pkg/glew/trunk/files/
    csw/mgar/pkg/glew/trunk/files/0001-Use-inttypes-also-for-Solaris.patch


Property changes on: csw/mgar/pkg/glew/trunk
___________________________________________________________________
Added: svn:ignore
   + cookies
download
work


Added: svn:externals
   + gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2


Added: csw/mgar/pkg/glew/trunk/Makefile
===================================================================
--- csw/mgar/pkg/glew/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/glew/trunk/Makefile	2010-09-30 11:58:02 UTC (rev 11102)
@@ -0,0 +1,65 @@
+# $Id$
+GARNAME = glew
+GARVERSION = 1.5.6
+CATEGORIES = lib
+
+DESCRIPTION = OpenGL Extension Wrangler Library (GLEW)
+define BLURB
+  The OpenGL Extension Wrangler Library (GLEW) is a cross-platform open-source C/C++
+  extension loading library. GLEW provides efficient run-time mechanisms for determining
+  which OpenGL extensions are supported on the target platform. OpenGL core and extension
+  functionality is exposed in a single header file. GLEW has been tested on a variety of
+  operating systems, including Windows, Linux, Mac OS X, FreeBSD, Irix, and Solaris.
+endef
+
+MASTER_SITES = $(SF_MIRROR)
+DISTFILES  = $(GARNAME)-$(GARVERSION).tgz
+PATCHFILES = 0001-Use-inttypes-also-for-Solaris.patch
+
+# File name regex to get notifications about upstream software releases
+UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tgz
+
+DEP_PKGS = CSWmesa
+
+LICENSE = LICENSE.txt
+
+NOISALIST = 1
+NOISAEXEC = 1
+BUILD64 = 1
+
+EXTRA_LIB = /usr/openwin/lib
+
+LDOPT-64 = -64
+
+BUILD_OVERRIDE_VARS = CC CFLAGS.EXTRA OPT LDFLAGS.SO
+BUILD_OVERRIDE_VAR_CC = $(CC)
+BUILD_OVERRIDE_VAR_CFLAGS.EXTRA = $(CFLAGS) $(CPPFLAGS) -I/usr/openwin/include -xcode=pic32
+BUILD_OVERRIDE_VAR_LDFLAGS.SO = -G $(LDOPT-$(MEMORYMODEL))
+
+# These are for glew.pc
+BUILD_OVERRIDE_VARS += GLEW_DEST LIBDIR BINDIR INCDIR
+BUILD_OVERRIDE_VAR_GLEW_DEST = $(prefix)
+BUILD_OVERRIDE_VAR_LIBDIR = $(libdir)
+BUILD_OVERRIDE_VAR_BINDIR = $(bindir)
+BUILD_OVERRIDE_VAR_INCDIR = $(includedir)
+
+CONFIGURE_SCRIPTS =
+
+TEST_SCRIPTS = 
+
+INSTALL_OVERRIDE_DIRS = GLEW_DEST BINDIR LIBDIR
+GLEW_DEST = $(prefix)
+BINDIR = $(bindir)
+LIBDIR = $(libdir)
+INSTALL_OVERRIDE_VARS = INSTALL LDFLAGS.EXTRA
+INSTALL_OVERRIDE_VAR_INSTALL = /opt/csw/bin/ginstall
+INSTALL_OVERRIDE_VAR_LDFLAGS.EXTRA = $(LDFLAGS)
+
+MERGE_DIRS_isa-extra = $(libdir)
+
+# These are NOT bad...
+CHECKPKG_OVERRIDES_CSWglew += bad-rpath-entry|/usr/openwin/lib/64|opt/csw/bin/sparcv9/glewinfo
+CHECKPKG_OVERRIDES_CSWglew += bad-rpath-entry|/usr/openwin/lib/64|opt/csw/bin/sparcv9/visualinfo
+CHECKPKG_OVERRIDES_CSWglew += bad-rpath-entry|/usr/openwin/lib/64|opt/csw/lib/sparcv9/libGLEW.so.1.5.6
+
+include gar/category.mk


Property changes on: csw/mgar/pkg/glew/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
   + Id

Added: csw/mgar/pkg/glew/trunk/checksums
===================================================================
--- csw/mgar/pkg/glew/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/glew/trunk/checksums	2010-09-30 11:58:02 UTC (rev 11102)
@@ -0,0 +1 @@
+e6f56eb765f1da489a1327793adcf6bb  glew-1.5.6.tgz

Added: csw/mgar/pkg/glew/trunk/files/0001-Use-inttypes-also-for-Solaris.patch
===================================================================
--- csw/mgar/pkg/glew/trunk/files/0001-Use-inttypes-also-for-Solaris.patch	                        (rev 0)
+++ csw/mgar/pkg/glew/trunk/files/0001-Use-inttypes-also-for-Solaris.patch	2010-09-30 11:58:02 UTC (rev 11102)
@@ -0,0 +1,25 @@
+From 7da2f65f28296c3755478f2060609a7247a65801 Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Wed, 29 Sep 2010 12:49:48 +0200
+Subject: [PATCH] Use inttypes also for Solaris
+
+---
+ include/GL/glew.h |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/include/GL/glew.h b/include/GL/glew.h
+index 5105a20..9f82d40 100644
+--- a/include/GL/glew.h
++++ b/include/GL/glew.h
+@@ -200,7 +200,7 @@ typedef _W64 int ptrdiff_t;
+ 
+ /* SGI MIPSPro doesn't like stdint.h in C++ mode */
+ 
+-#if defined(__sgi) && !defined(__GNUC__)
++#if defined(__sun) || defined(__sgi) && !defined(__GNUC__)
+ #include <inttypes.h>
+ #else
+ #include <stdint.h>
+-- 
+1.7.3
+


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list