From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-accessibility/brltty/files/, app-accessibility/brltty/
Date: Fri, 30 Jun 2023 11:50:48 +0000 (UTC) [thread overview]
Message-ID: <1688125833.845076c13583b59e67fa858ef90482d503da12c0.soap@gentoo> (raw)
commit: 845076c13583b59e67fa858ef90482d503da12c0
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 30 11:50:33 2023 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Jun 30 11:50:33 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=845076c1
app-accessibility/brltty: fix gettext 0.22 breakage
* fixed upstream in
https://github.com/brltty/brltty/commit/31061173fd80c7ed0f83e8d20d62c59dbedcebe0
Closes: https://bugs.gentoo.org/908897
Signed-off-by: David Seifert <soap <AT> gentoo.org>
app-accessibility/brltty/brltty-6.5-r1.ebuild | 3 +-
.../brltty/files/brltty-6.5-gettext-0.22.patch | 49 ++++++++++++++++++++++
2 files changed, 51 insertions(+), 1 deletion(-)
diff --git a/app-accessibility/brltty/brltty-6.5-r1.ebuild b/app-accessibility/brltty/brltty-6.5-r1.ebuild
index 8bb86f80887c..99fb58bf9796 100644
--- a/app-accessibility/brltty/brltty-6.5-r1.ebuild
+++ b/app-accessibility/brltty/brltty-6.5-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
FINDLIB_USE="ocaml"
JAVA_PKG_WANT_SOURCE="1.8"
JAVA_PKG_WANT_TARGET="1.8"
@@ -75,6 +75,7 @@ HTML_DOCS=( "${S}"/Documents/Manual-BrlAPI/. )
PATCHES=(
"${FILESDIR}"/${PN}-6.4-respect-AR.patch
+ "${FILESDIR}"/${PN}-6.5-gettext-0.22.patch
)
src_prepare() {
diff --git a/app-accessibility/brltty/files/brltty-6.5-gettext-0.22.patch b/app-accessibility/brltty/files/brltty-6.5-gettext-0.22.patch
new file mode 100644
index 000000000000..7cf62f74221c
--- /dev/null
+++ b/app-accessibility/brltty/files/brltty-6.5-gettext-0.22.patch
@@ -0,0 +1,49 @@
+https://bugs.gentoo.org/908897
+fix: https://github.com/brltty/brltty/commit/31061173fd80c7ed0f83e8d20d62c59dbedcebe0
+
+From 31061173fd80c7ed0f83e8d20d62c59dbedcebe0 Mon Sep 17 00:00:00 2001
+From: Yaakov Selkowitz <yselkowi@redhat.com>
+Date: Tue, 27 Jun 2023 15:07:09 -0400
+Subject: [PATCH] Add gettext header to ru.po
+
+Building with gettext-0.22 fails for lack of this header:
+
+/usr/bin/msgfmt: input file doesn't contain a header entry with a
+charset specification
+--- a/Messages/ru.po
++++ b/Messages/ru.po
+@@ -1,3 +1,34 @@
++# BRLTTY - A background process providing access to the console screen (when in
++# text mode) for a blind person using a refreshable braille display.
++#
++# Copyright (C) 1995-2022 by The BRLTTY Developers.
++#
++# BRLTTY comes with ABSOLUTELY NO WARRANTY.
++#
++# This is free software, placed under the terms of the
++# GNU Lesser General Public License, as published by the Free Software
++# Foundation; either version 2.1 of the License, or (at your option) any
++# later version. Please see the file LICENSE-LGPL for details.
++#
++# Web Page: http://brltty.app/
++#
++# This software is maintained by Dave Mielke <dave@mielke.cc>.
++#
++msgid ""
++msgstr ""
++"Project-Id-Version: brltty 4.5\n"
++"Report-Msgid-Bugs-To: BRLTTY@brltty.app\n"
++"POT-Creation-Date: 2021-01-27 11:47-0500\n"
++"PO-Revision-Date: 2021-02-07 08:18-0500\n"
++"Last-Translator: Маргарита Мельникова <margaretmelnikova@gmail.com>\n"
++"Language-Team: Friends of BRLTTY <BRLTTY@brlttY.app>\n"
++"Language: ru\n"
++"MIME-Version: 1.0\n"
++"Content-Type: text/plain; charset=UTF-8\n"
++"Content-Transfer-Encoding: 8bit\n"
++"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
++"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
++
+ #: Programs/brltty.c:167
+ #, c-format
+ msgid "\"%s\" started as \"%s\"\n"
next reply other threads:[~2023-06-30 11:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-30 11:50 David Seifert [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-10-10 5:44 [gentoo-commits] repo/gentoo:master commit in: app-accessibility/brltty/files/, app-accessibility/brltty/ Sam James
2023-01-14 13:55 Sam James
2020-08-13 20:25 Michał Górny
2019-03-22 14:59 Lars Wendler
2018-03-26 20:19 Aaron Bauman
2017-12-04 10:26 David Seifert
2016-11-28 9:21 Sergei Trofimovich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1688125833.845076c13583b59e67fa858ef90482d503da12c0.soap@gentoo \
--to=soap@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox