| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
Fixes #57.
|
|
|
|
|
| |
Support was added in 7cc5b25e6213ab4e35e4e5fbd00c1790b7a0cea9,
but some hardcoded values were missed.
|
|
|
|
|
|
| |
And deprecate KDE's X-KDE-RunOnDiscreteGpu.
See: https://gitlab.freedesktop.org/xdg/xdg-specs/-/merge_requests/13
|
|
|
|
|
|
|
| |
So we can throw warnings to make it easier to migrate to newer versions
of the spec.
test.desktop: warning: key "X-KDE-RunOnDiscreteGpu" in group "Desktop Entry" is deprecated
|
| |
|
|
|
|
| |
Fixes #55
|
|
|
|
|
|
|
|
| |
They were printing the value of both keys, but given that the warning is
that the two values are (almost) the same, it seems a pointless waste of
space to print both of them. Print only one.
Signed-off-by: Philip Withnall <withnall@endlessm.com>
|
|
|
|
|
|
|
|
| |
This is only enabled if the output stream supports it, and only if
compiled against GLib ≥ 2.50. This doesn’t bump the hard dependency,
though.
Signed-off-by: Philip Withnall <withnall@endlessm.com>
|
|
|
|
|
|
|
|
|
|
| |
The typical case is that UTF-8 values from a .desktop file are displayed
on a UTF-8 terminal. If we don’t set the locale from the environment,
though, libc assumes that the terminal only supports ASCII, and
substitutes all non-ASCII characters with `?`. This makes (for example)
Cyrillic characters in warning messages useless.
Signed-off-by: Philip Withnall <withnall@endlessm.com>
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Has been forgotten, as the lastest spec is 1.2
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Whilst working on the Reproducible Builds effort [0], we noticed
that desktop-file-utils produces mimeinfo.cache files that are not
reproducible.
This is because it inherits the non-deterministic hash ordering of
the mime_types_map data structure.
Patch attached that sorts just prior to output.
[0] https://reproducible-builds.org/
Signed-off-by: Hans Petter Jansson <hpj@cl.no>
|
|
|
|
| |
Signed-off-by: Hans Petter Jansson <hpj@cl.no>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Budgie desktop has existed since 2013 and is in wide spread usage,
as indicated in Solus, Ubuntu Budgie, as well as presence within the
Debian and Arch repositories.
Currently the Budgie desktop may identify itself as either "GNOME:Budgie"
or "Budgie", given the current use of gnome-session.
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
Signed-off-by: Hans Petter Jansson <hpj@cl.no>
|
|
|
|
|
| |
This was codified in RFC 8081, and some desktop apps are using
this now.
|
|
|
|
| |
https://bugs.freedesktop.org/show_bug.cgi?id=97385
|
|
|
|
|
|
| |
https://bugs.freedesktop.org/show_bug.cgi?id=97388
Signed-off-by: Hans Petter Jansson <hpj@cl.no>
|
| |
|
| |
|
|
|
|
|
|
|
| |
Patch from Jauhien Piatlicki.
https://github.com/lxde/lxqt
https://bugs.freedesktop.org/show_bug.cgi?id=79561
|
|
|
|
|
| |
When the current spec version was updated to 1.1, we forgot
to ensure that we actually accept Version=1.1 in desktop files.
|
|
|
|
| |
https://bugs.freedesktop.org/show_bug.cgi?id=66904
|
|
|
|
|
|
| |
It's implemented as an extension of RFC 822 and is used for MHTML.
https://bugs.freedesktop.org/show_bug.cgi?id=93376
|
|
|
|
| |
https://bugs.freedesktop.org/show_bug.cgi?id=94303
|
|
|
|
| |
https://bugs.freedesktop.org/show_bug.cgi?id=56353
|
|
|
|
|
|
| |
https://github.com/linuxmint/Cinnamon
https://bugs.freedesktop.org/show_bug.cgi?id=73497
|
|
|
|
|
| |
https://bugs.freedesktop.org/show_bug.cgi?id=76902
Approved by David Faure and Ryan Lortie
|
| |
|
| |
|
| |
|
|
|
|
|
| |
There is no good reason to not allow this.
https://bugs.freedesktop.org/show_bug.cgi?id=60744
|
|
|
|
|
|
| |
While the versioning of the spec itself is in a somewhat sad
state, it is more realistic to say we are validating according
to 1.1 than to 1.0.
|
|
|
|
|
| |
This was recently removed from the desktop entry spec,
see https://bugs.freedesktop.org/show_bug.cgi?id=66712
|
|
|
|
| |
This is a recent addition to the desktop entry spec.
|
|
|
|
|
|
| |
The man page was not mentioning --no-hints, and was referring
to version 1.0 of the desktop entry spec. This commit fixes
both issues.
|
| |
|
|
|
|
| |
See http://people.gnome.org/~walters/docs/build-api.txt
|
|
|
|
|
|
|
|
|
| |
If a desktop file is registering the same mime type more than once
(useless but okay), the desktop file was listed more than once for that
mime type in mimeinfo.cache.
It's easy to avoid, so make sure we only have a desktop file once per
mime type.
|