From 5a5657e07b18aeb922262a763d19216fddd0c547 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Fri, 16 Apr 2021 11:50:24 +0000 Subject: [PATCH] unlink OBS-URL: https://build.opensuse.org/package/show/X11:terminals/kitty?expand=0&rev=69 --- kitty-0.14.2.tar.gz | 3 - kitty-0.19.3.tar.gz | 3 + kitty-no-docs.patch | 43 ++-- kitty.changes | 531 ++++++++++++++++++++++++++++++++++++++++++++ kitty.spec | 41 ++-- 5 files changed, 576 insertions(+), 45 deletions(-) delete mode 100644 kitty-0.14.2.tar.gz create mode 100644 kitty-0.19.3.tar.gz diff --git a/kitty-0.14.2.tar.gz b/kitty-0.14.2.tar.gz deleted file mode 100644 index c510247..0000000 --- a/kitty-0.14.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f0fdf3760074afe3101ef7483506c6d15e852bddce38efd859c7214bcaa5034f -size 3534076 diff --git a/kitty-0.19.3.tar.gz b/kitty-0.19.3.tar.gz new file mode 100644 index 0000000..12fd7d5 --- /dev/null +++ b/kitty-0.19.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:28fc5de9b8934174801aa7d95c5a6f4c878a7e93eea15cdf06d9c982e1cd2fec +size 4032891 diff --git a/kitty-no-docs.patch b/kitty-no-docs.patch index 68367ab..13676ef 100644 --- a/kitty-no-docs.patch +++ b/kitty-no-docs.patch @@ -1,24 +1,19 @@ -There is no python-sphinx >= 1.7 for Leap 15.0. -After many requests to provide a package for Leap, I decided to ship a version -without docs. -diff -urEbwB kitty-0.14.1/setup.py kitty-0.14.1.new/setup.py ---- kitty-0.14.1/setup.py 2019-05-29 16:27:00.000000000 +0200 -+++ kitty-0.14.1.new/setup.py 2019-05-30 09:22:49.768323634 +0200 -@@ -674,8 +674,6 @@ - safe_makedirs(launcher_dir) - build_launcher(args, launcher_dir, for_bundle, sh_launcher, args.for_freeze) - if not is_macos: # {{{ linux desktop gunk -- copy_man_pages(ddir) -- copy_html_docs(ddir) - icdir = os.path.join(ddir, 'share', 'icons', 'hicolor', '256x256', 'apps') - safe_makedirs(icdir) - shutil.copy2('logo/kitty.png', icdir) -@@ -888,8 +886,6 @@ - ) - elif args.action == 'linux-package': - build(args, native_optimizations=False) -- if not os.path.exists(os.path.join(base, 'docs/_build/html')): -- run_tool(['make', 'docs']) - package(args) - elif args.action in ('macos-bundle', 'osx-bundle'): - build(args, native_optimizations=False) +Fri Jun 26 23:10:44 CEST 2020 - Philipp Seiler + +remade patch to work for version 0.18.0 +it just removes the parts in the install script which install +the documentation. But there is no python-sphinx >= 1.7 for Leap 15.0. +diff -dupr kitty-0.18.1.bak/setup.py kitty-0.18.1/setup.py +--- kitty-0.18.1.bak/setup.py 2020-06-26 23:07:11.579036916 +0200 ++++ kitty-0.18.1/setup.py 2020-06-26 23:10:16.868682608 +0200 +@@ -819,10 +819,6 @@ def compile_python(base_path: str) -> No + + + def create_linux_bundle_gunk(ddir: str, libdir_name: str) -> None: +- if not os.path.exists('docs/_build/html'): +- run_tool(['make', 'docs']) +- copy_man_pages(ddir) +- copy_html_docs(ddir) + icdir = os.path.join(ddir, 'share', 'icons', 'hicolor', '256x256', 'apps') + safe_makedirs(icdir) + shutil.copy2('logo/kitty.png', icdir) diff --git a/kitty.changes b/kitty.changes index c4d736d..4b87313 100644 --- a/kitty.changes +++ b/kitty.changes @@ -1,3 +1,534 @@ +------------------------------------------------------------------- +Mon Dec 28 12:21:25 UTC 2020 - Michael Vetter + +- Update to 0.19.3: + * A new broadcast kitten to type in all kitty windows + simultaneously (#1569) + * Add a new mappable select_tab action to choose a tab to switch + to even when the tab bar is hidden (#3115) + * Allow specifying text formatting in tab_title_template (#3146) + * Linux: Read font_features from the FontConfig database as well, + so that they can be configured in a single, central location (#3174) + * Graphics protocol: Add support for giving individual image + placements their own ids and for asking the terminal emulator to + assign ids for images. Also allow suppressing responses from the + terminal to commands. These are backwards compatible protocol + extensions. (#3133, #3163) + * Distribute extra pixels among all eight-blocks rather than adding + them all to the last block (#3097) + * Fix drawing of a few sextant characters incorrect (#3105) + * Preserve lines in the scrollback if a scrolling region is defined + that is contiguous with the top of the screen (#3113) + * Wayland: Fix key repeat being stopped by the release of an + unrelated key (#2191) + * Add an option, detect_urls to control whether kitty will detect + URLs when the mouse moves over them (#3118) + * Graphics protocol: Dont return filename in the error message when + opening file fails, since filenames can contain control characters (#3128) + * Fix one ANSI formatting escape code not being removed from the + pager history buffer when piping it as plain text (#3132) + * Match the save/restore cursor behavior of other terminals, for the + sake of interoperability. This means that doing a DECRC without a + prior DECSC is now undefined (#1264) + * Fix mapping remote_control send-text not working (#3147) + * Add a right option for tab_switch_strategy (#3155) + * Fix a regression in 0.19.0 that caused a rare crash when using the + optional scrollback_pager_history_size (#3049) + * Full screen kittens: Fix incorrect cursor position after + kitten quits (#3176) +- Fix bsc#1180298 CVE-2020-35605 + +------------------------------------------------------------------- +Mon Nov 16 02:06:18 UTC 2020 - Avindra Goolcharan + +- Update to 0.19.2: + * A new Query terminal kitten to easily query the running kitty + via escape codes to detect its version, and the values of + configuration options that enable or disable terminal features. + * Options to control mouse pointer shape, default_pointer_shape, + and pointer_shape_when_dragging + * Font independent rendering for braille characters, which + ensures they are properly aligned at all font sizes. + * Fix a regression in 0.19.0 that caused borders not to be drawn + when setting window_margin_width and keeping + draw_minimal_borders on + * Fix a regression in 0.19.0 that broke rendering of one-eight + bar unicode characters at very small font sizes + * Wayland: Fix a crash under GNOME when using multiple OS windows + * Fix selections created by dragging upwards not being + auto-cleared when screen contents change + * Allow adding MIME definitions to kitty by placing a mime.types + file in the kitty config directory + * Dont ignore --title when using a session file that defines + no windows + * Fix the send_text action not working in URL handlers + * Fix last character of URL not being detected if it is the only + character on a new line + * Don't restrict the ICH,DCH,REP control codes to only the + current scroll region +- use generic name in rpm files section + +------------------------------------------------------------------- +Tue Oct 6 08:49:21 UTC 2020 - Michael Vetter + +- Update to 0.19.1: + * hints kitten: Add an ip type for easy selection of IP addresses (#3009) + * Fix a regression that caused a segfault when using + scrollback_pager_history_size and it needs to be expanded (#3011) + * Fix update available notifications repeating (#3006) + +------------------------------------------------------------------- +Mon Oct 5 07:32:29 UTC 2020 - Michael Vetter + +- Update to 0.19.0: + * Add support for hyperlinks from terminal programs. Controlled + via allow_hyperlinks (#68) + * Add support for easily editing or downloading files over SSH + sessions without the need for any special software + * A new Hyperlinked grep kitten to easily search files and open + the results at the matched line by clicking on them. + * Allow customizing the actions kitty takes when clicking on URLs + * Improve rendering of borders when using minimal borders. + Use less space and do not display a box around active windows + * Add a new extensible escape code to allow terminal programs to + trigger desktop notifications. See Desktop notifications (#1474) + * Implement special rendering for various characters from the set + of "Symbols for Legacy Computing" from the Unicode 13 standard + * Unicode input kitten: Allow choosing symbols from the NERD font + as well. These are mostly Private Use symbols not in any standard, + however are common. (#2972) + * Allow specifying border sizes in either pts or pixels. Change the + default to 0.5pt borders as this works best with the new minimal border style + * Add support for displaying correct colors with non-sRGB PNG + files (Adds a dependency on liblcms2) + * hints kitten: Add a new kitty +kitten hints --type of hyperlink useful + for activating hyperlinks using just the keyboard + * Allow tracking focus change events in watchers (#2918) + * Allow specifying watchers in session files and via a + command line argument (#2933) + * Add a setting tab_activity_symbol to show a symbol in the tab title if + one of the windows has some activity after it was last focused (#2515) + * When in the main screen and a program grabs the mouse, do not use the + scroll wheel events to scroll the scrollback buffer, instead send + them to the program (#2939) + * Fix unfocused windows in which a bell occurs not changing their border color + to red until a relayout + * Linux: Fix automatic detection of bold/italic faces for fonts such as IBM + Plex Mono that have the regular face with a full name that is the same as + the family name (#2951) + * Fix a regression that broke kitten_alias (#2952) + * Fix a regression that broke the move_window_to_top action (#2953) + * Fix a memory leak when changing font sizes + * Fix some lines in the scrollback buffer not being properly rendered after a + window resize/font size change (#2619) + +------------------------------------------------------------------- +Wed Sep 23 14:43:57 UTC 2020 - Ondřej Súkup + +- kitty doesn't use libexecdir + +------------------------------------------------------------------- +Wed Aug 12 06:50:42 UTC 2020 - Michael Vetter + +- Update to 0.18.3: + * hints kitten: Allow customizing hint colors (#2894) + * Wayland: Fix a typo in the previous release that broke reading + mouse cursor size (#2895) + * Fix a regression in the previous release that could cause an + exception during startup in rare circumstances (#2896) + * Fix image leaving behind a black rectangle when switch away and + back to alternate screen (#2901) + * Fix one pixel mis-alignment of rounded corners when either the + cell dimensions or the thickness of the line is an odd number + of pixels (#2907) + * Fix a regression that broke specifying OS window size in the + session file (#2908) + +------------------------------------------------------------------- +Wed Jul 29 05:49:12 UTC 2020 - Michael Vetter + +- Update to 0.18.2: + * X11: Improve handling of multiple keyboards. Now pressing a + modifier key in one keyboard and a normal key in another works (#2362). + Don't rebuild keymaps on new keyboard events that only change + geometry (#2787). Better handling of multiple keyboards with + incompatible layouts (#2726) + * Improve anti-aliasing of triangular box drawing characters, + noticeable on low-resolution screens (#2844) + * Fix kitty @ send-text not working reliably when using a socket + for remote control (#2852) + * Implement support for box drawing rounded-corners characters (#2240) + * Allow setting the class for new OS windows in a session file + * When a character from the Unicode Dingbat block is followed by a + space, use the extra space to render a larger version of the character (#2850) + * Make neighboring window selection in grid and splits layouts + more intelligent (#2840) + * Allow passing the current selection to kittens (#2796) + * Fix pre-edit text not always being cleared with ibus input (#2862) + * Allow setting the background_opacity of new OS windows created via + kitty --single-instance using the kitty --override command line argument (#2806) + * Fix the CSI J (Erase in display ED) escape code not removing line + continued markers (#2809) + * hints kitten: In linenumber mode expand paths that starts with ~ (#2822) + * Fix launch --location=last not working (#2841) + * Fix incorrect centering when a PUA or symbol glyph is followed by + more than one space + * Have the confirm_os_window_close option also apply when closing tabs + with multiple windows (#2857) + * Add support for legacy DECSET codes 47, 1047 and 1048 (#2871) + * Wayland: Fix a regression in 0.18.0 that could cause crashes related + to mouse cursors in some rare circumstances (#2810) + * Fix change in window size that does not change number of cells not being + reported to the kernel (#2880) + +------------------------------------------------------------------- +Fri Jun 26 21:43:23 UTC 2020 - Philipp Seiler + +- ported no-docs patch to 0.18.1 +- improved the sed line and added another one for python2 + +------------------------------------------------------------------- +Wed Jun 24 07:47:56 UTC 2020 - Michael Vetter + +- Update to 0.18.1: + * macOS: Fix for diff kitten not working with python 3.8 (#2780) + +------------------------------------------------------------------- +Mon Jun 22 08:12:17 UTC 2020 - Michael Vetter + +- Update to 0.18.0: + * Allow multiple overlay windows per normal window + * Add an option confirm_os_window_close to ask for confirmation when + closing an OS window with multiple kitty windows. + * Tall and Fat layouts: Add a mirrored option to put the full size + window on the opposite edge of the screen (#2654) + * Tall and Fat layouts: Add mappable actions to increase or + decrease the number of full size windows (#2688) + * Allow sending arbitrary signals to the current foreground process + in a window using either a mapping in kitty.conf or via remote + control (#2778) + * Allow sending the back and forward mouse buttons to terminal + applications (#2742) + * Backwards incompatibility: The numbers used to encode mouse + buttons for the send_mouse_event function that can be used in + kittens have been changed (see Sending mouse events). + * Add a new mappable quit action to quit kitty completely. + * Fix marks using different colors with regexes using only + a single color (#2663) + * Linux: Workaround for broken Nvidia drivers for old cards (#456) + * Wayland: Fix kitty being killed on some Wayland compositors + if a hidden window has a lot of output (#2329) + * Add support for the CSI REP escape code (#2702) + * Wayland: Fix mouse cursor rendering on HiDPI screens (#2709) + * X11: Recompile keymaps on XkbNewKeyboardNotify events (#2726) + * X11: Reduce startup time by ~25% by only querying GLX for + framebuffer configurations once (#2754) + * Fix the kitty shell launched via a mapping needlessly requiring + allow_remote_control to be turned on. + +------------------------------------------------------------------- +Mon May 11 06:51:36 UTC 2020 - Michael Vetter + +- Update to 0.17.4: + * Allow showing the name of the current layout and the number of + windows in tab titles (#2634) + * By default, double clicking no longer considers the : as part + of words, see select_by_word_characters (#2602) + * Fix a regression that caused clicking in the padding/margins + of windows in the stack layout to switch the window to the + first window (#2604) + * Report modifier key state when sending wheel events to the + terminal program + * Fix kitty @ send-text not working with text larger than 1024 + bytes when using kitty --listen-on (#2607) + * Wayland: Fix OS window title not updating for hidden + windows (#2629) + * Fix background_tint making the window semi-transparent (#2618) + +------------------------------------------------------------------- +Thu Apr 23 09:02:15 UTC 2020 - Michael Vetter + +- Update to 0.17.3: + * Allow individually setting margins and padding for each edge + (left, right, top, bottom). Margins can also be controlled per + window via remote control (#2546) + * Fix reverse video not being rendered correctly when using + transparency or a background image (#2419) + * Allow mapping arbitrary remote control commands to key + presses in kitty.conf + * X11: Fix crash when doing drag and drop from some + applications (#2505) + * Fix launch --stdin-add-formatting not working (#2512) + * Update to Unicode 13.0 (#2513) + * Render country flags designated by a pair of unicode + codepoints in two cells instead of four. + * diff kitten: New option to control the background color for + filler lines in the margin (#2518) + * Fix specifying options for layouts in the startup session + file not working (#2520) + * Linux: Ignore keys if they are designated as + layout/group/mode switch keys (#2519) + * Marks: Fix marks not handling wide characters and tab + characters correctly (#2534) + * Add a new listen_on option in kitty.conf to set kitty + --listen-on globally. Also allow using environment + variables in this option (#2569). + * Allow sending mouse events in kittens (#2538) + * icat kitten: Fix display of 16-bit depth images (#2542) + * Add ncurses specific terminfo definitions for + strikethrough (#2567) + * Fix a regression in 0.17 that broke displaying graphics + over SSH (#2568) + * Fix --title not being applied at window creation time (#2570) + +------------------------------------------------------------------- +Sun Mar 29 11:26:43 UTC 2020 - Michael Vetter + +- Update to 0.17.2: + * Add a launch --watcher option that allows defining callbacks + that are called for various events in the window's life-cycle + (#2440) + * Fix a regression in 0.17 that broke drawing of borders with + non-minimal borders (#2474) + * Hints kitten: Allow copying to primary selection as well + as clipboard (#2487) + * Add a new mappable action close_other_windows_in_tab to close + all but the active window (#2484) + * Hints kitten: Adjust the default regex used to detect line + numbers to handle line+column numbers (#2268) + * Fix blank space at the start of tab bar in the powerline + style when first tab is inactive (#2478) + * Fix regression causing incorrect rendering of separators in + tab bar when defining a tab bar background color (#2480) + * Fix a regression in 0.17 that broke the kitty @ launch remote + command and also broke the --tab-title option when + creating a new tab. (#2488) + * Linux: Fix selection of fonts with multiple width variants + not preferring the normal width faces (#2491) + +------------------------------------------------------------------- +Thu Mar 26 07:12:57 UTC 2020 - Michael Vetter + +- Update to 0.17.1: + * Fix cursor_underline_thickness not working (#2465) + * Fix a regression in 0.17 that caused tab bar background to be + rendered after the last tab as well (#2464) + * Fix a regression in 0.17 that caused kitty @ set-colors to + require setting cursor_text_color (#2470) + +------------------------------------------------------------------- +Tue Mar 24 08:22:44 UTC 2020 - Michael Vetter + +- Update to 0.17.0: + * A new The Splits Layout to arrange windows in arbitrary splits (#2308) + * Add support for specifying a background image, see background_image + (#163 and #2326; thanks to Fredrick Brennan.) + * A new background_tint option to darken the background under the + text area when using background images and/or transparent windows. + * Allow selection of single cells with the mouse. Also improve mouse + selection to follow semantics common to most programs (#945) + * New options cursor_beam_thickness and cursor_underline_thickness + to control the thickness of the beam and underline cursors (#2337 and #2342) + * When the application running in the terminal grabs the mouse, pass + middle clicks to the application unless terminal_select_modifiers + are pressed (#2368) + * A new copy_and_clear_or_interrupt function (#2403) + * X11: Fix arrow mouse cursor using right pointing instead of the + default left pointing arrow (#2341) + * Allow passing the currently active kitty window id in the launch command (#2391) + * unicode input kitten: Allow pressing ctrl+tab to change the input mode (#2343) + * Fix a bug that prevented using custom functions with the new marks feature (#2344) + * Make the set of URL prefixes that are recognized while hovering with the + mouse configurable (#2416) + * Fix border/margin/padding sizes not being recalculated on DPI change (#2346) + * diff kitten: Fix directory diffing with removed binary files failing (#2378) + * Fix rendering of combining characters with fonts that have glyphs for + precomposed characters but not decomposed versions (#2365) + * Fix incorrect rendering of selection when using rectangular select and + scrolling (#2351) + * Allow setting WM_CLASS and WM_NAME when creating new OS windows + with the launch command (launch --os-window-class) + * Fix a regression in the previous release that broke switching to + neighboring windows in the Grid layout when there are less + than four windows (#2377) + * Fix colors in scrollback pager off if the window has redefined + terminal colors using escape codes (#2381) + * Fix selection not updating properly while scrolling (#2442) + * Allow extending selections by dragging with right button pressed (#2445) + * Workaround for bug in less that causes colors to reset at wrapped lines (#2381) + * X11/Wayland: Allow drag and drop of text/plain in addition to text/uri-list (#2441) + * Dont strip & and - from the end of URLs (#2436) + * Fix @selection placeholder not working with launch command (#2417) + * Drop support for python 3.5 + * Wayland: Fix a crash when drag and dropping into kitty (#2432) + * diff kitten: Fix images lingering as blank rectangles after the kitten quits (#2449) + * diff kitten: Fix images losing position when scrolling using mouse wheel/touchpad + +------------------------------------------------------------------- +Tue Jan 28 03:50:08 UTC 2020 - Martin Rey + +- Update to 0.16.0: + * A new Marks feature that allows highlighting and scrolling to + arbitrary text in the terminal window. + * hints kitten: Allow pressing ctrl+shift+p>n to quickly open the + selected file at the selected line in vim or a configurable + editor (#2268) + * Allow having more than one full height window in the tall + layout (#2276) + * Allow choosing OpenType features for individual fonts via the + font_features option. (#2248) + * Wayland: Fix a freeze in rare circumstances when having + multiple OS Windows (#2307 and #1722) + * Wayland: Fix window titles being set to very long strings on + the order of 8KB causing a crash (#1526) + * Add an option force_ltr to turn off the display of text in RTL + scripts in right-to-left order (#2293) + * Allow opening new tabs/windows before the current tab/window as + well as after it with the launch --location option. + * Add a resize_in_steps option that can be used to resize the OS + window in steps as large as character cells (#2131) + * When triple-click+dragging to select multiple lines, extend the + selection of the first line to match the rest on the left + (#2284) + * Fix a segfault when using kitty --debug-config with maps + (#2270) + * goto_tab now maps numbers larger than the last tab to the last + tab (#2291) + * Fix URL detection not working for urls of the form + scheme:///url (#2292) + * When windows are semi-transparent and all contain graphics, + correctly render them. (#2310) + +------------------------------------------------------------------- +Fri Dec 27 11:14:53 UTC 2019 - Michael Vetter + +- Update to 0.15.1: + * Fix a crash/incorrect rendering when detaching a window in + some circumstances (#2173) + * hints kitten: Add an option kitty +kitten hints --ascending + to control if the hints numbers increase or decrease from + top to bottom + * Fix background_opacity incorrectly applying to selected + text and reverse video text (#2177) + * Add a new option tab_bar_background to specify a different + color for the tab bar (#2198) + * Add a new option active_tab_title_template to specify a + different template for active tab titles (#2198) + * Fix lines at the edge of the window at certain windows sizes + when drawing images on a transparent window (#2079) + * Fix window not being rendered for the first time until some + input has been received from child process (#2216) + +------------------------------------------------------------------- +Wed Nov 27 07:36:34 UTC 2019 - Michael Vetter + +- Update to 0.15.0: + * Add a new action detach_window that can be used to move the current window + into a different tab (#1310) + * Add a new action launch that unifies launching of processes in new kitty + windows/tabs. + * Add a new style powerline for tab bar rendering, see tab_bar_style (#2021) + * Allow changing colors by mapping a keyboard shortcut to read a kitty config + file with color definitions. See the FAQ for details (#2083) + * hints kitten: Allow completely customizing the matching and actions + performed by the kitten using your own script (#2124) + * Wayland: Fix key repeat not being stopped when focus leaves window. This is + expected behavior on Wayland, apparently (#2014) + * When drawing unicode symbols that are followed by spaces, use multiple + cells to avoid resized or cut-off glyphs (#1452) + * diff kitten: Allow diffing remote files easily via ssh (#727) + * unicode input kitten: Add an option kitty +kitten unicode_input + --emoji-variation to control the presentation variant of selected emojis + (#2139) + * Add specialised rendering for a few more box powerline and unicode symbols + (#2074 and #2021) + * Add a new socket only mode for allow_remote_control. This makes it possible + for programs running on the local machine to control kitty but not programs + running over ssh. + * hints kitten: Allow using named groups in the regular expression. The named + groups are passed to the invoked program for further processing. + * Fix a regression in 0.14.5 that caused rendering of private use glyphs with + and without spaces to be identical (#2117) + * Wayland: Fix incorrect scale used when first creating an OS window (#2133) + +------------------------------------------------------------------- +Mon Sep 30 08:43:41 UTC 2019 - mvetter@suse.com + +- Update to 0.14.6: + * Fix a regression in the previous release that caused kitty to + not always respond to DPI changes (#1999) +- Changes from 0.14.5: + * Implement a hack to (mostly) preserve tabs when cat-ting a + file with them and then copying the text or passing screen + contents to another program (#1829) + * When all visible windows have the same background color, use + that as the color for the global padding, instead of the + configured background color (#1957) + * When resetting the terminal, also reset parser state, this + allows easy recovery from incomplete escape codes (#1961) + * Allow mapping keys commonly found on European keyboards (#1928) + * Fix incorrect rendering of some symbols when followed by a + space while using the PowerLine font which does not have a + space glyph (#1225) + * Linux: Allow using fonts with spacing=90 in addition to + fonts with spacing=100 (#1968) + * Use selection foreground color for underlines as well (#1982) + +------------------------------------------------------------------- +Mon Sep 2 09:42:28 UTC 2019 - mvetter@suse.com + +- Update to 0.14.4: + * hints kitten: Add a kitty +kitten hints --alphabet option to + control what alphabets are used for hints (#1879) + * hints kitten: Allow specifying kitty +kitten hints --program + multiple times to run multiple programs (#1879) + * Add a kitten_alias option that can be used to alias kitten + invocation for brevity and to change kitten option defaults globally (#1879) + * When running kittens, use the colorscheme of the current window + rather than the configured colorscheme (#1906) + * Don't fail to start if running the shell to read the EDITOR + env var fails (#1869) + * Disable the liga and dlig OpenType features for broken + fonts such as Nimbus Mono. + * Fix a regression that broke setting background_opacity + via remote control (#1895) + * Fix piping PNG images into the icat kitten not working (#1920) + * When the OS returns a fallback font that does not actually + contain glyphs for the text, do not exhaust the list of fallback fonts (#1918) + * Fix formatting attributes not reset across line boundaries + when passing buffer as ANSI (#1924) + +------------------------------------------------------------------- +Mon Jul 29 05:59:15 UTC 2019 - mvetter@suse.com + +- Update to 0.14.3: + * Remote control: Add a command kitty @ scroll-window to scroll windows + * Allow passing a !neighbor argument to the new_window mapping to open + a new window next to the active window (#1746) + * Document the kitty remote control protocol (#1646) + * Add a new option pointer_shape_when_grabbed that allows you to control + the mouse pointer shape when the terminal programs grabs the pointer (#1808) + * Add an option terminal_select_modifiers to control which modifiers are + used to override mouse selection even when a terminal application has + grabbed the mouse (#1774) + * When piping data to a child in the pipe command do it in a thread so as + not to block the UI (#1708) + * unicode_input kitten: Fix a regression that broke using indices to select + recently used symbols. + * Fix a regression that caused closing an overlay window to focus the previously + focused window rather than the underlying window (#1720) + * Linux: Fix incorrect scaling for fallback fonts when the font has an underscore + that renders out of bounds (#1713) + * Fix an out of bounds read causing a crash when selecting text with the mouse + in the alternate screen mode (#1578) + * Linux: Use the system "bell" sound for the terminal bell. Adds libcanberra as a + new dependency to play the system sound. + * Linux: Fix a regression in 0.14.0 that caused the event loop to tick continuously, + wasting CPU even when idle (#1782) + * ssh kitten: Make argument parsing more like ssh (#1787) + * When using strip_trailing_spaces do not remove empty lines (#1802) + * Fix a crash when displaying very large number of images (#1825) + ------------------------------------------------------------------- Wed Jun 26 18:24:44 UTC 2019 - Ondřej Súkup diff --git a/kitty.spec b/kitty.spec index 620b383..a993359 100644 --- a/kitty.spec +++ b/kitty.spec @@ -1,7 +1,7 @@ # # spec file for package kitty # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,12 +12,12 @@ # 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/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: kitty -Version: 0.14.2 +Version: 0.19.3 Release: 0 Summary: A GPU-based terminal emulator License: GPL-3.0-only @@ -27,6 +27,7 @@ Source: https://github.com/kovidgoyal/kitty/archive/v%{version}.tar.gz#/ Patch0: kitty-no-docs.patch BuildRequires: ImageMagick-devel BuildRequires: Mesa-libGL-devel +BuildRequires: fdupes BuildRequires: fontconfig-devel BuildRequires: freetype2-devel BuildRequires: harfbuzz-devel >= 1.5.0 @@ -34,22 +35,24 @@ BuildRequires: libXcursor-devel BuildRequires: libXi-devel BuildRequires: libXinerama-devel BuildRequires: libXrandr-devel +BuildRequires: libcanberra-devel +BuildRequires: liblcms2-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%{?sle_version} > 150000 || 0%{?suse_version} >= 1550 -BuildRequires: python3-Sphinx >= 1.7 -%endif BuildRequires: python3-devel >= 3.5 +BuildRequires: terminfo BuildRequires: wayland-devel BuildRequires: wayland-protocols-devel BuildRequires: zlib-devel -BuildRequires: fdupes +BuildRequires: pkgconfig(dbus-1) +%if 0%{?sle_version} > 150100 || 0%{?suse_version} >= 1550 +BuildRequires: python3-Sphinx >= 1.7 +%endif %description A terminal emulator that uses OpenGL for rendering. @@ -59,34 +62,36 @@ bracketed paste and so on, and which can be controlled by scripts. %prep %setup -q -%if 0%{?sle_version} <= 150000 && ! (0%{?suse_version} >= 1550) +%if 0%{?sle_version} <= 150100 && ! (0%{?suse_version} >= 1550) %patch0 -p1 %endif -find . -type f -exec sed -i "s/#!\/usr\/bin\/env python3/#!\/usr\/bin\/python3/" {} + +find . -type f -exec sed -i 's@#!%{_bindir}/env python3$@#!%{_bindir}/python3@' {} + +find . -type f -exec sed -i 's@#!%{_bindir}/env python$@#!%{_bindir}/python@' {} + %build +#tic -x -o/tmp/tmpWhatever terminfo/kitty.terminfo 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 -%fdupes %{buildroot}/usr/lib +%fdupes %{buildroot}%{_prefix}/lib %files %license LICENSE %doc CHANGELOG.rst README.asciidoc -%{_bindir}/kitty -%{_libexecdir}/kitty -%{_datadir}/applications/kitty.desktop +%{_bindir}/%{name} +%{_prefix}/lib/%{name} +%{_datadir}/applications/%{name}.desktop %dir %{_datadir}/icons/hicolor/ %dir %{_datadir}/icons/hicolor/256x256/ %{_datadir}/icons/hicolor/256x256/apps/ -%{_datadir}/terminfo/x/xterm-kitty -%if 0%{?sle_version} > 150000 || 0%{?suse_version} >= 1550 -%{_mandir}/man1/kitty.1%{?ext_man} -%{_datadir}/doc/kitty +%{_datadir}/terminfo/x/xterm-%{name} +%if 0%{?sle_version} > 150100 || 0%{?suse_version} >= 1550 +%{_mandir}/man1/%{name}.1%{?ext_man} +%{_datadir}/doc/%{name} %endif %changelog