Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/libs
In directory vz-cvs-3.sog:/tmp/cvs-serv5671/stable/main/finkinfo/libs

Added Files:
        gle3.info gle3.patch 
Log Message:
to stable with %c flag addition for X

--- NEW FILE: gle3.info ---
Package: gle3
Version: 3.1.0
Revision: 1016
Description: GLE tubing and extrusion library
DescDetail: <<
GLE is a library package of C functions that draw
extruded surfaces, including surfaces of revolution,
sweeps, tubes, polycones, polycylinders and helicoids.
Generically, the extruded surface is specified with a
2D polyline that is extruded along a 3D path.  A local
coordinate system allows for additional flexibility in 
the primitives drawn.  Extrusions may be texture mapped
in a variety of ways.  The GLE library generates 3D 
triangle coordinates, lighting normal vectors and 
texture coordinates as output. GLE uses the GL or 
OpenGL API's to perform the actual rendering.
<<
DescUsage: 'man gle' for an introduction and refs to the other manpages.
DescPort: <<
Fixed references to malloc.h (malloc is in stdlib.h on OS X).

A boatload of pedantic GCC directive warnings made it difficult to
see any serious messages srcroll by, so got rid of -pedantic.

Patch generated libtool because the included template is old and
generates one which includes flags that prevent prebinding. Also add
lots of X lib flags to libgle3 linker so no undefined symbols at
link-time.

Drop -framework OpenGL so get the newer versions in /usr/X11R6/lib.
<<
Homepage: http://www.linas.org/gle/
License: OSI-Approved
Maintainer: Daniel Macks <dma...@netspace.org>
Depends: %N-shlibs (= %v-%r)
BuildDepends: fink (>= 0.24.12-1), freeglut, x11-dev
BuildDependsOnly: True
Source: mirror:sourceforge:gle/gle-%v.tar.gz
Source-MD5: da5b45c6906343d4a3672c3de35513ad
PatchFile: %n.patch
PatchFile-MD5: 7c2497d0a73254c6199be5165ccc0286
PatchScript: <<
        %{default_script}
  perl -pi.bak -e 's/^#include <malloc.h>/#include <stdlib.h>/' `grep -l -r 
malloc.h .`
  perl -pi.bak -e 's|/doc/gle/|/doc/%n/|' `find . -name Makefile.in`
  perl -pi.bak -e 's/hardcode_direct=yes/hardcode_direct=no/g' configure
<<
ConfigureParams: --mandir=%p/share/man --x-includes=/usr/X11R6/include 
--x-libraries=/usr/X11R6/lib --disable-dependency-tracking
SetLDFLAGS: 
-Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
SetLIBS: -L%p/lib
CompileScript: <<
  ./configure %c
  perl -pi.bak -e 's,-undefined suppress,,g; s,-flat_namespace,,g' libtool
  make
<<
InstallScript: <<
  make install DESTDIR=%d
  rm %i/share/doc/gle3/gle-3.0.lsm
<<
# 'make install' takes care of most of the doc files (for the main package)
DocFiles: src/COPYING.src
SplitOff: <<
  Package: %N-shlibs
  Description: GLE tubing and extrusion library (runtime code)
  Depends: freeglut-shlibs, x11
  Files: lib/libgle.*.dylib
  Shlibs: %p/lib/libgle.3.dylib 5.0.0 gle3-shlibs (>= 3.1.0-13)
  DocFiles: AUTHORS COPYING doc/COPYING.artistic src/COPYING.src README
<<

--- NEW FILE: gle3.patch ---
diff -Nurd -x'*~' gle-3.1.0.orig/src/Makefile.in gle-3.1.0/src/Makefile.in
--- gle-3.1.0.orig/src/Makefile.in      2004-06-14 01:35:08.000000000 -0400
+++ gle-3.1.0/src/Makefile.in   2004-06-14 01:35:36.000000000 -0400
@@ -97,7 +97,7 @@
 INCLUDES =    @X_CFLAGS@
 
 
-CFLAGS = @CFLAGS@ -Wall -pedantic -Wstrict-prototypes  -Wconversion
+CFLAGS = @CFLAGS@ -Wall  -Wstrict-prototypes  -Wconversion
 
 docdir = $(datadir)/doc/gle/
 
@@ -219,7 +219,7 @@
 maintainer-clean-libtool:
 
 libgle.la: $(libgle_la_OBJECTS) $(libgle_la_DEPENDENCIES)
-       $(LINK) -rpath $(libdir) $(libgle_la_LDFLAGS) $(libgle_la_OBJECTS) 
$(libgle_la_LIBADD) $(LIBS)
+       $(LINK) -rpath $(libdir) $(libgle_la_LDFLAGS) $(libgle_la_OBJECTS) 
$(libgle_la_LIBADD) $(LIBS) -lglut -lXi -lXext -lXmu -lGLU -lGL 
-L/usr/X11R6/lib -lXt -lX11
 
 install-GLDATA: $(GL_DATA)
        @$(NORMAL_INSTALL)


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to