Skip to content

Commit e50c6ca

Browse files
authored
treewide: fix links to specifications.freedesktop.org (NixOS#350918)
2 parents 2860a2e + 85f4044 commit e50c6ca

File tree

10 files changed

+14
-14
lines changed

10 files changed

+14
-14
lines changed

doc/languages-frameworks/gnome.section.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ To avoid costly file system access when locating icons, GTK, [as well as Qt](htt
6464

6565
### Packaging icon themes {#ssec-icon-theme-packaging}
6666

67-
Icon themes may inherit from other icon themes. The inheritance is specified using the `Inherits` key in the `index.theme` file distributed with the icon theme. According to the [icon theme specification](https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html), 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.
67+
Icon themes may inherit from other icon themes. The inheritance is specified using the `Inherits` key in the `index.theme` file distributed with the icon theme. According to the [icon theme specification](https://specifications.freedesktop.org/icon-theme-spec/latest), 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.
6868

6969
The package `hicolor-icon-theme` provides a setup hook which makes symbolic links for the parent themes into the directory `share/icons` 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 `hicolor-icon-theme`.
7070

nixos/modules/config/xdg/autostart.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
default = true;
1111
description = ''
1212
Whether to install files to support the
13-
[XDG Autostart specification](https://specifications.freedesktop.org/autostart-spec/autostart-spec-latest.html).
13+
[XDG Autostart specification](https://specifications.freedesktop.org/autostart-spec/latest).
1414
'';
1515
};
1616
};

nixos/modules/config/xdg/icons.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
default = true;
1111
description = ''
1212
Whether to install files to support the
13-
[XDG Icon Theme specification](https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html).
13+
[XDG Icon Theme specification](https://specifications.freedesktop.org/icon-theme-spec/latest).
1414
'';
1515
};
1616
xdg.icons.fallbackCursorThemes = lib.mkOption {

nixos/modules/config/xdg/menus.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
default = true;
1111
description = ''
1212
Whether to install files to support the
13-
[XDG Desktop Menu specification](https://specifications.freedesktop.org/menu-spec/menu-spec-latest.html).
13+
[XDG Desktop Menu specification](https://specifications.freedesktop.org/menu-spec/latest).
1414
'';
1515
};
1616
};

nixos/modules/config/xdg/mime.nix

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ in
1717
default = true;
1818
description = ''
1919
Whether to install files to support the
20-
[XDG Shared MIME-info specification](https://specifications.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html) and the
21-
[XDG MIME Applications specification](https://specifications.freedesktop.org/mime-apps-spec/mime-apps-spec-latest.html).
20+
[XDG Shared MIME-info specification](https://specifications.freedesktop.org/shared-mime-info-spec/latest) and the
21+
[XDG MIME Applications specification](https://specifications.freedesktop.org/mime-apps-spec/latest).
2222
'';
2323
};
2424

@@ -32,7 +32,7 @@ in
3232
description = ''
3333
Adds associations between mimetypes and applications. See the
3434
[
35-
specifications](https://specifications.freedesktop.org/mime-apps-spec/mime-apps-spec-latest.html#associations) for more information.
35+
specifications](https://specifications.freedesktop.org/mime-apps-spec/latest/associations) for more information.
3636
'';
3737
};
3838

@@ -46,7 +46,7 @@ in
4646
description = ''
4747
Sets the default applications for given mimetypes. See the
4848
[
49-
specifications](https://specifications.freedesktop.org/mime-apps-spec/mime-apps-spec-latest.html#default) for more information.
49+
specifications](https://specifications.freedesktop.org/mime-apps-spec/latest/default) for more information.
5050
'';
5151
};
5252

@@ -60,7 +60,7 @@ in
6060
description = ''
6161
Removes associations between mimetypes and applications. See the
6262
[
63-
specifications](https://specifications.freedesktop.org/mime-apps-spec/mime-apps-spec-latest.html#associations) for more information.
63+
specifications](https://specifications.freedesktop.org/mime-apps-spec/latest/associations) for more information.
6464
'';
6565
};
6666
};

pkgs/build-support/build-fhsenv-bubblewrap/buildFHSEnv.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ let
9797
# Following XDG spec [1], XDG_DATA_DIRS should default to "/usr/local/share:/usr/share".
9898
# In nix, it is commonly set without containing these values, so we add them as fallback.
9999
#
100-
# [1] <https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html>
100+
# [1] <https://specifications.freedesktop.org/basedir-spec/latest>
101101
case ":$XDG_DATA_DIRS:" in
102102
*:/usr/local/share:*) ;;
103103
*) export XDG_DATA_DIRS="$XDG_DATA_DIRS''${XDG_DATA_DIRS:+:}/usr/local/share" ;;

pkgs/build-support/build-fhsenv-chroot/env.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ let
6767
# Following XDG spec [1], XDG_DATA_DIRS should default to "/usr/local/share:/usr/share".
6868
# In nix, it is commonly set without containing these values, so we add them as fallback.
6969
#
70-
# [1] <https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html>
70+
# [1] <https://specifications.freedesktop.org/basedir-spec/latest>
7171
case ":$XDG_DATA_DIRS:" in
7272
*:/usr/local/share:*) ;;
7373
*) export XDG_DATA_DIRS="$XDG_DATA_DIRS''${XDG_DATA_DIRS:+:}/usr/local/share" ;;

pkgs/build-support/make-desktopitem/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# All possible values as defined by the spec, version 1.4.
44
# Please keep in spec order for easier maintenance.
55
# When adding a new value, don't forget to update the Version field below!
6-
# See https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
6+
# See https://specifications.freedesktop.org/desktop-entry-spec/latest
77
lib.makeOverridable ({ name # The name of the desktop file
88
, type ? "Application"
99
# version is hardcoded

pkgs/build-support/setup-hooks/desktop-to-darwin-bundle.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ convertIconTheme() {
3737
local -ra scales=([1]="" [2]="@2")
3838

3939
# Based loosely on the algorithm at:
40-
# https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html#icon_lookup
40+
# https://specifications.freedesktop.org/icon-theme-spec/latest/#icon_lookup
4141
# Assumes threshold = 2 for ease of implementation.
4242
function findIcon() {
4343
local -r iconSize=$1

pkgs/tools/graphics/goverlay/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
let
2828
# Finds data files using the XDG Base Directory Specification
29-
# See https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
29+
# See https://specifications.freedesktop.org/basedir-spec/latest
3030
find-xdg-data-files = writeScriptBin "find-xdg-data-files" ''
3131
#!${bash}/bin/sh
3232
IFS=:

0 commit comments

Comments
 (0)