diff --git a/x11/kitty/Makefile b/x11/kitty/Makefile index 2f6c1927e2a5..0da2bf8a5ce6 100644 --- a/x11/kitty/Makefile +++ b/x11/kitty/Makefile @@ -1,129 +1,130 @@ PORTNAME= kitty DISTVERSIONPREFIX= v -DISTVERSION= 0.36.1 +DISTVERSION= 0.36.2 CATEGORIES= x11 wayland MAINTAINER= nivit@FreeBSD.org COMMENT= Cross-platform, fast, featureful, GPU-based terminal emulator WWW= https://sw.kovidgoyal.net/kitty/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}furo>0:textproc/py-furo@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx-copybutton>0:textproc/py-sphinx-copybutton@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx-inline-tabs>0:textproc/py-sphinx-inline-tabs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinxext-opengraph>0:textproc/py-sphinxext-opengraph@${PY_FLAVOR} \ nerd-fonts>=3.1.1:x11-fonts/nerd-fonts \ - urw-base35-fonts>=20200910:x11-fonts/urw-base35-fonts \ simde>=0.7.6:devel/simde \ sphinx-build:textproc/py-sphinx@${PY_FLAVOR} \ + urw-base35-fonts>=20200910:x11-fonts/urw-base35-fonts \ wayland-protocols>=0:graphics/wayland-protocols LIB_DEPENDS= libcanberra.so:audio/libcanberra \ libdbus-1.so:devel/dbus \ libepoll-shim-interpose.so:devel/libepoll-shim \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png \ librsync.so:net/librsync \ libwayland-client.so:graphics/wayland \ libwayland-cursor.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon \ libxxhash.so:devel/xxhash -DOCS_BUILD_DEPENDS= roboto-fonts-ttf>=2.134:x11-fonts/roboto-fonts-ttf - USES= compiler:c11 cpe desktop-file-utils gettext-runtime gl gmake \ go:1.22,modules magick pkgconfig python shebangfix ssl tar:xz \ terminfo xorg CPE_VENDOR= kitty_project USE_GL= gl USE_XORG= x11 xcb xcursor xi xinerama xrandr SHEBANG_FILES= build-terminfo count-lines-of-code update-on-ox SHEBANG_GLOB= *.py GO_MODULE= github.com/kovidgoyal/kitty MAKE_ENV= PYTHONDONTWRITEBYTECODE=1 TEST_ENV= PATH="${STAGEDIR}${PREFIX}/bin:${PATH}" TEST_TARGET= test CPPFLAGS+= `pkg-config --cflags epoll-shim-interpose` LDFLAGS+= `pkg-config --libs epoll-shim-interpose` BINARY_ALIAS= python3=${PYTHON_CMD} python=${PYTHON_CMD} BUILD_DIR= ${WRKSRC}/${OPSYS:tl}-package INSTALL_WRKSRC= ${WRKSRC}/linux-package _STRIP_TARGETS= kitty/fast_data_types.so kitty/glfw-x11.so \ kitty/glfw-wayland.so kittens/transfer/rsync.so _EMPTY_DIRS= kittens/choose kittens/diff kittens/unicode_input kittens kitty -OPTIONS_DEFINE= DOCS -DOCS_MAKE_ENV= BUILD_DOCS=yes +OPTIONS_DEFINE= DOCS +DOCS_BUILD_DEPENDS= roboto-fonts-ttf>=2.134:x11-fonts/roboto-fonts-ttf +DOCS_MAKE_ENV= BUILD_DOCS=yes .include .if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1400079 || (${OSVERSION} >= 1302505 && \ ${OSVERSION} < 1400000)) CFLAGS+= -Wno-error=invalid-utf8 -Winvalid-utf8 .endif .if ${ARCH:Mriscv64*} MAKE_ENV+= KITTY_NO_LTO=1 .endif # ncursesw and tinfo >= 6.1 seem to be neededd .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1400035 USES+= ncurses:port .else USES+= ncurses .endif post-patch: ${REINPLACE_CMD} -E \ -e "s:'go':'${GO_CMD}':1" \ -e "s:(dirs_exist_ok=True):\1, ignore=shutil.ignore_patterns('*.orig', '*.bak'):1" \ ${WRKSRC}/setup.py ${REINPLACE_CMD} -e "s:%%DATADIR%%:${DATADIR}:1" \ ${WRKSRC}/shell-integration/fish/vendor_conf.d/kitty-shell-integration.fish + ${REINPLACE_CMD} -e "s:^\(go \)1.23:\1${GO_VERSION}:1" \ + ${WRKSRC}/go.mod # For librsync, we need to set header and library path do-build: (cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} -OO setup.py \ --extra-include-dirs ${LOCALBASE}/include \ --extra-library-dirs ${LOCALBASE}/lib \ --libdir-name share \ --prefix ${BUILD_DIR:T} \ --update-check-interval 0 \ linux-package) do-install: cd ${BUILD_DIR} && \ ${INSTALL_PROGRAM} bin/kitty bin/kitten ${STAGEDIR}${PREFIX}/bin && \ ${INSTALL_DATA} share/applications/* ${STAGEDIR}${DESKTOPDIR} && \ cd ${BUILD_DIR}/share/icons/hicolor && \ ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/icons/hicolor cd ${BUILD_DIR}/share/kitty && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/terminfo/kitty.terminfo \ ${STAGEDIR}${PREFIX}/share/misc/ ${STRIP_CMD} ${_STRIP_TARGETS:S|^|${STAGEDIR}${DATADIR}/|} ${INSTALL_MAN} ${BUILD_DIR}/share/man/man1/kitty.1 ${STAGEDIR}${PREFIX}/share/man/man1 ${INSTALL_MAN} ${BUILD_DIR}/share/man/man5/kitty.conf.5 ${STAGEDIR}${PREFIX}/share/man/man5 do-install-DOCS-on: cd ${BUILD_DIR}/share/doc/kitty/html && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ "-not ( -name .buildinfo -or -name .nojekyll )" .include diff --git a/x11/kitty/distinfo b/x11/kitty/distinfo index f66f9d5e5af2..3975b049b3f7 100644 --- a/x11/kitty/distinfo +++ b/x11/kitty/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1724487404 -SHA256 (go/x11_kitty/kitty-v0.36.1/v0.36.1.mod) = 860e13b69a20309f1b32c4d6c9c9890e069a9fc679d74f8740029081cac6498f -SIZE (go/x11_kitty/kitty-v0.36.1/v0.36.1.mod) = 1237 -SHA256 (go/x11_kitty/kitty-v0.36.1/v0.36.1.zip) = b89ff7e165a3fce4bf9006f92b32b6e00f8613c603ea9812bf5f911c2d6de867 -SIZE (go/x11_kitty/kitty-v0.36.1/v0.36.1.zip) = 9034953 +TIMESTAMP = 1725608513 +SHA256 (go/x11_kitty/kitty-v0.36.2/v0.36.2.mod) = 17369e7c78b63b7256090b5fb8b3688c272232acaea5af910c348f5099f97cee +SIZE (go/x11_kitty/kitty-v0.36.2/v0.36.2.mod) = 1237 +SHA256 (go/x11_kitty/kitty-v0.36.2/v0.36.2.zip) = ea726fbd1c774372ccf9de91da353b7c4dc1dd7a123aa96fc80ada694629b1d1 +SIZE (go/x11_kitty/kitty-v0.36.2/v0.36.2.zip) = 9036831