1 |
commit: 4713776af4f8c28c11b9be3aab36203c9cc5dbbb |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 16 08:26:25 2021 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 16 08:26:25 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4713776a |
7 |
|
8 |
net-irc/irssi: Drop old |
9 |
|
10 |
Package-Manager: Portage-3.0.17, Repoman-3.0.2 |
11 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
12 |
|
13 |
net-irc/irssi/Manifest | 1 - |
14 |
.../irssi-1.2.2-glib-2.63_NUL_unicode_fix.patch | 38 ------------- |
15 |
net-irc/irssi/irssi-1.2.2-r1.ebuild | 66 ---------------------- |
16 |
3 files changed, 105 deletions(-) |
17 |
|
18 |
diff --git a/net-irc/irssi/Manifest b/net-irc/irssi/Manifest |
19 |
index bb8944a93b0..dc5612c9c0f 100644 |
20 |
--- a/net-irc/irssi/Manifest |
21 |
+++ b/net-irc/irssi/Manifest |
22 |
@@ -1,2 +1 @@ |
23 |
-DIST irssi-1.2.2.tar.xz 1140844 BLAKE2B c1758828285c3f3210d6920455382e52279587280ecdc4ba7d73562c164ebd6618b1bb32d387439be2696f948044f66eb73b78ed2b0635286f8c3d93530167f2 SHA512 5444ac102ff9ad3a6399a47c967d138e181330dd226eac68886d35fee4ad455932b9306a367bee3478095158e41ba67fb46deb8f0a33512046b9b83bae37c610 |
24 |
DIST irssi-1.2.3.tar.xz 1145292 BLAKE2B 7b2b7cb8d1533a06ad3cd5e0b2e45bba636cf19d26c69e19fc7e9408313f80d80a26ff2bf5f21a8763d8adec722bb33f6b076a863e6a55e178a814a3e79c9db7 SHA512 826b7bfd86a54647f2d344b6c461e1118b7382fb1637cf33c395af41a9a4ca5d8a794a415f0f0737178968cf2463bb46a0e7b7fd7014c968668b16183e0644bc |
25 |
|
26 |
diff --git a/net-irc/irssi/files/irssi-1.2.2-glib-2.63_NUL_unicode_fix.patch b/net-irc/irssi/files/irssi-1.2.2-glib-2.63_NUL_unicode_fix.patch |
27 |
deleted file mode 100644 |
28 |
index 63d26958b7b..00000000000 |
29 |
--- a/net-irc/irssi/files/irssi-1.2.2-glib-2.63_NUL_unicode_fix.patch |
30 |
+++ /dev/null |
31 |
@@ -1,38 +0,0 @@ |
32 |
-From a0544571a80196e5b7705f56e6e2cbcdf7b4d80e Mon Sep 17 00:00:00 2001 |
33 |
-From: ailin-nemui <ailin-nemui@××××××××××××××××××××.com> |
34 |
-Date: Thu, 23 Apr 2020 21:45:15 +0200 |
35 |
-Subject: [PATCH] manually handle NUL unicode in g_utf8_get_next_char_validated |
36 |
- |
37 |
-A change in GLib 2.63 broke some assumptions in Irssi that the null-byte |
38 |
-NUL / U+0000 is a valid Unicode character. This would occur when the |
39 |
-user types Ctrl+Space. As a result, the input loop never manages to |
40 |
-process the NUL-byte (and any other user input that follows, ever). |
41 |
- |
42 |
-This patch adds a manual check that properly advances the input loop if |
43 |
-GLib returns -2 (incomplete character) despite the length being positive |
44 |
-and a NUL is in first position. |
45 |
- |
46 |
-Fixes #1180 |
47 |
-https://gitlab.gnome.org/GNOME/glib/-/merge_requests/967 |
48 |
-https://gitlab.gnome.org/GNOME/glib/-/issues/2093 |
49 |
---- |
50 |
- src/fe-text/term-terminfo.c | 6 +++++- |
51 |
- 1 file changed, 5 insertions(+), 1 deletion(-) |
52 |
- |
53 |
-diff --git a/src/fe-text/term-terminfo.c b/src/fe-text/term-terminfo.c |
54 |
-index 5235f72d2..78496a64f 100644 |
55 |
---- a/src/fe-text/term-terminfo.c |
56 |
-+++ b/src/fe-text/term-terminfo.c |
57 |
-@@ -672,7 +672,11 @@ void term_stop(void) |
58 |
- |
59 |
- static int input_utf8(const unsigned char *buffer, int size, unichar *result) |
60 |
- { |
61 |
-- unichar c = g_utf8_get_char_validated((char *)buffer, size); |
62 |
-+ unichar c = g_utf8_get_char_validated((char *) buffer, size); |
63 |
-+ |
64 |
-+ /* GLib >= 2.63 do not accept Unicode NUL anymore */ |
65 |
-+ if (c == (unichar) -2 && *buffer == 0 && size > 0) |
66 |
-+ c = 0; |
67 |
- |
68 |
- switch (c) { |
69 |
- case (unichar)-1: |
70 |
|
71 |
diff --git a/net-irc/irssi/irssi-1.2.2-r1.ebuild b/net-irc/irssi/irssi-1.2.2-r1.ebuild |
72 |
deleted file mode 100644 |
73 |
index 53254a9175c..00000000000 |
74 |
--- a/net-irc/irssi/irssi-1.2.2-r1.ebuild |
75 |
+++ /dev/null |
76 |
@@ -1,66 +0,0 @@ |
77 |
-# Copyright 1999-2021 Gentoo Authors |
78 |
-# Distributed under the terms of the GNU General Public License v2 |
79 |
- |
80 |
-EAPI=6 |
81 |
- |
82 |
-GENTOO_DEPEND_ON_PERL="no" |
83 |
- |
84 |
-inherit perl-module |
85 |
- |
86 |
-# Keep for _rc compability |
87 |
-MY_P="${P/_/-}" |
88 |
- |
89 |
-DESCRIPTION="A modular textUI IRC client with IPv6 support" |
90 |
-HOMEPAGE="https://irssi.org/" |
91 |
-SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV/_/-}/${MY_P}.tar.xz" |
92 |
- |
93 |
-LICENSE="GPL-2" |
94 |
-SLOT="0" |
95 |
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
96 |
-IUSE="otr +perl selinux socks5 +proxy" |
97 |
- |
98 |
-COMMON_DEPEND=" |
99 |
- sys-libs/ncurses:0= |
100 |
- >=dev-libs/glib-2.6.0 |
101 |
- dev-libs/openssl:= |
102 |
- otr? ( >=dev-libs/libgcrypt-1.2.0:0= |
103 |
- >=net-libs/libotr-4.1.0 ) |
104 |
- perl? ( dev-lang/perl:= ) |
105 |
- socks5? ( >=net-proxy/dante-1.1.18 )" |
106 |
- |
107 |
-DEPEND=" |
108 |
- ${COMMON_DEPEND} |
109 |
- virtual/pkgconfig" |
110 |
- |
111 |
-RDEPEND=" |
112 |
- ${COMMON_DEPEND} |
113 |
- selinux? ( sec-policy/selinux-irc )" |
114 |
- |
115 |
-RESTRICT="test" |
116 |
- |
117 |
-S="${WORKDIR}/${MY_P}" |
118 |
- |
119 |
-PATCHES=( |
120 |
- "${FILESDIR}/${PN}-1.2.2-glib-2.63_NUL_unicode_fix.patch" #746704 |
121 |
-) |
122 |
- |
123 |
-src_configure() { |
124 |
- # Disable automagic dependency on dev-libs/libutf8proc (bug #677804) |
125 |
- export ac_cv_lib_utf8proc_utf8proc_version=no |
126 |
- |
127 |
- local myeconfargs=( |
128 |
- --with-perl-lib=vendor |
129 |
- --enable-true-color |
130 |
- $(use_with otr) |
131 |
- $(use_with proxy) |
132 |
- $(use_with perl) |
133 |
- $(use_with socks5 socks) |
134 |
- ) |
135 |
- econf "${myeconfargs[@]}" |
136 |
-} |
137 |
- |
138 |
-src_install() { |
139 |
- default |
140 |
- use perl && perl_delete_localpod |
141 |
- rm -f "${ED}"/usr/$(get_libdir)/irssi/modules/*.{a,la} || die |
142 |
-} |