Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 618046 Details for
Bug 678486
x11-terms/kitty: split out kitty-terminfo
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
create-only-terminfo.patch
create-only-terminfo.patch (text/plain), 2.29 KB, created by
gerion
on 2020-03-11 20:23:00 UTC
(
hide
)
Description:
create-only-terminfo.patch
Filename:
MIME Type:
Creator:
gerion
Created:
2020-03-11 20:23:00 UTC
Size:
2.29 KB
patch
obsolete
>diff --git a/setup.py b/setup.py >index bae30cd3..99b77908 100755 >--- a/setup.py >+++ b/setup.py >@@ -876,15 +876,17 @@ def package(args, bundle_type): > libdir = os.path.join(ddir, args.libdir_name.strip('/'), 'kitty') > if os.path.exists(libdir): > shutil.rmtree(libdir) >- launcher_dir = os.path.join(ddir, 'bin') >- safe_makedirs(launcher_dir) >- build_launcher(args, launcher_dir, bundle_type) >- os.makedirs(os.path.join(libdir, 'logo')) > build_terminfo = runpy.run_path('build-terminfo', run_name='import_build') > for x in (libdir, os.path.join(ddir, 'share')): > odir = os.path.join(x, 'terminfo') > safe_makedirs(odir) > build_terminfo['compile_terminfo'](odir) >+ if bundle_type == 'linux-terminfo': >+ return >+ launcher_dir = os.path.join(ddir, 'bin') >+ safe_makedirs(launcher_dir) >+ build_launcher(args, launcher_dir, bundle_type) >+ os.makedirs(os.path.join(libdir, 'logo')) > shutil.copy2('__main__.py', libdir) > shutil.copy2('logo/kitty.rgba', os.path.join(libdir, 'logo')) > shutil.copy2('logo/kitty.png', os.path.join(libdir, 'logo')) >@@ -932,7 +934,7 @@ def clean(): > > safe_remove( > 'build', 'compile_commands.json', 'link_commands.json', >- 'linux-package', 'kitty.app', 'asan-launcher', >+ 'linux-package', 'linux-terminfo', 'kitty.app', 'asan-launcher', > 'kitty-profile', 'kitty/launcher') > exclude = ('.git',) > for root, dirs, files in os.walk('.', topdown=True): >@@ -955,7 +957,7 @@ def option_parser(): # {{{ > 'action', > nargs='?', > default='build', >- choices='build test linux-package kitty.app linux-freeze macos-freeze clean'.split(), >+ choices='build test linux-package linux-terminfo kitty.app linux-freeze macos-freeze clean'.split(), > help='Action to perform (default is build)' > ) > p.add_argument( >@@ -1052,6 +1054,8 @@ def main(): > elif args.action == 'linux-package': > build(args, native_optimizations=False) > package(args, bundle_type='linux-package') >+ elif args.action == 'linux-terminfo': >+ package(args, bundle_type='linux-terminfo') > elif args.action == 'linux-freeze': > build(args, native_optimizations=False) > package(args, bundle_type='linux-freeze')
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 678486
: 618046