BSD Ports

graphics/glew-wayland 2.3.1 FreeBSD

OpenGL Extension Wrangler Library

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
b7c05a1a79
License
BSD3CLAUSE, MIT
Categories
graphics, wayland
Package size
349.1 KiB, 2308.5 KiB installed

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.

In the other systems

The newest version among them is 2.3.1, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
FreeBSDgraphics/glew-wayland2.3.1 newestnone known-[email protected]2026-07-24
DragonFlygraphics/glew-wayland2.2.0_3none known-[email protected]-
MidnightBSDgraphics/glew-waylandno data--2026-07-17
HardenedBSDgraphics/glew-wayland2.3.1 newestno data-[email protected]-
GhostBSDgraphics/glew-wayland2.3.1 newestno data-[email protected]-

Install

Binary package:

pkg install glew-wayland

From the ports tree:

cd /usr/ports/graphics/glew-wayland/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	glew-wayland>0:graphics/glew-wayland
LIB_DEPENDS=	libGLEW-wayland.so:graphics/glew-wayland

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.3.12.3.12.2.0_32.2.0_32.3.1
FreeBSD:14:quarterly2.3.12.3.1n/a2.2.0_32.3.1
FreeBSD:15:latest2.3.12.3.1n/a2.2.0_32.2.0_3
FreeBSD:15:quarterly2.3.12.3.1n/an/an/a
FreeBSD:16:latest2.3.12.3.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 10
Run dependencies 7

Configuration

No options to configure.

Service scripts
none

Message after installing

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

Files

pkg-plist 8
  • bin/glewinfo-wayland
  • bin/visualinfo-wayland
  • include/GL/eglew.h
  • lib/libGLEW-wayland.a
  • lib/libGLEW-wayland.so
  • lib/libGLEW-wayland.so.2
  • lib/libGLEW-wayland.so.2.3.1
  • libdata/pkgconfig/glew-wayland.pc

Commit history 1

DateCommitCreditsLog message
b7c05a1a79 Gleb Popov graphics/glew{,-wayland}: Update to 2.3.1
Approved by: jbeich Pull Request: https://github.com/freebsd/freebsd-ports/pull/565