diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-10-20 10:22:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-10-20 10:22:14 +0100 |
commit | 46eedbedafdb0040c37884982d4c775ce277fb7b (patch) | |
tree | db33a91259730be84999e13a8d8168c799f50ac0 /x11-terms/kitty/files | |
parent | e23a08d0c97a0cc415aaa165da840b056f93c997 (diff) |
gentoo resync : 20.10.2021
Diffstat (limited to 'x11-terms/kitty/files')
-rw-r--r-- | x11-terms/kitty/files/kitty-0.16.0-remove-terminfo.patch | 14 | ||||
-rw-r--r-- | x11-terms/kitty/files/kitty-0.17.2-flags.patch | 50 | ||||
-rw-r--r-- | x11-terms/kitty/files/kitty-0.19.1-tests.patch | 11 |
3 files changed, 0 insertions, 75 deletions
diff --git a/x11-terms/kitty/files/kitty-0.16.0-remove-terminfo.patch b/x11-terms/kitty/files/kitty-0.16.0-remove-terminfo.patch deleted file mode 100644 index 4b7352aa73b3..000000000000 --- a/x11-terms/kitty/files/kitty-0.16.0-remove-terminfo.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/setup.py -+++ b/setup.py -@@ -837,11 +837,6 @@ - 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) - 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')) diff --git a/x11-terms/kitty/files/kitty-0.17.2-flags.patch b/x11-terms/kitty/files/kitty-0.17.2-flags.patch deleted file mode 100644 index 5a247679dc82..000000000000 --- a/x11-terms/kitty/files/kitty-0.17.2-flags.patch +++ /dev/null @@ -1,50 +0,0 @@ -Respect user CFLAGS. - ---- a/setup.py -+++ b/setup.py -@@ -236,7 +236,7 @@ - if ccver >= (5, 0): - df += ' -Og' - float_conversion = '-Wfloat-conversion' - fortify_source = '-D_FORTIFY_SOURCE=2' -- optimize = df if debug or sanitize else '-O3' -+ optimize = '' - sanitize_args = get_sanitize_args(cc, ccver) if sanitize else set() - cppflags_ = os.environ.get( - 'OVERRIDE_CPPFLAGS', '-D{}DEBUG'.format('' if debug else 'N'), -@@ -217,7 +217,7 @@ - cflags = os.environ.get( - 'OVERRIDE_CFLAGS', ( - '-Wextra {} -Wno-missing-field-initializers -Wall -Wstrict-prototypes -std=c11' -- ' -pedantic-errors -Werror {} {} -fwrapv {} {} -pipe {} -fvisibility=hidden' -+ ' -pedantic-errors {} {} -fwrapv {} {} {} -fvisibility=hidden' - ).format( - float_conversion, std, - optimize, -@@ -232,7 +232,7 @@ - ) - ldflags = os.environ.get( - 'OVERRIDE_LDFLAGS', -- '-Wall ' + ' '.join(sanitize_args) + ('' if debug else ' -O3') -+ '-Wall ' + ' '.join(sanitize_args) - ) - ldflags = shlex.split(ldflags) - ldflags.append('-shared') -@@ -614,7 +614,7 @@ - - - def build_launcher(args, launcher_dir='.', bundle_type='source'): -- cflags = '-Wall -Werror -fpie'.split() -+ cflags = '-Wall -fpie'.split() - cppflags = [] - libs = [] - if args.profile or args.sanitize: -@@ -626,8 +626,6 @@ - cflags.append('-g') - if args.profile: - libs.append('-lprofiler') -- else: -- cflags.append('-O3') - if bundle_type.endswith('-freeze'): - cppflags.append('-DFOR_BUNDLE') - cppflags.append('-DPYVER="{}"'.format(sysconfig.get_python_version())) diff --git a/x11-terms/kitty/files/kitty-0.19.1-tests.patch b/x11-terms/kitty/files/kitty-0.19.1-tests.patch deleted file mode 100644 index ee489b0dce34..000000000000 --- a/x11-terms/kitty/files/kitty-0.19.1-tests.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/kitty/constants.py -+++ b/kitty/constants.py -@@ -64,7 +64,7 @@ - def kitty_exe() -> str: - rpath = sys._xoptions.get('bundle_exe_dir') - if not rpath: -- items = os.environ.get('PATH', '').split(os.pathsep) + [os.path.join(base, 'launcher')] -+ items = os.environ.get('PATH', '').split(os.pathsep) + [os.path.join(base, '../linux-package/bin')] - seen: Set[str] = set() - for candidate in filter(None, items): - if candidate not in seen: |