kitty/optional-disable-docs.diff

53 lines
2.0 KiB
Diff
Raw Normal View History

Accepting request 1112693 from home:sbradnick:branches:X11:terminals - Removing fix-librsync-leap.diff (no longer needed) - Updating optional-disable-docs.diff for changes to setup.py - Updating go vendor tarball - Update to 0.30.0: * A new transfer kitten that can be used to transfer files efficiently over the TTY device * ssh kitten: A new configuration directive to automatically forward the kitty remote control socket * Allow easily building kitty from source needing the installation of only C and Go compilers. All other dependencies are automatically vendored * kitten @ set-user-vars: New remote control command to set user variables on a window (#6502) * kitten @ ls: Add user variables set on windows to the output (#6502) * kitten @ ls: Allow limiting output to matched windows/tabs (#6520) * kitten icat: Fix image being displayed one cell to the right when using both --place and --unicode-placeholder (#6556) * kitten run-shell: Make kitty terminfo database available if needed before starting the shell * macOS: Fix keyboard shortcuts in the Apple global menubar not being changed when reloading the config * Fix a crash when resizing an OS Window that is displaying more than one image and the new size is smaller than the image needs (#6555) * Remote control: Allow using a random TCP port as the remote control socket and also allow using TCP sockets in listen_on * unicode_input kitten: Add an option to specify the startup tab (#6552) * X11: Print an error to STDERR instead of refusing to start when the user sets a custom window icon larger than 128x128 (#6507) * Remote control: Allow matching by neighbor of active window. Useful for navigation plugins like vim-kitty-navigator * Fix a regression that caused changing text_fg_override_threshold or OBS-URL: https://build.opensuse.org/request/show/1112693 OBS-URL: https://build.opensuse.org/package/show/X11:terminals/kitty?expand=0&rev=129
2023-09-25 11:23:45 +02:00
--- setup.py.smb 2023-09-21 01:30:53.606748707 -0400
+++ setup.py 2023-09-21 01:36:16.627212417 -0400
@@ -143,6 +143,7 @@
verbose: int = 0
sanitize: bool = False
prefix: str = './linux-package'
+ no_docs: bool = False
dir_for_static_binaries: str = 'build/static'
Accepting request 1097987 from home:sbradnick:branches:X11:terminals - 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) OBS-URL: https://build.opensuse.org/request/show/1097987 OBS-URL: https://build.opensuse.org/package/show/X11:terminals/kitty?expand=0&rev=122
2023-07-10 17:28:32 +02:00
skip_code_generation: bool = False
clean_for_cross_compile: bool = False
Accepting request 1112693 from home:sbradnick:branches:X11:terminals - Removing fix-librsync-leap.diff (no longer needed) - Updating optional-disable-docs.diff for changes to setup.py - Updating go vendor tarball - Update to 0.30.0: * A new transfer kitten that can be used to transfer files efficiently over the TTY device * ssh kitten: A new configuration directive to automatically forward the kitty remote control socket * Allow easily building kitty from source needing the installation of only C and Go compilers. All other dependencies are automatically vendored * kitten @ set-user-vars: New remote control command to set user variables on a window (#6502) * kitten @ ls: Add user variables set on windows to the output (#6502) * kitten @ ls: Allow limiting output to matched windows/tabs (#6520) * kitten icat: Fix image being displayed one cell to the right when using both --place and --unicode-placeholder (#6556) * kitten run-shell: Make kitty terminfo database available if needed before starting the shell * macOS: Fix keyboard shortcuts in the Apple global menubar not being changed when reloading the config * Fix a crash when resizing an OS Window that is displaying more than one image and the new size is smaller than the image needs (#6555) * Remote control: Allow using a random TCP port as the remote control socket and also allow using TCP sockets in listen_on * unicode_input kitten: Add an option to specify the startup tab (#6552) * X11: Print an error to STDERR instead of refusing to start when the user sets a custom window icon larger than 128x128 (#6507) * Remote control: Allow matching by neighbor of active window. Useful for navigation plugins like vim-kitty-navigator * Fix a regression that caused changing text_fg_override_threshold or OBS-URL: https://build.opensuse.org/request/show/1112693 OBS-URL: https://build.opensuse.org/package/show/X11:terminals/kitty?expand=0&rev=129
2023-09-25 11:23:45 +02:00
@@ -1149,12 +1150,13 @@
invalidation_mode=py_compile.PycInvalidationMode.UNCHECKED_HASH, ddir='')
Accepting request 1097987 from home:sbradnick:branches:X11:terminals - 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) OBS-URL: https://build.opensuse.org/request/show/1097987 OBS-URL: https://build.opensuse.org/package/show/X11:terminals/kitty?expand=0&rev=122
2023-07-10 17:28:32 +02:00
-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)
Accepting request 1112693 from home:sbradnick:branches:X11:terminals - Removing fix-librsync-leap.diff (no longer needed) - Updating optional-disable-docs.diff for changes to setup.py - Updating go vendor tarball - Update to 0.30.0: * A new transfer kitten that can be used to transfer files efficiently over the TTY device * ssh kitten: A new configuration directive to automatically forward the kitty remote control socket * Allow easily building kitty from source needing the installation of only C and Go compilers. All other dependencies are automatically vendored * kitten @ set-user-vars: New remote control command to set user variables on a window (#6502) * kitten @ ls: Add user variables set on windows to the output (#6502) * kitten @ ls: Allow limiting output to matched windows/tabs (#6520) * kitten icat: Fix image being displayed one cell to the right when using both --place and --unicode-placeholder (#6556) * kitten run-shell: Make kitty terminfo database available if needed before starting the shell * macOS: Fix keyboard shortcuts in the Apple global menubar not being changed when reloading the config * Fix a crash when resizing an OS Window that is displaying more than one image and the new size is smaller than the image needs (#6555) * Remote control: Allow using a random TCP port as the remote control socket and also allow using TCP sockets in listen_on * unicode_input kitten: Add an option to specify the startup tab (#6552) * X11: Print an error to STDERR instead of refusing to start when the user sets a custom window icon larger than 128x128 (#6507) * Remote control: Allow matching by neighbor of active window. Useful for navigation plugins like vim-kitty-navigator * Fix a regression that caused changing text_fg_override_threshold or OBS-URL: https://build.opensuse.org/request/show/1112693 OBS-URL: https://build.opensuse.org/package/show/X11:terminals/kitty?expand=0&rev=129
2023-09-25 11:23:45 +02:00
@@ -1536,7 +1538,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)
Accepting request 1097987 from home:sbradnick:branches:X11:terminals - 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) OBS-URL: https://build.opensuse.org/request/show/1097987 OBS-URL: https://build.opensuse.org/package/show/X11:terminals/kitty?expand=0&rev=122
2023-07-10 17:28:32 +02:00
if bundle_type.startswith('macos-'):
create_macos_bundle_gunk(ddir, for_freeze, args)
Accepting request 1112693 from home:sbradnick:branches:X11:terminals - Removing fix-librsync-leap.diff (no longer needed) - Updating optional-disable-docs.diff for changes to setup.py - Updating go vendor tarball - Update to 0.30.0: * A new transfer kitten that can be used to transfer files efficiently over the TTY device * ssh kitten: A new configuration directive to automatically forward the kitty remote control socket * Allow easily building kitty from source needing the installation of only C and Go compilers. All other dependencies are automatically vendored * kitten @ set-user-vars: New remote control command to set user variables on a window (#6502) * kitten @ ls: Add user variables set on windows to the output (#6502) * kitten @ ls: Allow limiting output to matched windows/tabs (#6520) * kitten icat: Fix image being displayed one cell to the right when using both --place and --unicode-placeholder (#6556) * kitten run-shell: Make kitty terminfo database available if needed before starting the shell * macOS: Fix keyboard shortcuts in the Apple global menubar not being changed when reloading the config * Fix a crash when resizing an OS Window that is displaying more than one image and the new size is smaller than the image needs (#6555) * Remote control: Allow using a random TCP port as the remote control socket and also allow using TCP sockets in listen_on * unicode_input kitten: Add an option to specify the startup tab (#6552) * X11: Print an error to STDERR instead of refusing to start when the user sets a custom window icon larger than 128x128 (#6507) * Remote control: Allow matching by neighbor of active window. Useful for navigation plugins like vim-kitty-navigator * Fix a regression that caused changing text_fg_override_threshold or OBS-URL: https://build.opensuse.org/request/show/1112693 OBS-URL: https://build.opensuse.org/package/show/X11:terminals/kitty?expand=0&rev=129
2023-09-25 11:23:45 +02:00
@@ -1640,6 +1642,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(
'--dir-for-static-binaries',
default=Options.dir_for_static_binaries,
help='Where to create the static kitten binary'