Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37687 - glew-1.1.4.ebuild (New Package)
Summary: glew-1.1.4.ebuild (New Package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Joshua Baergen (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
: 100331 (view as bug list)
Depends on:
Blocks: 100424
  Show dependency tree
 
Reported: 2004-01-09 06:17 UTC by Derek Young
Modified: 2006-04-29 10:44 UTC (History)
10 users (show)

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


Attachments
glew-1.1.4.ebuild (glew-1.1.4.ebuild,853 bytes, text/plain)
2004-01-09 06:18 UTC, Derek Young
Details
slightly modified ebuild (glew-1.1.4.ebuild,874 bytes, text/plain)
2004-01-10 12:46 UTC, Derek Young
Details
ebuild for GLEW 1.2.5. (glew-1.2.5.ebuild,738 bytes, text/plain)
2004-12-25 00:45 UTC, Philip Allison
Details
CFLAGS version of glew-1.2.5.eduild (glew-1.2.5.ebuild,565 bytes, text/plain)
2005-01-04 07:45 UTC, Wojciech Milkowski
Details
CFLAGS version of glew-1.2.5.ebuild (glew-1.2.5.ebuild,569 bytes, text/plain)
2005-01-04 13:30 UTC, Wojciech Milkowski
Details
glew-1.3.1 (glew-1.3.1.ebuild,569 bytes, text/plain)
2005-01-07 10:44 UTC, Wojciech Milkowski
Details
GLEW v1.3.2 ebuild (glew-1.3.2.ebuild,1.14 KB, application/octet-stream)
2005-05-13 16:17 UTC, Lawrence Lee
Details
GLEW v1.3.2 ebuild (glew-1.3.2.ebuild,1.23 KB, text/plain)
2005-05-13 16:25 UTC, Lawrence Lee
Details
glew-1.3.3.ebuild Based on the 1.3.2 ebuild, with a new USE-flag for triggering spec file downloading. Testing would be appreciated. (glew-1.3.3.ebuild,1.54 KB, text/plain)
2005-07-12 15:14 UTC, Joshua Baergen (RETIRED)
Details
Proposed ebuild of glew-1.3.4 (glew-1.3.4-r1.ebuild,1.09 KB, text/plain)
2006-04-29 06:35 UTC, Mikhail Lyossin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Derek Young 2004-01-09 06:17:28 UTC
The OpenGL Extension Wrangler Library (GLEW).  A library that generates code to make it possible to write portable applications that use OpenGL extensions.  Check it out at http://glew.sourceforge.net

This simple ebuild builds the code and installs the .so and documentation.

I guess this would be place in media-libs/glew.  Depends on wget to build.
Comment 1 Derek Young 2004-01-09 06:18:40 UTC
Created attachment 23460 [details]
glew-1.1.4.ebuild
Comment 2 Derek Young 2004-01-10 12:46:47 UTC
Created attachment 23565 [details]
slightly modified ebuild

The original ebuild installed in /lib /bin and /include.  This small change
installs correctly in /usr/lib, /usr/bin, and /usr/include.
Comment 3 Vinícius Dias dos Santos 2004-09-14 14:54:45 UTC
glew-1.2.4 is out.
just changed the ebuild name and it seems to work so far.
Comment 4 Charles Moad 2004-11-08 15:27:34 UTC
I was looking to add this into the portage tree as well.  Does it normally take this long to add a new ebuild?
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2004-11-08 15:49:42 UTC
It does when there's an extreme shortage of people with spare time, some knowledge and an interest in a given area (e.g., X). =\

Also, I think it's important to ensure there's some demand for an ebuild before adding it. I do see a few CC's here and comments from a few people.
Comment 6 Charles Moad 2004-11-09 04:15:30 UTC
I didn't mean to come across as impatient, I was just honestly curious to the turn-around time.  I wasn't even aware that ebuilds require a moderate backing to be placed in the main tree.
In any case, this package will surely start drawing more demand since it is a very useful tool for GPU programming in linux.  The latest nvidia drivers finally support the GL shading language, so I suspect people will start looking for this in portage.
Thanks,
Comment 7 Seemant Kulleen (RETIRED) gentoo-dev 2004-11-09 10:22:23 UTC
Stefan's into that sorta stuff.
Comment 8 Philip Allison 2004-12-14 14:45:58 UTC
Someone please put this in the main portage tree!

I'm not doing much under OpenGL on Linux ATM, due to having an AMD64 and an ATI card, but I'm currently doing a fair bit with MinGW, using GLEW and <a href="http://bugs.gentoo.org/show_bug.cgi?id=66532">GLFW</a>.

This is a v. handy dev lib, Gentoo *is* a development platform, isn't it? :)

P.S. they're now at ver. 1.2.5.
Comment 9 Philip Allison 2004-12-25 00:45:25 UTC
Created attachment 46853 [details]
ebuild for GLEW 1.2.5.

Added a new ebuild:
- Version bumped to 1.2.5
- Uses doins, dobin etc. rather than "make install"
- Added "doc" USE flag
- Removed auto code generation step, as it is length & not strictly necessary
  - This makes the wget dependency unnecessary
- Added "~amd64" keyword (I have an AMD64; it built no problem)
Comment 10 Wojciech Milkowski 2005-01-04 07:43:05 UTC
I made other ebuild, which uses CFLAGS defined in make.conf.
Comment 11 Wojciech Milkowski 2005-01-04 07:45:00 UTC
Created attachment 47589 [details]
CFLAGS version of glew-1.2.5.eduild
Comment 12 Wojciech Milkowski 2005-01-04 07:49:23 UTC
This package is licensed also under GLX license details here:
http://glew.sourceforge.net/glx.txt
Comment 13 Wojciech Milkowski 2005-01-04 13:30:16 UTC
Created attachment 47644 [details]
CFLAGS version of glew-1.2.5.ebuild

I fixed bad patch to instalation directory (missing "/usr" in GLEW_DEST). BTW
is there any possibility to add this library to partage - it's extremly useful
for people that uses newer OpenGL extensions like OpenGL Shading Language, like
I do.
Comment 14 Wojciech Milkowski 2005-01-07 10:44:06 UTC
Created attachment 47876 [details]
glew-1.3.1

New version that supports core OpenGL 2.0 functionality, custom code generation
for lean and mean applications, and a new function for efficient string-based
extension queries.
Comment 15 Robert Schuster 2005-01-28 06:21:23 UTC
glew-1.3.0 ebuild works fine here (x86). The revived sdljava library depends on glew. Would be nice to have it in portage.
Comment 16 Wojciech Milkowski 2005-02-11 16:46:50 UTC
Comment on attachment 47876 [details]
glew-1.3.1

Version bump to 1.3.1
Comment 17 Charles Moad 2005-03-28 09:05:48 UTC
Version 1.3.2.  Previous ebuild works fine.
Comment 18 Terrence Cole 2005-05-06 16:51:25 UTC
I also would very much like to see GLEW added to portage.
Comment 19 Donnie Berkholz (RETIRED) gentoo-dev 2005-05-06 17:03:59 UTC
See the first half of comment #5. Anyone who wants to be an X dev and who is reasonably qualified, feel free to email me.
Comment 20 Lawrence Lee 2005-05-13 16:17:49 UTC
Created attachment 58843 [details]
GLEW v1.3.2 ebuild

New ebuild for version 1.3.2 of GLEW.  I've improved on the preceeding ebuilds
a bit, mostly as far as the licensing and architechture flags are concerned.
Comment 21 Lawrence Lee 2005-05-13 16:25:39 UTC
Created attachment 58845 [details]
GLEW v1.3.2 ebuild

Hmm, botched that a bit.  Now added the section that replaces the CFLAGS.
Comment 22 Joshua Baergen (RETIRED) gentoo-dev 2005-05-13 18:35:37 UTC
Hey, just looking over your ebuild, a few questions, especially since I'm not particularly familiar with this lib:

1) Is the symlink to so-1.3 necessary?
2) Is it necessary to download the "registry" txts every build?  This makes the ebuild volatile, since a bad download could cause some issues...a better solution would be to take a snapshot of the "registry" and have that downloaded as a source file instead...
3) What issues did parallel builds produce?

Other than that it looks well written.  I'm assuming wget is required for those files, and that CFLAGs weren't applying before the Makefile was patched?
Comment 23 Lawrence Lee 2005-05-14 03:58:35 UTC
1).  I am not sure that the symlink is neccessary.  however, the build itself produces it, so I thought it best to include it.

2).  A more elegant solution to downlaoding the registry texts every time would be to add a flag that could enable this if desired.  I'll take a look to see if there is already one that would suit this, or do you know of one offhand?
As to the solution you mentioned, I personally don't want to implement it, since the way it's done now is taken care of by the makefile in the "auto" directory.  Anything else would take a lengthly rewrite which I'm not sure how to do.  Feel free to implement it yourself however =)

3).  The parallel make caused the ebuild to fail with the message that it could not find -lglew when linking.
Comment 24 Joshua Baergen (RETIRED) gentoo-dev 2005-05-14 09:33:27 UTC
Well, I guess the question is: how often are the registry texts updated?  Is it with every version release, or more often?  And how important is it to keep them up to date?  I'd prefer to do something like Glibc, where a snapshot is taken from time to time.
Comment 25 Mikhail Lyossin 2005-06-23 05:32:17 UTC
(In reply to comment #5) 
> It does when there's an extreme shortage of people with spare time, some 
knowledge and an interest in a given area (e.g., X). =\ 
>  
> Also, I think it's important to ensure there's some demand for an ebuild 
before adding it. I do see a few CC's here and comments from a few people. 
 
I am also developing X apps under gentoo and it would be nice to see this lib 
in portage... 
Comment 26 Joshua Baergen (RETIRED) gentoo-dev 2005-07-12 14:32:02 UTC
Stefan, I didn't notice that this had been assigned to you.  I've been doing
some work on this ebuild, but if you're going to maintain it I can give you what
I have and stay out of your way :P
Comment 27 Joshua Baergen (RETIRED) gentoo-dev 2005-07-12 14:40:35 UTC
Nevermind, I'm just a Bugzilla n00b.  Re-assigning to myself.  I'll add a new
ebuild attachment shortly for a small testing run.
Comment 28 Joshua Baergen (RETIRED) gentoo-dev 2005-07-12 15:14:24 UTC
Created attachment 63275 [details]
glew-1.3.3.ebuild

Based on the 1.3.2 ebuild, with a new USE-flag for triggering spec file downloading.  Testing would be appreciated.
Comment 29 Joshua Baergen (RETIRED) gentoo-dev 2005-07-12 15:20:29 UTC
Of course, keyword = USE-flag if anyone's confused.
Comment 30 Jakub Moc (RETIRED) gentoo-dev 2005-07-26 02:00:27 UTC
*** Bug 100331 has been marked as a duplicate of this bug. ***
Comment 31 Joshua Baergen (RETIRED) gentoo-dev 2005-07-26 22:01:49 UTC
Alright, I just added this package to the Portage tree as ~x86.  Barring any
issues I'll get the relevant arch teams involved in adding the rest of the keywords.

Thanks for all your work :)
Comment 32 Mikhail Lyossin 2006-04-29 06:35:47 UTC
Created attachment 85763 [details]
Proposed ebuild of glew-1.3.4

Makefile patched to remove -s argument of install command.
Otherwise it would strip all symbols from almost everything, without any attention to FEATURES="nostrip" flag. As a result, it produced unusable static library, with noting in it.
Now, depending from FEATURES="nostrip" flag, ebuild itself stripes symbols or not.
Comment 33 Joshua Baergen (RETIRED) gentoo-dev 2006-04-29 10:44:32 UTC
(In reply to comment #32)
> Created an attachment (id=85763) [edit]
> Proposed ebuild of glew-1.3.4
> 

Change added to Portage in 1.3.4-r1, thanks.

Next time, please file a new bug with this sort of information, and attached a diff against the old ebuild version.  It makes things easier to track :)