head	1.16;
access;
symbols
	pkgsrc-2026Q1:1.16.0.2
	pkgsrc-2026Q1-base:1.16
	pkgsrc-2025Q4:1.15.0.12
	pkgsrc-2025Q4-base:1.15
	pkgsrc-2025Q3:1.15.0.10
	pkgsrc-2025Q3-base:1.15
	pkgsrc-2025Q2:1.15.0.8
	pkgsrc-2025Q2-base:1.15
	pkgsrc-2025Q1:1.15.0.6
	pkgsrc-2025Q1-base:1.15
	pkgsrc-2024Q4:1.15.0.4
	pkgsrc-2024Q4-base:1.15
	pkgsrc-2024Q3:1.15.0.2
	pkgsrc-2024Q3-base:1.15
	pkgsrc-2024Q2:1.14.0.2
	pkgsrc-2024Q2-base:1.14
	pkgsrc-2024Q1:1.13.0.10
	pkgsrc-2024Q1-base:1.13
	pkgsrc-2023Q4:1.13.0.8
	pkgsrc-2023Q4-base:1.13
	pkgsrc-2023Q3:1.13.0.6
	pkgsrc-2023Q3-base:1.13
	pkgsrc-2023Q2:1.13.0.4
	pkgsrc-2023Q2-base:1.13
	pkgsrc-2023Q1:1.13.0.2
	pkgsrc-2023Q1-base:1.13
	pkgsrc-2022Q4:1.12.0.4
	pkgsrc-2022Q4-base:1.12
	pkgsrc-2022Q3:1.12.0.2
	pkgsrc-2022Q3-base:1.12
	pkgsrc-2022Q2:1.10.0.6
	pkgsrc-2022Q2-base:1.10
	pkgsrc-2022Q1:1.10.0.4
	pkgsrc-2022Q1-base:1.10
	pkgsrc-2021Q4:1.10.0.2
	pkgsrc-2021Q4-base:1.10
	pkgsrc-2021Q3:1.9.0.4
	pkgsrc-2021Q3-base:1.9
	pkgsrc-2021Q2:1.9.0.2
	pkgsrc-2021Q2-base:1.9
	pkgsrc-2021Q1:1.8.0.10
	pkgsrc-2021Q1-base:1.8
	pkgsrc-2020Q4:1.8.0.8
	pkgsrc-2020Q4-base:1.8
	pkgsrc-2020Q3:1.8.0.6
	pkgsrc-2020Q3-base:1.8
	pkgsrc-2020Q2:1.8.0.4
	pkgsrc-2020Q2-base:1.8
	pkgsrc-2020Q1:1.8.0.2
	pkgsrc-2020Q1-base:1.8
	pkgsrc-2019Q4:1.6.0.4
	pkgsrc-2019Q4-base:1.6
	pkgsrc-2019Q3:1.4.0.2
	pkgsrc-2019Q3-base:1.4
	pkgsrc-2019Q2:1.3.0.20
	pkgsrc-2019Q2-base:1.3
	pkgsrc-2019Q1:1.3.0.18
	pkgsrc-2019Q1-base:1.3
	pkgsrc-2018Q4:1.3.0.16
	pkgsrc-2018Q4-base:1.3
	pkgsrc-2018Q3:1.3.0.14
	pkgsrc-2018Q3-base:1.3
	pkgsrc-2018Q2:1.3.0.12
	pkgsrc-2018Q2-base:1.3
	pkgsrc-2018Q1:1.3.0.10
	pkgsrc-2018Q1-base:1.3
	pkgsrc-2017Q4:1.3.0.8
	pkgsrc-2017Q4-base:1.3
	pkgsrc-2017Q3:1.3.0.6
	pkgsrc-2017Q3-base:1.3
	pkgsrc-2017Q2:1.3.0.2
	pkgsrc-2017Q2-base:1.3
	pkgsrc-2017Q1:1.2.0.10
	pkgsrc-2017Q1-base:1.2
	pkgsrc-2016Q4:1.2.0.8
	pkgsrc-2016Q4-base:1.2
	pkgsrc-2016Q3:1.2.0.6
	pkgsrc-2016Q3-base:1.2
	pkgsrc-2016Q2:1.2.0.4
	pkgsrc-2016Q2-base:1.2
	pkgsrc-2016Q1:1.2.0.2
	pkgsrc-2016Q1-base:1.2;
locks; strict;
comment	@# @;


1.16
date	2026.02.02.23.25.12;	author wiz;	state Exp;
branches;
next	1.15;
commitid	AGnb8XFc9O1thRsG;

1.15
date	2024.08.25.06.18.50;	author wiz;	state Exp;
branches;
next	1.14;
commitid	BcrSL94SO85mvanF;

1.14
date	2024.04.06.08.05.45;	author wiz;	state Exp;
branches;
next	1.13;
commitid	xuM7fEJrv2TOC35F;

1.13
date	2023.01.24.18.36.26;	author wiz;	state Exp;
branches;
next	1.12;
commitid	ve7xOYU4T11xcPaE;

1.12
date	2022.08.22.19.19.51;	author wiz;	state Exp;
branches;
next	1.11;
commitid	IQP27JtsULroqUQD;

1.11
date	2022.08.11.05.08.41;	author gutteridge;	state Exp;
branches;
next	1.10;
commitid	yKydzoO42ClN3qPD;

1.10
date	2021.12.08.16.04.54;	author adam;	state Exp;
branches;
next	1.9;
commitid	2PyWjHx5T8rqARjD;

1.9
date	2021.04.19.10.51.51;	author nia;	state Exp;
branches;
next	1.8;
commitid	Q28asrhZofEBmTPC;

1.8
date	2020.03.19.11.50.31;	author nia;	state Exp;
branches;
next	1.7;
commitid	NmD95nM02rOVp01C;

1.7
date	2020.03.19.11.23.53;	author nia;	state Exp;
branches;
next	1.6;
commitid	RMvoxTc6QbNLg01C;

1.6
date	2019.12.21.23.42.35;	author joerg;	state Exp;
branches;
next	1.5;
commitid	NVtLLcldBMBydDPB;

1.5
date	2019.10.06.11.32.18;	author nia;	state Exp;
branches;
next	1.4;
commitid	t4ysLDvhGXDuCNFB;

1.4
date	2019.07.08.10.36.26;	author nia;	state Exp;
branches;
next	1.3;
commitid	YSUyo62YtWzHceuB;

1.3
date	2017.04.12.12.56.46;	author leot;	state Exp;
branches;
next	1.2;
commitid	fIZj7jnOla2SefNz;

1.2
date	2016.02.28.19.44.56;	author joerg;	state Exp;
branches;
next	1.1;
commitid	n7Q680QyopdaEIWy;

1.1
date	2016.02.04.11.38.10;	author leot;	state Exp;
branches;
next	;
commitid	dy4uFDNvSmyXHATy;


desc
@@


1.16
log
@glfw: update to 3.4.

# New features
## Runtime platform selection
## More standard cursor shapes
## Mouse event passthrough
## Ability to get window title
## Captured cursor mode
## Support for custom heap memory allocator
## Window hint for framebuffer scaling
## Window hints for initial window position
## ANGLE rendering backend hint
## Windows window menu keyboard access hint
## Windows STARTUPINFO show command hint
## Cocoa NSView native access function
## Wayland libdecor decorations
## Wayland surface app_id hint
## X11 Vulkan window surface hint
# Caveats
## Multiple sets of native access functions
## Version string format has been changed
## Joystick support is initialized on demand
## Tests and examples are disabled when built as a subproject
## Configuration header is no longer generated
## Documentation generation requires Doxygen 1.9.8 or later
## Windows 7 framebuffer transparency requires DWM transparency
## macOS main menu now created at initialization
## macOS CoreVideo dependency has been removed
## Wayland framebuffer may lack alpha channel on older systems
## X11 empty events no longer round-trip to server
# Deprecations
## Windows XP and Vista support is deprecated
## Original MinGW support is deprecated
## OS X Yosemite support is deprecated
# Removals
## GLFW_VULKAN_STATIC CMake option has been removed
## GLFW_USE_WAYLAND CMake option has been removed
## GLFW_USE_OSMESA CMake option has been removed
## wl_shell protocol support has been removed
@
text
@# $NetBSD: Makefile,v 1.15 2024/08/25 06:18:50 wiz Exp $

DISTNAME=	glfw-3.4
CATEGORIES=	graphics
MASTER_SITES=	${MASTER_SITE_GITHUB:=glfw/}

MAINTAINER=	ryo_on@@yk.rim.or.jp
HOMEPAGE=	https://www.glfw.org/
COMMENT=	Free, portable framework for OpenGL application development
LICENSE=	zlib

USE_TOOLS+=	pkg-config

CMAKE_CONFIGURE_ARGS+=	-DBUILD_SHARED_LIBS=ON
CMAKE_CONFIGURE_ARGS+=	-DGLFW_BUILD_DOCS=OFF
CMAKE_CONFIGURE_ARGS+=	-DGLFW_BUILD_EXAMPLES=OFF

PKGCONFIG_OVERRIDE+=	src/glfw3.pc.in

.include "../../devel/cmake/build.mk"
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} != "Darwin"
.  include "options.mk"
.  include "../../graphics/MesaLib/buildlink3.mk"
.  include "../../graphics/glu/buildlink3.mk"
.endif
.include "../../mk/bsd.pkg.mk"
@


1.15
log
@*: replace CMAKE_ARGS with CMAKE_CONFIGURE_ARGS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2024/04/06 08:05:45 wiz Exp $
d3 1
a3 2
DISTNAME=	glfw-3.3.8
PKGREVISION=	1
@


1.14
log
@* recursive bump for libxkbcommon 1.7.0

Marc Baudoin reported problems with using old binary packages
with the new libkxbcommon, so force everything to 1.7.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2023/01/24 18:36:26 wiz Exp $
d15 3
a17 3
CMAKE_ARGS+=	-DBUILD_SHARED_LIBS=ON
CMAKE_ARGS+=	-DGLFW_BUILD_DOCS=OFF
CMAKE_ARGS+=	-DGLFW_BUILD_EXAMPLES=OFF
@


1.13
log
@*: convert to cmake/build.mk
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2022/08/22 19:19:51 wiz Exp $
d4 1
@


1.12
log
@glfw: update to 3.3.8.

3.3.8

This is a bug fix release. It adds fixes for issues on all supported platforms.

3.3.7

This is a bug fix release. It adds fixes for issues on all supported platforms.

3.3.6

This is a bug fix release. It adds fixes for issues on Windows, macOS and X11.

3.3.5

This is a bug fix release. It adds fixes for issues on all supported platforms.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2022/08/11 05:08:41 gutteridge Exp $
a11 1
USE_CMAKE=	yes
d20 1
@


1.11
log
@Bump all dependent packages of wayland (belatedly)

The package changed with the addition of its libepoll-shim dependency.
Otherwise, we can get:
ERROR: libepoll-shim>=0.0.20210418 is not installed; can't buildlink files.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2021/12/08 16:04:54 adam Exp $
d3 1
a3 2
DISTNAME=	glfw-3.3.4
PKGREVISION=	2
@


1.10
log
@revbump for icu and libffi
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2021/04/19 10:51:51 nia Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.9
log
@glfw: update to 3.3.4

This is a bug fix release. It adds one bug fix for X11 and the MinGW-w64 binaries that were missing from 3.3.3.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2020/03/19 11:50:31 nia Exp $
d4 1
@


1.8
log
@glfw: Missing PKGCONFIG_OVERRIDE
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2020/03/19 11:23:53 nia Exp $
d3 1
a3 2
DISTNAME=	glfw-3.3.2
PKGREVISION=	1
@


1.7
log
@glfw: Update to 3.3.2

This is a primarily a bug fix release. It improves Vulkan support on macOS with VK_EXT_metal_surface support and better run-time loading, and adds fixes for issues on Windows, macOS and X11.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2019/12/21 23:42:35 joerg Exp $
d4 1
d20 3
a22 1
.include "../../mk/bsd.fast.prefs.mk"
@


1.6
log
@Needs libXi, formerly pulled in by Mesa.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2019/10/06 11:32:18 nia Exp $
d3 1
a3 1
DISTNAME=	glfw-3.3
d9 1
a9 1
COMMENT=	GLFW is a free, Open Source, multi-platform library of OpenGL
d17 1
d19 6
a24 12
.include "../../graphics/glu/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../x11/libICE/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXcursor/buildlink3.mk"
.include "../../x11/libXi/buildlink3.mk"
.include "../../x11/libXinerama/buildlink3.mk"
.include "../../x11/libXrandr/buildlink3.mk"
.include "../../x11/libxkbcommon/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
@


1.5
log
@glfw: Update to 3.3

This adds gamepad input via SDL_GameControllerDB, support for Vulkan on macOS via MoltenVK, better handling of high-DPI and scaling, changing attributes of existing windows, raw mouse motion input, explicit support for joystick hats/dpads, user attention requests, transparent windows and framebuffers (where possible), query for monitor work area, more run-time configuration, various other features as well as fixes for a large number of bugs.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2019/07/08 10:36:26 nia Exp $
d24 1
@


1.4
log
@Follow some http->https redirects.
@
text
@d1 1
a1 2
# $NetBSD: Makefile,v 1.3 2017/04/12 12:56:46 leot Exp $
#
d3 1
a3 1
DISTNAME=	glfw-3.2.1
@


1.3
log
@Update graphics/glfw to 3.2.1

Changes:
3.2.1
=====
Vulkan improvements
-------------------
Add support for statically linking the Vulkan loader

Misc improvements and bug fixes
-------------------------------
Fixes for a number of bugs that together affect all supported platforms.

3.2
===
Support for Vulkan
------------------
GLFW now supports basic integration with Vulkan with glfwVulkanSupported,
glfwGetRequiredInstanceExtensions, glfwGetInstanceProcAddress,
glfwGetPhysicalDevicePresentationSupport and glfwCreateWindowSurface.
Vulkan header inclusion can be selected with
GLFW_INCLUDE_VULKAN.


Window mode switching
---------------------
GLFW now supports switching between windowed and full screen modes and updating
the monitor and desired resolution and refresh rate of full screen windows with
glfwSetWindowMonitor.

Window maxmimization support
----------------------------
GLFW now supports window maximization with glfwMaximizeWindow and the
GLFW_MAXIMIZED hint and attribute.

Window input focus control
--------------------------
GLFW now supports giving windows input focus with glfwFocusWindow.

Window size limit support
-------------------------
GLFW now supports setting both absolute and relative window size limits with
glfwSetWindowSizeLimits and glfwSetWindowAspectRatio.

Localized key names
-------------------
GLFW now supports querying the localized name of printable keys with
glfwGetKeyName, either by key token or by scancode.

Wait for events with timeout
----------------------------
GLFW now supports waiting for events for a set amount of time with
glfwWaitEventsTimeout.

Window icon support
-------------------
GLFW now supports setting the icon of windows with glfwSetWindowIcon.

Raw timer access
----------------
GLFW now supports raw timer values with glfwGetTimerValue and
glfwGetTimerFrequency.

Joystick connection callback
----------------------------
GLFW now supports notifying when a joystick has been connected or disconnected
with glfwSetJoystickCallback.

Context-less windows
--------------------
GLFW now supports creating windows without a OpenGL or OpenGL ES context with
GLFW_NO_API.

Run-time context creation API selection
---------------------------------------
GLFW now supports selecting the context creation API at run-time with the
GLFW_CONTEXT_CREATION_API window hint value.

Error-free context creation
---------------------------
GLFW now supports creating OpenGL and OpenGL ES contexts that do not emit errors
with the GLFW_CONTEXT_NO_ERROR window hint, provided
the machine supports the `GL_KHR_no_error` extension.

CMake config-file package support
---------------------------------
GLFW now supports being used as a
config-file package from other projects for
easy linking with the library and its dependencies.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2016/02/28 19:44:56 joerg Exp $
d9 1
a9 1
HOMEPAGE=	http://www.glfw.org/
@


1.2
log
@Needs libXcursor.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2016/02/04 11:38:10 leot Exp $
d4 1
a4 1
DISTNAME=	glfw-3.1.2
a18 9
# Problem reported and fixed (differently) upstream:
#  https://github.com/glfw/glfw/issues/646
# It will not be needed for the next release.
SUBST_CLASSES+=		soname
SUBST_STAGE.soname=	pre-configure
SUBST_MESSAGE.soname=	Avoid hardcoded libGL.so
SUBST_FILES.soname=	src/glx_context.c
SUBST_SED.soname=	-e '/soname/ s/libGL\.so\.1/libGL.so/'

@


1.1
log
@Import glfw-3.1.2 as graphics/glfw.
Originally packaged in pkgsrc-wip by ryoon@@ and then updated by nros@@ and
myself.

GLFW is a free, Open Source, multi-platform library for creating
OpenGL contexts and managing input, including keyboard, mouse,
joystick and time. It is intended to be simple to integrate into
existing applications and does not lay claim to the main loop.

GLFW has native support for Windows, Mac OS X and many Unix-like
systems using the X Window System, such as Linux and FreeBSD.

GLFW is licensed under the zlib/libpng license.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2014/10/19 17:42:27 nros Exp $
d33 1
@

