From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1137511-garchives=archives.gentoo.org@lists.gentoo.org>
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 2E8AF138350
	for <garchives@archives.gentoo.org>; Sun, 12 Jan 2020 19:15:34 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 65297E0DC6;
	Sun, 12 Jan 2020 19:15:33 +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 326F3E0DC6
	for <gentoo-commits@lists.gentoo.org>; Sun, 12 Jan 2020 19:15:33 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(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 8C82D34DA8C
	for <gentoo-commits@lists.gentoo.org>; Sun, 12 Jan 2020 19:15:31 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 4D4C49E
	for <gentoo-commits@lists.gentoo.org>; Sun, 12 Jan 2020 19:15:29 +0000 (UTC)
From: "Mats Lidell" <matsl@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Mats Lidell" <matsl@gentoo.org>
Message-ID: <1578856458.c878f5c46146e69469999846aba86b9c7ece66e2.matsl@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/xemacs/, app-editors/xemacs/files/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-editors/xemacs/files/xemacs-21.4.24-makeinfo.patch app-editors/xemacs/xemacs-21.4.24-r2.ebuild
X-VCS-Directories: app-editors/xemacs/ app-editors/xemacs/files/
X-VCS-Committer: matsl
X-VCS-Committer-Name: Mats Lidell
X-VCS-Revision: c878f5c46146e69469999846aba86b9c7ece66e2
X-VCS-Branch: master
Date: Sun, 12 Jan 2020 19:15:29 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: aaf6ef66-5a84-4dab-a5ac-758057baafcc
X-Archives-Hash: 8dd23123c1ff39db7e19e6fa00933241

commit:     c878f5c46146e69469999846aba86b9c7ece66e2
Author:     Mats Lidell <matsl <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 12 18:00:12 2020 +0000
Commit:     Mats Lidell <matsl <AT> gentoo <DOT> org>
CommitDate: Sun Jan 12 19:14:18 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c878f5c4

app-editors/xemacs: Convert iso-8859-1 texi files to utf-8

Convert iso-8859-1 files instead of patching since QA checks
don't like binary patch files.

Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Mats Lidell <matsl <AT> gentoo.org>

 .../xemacs/files/xemacs-21.4.24-makeinfo.patch     | 65 ----------------------
 app-editors/xemacs/xemacs-21.4.24-r2.ebuild        |  7 ++-
 2 files changed, 6 insertions(+), 66 deletions(-)

diff --git a/app-editors/xemacs/files/xemacs-21.4.24-makeinfo.patch b/app-editors/xemacs/files/xemacs-21.4.24-makeinfo.patch
deleted file mode 100644
index 511e2b146a3..00000000000
--- a/app-editors/xemacs/files/xemacs-21.4.24-makeinfo.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-diff -r e2da872593c0 man/lispref/ldap.texi
---- a/man/lispref/ldap.texi	Tue Mar 24 22:15:53 2015 -0400
-+++ b/man/lispref/ldap.texi	Wed Jan 01 22:53:19 2020 +0100
-@@ -105,7 +105,7 @@
- library XEmacs was compiled with, they may include @code{simple},
- @code{krbv41} and @code{krbv42}.
- @item base
--The base for the search. This may look like @samp{c�, o�me}, see
-+The base for the search. This may look like @samp{cÿ, o¬me}, see
- RFC 1779 for syntax details.
- @item scope
- One of the symbols @code{base}, @code{onelevel} or @code{subtree}
-diff -r e2da872593c0 man/xemacs-faq.texi
---- a/man/xemacs-faq.texi	Tue Mar 24 22:15:53 2015 -0400
-+++ b/man/xemacs-faq.texi	Wed Jan 01 22:53:19 2020 +0100
-@@ -1,4 +1,4 @@
--\input texinfo.tex      @c -*- mode: texinfo; coding: iso-2022-8 -*-
-+\input texinfo.tex      @c -*- mode: texinfo; coding: utf-8 -*-
- @c %**start of header
- @setfilename ../info/xemacs-faq.info
- @settitle Frequently asked questions about XEmacs
-@@ -2831,7 +2831,7 @@
- all of the ISO 8859 family, the Indic languages, Thai, and so on), and
- SKK, for Japanese.  (SKK also supports an interface to an external
- "dictionary server" process.)  Quail supports both typical "dead-key"
--methods (eg, in the "latin-1-prefix" method, @kbd{" a} produces �, LATIN
-+methods (eg, in the "latin-1-prefix" method, @kbd{" a} produces ä, LATIN
- SMALL LETTER A WITH DIAERESIS), and the complex dictionary-based phonetic
- methods used for Asian ideographic languages like Chinese.
- 
-@@ -2877,7 +2877,7 @@
- Wnn and SJ3 use the @code{egg} user interface.  The interface for Canna
- is specialized to Canna.
- 
--Wnn supports Japanese, Chinese and Korean. It is made by OMRON and Ky�to
-+Wnn supports Japanese, Chinese and Korean. It is made by OMRON and Kyôto
- University. It is a powerful and complex system.  Wnn4 is free and Wnn6
- is not.  Wnn uses grammatical hints and probability of word association,
- so in principle Wnn can be cleverer than other methods.
-@@ -4800,10 +4800,10 @@
- @node Q3.0.6, Q3.0.7, Q3.0.5, Editing
- @unnumberedsubsec Q3.0.6: How can you type in special characters in XEmacs?
- One way is to use the package @code{x-compose}.  Then you can use
--sequences like @kbd{Compose " a} to get �, etc.
-+sequences like @kbd{Compose " a} to get ä, etc.
- 
- Another way is to use the @code{iso-insert} package. Then you can use
--sequences like @kbd{C-x 8 " a} to get �, etc.
-+sequences like @kbd{C-x 8 " a} to get ä, etc.
- 
- @email{glynn@@sensei.co.uk, Glynn Clements} writes:
- 
-@@ -4826,9 +4826,9 @@
- 
- Once you have Multi_key defined, you can use e.g.
- @example
--        Multi a '       => �
--        Multi e "       => �
--        Multi c ,       => �
-+        Multi a '       => á
-+        Multi e "       => ë
-+        Multi c ,       => ç
- @end example
- 
- etc.

diff --git a/app-editors/xemacs/xemacs-21.4.24-r2.ebuild b/app-editors/xemacs/xemacs-21.4.24-r2.ebuild
index 7364c9f7242..1f2018514ed 100644
--- a/app-editors/xemacs/xemacs-21.4.24-r2.ebuild
+++ b/app-editors/xemacs/xemacs-21.4.24-r2.ebuild
@@ -65,7 +65,12 @@ src_prepare() {
 	eapply "${FILESDIR}"/xemacs-21.4.24-glibc-macro.patch
 	# see bug 615544
 	eapply "${FILESDIR}"/xemacs-21.4.24-ncurses-tinfo.patch
-	eapply "${FILESDIR}"/xemacs-21.4.24-makeinfo.patch
+
+	# Convert to utf-8
+	iconv -f iso-8859-1 -t utf-8 -o man/xemacs-faq.texi.tmp man/xemacs-faq.texi \
+	      && mv -f man/xemacs-faq.texi.tmp man/xemacs-faq.texi || die
+	iconv -f iso-8859-1 -t utf-8 -o man/lispref/ldap.texi.tmp man/lispref/ldap.texi \
+	      && mv -f man/lispref/ldap.texi.tmp man/lispref/ldap.texi || die
 
 	eapply_user