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

Commit ec550d8

Browse files
authored
Merge pull request #288 from henrich/v1-2
Fix appdata settings
2 parents 14bab38 + ee4d418 commit ec550d8

File tree

3 files changed

+17
-10
lines changed

3 files changed

+17
-10
lines changed

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -263,14 +263,14 @@ 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 "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"
271271
DESTINATION "${CMAKE_INSTALL_DATADIR}/pixmaps")
272-
install(FILES "scap-workbench.appdata.xml"
273-
DESTINATION "${CMAKE_INSTALL_DATADIR}/appdata")
272+
install(FILES "org.open-scap.scap-workbench.appdata.xml"
273+
DESTINATION "${CMAKE_INSTALL_DATADIR}/metainfo")
274274

275275
if (ASCIIDOC_EXECUTABLE)
276276
file(GLOB USER_MANUAL_SCREENSHOTS "${CMAKE_CURRENT_SOURCE_DIR}/doc/user_manual/*.png")

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

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<application>
3-
<id type="desktop">scap-workbench.desktop</id>
2+
<component type="desktop">
3+
<id>org.openscap.scap_workbench.desktop</id>
44
<metadata_license>CC0-1.0</metadata_license>
55
<project_license>GPL-3.0+</project_license>
66
<name>SCAP Workbench</name>
@@ -23,10 +23,16 @@
2323
</ul>
2424
</description>
2525
<screenshots>
26-
<screenshot type="default" width="1280" height="720">https://github.com/OpenSCAP/scap-workbench/raw/v1-1/doc/user_manual/default_content_opened.png</screenshot>
27-
<screenshot width="1280" height="720">https://github.com/OpenSCAP/scap-workbench/raw/v1-1/doc/user_manual/intro_screenshot.png</screenshot>
28-
<screenshot width="1280" height="720">https://github.com/OpenSCAP/scap-workbench/raw/v1-1/doc/user_manual/tailoring_undo_history.png</screenshot>
26+
<screenshot type="default">
27+
<image type="source" width="1280" height="720">https://github.com/OpenSCAP/scap-workbench/raw/v1-1/doc/user_manual/default_content_opened.png</image>
28+
</screenshot>
29+
<screenshot>
30+
<image type="source" width="1280" height="720">https://github.com/OpenSCAP/scap-workbench/raw/v1-1/doc/user_manual/intro_screenshot.png</image>
31+
</screenshot>
32+
<screenshot>
33+
<image type="source" width="1280" height="720">https://github.com/OpenSCAP/scap-workbench/raw/v1-1/doc/user_manual/tailoring_undo_history.png</image>
34+
</screenshot>
2935
</screenshots>
3036
<url type="homepage">https://www.open-scap.org/tools/scap-workbench</url>
31-
<updatecontact>open-scap-list@redhat.com</updatecontact>
32-
</application>
37+
<update_contact>open-scap-list@redhat.com</update_contact>
38+
</component>

scap-workbench.desktop renamed to scap_workbench.desktop

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ TryExec=scap-workbench
77
Exec=scap-workbench
88
Icon=scap-workbench
99
Categories=System;
10+
Keywords=scap;
1011
X-Desktop-File-Install-Version=0.3

0 commit comments

Comments
 (0)