Files
kitty/buildmode-and-skip_docs.diff
Scott Bradnick 43c13cd6b9 Accepting request 1293575 from home:sbradnick:branches:X11:terminals
- Update to 0.42.2:
  * A new protocol extension to notify terminal programs that have turned on
    SGR Pixel mouse reporting when the mouse leaves the window (#8808)
    - https://sw.kovidgoyal.net/kitty/misc-protocol/#mouse-leave-window
  * clipboard kitten: Can now optionally take a password to avoid repeated
    permission prompts when accessing the clipboard. Based on a protocol
    extension. (#8789)
    - https://sw.kovidgoyal.net/kitty/clipboard/#clipboard-repeated-permission
  * A new launch --hold-after-ssh to not close a launched window that connects
    directly to a remote host because of launch --cwd=current when the
    connection ends (#8807)
    - https://sw.kovidgoyal.net/kitty/launch/#cmdoption-launch-hold-after-ssh
    - https://sw.kovidgoyal.net/kitty/launch/#cmdoption-launch-cwd
  * Fix remember_window_position not working because of a stupid typo (#8646)
    - https://sw.kovidgoyal.net/kitty/conf/#opt-kitty.remember_window_position
  * A new kitty --grab-keyboard that can be used to grab the keyboard so that
    global shortcuts are sent to kitty instead
    - https://sw.kovidgoyal.net/kitty/invocation/#cmdoption-kitty-grab-keyboard
  * Remote control: Fix holding a remote control socket open causing the kitty
    I/O thread to go into a loop and not respond on other remote control
    sockets (#8670)
  * hints kitten: Preserve line breaks when the hint is over a line
    break (#8674)
  * Fix a segfault when using the copy_ansi_to_clipboard action (#8682)
    - https://sw.kovidgoyal.net/kitty/actions/#action-copy_ansi_to_clipboard
  * Fix a crash when using linear easing curves for animations (#8692)
  * Graphics protocol: Add a note clarifying image update behavior on
    re-transmission (#8701)
  * Wayland GNOME: Fix incorrect OS Window tracking because GNOME has started
    activating windows on non-current workspaces (#8716)

OBS-URL: https://build.opensuse.org/request/show/1293575
OBS-URL: https://build.opensuse.org/package/show/X11:terminals/kitty?expand=0&rev=190
2025-07-16 06:17:14 +00:00

29 lines
1.2 KiB
Diff

--- setup.py.smb 2025-07-16 01:30:32.712541854 -0400
+++ setup.py 2025-07-16 01:32:17.054226172 -0400
@@ -1271,7 +1271,7 @@
if args.skip_building_kitten:
print('Skipping building of the kitten binary because of a command line option. Build is incomplete', file=sys.stderr)
return ''
- cmd = go + ['build', '-v']
+ cmd = go + ['build', '-buildmode=pie', '-v']
vcs_rev = args.vcs_rev or get_vcs_rev()
ld_flags: List[str] = []
binary_data_flags = [f"-X kitty.VCSRevision={vcs_rev}"]
@@ -1488,13 +1488,14 @@
base = Path(ddir)
in_src_launcher = base / (f'{libdir_name}/kitty/kitty/launcher/kitty')
launcher = base / 'bin/kitty'
- skip_docs = False
+ skip_docs = True
if not os.path.exists('docs/_build/html'):
kitten_exe = os.path.join(os.path.dirname(str(launcher)), 'kitten')
if os.path.exists(kitten_exe):
os.environ['KITTEN_EXE_FOR_DOCS'] = kitten_exe
make = 'gmake' if is_freebsd else 'make'
- run_tool([make, 'docs'])
+ if not skip_docs:
+ run_tool([make, 'docs'])
else:
if args.skip_building_kitten:
skip_docs = True