Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 06b9302baaee
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f528989650f5
Choose a head ref
  • 3 commits
  • 1 file changed
  • 2 contributors

Commits on Apr 28, 2020

  1. Copy the full SHA
    9d88d8e View commit details
  2. Apply suggestions from code review

    Co-Authored-By: Jan Tojnar <jtojnar@gmail.com>
    romildo and jtojnar authored Apr 28, 2020
    Copy the full SHA
    6449a4e View commit details

Commits on May 7, 2020

  1. Merge pull request #86198 from romildo/doc.icon-themes

    gnome: document packaging icon themes
    romildo authored May 7, 2020
    Copy the full SHA
    f528989 View commit details
Showing with 17 additions and 0 deletions.
  1. +17 −0 doc/languages-frameworks/gnome.xml
17 changes: 17 additions & 0 deletions doc/languages-frameworks/gnome.xml
Original file line number Diff line number Diff line change
@@ -40,6 +40,23 @@
</para>
</section>

<section xml:id="ssec-icon-theme-packaging">
<title>Packaging icon themes</title>

<para>
Icon themes may inherit from other icon themes. The inheritance is specified using the <literal>Inherits</literal> key in the <filename>index.theme</filename> file distributed with the icon theme. According to the <link xlink:href="https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html">icon theme specification</link>, icons not provided by the theme are looked for in its parent icon themes. Therefore the parent themes should be installed as dependencies for a more complete experience regarding the icon sets used.
</para>

<para>
The package <package>hicolor-icon-theme</package> provides a setup hook which makes symbolic links for the parent themes into the directory <filename>share/icons</filename> of the current theme directory in the nix store, making sure they can be found at runtime. For that to work the packages providing parent icon themes should be listed as propagated build dependencies, together with <package>hicolor-icon-theme</package>.
</para>

<para>
Also make sure that <filename>icon-theme.cache</filename> is installed for each theme provided by the package, and set <code>dontDropIconThemeCache</code> to <code>true</code> so that the cache file is not removed by the <package>gtk3</package> setup hook.
</para>

</section>

<section xml:id="ssec-gnome-themes">
<title>GTK Themes</title>