about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorDaniel Sidhion <DanielSidhion@users.noreply.github.com>2024-04-13 16:24:14 -0700
committerGitHub <noreply@github.com>2024-04-13 16:24:14 -0700
commit460990ef54d2a05279f55da15ac0c50a9f7c74c1 (patch)
tree722c3a82d6497f26f29506262314eeea03b5bb12 /doc
parent9e8bc41303b8d241b84c8a7d70db8822b4da0352 (diff)
parent9f90c73360f90784ffe1cc1f8a2d74cc4ca0e83d (diff)
downloadnixlib-460990ef54d2a05279f55da15ac0c50a9f7c74c1.tar
nixlib-460990ef54d2a05279f55da15ac0c50a9f7c74c1.tar.gz
nixlib-460990ef54d2a05279f55da15ac0c50a9f7c74c1.tar.bz2
nixlib-460990ef54d2a05279f55da15ac0c50a9f7c74c1.tar.lz
nixlib-460990ef54d2a05279f55da15ac0c50a9f7c74c1.tar.xz
nixlib-460990ef54d2a05279f55da15ac0c50a9f7c74c1.tar.zst
nixlib-460990ef54d2a05279f55da15ac0c50a9f7c74c1.zip
Merge pull request #302599 from Aleksanaa/doc-wrapGAppsHook4
doc/gnome: make wrapGAppsHook4 more discoverable
Diffstat (limited to 'doc')
-rw-r--r--doc/languages-frameworks/gnome.section.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/languages-frameworks/gnome.section.md b/doc/languages-frameworks/gnome.section.md
index 6bf867b21abe..e158cea0e512 100644
--- a/doc/languages-frameworks/gnome.section.md
+++ b/doc/languages-frameworks/gnome.section.md
@@ -102,9 +102,11 @@ Given the requirements above, the package expression would become messy quickly:
 }
 ```
 
-Fortunately, there is [`wrapGAppsHook`]{#ssec-gnome-hooks-wrapgappshook}. It works in conjunction with other setup hooks that populate environment variables, and it will then wrap all executables in `bin` and `libexec` directories using said variables.
+Fortunately, there is [`wrapGAppsHook`]{#ssec-gnome-hooks-wrapgappshook}. It works in conjunction with other setup hooks that populate environment variables, and it will then wrap all executables in `bin` and `libexec` directories using said variables. For convenience, it also adds `dconf.lib` for a GIO module implementing a GSettings backend using `dconf`, `gtk3` for GSettings schemas, and `librsvg` for GdkPixbuf loader to the closure.
 
-For convenience, it also adds `dconf.lib` for a GIO module implementing a GSettings backend using `dconf`, `gtk3` for GSettings schemas, and `librsvg` for GdkPixbuf loader to the closure. There is also [`wrapGAppsHook4`]{#ssec-gnome-hooks-wrapgappshook4}, which replaces GTK 3 with GTK 4. And in case you are packaging a program without a graphical interface, you might want to use [`wrapGAppsNoGuiHook`]{#ssec-gnome-hooks-wrapgappsnoguihook}, which runs the same script as `wrapGAppsHook` but does not bring `gtk3` and `librsvg` into the closure.
+There is also [`wrapGAppsHook4`]{#ssec-gnome-hooks-wrapgappshook4}, which replaces GTK 3 with GTK 4. Instead of `wrapGAppsHook`, this should be used for all GTK4 applications.
+
+In case you are packaging a program without a graphical interface, you might want to use [`wrapGAppsNoGuiHook`]{#ssec-gnome-hooks-wrapgappsnoguihook}, which runs the same script as `wrapGAppsHook` but does not bring `gtk3` and `librsvg` into the closure.
 
 - `wrapGAppsHook` itself will add the package’s `share` directory to `XDG_DATA_DIRS`.