Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90098 - New EBuild: GLFW 2.5.0
Summary: New EBuild: GLFW 2.5.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-22 20:36 UTC by Scott 'me22' McMurray
Modified: 2005-05-15 21:14 UTC (History)
0 users

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


Attachments
New ebuild for GLFW 2.5.0 (glfw-2.5.0.ebuild,1.70 KB, text/plain)
2005-04-22 20:37 UTC, Scott 'me22' McMurray
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Scott 'me22' McMurray 2005-04-22 20:36:29 UTC
GLFW is now at release 2.5.0 ( http://glfw.sf.net/ )

Unfortunatly there are a few issues that make simply copying the 2.4.2 ebuild not work.  Also note that the ebuild uses an inelegant manipulation to move glfw-2.5 to glfw-2.5.0 since the new package has its files in glfw-2.5 instead of 2.5.0 where we'd like it.  The download file is named with 2.5.0, however.  I added a fairly extensive comment to the ebuild that probably explains better.  The hack doesn't use any magic constants though, so would hopefully work with furure releases.

I left the keyword as x86 ( same as 2.4.2 ), although it might need to be ~x86 ( It worked on my machine, but that obviously means little. )  The code is supposed to work on OSX as well, but I don't have the hardware or ebuild skills to implement what's nessesary for that.  It also includes binding to other languages that I don't know what to do with.

I also replaced the hard-coded example files lists I used in the 2.4.2 ebuild with some find lines.  It's more general now, but if using find in that manner is unacceptable I can go back to the explicit method.

Reproducible: Always
Steps to Reproduce:
Comment 1 Scott 'me22' McMurray 2005-04-22 20:37:45 UTC
Created attachment 56967 [details]
New ebuild for GLFW 2.5.0
Comment 2 Cedric Pinson 2005-05-05 11:27:18 UTC
It could be really fine to add a glfw.pc in /usr/lib/pkgconfig/ in order to help developpers using this lib.
Comment 3 Scott 'me22' McMurray 2005-05-05 20:48:00 UTC
I'm fairly sure there isn't one included, nor do I know what's involved in creating one.

One related new thing in this version: I included the Makefile.x11 for the example programs in the examples directory.  It's set up to include the CFLAGS and LFLAGS, so developers can consult that.

me22gentoo ~ $ head -n 6 /usr/share/doc/glfw-2.5.0/examples/Makefile.x11
##########################################################################
# Automatically generated Makefile for GLFW
##########################################################################
CC     = gcc
CFLAGS = -I../include -I/usr/X11R6/include -O3 -ffast-math -Wall
LFLAGS = -L../lib/x11  -L/usr/X11R6/lib -lglfw -lGLU -lGL -lX11 -lXxf86vm -lXext -lpthread -lm

If somebody could give a pointer on how to make a patch or something for the makefile that would help make a glfw.pc, I'd be willing...
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2005-05-15 21:14:52 UTC
version bumped in portage.  Thanks for the bug report.