Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kitty for openSUSE:Factory checked in at 2022-04-19 09:58:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kitty (Old) and /work/SRC/openSUSE:Factory/.kitty.new.1941 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kitty" Tue Apr 19 09:58:30 2022 rev:7 rq:970627 version:0.25.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kitty/kitty.changes 2021-06-28 15:33:58.915211926 +0200 +++ /work/SRC/openSUSE:Factory/.kitty.new.1941/kitty.changes 2022-04-19 09:58:34.759588822 +0200 @@ -1,0 +2,423 @@ +Mon Apr 18 11:54:12 UTC 2022 - Ferdinand Thiessen <r...@fthiessen.de> + +- Fixed SPEC to build with Leap +- Replaced kitty-no-docs.patch with optional-disable-docs.patch + * Some Sphinx extensions needed by kitty are not available + in Factory +- Added fix-librsync-leap.patch + * Workaround for "error: unknown type name ???FILE???" in old librsync + header still used by Leap 15.3 and 15.4. + +------------------------------------------------------------------- +Tue Apr 12 07:28:36 UTC 2022 - Michael Vetter <mvet...@suse.com> + +- Update to 0.25.0: + * Truly convenient SSH: automatic shell integration when using SSH. + Easily clone local shell and editor configuration on remote machines, + and automatic re-use of existing connections to avoid connection setup latency. + * When pasting URLs at shell prompts automatically quote them. Also allow + filtering pasted text and confirm pastes. See paste_actions for details. (#4873) + * diff kitten: Fix incorrect rendering in rare circumstances when scrolling + after changing the context size (#4831) + * icat kitten: Fix a regression that broke kitty +kitten icat --print-window-size (#4818) + * Wayland: Fix hide_window_decorations causing docked windows to be resized on blur (#4797) + * Bash integration: Prevent shell integration code from running twice if user + enables both automatic and manual integration + * Bash integration: Handle existing PROMPT_COMMAND ending with a literal newline + * Fix continued lines not having their continued status reset on line feed (#4837) + * Wayland: Fix a regression that broke IME when changing windows/tabs (#4853) + * Avoid flicker when starting kittens such as the hints kitten (#4674) + * A new action scroll_prompt_to_top to move the current prompt to the top (#4891) + * select_tab: Use stable numbers when selecting the tab (#4792) + * Only check for updates in the official binary builds. Distro packages or source + builds will no longer check for updates, regardless of the value of update_check_interval. + * Fix inactive_text_alpha still being applied to the cursor hidden window after focus (#4928) + * Fix resizing window that is extra tall/wide because of left-over cells not working reliably (#4913) + * A new action close_other_tabs_in_os_window to close other tabs in the active OS window (#4944) + +------------------------------------------------------------------- +Mon Mar 7 09:40:00 UTC 2022 - Michael Vetter <mvet...@suse.com> + +- Update to 0.24.4: + * Shell integration: Fix the default Bash $HISTFILE changing + to ~/.sh_history instead of ~/.bash_history (#4765) + * Linux binaries: Fix binaries not working on systems with older + Wayland client libraries (#4760) + * Fix a regression in the previous release that broke kittens + launched with STDIN not connected to a terminal (#4763) + * Wayland: Fix surface configure events not being acknowledged + before commit the resized buffer (#4768) + +------------------------------------------------------------------- +Mon Feb 28 10:15:17 UTC 2022 - Michael Vetter <mvet...@suse.com> + +- Update to 0.24.3: + * Bash integration: No longer modify ~/.bashrc to load shell + integration. It is recommended to remove the lines used to load + the shell integration from ~/.bashrc as they are no-ops. + * Splits layout: A new value for launch --location to auto-select + the split axis when splitting existing windows. Wide windows + are split side-by-side and tall windows are split one-above-the-other + * hints kitten: Fix a regression that broke recognition of + path:linenumber:colnumber (#4675) + * Fix a regression in the previous release that broke + active_tab_foreground (#4620) + * Fix show_last_command_output not working when the output is + stored partially in the scrollback pager history buffer (#4435) + * When dropping URLs/files onto kitty at a shell prompt insert + them appropriately quoted and space separated (#4734) + * Improve CWD detection when there are multiple foreground processes + in the TTY process group + * A new option narrow_symbols to turn off opportunistic wide rendering + of private use codepoints + * ssh kitten: Fix location of generated terminfo files on NetBSD (#4622) + * A new action to clear the screen up to the line containing the + cursor, see clear_terminal + * A new action copy_ansi_to_clipboard to copy the current selection + with ANSI formatting codes (#4665) + * Linux: Do not rescale fallback fonts to match the main font cell + height, instead just set the font size and let FreeType take care + of it. This matches rendering on macOS (#4707) + * Fix a regression in the previous release that broke strikethrough (#4632) + * A new action scroll_prompt_to_bottom to move the current prompt to + the bottom, filling in the window from the scrollback (#4634) + * Add two special arguments @first-line-on-screen and @last-line-on-screen + for the launch command to be used for pager positioning. (#4462) + * Linux: Fix rendering of emoji when using scalable fonts such as Segoe UI Emoji + * Shell integration: bash: Dont fail if an existing PROMPT_COMMAND + ends with a semi-colon (#4645) + * Shell integration: bash: Fix rendering of multiline prompts with + more than two lines (#4681) + * Shell integration: fish: Check fish version 3.3.0+ and exit on + outdated versions (#4745) + * Shell integration: fish: Fix pipestatus being overwritten (#4756) + * Linux: Fix fontconfig alias not being used if the aliased font is + dual spaced instead of monospaced (#4649) + * Fix touch_scroll_multiplier also taking effect in terminal programs + such as vim that handle mouse events themselves (#4680) + * Fix symbol/PUA glyphs loaded via symbol_map instead of as fallbacks + not using following spaces to render larger versions (#4670) + * Fix a fast click, move mouse, click sequence causing the first click + event to be discarded (#4603) + * Wayland: Fix wheel mice with line based scrolling being incorrectly + handled as high precision devices (#4694) + * Wayland: Fix touchpads and high resolution wheels not scrolling at the + same speed on monitors with different scales (#4703) + * Add an option wheel_scroll_min_lines to set the minimum number of lines + for mouse wheel scrolling when using a mouse with a wheel that generates + very small offsets when slow scrolling (#4710) + * Fix copying of selection after selection has been scrolled off history + bufferraising an error (#4713) + +------------------------------------------------------------------- +Thu Feb 3 08:15:30 UTC 2022 - Michael Vetter <mvet...@suse.com> + +- Update to 0.24.2: + * Allow including config files matching glob patterns in + kitty.conf (#4533) + * Shell integration: Fix bash integration not working when + PROMPT_COMMAND is used to change the prompt variables (#4476) + * Shell integration: Fix cursor shape not being restored to + default when running commands in the shell + * Improve the UI of the ask kitten (#4545) + * Allow customizing the placement and formatting of the + tab_activity_symbol and bell_on_tab symbols by adding + them to the tab_title_template (#4581, #4507) + * hints kitten: Fix common single letter extension files + not being detected (#4491) + * Support dotted and dashed underline styles (#4529) + * For the vertical and horizontal layouts have the windows + arranged on a ring rather than a plane. This means the + first and last window are considered neighbors (#4494) + * A new action to clear the current selection (#4600) + * Shell integration: fish: Fix cursor shape not working + with fish???s vi mode (#4508) + * Shell integration: fish: Dont override fish???s native + title setting functionality. See discussion. + * Draw the dots for braille characters more evenly spaced + at all font sizes (#4499) + * icat kitten: Add options to mirror images and remove + their transparency before displaying them (#4513) + * Fix getting last command output not working correctly + when the screen is scrolled (#4522) + * Show number of windows per tab in the select_tab action (#4523) + * Fix clicking in a window to focus it and typingimmediately + sometimes having unexpected effects if at a shell prompt (#4128) + * themes kitten: Allow writing to a different file than kitty.conf. + +------------------------------------------------------------------- +Fri Jan 7 13:37:22 UTC 2022 - Michael Vetter <mvet...@suse.com> + +- Update to 0.24.1: + * Shell integration: Work around conflicts with some zsh plugins (#4428) + * Have the zero width space and various other characters from the Other, + formatting Unicode category be treated as combining characters (#4439) + * Fix using --shell-integration with setup.py broken (#4434) + * Fix showing debug information not working if kitty???s STDIN is + not a tty (#4424) + * Linux: Fix a regression that broke rendering of emoji with + variation selectors (#4444) + +------------------------------------------------------------------- +Fri Jan 7 13:30:24 UTC 2022 - Michael Vetter <mvet...@suse.com> + +- Update to 0.24.0: + * Integrate kitty closely with common shells such as zsh, fish + and bash. This allows lots of niceties such as jumping to + previous prompts, opening the output of the last command in + a new window, etc. See Shell integration for details. + Packagers please read Notes for Linux/macOS packagers. + * A new shortcut ctrl+shift+f7 to visually focus a window using + the keyboard. Pressing it causes numbers to appear over each + visible window and you can press the number to focus the + corresponding window (#4110) + * A new facility window_logo_path to draw an arbitrary PNG image + as logo in the corner of a kitty window (#4167) + * Allow rendering the cursor with a reverse video effect. See + cursor for details (#126) + * Allow rendering the mouse selection with a reverse video effect. + See selection_foreground (#646) + * A new option tab_bar_align to draw the tab bar centered or + right aligned (#3946) + * Allow the user to supply a custom Python function to draw tab bar. + See tab_bar_style + * A new remote control command to change the tab color + <kitty @ set-tab-color> (#1287) + * A new remote control command to visually select a window + <kitty @ select-window> (#4165) + * Add support for reporting mouse events with pixel co-ordinates + using the SGR_PIXEL_PROTOCOL introduced in xterm 359 + * When programs ask to read from the clipboard prompt, ask the user + to allow the request by default instead of denying it by + default. See clipboard_control for details (#4022) + * A new mappable action swap_with_window to swap the current + window with another window in the tab, visually + * A new remote control command <kitty @ set-enabled-layouts> to + change the enabled layouts in a tab (#4129) + * A new option bell_path to specify the path to a sound file to ++++ 228 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/kitty/kitty.changes ++++ and /work/SRC/openSUSE:Factory/.kitty.new.1941/kitty.changes Old: ---- kitty-0.21.2.tar.gz kitty-no-docs.patch New: ---- fix-librsync-leap.patch kitty-0.25.0.tar.gz optional-disable-docs.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kitty.spec ++++++ --- /var/tmp/diff_new_pack.Lxd2d0/_old 2022-04-19 09:58:35.767590133 +0200 +++ /var/tmp/diff_new_pack.Lxd2d0/_new 2022-04-19 09:58:35.771590138 +0200 @@ -1,7 +1,7 @@ # # spec file for package kitty # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,15 +16,20 @@ # +# sphinx_copybutton not in Factory +%bcond_with docs Name: kitty -Version: 0.21.2 +Version: 0.25.0 Release: 0 Summary: A 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 +# PATCH-FIX-OPENSUSE optional-disable-docs.patch -- Optionally disable building documentation files +Patch0: optional-disable-docs.patch +# PATCH-FIX-OPENSUSE fix-librsync-leap.patch -- Fix for Leap, as librsync header is missing the stdio.h header for FILE* +Patch1: fix-librsync-leap.patch BuildRequires: ImageMagick-devel BuildRequires: Mesa-libGL-devel BuildRequires: fdupes @@ -38,21 +43,33 @@ BuildRequires: libcanberra-devel BuildRequires: liblcms2-devel BuildRequires: libpng16-compat-devel +BuildRequires: librsync-devel BuildRequires: libwayland-egl-devel BuildRequires: libxkbcommon-devel BuildRequires: libxkbcommon-x11-devel -BuildRequires: python3-importlib-resources # for 'tic' BuildRequires: ncurses-devel BuildRequires: pkgconfig -BuildRequires: python3-devel >= 3.5 BuildRequires: terminfo BuildRequires: wayland-devel BuildRequires: wayland-protocols-devel BuildRequires: zlib-devel BuildRequires: pkgconfig(dbus-1) -%if 0%{?sle_version} > 150100 || 0%{?suse_version} >= 1550 +# Python requirements for Factory and Leap +%if 0%{?suse_version} > 1500 +BuildRequires: python3-devel >= 3.7 +BuildRequires: python3-sphinxext-opengraph +%else +# Leap still provides python3.6 kitty requires at least 3.7 +BuildRequires: python39-devel +%endif +# Optional documentation requirements +%if %{with docs} BuildRequires: python3-Sphinx >= 1.7 +BuildRequires: python3-importlib-resources +BuildRequires: python3-readthedocs-sphinx-ext +BuildRequires: python3-sphinx-inline-tabs +BuildRequires: python3-sphinxcontrib-copybutton %endif %description @@ -62,33 +79,44 @@ bracketed paste and so on, and which can be controlled by scripts. %prep -%setup -q -%if 0%{?sle_version} <= 150100 && ! (0%{?suse_version} >= 1550) -%patch0 -p1 -%endif +%autosetup -p1 -find . -type f -exec sed -i 's@#!%{_bindir}/env python3$@#!%{_bindir}/python3@' {} + -find . -type f -exec sed -i 's@#!%{_bindir}/env python$@#!%{_bindir}/python@' {} + +%if 0%{?suse_version} > 1500 +find . -type f -exec sed -i 's@#!/usr/bin/env python3$@#!%{_bindir}/python3@' {} + +find . -type f -exec sed -i 's@#!/usr/bin/env python$@#!%{_bindir}/python@' {} + +%else +find . -type f -exec sed -i 's@#!/usr/bin/env python3$@#!%{_bindir}/python3.9@' {} + +find . -type f -exec sed -i 's@#!/usr/bin/env python$@#!%{_bindir}/python3.9@' {} + +%endif %install # yes they have a makefile, no they dont use it properly # no they dont have a make install # we used to have this in the build section but since rpm 4.16 buildroot is cleaned -python3 setup.py --verbose linux-package --prefix %{buildroot}%{_prefix} +%if 0%{?suse_version} > 1500 +python3 \ +%else +python3.9 -B \ +%endif + setup.py --verbose \ +%if !%{with docs} + --no-docs \ +%endif + linux-package \ + --prefix %{buildroot}%{_prefix} \ + --libdir-name %{_lib} -%fdupes %{buildroot}%{_prefix}/lib +%fdupes %{buildroot}%{_libdir}/%{name} %files %license LICENSE %doc CHANGELOG.rst README.asciidoc %{_bindir}/%{name} -%{_prefix}/lib/%{name} -%{_datadir}/applications/%{name}.desktop -%dir %{_datadir}/icons/hicolor/ -%dir %{_datadir}/icons/hicolor/256x256/ -%{_datadir}/icons/hicolor/256x256/apps/ +%{_libdir}/%{name} +%{_datadir}/applications/%{name}{,-open}.desktop +%{_datadir}/icons/hicolor/ %{_datadir}/terminfo/x/xterm-%{name} -%if 0%{?sle_version} > 150100 || 0%{?suse_version} >= 1550 +%if %{with docs} %{_mandir}/man1/%{name}.1%{?ext_man} %{_datadir}/doc/%{name} %{_mandir}/man5/kitty.conf.5%{?ext_man} ++++++ fix-librsync-leap.patch ++++++ diff -Nur kitty-0.25.0/kittens/transfer/rsync.c new/kittens/transfer/rsync.c --- kitty-0.25.0/kittens/transfer/rsync.c 2022-04-11 16:01:45.000000000 +0200 +++ new/kittens/transfer/rsync.c 2022-04-18 14:43:47.391998800 +0200 @@ -6,6 +6,7 @@ */ #include "data-types.h" +#include <stdio.h> #include <librsync.h> #define SIGNATURE_CAPSULE "rs_signature_t" diff -Nur kitty-0.25.0/setup.py new/setup.py --- kitty-0.25.0/setup.py 2022-04-18 14:44:34.223998795 +0200 +++ new/setup.py 2022-04-18 14:44:19.307998797 +0200 @@ -263,10 +263,11 @@ def detect_librsync(cc: List[str], cflags: List[str], ldflags: List[str]) -> str: if not test_compile( cc, *cflags, libraries=('rsync',), ldflags=ldflags, show_stderr=True, - src='#include <librsync.h>\nint main(void) { rs_strerror(0); return 0; }'): + src='#include <stdio.h>\n#include <librsync.h>\nint main(void) { rs_strerror(0); return 0; }'): raise SystemExit('The librsync library is required') # check for rs_sig_args() which was added to librsync in Apr 2020 version 2.3.0 if test_compile(cc, *cflags, libraries=('rsync',), ldflags=ldflags, src=''' +#include <stdio.h> #include <librsync.h> int main(void) { rs_magic_number magic_number = 0; ++++++ kitty-0.21.2.tar.gz -> kitty-0.25.0.tar.gz ++++++ ++++ 135743 lines of diff (skipped) ++++++ optional-disable-docs.patch ++++++ diff -Nur kitty-0.25.0/setup.py new/setup.py --- kitty-0.25.0/setup.py 2022-04-11 16:01:45.000000000 +0200 +++ new/setup.py 2022-04-18 14:03:18.715999089 +0200 @@ -65,6 +65,7 @@ verbose: int = 0 sanitize: bool = False prefix: str = './linux-package' + no_docs: bool = False incremental: bool = True profile: bool = False libdir_name: str = 'lib' @@ -949,12 +950,13 @@ c(base_path, ddir='', rx=exclude, force=True, optimize=optimize, quiet=1, workers=num_workers) -def create_linux_bundle_gunk(ddir: str, libdir_name: str) -> None: - if not os.path.exists('docs/_build/html'): - make = 'gmake' if is_freebsd else 'make' - run_tool([make, 'docs']) - copy_man_pages(ddir) - copy_html_docs(ddir) +def create_linux_bundle_gunk(ddir: str, libdir_name: str, no_docs=False) -> None: + if not no_docs: + if not os.path.exists('docs/_build/html'): + make = 'gmake' if is_freebsd else 'make' + run_tool([make, 'docs']) + copy_man_pages(ddir) + copy_html_docs(ddir) for (icdir, ext) in {'256x256': 'png', 'scalable': 'svg'}.items(): icdir = os.path.join(ddir, 'share', 'icons', 'hicolor', icdir, 'apps') safe_makedirs(icdir) @@ -1313,7 +1315,7 @@ path = os.path.join(root, f_) os.chmod(path, 0o755 if f_.endswith('.so') or os.path.basename(f_) == 'askpass.py' else 0o644) if not is_macos: - create_linux_bundle_gunk(ddir, args.libdir_name) + create_linux_bundle_gunk(ddir, args.libdir_name, args.no_docs) if bundle_type.startswith('macos-'): create_macos_bundle_gunk(ddir) @@ -1397,6 +1399,12 @@ help='Where to create the linux package' ) p.add_argument( + '--no-docs', + default=Options.no_docs, + action='store_true', + help='Disable building documentation when creating the linux package' + ) + p.add_argument( '--full', dest='incremental', default=Options.incremental,