kitty/kitty.spec
Michael Vetter 33e92ea149 Accepting request 658304 from home:jubalh:branches:X11:terminals
- Update to 0.13.1:
  * Fix passing input via the pipe action to a program without a window not working.
  * Linux: Fix a regression in the previous release that caused automatic selection of bold/italic fonts when using aliases such as "monospace" to not work (#1209)
  * Fix resizing window smaller and then restoring causing some wrapped lines to not be properly unwrapped (#1206)
  Changelog from 0.13.0:
  * Add an option scrollback_pager_history_size to tell kitty to store extended scrollback to use when viewing the scrollback buffer in a pager (#970)
  * Modify the kittens sub-system to allow creating custom kittens without any user interface. This is useful for creating more complex actions that can be bound to key presses in kitty.conf. See doc:kittens/custom. (#870)
  * Add a new nth_window action that can be used to go to the nth window and also previously active windows, using negative numbers. Similarly, goto_tab now accepts negative numbers to go to previously active tabs (#1040)
  * Allow hiding the tab bar completely, by setting tab_bar_style to hidden. (#1014)
  * Allow private use unicode characters to stretch over more than a single neighboring space (#1036)
  * Add a new touch_scroll_multiplier option to modify the amount scrolled by high precision scrolling devices such as touchpads (#1129)
  * icat kitten: Implement reading image data from STDIN, if STDIN is not connected to a terminal (#1130)
  * hints kitten: Insert trailing spaces after matches when using the --multiple option. Also add a separate --add-trailing-space option to control this behavior (#1132)
  * Fix the *_with_cwd actions using the cwd of the overlay window rather than the underlying window's cwd (#1045)
  * Fix incorrect key repeat rate on wayland (#1055)
  * Linux: Fix incorrect rendering of some fonts when hinting is disabled at small sizes (#1173)
  * Linux: Fix match rules used as aliases in Fontconfig configuration not being respected (#1085)
  * Linux: Fix a crash when using the GNU Unifont as a fallback font (#1087)
  * Wayland: Fix copying from hidden kitty windows hanging (#1051)
  * Wayland: Add support for the primary selection protocol implemented by some compositors (#1095)
  * Fix expansion of env vars not working in the env directive (#1075)
  * Fix mouse_hide_wait only taking effect after an event such as cursor blink or key press (#1073)
  * Fix the set_background_opacity action not working correctly (#1147)
  * Fix second cell of emoji created using variation selectors not having the same attributes as the first cell (#1109)
  * Fix focusing neighboring windows in the grid layout with less than 4 windows not working (#1115)
  * Fix ctrl+shift+special key not working in normal and application keyboard modes (#1114)
  * Add a terminfo entry for full keyboard mode.
  * Fix incorrect text-antialiasing when using very low background opacity (#1005)
  * When double or triple clicking ignore clicks if they are "far" from each other (#1093)
  * Follow xterm's behavior for the menu key (#597)
  * Fix hover detection of URLs not working when hovering over the first colon and slash characters in short URLs (#1201)

OBS-URL: https://build.opensuse.org/request/show/658304
OBS-URL: https://build.opensuse.org/package/show/X11:terminals/kitty?expand=0&rev=18
2018-12-15 07:53:23 +00:00

90 lines
2.8 KiB
RPMSpec

#
# spec file for package kitty
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: kitty
Version: 0.13.1
Release: 0
Summary: A cross-platform, fast, feature full, GPU based terminal emulator
License: GPL-3.0-only
Group: System/X11/Terminals
URL: https://github.com/kovidgoyal/kitty
Source: https://github.com/kovidgoyal/kitty/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Patch0: kitty-no-docs.patch
BuildRequires: ImageMagick-devel
BuildRequires: Mesa-libGL-devel
BuildRequires: fontconfig-devel
BuildRequires: freetype2-devel
BuildRequires: harfbuzz-devel >= 1.5.0
BuildRequires: libXcursor-devel
BuildRequires: libXi-devel
BuildRequires: libXinerama-devel
BuildRequires: libXrandr-devel
BuildRequires: libpng16-compat-devel
BuildRequires: libwayland-egl-devel
BuildRequires: libxkbcommon-devel
BuildRequires: libxkbcommon-x11-devel
BuildRequires: pkgconfig(dbus-1)
# for 'tic'
BuildRequires: ncurses-devel
BuildRequires: pkgconfig
%if 0%{?suse_version} > 1500
BuildRequires: python3-Sphinx >= 1.7
%endif
BuildRequires: python3-devel >= 3.5
BuildRequires: wayland-devel
BuildRequires: wayland-protocols-devel
BuildRequires: zlib-devel
%description
A terminal emulator that uses OpenGL for rendering.
Supports modern terminal features like: graphics, unicode,
true-color, OpenType ligatures, mouse protocol, focus tracking,
bracketed paste and so on. And which can be controlled by scripts.
%prep
%setup -q
%if 0%{?sle_version} == 150000 && 0%{?is_opensuse}
%patch0 -p1
%endif
find . -type f -exec sed -i "s/#!\/usr\/bin\/env python3/#!\/usr\/bin\/python3/" {} +
%build
python3 setup.py --verbose linux-package --prefix %{buildroot}%{_prefix}
%install
# yes they have a makefile, no they dont use it properly
# no they dont have a make install
%files
%license LICENSE
%doc CHANGELOG.rst README.asciidoc
%{_bindir}/kitty
%{_libexecdir}/kitty
%{_datadir}/applications/kitty.desktop
%dir %{_datadir}/icons/hicolor/
%dir %{_datadir}/icons/hicolor/256x256/
%{_datadir}/icons/hicolor/256x256/apps/
%{_datadir}/terminfo/x/xterm-kitty
%if 0%{?suse_version} > 1500
%{_mandir}/man1/kitty.1%{?ext_man}
%{_datadir}/doc/kitty
%endif
%changelog