Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Mar 2026 08:51:19 +0000
From:      Nicola Vitale <nivit@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 80b195c70e79 - main - x11/kitty: Update to 0.46
Message-ID:  <69b27e87.3ac4b.274af8cf@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by nivit:

URL: https://cgit.FreeBSD.org/ports/commit/?id=80b195c70e79811c670a9591b19aab6907171fba

commit 80b195c70e79811c670a9591b19aab6907171fba
Author:     Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2026-03-12 08:34:29 +0000
Commit:     Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2026-03-12 08:50:59 +0000

    x11/kitty: Update to 0.46
    
    - Add patch files/patch-kitty_colors.c to fix compilation that otherwise
      fails with the error:
    
    cc -MMD -DNDEBUG -DEPOLL_SHIM_DISABLE_WRAPPER_MACROS -I/usr/local/include/libepoll-shim -Wextra -Wfloat-conversion -Wno-missing-field-initializers -Wall -Wstrict-prototypes -std=c11 -pe
    dantic-errors -Werror -O3 -fwrapv -fstack-protector-strong -pipe -fvisibility=hidden -fno-plt -fPIC -O2 -pipe -Wno-error=invalid-utf8 -Winvalid-utf8 -fstack-protector-strong -fno-strict
    -aliasing -D_FORTIFY_SOURCE=2 -flto -I/usr/local/include -fcf-protection=full -pthread -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/us
    r/local/include -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz
    -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/python3.11 -c kitt
    y/colors.c -o build/fast_data_types-kitty-colors.c.o
    kitty/colors.c:809:12: error: call to undeclared function 'strtod_l'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
      809 |     *out = strtod_l(src, &endptr, get_c_locale());
          |            ^
    1 error generated.
    *** Error code 1
    
    - Use Go 1.26 (required version) explicitly to fix build in Poudriere:
    
    [5/5] Linking launcher ...
     done
    go: downloading go1.26.1 (freebsd/amd64)
    go: download go1.26.1: golang.org/toolchain@v0.0.1-go1.26.1.freebsd-amd64: Get "https://proxy.golang.org/golang.org/toolchain/@v/v0.0.1-go1.26.1.freebsd-amd64.zip": dial tcp: lookup pro
    xy.golang.org on 192.168.1.1:53: write udp 127.0.0.1:47459->192.168.1.1:53: write: can't assign requested address
    Traceback (most recent call last):
      File "/wrkdirs/usr/ports/x11/kitty/work/github.com/kovidgoyal/kitty@v0.46.0/setup.py", line 2362, in <module>
        main()
      File "/wrkdirs/usr/ports/x11/kitty/work/github.com/kovidgoyal/kitty@v0.46.0/setup.py", line 2358, in main
        do_build(args)
      File "/wrkdirs/usr/ports/x11/kitty/work/github.com/kovidgoyal/kitty@v0.46.0/setup.py", line 2330, in do_build
        package(args, bundle_type='linux-package')
      File "/wrkdirs/usr/ports/x11/kitty/work/github.com/kovidgoyal/kitty@v0.46.0/setup.py", line 1946, in package
        build_static_kittens(args, launcher_dir=launcher_dir)
      File "/wrkdirs/usr/ports/x11/kitty/work/github.com/kovidgoyal/kitty@v0.46.0/setup.py", line 1273, in build_static_kittens
        required_go_version = subprocess.check_output(go + 'list -f {{.GoVersion}} -m'.split(), env=dict(os.environ, GO111MODULE="on")).decode().strip()
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/local/lib/python3.11/subprocess.py", line 466, in check_output
        return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/local/lib/python3.11/subprocess.py", line 571, in run
        raise CalledProcessError(retcode, process.args,
    subprocess.CalledProcessError: Command '['/usr/local/bin/go125', 'list', '-f', '{{.GoVersion}}', '-m']' returned non-zero exit status 1.
    *** Error code 1
    
    ChangeLog:  https://sw.kovidgoyal.net/kitty/changelog/#id1
    Reported by:  kovidgoyal/kitty <kitty@noreply.github.com>
---
 x11/kitty/Makefile                   |  6 +++---
 x11/kitty/distinfo                   | 10 +++++-----
 x11/kitty/files/patch-kitty_colors.c | 11 +++++++++++
 x11/kitty/pkg-plist                  | 19 ++++++++++++++++++-
 4 files changed, 37 insertions(+), 9 deletions(-)

diff --git a/x11/kitty/Makefile b/x11/kitty/Makefile
index e57b36772674..0878b5fc1b0d 100644
--- a/x11/kitty/Makefile
+++ b/x11/kitty/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	kitty
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.45.0
-PORTREVISION=	5
+DISTVERSION=	0.46.0
+PORTREVISION=	0
 CATEGORIES=	x11 wayland
 
 MAINTAINER=	nivit@FreeBSD.org
@@ -39,7 +39,7 @@ LIB_DEPENDS=	libcairo.so:graphics/cairo \
 		libxxhash.so:devel/xxhash
 
 USES=		compiler:c11 cpe desktop-file-utils gettext-runtime gl gmake \
-		go:modules magick pkgconfig python shebangfix ssl tar:xz \
+		go:modules,1.26 magick pkgconfig python shebangfix ssl tar:xz \
 		terminfo xorg
 CPE_VENDOR=	kitty_project
 
diff --git a/x11/kitty/distinfo b/x11/kitty/distinfo
index 3f4f68b47dca..43221b61d6da 100644
--- a/x11/kitty/distinfo
+++ b/x11/kitty/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1766658153
-SHA256 (go/x11_kitty/kitty-v0.45.0/v0.45.0.mod) = e373466bafd48172edc2fc6d720995e5bce546d6abffe25f21bf2adb0515f7ed
-SIZE (go/x11_kitty/kitty-v0.45.0/v0.45.0.mod) = 1738
-SHA256 (go/x11_kitty/kitty-v0.45.0/v0.45.0.zip) = 74baffaa5a6b8a9fa17d6ae40926889a525c965debd41f2d36a712405610f82e
-SIZE (go/x11_kitty/kitty-v0.45.0/v0.45.0.zip) = 7721091
+TIMESTAMP = 1773249046
+SHA256 (go/x11_kitty/kitty-v0.46.0/v0.46.0.mod) = e5d462349069766da96f1af17d1d697f640ecf53eff6c96ca133547854df6ed2
+SIZE (go/x11_kitty/kitty-v0.46.0/v0.46.0.mod) = 1739
+SHA256 (go/x11_kitty/kitty-v0.46.0/v0.46.0.zip) = f59c80fa0529c360cf430337e47b32538dbd6d79086d7249e85b5f56f6ff863e
+SIZE (go/x11_kitty/kitty-v0.46.0/v0.46.0.zip) = 7845605
diff --git a/x11/kitty/files/patch-kitty_colors.c b/x11/kitty/files/patch-kitty_colors.c
new file mode 100644
index 000000000000..65ab2f9e8d7a
--- /dev/null
+++ b/x11/kitty/files/patch-kitty_colors.c
@@ -0,0 +1,11 @@
+--- kitty/colors.c.orig	1979-11-29 23:00:00 UTC
++++ kitty/colors.c
+@@ -9,7 +9,7 @@
+ #include <structmember.h>
+ #include "colors.h"
+ #include "color-names.h"
+-#ifdef __APPLE__
++#if defined( __APPLE__ ) || defined( __FreeBSD__ )
+ // Needed for strod_l
+ #include <xlocale.h>
+ #endif
diff --git a/x11/kitty/pkg-plist b/x11/kitty/pkg-plist
index b675133eff5e..bbe566161ec4 100644
--- a/x11/kitty/pkg-plist
+++ b/x11/kitty/pkg-plist
@@ -27,7 +27,7 @@ share/applications/kitty.desktop
 %%PORTDOCS%%%%DOCSDIR%%/_images/social_previews/summary_desktop-notifications_9e55697a.png
 %%PORTDOCS%%%%DOCSDIR%%/_images/social_previews/summary_faq_6acfb156.png
 %%PORTDOCS%%%%DOCSDIR%%/_images/social_previews/summary_file-transfer-protocol_67d60cd4.png
-%%PORTDOCS%%%%DOCSDIR%%/_images/social_previews/summary_generated_color-names_d5b08547.png
+%%PORTDOCS%%%%DOCSDIR%%/_images/social_previews/summary_generated_color-names_a1b155fe.png
 %%PORTDOCS%%%%DOCSDIR%%/_images/social_previews/summary_generated_launch_2c8ae1a7.png
 %%PORTDOCS%%%%DOCSDIR%%/_images/social_previews/summary_generated_matching_f5ed7c14.png
 %%PORTDOCS%%%%DOCSDIR%%/_images/social_previews/summary_generated_rc_4121b4bb.png
@@ -84,6 +84,7 @@ share/applications/kitty.desktop
 %%PORTDOCS%%%%DOCSDIR%%/_images/social_previews/summary_text-sizing-protocol_974e580e.png
 %%PORTDOCS%%%%DOCSDIR%%/_images/social_previews/summary_underlines_c33f785f.png
 %%PORTDOCS%%%%DOCSDIR%%/_images/social_previews/summary_unscroll_98a1c6ca.png
+%%PORTDOCS%%%%DOCSDIR%%/_images/social_previews/summary_wide-gamut-colors_93c46a12.png
 %%PORTDOCS%%%%DOCSDIR%%/_images/splits.png
 %%PORTDOCS%%%%DOCSDIR%%/_images/themes.png
 %%PORTDOCS%%%%DOCSDIR%%/_images/transfer.png
@@ -156,6 +157,7 @@ share/applications/kitty.desktop
 %%PORTDOCS%%%%DOCSDIR%%/_sources/text-sizing-protocol.rst.txt
 %%PORTDOCS%%%%DOCSDIR%%/_sources/underlines.rst.txt
 %%PORTDOCS%%%%DOCSDIR%%/_sources/unscroll.rst.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/wide-gamut-colors.rst.txt
 %%PORTDOCS%%%%DOCSDIR%%/_static/_sphinx_javascript_frameworks_compat.js
 %%PORTDOCS%%%%DOCSDIR%%/_static/basic.css
 %%PORTDOCS%%%%DOCSDIR%%/_static/check-solid.svg
@@ -267,6 +269,7 @@ share/applications/kitty.desktop
 %%PORTDOCS%%%%DOCSDIR%%/text-sizing-protocol.html
 %%PORTDOCS%%%%DOCSDIR%%/underlines.html
 %%PORTDOCS%%%%DOCSDIR%%/unscroll.html
+%%PORTDOCS%%%%DOCSDIR%%/wide-gamut-colors.html
 share/icons/hicolor/256x256/apps/kitty.png
 share/icons/hicolor/scalable/apps/kitty.svg
 %%DATADIR%%/__main__.py
@@ -325,6 +328,14 @@ share/icons/hicolor/scalable/apps/kitty.svg
 %%DATADIR%%/kittens/clipboard/__pycache__/main%%PYTHON_TAG%%.opt-2.pyc
 %%DATADIR%%/kittens/clipboard/__pycache__/main%%PYTHON_TAG%%.pyc
 %%DATADIR%%/kittens/clipboard/main.py
+%%DATADIR%%/kittens/command_palette/__init__.py
+%%DATADIR%%/kittens/command_palette/__pycache__/__init__%%PYTHON_TAG%%.opt-1.pyc
+%%DATADIR%%/kittens/command_palette/__pycache__/__init__%%PYTHON_TAG%%.opt-2.pyc
+%%DATADIR%%/kittens/command_palette/__pycache__/__init__%%PYTHON_TAG%%.pyc
+%%DATADIR%%/kittens/command_palette/__pycache__/main%%PYTHON_TAG%%.opt-1.pyc
+%%DATADIR%%/kittens/command_palette/__pycache__/main%%PYTHON_TAG%%.opt-2.pyc
+%%DATADIR%%/kittens/command_palette/__pycache__/main%%PYTHON_TAG%%.pyc
+%%DATADIR%%/kittens/command_palette/main.py
 %%DATADIR%%/kittens/desktop_ui/__init__.py
 %%DATADIR%%/kittens/desktop_ui/__pycache__/__init__%%PYTHON_TAG%%.opt-1.pyc
 %%DATADIR%%/kittens/desktop_ui/__pycache__/__init__%%PYTHON_TAG%%.opt-2.pyc
@@ -664,6 +675,9 @@ share/icons/hicolor/scalable/apps/kitty.svg
 %%DATADIR%%/kitty/__pycache__/window_list%%PYTHON_TAG%%.opt-1.pyc
 %%DATADIR%%/kitty/__pycache__/window_list%%PYTHON_TAG%%.opt-2.pyc
 %%DATADIR%%/kitty/__pycache__/window_list%%PYTHON_TAG%%.pyc
+%%DATADIR%%/kitty/__pycache__/window_title_bar%%PYTHON_TAG%%.opt-1.pyc
+%%DATADIR%%/kitty/__pycache__/window_title_bar%%PYTHON_TAG%%.opt-2.pyc
+%%DATADIR%%/kitty/__pycache__/window_title_bar%%PYTHON_TAG%%.pyc
 %%DATADIR%%/kitty/__pycache__/xdg%%PYTHON_TAG%%.opt-1.pyc
 %%DATADIR%%/kitty/__pycache__/xdg%%PYTHON_TAG%%.opt-2.pyc
 %%DATADIR%%/kitty/__pycache__/xdg%%PYTHON_TAG%%.pyc
@@ -979,6 +993,8 @@ share/icons/hicolor/scalable/apps/kitty.svg
 %%DATADIR%%/kitty/rgb.py
 %%DATADIR%%/kitty/rounded_rect_fragment.glsl
 %%DATADIR%%/kitty/rounded_rect_vertex.glsl
+%%DATADIR%%/kitty/screenshot_fragment.glsl
+%%DATADIR%%/kitty/screenshot_vertex.glsl
 %%DATADIR%%/kitty/search_query_parser.py
 %%DATADIR%%/kitty/session.py
 %%DATADIR%%/kitty/shaders.py
@@ -1000,6 +1016,7 @@ share/icons/hicolor/scalable/apps/kitty.svg
 %%DATADIR%%/kitty/utils.py
 %%DATADIR%%/kitty/window.py
 %%DATADIR%%/kitty/window_list.py
+%%DATADIR%%/kitty/window_title_bar.py
 %%DATADIR%%/kitty/xdg.py
 %%DATADIR%%/logo/beam-cursor.png
 %%DATADIR%%/logo/beam-cursor@2x.png


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69b27e87.3ac4b.274af8cf>