1 |
commit: 7988919b17db0f8238fd45eae92002dd1a8f66ed |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 31 10:26:25 2019 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 31 10:26:25 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7988919b |
7 |
|
8 |
x11-terms/kitty: remove old |
9 |
|
10 |
Signed-off-by: Tim Harder <radhermit <AT> gentoo.org> |
11 |
|
12 |
x11-terms/kitty/Manifest | 1 - |
13 |
x11-terms/kitty/files/kitty-0.13.2-flags.patch | 47 ----------- |
14 |
x11-terms/kitty/kitty-0.13.3.ebuild | 106 ------------------------- |
15 |
3 files changed, 154 deletions(-) |
16 |
|
17 |
diff --git a/x11-terms/kitty/Manifest b/x11-terms/kitty/Manifest |
18 |
index ed11875f60b..cf75d64fee8 100644 |
19 |
--- a/x11-terms/kitty/Manifest |
20 |
+++ b/x11-terms/kitty/Manifest |
21 |
@@ -1,3 +1,2 @@ |
22 |
-DIST kitty-0.13.3.tar.xz 2846220 BLAKE2B cb2da9e64696298471001f28bc5cc568a6ec21331153929fa86b8bc7262b5928430fc053f86b7ef669eafde676439f6ee644f14cd942e2f11fba7b7dadfcb294 SHA512 9ce803469057245f9e1c50b53e03d48d3f2483b01f9441be6eadbfea8edcba01652177cbff11d1dd2b35e9415db6822fd72a0494f00ee3be30f58c1f1991c37b |
23 |
DIST kitty-0.14.2.tar.xz 2867116 BLAKE2B 20f3d66caa5242502f2699d4a5e8364eda357b00c72d50650ab0d03fbbb552152a2d4447e37ce20660d6d8f9ffc285aee057f6adf7a03ac57fa8ab6d1da61013 SHA512 191a37424c51776d271008c6b4b0cb43b60cd2abea3ea7b2a08cca9a8d44c4932ca11470f3efb8debc0e2ef3641bb68c05374401073b23cf81042af467b1dbf4 |
24 |
DIST kitty-0.14.4.tar.xz 2946268 BLAKE2B e06cdb1081d821bd65190ec7526482f7471f7a04c8a559e48465b602559079c10d220024ac521d2fce34e0eb90af7bee01d1da408082bfa724ac61e59709a860 SHA512 1550883232bff21217fc0d294598d6d828e67a944fc69b324079e87bf2505344c58ade75cec8bff1dca7821c4f490c066f2645281cee0e71792d317ef7df3779 |
25 |
|
26 |
diff --git a/x11-terms/kitty/files/kitty-0.13.2-flags.patch b/x11-terms/kitty/files/kitty-0.13.2-flags.patch |
27 |
deleted file mode 100644 |
28 |
index b79edaf884f..00000000000 |
29 |
--- a/x11-terms/kitty/files/kitty-0.13.2-flags.patch |
30 |
+++ /dev/null |
31 |
@@ -1,47 +0,0 @@ |
32 |
---- kitty-0.13.2/setup.py |
33 |
-+++ kitty-0.13.2/setup.py |
34 |
-@@ -178,7 +178,7 @@ |
35 |
- df = '-g3' |
36 |
- if ccver >= (5, 0): |
37 |
- df += ' -Og' |
38 |
-- optimize = df if debug or sanitize else '-O3' |
39 |
-+ optimize = '' |
40 |
- sanitize_args = get_sanitize_args(cc, ccver) if sanitize else set() |
41 |
- cppflags = os.environ.get( |
42 |
- 'OVERRIDE_CPPFLAGS', ( |
43 |
-@@ -191,7 +191,7 @@ |
44 |
- cflags = os.environ.get( |
45 |
- 'OVERRIDE_CFLAGS', ( |
46 |
- '-Wextra -Wno-missing-field-initializers -Wall -std=c11' |
47 |
-- ' -pedantic-errors -Werror {} {} -fwrapv {} {} -pipe {} -fvisibility=hidden' |
48 |
-+ ' -pedantic-errors {} {} -fwrapv {} {} {} -fvisibility=hidden' |
49 |
- ).format( |
50 |
- optimize, |
51 |
- ' '.join(sanitize_args), |
52 |
-@@ -205,7 +205,7 @@ |
53 |
- ) |
54 |
- ldflags = os.environ.get( |
55 |
- 'OVERRIDE_LDFLAGS', |
56 |
-- '-Wall ' + ' '.join(sanitize_args) + ('' if debug else ' -O3') |
57 |
-+ '-Wall ' + ' '.join(sanitize_args) |
58 |
- ) |
59 |
- ldflags = shlex.split(ldflags) |
60 |
- ldflags.append('-shared') |
61 |
-@@ -517,14 +517,14 @@ |
62 |
- |
63 |
- |
64 |
- def build_linux_launcher(args, launcher_dir='.', for_bundle=False, sh_launcher=False, for_freeze=False): |
65 |
-- cflags = '-Wall -Werror -fpie'.split() |
66 |
-+ cflags = '-Wall -fpie'.split() |
67 |
- cppflags = [] |
68 |
- libs = [] |
69 |
- if args.profile: |
70 |
- cppflags.append('-DWITH_PROFILER'), cflags.append('-g') |
71 |
- libs.append('-lprofiler') |
72 |
-- else: |
73 |
-- cflags.append('-O3') |
74 |
-+ #else: |
75 |
-+ # cflags.append('-O3') |
76 |
- if for_bundle or for_freeze: |
77 |
- cppflags.append('-DFOR_BUNDLE') |
78 |
- cppflags.append('-DPYVER="{}"'.format(sysconfig.get_python_version())) |
79 |
|
80 |
diff --git a/x11-terms/kitty/kitty-0.13.3.ebuild b/x11-terms/kitty/kitty-0.13.3.ebuild |
81 |
deleted file mode 100644 |
82 |
index 74d2102fb6d..00000000000 |
83 |
--- a/x11-terms/kitty/kitty-0.13.3.ebuild |
84 |
+++ /dev/null |
85 |
@@ -1,106 +0,0 @@ |
86 |
-# Copyright 1999-2019 Gentoo Authors |
87 |
-# Distributed under the terms of the GNU General Public License v2 |
88 |
- |
89 |
-EAPI=6 |
90 |
-PYTHON_COMPAT=( python3_{6,7} ) |
91 |
- |
92 |
-inherit python-single-r1 toolchain-funcs gnome2-utils |
93 |
- |
94 |
-if [[ ${PV} == "9999" ]] ; then |
95 |
- EGIT_REPO_URI="https://github.com/kovidgoyal/kitty.git" |
96 |
- inherit git-r3 |
97 |
-else |
98 |
- SRC_URI="https://github.com/kovidgoyal/kitty/releases/download/v${PV}/${P}.tar.xz" |
99 |
- KEYWORDS="~amd64 ~x86" |
100 |
-fi |
101 |
- |
102 |
-DESCRIPTION="A modern, hackable, featureful, OpenGL-based terminal emulator" |
103 |
-HOMEPAGE="https://github.com/kovidgoyal/kitty" |
104 |
- |
105 |
-LICENSE="GPL-3" |
106 |
-SLOT="0" |
107 |
-IUSE="debug doc imagemagick wayland" |
108 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
109 |
- |
110 |
-COMMON_DEPS=" |
111 |
- ${PYTHON_DEPS} |
112 |
- >=media-libs/harfbuzz-1.5.0:= |
113 |
- sys-apps/dbus |
114 |
- sys-libs/zlib |
115 |
- media-libs/libpng:0= |
116 |
- media-libs/freetype:2 |
117 |
- media-libs/fontconfig |
118 |
- x11-libs/libXcursor |
119 |
- x11-libs/libXrandr |
120 |
- x11-libs/libXi |
121 |
- x11-libs/libXinerama |
122 |
- x11-libs/libxkbcommon[X] |
123 |
- x11-libs/libxcb[xkb] |
124 |
- wayland? ( |
125 |
- dev-libs/wayland |
126 |
- >=dev-libs/wayland-protocols-1.17 |
127 |
- ) |
128 |
-" |
129 |
-RDEPEND=" |
130 |
- ${COMMON_DEPS} |
131 |
- imagemagick? ( virtual/imagemagick-tools ) |
132 |
-" |
133 |
-DEPEND="${RDEPEND} |
134 |
- sys-libs/ncurses |
135 |
- virtual/pkgconfig |
136 |
-" |
137 |
-[[ ${PV} == *9999 ]] && DEPEND+=" >=dev-python/sphinx-1.7[${PYTHON_USEDEP}]" |
138 |
- |
139 |
-PATCHES=( |
140 |
- "${FILESDIR}"/${PN}-0.13.2-flags.patch |
141 |
- "${FILESDIR}"/${PN}-0.11.0-svg-icon.patch |
142 |
-) |
143 |
- |
144 |
-src_prepare() { |
145 |
- default |
146 |
- |
147 |
- # disable wayland as required |
148 |
- if ! use wayland; then |
149 |
- sed -i "/'x11 wayland'/s/ wayland//" setup.py || die |
150 |
- fi |
151 |
- |
152 |
- # respect doc dir |
153 |
- sed -i "/htmldir =/s/appname/'${PF}'/" setup.py |
154 |
- |
155 |
- tc-export CC |
156 |
-} |
157 |
- |
158 |
-doecho() { |
159 |
- echo "$@" |
160 |
- "$@" || die |
161 |
-} |
162 |
- |
163 |
-src_compile() { |
164 |
- doecho "${EPYTHON}" setup.py \ |
165 |
- --verbose $(usex debug --debug "") \ |
166 |
- --libdir-name $(get_libdir) \ |
167 |
- linux-package |
168 |
-} |
169 |
- |
170 |
-src_test() { |
171 |
- export KITTY_CONFIG_DIRECTORY=${T} |
172 |
- "${EPYTHON}" test.py || die |
173 |
-} |
174 |
- |
175 |
-src_install() { |
176 |
- mkdir -p "${ED}"usr || die |
177 |
- cp -r linux-package/* "${ED}usr" || die |
178 |
- python_fix_shebang "${ED}" |
179 |
- |
180 |
- if ! use doc; then |
181 |
- rm -r "${ED}"/usr/share/doc || die |
182 |
- fi |
183 |
-} |
184 |
- |
185 |
-pkg_postinst() { |
186 |
- gnome2_icon_cache_update |
187 |
-} |
188 |
- |
189 |
-pkg_postrm() { |
190 |
- gnome2_icon_cache_update |
191 |
-} |