Version française
Home     About     Download     Resources     Contact us    
Browse thread
OpenGL support in LablGTK2?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Blair Zajac <blair@o...>
Subject: Re: [Caml-list] OpenGL support in LablGTK2?
Matt Gushee wrote:
> briand@aracnet.com wrote:
> 
>> Debian:
>> ii  gtkglarea5     1.2.3-2        Gimp Toolkit OpenGL area widget 
>> shared libra
>> ii  gtkglarea5-dev 1.2.3-2        Gimp Toolkit OpenGL area widget 
>> include file
>>
>> I'm not sure why it would have vanished from your disty.
> 
> 
> Nothing has vanished from the distribution. As I said, I am trying to 
> package LablGTK*2*. Arch Linux has gtkglarea for GTK *1.x* only (as, it 
> appears, does Debian).

Fink for Mac OS X has gtkglarea and gtkglarea2:

$ fink list gtkglarea
Information about 4209 packages read in 3 seconds.
      gtkglarea        1.2.3-13     OpenGL widget for GTK+
      gtkglarea2       1.99.0-2     OpenGL widget for GTK+
      gtkglarea2-s...  1.99.0-2     OpenGL widget for GTK+


The build for gtkglarea2 is pretty simple:

Package: gtkglarea2
Version: 1.99.0
Revision: 2
Source: mirror:gnome:sources/gtkglarea/1.99/gtkglarea-%v.tar.gz
Source-MD5: 37783ee24d251f56e732f8bd350095ca
BuildDepends: gtk+2 (>= 2.0.0), gtk+2-dev, glib2-dev (>= 2.2.3-1), atk1 
(>= 1.4.0-1), pango1-xft2-dev (>= 1.2.5-1), libpng3, libjpeg, libtiff, 
pkgconfig (>= 0.15.0-2), gettext-dev, gettext-bin, lib
iconv-dev, gtk-doc (>= 1.1-1), x11-dev
Depends: %N-shlibs (= %v-%r)
ConfigureParams: --with-GL-prefix=/usr/X11R6
Description: OpenGL widget for GTK+
DocFiles: AUTHORS COPYING NEWS README
BuildDependsOnly: True
SplitOff: <<
   Package: %N-shlibs
   Depends: gtk+2-shlibs (>= 2.0.0), libgl
   Files: lib/libgtkgl-2.0.1.dylib lib/libgtkgl-2.0.1.0.0.dylib
   Shlibs: %p/lib/libgtkgl-2.0.1.dylib 2.0.0 %n (>= 1.99.0-1)
   DocFiles: AUTHORS COPYING NEWS README
<<
DescDetail: <<
  GtkGLArea is an OpenGL widget for GTK+ GUI toolkit.

  Just as GTK+ is build on top of GDK, GtkGLArea is built on top of 
gdkgl which
  is basically wrapper around GLX functions. The widget itself is derived
  from GtkDrawinigArea widget and adds only few extra functions.
<<
License: LGPL
Maintainer: Mathias Meyer <mathmeye@users.sourceforge.net>
Homepage: http://www.student.oulu.fi/~jlof/gtkglarea/



Regards,
Blair

-- 
Blair Zajac <blair@orcaware.com>
Plots of your system's performance - http://www.orcaware.com/orca/