Gentoo Archives: gentoo-commits

From: Mats Lidell <matsl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/xemacs/, app-editors/xemacs/files/
Date: Sun, 12 Jan 2020 19:15:34
Message-Id: 1578856458.c878f5c46146e69469999846aba86b9c7ece66e2.matsl@gentoo
1 commit: c878f5c46146e69469999846aba86b9c7ece66e2
2 Author: Mats Lidell <matsl <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 12 18:00:12 2020 +0000
4 Commit: Mats Lidell <matsl <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 12 19:14:18 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c878f5c4
7
8 app-editors/xemacs: Convert iso-8859-1 texi files to utf-8
9
10 Convert iso-8859-1 files instead of patching since QA checks
11 don't like binary patch files.
12
13 Package-Manager: Portage-2.3.79, Repoman-2.3.16
14 Signed-off-by: Mats Lidell <matsl <AT> gentoo.org>
15
16 .../xemacs/files/xemacs-21.4.24-makeinfo.patch | 65 ----------------------
17 app-editors/xemacs/xemacs-21.4.24-r2.ebuild | 7 ++-
18 2 files changed, 6 insertions(+), 66 deletions(-)
19
20 diff --git a/app-editors/xemacs/files/xemacs-21.4.24-makeinfo.patch b/app-editors/xemacs/files/xemacs-21.4.24-makeinfo.patch
21 deleted file mode 100644
22 index 511e2b146a3..00000000000
23 --- a/app-editors/xemacs/files/xemacs-21.4.24-makeinfo.patch
24 +++ /dev/null
25 @@ -1,65 +0,0 @@
26 -diff -r e2da872593c0 man/lispref/ldap.texi
27 ---- a/man/lispref/ldap.texi Tue Mar 24 22:15:53 2015 -0400
28 -+++ b/man/lispref/ldap.texi Wed Jan 01 22:53:19 2020 +0100
29 -@@ -105,7 +105,7 @@
30 - library XEmacs was compiled with, they may include @code{simple},
31 - @code{krbv41} and @code{krbv42}.
32 - @item base
33 --The base for the search. This may look like @samp{cÿ, o¬me}, see
34 -+The base for the search. This may look like @samp{cÿ, o¬me}, see
35 - RFC 1779 for syntax details.
36 - @item scope
37 - One of the symbols @code{base}, @code{onelevel} or @code{subtree}
38 -diff -r e2da872593c0 man/xemacs-faq.texi
39 ---- a/man/xemacs-faq.texi Tue Mar 24 22:15:53 2015 -0400
40 -+++ b/man/xemacs-faq.texi Wed Jan 01 22:53:19 2020 +0100
41 -@@ -1,4 +1,4 @@
42 --\input texinfo.tex @c -*- mode: texinfo; coding: iso-2022-8 -*-
43 -+\input texinfo.tex @c -*- mode: texinfo; coding: utf-8 -*-
44 - @c %**start of header
45 - @setfilename ../info/xemacs-faq.info
46 - @settitle Frequently asked questions about XEmacs
47 -@@ -2831,7 +2831,7 @@
48 - all of the ISO 8859 family, the Indic languages, Thai, and so on), and
49 - SKK, for Japanese. (SKK also supports an interface to an external
50 - "dictionary server" process.) Quail supports both typical "dead-key"
51 --methods (eg, in the "latin-1-prefix" method, @kbd{" a} produces ä, LATIN
52 -+methods (eg, in the "latin-1-prefix" method, @kbd{" a} produces ä, LATIN
53 - SMALL LETTER A WITH DIAERESIS), and the complex dictionary-based phonetic
54 - methods used for Asian ideographic languages like Chinese.
55 -
56 -@@ -2877,7 +2877,7 @@
57 - Wnn and SJ3 use the @code{egg} user interface. The interface for Canna
58 - is specialized to Canna.
59 -
60 --Wnn supports Japanese, Chinese and Korean. It is made by OMRON and Kyôto
61 -+Wnn supports Japanese, Chinese and Korean. It is made by OMRON and Kyôto
62 - University. It is a powerful and complex system. Wnn4 is free and Wnn6
63 - is not. Wnn uses grammatical hints and probability of word association,
64 - so in principle Wnn can be cleverer than other methods.
65 -@@ -4800,10 +4800,10 @@
66 - @node Q3.0.6, Q3.0.7, Q3.0.5, Editing
67 - @unnumberedsubsec Q3.0.6: How can you type in special characters in XEmacs?
68 - One way is to use the package @code{x-compose}. Then you can use
69 --sequences like @kbd{Compose " a} to get ä, etc.
70 -+sequences like @kbd{Compose " a} to get ä, etc.
71 -
72 - Another way is to use the @code{iso-insert} package. Then you can use
73 --sequences like @kbd{C-x 8 " a} to get ä, etc.
74 -+sequences like @kbd{C-x 8 " a} to get ä, etc.
75 -
76 - @email{glynn@@sensei.co.uk, Glynn Clements} writes:
77 -
78 -@@ -4826,9 +4826,9 @@
79 -
80 - Once you have Multi_key defined, you can use e.g.
81 - @example
82 -- Multi a ' => á
83 -- Multi e " => ë
84 -- Multi c , => ç
85 -+ Multi a ' => á
86 -+ Multi e " => ë
87 -+ Multi c , => ç
88 - @end example
89 -
90 - etc.
91
92 diff --git a/app-editors/xemacs/xemacs-21.4.24-r2.ebuild b/app-editors/xemacs/xemacs-21.4.24-r2.ebuild
93 index 7364c9f7242..1f2018514ed 100644
94 --- a/app-editors/xemacs/xemacs-21.4.24-r2.ebuild
95 +++ b/app-editors/xemacs/xemacs-21.4.24-r2.ebuild
96 @@ -65,7 +65,12 @@ src_prepare() {
97 eapply "${FILESDIR}"/xemacs-21.4.24-glibc-macro.patch
98 # see bug 615544
99 eapply "${FILESDIR}"/xemacs-21.4.24-ncurses-tinfo.patch
100 - eapply "${FILESDIR}"/xemacs-21.4.24-makeinfo.patch
101 +
102 + # Convert to utf-8
103 + iconv -f iso-8859-1 -t utf-8 -o man/xemacs-faq.texi.tmp man/xemacs-faq.texi \
104 + && mv -f man/xemacs-faq.texi.tmp man/xemacs-faq.texi || die
105 + iconv -f iso-8859-1 -t utf-8 -o man/lispref/ldap.texi.tmp man/lispref/ldap.texi \
106 + && mv -f man/lispref/ldap.texi.tmp man/lispref/ldap.texi || die
107
108 eapply_user