Bug 36783 - freeglut-2.2.0.ebuild (New Package)
Bug#: 36783 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: x11@gentoo.org Reported By: tamer@tammura.at
Component: Ebuilds
URL: 
Summary: freeglut-2.2.0.ebuild (New Package)
Keywords:  
Status Whiteboard: 
Opened: 2003-12-29 22:55 0000
Description:   Opened: 2003-12-29 22:55 0000
Hi!

Please find attached freeglut-2.2.0.ebuild.

freeglut is a completely OpenSourced alternative to the OpenGL Utility Toolkit (GLUT) library. Different to the original glut library it is actively developed, maintained and doesn't have the license restrictions (X11) that doesn't allow one to modify the codebase.

Check http://freeglut.sourceforge.net/ for more information.

I added a blocker against a possibly installed glut lib. the same should be added for the glut ebuild against freeglut as they share the same library name libglut.

the demo sources are installed in the demos directory of the doc directory.

I suggested media-libs as category as the original glut library also resides there.

i decided to mask the package until somebody verifies that it also works for him. (currently only tested on x86)

hope i did get my first ebuild right ;),
  tamer.


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

------- Comment #1 From Tamer Fahmy 2003-12-29 22:57:25 0000 -------
Created an attachment (id=22835) [details]
freeglut-2.2.0.ebuild

------- Comment #2 From SpanKY 2003-12-30 06:51:53 0000 -------
the blocker would be best if it was !virtual/glut

media-libs/glut isnt the only glut provider

------- Comment #3 From Tamer Fahmy 2003-12-30 14:57:40 0000 -------
Created an attachment (id=22876) [details]
revised freeglut-2.2.0.ebuild

------- Comment #4 From Tamer Fahmy 2003-12-30 14:59:49 0000 -------
true! attached new revised version.

tamer.

------- Comment #5 From James Jones 2003-12-30 17:38:21 0000 -------
This compiles and runs just fine, but one question... Do we want all the demos
installed into the docs directory?

>>> /usr/share/doc/freeglut-2.2.0/demos/
>>> /usr/share/doc/freeglut-2.2.0/demos/One/
>>> /usr/share/doc/freeglut-2.2.0/demos/One/one.c.gz
>>> /usr/share/doc/freeglut-2.2.0/demos/Lorenz/
>>> /usr/share/doc/freeglut-2.2.0/demos/Lorenz/lorenz.c.gz
>>> /usr/share/doc/freeglut-2.2.0/demos/Fractals/
>>> /usr/share/doc/freeglut-2.2.0/demos/Fractals/fractals.dat.gz
>>> /usr/share/doc/freeglut-2.2.0/demos/Fractals/fractals.c.gz
>>> /usr/share/doc/freeglut-2.2.0/demos/Fractals/fractals_random.c.gz
>>> /usr/share/doc/freeglut-2.2.0/demos/shapes/
>>> /usr/share/doc/freeglut-2.2.0/demos/shapes/shapes.c.gz
>>> /usr/share/doc/freeglut-2.2.0/demos/CallbackMaker/
>>> /usr/share/doc/freeglut-2.2.0/demos/CallbackMaker/CallbackMaker.c.gz

That seems a mighty odd place to put them, if they're even wanted.

------- Comment #6 From Tamer Fahmy 2004-01-02 23:10:42 0000 -------
hmm, possibly not. i believe the ebuild should be just as fine without. should
i upload another revised version or is it ok for you to remove the part from
DEMODIR on in src_install()?

greets,
  tamer.

------- Comment #7 From Tamer Fahmy 2004-01-13 09:17:02 0000 -------
Created an attachment (id=23742) [details]
freeglut-2.2.0.ebuild

------- Comment #8 From Tamer Fahmy 2004-01-13 09:17:56 0000 -------
added revised freeglut-2.2.0.ebuild that removes the examples.

------- Comment #9 From Donnie Berkholz 2004-03-17 11:21:55 0000 -------
Bryan: ping. Here's your ebuild -- run some QA.

------- Comment #10 From Bryan Stine 2004-03-18 09:47:52 0000 -------
Almost everything looks alright, but the copyright header should read 2004 now.
Reading through the installation instructions on the freeglut website I see a
step involving symlinks for replacing the real glut. I'm not a freeglut user,
so I don't know if this is necessary. Please enlighten me.

------- Comment #11 From James Jones 2004-03-18 10:30:09 0000 -------
Bryan,

I am a freeglut developer, and - wow - that documentation is wrong. Good thing it's optional. We don't even build libfreeglut anymore. Expect it gone soon.

This build should work just fine. It installs the correct libraries (some of these are symlinks, of course):

/usr/lib/libglut.so.3.8.0
/usr/lib/libglut.so.3
/usr/lib/libglut.so
/usr/lib/libglut.la
/usr/lib/libglut.a

Should someone change the copyright notice on the ebuild and reattach it otherwise verbatim, or does that not matter?

------- Comment #12 From Bryan Stine 2004-03-18 10:57:26 0000 -------
I can change it upon commit when repoman reminds me.

------- Comment #13 From Donnie Berkholz 2004-03-18 11:10:11 0000 -------
Bryan, make sure you check the Fedora RPM for any patches, if you haven't
already. Some might be useful.

------- Comment #14 From Bryan Stine 2004-03-18 11:51:15 0000 -------
I've checked their 2.2.0-0.10 srpm and it doesn't appear to have any patches.

------- Comment #15 From Krzysiek Pawlik 2004-06-30 04:42:38 0000 -------
I have succesfuly build freeglut using third version of ebuild (dated
2004-01-13), when it will be put in portage tree?

------- Comment #16 From Simone Gotti (RETIRED) 2004-07-15 06:02:51 0000 -------
The ebuilds works well on my system too. Thanks!
It works with gcc 3.4 too.

Please add it to the portage tree.

------- Comment #17 From Donnie Berkholz 2004-07-15 11:11:12 0000 -------
Thanks for your comments. I'm interested in getting this into the tree, but
unfortunately I haven't had time yet.

------- Comment #18 From Donnie Berkholz 2004-07-31 13:38:05 0000 -------
Bryan: got time to get this in today or tomorrow? If not, I'll try to.

------- Comment #19 From Bryan Stine 2004-08-01 15:53:01 0000 -------
Added to portage.