diff --git a/kitty-0.28.1.tar.gz b/kitty-0.28.1.tar.gz deleted file mode 100644 index 01bdf2b..0000000 --- a/kitty-0.28.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:210bfd7acbb2e9316efcde44c03b78c75ce487d127afb822b43f6e2a35f6a693 -size 7882332 diff --git a/kitty-0.29.0.tar.gz b/kitty-0.29.0.tar.gz new file mode 100644 index 0000000..bcb8c2b --- /dev/null +++ b/kitty-0.29.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c49863fefac402d04db44f43b0118f47830a07e8730636b75675064761939a4a +size 7915338 diff --git a/kitty-rpmlintrc b/kitty-rpmlintrc new file mode 100644 index 0000000..b1654fa --- /dev/null +++ b/kitty-rpmlintrc @@ -0,0 +1,3 @@ +addFilter("non-executable-script *"); +addFilter("potential-bashisms /usr/lib64/kitty/shell-integration/ssh/bootstrap-utils.sh"); +addFilter("hidden-file-or-dir /usr/lib64/kitty/shell-integration/zsh/.zshenv"); diff --git a/kitty.changes b/kitty.changes index fc96f71..be30bca 100644 --- a/kitty.changes +++ b/kitty.changes @@ -1,3 +1,67 @@ +------------------------------------------------------------------- +Mon Jul 10 15:55:28 UTC 2023 - Scott Bradnick + +- Adding kitty-rpmlintrc as a source file + +------------------------------------------------------------------- +Mon Jul 10 14:47:10 UTC 2023 - Scott Bradnick + +- Update to 0.29.0 + * Removing wayland-protocols-1.32.diff as it's no longer required + * A new escape code [22J that moves the current contents of the screen + into the scrollback before clearing it + * A new kitten run-shell to allow creating sub-shells with shell integration + enabled + * A new option background_blur to blur the background for transparent + windows (#6135) + * The --hold flag now holds the window open at a shell prompt instead of + asking the user to press a key + * A new option text_fg_override_threshold to force text colors to have high + contrast regardless of color scheme (#6283) + * When resizing OS Windows make the animation less jerky. Also show the + window size in cells during the resize (#6341) + * unicode_input kitten: Fix a regression in 0.28.0 that caused the order of + recent and favorites entries to not be respected (#6214) + * unicode_input kitten: Fix a regression in 0.28.0 that caused editing of + favorites to sometimes hang + * clipboard kitten: Fix a bug causing the last MIME type available on the + clipboard not being recognized when pasting + * clipboard kitten: Dont set clipboard when getting clipboard in filter + mode (#6302) + * Fix regression in 0.28.0 causing color fringing when rendering in + transparent windows on light backgrounds (#6209) + * show_key kitten: In kitty mode show the actual bytes sent by the terminal + rather than a re-encoding of the parsed key event + * hints kitten: Fix a regression in 0.28.0 that broke using sub-groups in + regexp captures (#6228) + * hints kitten: Fix a regression in 0.28.0 that broke using + lookahead/lookbehind in regexp captures (#6265) + * diff kitten: Fix a regression in 0.28.0 that broke using relative paths + as arguments to the kitten (#6325) + * Fix re-using the image id of an animated image for a still image causing + a crash (#6244) + * kitty +open: Ask for permission before executing script files that are not + marked as executable. This prevents accidental execution of script files + via MIME type association from programs that unconditionally “open” + attachments/downloaded files + * edit-in-kitty: Fix running edit-in-kitty with elevated privileges to edit a + restricted file not working (#6245) + * ssh kitten: Fix a regression in 0.28.0 that caused interrupt during setup + to not be handled gracefully (#6254) + * ssh kitten: Allow configuring the ssh kitten to skip some hosts via a new + delegate config directive + * Graphics: Move images up along with text when the window is shrunk + vertically (#6278) + * Fix a regression in 0.28.0 that caused a buffer overflow when clearing the + screen (#6306, #6308) + * Fix a regression in 0.27.0 that broke setting of specific edge + padding/margin via remote control (#6333) + * macOS: Fix window shadows not being drawn for transparent + windows (#2827, #6416) + * Do not echo invalid DECRQSS queries back, behavior inherited from xterm + (CVE-2008-2383). Similarly, fix an echo bug in the file transfer protocol + due to insufficient sanitization of safe strings. + ------------------------------------------------------------------- Fri Jul 7 15:43:07 UTC 2023 - Scott Bradnick diff --git a/kitty.spec b/kitty.spec index 3479005..3b0e273 100644 --- a/kitty.spec +++ b/kitty.spec @@ -19,7 +19,7 @@ # sphinx_copybutton not in Factory %bcond_with docs Name: kitty -Version: 0.28.1 +Version: 0.29.0 Release: 0 Summary: A GPU-based terminal emulator License: GPL-3.0-only @@ -27,12 +27,12 @@ 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 Source1: vendor.tar.gz +Source2: kitty-rpmlintrc # PATCH-FIX-OPENSUSE optional-disable-docs.diff -- Optionally disable building documentation files Patch0: optional-disable-docs.diff # PATCH-FIX-OPENSUSE fix-librsync-leap.diff -- Fix for Leap, as librsync header is missing the stdio.h header for FILE* Patch1: fix-librsync-leap.diff Patch2: go-buildmode-pie.diff -Patch3: wayland-protocols-1.32.diff BuildRequires: ImageMagick-devel BuildRequires: Mesa-libGL-devel BuildRequires: fdupes @@ -110,10 +110,9 @@ shell-integration [bash,fish,zsh] file(s) for the Kitty terminal; this package c %prep #%%autosetup -p1 -a 1 %setup -a 1 -%patch0 -p1 +%patch0 %patch1 -p1 %patch2 -%patch3 %if 0%{?suse_version} > 1500 find . -type f -exec sed -i 's@#!/usr/bin/env python3$@#!%{_bindir}/python3@' {} + diff --git a/optional-disable-docs.diff b/optional-disable-docs.diff index 9d76e27..390bf0e 100644 --- a/optional-disable-docs.diff +++ b/optional-disable-docs.diff @@ -1,19 +1,17 @@ -Index: kitty-0.27.1/setup.py -=================================================================== ---- kitty-0.27.1.orig/setup.py -+++ kitty-0.27.1/setup.py +--- setup.py.smb 2023-07-10 10:36:07.831578320 -0400 ++++ setup.py 2023-07-10 10:40:20.503925434 -0400 @@ -61,6 +61,7 @@ verbose: int = 0 sanitize: bool = False prefix: str = './linux-package' + no_docs: bool = False dir_for_static_binaries: str = 'build/static' - incremental: bool = True - profile: bool = False -@@ -1085,12 +1086,13 @@ + skip_code_generation: bool = False + clean_for_cross_compile: bool = False +@@ -1158,12 +1159,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' @@ -30,16 +28,16 @@ Index: kitty-0.27.1/setup.py for (icdir, ext) in {'256x256': 'png', 'scalable': 'svg'}.items(): icdir = os.path.join(ddir, 'share', 'icons', 'hicolor', icdir, 'apps') safe_makedirs(icdir) -@@ -1468,7 +1470,7 @@ +@@ -1541,7 +1543,7 @@ if not for_freeze and not bundle_type.startswith('macos-'): build_static_kittens(args, launcher_dir=launcher_dir) 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, for_freeze, args) -@@ -1564,6 +1566,12 @@ +@@ -1644,6 +1646,12 @@ help='Where to create the linux package' ) p.add_argument( diff --git a/vendor.tar.gz b/vendor.tar.gz index 7d6c434..f2cb074 100644 --- a/vendor.tar.gz +++ b/vendor.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0b0b46044c7b2e19f341b8193f5125f4e33c52c157c3b7eb33d08bb15da66f50 -size 2475216 +oid sha256:d8f71789365ae0ae68c18203bd0c4e5dee0b8cf6bacfb2ca7232e160aef57de0 +size 2518740 diff --git a/wayland-protocols-1.32.diff b/wayland-protocols-1.32.diff deleted file mode 100644 index b61721a..0000000 --- a/wayland-protocols-1.32.diff +++ /dev/null @@ -1,22 +0,0 @@ ---- glfw/wl_platform.h.smb 2023-07-06 12:27:14.522040038 -0400 -+++ glfw/wl_platform.h 2023-07-06 12:28:00.202071997 -0400 -@@ -125,6 +125,7 @@ - TOPLEVEL_STATE_TILED_RIGHT = 32, - TOPLEVEL_STATE_TILED_TOP = 64, - TOPLEVEL_STATE_TILED_BOTTOM = 128, -+ TOPLEVEL_STATE_SUSPENDED = 256, - } WaylandWindowState; - - typedef struct glfw_wl_xdg_activation_request { ---- glfw/wl_window.c.smb 2023-07-06 12:29:16.262125204 -0400 -+++ glfw/wl_window.c 2023-07-06 12:30:46.422188255 -0400 -@@ -529,6 +529,9 @@ - C(TOPLEVEL_STATE_TILED_RIGHT); - C(TOPLEVEL_STATE_TILED_TOP); - C(TOPLEVEL_STATE_TILED_BOTTOM); -+#ifdef XDG_TOPLEVEL_STATE_SUSPENDED_SINCE_VERSION -+ C(TOPLEVEL_STATE_SUSPENDED); -+#endif - #undef C - } - }