From 080e405250a08a717fdd34f9810c72d98590cdf3 Mon Sep 17 00:00:00 2001 From: Tim Harder <radhermit@gentoo.org> Date: Mon, 11 Nov 2019 20:52:06 -0700 Subject: x11-terms/kitty: remove old Signed-off-by: Tim Harder <radhermit@gentoo.org> --- x11-terms/kitty/Manifest | 1 - x11-terms/kitty/files/kitty-0.11.0-svg-icon.patch | 16 ---- x11-terms/kitty/files/kitty-0.14.2-flags.patch | 49 ---------- x11-terms/kitty/kitty-0.14.4.ebuild | 108 ---------------------- 4 files changed, 174 deletions(-) delete mode 100644 x11-terms/kitty/files/kitty-0.11.0-svg-icon.patch delete mode 100644 x11-terms/kitty/files/kitty-0.14.2-flags.patch delete mode 100644 x11-terms/kitty/kitty-0.14.4.ebuild (limited to 'x11-terms/kitty') diff --git a/x11-terms/kitty/Manifest b/x11-terms/kitty/Manifest index 8aa1f415c4d3..8d37e0a76d79 100644 --- a/x11-terms/kitty/Manifest +++ b/x11-terms/kitty/Manifest @@ -1,2 +1 @@ -DIST kitty-0.14.4.tar.xz 2946268 BLAKE2B e06cdb1081d821bd65190ec7526482f7471f7a04c8a559e48465b602559079c10d220024ac521d2fce34e0eb90af7bee01d1da408082bfa724ac61e59709a860 SHA512 1550883232bff21217fc0d294598d6d828e67a944fc69b324079e87bf2505344c58ade75cec8bff1dca7821c4f490c066f2645281cee0e71792d317ef7df3779 DIST kitty-0.14.6.tar.xz 2970008 BLAKE2B e4f64051aebcc5d5aa1956351acb5564815e65c7c8435cac3c7960c5096fbeb5f0e98e3bdf92e750e8d70d6b0124b081bbb5d38a589c3dc5cf74642c3eaf83c9 SHA512 889bfce732f2a36d338c9c41b28e0770d98c15530b56a9f037cef610593b50453f1bde60e89560472035fc250dec0431a9776de1449f77e4c6988aca157eea12 diff --git a/x11-terms/kitty/files/kitty-0.11.0-svg-icon.patch b/x11-terms/kitty/files/kitty-0.11.0-svg-icon.patch deleted file mode 100644 index 97e45c677f8f..000000000000 --- a/x11-terms/kitty/files/kitty-0.11.0-svg-icon.patch +++ /dev/null @@ -1,16 +0,0 @@ -Use SVG icon instead of PNG. - ---- kitty-0.11.0/setup.py -+++ kitty-0.11.0/setup.py -@@ -605,9 +605,9 @@ - if not is_macos: # {{{ linux desktop gunk - copy_man_pages(ddir) - copy_html_docs(ddir) -- icdir = os.path.join(ddir, 'share', 'icons', 'hicolor', '256x256', 'apps') -+ icdir = os.path.join(ddir, 'share', 'icons', 'hicolor', 'scalable', 'apps') - safe_makedirs(icdir) -- shutil.copy2('logo/kitty.png', icdir) -+ shutil.copy2('logo/kitty.svg', icdir) - deskdir = os.path.join(ddir, 'share', 'applications') - safe_makedirs(deskdir) - with open(os.path.join(deskdir, 'kitty.desktop'), 'w') as f: diff --git a/x11-terms/kitty/files/kitty-0.14.2-flags.patch b/x11-terms/kitty/files/kitty-0.14.2-flags.patch deleted file mode 100644 index d362c4216511..000000000000 --- a/x11-terms/kitty/files/kitty-0.14.2-flags.patch +++ /dev/null @@ -1,49 +0,0 @@ -Respect user CFLAGS. - ---- kitty-0.14.2/setup.py -+++ kitty-0.14.2/setup.py -@@ -198,7 +198,7 @@ - df = '-g3' - if ccver >= (5, 0): - df += ' -Og' -- 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', ( -@@ -213,7 +213,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( - optimize, - ' '.join(sanitize_args), -@@ -227,7 +227,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') -@@ -550,14 +550,14 @@ - - - def build_launcher(args, launcher_dir='.', for_bundle=False, sh_launcher=False, for_freeze=False): -- cflags = '-Wall -Werror -fpie'.split() -+ cflags = '-Wall -fpie'.split() - cppflags = [] - libs = [] - if args.profile: - cppflags.append('-DWITH_PROFILER'), cflags.append('-g') - libs.append('-lprofiler') -- else: -- cflags.append('-O3') -+ #else: -+ # cflags.append('-O3') - if for_bundle or for_freeze: - cppflags.append('-DFOR_BUNDLE') - cppflags.append('-DPYVER="{}"'.format(sysconfig.get_python_version())) diff --git a/x11-terms/kitty/kitty-0.14.4.ebuild b/x11-terms/kitty/kitty-0.14.4.ebuild deleted file mode 100644 index 85c9ba13dfc8..000000000000 --- a/x11-terms/kitty/kitty-0.14.4.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python3_{6,7} ) - -inherit python-single-r1 toolchain-funcs gnome2-utils - -if [[ ${PV} == "9999" ]] ; then - EGIT_REPO_URI="https://github.com/kovidgoyal/kitty.git" - inherit git-r3 -else - SRC_URI="https://github.com/kovidgoyal/kitty/releases/download/v${PV}/${P}.tar.xz" - KEYWORDS="~amd64 ~x86" -fi - -DESCRIPTION="A modern, hackable, featureful, OpenGL-based terminal emulator" -HOMEPAGE="https://github.com/kovidgoyal/kitty" - -LICENSE="GPL-3" -SLOT="0" -IUSE="debug doc imagemagick wayland" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -COMMON_DEPS=" - ${PYTHON_DEPS} - >=media-libs/harfbuzz-1.5.0:= - sys-apps/dbus - sys-libs/zlib - media-libs/libcanberra - media-libs/libpng:0= - media-libs/freetype:2 - media-libs/fontconfig - x11-libs/libXcursor - x11-libs/libXrandr - x11-libs/libXi - x11-libs/libXinerama - x11-libs/libxkbcommon[X] - x11-libs/libxcb[xkb] - wayland? ( - dev-libs/wayland - >=dev-libs/wayland-protocols-1.17 - ) -" -RDEPEND=" - ${COMMON_DEPS} - imagemagick? ( virtual/imagemagick-tools ) -" -DEPEND="${RDEPEND} - media-libs/mesa[X(+)] - sys-libs/ncurses - virtual/pkgconfig -" -[[ ${PV} == *9999 ]] && DEPEND+=" >=dev-python/sphinx-1.7[${PYTHON_USEDEP}]" - -PATCHES=( - "${FILESDIR}"/${PN}-0.14.4-flags.patch - "${FILESDIR}"/${PN}-0.14.4-svg-icon.patch -) - -src_prepare() { - default - - # disable wayland as required - if ! use wayland; then - sed -i "/'x11 wayland'/s/ wayland//" setup.py || die - fi - - # respect doc dir - sed -i "/htmldir =/s/appname/'${PF}'/" setup.py - - tc-export CC -} - -doecho() { - echo "$@" - "$@" || die -} - -src_compile() { - doecho "${EPYTHON}" setup.py \ - --verbose $(usex debug --debug "") \ - --libdir-name $(get_libdir) \ - linux-package -} - -src_test() { - export KITTY_CONFIG_DIRECTORY=${T} - "${EPYTHON}" test.py || die -} - -src_install() { - mkdir -p "${ED}"usr || die - cp -r linux-package/* "${ED}usr" || die - python_fix_shebang "${ED}" - - if ! use doc; then - rm -r "${ED}"/usr/share/doc || die - fi -} - -pkg_postinst() { - gnome2_icon_cache_update -} - -pkg_postrm() { - gnome2_icon_cache_update -} -- cgit v1.2.3-65-gdbad