pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/kitty



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Fri Apr 10 14:48:27 UTC 2026

Modified Files:
        pkgsrc/x11/kitty: distinfo
        pkgsrc/x11/kitty/patches: patch-setup.py

Log Message:
kitty: Fix serious bug in the setup.py patch.

Ensure candidates is a tuple, not a string.  That single missing comma caused
builds on macOS to traverse the entire file system multiple times as:

  for candidate in ('@PREFIX@/share/fonts/')

expands to e.g. ['/', 'o', 'p', 't', '/', ...], whereas:

  for candidate in ('@PREFIX@/share/fonts/',)

correctly expands to e.g. ['/opt/pkg/share/fonts'].


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 pkgsrc/x11/kitty/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/x11/kitty/patches/patch-setup.py

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

Modified files:

Index: pkgsrc/x11/kitty/distinfo
diff -u pkgsrc/x11/kitty/distinfo:1.40 pkgsrc/x11/kitty/distinfo:1.41
--- pkgsrc/x11/kitty/distinfo:1.40      Mon Mar 30 16:55:13 2026
+++ pkgsrc/x11/kitty/distinfo   Fri Apr 10 14:48:27 2026
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.40 2026/03/30 16:55:13 ktnb Exp $
+$NetBSD: distinfo,v 1.41 2026/04/10 14:48:27 jperkin Exp $
 
 BLAKE2s (github.com__a_l_tree_bigfloat_@v_v0.2.0.mod) = ed554d44b1070ae79986f3ff61e6ad4ed12060fb78fe6f2273733f762721d1e0
 SHA512 (github.com__a_l_tree_bigfloat_@v_v0.2.0.mod) = 09bbd28b9ce42a919f22339bdeb2b798a728cf3b7f5f7fd61bec418fa360893c4ebd72f0957be4c855621f96d9a146ef8f0074f5ac4154c04f537ae3ad3592c4
@@ -218,4 +218,4 @@ SHA1 (patch-glfw_wl__init.c) = 3dc143fba
 SHA1 (patch-kitty_binary.h) = e8e6e9b16a1bd7d0304bca919ad10dd932142da5
 SHA1 (patch-kitty_data-types.h) = 1def5a8b129a7d25fdf98bd1d7b15b214b7c4960
 SHA1 (patch-kitty_threading.h) = 04886ab09ac2ab6f4925cd20e739e6b634299d55
-SHA1 (patch-setup.py) = 1a15e1dc4487c436b456957ce45404610663e4a1
+SHA1 (patch-setup.py) = 24bbafead833c37b089bca59b3aadb06a1bfaf30

Index: pkgsrc/x11/kitty/patches/patch-setup.py
diff -u pkgsrc/x11/kitty/patches/patch-setup.py:1.4 pkgsrc/x11/kitty/patches/patch-setup.py:1.5
--- pkgsrc/x11/kitty/patches/patch-setup.py:1.4 Mon Mar 30 16:55:13 2026
+++ pkgsrc/x11/kitty/patches/patch-setup.py     Fri Apr 10 14:48:27 2026
@@ -1,6 +1,6 @@
-$NetBSD: patch-setup.py,v 1.4 2026/03/30 16:55:13 ktnb Exp $
+$NetBSD: patch-setup.py,v 1.5 2026/04/10 14:48:27 jperkin Exp $
 
-Only point to the pkgsrc fonts for darwin
+Only point to the pkgsrc fonts for Darwin.
 
 --- setup.py.orig      2026-03-27 19:19:48.618708465 +0000
 +++ setup.py
@@ -9,7 +9,7 @@ Only point to the pkgsrc fonts for darwi
          if is_macos:
              candidates = (
 -                os.path.expanduser('~/Library/Fonts'), '/Library/Fonts', '/System/Library/Fonts', '/Network/Library/Fonts')
-+                '@PREFIX@/share/fonts/'
++                '@PREFIX@/share/fonts/',
 +            )
              for candidate in candidates:
                  q = os.path.join(candidate, filename)



Home | Main Index | Thread Index | Old Index