From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-doc/gimp-help/
Date: Fri, 5 May 2023 22:38:26 +0000 (UTC) [thread overview]
Message-ID: <1683326294.a9cac53fc6e22aaaa9f8df98fe0d1b1e198d3730.sam@gentoo> (raw)
commit: a9cac53fc6e22aaaa9f8df98fe0d1b1e198d3730
Author: Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
AuthorDate: Fri May 5 21:33:54 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri May 5 22:38:14 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9cac53f
app-doc/gimp-help: 2.10.34 revision bump
1. Add BDEPEND 'gnome-base/librsvg' to build Quickreference PDF files.
2. Force LINGUAS="en" if isn't specified in /etc/portage/make.conf
to avoid of building all languages.
3. Force 'emake -j1' on install phase to prevent race condition
when docs for several languages are built.
Closes: https://bugs.gentoo.org/891709
Closes: https://bugs.gentoo.org/905693
Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru>
Closes: https://github.com/gentoo/gentoo/pull/30887
Signed-off-by: Sam James <sam <AT> gentoo.org>
...-2.10.34.ebuild => gimp-help-2.10.34-r1.ebuild} | 25 ++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/app-doc/gimp-help/gimp-help-2.10.34.ebuild b/app-doc/gimp-help/gimp-help-2.10.34-r1.ebuild
similarity index 50%
rename from app-doc/gimp-help/gimp-help-2.10.34.ebuild
rename to app-doc/gimp-help/gimp-help-2.10.34-r1.ebuild
index 4a9d96672c88..2837213514fe 100644
--- a/app-doc/gimp-help/gimp-help-2.10.34.ebuild
+++ b/app-doc/gimp-help/gimp-help-2.10.34-r1.ebuild
@@ -21,13 +21,32 @@ BDEPEND="
app-text/docbook-xml-dtd
dev-lang/perl
dev-libs/libxslt
+ gnome-base/librsvg
sys-devel/gettext
"
+DOCS=( AUTHORS COPYING NEWS README )
+
python_check_deps() {
python_has_version "dev-libs/libxml2[python,${PYTHON_USEDEP}]"
}
+pkg_setup() {
+ # See bug: 891709
+ if [[ -z "${LINGUAS}" ]] ; then
+ export LINGUAS="en"
+
+ ewarn "The 'LINGUAS' environment variable isn't setup in '/etc/portage/make.conf',"
+ ewarn "therefore only the generic ('en') documentation will be built."
+ ewarn "To build ${PN} for other languages please setup 'LINGUAS' variable"
+ ewarn "or assign it to 'L10N' variable if available, i.e. LINGUAS=\"\${L10N}\""
+ ewarn "The following languages are supported for ${PN}:"
+ ewarn "'ca cs da de el en en_GB es fa fi fr hr hu it ja ko lt nl nn pt pt_BR ro ru sl sv uk zh_CN'"
+ ewarn "For more details please read:"
+ ewarn "https://wiki.gentoo.org/wiki/Localization/Guide#LINGUAS"
+ fi
+}
+
src_configure() {
econf --without-gimp
}
@@ -38,3 +57,9 @@ src_compile() {
# Affected with bugs: 677198, 876205. Set "emake -j1"
emake -j1
}
+
+src_install() {
+ # See bug: 905693
+ emake -j1 DESTDIR="${D}" install
+ einstalldocs
+}
next reply other threads:[~2023-05-05 22:38 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-05 22:38 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-18 19:23 [gentoo-commits] repo/gentoo:master commit in: app-doc/gimp-help/ Sam James
2024-03-21 3:16 Sam James
2023-12-23 20:34 Sam James
2023-12-23 20:33 Sam James
2023-11-30 15:59 Ionen Wolkens
2023-08-18 21:50 Sam James
2023-08-18 9:21 Sam James
2023-08-18 9:21 Sam James
2023-08-18 8:32 Sam James
2023-05-19 23:50 Sam James
2023-05-07 13:35 Ulrich Müller
2023-05-07 13:35 Ulrich Müller
2023-05-04 6:48 Sam James
2022-10-10 7:43 Arthur Zamarin
2022-10-10 7:43 Arthur Zamarin
2022-10-10 7:43 Arthur Zamarin
2022-10-08 16:49 Arthur Zamarin
2022-06-07 6:34 Joonas Niilola
2022-06-07 6:34 Joonas Niilola
2022-06-07 6:33 Agostino Sarubbo
2022-06-07 6:33 Agostino Sarubbo
2022-06-07 6:32 Agostino Sarubbo
2022-06-07 1:15 Sam James
2022-02-27 0:54 Sam James
2022-02-27 0:54 Sam James
2022-02-27 0:54 Sam James
2021-12-12 14:23 Yixun Lan
2020-09-23 11:07 Michał Górny
2020-09-23 10:29 Agostino Sarubbo
2020-09-23 10:24 Agostino Sarubbo
2020-09-23 10:20 Agostino Sarubbo
2020-09-22 6:33 Sergei Trofimovich
2020-09-20 22:40 Thomas Deutschmann
2020-09-16 8:04 Joonas Niilola
2020-09-16 8:04 Joonas Niilola
2020-02-11 10:20 Michał Górny
2019-12-07 12:47 Joonas Niilola
2019-12-07 12:47 Joonas Niilola
2019-02-18 21:24 Pacho Ramos
2019-02-18 19:48 Sergei Trofimovich
2019-02-17 22:58 Patrice Clement
2019-02-07 10:35 Mikle Kolyada
2019-01-31 21:24 Tobias Klausmann
2019-01-27 14:14 Sergei Trofimovich
2019-01-27 14:09 Sergei Trofimovich
2019-01-27 12:13 Sergei Trofimovich
2018-04-22 21:04 Matt Turner
2018-04-08 22:42 Patrice Clement
2017-06-12 8:58 Michael Palimaka
2017-06-12 8:58 Michael Palimaka
2016-06-24 22:02 Ulrich Müller
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=1683326294.a9cac53fc6e22aaaa9f8df98fe0d1b1e198d3730.sam@gentoo \
--to=sam@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