Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71154 - media-libs/freeglut: install shipped documentation
Summary: media-libs/freeglut: install shipped documentation
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 154360 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-11-14 06:17 UTC by Marcel Lilienthal
Modified: 2009-09-17 08:30 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
openglut-doc ebuild (openglut-doc-0.6.3.ebuild,550 bytes, text/plain)
2004-11-23 06:51 UTC, Julien TIERNY
Details
Freeglut revision (freeglut-2.2.0-r1.ebuild,695 bytes, text/plain)
2004-11-23 06:53 UTC, Julien TIERNY
Details
Glut revision (glut-3.7.1-r3.ebuild,1.15 KB, text/plain)
2004-11-23 06:54 UTC, Julien TIERNY
Details
OpenGlut ebuild (openglut-0.6.3.ebuild,1.02 KB, text/plain)
2004-11-23 06:54 UTC, Julien TIERNY
Details
OpenGlut ebuild (openglut-0.6.3.ebuild,1.00 KB, text/plain)
2004-11-23 08:02 UTC, Julien TIERNY
Details
glut-3.7.1.ebuild (glut-3.7.1.ebuild,2.17 KB, text/plain)
2006-12-31 16:53 UTC, Ed Catmur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcel Lilienthal 2004-11-14 06:17:13 UTC
i'm trying to play around with opengl and glut. especially i want to be able to read the man-pages for the glut callback functions without being online ;)
but there aren't any man pages available for glut and even freeglut.

Reproducible: Always
Steps to Reproduce:
1. man glutSpecialFunc
2.
3.

Actual Results:  
no man page available

Expected Results:  
i should see the man page of glutSpecialFunc
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2004-11-16 17:36:35 UTC
I'd love to install freeglut man pages. Please, point me to where in the source they are and how to install them.
Comment 2 Julien TIERNY 2004-11-23 06:51:16 UTC
Created attachment 44564 [details]
openglut-doc ebuild
Comment 3 Julien TIERNY 2004-11-23 06:52:37 UTC
Freeglut developers have confirmed that no documentation was provided with the freeglut package in man page format.
Nevertheless, the OpenGlut project, based on freeglut, provides a single package dedicated to documentation and man pages.
So here's my deal :
   - I propose to add a dependency towards openglut-doc in glut and freeglut ebuilds, if the `doc` USE flag is set. You will find attached to that post an ebuild for openglut-doc and revisions for glut and freeglut.
   - Moreover, I wanted to try openglut so I wrote an ebuild for it as well (attached).

All of this stuff works on my box... just needs to be tested.
Feel free to join me if you see more elegant improvements.

++
julien

PS : I think openglut-doc better fits in the `dev-util` section than in the `media-libs`. What's your opinion donnie ?
Comment 4 Julien TIERNY 2004-11-23 06:53:50 UTC
Created attachment 44565 [details]
Freeglut revision
Comment 5 Julien TIERNY 2004-11-23 06:54:16 UTC
Created attachment 44566 [details]
Glut revision
Comment 6 Julien TIERNY 2004-11-23 06:54:38 UTC
Created attachment 44567 [details]
OpenGlut ebuild
Comment 7 Julien TIERNY 2004-11-23 08:02:42 UTC
Created attachment 44573 [details]
OpenGlut ebuild

Uncorrect use of dosym in previous version.
Comment 8 Donnie Berkholz (RETIRED) gentoo-dev 2004-11-23 08:41:49 UTC
FYI Julien, I'm already on the x11 alias.

A documentation package probably fits well in app-doc, don't you think.

I'm a little concerned that since freeglut and openglut are forks, the documentation could diverge (or already has) as the functionality does so it won't match what freeglut does. Thoughts?

When you're attaching changes to things, remember to use `diff -urN` to create a patch rather than attaching a complete file. Thanks.

What's the rationale for adding openglut to portage? Is there demand for it? Who's going to maintain it?
Comment 9 Julien TIERNY 2004-11-23 09:09:15 UTC
Sorry for having cc you, I forgot posts are distributed to internal gentoo lists.
Honestly, I've been a bit annoyed with the section where to put the openglut-doc ebuild.
Some dev-docs are sometimes in dev-util (gtk-doc), sometimes in the dev related field section (python-docs).
I wasn't aware of the `app-doc` section but it seems to be a better place :)

As for the freeglut VS openglut divergence, I think those libraries are compliant (I haven't read openglut documentation so far). In fact, this is a freeglut developer that pointed me to that documentation.
In my opinion, supporting openglut seems to be a better alternative than supporting freeglut, for the following reasons :
Last freeglut release in now one year old. The main developer dropped out (cf README file).
OpenGlut is a more active project (last release in October 2004) and this is clear that its policy is to extend freeglut. So, in term of features, I think OpenGlut is about to be more up-to-date.
At last, openglut website precises that their API is source-compatible with the official GLUT API. So I think we shouldn't be affraid of any documentation divergence.
I saw debian also provided a documenation package for GLUT. I contacted the developer in order to have a feedback but no answer yet...

As for the ebuild revision, I thought about a patch but... I also thought it worth a revision ;).
As for the rationale to support openglut, I think I brought answer element above ;)
I don't really know it there's a real user-demand for openglut... Maybe it could worth a vote post on gentoo forums ? What do you think about that ?

"Who's going to maintain it ?" : this is a more serious question. I guess you're terribly overflowed with x11 support. Honestly, I've no idea. I do not know how many people are in the x11-team. If it only dealt with me, I'd propose myself to maintain it but I guess it's not that easy :)

++
julien

Comment 10 Julien TIERNY 2004-11-25 03:27:29 UTC
Nota:
OpenGlut's ABI is not compatible with FreeGlut's one.
This leads to undesirable effects when shifting from FreeGlut to OpenGlut, for particular top-level applications.
For example, with torcs (this is the only case where I saw that), backface culling gets inverted (!) when shifting from FreeGlut to OpenGlut.
This means that, in the case OpenGlut would be supported by Gentoo, users would have to re-compile their 3D top-levels applications, which is very a serious issue.
Therefore, I think supporting OpenGlut would be a very good point but needs more investigations and reflections.

++
julien
Comment 11 Donnie Berkholz (RETIRED) gentoo-dev 2004-11-25 11:54:58 UTC
How about freeglut with glut? Have you seen anything there?
Comment 12 Julien TIERNY 2004-11-25 14:05:28 UTC
quoting Jamie Wilkinson (Debian Glut maintainer) in a discussion I had with him:
"the 2 are definitely source compatible, freeglut is intended to be a complete
replacement for GLUT. The documentation for GLUT will work with freeglut.
however, the documentation for GLUT is distributed under the same license as GLUT, 
so until freeglut makes some documentation to match, I'm not shipping any in Debian. That decision is up to you, of course, when packaging for Gentoo."

"OpenGlut and freeglut's goals are different, which means that OpenGlut may start introducing features not originally found in the original."

As for me, swithing from GLUT to freeglut (with no recompilings) makes no
visible difference (such as the bfc inversion ;)).
Comment 13 Donnie Berkholz (RETIRED) gentoo-dev 2005-05-24 01:21:08 UTC
No man pages here because there are none upstream. Feel free to file a bug with
them and post the URL here.
Comment 14 Donnie Berkholz (RETIRED) gentoo-dev 2006-11-07 11:16:23 UTC
*** Bug 154360 has been marked as a duplicate of this bug. ***
Comment 15 Michael Ploujnikov 2006-11-07 12:29:34 UTC
GLUT documentation downloadable, see bug #154395
Comment 16 Joshua Baergen (RETIRED) gentoo-dev 2006-12-30 09:49:24 UTC
(In reply to comment #15)
> GLUT documentation downloadable, see bug #154395
> 

But a pain to get installing.  Ebuilds are welcome :)
Comment 17 Ed Catmur 2006-12-31 16:53:24 UTC
Created attachment 105063 [details]
glut-3.7.1.ebuild

glut ebuild using tarball linked from bug 154395. Man page build/installation controlled by "doc" USE flag.
Comment 18 Ed Catmur 2006-12-31 16:57:59 UTC
(In reply to comment #13)
> No man pages here because there are none upstream. Feel free to file a bug with
> them and post the URL here.

Yah. URL to man pages is at bug 154395; they're for 3.7 not 3.7.1 but it's not like the functions have changed. 

Uh, submitter or dev please reopen this bug. Thanks.
Comment 19 Marcel Lilienthal 2007-01-01 04:33:29 UTC
> Uh, submitter or dev please reopen this bug. Thanks.
reopened. 

Comment 20 Tomáš Chvátal (RETIRED) gentoo-dev 2009-08-23 19:25:11 UTC
Just out of curiosity do we really really need those manpages?
Based on what i can see on their web they describe quite well the functions there...

The thing is that glut is going away and only freeglut is going to be around in gentoo.
Comment 21 Rémi Cardona (RETIRED) gentoo-dev 2009-09-17 08:30:31 UTC
freeglut does indeed ship html documentation and I don't mind the ebuild having a "doc" USE flag.

If anyone really wants this, please provide a proper patch to the latest version of freeglut's ebuild and we'll review it.

Thanks