> Add optional validation of the value of the `--linux-menu-group` option and > desktop entry files (`*.desktop`) using the desktop-file-validate command. > > If the command is not available, jpackage doesn't validate the value of the > `--linux-menu-group` option and desktop entry files it creates. > > It turned out that jpackage was producing desktop files that failed > validation with some versions of the desktop-file-validate command. It was a > minor incompatibility due to missing the trailing semicolon (;) in the value > of the `MimeType` and `Categories` entries. Fixed accordingly. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Alexey Semenyuk has updated the pull request incrementally with four additional commits since the last revision: - Improve jpackage verbose-output configuration in tests to support environments where output is disabled. - Validate desktop entry files created by jpackage with desktop-file-validate command. - ErrorTest: support tokens in error messages - Remove redundant "return" statements. ------------- Changes: - all: https://git.openjdk.org/jdk/pull/32523/files - new: https://git.openjdk.org/jdk/pull/32523/files/5c84d5b3..a8c49a5d Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=32523&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=32523&range=00-01 Stats: 776 lines in 23 files changed: 615 ins; 81 del; 80 mod Patch: https://git.openjdk.org/jdk/pull/32523.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/32523/head:pull/32523 PR: https://git.openjdk.org/jdk/pull/32523
