[csw-devel] SF.net SVN: gar:[15203] csw/mgar/pkg/glew/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Sat Jul 23 16:20:10 CEST 2011


Revision: 15203
          http://gar.svn.sourceforge.net/gar/?rev=15203&view=rev
Author:   dmichelsen
Date:     2011-07-23 14:20:10 +0000 (Sat, 23 Jul 2011)

Log Message:
-----------
glew: Update to 1.6.0, split packages

Modified Paths:
--------------
    csw/mgar/pkg/glew/trunk/Makefile
    csw/mgar/pkg/glew/trunk/checksums

Modified: csw/mgar/pkg/glew/trunk/Makefile
===================================================================
--- csw/mgar/pkg/glew/trunk/Makefile	2011-07-23 13:16:39 UTC (rev 15202)
+++ csw/mgar/pkg/glew/trunk/Makefile	2011-07-23 14:20:10 UTC (rev 15203)
@@ -1,6 +1,12 @@
 # $Id$
+#
+# TBD:
+# - Split package
+# - Fixup soname (current: none, packages exist linking libGLEW.so, Linux has libGLEW.so.x.y
+#     http://rpmfind.net//linux/RPM/mandriva/devel/cooker/sparc/media/main/release/libglew1.3-1.3.4-3mdv2007.0.sparc.html
+
 NAME = glew
-VERSION = 1.5.6
+VERSION = 1.6.0
 CATEGORIES = lib
 
 DESCRIPTION = OpenGL Extension Wrangler Library (GLEW)
@@ -14,17 +20,28 @@
 
 MASTER_SITES = $(SF_MIRROR)
 DISTFILES  = $(NAME)-$(VERSION).tgz
+
+# Use patch until this is fixed:
+#   http://sourceforge.net/tracker/?func=detail&aid=3376260&group_id=67586&atid=523274
 PATCHFILES = 0001-Use-inttypes-also-for-Solaris.patch
 
-# File name regex to get notifications about upstream software releases
-UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tgz
+LICENSE = LICENSE.txt
 
-DEP_PKGS = CSWmesa
+BUILD_DEP_PKGS = CSWmesa
 
-LICENSE = LICENSE.txt
+PACKAGES += CSWlibglew1-6
+SPKG_DESC_CSWlibglew1-6 = OpenGL extension wrangler library (GLEW), libGLEW.so.1.6
+PKGFILES_CSWlibglew1-6 = $(call pkgfiles_lib,libGLEW.so.1.6)
+RUNTIME_DEP_PKGS_CSWlibglew1-6 += CSWmesa
 
+PACKAGES += CSWlibglew-dev
+SPKG_DESC_CSWlibglew-dev = Development files for libGLEW.so.1.6
+# PKGFILES is catchall
+RUNTIME_DEP_PKGS_CSWlibglew-dev += CSWlibglew1-6
+# Existing packages are linked against SONAME libGLEW.so only in this package
+OBSOLETED_BY_CSWlibglew-dev = CSWglew
+
 NOISALIST = 1
-NOISAEXEC = 1
 BUILD64 = 1
 
 LDOPT-64 = -64
@@ -33,8 +50,9 @@
 BUILD_OVERRIDE_VARS = CC CFLAGS.EXTRA OPT LDFLAGS.SO LDFLAGS.EXTRA
 BUILD_OVERRIDE_VAR_CC = $(CC)
 BUILD_OVERRIDE_VAR_CFLAGS.EXTRA = $(CFLAGS) $(CPPFLAGS) $(EXTRA_CFLAGS-$(GARCH))
-BUILD_OVERRIDE_VAR_LDFLAGS.SO = -G $(LDOPT-$(MEMORYMODEL))
-BUILD_OVERRIDE_VAR_LDFLAGS.EXTRA = -L$(libdir)
+BUILD_OVERRIDE_VAR_LDFLAGS.SO = -G $(LDOPT-$(MEMORYMODEL)) -h libGLEW.so.1.6
+# -ldl for dlsym/dlopen in glew.mx
+BUILD_OVERRIDE_VAR_LDFLAGS.EXTRA = -L$(libdir) -ldl
 
 # These are for glew.pc
 BUILD_OVERRIDE_VARS += GLEW_DEST LIBDIR BINDIR INCDIR
@@ -55,11 +73,4 @@
 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

Modified: csw/mgar/pkg/glew/trunk/checksums
===================================================================
--- csw/mgar/pkg/glew/trunk/checksums	2011-07-23 13:16:39 UTC (rev 15202)
+++ csw/mgar/pkg/glew/trunk/checksums	2011-07-23 14:20:10 UTC (rev 15203)
@@ -1 +1 @@
-e6f56eb765f1da489a1327793adcf6bb  glew-1.5.6.tgz
+7dfbb444b5a4e125bc5dba0aef403082  glew-1.6.0.tgz


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