@TheAifam5 the version is updated when you build the package and it currently is 3.0.4 not 3.1
Search Criteria
Package Details: glfw3-git 3.0.4.r379.g5c003d3-1
Package Actions
| Package Base: | glfw3-git |
|---|---|
| Description: | A free, open source, portable framework for OpenGL application development. (git version) |
| Upstream URL: | http://www.glfw.org/ |
| Category: | lib |
| Licenses: | |
| Conflicts: | |
| Submitter: | ekpyron |
| Maintainer: | ricardomv |
| Last Packager: | ricardomv |
| Votes: | 10 |
| First Submitted: | 2011-10-06 22:41 |
| Last Updated: | 2014-11-21 00:14 |
Required by (2)
Sources
Latest Comments
Comment by ricardomv
Comment by TheAifam5
@ricardomv
I flagged this package because you using MASTER tree, not specified version.
Change please branch name or change package version. Lastest version on git is not complete 3.1.
Check on website.
Comment by ricardomv
@TheAifam5 are you saying the package is out of date or asking to change the version string to another format? The commit id is the number after the 'g' in the version here in parenthesis 3.0.4.r303.g(5bbb837).
@ekpyron i will do that
Comment by ekpyron
https://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines
The only thing one might consider would be changing
git describe | sed "s/-/./g"
to
git describe --long | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
yielding 3.0.4.r303.g5bbb837, which is archlinux standard (in contrast to date or last commit id).
Comment by TheAifam5
change "3.0.4.303.g5bbb837" to date or last commit id.
Comment by axper
@costashatz
Fixed. Thanks!
Comment by costashatz
Needs "-DCMAKE_C_FLAGS = '-lpthread'" in cmake options in the PKGBUILD to compile examples..Cheers!
Comment by axper
Adopted, updated.
Comment by ekpyron
Actually the package version was just fine - it was last updated over a year ago :-). And at that time the now official repository did not yet exist, so I updated the PKGBUILD.
Comment by shuall
You should probably fix the year on your package version (2013).
Also, does elmindreda's repo have newer stuff or fixes in it as compared to the official repo: https://github.com/glfw/glfw ?
If not, you should probably give this package a different name, (maybe glfw3-elmindreda).
Comment by ekpyron
Finally after discussing the bug on the glfw bug tracker, it's fixed now, so I re-enabled the tests and examples (not that it really matters, as they are not installed anyways...).
Comment by ekpyron
I filed a bug report.
Comment by Svenstaro
If tests don't work for you, report it upstream so they can fix it.
Comment by ekpyron
I changed to the new repo and added -DBUILD_SHARED_LIBS (sorry for the delay). Anyways the tests and examples still don't build for me out of the box, so I kept them disabled.
Comment by Svenstaro
New upstream repo: git://github.com/elmindreda/glfw.git
The tests and stuff were fixed.
You now need to explicitly provide -DBUILD_SHARED_LIBS=YES
Comment by ekpyron
Disabled examples and tests. Compilation of those failed due to a missing "-lm"...