Commit Graph

65 Commits

Author SHA1 Message Date
Luflosi
11deddb7c8
kitty: disable hardening feature based on more accurate condition
The `strictoverflow` hardening feature causes a build failure when using Clang as the compiler, not just on Darwin.
2020-10-04 19:07:24 +02:00
Luflosi
9d4c941f1d
kitty: 0.18.2 -> 0.18.3
https://github.com/kovidgoyal/kitty/releases/tag/v0.18.3
2020-08-13 10:50:16 +02:00
Maximilian Bosch
1f01916d50
kitty: remove myself from the maintainer list
I don't use this as terminal emulator anymore and it's
pretty well-maintained by my fellow co-maintainers.
2020-08-05 21:33:12 +02:00
sternenseemann
c8f1df041f kitty: 0.18.1 → 0.18.2
For the newly introduced test_multiprocessing_spawn, we need to set
PATH to include the freshly built kitty binary, since it uses
kitty_exe() to determine the path to the binary which it uses to
spawn worker processes.
2020-07-30 19:20:13 +02:00
Luflosi
f877a9abb8
kitty: 0.18.0 -> 0.18.1
https://github.com/kovidgoyal/kitty/releases/tag/v0.18.1
2020-06-23 16:45:31 +02:00
Luflosi
f96feeef7c kitty: 0.17.4 -> 0.18.0
https://github.com/kovidgoyal/kitty/releases/tag/v0.18.0

I submitted a patch to kitty, so that the library paths can now be passed as arguments to the build system, eliminating the need for patching. This should reduce the required maintenance effort in the future.

This commit removes the dependency on `which`, which is no longer necessary since 5e4fe584fa. It was introduced in 481e61fad8.

The configure phase is now ignored because kitty has no configure script.

The kitty tests are now run after compilation.

The zsh completions no longer need to be invoked with `source` since 38eb737845, so remove the outdated comment.

There is now a link to the changelog.
2020-06-21 16:57:05 +02:00
Luflosi
fabf511ea4
kitty: 0.17.3 -> 0.17.4
https://github.com/kovidgoyal/kitty/releases/tag/v0.17.4
2020-05-09 17:08:34 +02:00
Luflosi
5abb13d3e0
kitty: 0.17.2 -> 0.17.3
https://github.com/kovidgoyal/kitty/releases/tag/v0.17.3
2020-04-23 15:41:21 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Luflosi
5b6dbb5e18 kitty: 0.17.1 -> 0.17.2
https://github.com/kovidgoyal/kitty/releases/tag/v0.17.2
2020-03-29 14:06:08 +02:00
Luflosi
4ed98532a2 kitty: 0.16.0 -> 0.17.1
https://github.com/kovidgoyal/kitty/releases/tag/v0.17.1

The png2icns patch is no longer needed because kitty will now automatically use `png2icns` when `iconutil` cannot be found.
The zsh completions will now work without needing to invoke them with `source`, which means, that we can just install them like the other shell completions.
2020-03-24 16:32:49 +01:00
Luflosi
ae297d5247
kitty: install man page on Darwin
On Linux the man page is already being built with `setup.py linux-package` and later copied to the correct location.
2020-03-10 23:23:40 +01:00
Luflosi
1b74dfcf6d
kitty: remove unused nativeBuildInputs on macOS
These two dependencies were used to generate the PNG icons that would later be converted to the icon for the macOS app. The PNGs are now stored in git and are not generated during the build anymore.
2020-03-09 21:58:42 +01:00
Luflosi
2a15e3ba75
kitty: better fix for build error
Without the `no-werror.patch`, the compilation would fail with the following warning:
```
clang-7: error: argument unused during compilation: '-fno-strict-overflow' [-Werror,-Wunused-command-line-argument]
```
To fix this, the compiler command line options `-pedantic-errors` and `-Werror` were patched out of the build script so that the warning would not become an error and stop the build. This is not ideal as this piece of code is changed fairly frequently, which requires fixing the patch. In the next kitty version the patch would need to be fixed again.
A better alternative is to just not pass `-fno-strict-overflow` to the compiler. This is done by disabling the `strictoverflow` hardening feature.
2020-02-19 17:28:46 +01:00
Maximilian Bosch
b3729ae77f
kitty: 0.15.1 -> 0.16.0
https://github.com/kovidgoyal/kitty/releases/tag/v0.16.0
2020-01-28 09:14:33 +01:00
Maximilian Bosch
da4b7e778a
kitty: 0.15.0 -> 0.15.1
https://github.com/kovidgoyal/kitty/releases/tag/v0.15.1
2019-12-21 12:14:36 +01:00
Luflosi
079d57fa20
kitty: remove unused GLFW dependency
kitty has its own heavily modified fork of GLFW embedded in the source code. Therefore it doesn't need GLFW as an external dependency.
2019-12-08 01:47:03 +01:00
Luflosi
c562eb22ab
kitty: replace library path using patch instead of substituteInPlace
This makes patching the path for `libEGL` consistent with `libstartup-notification` and `libcanberra`.
It should also prevent silently doing nothing in case the code in kitty is changed, similar to what was described in 1842c4aaa4.
2019-12-07 23:05:47 +01:00
Maximilian Bosch
78f7187cd4
kitty: patch paths to linux-specific libs on linux builds only 2019-12-03 19:44:05 +01:00
Luflosi
bce914acba
kitty: fix loading of library
When trying to play a sound, kitty prints an error message because it cannot find `libcanberra.so`:
```
Failed to load libcanberra.so, cannot play beep sound, with error: libcanberra.so.0.2.5: cannot open shared object file: No such file or directory
```
This is fixed by patching the path to the library.
2019-12-03 02:01:37 +01:00
Antonio Nuno Monteiro
ab57084656
kitty: Fix patch that doesn't apply in v0.15.0 2019-11-29 12:46:26 -08:00
Maximilian Bosch
d1cf282914
kitty: 0.14.6 -> 0.15.0
https://github.com/kovidgoyal/kitty/releases/tag/v0.15.0
2019-11-27 10:23:06 +01:00
Luflosi
326583f96a
kitty: disable update check machanism
kitty has its own update notification mechanism which should probably be disabled when the package is managed by a package manager such as nix. See https://sw.kovidgoyal.net/kitty/build.html#note-for-linux-macos-packagers.
2019-11-02 01:51:28 +01:00
Luflosi
b83221fe2f
kitty: remove symlink to kitty-deref-symlink
Symlinking to `kitty-deref-symlink` on macOS is no longer needed. In fact `kitty-deref-symlink` is now a symlink itself.
This reverts 240fce7ba7.
2019-09-28 12:05:49 +02:00
Maximilian Bosch
04d6fa1385
kitty: 0.14.5 -> 0.14.6
https://sw.kovidgoyal.net/kitty/changelog.html#id1
2019-09-28 02:53:54 +02:00
R. RyanTM
c03a40a13c kitty: 0.14.3 -> 0.14.5
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/kitty/versions
2019-09-26 16:55:40 -07:00
Maximilian Bosch
b1ac3587cd
kitty: python3 runtime requires ncurses executables
`infocmp` from `ncruses.dev` is needed to copy kitty's terminfo e.g. to
a remote server: 3a5baf2722/docs/faq.rst (id45)

Fixes #66583
2019-08-18 10:55:45 +02:00
Dmitry Kalinkin
0283abb4e8
kitty: libcanberra is not needed on darwin 2019-07-29 11:26:16 -04:00
Dmitry Kalinkin
4536e3fbf4
kitty: fix patch for darwin 2019-07-29 11:15:13 -04:00
Roman Volosatovs
046390bf97
kitty: 0.14.2 -> 0.14.3 2019-07-29 10:44:52 +02:00
josephtheengineer
cec27ceabc kitty: fix wayland support (EGL: Library not found) 2019-07-25 07:51:06 +10:00
Daiderd Jordan
a73bfdf3a7
kitty: remove cf-private 2019-07-03 22:20:20 +02:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Elis Hirwing
f1c31bdd62 kitty: 0.14.1 -> 0.14.2 (#62886)
Release: https://github.com/kovidgoyal/kitty/releases/tag/v0.14.2
2019-06-09 11:38:50 +02:00
R. RyanTM
7ce94d5888 kitty: 0.14.0 -> 0.14.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/kitty/versions
2019-06-01 17:59:10 -07:00
Roman Volosatovs
98a6607e34
kitty: Adapt patches to upstream changes 2019-05-26 20:06:57 +02:00
Roman Volosatovs
567defecde
kitty: Remove integrated patches 2019-05-26 20:06:56 +02:00
Roman Volosatovs
b73cd684cb
kitty: 0.13.3 -> 0.14.0 2019-05-26 20:06:56 +02:00
Roman Volosatovs
240fce7ba7
kitty: symlink the deref binary 2019-05-13 10:08:40 +02:00
Roman Volosatovs
7da57081fe
kitty: apply patch on Darwin for running as symlink 2019-05-13 10:08:40 +02:00
strager
75aa8460ac kitty: support macOS (#56740)
Install the `kitty` command-line utility and the `kitty.app` macOS
application.

* Prefer libicns (png2icns) over Apple's non-free iconutil.
* Work around warnings from Apple headers by disabling -pedantic-errors
  and -Werror.
* Work around ld not support LLVM-LTO by disabling LTO.
* Make Kitty and glfw compile for macOS 10.11 (and macOS 10.10).
2019-03-31 15:18:58 -04:00
Frederik Rietdijk
d2c3fd5af0 Python: fix outfall after setting strictDeps = true; 2019-02-17 14:40:54 +01:00
José Luis Lafuente
38eb737845
kitty: install completions 2019-02-06 13:27:56 +01:00
R. RyanTM
b4f58982de kitty: 0.13.2 -> 0.13.3
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/kitty/versions
2019-01-28 04:19:23 -08:00
Roman Volosatovs
87f798edc6 kitty: Adapt fix-paths.patch to source changes 2019-01-09 18:26:36 -05:00
Roman Volosatovs
81f3a3e7c6 kitty: 0.13.1 -> 0.13.2 2019-01-09 18:26:36 -05:00
Roman Volosatovs
5fa6721358
kitty: 0.12.3 -> 0.13.1 2018-12-15 13:46:42 +01:00
Vaskó László
2fdfa2115d kitty: fixing environment variable substituition in docs/Makefile
The previous substitutution only worked by accident as make requires
environment variables to be enclosed in curly brackets as shown in this
excerpt from the build output:
> PYTHONPATH=YTHONPATH:.. HOME=MPDIR/nowhere sphinx-build -M html "." "_build" -T

The substituition is moved to the existing patch file to simplify the
builder expression.
2018-10-20 20:42:23 +02:00
Vaskó László
1842c4aaa4 kitty: fix locating libstartup-notification-1
Startup notification doesn't work in recent versions of Kitty:
> Traceback (most recent call last):
>   File "/nix/store/3a3b0xd952gp8jw70k5kh3a4zhgzf0p7-kitty-0.12.3/bin/../lib/kitty/kitty/utils.py", line 216, in init_startup_notification
>     return init_startup_notification_x11(window_handle, startup_id)
>   File "/nix/store/3a3b0xd952gp8jw70k5kh3a4zhgzf0p7-kitty-0.12.3/bin/../lib/kitty/kitty/utils.py", line 201, in init_startup_notification_x11
>     return init_x11_startup_notification(display, window_handle, sid)
> OSError: Failed to load libstartup-notification-1.so with error: libstartup-notification-1.so: cannot open shared object file: No such file or directory

Apparently dispatching of startup notification has been moved to a C
binding in kitty 0.6.0 [1] so the substituion had to be modified to reflect
that. Without this fix Kitty still works except that window managers
which depend on startup notifications to be fired (e.g. Awesome)
cannot apply special placement rules.

The substitution mechanism is also changed to use a patch file to detect
this kind of mistakes in the future.

[1]: b08f4ab593
2018-10-20 20:40:54 +02:00
Thomas Kerber
5e4fe584fa kitty: 0.12.0 -> 0.12.3 (#47599) 2018-10-01 17:27:31 +02:00