* OpenGL support in LablGTK2? @ 2004-12-06 22:21 Matt Gushee 2004-12-07 0:28 ` [Caml-list] " Olivier Andrieu ` (2 more replies) 0 siblings, 3 replies; 25+ messages in thread From: Matt Gushee @ 2004-12-06 22:21 UTC (permalink / raw) To: caml-list I was trying to compile LablGTK2 with GTKGlArea support, and I discovered that I don't have the gtkglarea library. My Linux distribution (Arch) doesn't provide the library for GTK2 ... and on further investigation it appears that the gtkglarea project has vanished. Both the Freshmeat project page and the developer's home page (at some university in Finland, it appears) are gone. So what's going to happen with this? Will LablGTK2 have an alternate way to support OpenGL--or is there reason to believe that gtkglarea will return? Thanks for any info. ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Caml-list] OpenGL support in LablGTK2? 2004-12-06 22:21 OpenGL support in LablGTK2? Matt Gushee @ 2004-12-07 0:28 ` Olivier Andrieu 2004-12-07 1:11 ` Matt Gushee 2004-12-07 10:10 ` malc 2004-12-07 15:30 ` briand 2 siblings, 1 reply; 25+ messages in thread From: Olivier Andrieu @ 2004-12-07 0:28 UTC (permalink / raw) To: mgushee; +Cc: caml-list > Matt Gushee [Mon, 06 Dec 2004]: > I was trying to compile LablGTK2 with GTKGlArea support, and I > discovered that I don't have the gtkglarea library. My Linux > distribution (Arch) doesn't provide the library for GTK2 ... and on > further investigation it appears that the gtkglarea project has > vanished. Both the Freshmeat project page and the developer's home > page (at some university in Finland, it appears) are gone. > > So what's going to happen with this? Will LablGTK2 have an > alternate way to support OpenGL--or is there reason to believe that > gtkglarea will return? Yes, there was some discussions about this on the GTK lists some time ago (web archives seem to be down so I'm unable to be more specific). I think indeed gtkglarea isn't maintained anymore and the new widget is called GtkGLExt : http://gtkglext.sourceforge.net/ -- Olivier ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Caml-list] OpenGL support in LablGTK2? 2004-12-07 0:28 ` [Caml-list] " Olivier Andrieu @ 2004-12-07 1:11 ` Matt Gushee 2004-12-07 9:51 ` Olivier Andrieu 2004-12-08 0:33 ` Jacques Garrigue 0 siblings, 2 replies; 25+ messages in thread From: Matt Gushee @ 2004-12-07 1:11 UTC (permalink / raw) To: caml-list Olivier Andrieu wrote: > Yes, there was some discussions about this on the GTK lists some time > ago (web archives seem to be down so I'm unable to be more > specific). I think indeed gtkglarea isn't maintained anymore and the > new widget is called GtkGLExt : > > http://gtkglext.sourceforge.net/ Right, I noticed that, but it's not a drop-in replacement. Do you have plans to support gtkglext, or does someone else need to take responsibility for that? By the way, the reason I'm concerned about this is that I'm creating a LablGTK2 package for Arch Linux. For the time being, it will be built without OpenGL support, but I think it's a feature that many users would like to have. Best regards, Matt -- Matt Gushee Englewood, CO, USA ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Caml-list] OpenGL support in LablGTK2? 2004-12-07 1:11 ` Matt Gushee @ 2004-12-07 9:51 ` Olivier Andrieu 2004-12-07 18:30 ` Matt Gushee 2004-12-07 21:36 ` Sven Luther 2004-12-08 0:33 ` Jacques Garrigue 1 sibling, 2 replies; 25+ messages in thread From: Olivier Andrieu @ 2004-12-07 9:51 UTC (permalink / raw) To: mgushee; +Cc: caml-list Matt Gushee [Mon, 06 Dec 2004]: > Olivier Andrieu wrote: > > > Yes, there was some discussions about this on the GTK lists some > > time ago (web archives seem to be down so I'm unable to be more > > specific). I think indeed gtkglarea isn't maintained anymore and > > the new widget is called GtkGLExt : > > > > http://gtkglext.sourceforge.net/ > > > Right, I noticed that, but it's not a drop-in replacement. that's right > Do you have plans to support gtkglext, or does someone else need to > take responsibility for that? me, no (I know very little about OpenGL anyway, never had to use it) > By the way, the reason I'm concerned about this is that I'm > creating a LablGTK2 package for Arch Linux. For the time being, it > will be built without OpenGL support, but I think it's a feature > that many users would like to have. Why not package gtkglarea ? If the problem is simply to locate a tarball of gtkglarea because the homepage disappeared, just grab it from another distro's source package (Debian, Mandrake ...) -- Olivier ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Caml-list] OpenGL support in LablGTK2? 2004-12-07 9:51 ` Olivier Andrieu @ 2004-12-07 18:30 ` Matt Gushee 2004-12-07 21:36 ` Sven Luther 1 sibling, 0 replies; 25+ messages in thread From: Matt Gushee @ 2004-12-07 18:30 UTC (permalink / raw) To: caml-list Olivier Andrieu wrote: > Why not package gtkglarea ? Hmm ... I suppose I *could*. But I already packaged OCaml, ledit, Findlib, and LablGTK in one day--don't want to take responsibility for too many packages, especially when I know very little about the software (like you, I'm a non-expert on OpenGL, just want to make the LablGTK package as complete as I reasonably can). > If the problem is simply to locate a > tarball of gtkglarea because the homepage disappeared, just grab it > from another distro's source package (Debian, Mandrake ...) malc wrote: > :pserver:anonymous@anoncvs.gnome.org:/cvs/gnome > module gtkglarea Good points. Thank you. -- Matt Gushee Englewood, CO, USA ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Caml-list] OpenGL support in LablGTK2? 2004-12-07 9:51 ` Olivier Andrieu 2004-12-07 18:30 ` Matt Gushee @ 2004-12-07 21:36 ` Sven Luther 1 sibling, 0 replies; 25+ messages in thread From: Sven Luther @ 2004-12-07 21:36 UTC (permalink / raw) To: Olivier Andrieu; +Cc: mgushee, caml-list On Tue, Dec 07, 2004 at 10:51:59AM +0100, Olivier Andrieu wrote: > Matt Gushee [Mon, 06 Dec 2004]: > > Olivier Andrieu wrote: > > > > > Yes, there was some discussions about this on the GTK lists some > > > time ago (web archives seem to be down so I'm unable to be more > > > specific). I think indeed gtkglarea isn't maintained anymore and > > > the new widget is called GtkGLExt : > > > > > > http://gtkglext.sourceforge.net/ > > > > > > Right, I noticed that, but it's not a drop-in replacement. > > that's right > > > Do you have plans to support gtkglext, or does someone else need to > > take responsibility for that? > > me, no (I know very little about OpenGL anyway, never had to use it) > > > By the way, the reason I'm concerned about this is that I'm > > creating a LablGTK2 package for Arch Linux. For the time being, it > > will be built without OpenGL support, but I think it's a feature > > that many users would like to have. > > Why not package gtkglarea ? If the problem is simply to locate a > tarball of gtkglarea because the homepage disappeared, just grab it > from another distro's source package (Debian, Mandrake ...) Because it is the wrong thing to do. It will go away eventually, and this is probably as good an occasion to start working on the gtkglext port. Friendly, Sven Luther ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Caml-list] OpenGL support in LablGTK2? 2004-12-07 1:11 ` Matt Gushee 2004-12-07 9:51 ` Olivier Andrieu @ 2004-12-08 0:33 ` Jacques Garrigue 2004-12-08 1:03 ` Matt Gushee ` (2 more replies) 1 sibling, 3 replies; 25+ messages in thread From: Jacques Garrigue @ 2004-12-08 0:33 UTC (permalink / raw) To: mgushee; +Cc: caml-list From: Matt Gushee <mgushee@havenrock.com> > Olivier Andrieu wrote: > > > Yes, there was some discussions about this on the GTK lists some time > > ago (web archives seem to be down so I'm unable to be more > > specific). I think indeed gtkglarea isn't maintained anymore and the > > new widget is called GtkGLExt : > > > > http://gtkglext.sourceforge.net/ > > > Right, I noticed that, but it's not a drop-in replacement. Do you have > plans to support gtkglext, or does someone else need to take > responsibility for that? Well, I suppose it would be me... The reason I stuck with gtkglarea-1.99: laziness of course, but also because it seems much closer to the needs of most people than gtkglext. gtkglext contains much more functions, and makes it more complex to do simple things. Now, it seems that the gtk people have botched something, and gtkglarea have stopped working. If this is not solved soon, I suppose lablgtk2 will have to move to gtkglext, and emulate gtkglarea on top of it (you don't want API changes, do you?) That's life. Jacques Garrigue ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Caml-list] OpenGL support in LablGTK2? 2004-12-08 0:33 ` Jacques Garrigue @ 2004-12-08 1:03 ` Matt Gushee 2004-12-08 10:03 ` Sven Luther 2004-12-24 1:56 ` Jacques Garrigue 2 siblings, 0 replies; 25+ messages in thread From: Matt Gushee @ 2004-12-08 1:03 UTC (permalink / raw) To: caml-list Jacques Garrigue wrote: >> > http://gtkglext.sourceforge.net/ >> >> >>Right, I noticed that, but it's not a drop-in replacement. Do you have >>plans to support gtkglext, or does someone else need to take >>responsibility for that? > > Well, I suppose it would be me... > Now, it seems that the gtk people have botched something, and gtkglarea > have stopped working. If this is not solved soon, I suppose lablgtk2 > will have to move to gtkglext, and emulate gtkglarea on top of it (you > don't want API changes, do you?) Well, API changes wouldn't affect me personally, but I'm sure they would be painful for people who are actually using that API. If I were in your position I would try to find out about the user base before assuming that the changes will upset the whole world. After all: * LablGTK2 is fairly new * OCaml hasn't quite hit the big time yet * Not everybody uses OpenGL * On Linux at least (which I believe is the most popular platform for OCaml), OpenGL support is not very mature, so that programs depending on it often fail to compile. So it could well be that few if any developers have yet seriously used LablGTK2 with OpenGL. -- Matt Gushee Englewood, CO, USA ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Caml-list] OpenGL support in LablGTK2? 2004-12-08 0:33 ` Jacques Garrigue 2004-12-08 1:03 ` Matt Gushee @ 2004-12-08 10:03 ` Sven Luther 2004-12-08 13:53 ` Jacques Garrigue 2004-12-24 1:56 ` Jacques Garrigue 2 siblings, 1 reply; 25+ messages in thread From: Sven Luther @ 2004-12-08 10:03 UTC (permalink / raw) To: Jacques Garrigue; +Cc: mgushee, caml-list On Wed, Dec 08, 2004 at 09:33:21AM +0900, Jacques Garrigue wrote: > From: Matt Gushee <mgushee@havenrock.com> > > Olivier Andrieu wrote: > > > > > Yes, there was some discussions about this on the GTK lists some time > > > ago (web archives seem to be down so I'm unable to be more > > > specific). I think indeed gtkglarea isn't maintained anymore and the > > > new widget is called GtkGLExt : > > > > > > http://gtkglext.sourceforge.net/ > > > > > > Right, I noticed that, but it's not a drop-in replacement. Do you have > > plans to support gtkglext, or does someone else need to take > > responsibility for that? > > Well, I suppose it would be me... > > The reason I stuck with gtkglarea-1.99: laziness of course, but also > because it seems much closer to the needs of most people than > gtkglext. gtkglext contains much more functions, and makes it more > complex to do simple things. > > Now, it seems that the gtk people have botched something, and gtkglarea > have stopped working. If this is not solved soon, I suppose lablgtk2 > will have to move to gtkglext, and emulate gtkglarea on top of it (you > don't want API changes, do you?) Notice that this is not really true, look at the debian lablgtk2 package, it builds against lablgl, and everything works fine. Well, at least the GL examples work with lablgtk2. Lablgtk2 uses the libgtkgl2.0-dev package instead of the older gtkglarea ones though, but it seems to be the same stuff : $ dpkg -s libgtkgl2.0-dev Package: libgtkgl2.0-dev Status: install ok installed Priority: optional Section: libdevel Installed-Size: 112 Maintainer: Marcelo E. Magallon <mmagallo@debian.org> Architecture: powerpc Source: gtkgl2 Version: 1.99.0-2 Provides: gtkgl-dev Depends: libgtkgl2.0-1 (= 1.99.0-2), libgtk2.0-dev Conflicts: gtkgl-dev Description: Gimp Toolkit OpenGL area widget include files and static library A GTK widget for use with Mesa, an unlicensed OpenGL clone. A Mesa development package is also required. And the copyright mentions : This package was debianized by Drake Diedrich <Drake.Diedrich@anu.edu.au> on Thu, 24 Sep 1998 16:47:45 +1000. It was originally downloaded from http://www.ece.ucdavis.edu/~kenelson/gtk-glarea/ Version 1:0.6 was downloaded from http://www.student.oulu.fi/~jlof/gtkglarea/download/ Copyright: GtkGLArea --------- AUTHORS ------- Janne Löf <jlof@mail.student.oulu.fi> Karl Nelson <kenelson@ece.ucdavis.edu> (autoconf) - Lightwave objects Jussi Löf <ulinator@sgic.fi> So this seems to be the same repackaged and/or renamed gtkglarea, not sure though. Friendly, Sven Luther ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Caml-list] OpenGL support in LablGTK2? 2004-12-08 10:03 ` Sven Luther @ 2004-12-08 13:53 ` Jacques Garrigue 2004-12-08 15:38 ` Sven Luther 0 siblings, 1 reply; 25+ messages in thread From: Jacques Garrigue @ 2004-12-08 13:53 UTC (permalink / raw) To: sven.luther; +Cc: mgushee, caml-list From: Sven Luther <sven.luther@wanadoo.fr> > > Now, it seems that the gtk people have botched something, and gtkglarea > > have stopped working. If this is not solved soon, I suppose lablgtk2 > > will have to move to gtkglext, and emulate gtkglarea on top of it (you > > don't want API changes, do you?) > > Notice that this is not really true, look at the debian lablgtk2 package, it > builds against lablgl, and everything works fine. > > Well, at least the GL examples work with lablgtk2. Lablgtk2 uses the > libgtkgl2.0-dev package instead of the older gtkglarea ones though, but it > seems to be the same stuff : As far as I can see, what you call libgtkgl2.0 happens to be what others call gtkglarea-1.99, i.e. the gtk2-ized version of gtkglarea. It seems that we are a few here experiencing problems with this version and very recent versions of gtk2 (in my case, gtk-2.4.13). So maybe you are not using the same version of gtk, or the debian people have already solved the problem, or actually the cause is different altogether (hard to guess). Jacques Garrigue ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Caml-list] OpenGL support in LablGTK2? 2004-12-08 13:53 ` Jacques Garrigue @ 2004-12-08 15:38 ` Sven Luther 2004-12-08 15:50 ` Sven Luther 0 siblings, 1 reply; 25+ messages in thread From: Sven Luther @ 2004-12-08 15:38 UTC (permalink / raw) To: Jacques Garrigue; +Cc: sven.luther, mgushee, caml-list On Wed, Dec 08, 2004 at 10:53:15PM +0900, Jacques Garrigue wrote: > From: Sven Luther <sven.luther@wanadoo.fr> > > > Now, it seems that the gtk people have botched something, and gtkglarea > > > have stopped working. If this is not solved soon, I suppose lablgtk2 > > > will have to move to gtkglext, and emulate gtkglarea on top of it (you > > > don't want API changes, do you?) > > > > Notice that this is not really true, look at the debian lablgtk2 package, it > > builds against lablgl, and everything works fine. > > > > Well, at least the GL examples work with lablgtk2. Lablgtk2 uses the > > libgtkgl2.0-dev package instead of the older gtkglarea ones though, but it > > seems to be the same stuff : > > As far as I can see, what you call libgtkgl2.0 happens to be what > others call gtkglarea-1.99, i.e. the gtk2-ized version of gtkglarea. > It seems that we are a few here experiencing problems with this > version and very recent versions of gtk2 (in my case, gtk-2.4.13). > So maybe you are not using the same version of gtk, or the debian > people have already solved the problem, or actually the cause is > different altogether (hard to guess). Well : $ dpkg -l | grep libgtk2.0-0 ii libgtk2.0-0 2.4.13-1 The GTK+ graphical user interface library But we have probably not rebuilded lablgtk or gtkglarea with it recently, let me check ... gtkgl2 (1.99.0-2) unstable; urgency=low ... -- Marcelo E. Magallon <mmagallo@debian.org> Sun, 11 May 2003 19:47:24 +0200 So, maybe there is a build problem, let me check and rebuild it locally to be sure. What exactly are the problems ? During the build of libgtkgl2, or during the build of lablgl ? Friendly, Sven Luther ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Caml-list] OpenGL support in LablGTK2? 2004-12-08 15:38 ` Sven Luther @ 2004-12-08 15:50 ` Sven Luther 2004-12-08 20:34 ` Grégory Guyomarc'h 2004-12-09 0:36 ` Jacques Garrigue 0 siblings, 2 replies; 25+ messages in thread From: Sven Luther @ 2004-12-08 15:50 UTC (permalink / raw) To: Sven Luther; +Cc: Jacques Garrigue, mgushee, caml-list On Wed, Dec 08, 2004 at 04:38:37PM +0100, Sven Luther wrote: > On Wed, Dec 08, 2004 at 10:53:15PM +0900, Jacques Garrigue wrote: > > From: Sven Luther <sven.luther@wanadoo.fr> > > > > Now, it seems that the gtk people have botched something, and gtkglarea > > > > have stopped working. If this is not solved soon, I suppose lablgtk2 > > > > will have to move to gtkglext, and emulate gtkglarea on top of it (you > > > > don't want API changes, do you?) > > > > > > Notice that this is not really true, look at the debian lablgtk2 package, it > > > builds against lablgl, and everything works fine. > > > > > > Well, at least the GL examples work with lablgtk2. Lablgtk2 uses the > > > libgtkgl2.0-dev package instead of the older gtkglarea ones though, but it > > > seems to be the same stuff : > > > > As far as I can see, what you call libgtkgl2.0 happens to be what > > others call gtkglarea-1.99, i.e. the gtk2-ized version of gtkglarea. > > It seems that we are a few here experiencing problems with this > > version and very recent versions of gtk2 (in my case, gtk-2.4.13). > > So maybe you are not using the same version of gtk, or the debian > > people have already solved the problem, or actually the cause is > > different altogether (hard to guess). > > Well : > > $ dpkg -l | grep libgtk2.0-0 > ii libgtk2.0-0 2.4.13-1 The GTK+ graphical user interface library > > But we have probably not rebuilded lablgtk or gtkglarea with it recently, let > me check ... > > gtkgl2 (1.99.0-2) unstable; urgency=low > > ... > > -- Marcelo E. Magallon <mmagallo@debian.org> Sun, 11 May 2003 19:47:24 +0200 > > So, maybe there is a build problem, let me check and rebuild it locally to be > sure. > > What exactly are the problems ? During the build of libgtkgl2, or during the > build of lablgl ? Both gtkgl2 and lablgl build without problems, so you may well want to look at the debian packages for the source of your problem. (Or simply run debian). Friendly, Sven Luther ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Caml-list] OpenGL support in LablGTK2? 2004-12-08 15:50 ` Sven Luther @ 2004-12-08 20:34 ` Grégory Guyomarc'h 2004-12-09 0:36 ` Jacques Garrigue 1 sibling, 0 replies; 25+ messages in thread From: Grégory Guyomarc'h @ 2004-12-08 20:34 UTC (permalink / raw) To: Sven Luther; +Cc: Caml List Hello, In my case, there is no problem with the build stage of either gtkglarea (libgtkgl2) or lablgtk2, but most of the examples provided with the gtkglarea library trigger an "X error". Regards, Gregory. On Wed, 8 Dec 2004 16:50:31 +0100, "Sven Luther" <sven.luther@wanadoo.fr> said: > On Wed, Dec 08, 2004 at 04:38:37PM +0100, Sven Luther wrote: > > On Wed, Dec 08, 2004 at 10:53:15PM +0900, Jacques Garrigue wrote: > > > From: Sven Luther <sven.luther@wanadoo.fr> > > > > > Now, it seems that the gtk people have botched something, and gtkglarea > > > > > have stopped working. If this is not solved soon, I suppose lablgtk2 > > > > > will have to move to gtkglext, and emulate gtkglarea on top of it (you > > > > > don't want API changes, do you?) > > > > > > > > Notice that this is not really true, look at the debian lablgtk2 package, it > > > > builds against lablgl, and everything works fine. > > > > > > > > Well, at least the GL examples work with lablgtk2. Lablgtk2 uses the > > > > libgtkgl2.0-dev package instead of the older gtkglarea ones though, but it > > > > seems to be the same stuff : > > > > > > As far as I can see, what you call libgtkgl2.0 happens to be what > > > others call gtkglarea-1.99, i.e. the gtk2-ized version of gtkglarea. > > > It seems that we are a few here experiencing problems with this > > > version and very recent versions of gtk2 (in my case, gtk-2.4.13). > > > So maybe you are not using the same version of gtk, or the debian > > > people have already solved the problem, or actually the cause is > > > different altogether (hard to guess). > > > > Well : > > > > $ dpkg -l | grep libgtk2.0-0 > > ii libgtk2.0-0 2.4.13-1 The GTK+ graphical user interface library > > > > But we have probably not rebuilded lablgtk or gtkglarea with it recently, let > > me check ... > > > > gtkgl2 (1.99.0-2) unstable; urgency=low > > > > ... > > > > -- Marcelo E. Magallon <mmagallo@debian.org> Sun, 11 May 2003 19:47:24 +0200 > > > > So, maybe there is a build problem, let me check and rebuild it locally to be > > sure. > > > > What exactly are the problems ? During the build of libgtkgl2, or during the > > build of lablgl ? > > Both gtkgl2 and lablgl build without problems, so you may well want to > look at > the debian packages for the source of your problem. (Or simply run > debian). > > Friendly, > > Sven Luther > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Caml-list] OpenGL support in LablGTK2? 2004-12-08 15:50 ` Sven Luther 2004-12-08 20:34 ` Grégory Guyomarc'h @ 2004-12-09 0:36 ` Jacques Garrigue 2004-12-09 14:17 ` Sven Luther 1 sibling, 1 reply; 25+ messages in thread From: Jacques Garrigue @ 2004-12-09 0:36 UTC (permalink / raw) To: sven.luther; +Cc: caml-list From: Sven Luther <sven.luther@wanadoo.fr> > > What exactly are the problems ? During the build of libgtkgl2, or > > during the build of lablgl ? > > Both gtkgl2 and lablgl build without problems, so you may well want > to look at the debian packages for the source of your problem. (Or > simply run debian). This is not a build problem, but an execution problem. Here is the message: The program 'lt-gtkglarea_demo' received an X Window System error. This probably reflects a bug in the program. The error was 'BadMatch (invalid parameter attributes)'. I don't know exactly what causes it. Maybe a problem with xorg (I switched recently), or with leftover libraries... But lablGL itself works fine (with both Togl and glut) (And no, I have no plan to run debian :-) Jacques Garrigue ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Caml-list] OpenGL support in LablGTK2? 2004-12-09 0:36 ` Jacques Garrigue @ 2004-12-09 14:17 ` Sven Luther 0 siblings, 0 replies; 25+ messages in thread From: Sven Luther @ 2004-12-09 14:17 UTC (permalink / raw) To: Jacques Garrigue; +Cc: sven.luther, caml-list On Thu, Dec 09, 2004 at 09:36:19AM +0900, Jacques Garrigue wrote: > From: Sven Luther <sven.luther@wanadoo.fr> > > > > What exactly are the problems ? During the build of libgtkgl2, or > > > during the build of lablgl ? > > > > Both gtkgl2 and lablgl build without problems, so you may well want > > to look at the debian packages for the source of your problem. (Or > > simply run debian). > > This is not a build problem, but an execution problem. > Here is the message: > The program 'lt-gtkglarea_demo' received an X Window System error. > This probably reflects a bug in the program. > The error was 'BadMatch (invalid parameter attributes)'. > > I don't know exactly what causes it. Maybe a problem with xorg (I > switched recently), or with leftover libraries... This may be it, i still run Debian's highly modified XFree86 4.3.0. > But lablGL itself works fine (with both Togl and glut) Ok. > (And no, I have no plan to run debian :-) Well, the suggestion was just so you can test it, and do a comparative study of both systems, but if you don't like debian, your loss. Friendly, Sven Luther ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Caml-list] OpenGL support in LablGTK2? 2004-12-08 0:33 ` Jacques Garrigue 2004-12-08 1:03 ` Matt Gushee 2004-12-08 10:03 ` Sven Luther @ 2004-12-24 1:56 ` Jacques Garrigue 2004-12-30 7:32 ` Matt Gushee 2 siblings, 1 reply; 25+ messages in thread From: Jacques Garrigue @ 2004-12-24 1:56 UTC (permalink / raw) To: caml-list Dear lablGL/lablgtk2 users, After a bit more testing, it seems that the problem with gtkglarea2 is not directly related to gtk, but rather to Xorg 6.7. That is, after upgrading to Xorg 6.8.1, the problem was solved. So I have no plans to switch to gtkglext anymore, as this doesn't seem so much worthwhile. Of course, if somebody is ready to do the job and provide a compatibility layer... Note that the situation with gtkglarea2 is strange, as there is no problem whatsoever with gtkglarea1, and the former is supposed to be just an adaptation of the latter. Jacques Garrigue ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Caml-list] OpenGL support in LablGTK2? 2004-12-24 1:56 ` Jacques Garrigue @ 2004-12-30 7:32 ` Matt Gushee 2004-12-31 9:30 ` Jacques Garrigue 0 siblings, 1 reply; 25+ messages in thread From: Matt Gushee @ 2004-12-30 7:32 UTC (permalink / raw) To: caml-list Jacques Garrigue wrote: > After a bit more testing, it seems that the problem with gtkglarea2 is > not directly related to gtk, but rather to Xorg 6.7. > That is, after upgrading to Xorg 6.8.1, the problem was solved. > So I have no plans to switch to gtkglext anymore, as this doesn't seem > so much worthwhile. Wow. Maybe I misunderstand, but are you really saying there's nothing to worry about? Now, it seems to me that you contribute a great deal to OCaml, and even if that weren't the case, you're still a volunteer developer. So of course you are under no obligation to add any requested features to your software, and I don't wish to suggest otherwise. But the above rationale seems horribly short-sighted. The problem is not so much that LablGTK depends on a *broken* package, as that it depends on an *unmaintained* one. That being the case: 1) at some point in the not-too-distant future, gtkglarea will likely become unusable due to incompatible changes in GTK itself. 2) already, at least some Linux distributions are lacking a gtkglarea2 package. Thus, lablgtk with OpenGL support can't be provided as a package for those distributions. Please don't be satisfied, just because the packages happen to build on your system today. -- Matt Gushee Englewood, CO, USA ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Caml-list] OpenGL support in LablGTK2? 2004-12-30 7:32 ` Matt Gushee @ 2004-12-31 9:30 ` Jacques Garrigue 2005-01-27 5:16 ` Matt Gushee 0 siblings, 1 reply; 25+ messages in thread From: Jacques Garrigue @ 2004-12-31 9:30 UTC (permalink / raw) To: mgushee; +Cc: caml-list From: Matt Gushee <mgushee@havenrock.com> > Jacques Garrigue wrote: > > > After a bit more testing, it seems that the problem with gtkglarea2 is > > not directly related to gtk, but rather to Xorg 6.7. > > That is, after upgrading to Xorg 6.8.1, the problem was solved. > > So I have no plans to switch to gtkglext anymore, as this doesn't seem > > so much worthwhile. > > Wow. Maybe I misunderstand, but are you really saying there's nothing to > worry about? Yes. > Now, it seems to me that you contribute a great deal to OCaml, and even > if that weren't the case, you're still a volunteer developer. So of > course you are under no obligation to add any requested features to your > software, and I don't wish to suggest otherwise. But the above rationale > seems horribly short-sighted. The problem is not so much that LablGTK > depends on a *broken* package, as that it depends on an *unmaintained* > one. That being the case: > > 1) at some point in the not-too-distant future, gtkglarea will likely > become unusable due to incompatible changes in GTK itself. Then something will have to be done about it at that time. But this has been the situation for already a few years, and gtkglarea2 is still working, so this doesn't seem a big concern. Note also that the great thing about free software is that anybody is allowed to fix a problem when it arises. > 2) already, at least some Linux distributions are lacking a gtkglarea2 > package. Thus, lablgtk with OpenGL support can't be provided as a > package for those distributions. You just have to create a gtkglarea2 package together with the lablgtk2 package. Not a big deal. Much less work than writing an interface for gtkglext and all the compatibility bindings (the compatibility bindings are the painful part.) > Please don't be satisfied, just because the packages happen to build on > your system today. I'm satisfied that the situation is not as bad as I feared. Note that some configurations breaking with gtk is not an unusual event. For instance, the GtkTree widget was unusable in 2.4.0, but fortunately this was promptly fixed. I know some people think that programmers should just adapt to the new APIs, but this can mean lots of work when they are structured differently, this is why keeping compatibility is important. Jacques Garrigue ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Caml-list] OpenGL support in LablGTK2? 2004-12-31 9:30 ` Jacques Garrigue @ 2005-01-27 5:16 ` Matt Gushee 2005-01-27 7:59 ` Jon Harrop 2005-01-27 10:24 ` Jon Harrop 0 siblings, 2 replies; 25+ messages in thread From: Matt Gushee @ 2005-01-27 5:16 UTC (permalink / raw) To: caml-list Hello, Jacques-- I owe you thanks for your patient response to my somewhat grouchy questioning. Sorry about the long delay; I just haven't been dealing well with e-mail lately. Jacques Garrigue wrote: > Then something will have to be done about it at that time. > But this has been the situation for already a few years, and > gtkglarea2 is still working, so this doesn't seem a big concern. > Note also that the great thing about free software is that anybody is > allowed to fix a problem when it arises. I certainly know that. Unfortunately, the people affected most by a problem aren't always in the best position to fix it. I guess I was frustrated because I would like to provide a complete package, and it happens that the problematic component is one that I really don't understand well. > You just have to create a gtkglarea2 package together with the > lablgtk2 package. I will probably provide gtkglarea as part of the lablgtk2 package. I don't think it's good policy to introduce new Linux packages whose upstream source is no longer maintained. > Not a big deal. Much less work than writing an > interface for gtkglext and all the compatibility bindings (the > compatibility bindings are the painful part.) I don't doubt it, and in principle I have always been a strong advocate of backwards compatibility. But in this case I wonder (as mentioned in an earlier post) how much it really matters. Are there in fact significant projects using LablGTK2 with OpenGL? > I'm satisfied that the situation is not as bad as I feared. Thanks for the clarification. > Note that some configurations breaking with gtk is not an unusual > event. Oh, yes, an old familiar story. Back around '98 or '99 I got very annoyed at the GTK development team: it seemed about once a month they would release a new "must-have" version that would break half the applications on my system, including--most ironically--the GIMP. Things have settled down a good deal since then. -- Matt Gushee Englewood, CO, USA ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Caml-list] OpenGL support in LablGTK2? 2005-01-27 5:16 ` Matt Gushee @ 2005-01-27 7:59 ` Jon Harrop 2005-01-27 10:24 ` Jon Harrop 1 sibling, 0 replies; 25+ messages in thread From: Jon Harrop @ 2005-01-27 7:59 UTC (permalink / raw) To: caml-list On Thursday 27 January 2005 05:16, Matt Gushee wrote: > Are there in fact significant projects using LablGTK2 with OpenGL? Yes! I've been working on a vector graphics library for the past few years. Over the last couple of years I have completely rewritten it entirely in ocaml. I intend to release my first commercial software product (a vector graphics editor for Linux and Mac OS X) soon. I have been using glut. Most of the GUI uses vector graphics. However, I'd like conventional load and save dialog boxes. So I am about to port the main program from lablglut to lablgtk2 just to provide this functionality. Please let me know if you think there will be any problem with this before I embark on the port! :-) I personally believe that many more people will start to develop GUI applications using OpenGL once they see what is possible. An OpenGL+GTK version of ocamlbrowser could be much better than the current implementation, for example. Cheers, Jon. ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Caml-list] OpenGL support in LablGTK2? 2005-01-27 5:16 ` Matt Gushee 2005-01-27 7:59 ` Jon Harrop @ 2005-01-27 10:24 ` Jon Harrop 1 sibling, 0 replies; 25+ messages in thread From: Jon Harrop @ 2005-01-27 10:24 UTC (permalink / raw) To: caml-list I think Jacques wrote: > > Not a big deal. Much less work than writing an > > interface for gtkglext and all the compatibility bindings (the > > compatibility bindings are the painful part.) If by "compatibility bindings" you mean extra bindings to let old code run using the new API, I for one would be more than willing to port my own code to the latest API to save you guys the hassle. Excellent job on GTK BTW - I'm just playing with it now! Cheers, Jon. ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Caml-list] OpenGL support in LablGTK2? 2004-12-06 22:21 OpenGL support in LablGTK2? Matt Gushee 2004-12-07 0:28 ` [Caml-list] " Olivier Andrieu @ 2004-12-07 10:10 ` malc 2004-12-07 15:30 ` briand 2 siblings, 0 replies; 25+ messages in thread From: malc @ 2004-12-07 10:10 UTC (permalink / raw) To: Matt Gushee; +Cc: caml-list On Mon, 6 Dec 2004, Matt Gushee wrote: > I was trying to compile LablGTK2 with GTKGlArea support, and I discovered > that I don't have the gtkglarea library. My Linux distribution (Arch) doesn't > provide the library for GTK2 ... and on further investigation it appears that > the gtkglarea project has vanished. Both the Freshmeat project page and the > developer's home page (at some university in Finland, it appears) are gone. > > So what's going to happen with this? Will LablGTK2 have an alternate way to > support OpenGL--or is there reason to believe that gtkglarea will return? > > Thanks for any info. :pserver:anonymous@anoncvs.gnome.org:/cvs/gnome module gtkglarea -- mailto:malc@pulsesoft.com ^ permalink raw reply [flat|nested] 25+ messages in thread
* [Caml-list] OpenGL support in LablGTK2? 2004-12-06 22:21 OpenGL support in LablGTK2? Matt Gushee 2004-12-07 0:28 ` [Caml-list] " Olivier Andrieu 2004-12-07 10:10 ` malc @ 2004-12-07 15:30 ` briand 2004-12-07 18:24 ` Matt Gushee 2 siblings, 1 reply; 25+ messages in thread From: briand @ 2004-12-07 15:30 UTC (permalink / raw) To: Matt Gushee; +Cc: caml-list 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. ?? Brian ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Caml-list] OpenGL support in LablGTK2? 2004-12-07 15:30 ` briand @ 2004-12-07 18:24 ` Matt Gushee 2004-12-07 18:48 ` Blair Zajac 0 siblings, 1 reply; 25+ messages in thread From: Matt Gushee @ 2004-12-07 18:24 UTC (permalink / raw) To: caml-list 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). Thanks anyway. -- Matt Gushee Englewood, CO, USA ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Caml-list] OpenGL support in LablGTK2? 2004-12-07 18:24 ` Matt Gushee @ 2004-12-07 18:48 ` Blair Zajac 0 siblings, 0 replies; 25+ messages in thread From: Blair Zajac @ 2004-12-07 18:48 UTC (permalink / raw) To: Matt Gushee; +Cc: caml-list 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/ ^ permalink raw reply [flat|nested] 25+ messages in thread
end of thread, other threads:[~2005-01-27 10:22 UTC | newest] Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2004-12-06 22:21 OpenGL support in LablGTK2? Matt Gushee 2004-12-07 0:28 ` [Caml-list] " Olivier Andrieu 2004-12-07 1:11 ` Matt Gushee 2004-12-07 9:51 ` Olivier Andrieu 2004-12-07 18:30 ` Matt Gushee 2004-12-07 21:36 ` Sven Luther 2004-12-08 0:33 ` Jacques Garrigue 2004-12-08 1:03 ` Matt Gushee 2004-12-08 10:03 ` Sven Luther 2004-12-08 13:53 ` Jacques Garrigue 2004-12-08 15:38 ` Sven Luther 2004-12-08 15:50 ` Sven Luther 2004-12-08 20:34 ` Grégory Guyomarc'h 2004-12-09 0:36 ` Jacques Garrigue 2004-12-09 14:17 ` Sven Luther 2004-12-24 1:56 ` Jacques Garrigue 2004-12-30 7:32 ` Matt Gushee 2004-12-31 9:30 ` Jacques Garrigue 2005-01-27 5:16 ` Matt Gushee 2005-01-27 7:59 ` Jon Harrop 2005-01-27 10:24 ` Jon Harrop 2004-12-07 10:10 ` malc 2004-12-07 15:30 ` briand 2004-12-07 18:24 ` Matt Gushee 2004-12-07 18:48 ` Blair Zajac
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox