pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/glfw Update graphics/glfw to 3.2.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fbb83d2ef8d5
branches:  trunk
changeset: 360965:fbb83d2ef8d5
user:      leot <leot%pkgsrc.org@localhost>
date:      Wed Apr 12 12:56:46 2017 +0000

description:
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.

diffstat:

 graphics/glfw/Makefile |  13 ++-----------
 graphics/glfw/PLIST    |  12 ++++++------
 graphics/glfw/distinfo |  10 +++++-----
 3 files changed, 13 insertions(+), 22 deletions(-)

diffs (65 lines):

diff -r cdc6575113f3 -r fbb83d2ef8d5 graphics/glfw/Makefile
--- a/graphics/glfw/Makefile    Wed Apr 12 12:01:25 2017 +0000
+++ b/graphics/glfw/Makefile    Wed Apr 12 12:56:46 2017 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2016/02/28 19:44:56 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2017/04/12 12:56:46 leot Exp $
 #
 
-DISTNAME=      glfw-3.1.2
+DISTNAME=      glfw-3.2.1
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=glfw/}
 
@@ -16,15 +16,6 @@
 CMAKE_ARGS+=   -DBUILD_SHARED_LIBS=ON
 CMAKE_ARGS+=   -DGLFW_BUILD_DOCS=OFF
 
-# 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/'
-
 .include "../../graphics/glu/buildlink3.mk"
 .include "../../graphics/MesaLib/buildlink3.mk"
 .include "../../x11/libICE/buildlink3.mk"
diff -r cdc6575113f3 -r fbb83d2ef8d5 graphics/glfw/PLIST
--- a/graphics/glfw/PLIST       Wed Apr 12 12:01:25 2017 +0000
+++ b/graphics/glfw/PLIST       Wed Apr 12 12:56:46 2017 +0000
@@ -1,11 +1,11 @@
-@comment $NetBSD: PLIST,v 1.1 2016/02/04 11:38:10 leot Exp $
+@comment $NetBSD: PLIST,v 1.2 2017/04/12 12:56:46 leot Exp $
 include/GLFW/glfw3.h
 include/GLFW/glfw3native.h
-lib/cmake/glfw/glfw3Config.cmake
-lib/cmake/glfw/glfw3ConfigVersion.cmake
-lib/cmake/glfw/glfwTargets-noconfig.cmake
-lib/cmake/glfw/glfwTargets.cmake
+lib/cmake/glfw3/glfw3Config.cmake
+lib/cmake/glfw3/glfw3ConfigVersion.cmake
+lib/cmake/glfw3/glfw3Targets-noconfig.cmake
+lib/cmake/glfw3/glfw3Targets.cmake
 lib/libglfw.so
 lib/libglfw.so.3
-lib/libglfw.so.3.1
+lib/libglfw.so.3.2
 lib/pkgconfig/glfw3.pc
diff -r cdc6575113f3 -r fbb83d2ef8d5 graphics/glfw/distinfo
--- a/graphics/glfw/distinfo    Wed Apr 12 12:01:25 2017 +0000
+++ b/graphics/glfw/distinfo    Wed Apr 12 12:56:46 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2016/02/04 11:38:10 leot Exp $
+$NetBSD: distinfo,v 1.2 2017/04/12 12:56:46 leot Exp $
 
-SHA1 (glfw-3.1.2.tar.gz) = 3033c604e3109c59cf04918bc473268fe18c828b
-RMD160 (glfw-3.1.2.tar.gz) = c149915bb724f99bde579da153c192163b9e6cc7
-SHA512 (glfw-3.1.2.tar.gz) = 07e8dcc2623fa87558f44e8a01e0f12c0fbbf8b67798337a500c8208ebebedfb545156feb11cba16fa6a4ae1ef0ae21c7ebf934791e4f62a953b727c48f9d150
-Size (glfw-3.1.2.tar.gz) = 461929 bytes
+SHA1 (glfw-3.2.1.tar.gz) = bee9cd9a8b4925184070ade5bc287c5635830eb0
+RMD160 (glfw-3.2.1.tar.gz) = d574e36a59888c67e277e6c206ad1312c6076fd6
+SHA512 (glfw-3.2.1.tar.gz) = c7921f993b9a99b3b9421fefadb039cd475c42d85f5b5a35d7c5401c70491349bb885a02fd31e527de06a8b40d9d49a1fdb92c964e13c04ae092c6b98eb491dc
+Size (glfw-3.2.1.tar.gz) = 472450 bytes



Home | Main Index | Thread Index | Old Index