commit: 359f34ccaeea1b694340a4e9e5ed5e7a57acd8e2
Author: Thomas Bracht Laumann Jespersen <t <AT> laumann <DOT> xyz>
AuthorDate: Sun Nov 30 05:02:34 2025 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed Dec 3 17:55:23 2025 +0000
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=359f34cc
ebuild-writing/eapi: align description with IDEPEND example
The example used xdg_desktop_database_update (that updates the
.desktop files database), but the description says the ebuild needs to
update the icon cache.
Signed-off-by: Thomas Bracht Laumann Jespersen <t <AT> laumann.xyz>
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
ebuild-writing/eapi/text.xml | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/ebuild-writing/eapi/text.xml b/ebuild-writing/eapi/text.xml
index b565b43..584ce67 100644
--- a/ebuild-writing/eapi/text.xml
+++ b/ebuild-writing/eapi/text.xml
@@ -1009,10 +1009,10 @@ pkg_postrm() {
</codesample>
<p>
- In the example provided above, the ebuild needs to update the icon cache
- upon being installed or uninstalled. By placing the respective tool in
- <c>IDEPEND</c>, the ebuild requests it to be available at the time of
- <c>pkg_postinst</c>. When cross-compiling, the tool will be built for
+ In the example provided above, the ebuild needs to update the desktop
+ database upon being installed or uninstalled. By placing the respective
+ tool in <c>IDEPEND</c>, the ebuild requests it to be available at the time
+ of <c>pkg_postinst</c>. When cross-compiling, the tool will be built for
<c>CBUILD</c> and therefore directly executable by the ebuild.
</p>
@@ -1400,7 +1400,7 @@ $(usev foo --enable-foo)
<p>
Obviously, adding a second argument to <c>hasv</c> was not possible, so its
- behaviour would have become inconsistent with <c>usev</c> in EAPI 8. Since
+ behaviour would have become inconsistent with <c>usev</c> in EAPI 8. Since
<c>hasv</c> was not used in the Gentoo repository, it has been removed,
along with <c>hasq</c> and <c>useq</c> which were considered deprecated
since 2011.