1 |
commit: 59c62fddb4923c40bf1cd63b5956508e546b5b41 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 9 09:41:40 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 13 08:11:20 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59c62fdd |
7 |
|
8 |
gnome2-utils.eclass: Fix the documentation for cache update functions |
9 |
|
10 |
Fix the documentation for recently changed cache update functions that |
11 |
no longer rely on their _savelist() counterpart to indicate that. |
12 |
|
13 |
eclass/gnome2-utils.eclass | 12 +++++++----- |
14 |
1 file changed, 7 insertions(+), 5 deletions(-) |
15 |
|
16 |
diff --git a/eclass/gnome2-utils.eclass b/eclass/gnome2-utils.eclass |
17 |
index 9b4296c11fa..65076ae2d61 100644 |
18 |
--- a/eclass/gnome2-utils.eclass |
19 |
+++ b/eclass/gnome2-utils.eclass |
20 |
@@ -207,7 +207,9 @@ gnome2_gconf_uninstall() { |
21 |
# @FUNCTION: gnome2_icon_savelist |
22 |
# @DESCRIPTION: |
23 |
# Find the icons that are about to be installed and save their location |
24 |
-# in the GNOME2_ECLASS_ICONS environment variable. |
25 |
+# in the GNOME2_ECLASS_ICONS environment variable. This is only |
26 |
+# necessary for eclass implementations that call |
27 |
+# gnome2_icon_cache_update conditionally. |
28 |
# This function should be called from pkg_preinst. |
29 |
gnome2_icon_savelist() { |
30 |
has ${EAPI:-0} 0 1 2 && ! use prefix && ED="${D}" |
31 |
@@ -218,8 +220,7 @@ gnome2_icon_savelist() { |
32 |
|
33 |
# @FUNCTION: gnome2_icon_cache_update |
34 |
# @DESCRIPTION: |
35 |
-# Updates Gtk+ icon cache files under /usr/share/icons if the current ebuild |
36 |
-# have installed anything under that location. |
37 |
+# Updates Gtk+ icon cache files under /usr/share/icons. |
38 |
# This function should be called from pkg_postinst and pkg_postrm. |
39 |
gnome2_icon_cache_update() { |
40 |
has ${EAPI:-0} 0 1 2 && ! use prefix && EROOT="${ROOT}" |
41 |
@@ -358,7 +359,8 @@ gnome2_scrollkeeper_update() { |
42 |
# @FUNCTION: gnome2_schemas_savelist |
43 |
# @DESCRIPTION: |
44 |
# Find if there is any GSettings schema to install and save the list in |
45 |
-# GNOME2_ECLASS_GLIB_SCHEMAS variable. |
46 |
+# GNOME2_ECLASS_GLIB_SCHEMAS variable. This is only necessary for eclass |
47 |
+# implementations that call gnome2_schemas_update conditionally. |
48 |
# This function should be called from pkg_preinst. |
49 |
gnome2_schemas_savelist() { |
50 |
has ${EAPI:-0} 0 1 2 && ! use prefix && ED="${D}" |
51 |
@@ -370,7 +372,7 @@ gnome2_schemas_savelist() { |
52 |
# @FUNCTION: gnome2_schemas_update |
53 |
# @USAGE: gnome2_schemas_update |
54 |
# @DESCRIPTION: |
55 |
-# Updates GSettings schemas if GNOME2_ECLASS_GLIB_SCHEMAS has some. |
56 |
+# Updates GSettings schemas. |
57 |
# This function should be called from pkg_postinst and pkg_postrm. |
58 |
gnome2_schemas_update() { |
59 |
has ${EAPI:-0} 0 1 2 && ! use prefix && EROOT="${ROOT}" |