From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 19DD715ACFC for ; Fri, 5 May 2023 22:38:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 59C1CE09BA; Fri, 5 May 2023 22:38:29 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3DFCBE09BA for ; Fri, 5 May 2023 22:38:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 41E8C34150A for ; Fri, 5 May 2023 22:38:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D170CA45 for ; Fri, 5 May 2023 22:38:26 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1683326294.a9cac53fc6e22aaaa9f8df98fe0d1b1e198d3730.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-doc/gimp-help/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-doc/gimp-help/gimp-help-2.10.34-r1.ebuild app-doc/gimp-help/gimp-help-2.10.34.ebuild X-VCS-Directories: app-doc/gimp-help/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: a9cac53fc6e22aaaa9f8df98fe0d1b1e198d3730 X-VCS-Branch: master Date: Fri, 5 May 2023 22:38:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 773eb3a9-b411-4c88-be58-e0ea2a80a232 X-Archives-Hash: d0bd8a56e32523bb7e3c920005ca5432 commit: a9cac53fc6e22aaaa9f8df98fe0d1b1e198d3730 Author: Sergey Torokhov yandex ru> AuthorDate: Fri May 5 21:33:54 2023 +0000 Commit: Sam James gentoo 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 yandex.ru> Closes: https://github.com/gentoo/gentoo/pull/30887 Signed-off-by: Sam James 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 +}