Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Mar 2019 01:04:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 233010] x11/kitty: Cross-platform, fast, feature full, GPU based terminal emulator
Message-ID:  <bug-233010-7788-RsiioYzeVl@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-233010-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-233010-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233010

--- Comment #18 from Jan Beich <jbeich@FreeBSD.org> ---
Comment on attachment 202705
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D202705
More minor fixes

> USES=3D	gl gmake pkgconfig:build python:3.5+ shebangfix terminfo

pkgconfig defaults to build-only dependency, so you can drop :build argumen=
t.

> BINARY_ALIAS=3D	python3=3D${PYTHON_CMD}
[...]
> post-patch-DOCS-on:
> 	${REINPLACE_CMD} -e 's|python3|${PYTHON_CMD}|g' ${WRKSRC}/docs/Makefile
> 	${REINPLACE_CMD} -e 's|sphinx-build|&-${PYTHON_VER}|' ${WRKSRC}/docs/Mak=
efile

Why both approaches? And do you still need either given DOCS is commented o=
ut?

> do-build:
> 	cd ${WRKSRC} && CC=3Dclang ${PYTHON_CMD} setup.py --prefix ${STAGEDIR}${=
PREFIX} linux-package

- Replace CC=3Dclang with ${SETENV} ${MAKE_ENV} to avoid breaking GCC
architectures (powerpc*, sparc64, mips*, riscv64*)
- Add USES=3Dcompiler:c11 (for -std=3Dc11) to avoid ancient GCC 4.2 in base=
=20

x11/kitty/files/patch-glfw_wl__init.c:
> --- glfw/wl_init.c.orig	2019-02-17 23:49:36 UTC
> +++ glfw/wl_init.c
> @@ -31,7 +31,7 @@
>  #include <assert.h>
>  #include <errno.h>
>  #include <limits.h>
> -#include <linux/input.h>
> +#include <dev/evdev/input.h>
>  #include <stdio.h>
>  #include <stdlib.h>
>  #include <string.h>

Drop in favor of BUILD_DEPENDS=3Devdev-proto>0:devel/evdev-proto. According=
 to
wulf@ (maintainer of <dev/evdev/*>):
"The rule is simple: always use <linux/*> except you are writing something
FreeBSD-only like kernel drivers"

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-233010-7788-RsiioYzeVl>