Package Details: glfw-git 3.3.r470.g56a4cb0a-1

Git Clone URL: (read-only, click to copy)
Package Base: glfw-git
Description: Free, open source, portable framework for OpenGL application development (git version)
Upstream URL:
Licenses: custom:zlib
Conflicts: glfw, glfw-wayland, glfw-x11
Provides: glfw, glfw-wayland, glfw-x11
Replaces: glfw-wayland-git, glfw-x11-git
Submitter: linkmauve
Maintainer: ricardomv (linkmauve)
Last Packager: linkmauve
Votes: 14
Popularity: 0.040809
First Submitted: 2015-07-10 23:14 (UTC)
Last Updated: 2021-10-24 18:38 (UTC)

Dependencies (16)

Required by (153)

Sources (1)

Pinned Comments

linkmauve commented on 2021-10-24 18:39 (UTC)

There, glfw-x11-git and glfw-wayland-git are no more, glfw-git now replaces them!

Latest Comments

linkmauve commented on 2021-10-24 18:39 (UTC)

There, glfw-x11-git and glfw-wayland-git are no more, glfw-git now replaces them!

sl1pkn07 commented on 2021-10-17 15:56 (UTC) (edited on 2021-10-17 15:56 (UTC) by sl1pkn07)

seems now can build wayland and xorg support in the same package

4censord commented on 2020-10-15 20:12 (UTC)

It doesnt build without having meson installed.

Log: /bin/sh: meson: command not found make[2]: [src/CMakeFiles/libdecoration.dir/build.make:125: src/extern/libdecoration/src/libdecoration-stamp/libdecoration-configure] Error 127 make[1]: [CMakeFiles/Makefile2:143: src/CMakeFiles/libdecoration.dir/all] Error 2 make: *** [Makefile:149: all] Error 2

eschwartz commented on 2020-01-15 13:23 (UTC)


optdepends are NOT an appropriate way to list a package with optional build-time features. optdepends MUST only be used for things that are optional at runtime, specifically.

Furthermore, makepkg won't even show you optdepends, so you won't even see it until you try to install the result with pacman, unless you read the PKGBUILD (you should) in which case it should be listed as commented out in the PKGBUILD, as the makedepends that it is.

The feature you are looking for is called Gentoo USE flags, makepkg does not support this use case, and if you wish to do so anyway you can add a flag variable at the top of the PKGBUILD which requires manual editing.

Please fix this broken package immediately.

thaewrapt commented on 2020-01-15 11:58 (UTC)

The build can't complete somehow when 'doxygen' is not installed. I suggest moving it from optdepends to makedepends as a workaround, so html docs are always built.

commented on 2019-04-18 16:45 (UTC)

Oh, thanks, could you please change the version of the package though, most AUR helpers only update packages when the version changes, so it would be nice if you could change the version to the version of the git repository(3.3) instead of the current one of 3.2.1 so it would trigger AUR helpers to update this package when the user does an update.

linkmauve commented on 2019-04-17 10:24 (UTC)

Hi, as you can see, this is a -git package, it gets updated to git master whenever you run makepkg again. If you want to use 3.3, use the package in community.

commented on 2019-04-17 09:49 (UTC)

Hey just curious if this package will get updated to glfw 3.3?

linkmauve commented on 2018-12-20 19:36 (UTC)

Fixed, thanks both of you. :)

ewtoombs commented on 2018-12-20 19:32 (UTC)

Error1000: I had the same problem. I did the same fix.

commented on 2018-12-20 09:13 (UTC)

Due to a change in the way pacman handels /usr/lib64 and symlinks, i had a problem installing it saying that /usr/lib64 exists in filesystem, and the fix was installing this package in /usr/lib instead of /usr/lib64 which is probably a better default anyways, so to do that i added the line: -DCMAKE_INSTALL_LIBDIR=/usr/lib to cmake which should fix the problem.

ewtoombs commented on 2018-12-16 18:57 (UTC) (edited on 2018-12-17 15:03 (UTC) by ewtoombs)

One of the latest commits has broken the build process. This fixes it:

diff --git a/PKGBUILD b/PKGBUILD
index de645a2..b618414 100644
@@ -33,6 +33,7 @@ build() {
     -Wno-dev \
@@ -43,6 +44,7 @@ build() {
     -Wno-dev \

Also, hey, linkmauve. How's it goin'?

refi.64 commented on 2018-04-06 18:39 (UTC)

Shouldn't these builds me in release mode? E.g.:

cmake \

linkmauve commented on 2018-03-06 08:23 (UTC)

Fixed, thanks. :)

coderobe commented on 2018-03-06 02:57 (UTC)

If I'm not mistaken, 'glfw-x11-git' and 'glfw-wayland-git' should explicitly provide (and conflict) with 'glfw-x11' and 'glfw-wayland' respectively, in addition to just 'glfw'.

linkmauve commented on 2018-02-06 11:41 (UTC)

Hi, all of this is now fixed, and more (see git log for more information). Please report any other issue you may have with this package.

As for the “very very poorly maintained” comment, I have only been added as a co-maintainer last week, and had to go to XMPP Summit and FOSDEM shortly after. It is unreasonable to ask for maintainers to be responsive all the time, as we all do have other commitments.

anthraxx commented on 2018-02-06 10:19 (UTC)

Two maintainers and still not fixed properly like Eschwartz proposed. I will wait another day and then orphan this package per request, very very poorly maintained.

eschwartz commented on 2018-01-29 00:36 (UTC) (edited on 2018-01-29 00:37 (UTC) by eschwartz)

Please do not fix installation errors by making the PKGBUILD legally forbidden to exist in the AUR. The License guidelines exist for a reason, and you need to install them.

The fact that you simply removed the license altogether rather than looking to see where it went, implies to me that you aren't really actually maintaining it -- would you like me to orphan this pkgbase so people who care can maintain it instead? The license was moved from COPYING.txt to, as you can easily tell if you just look in the source directory once. (I hope you do, if you consider yourself a responsible maintainer.)

While you are at it, please fix the build() function. By which I mean, please add one. The package_*() functions should just be running make DESTDIR="$pkgdir" install, and the cmake [...] and make invocations should be done in a single unified build function.

boojum commented on 2017-11-30 14:07 (UTC)

Please fix the PKGBUILD: install: cannot stat '../COPYING.txt': No such file or directory

linkmauve commented on 2016-06-02 15:51 (UTC)

Now that GLFW 3.2 is released, please update the provides variable to 3.3 instead.

linkmauve commented on 2016-04-19 21:07 (UTC)

I pushed a new version here, with e-c-m and wayland-protocols in makedepends and Vulkan in optdepends, feel free to pull: Thanks for the notice Marqin!

Marqin commented on 2016-04-19 19:48 (UTC)

You should add extra-cmake-modules to makedeps, build failed for me without it.

linkmauve commented on 2015-07-19 18:44 (UTC)

According to their website ( and previous versioning scheme, the next major version will be 3.2.

ricardomv commented on 2015-07-19 17:32 (UTC)

@linkmauve i see, but it looks like current version in git is 3.1.2 i think i will update to that

linkmauve commented on 2015-07-19 16:57 (UTC)

The reason I set the provided version to 3.2 is that the API changed quite a bit since 3.1, and will eventually end up as the released 3.2, so it doesn’t really make sense to advertize 3.1.1.

ricardomv commented on 2015-07-19 16:49 (UTC)

@linkmauve Thanks for the improvements, i have now updated and renamed the package.

linkmauve commented on 2015-07-10 23:48 (UTC)

Hi, I updated a few things in your PKGBUILD, mainly to provide a Wayland version alongside the X11 one, and to fix a few issues. I also renamed it to glfw-git instead of glfw3-git, to be coherent with the package from community, it’d be nice if you could ask for a package rename before pulling my changes. My repository is here, feel free to pull: And thanks for maintaining this package. :)

ricardomv commented on 2014-11-22 18:07 (UTC)

@TheAifam5 the version is updated when you build the package and it currently is 3.0.4 not 3.1

theaifam5 commented on 2014-11-22 13:39 (UTC)

@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.

ricardomv commented on 2014-11-21 00:11 (UTC)

@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

ekpyron commented on 2014-11-20 20:03 (UTC) 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).

theaifam5 commented on 2014-11-20 19:10 (UTC)

change "" to date or last commit id.

axper commented on 2014-01-23 17:35 (UTC)

@costashatz Fixed. Thanks!

costashatz commented on 2014-01-23 17:21 (UTC)

Needs "-DCMAKE_C_FLAGS = '-lpthread'" in cmake options in the PKGBUILD to compile examples..Cheers!

axper commented on 2013-10-04 13:29 (UTC)

Adopted, updated.

ekpyron commented on 2013-04-30 11:44 (UTC)

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.

shuall commented on 2013-04-29 20:31 (UTC)

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: ? If not, you should probably give this package a different name, (maybe glfw3-elmindreda).

ekpyron commented on 2012-04-19 15:12 (UTC)

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...).

ekpyron commented on 2012-04-14 15:01 (UTC)

I filed a bug report.

Svenstaro commented on 2012-04-14 14:36 (UTC)

If tests don't work for you, report it upstream so they can fix it.

ekpyron commented on 2012-04-14 13:47 (UTC)

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.

Svenstaro commented on 2012-04-12 17:40 (UTC)

New upstream repo: git:// The tests and stuff were fixed. You now need to explicitly provide -DBUILD_SHARED_LIBS=YES

ekpyron commented on 2011-12-13 02:43 (UTC)

Disabled examples and tests. Compilation of those failed due to a missing "-lm"...