Skip to content
This repository was archived by the owner on Sep 27, 2024. It is now read-only.

Commit 1f4e0fd

Browse files
authored
Merge pull request #295 from evgenyz/v1-2
Fix appdata, desktop and icons for Linux (Freedesktop)
2 parents ec550d8 + 408019f commit 1f4e0fd

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -263,13 +263,13 @@ install(FILES "man/scap-workbench.8"
263263

264264
install(DIRECTORY "share/scap-workbench"
265265
DESTINATION "${CMAKE_INSTALL_DATADIR}")
266-
install(FILES "scap_workbench.desktop"
266+
install(FILES "org.open_scap.scap_workbench.desktop"
267267
DESTINATION "${CMAKE_INSTALL_DATADIR}/applications")
268268
install(FILES "share/pixmaps/scap-workbench.png"
269269
DESTINATION "${CMAKE_INSTALL_DATADIR}/pixmaps")
270270
install(FILES "share/pixmaps/scap-workbench.svg"
271-
DESTINATION "${CMAKE_INSTALL_DATADIR}/pixmaps")
272-
install(FILES "org.open-scap.scap-workbench.appdata.xml"
271+
DESTINATION "${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/apps")
272+
install(FILES "org.open_scap.scap_workbench.appdata.xml"
273273
DESTINATION "${CMAKE_INSTALL_DATADIR}/metainfo")
274274

275275
if (ASCIIDOC_EXECUTABLE)

org.open-scap.scap-workbench.appdata.xml renamed to org.open_scap.scap_workbench.appdata.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<component type="desktop">
3-
<id>org.openscap.scap_workbench.desktop</id>
2+
<component type="desktop-application">
3+
<id>org.open_scap.scap_workbench</id>
44
<metadata_license>CC0-1.0</metadata_license>
55
<project_license>GPL-3.0+</project_license>
66
<name>SCAP Workbench</name>
77
<summary>A GUI tool that serves as an SCAP scanner and provides tailoring functionality for SCAP content</summary>
8+
<launchable type="desktop-id">org.open_scap.scap_workbench.desktop</launchable>
89
<description>
910
<p>
1011
The main goal of this application is to lower the initial barrier of using SCAP.
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[Desktop Entry]
2+
Version=1.0
23
Type=Application
34
Name=SCAP Workbench
45
GenericName=SCAP Scanner and Profile Editor
5-
Comment=GUI tool that allows scanning both local and remote computers using SCAP content of your choice.
6+
Comment=GUI tool that allows scanning both local and remote computers using SCAP content of your choice
67
TryExec=scap-workbench
78
Exec=scap-workbench
89
Icon=scap-workbench
9-
Categories=System;
10-
Keywords=scap;
11-
X-Desktop-File-Install-Version=0.3
10+
Categories=System;Security;
11+
Keywords=SCAP;

0 commit comments

Comments
 (0)