From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 149541382C5 for ; Fri, 11 Jun 2021 07:21:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5042CE0843; Fri, 11 Jun 2021 07:21:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1A2A7E0843 for ; Fri, 11 Jun 2021 07:21:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 382AA335DBD for ; Fri, 11 Jun 2021 07:21:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AB28C797 for ; Fri, 11 Jun 2021 07:21:31 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1623396083.5e72d22a2ea5a5dd58fd99ad345c9cae0fde82f1.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-terms/kitty/, x11-terms/kitty/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-terms/kitty/files/kitty-9999-flags.patch x11-terms/kitty/files/kitty-9999-remove-terminfo.patch x11-terms/kitty/kitty-9999.ebuild X-VCS-Directories: x11-terms/kitty/files/ x11-terms/kitty/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 5e72d22a2ea5a5dd58fd99ad345c9cae0fde82f1 X-VCS-Branch: master Date: Fri, 11 Jun 2021 07:21:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6d8fe8f5-d918-4da7-8b2c-86df8cfc9ae6 X-Archives-Hash: e233795b0bbcaf46af2250441818d5d4 commit: 5e72d22a2ea5a5dd58fd99ad345c9cae0fde82f1 Author: Pablo tuta io> AuthorDate: Thu Jun 10 21:50:40 2021 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Fri Jun 11 07:21:23 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e72d22a x11-terms/kitty: fix live ebuild and update python compatibility Signed-off-by: Pablo Orduna gmail.com> Closes: https://bugs.gentoo.org/789285 Closes: https://github.com/gentoo/gentoo/pull/21179 Signed-off-by: Joonas Niilola gentoo.org> x11-terms/kitty/files/kitty-9999-flags.patch | 13 +++++++------ x11-terms/kitty/files/kitty-9999-remove-terminfo.patch | 16 ++++++++++++++++ x11-terms/kitty/kitty-9999.ebuild | 4 ++-- 3 files changed, 25 insertions(+), 8 deletions(-) diff --git a/x11-terms/kitty/files/kitty-9999-flags.patch b/x11-terms/kitty/files/kitty-9999-flags.patch index 39042dbd458..0e773c67765 100644 --- a/x11-terms/kitty/files/kitty-9999-flags.patch +++ b/x11-terms/kitty/files/kitty-9999-flags.patch @@ -17,7 +17,7 @@ index f751107f..69bf39d4 100755 f'-Wextra {float_conversion} -Wno-missing-field-initializers -Wall -Wstrict-prototypes {std}' - f' {werror} {optimize} {sanitize_flag} -fwrapv {stack_protector} {missing_braces}' - f' -pipe {march} -fvisibility=hidden {fortify_source}' -+ f' -pedantic-errors {optimize} {sanitize_flag} -fwrapv {stack_protector} {missing_braces}' ++ f' {optimize} {sanitize_flag} -fwrapv {stack_protector} {missing_braces}' + f' {march} -fvisibility=hidden {fortify_source}' ) ) @@ -31,14 +31,15 @@ index f751107f..69bf39d4 100755 ) ldflags = shlex.split(ldflags_) ldflags.append('-shared') -@@ -789,9 +789,7 @@ def safe_makedirs(path: str) -> None: - - +@@ -789,10 +789,7 @@ + + def build_launcher(args: Options, launcher_dir: str = '.', bundle_type: str = 'source') -> None: -- cflags = '-Wall -Werror -fpie'.split() +- werror = '' if args.ignore_compiler_warnings else '-pedantic-errors -Werror' +- cflags = f'-Wall {werror} -fpie'.split() - if args.build_universal_binary: - cflags += '-arch x86_64 -arch arm64'.split() -+ cflags = '-Wall -fpie'.split() ++ cflags = f'-Wall -fpie'.split() cppflags = [] libs: List[str] = [] if args.profile or args.sanitize: diff --git a/x11-terms/kitty/files/kitty-9999-remove-terminfo.patch b/x11-terms/kitty/files/kitty-9999-remove-terminfo.patch new file mode 100644 index 00000000000..39fe84b3b2a --- /dev/null +++ b/x11-terms/kitty/files/kitty-9999-remove-terminfo.patch @@ -0,0 +1,16 @@ +diff --git a/setup.py b/setup.py +index ce5309ee..02f38c61 100755 +--- a/setup.py ++++ a/setup.py +@@ -1082,11 +1082,6 @@ + else: + 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-128.png', os.path.join(libdir, 'logo')) + shutil.copy2('logo/kitty.png', os.path.join(libdir, 'logo')) diff --git a/x11-terms/kitty/kitty-9999.ebuild b/x11-terms/kitty/kitty-9999.ebuild index fb9de537a83..e67ade73823 100644 --- a/x11-terms/kitty/kitty-9999.ebuild +++ b/x11-terms/kitty/kitty-9999.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7,8} ) +PYTHON_COMPAT=( python3_{7,8,9} ) inherit optfeature python-single-r1 toolchain-funcs xdg @@ -58,7 +58,7 @@ BDEPEND="virtual/pkgconfig" PATCHES=( "${FILESDIR}"/${P}-flags.patch - "${FILESDIR}"/kitty-0.20.1-remove-terminfo.patch + "${FILESDIR}"/${P}-remove-terminfo.patch "${FILESDIR}"/${PN}-0.14.4-svg-icon.patch )