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

Commit 088798e

Browse files
committed
Fix deprecated format appdata
1 parent f2af901 commit 088798e

File tree

3 files changed

+15
-9
lines changed

3 files changed

+15
-9
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 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 "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"
272+
install(FILES "org.open-scap.scap-workbench.appdata.xml"
273273
DESTINATION "${CMAKE_INSTALL_DATADIR}/metainfo")
274274

275275
if (ASCIIDOC_EXECUTABLE)

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>
File renamed without changes.

0 commit comments

Comments
 (0)