pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/vulkan-tools



Module Name:    pkgsrc
Committed By:   kikadf
Date:           Mon Jun 22 08:17:58 UTC 2026

Modified Files:
        pkgsrc/graphics/vulkan-tools: Makefile distinfo
        pkgsrc/graphics/vulkan-tools/patches: patch-cube_cube.c
            patch-cube_cube.cpp

Log Message:
vulkan-tools: update to vulkan-sdk-1.4.350.1

No changelog


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/graphics/vulkan-tools/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/graphics/vulkan-tools/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/graphics/vulkan-tools/patches/patch-cube_cube.c
cvs rdiff -u -r1.2 -r1.3 \
    pkgsrc/graphics/vulkan-tools/patches/patch-cube_cube.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/vulkan-tools/Makefile
diff -u pkgsrc/graphics/vulkan-tools/Makefile:1.3 pkgsrc/graphics/vulkan-tools/Makefile:1.4
--- pkgsrc/graphics/vulkan-tools/Makefile:1.3   Mon Apr 13 13:17:59 2026
+++ pkgsrc/graphics/vulkan-tools/Makefile       Mon Jun 22 08:17:58 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2026/04/13 13:17:59 kikadf Exp $
+# $NetBSD: Makefile,v 1.4 2026/06/22 08:17:58 kikadf Exp $
 
 .include "../../graphics/vulkan-headers/Makefile.common"
 
@@ -16,6 +16,7 @@ WRKSRC=               ${WRKDIR}/${GITHUB_PROJECT}-${G
 USE_TOOLS+=    pkg-config
 
 .include "../../devel/cmake/build.mk"
+.include "../../devel/input-headers/buildlink3.mk"
 .include "../../devel/wayland/buildlink3.mk"
 .include "../../devel/wayland-protocols/buildlink3.mk"
 .include "../../graphics/vulkan-headers/buildlink3.mk"

Index: pkgsrc/graphics/vulkan-tools/distinfo
diff -u pkgsrc/graphics/vulkan-tools/distinfo:1.6 pkgsrc/graphics/vulkan-tools/distinfo:1.7
--- pkgsrc/graphics/vulkan-tools/distinfo:1.6   Thu May 14 15:39:58 2026
+++ pkgsrc/graphics/vulkan-tools/distinfo       Mon Jun 22 08:17:58 2026
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.6 2026/05/14 15:39:58 kikadf Exp $
+$NetBSD: distinfo,v 1.7 2026/06/22 08:17:58 kikadf Exp $
 
-BLAKE2s (vulkan-tools-1.4.350.0.tar.gz) = 1ff991985ffa7aead517a63eea9e9f592cb2631a56324ffaa824c0e07a4d07d6
-SHA512 (vulkan-tools-1.4.350.0.tar.gz) = 2d2afbcb06bb1ee08ffb3cbe133b531fe6341e90fa0dca4d5459dbdedf201521e798226768a7e307f8b6c08b388114a34a9a581a294f6226ca7a2fcd6f63f813
-Size (vulkan-tools-1.4.350.0.tar.gz) = 811196 bytes
-SHA1 (patch-cube_cube.c) = 662d641041852e2fc049abba57623ca52a88eb5b
-SHA1 (patch-cube_cube.cpp) = 8e960de47586bf0bc8e148b1c3b288d305c58831
+BLAKE2s (vulkan-tools-1.4.350.1.tar.gz) = 557dc674944e0e3da5a87db7377c887076143a8468db07e53edafcb617b16ff2
+SHA512 (vulkan-tools-1.4.350.1.tar.gz) = 016bceae9d2caa276a6d7465f53e8a608e94c2c029f5be36c8706f23a0196c1e7bfff60a057c8cd3d39b7c143ece08977a6459500c5da0d9dd29b2fa2cab1f2a
+Size (vulkan-tools-1.4.350.1.tar.gz) = 811196 bytes
+SHA1 (patch-cube_cube.c) = d2a0013cc3a043ca697176bf2622169b8cf8832c
+SHA1 (patch-cube_cube.cpp) = dba20434678ce1caa15ff6cad60b99c1a4e52cdc

Index: pkgsrc/graphics/vulkan-tools/patches/patch-cube_cube.c
diff -u pkgsrc/graphics/vulkan-tools/patches/patch-cube_cube.c:1.1 pkgsrc/graphics/vulkan-tools/patches/patch-cube_cube.c:1.2
--- pkgsrc/graphics/vulkan-tools/patches/patch-cube_cube.c:1.1  Sat Oct  4 12:39:56 2025
+++ pkgsrc/graphics/vulkan-tools/patches/patch-cube_cube.c      Mon Jun 22 08:17:58 2026
@@ -1,53 +1,26 @@
-$NetBSD: patch-cube_cube.c,v 1.1 2025/10/04 12:39:56 tnn Exp $
+$NetBSD: patch-cube_cube.c,v 1.2 2026/06/22 08:17:58 kikadf Exp $
 
 Allow building on NetBSD.
+Fix ctype usage
 
---- cube/cube.c.orig   2025-10-04 12:29:59.680457395 +0000
+--- cube/cube.c.orig   2026-05-04 19:54:00.000000000 +0200
 +++ cube/cube.c
-@@ -44,7 +44,9 @@
- #include "xcb_loader.h"
- #endif
- #if defined(VK_USE_PLATFORM_WAYLAND_KHR)
-+#if defined(__linux__)
- #include <linux/input.h>
-+#endif
- #include "wayland_loader.h"
- #endif
- 
-@@ -3581,9 +3583,11 @@ static void pointer_handle_motion(void *
- static void pointer_handle_button(void *data, struct wl_pointer *wl_pointer, uint32_t serial, uint32_t time, uint32_t button,
-                                   uint32_t state) {
-     struct demo *demo = data;
-+#if defined(__linux__)
-     if (button == BTN_LEFT && state == WL_POINTER_BUTTON_STATE_PRESSED) {
-         xdg_toplevel_move(demo->xdg_toplevel, demo->seat, serial);
-     }
-+#endif
- }
- 
- static void pointer_handle_axis(void *data, struct wl_pointer *wl_pointer, uint32_t time, uint32_t axis, wl_fixed_t value) {}
-@@ -3603,6 +3607,7 @@ static void keyboard_handle_key(void *da
-                                 uint32_t state) {
-     if (state != WL_KEYBOARD_KEY_STATE_RELEASED) return;
-     struct demo *demo = data;
-+#if defined(__linux__)
-     switch (key) {
-         case KEY_ESC:  // Escape
-             demo->quit = true;
-@@ -3617,6 +3622,7 @@ static void keyboard_handle_key(void *da
-             demo->pause = !demo->pause;
-             break;
-     }
-+#endif
- }
- 
- static void keyboard_handle_modifiers(void *data, struct wl_keyboard *keyboard, uint32_t serial, uint32_t mods_depressed,
-@@ -5079,7 +5085,7 @@ void android_main(struct android_app *ap
+@@ -4780,7 +4780,7 @@ static void demo_init(struct demo *demo,
+         if ((strcmp(argv[i], "--wsi") == 0) && (i < argc - 1)) {
+             size_t argc_len = strlen(argv[i + 1]);
+             for (size_t argc_i = 0; argc_i < argc_len; argc_i++) {
+-                argv[i + 1][argc_i] = tolower(argv[i + 1][argc_i]);
++                argv[i + 1][argc_i] = tolower((unsigned char)argv[i + 1][argc_i]);
+             }
+             WSI_PLATFORM selection = wsi_from_string(argv[i + 1]);
+             if (selection == WSI_PLATFORM_INVALID) {
+@@ -5098,7 +5098,8 @@ void android_main(struct android_app *ap
          }
      }
  }
 -#elif defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__QNX__) || defined(__GNU__)
-+#elif defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__QNX__) || defined(__GNU__) || defined(__NetBSD__)
++#elif defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__QNX__) || defined(__GNU__) || \
++      defined(__NetBSD__)
  int main(int argc, char **argv) {
      struct demo demo;
  

Index: pkgsrc/graphics/vulkan-tools/patches/patch-cube_cube.cpp
diff -u pkgsrc/graphics/vulkan-tools/patches/patch-cube_cube.cpp:1.2 pkgsrc/graphics/vulkan-tools/patches/patch-cube_cube.cpp:1.3
--- pkgsrc/graphics/vulkan-tools/patches/patch-cube_cube.cpp:1.2        Sat Oct  4 12:39:56 2025
+++ pkgsrc/graphics/vulkan-tools/patches/patch-cube_cube.cpp    Mon Jun 22 08:17:58 2026
@@ -1,48 +1,10 @@
-$NetBSD: patch-cube_cube.cpp,v 1.2 2025/10/04 12:39:56 tnn Exp $
+$NetBSD: patch-cube_cube.cpp,v 1.3 2026/06/22 08:17:58 kikadf Exp $
 
 Allow building on NetBSD.
 
---- cube/cube.cpp.orig 2025-10-04 12:29:34.996749955 +0000
+--- cube/cube.cpp.orig 2026-06-22 09:43:59.139544311 +0200
 +++ cube/cube.cpp
-@@ -40,7 +40,9 @@
- #include "xcb_loader.h"
- #endif
- #if defined(VK_USE_PLATFORM_WAYLAND_KHR)
-+#if defined(__linux__)
- #include <linux/input.h>
-+#endif
- #include "wayland_loader.h"
- #endif
- #if defined(VK_USE_PLATFORM_FUCHSIA)
-@@ -578,9 +580,11 @@ static void pointer_handle_motion(void *
- static void pointer_handle_button(void *data, struct wl_pointer *wl_pointer, uint32_t serial, uint32_t time, uint32_t button,
-                                   uint32_t state) {
-     Demo &demo = *static_cast<Demo *>(data);
-+#if defined(__linux__)
-     if (button == BTN_LEFT && state == WL_POINTER_BUTTON_STATE_PRESSED) {
-         xdg_toplevel_move(demo.window_toplevel, demo.seat, serial);
-     }
-+#endif
- }
- 
- static void pointer_handle_axis(void *data, struct wl_pointer *wl_pointer, uint32_t time, uint32_t axis, wl_fixed_t value) {}
-@@ -600,6 +604,7 @@ static void keyboard_handle_key(void *da
-                                 uint32_t state) {
-     if (state != WL_KEYBOARD_KEY_STATE_RELEASED) return;
-     Demo &demo = *static_cast<Demo *>(data);
-+#if defined(__linux__)
-     switch (key) {
-         case KEY_ESC:  // Escape
-             demo.quit = true;
-@@ -614,6 +619,7 @@ static void keyboard_handle_key(void *da
-             demo.pause = !demo.pause;
-             break;
-     }
-+#endif
- }
- 
- static void keyboard_handle_modifiers(void *data, wl_keyboard *keyboard, uint32_t serial, uint32_t mods_depressed,
-@@ -4133,7 +4139,7 @@ int WINAPI WinMain(HINSTANCE hInstance, 
+@@ -4144,7 +4144,7 @@ int WINAPI WinMain(HINSTANCE hInstance, 
  }
  
  #elif defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__QNX__) || defined(__GNU__) || \



Home | Main Index | Thread Index | Old Index