notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
glew-wayland OpenGL Extension Wrangler Library
2.2.0_3 graphics on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.2.0_3Version of this port present on the latest quarterly branch.
Maintainer: jbeich@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2019-11-14 00:43:27
Last Update: 2022-07-20 12:48:14
Commit Hash: 2948687
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
Also Listed In: wayland
License: MIT BSD3CLAUSE
WWW:
https://glew.sourceforge.net/
Description:
The goal of the OpenGL Extension Wrangler Library (GLEW) is to assist C/C++ OpenGL developers with two tedious tasks: initializing and using extensions and writing portable applications. GLEW provides an efficient run-time mechanism to determine whether a certain extension is supported by the driver or not. OpenGL core and extension functionality is exposed via a single header file.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (16 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/glew-wayland-2.2.0_3/catalog.mk
  3. /usr/local/share/licenses/glew-wayland-2.2.0_3/LICENSE
  4. /usr/local/share/licenses/glew-wayland-2.2.0_3/MIT
  5. /usr/local/share/licenses/glew-wayland-2.2.0_3/BSD3CLAUSE
  6. bin/glewinfo-wayland
  7. bin/visualinfo-wayland
  8. include/GL/eglew.h
  9. lib/libGLEW-wayland.a
  10. lib/libGLEW-wayland.so
  11. lib/libGLEW-wayland.so.2
  12. lib/libGLEW-wayland.so.2.2.0
  13. libdata/pkgconfig/glew-wayland.pc
  14. @owner
  15. @group
  16. @mode
Collapse this list.
Dependency lines:
  • glew-wayland>0:graphics/glew-wayland
To install the port:
cd /usr/ports/graphics/glew-wayland/ && make install clean
To add the package, run one of these commands:
  • pkg install graphics/glew-wayland
  • pkg install glew-wayland
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: glew-wayland
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1584273239 SHA256 (glew-2.2.0.tgz) = d4fc82893cfb00109578d0a1a2337fb8ca335b3ceccf97b97e5cc7f08e4353e1 SIZE (glew-2.2.0.tgz) = 835861

Expand this list (4 items)

Collapse this list.

SHA256 (8e2e31e69bb6.patch) = 27bfa5fd5047603d179ef0fe46601eb10fb3fb522b9736a5f10fc33ea9b5ec04 SIZE (8e2e31e69bb6.patch) = 668 SHA256 (062067f2bad8.patch) = 7dc10ff7464e1bcef7bf82c3f3e09f16317ec6b0f3936c1a3079dc1efcd68190 SIZE (062067f2bad8.patch) = 607

Collapse this list.


Packages (timestamps in pop-ups are UTC):
glew-wayland
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.2.0_32.2.0_32.2.02.2.0_32.2.0_3-2.2.0-
FreeBSD:13:quarterly2.2.0_32.2.0_32.2.0_32.2.0_32.2.0_32.2.0_32.2.0_32.2.0_3
FreeBSD:14:latest2.2.0_32.2.0_32.2.0_32.2.0_32.2.0_32.2.0_3-2.2.0_3
FreeBSD:14:quarterly2.2.0_32.2.0_3-2.2.0_32.2.0_32.2.0_32.2.0_32.2.0_3
FreeBSD:15:latest2.2.0_32.2.0_3n/a2.2.0_3n/a2.2.0_32.2.0_32.2.0_3
Master port: graphics/glew
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. gmake>=4.3 : devel/gmake
Library dependencies:
  1. libEGL.so : graphics/libglvnd
  2. libOpenGL.so : graphics/libglvnd
This port is required by:
for Libraries
  1. cad/kicad
  2. cad/kicad-devel

Configuration Options:
No options to configure
Options name:
graphics_glew-wayland
USES:
gmake gl tar:tgz xorg
pkg-message:
For install:
To enable Wayland support in GLEW for a specific application $ LD_PRELOAD=libGLEW-wayland.so <application> To enable for current session $ export LD_LIBMAP=libGLEW.so.2=libGLEW-wayland.so.2 To enable globally $ echo libGLEW.so.2 libGLEW-wayland.so.2 >>/etc/libmap.conf
Master Sites:
Expand this list (56 items)
Collapse this list.
  1. http://cfhcable.dl.sourceforge.net/project/glew/glew/2.2.0/
  2. http://cytranet.dl.sourceforge.net/project/glew/glew/2.2.0/
  3. http://deac-ams.dl.sourceforge.net/project/glew/glew/2.2.0/
  4. http://deac-fra.dl.sourceforge.net/project/glew/glew/2.2.0/
  5. http://deac-riga.dl.sourceforge.net/project/glew/glew/2.2.0/
  6. http://downloads.sourceforge.net/project/glew/glew/2.2.0/
  7. http://excellmedia.dl.sourceforge.net/project/glew/glew/2.2.0/
  8. http://freefr.dl.sourceforge.net/project/glew/glew/2.2.0/
  9. http://gigenet.dl.sourceforge.net/project/glew/glew/2.2.0/
  10. http://ixpeering.dl.sourceforge.net/project/glew/glew/2.2.0/
  11. http://jaist.dl.sourceforge.net/project/glew/glew/2.2.0/
  12. http://jztkft.dl.sourceforge.net/project/glew/glew/2.2.0/
  13. http://kumisystems.dl.sourceforge.net/project/glew/glew/2.2.0/
  14. http://liquidtelecom.dl.sourceforge.net/project/glew/glew/2.2.0/
  15. http://nchc.dl.sourceforge.net/project/glew/glew/2.2.0/
  16. http://netactuate.dl.sourceforge.net/project/glew/glew/2.2.0/
  17. http://netcologne.dl.sourceforge.net/project/glew/glew/2.2.0/
  18. http://netix.dl.sourceforge.net/project/glew/glew/2.2.0/
  19. http://onboardcloud.dl.sourceforge.net/project/glew/glew/2.2.0/
  20. http://phoenixnap.dl.sourceforge.net/project/glew/glew/2.2.0/
  21. http://razaoinfo.dl.sourceforge.net/project/glew/glew/2.2.0/
  22. http://sinalbr.dl.sourceforge.net/project/glew/glew/2.2.0/
  23. http://sitsa.dl.sourceforge.net/project/glew/glew/2.2.0/
  24. http://sonik.dl.sourceforge.net/project/glew/glew/2.2.0/
  25. http://tenet.dl.sourceforge.net/project/glew/glew/2.2.0/
  26. http://udomain.dl.sourceforge.net/project/glew/glew/2.2.0/
  27. http://ufpr.dl.sourceforge.net/project/glew/glew/2.2.0/
  28. http://versaweb.dl.sourceforge.net/project/glew/glew/2.2.0/
  29. https://cfhcable.dl.sourceforge.net/project/glew/glew/2.2.0/
  30. https://cytranet.dl.sourceforge.net/project/glew/glew/2.2.0/
  31. https://deac-ams.dl.sourceforge.net/project/glew/glew/2.2.0/
  32. https://deac-fra.dl.sourceforge.net/project/glew/glew/2.2.0/
  33. https://deac-riga.dl.sourceforge.net/project/glew/glew/2.2.0/
  34. https://downloads.sourceforge.net/project/glew/glew/2.2.0/
  35. https://excellmedia.dl.sourceforge.net/project/glew/glew/2.2.0/
  36. https://freefr.dl.sourceforge.net/project/glew/glew/2.2.0/
  37. https://gigenet.dl.sourceforge.net/project/glew/glew/2.2.0/
  38. https://ixpeering.dl.sourceforge.net/project/glew/glew/2.2.0/
  39. https://jaist.dl.sourceforge.net/project/glew/glew/2.2.0/
  40. https://jztkft.dl.sourceforge.net/project/glew/glew/2.2.0/
  41. https://kumisystems.dl.sourceforge.net/project/glew/glew/2.2.0/
  42. https://liquidtelecom.dl.sourceforge.net/project/glew/glew/2.2.0/
  43. https://nchc.dl.sourceforge.net/project/glew/glew/2.2.0/
  44. https://netactuate.dl.sourceforge.net/project/glew/glew/2.2.0/
  45. https://netcologne.dl.sourceforge.net/project/glew/glew/2.2.0/
  46. https://netix.dl.sourceforge.net/project/glew/glew/2.2.0/
  47. https://onboardcloud.dl.sourceforge.net/project/glew/glew/2.2.0/
  48. https://phoenixnap.dl.sourceforge.net/project/glew/glew/2.2.0/
  49. https://razaoinfo.dl.sourceforge.net/project/glew/glew/2.2.0/
  50. https://sinalbr.dl.sourceforge.net/project/glew/glew/2.2.0/
  51. https://sitsa.dl.sourceforge.net/project/glew/glew/2.2.0/
  52. https://sonik.dl.sourceforge.net/project/glew/glew/2.2.0/
  53. https://tenet.dl.sourceforge.net/project/glew/glew/2.2.0/
  54. https://udomain.dl.sourceforge.net/project/glew/glew/2.2.0/
  55. https://ufpr.dl.sourceforge.net/project/glew/glew/2.2.0/
  56. https://versaweb.dl.sourceforge.net/project/glew/glew/2.2.0/
Collapse this list.

Number of commits found: 10

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
This is a slave port. You may also want to view the commits to the master port: graphics/glew
CommitCreditsLog message
2.2.0_3
20 Jul 2022 12:48:14
commit hash: 29486876225718bafb70b78f4bb811674b06f164commit hash: 29486876225718bafb70b78f4bb811674b06f164commit hash: 29486876225718bafb70b78f4bb811674b06f164commit hash: 29486876225718bafb70b78f4bb811674b06f164 files touched by this commit
Jan Beich (jbeich) search for other commits by this committer
wayland: add more mostly leaf ports to virtual category

Caveats:
- emulators/rpcs3: install qt5-wayland and ensure Renderer is Vulkan (default)
- mail/thunderbird: add MOZ_ENABLE_WAYLAND=1 via environ(7)
- www/chromium: add --ozone-platform=wayland on command line
- www/firefox-esr: add MOZ_ENABLE_WAYLAND=1 via environ(7)
- www/firefox: add MOZ_ENABLE_WAYLAND=1 via environ(7)
2.2.0_3
20 Nov 2021 07:58:03
commit hash: 1d106488bd2115ec60b364ba04c730dde0965eb5commit hash: 1d106488bd2115ec60b364ba04c730dde0965eb5commit hash: 1d106488bd2115ec60b364ba04c730dde0965eb5commit hash: 1d106488bd2115ec60b364ba04c730dde0965eb5 files touched by this commit
Jan Beich (jbeich) search for other commits by this committer
graphics/glew-wayland: drop X11 dependency after b44acc9409bdn

libGL is legacy GLX entry point, so maybe missing if libglvnd and/or
mesa-libs was built without X11 support.

$ make clean all deinstall install WITHOUT=X11 -C ../libglvnd
$ make clean all
[...]
===>   glew-wayland-2.2.0_2 depends on shared library: libGL.so - not found
*** Error code 1
[...]
ld -shared -soname libGLEW-wayland.so.2 -o lib/libGLEW-wayland.so.2.2.0
tmp/freebsd/default/shared/glew.o -L/usr/local/lib -lEGL -lGL
ld: error: unable to find library -lGL
gmake[1]: *** [Makefile:123: lib/libGLEW-wayland.so.2.2.0] Error 1
2.2.0_2
20 Aug 2021 10:22:52
commit hash: fdc95482c3b625504c5b53566b0ce8c08fc7dc86commit hash: fdc95482c3b625504c5b53566b0ce8c08fc7dc86commit hash: fdc95482c3b625504c5b53566b0ce8c08fc7dc86commit hash: fdc95482c3b625504c5b53566b0ce8c08fc7dc86 files touched by this commit
Jan Beich (jbeich) search for other commits by this committer
graphics/glew-wayland: suggest LD_LIBMAP for session-local override

LD_LIBMAP can be limited to Wayland or KMS console e.g.,

$ cat >>~/.zshrc
if [[ ( -n $WAYLAND_DISPLAY || -z $DISPLAY ) && $LD_LIBMAP != *GLEW-wayland* ]];
then
   export LD_LIBMAP=libGLEW.so.2=libGLEW-wayland.so.2,$LD_LIBMAP
   export SDL_VIDEODRIVER=wayland,kmsdrm,x11
fi
2.2.0_1
22 Jun 2021 18:53:08
commit hash: da3162c7c9f01912ba1940e188b253f2b5c7ba77commit hash: da3162c7c9f01912ba1940e188b253f2b5c7ba77commit hash: da3162c7c9f01912ba1940e188b253f2b5c7ba77commit hash: da3162c7c9f01912ba1940e188b253f2b5c7ba77 files touched by this commit
Kevin Bowling (kbowling) search for other commits by this committer
graphics/mesa-libs: Bump reverse deps for libglvnd

Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.

PR:		246767
Reviewed by:	manu, bapt
Approved by:	x11
Differential Revision:	https://reviews.freebsd.org/D30824
2.2.0
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2.2.0
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
2.2.0
06 Jun 2020 13:50:56
Revision:538091Original commit files touched by this commit
jbeich search for other commits by this committer
graphics/glew: update to 2.2.0

Changes:	https://github.com/nigels-com/glew/compare/glew-2.1.0...555aa3ffc085
Approved by:	zeising (maintainer)
Differential Revision:	https://reviews.freebsd.org/D25162
2.1.0_1
29 Feb 2020 22:52:52
Revision:527479Original commit files touched by this commit
jbeich search for other commits by this committer
graphics/glew-wayland: install more files

$ LD_PRELOAD=libGLEW-wayland.so glewinfo
Error [main]: glewInit failed: Missing GL version
2.1.0
30 Nov 2019 09:06:22
Revision:518713Original commit files touched by this commit
jbeich search for other commits by this committer
graphics/glew-wayland: unbreak on GCC architectures

In file included from src/glew.c:43:
include/GL/eglew.h:115: error: redefinition of typedef 'EGLint'
/usr/local/include/EGL/eglplatform.h:158: error: previous declaration of
'EGLint' was here

$ gcc42 -xc -c -
typedef int foo;
typedef int foo;
^D
<stdin>:2: error: redefinition of typedef 'foo'
<stdin>:1: error: previous declaration of 'foo' was here

PR:		242310
Reported by:	pkubaj
2.1.0
14 Nov 2019 00:43:21
Revision:517542Original commit files touched by this commit
jbeich search for other commits by this committer
graphics/glew: add -wayland slave

SDL_VIDEODRIVER=wayland doesn't work with current glew package while
SDL_VIDEODRIVER=x11 doesn't work using this package. So, build against
libEGL instead of libX11 and let the user decide when to use.

Idea from:	ArchLinux
Tested by:	SDL (freeorion, ppsspp, renpy)

Number of commits found: 10