Accepting request 1098000 from X11:terminals

- Adding kitty-rpmlintrc as a source file

- Update to 0.29.0
  * Removing wayland-protocols-1.32.diff as it's no longer required
  * A new escape code <ESC>[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)

OBS-URL: https://build.opensuse.org/request/show/1098000
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kitty?expand=0&rev=18
This commit is contained in:
Ana Guerrero 2023-07-11 13:57:00 +00:00 committed by Git OBS Bridge
commit 1dca55b3e7
8 changed files with 85 additions and 43 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:210bfd7acbb2e9316efcde44c03b78c75ce487d127afb822b43f6e2a35f6a693
size 7882332

3
kitty-0.29.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c49863fefac402d04db44f43b0118f47830a07e8730636b75675064761939a4a
size 7915338

3
kitty-rpmlintrc Normal file
View File

@ -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");

View File

@ -1,3 +1,67 @@
-------------------------------------------------------------------
Mon Jul 10 15:55:28 UTC 2023 - Scott Bradnick <scott.bradnick@suse.com>
- Adding kitty-rpmlintrc as a source file
-------------------------------------------------------------------
Mon Jul 10 14:47:10 UTC 2023 - Scott Bradnick <scott.bradnick@suse.com>
- Update to 0.29.0
* Removing wayland-protocols-1.32.diff as it's no longer required
* A new escape code <ESC>[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 <scott.bradnick@suse.com>

View File

@ -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@' {} +

View File

@ -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(

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0b0b46044c7b2e19f341b8193f5125f4e33c52c157c3b7eb33d08bb15da66f50
size 2475216
oid sha256:d8f71789365ae0ae68c18203bd0c4e5dee0b8cf6bacfb2ca7232e160aef57de0
size 2518740

View File

@ -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
}
}