commit:     26df502b078f78e9761b3f1471671377ceb15a6d
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Sun Jan 25 03:14:34 2026 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Jan 29 16:32:09 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26df502b

app-doc/gimp-help: add 3.0.2

Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/45541
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-doc/gimp-help/Manifest               |  1 +
 app-doc/gimp-help/gimp-help-3.0.2.ebuild | 81 ++++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)

diff --git a/app-doc/gimp-help/Manifest b/app-doc/gimp-help/Manifest
index dff0b6f4f86d..314d0fb989e4 100644
--- a/app-doc/gimp-help/Manifest
+++ b/app-doc/gimp-help/Manifest
@@ -1,2 +1,3 @@
 DIST gimp-help-2.10.34.tar.bz2 165540436 BLAKE2B 
eff5afe87bbddf9166647424ef63399a4ebc4215980dddf42f949e18245c60d1095269592f5a314683f7e1d7b27e2b9130215bda5987e7c8dfcafb5cebb6abbc
 SHA512 
316d558f66c96a0d2d0f17baf700020b76aa221f9e220ddfc3e85b10c82b20b9c1cf36893776a342e90af5170e0102eb743b79663451581444d4f881256cf377
 DIST gimp-help-3.0.0.tar.bz2 131572116 BLAKE2B 
9cad6204ddbcb1d7931975e4610fa593b04607e9bece01ec4567e6b8d96389cc31fcd8cfeb231b494ededd3ff4e324e746fbcb1d745e7b89b7aa4fef0b134ef1
 SHA512 
4a240bfebb633c1603057474adeb2bf2e42fcc65f5c5b696e5202bad18940eba69b1b12f6493b470b6f402cee7d6dcbd23f83c9e2871f459a420b7c521a0bd6d
+DIST gimp-help-3.0.2.tar.bz2 128340622 BLAKE2B 
051d0e3539a22bb00cd749a39e8a985978534ffd3566f0f5a459f884388ec69fe2606e6253da6cbd91b79ae73d0ed34d8220e1aac2dba1370f942a859e817b5d
 SHA512 
a883cab19a275d112362037cc90f70bfd6fec802fe9a97391971074b32af571e5062a8c86e4fcff2b1a8521d142b7278fcdbf10fb8d0e0701f2bdc3891df2607

diff --git a/app-doc/gimp-help/gimp-help-3.0.2.ebuild 
b/app-doc/gimp-help/gimp-help-3.0.2.ebuild
new file mode 100644
index 000000000000..e477cfa9c424
--- /dev/null
+++ b/app-doc/gimp-help/gimp-help-3.0.2.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..14} )
+inherit python-any-r1
+
+DESCRIPTION="GNU Image Manipulation Program help files"
+HOMEPAGE="https://docs.gimp.org/";
+SRC_URI="mirror://gimp/help/${P}.tar.bz2"
+
+LICENSE="FDL-1.2+"
+SLOT="2"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="nls"
+
+BDEPEND="
+       ${PYTHON_DEPS}
+       $(python_gen_any_dep 'dev-libs/libxml2[python(-),${PYTHON_USEDEP}]')
+       app-text/docbook-xml-dtd
+       dev-lang/perl
+       dev-libs/libxslt
+       gnome-base/librsvg
+       sys-devel/gettext
+"
+
+DOCS=( AUTHORS COPYING NEWS README.md )
+
+python_check_deps() {
+       python_has_version "dev-libs/libxml2[python(-),${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+       python-any-r1_pkg_setup
+
+       # The upstream build system isn't pure gettext and doesn't distinguish
+       # between empty and unset LINGUAS. Default to English only if either
+       # nls is unset or if LINGUAS exists but is empty. #891709
+       if ! use nls || [[ -v LINGUAS && -z ${LINGUAS} ]]; then
+               export LINGUAS="en"
+       elif [[ ! -v LINGUAS ]]; then
+               local line
+               while read line; do ewarn "${line}"; done <<-EOF
+                       The "LINGUAS" variable is unset in your configuration,
+                       but the "nls" USE flag is set. Therefore, documentation 
for
+                       *all* languages will be built, which may take quite 
some time.
+                       If you want to install documentation for a defined list
+                       of languages, please assign "LINGUAS" accordingly.
+                       The following languages are supported for 
${CATEGORY}/${PN}:
+                       "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"
+                       If you want to install only the English documentation, 
it is
+                       recommended to unset the "nls" USE flag for 
${CATEGORY}/${PN}.
+
+                       For more details please read:
+                       https://wiki.gentoo.org/wiki/Localization/Guide#LINGUAS
+               EOF
+       fi
+}
+
+src_configure() {
+       econf --without-gimp
+}
+
+src_compile() {
+       # See bug: 833566
+       python_export_utf8_locale
+       # Affected with bugs: 677198, 876205. Set "emake -j1"
+       emake -j1
+}
+
+src_test() {
+       emake -j1 check
+}
+
+src_install() {
+       # See bug: 905693
+       emake -j1 DESTDIR="${D}" install
+       einstalldocs
+}

Reply via email to