Skip to content

Commit 7142135

Browse files
committed
Fix AppStream metadata files and location
Move appstream files from /usr/share/appstream to /usr/share/metainfo and update metadata to AppStream's specification version 0.11
1 parent f6605d6 commit 7142135

File tree

4 files changed

+26
-17
lines changed

4 files changed

+26
-17
lines changed

plater.appdata.xml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<application>
3-
<id type="desktop">plater.desktop</id>
4-
<licence>CC0</licence>
2+
<component type="desktop-application">
3+
<id>plater</id>
4+
<metadata_license>FSFAP</metadata_license>
5+
<project-license>GPL-3.0+</project-license>
6+
<name>Plater</name>
57
<summary>3D printer plating tool</summary>
68
<description>
79
<p>Plater is a simple graphical tool for preparing plates for desktop 3D printers, such as RepRap.</p>
8-
<p>It lets you load 3D models and manipulate them on XY plane. It is also possible to let Plater automatically arrange the files to fit. You can than export the prepared plate for later use or load it directly to Pronterface (if installed).</p>
10+
<p>It lets you load 3D models and manipulate them on XY plane. It is also possible to let Plater automatically arrange the files to fit. You can then export the prepared plate for later use or load it directly to Pronterface (if installed).</p>
911
</description>
12+
<launchable type="desktop-id">plater.desktop</launchable>
1013
<screenshots>
1114
<screenshot type="default" width="804" height="606">https://raw.github.com/kliment/Printrun/master/screenshots/plater.png</screenshot>
1215
</screenshots>
1316
<url type="homepage">https://github.com/kliment/Printrun</url>
14-
</application>
17+
</component>

pronsole.appdata.xml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<application>
3-
<id type="desktop">pronsole.desktop</id>
4-
<licence>CC0</licence>
2+
<component type="desktop-application">
3+
<id>pronsole</id>
4+
<metadata_license>FSFAP</metadata_license>
5+
<project-license>GPL-3.0+</project-license>
6+
<name>Pronsole</name>
57
<summary>3D printer host software for console</summary>
68
<description>
7-
<p>Pronsole is a command line user interface for desktop 3D printers, such as RepRap. It lets you to load Gcode, connect to printer and send the Gcode to it. Best option for controling 3D printer from headless or not enough powerful machines.</p>
9+
<p>Pronsole is a command line user interface for desktop 3D printers, such as RepRap. It lets you to load Gcode, connect to printer and send the Gcode to it. Best option for controlling 3D printer from headless or not enough powerful machines.</p>
810
<p>It allows you not only to send Gcode form file, but also control the printer manually or send Gcode commands directly to the printer.</p>
9-
<p>Is integrates slicing tool, so if you load an STL 3D model to it as well as Gcode.</p>
11+
<p>It integrates with slicing tools, so if you load an STL 3D model to it,it will slice and load it automatically.</p>
1012
</description>
13+
<launchable type="desktop-id">pronsole.desktop</launchable>
1114
<screenshots>
1215
<screenshot type="default" width="659" height="388">https://raw.github.com/kliment/Printrun/master/screenshots/pronsole.png</screenshot>
1316
</screenshots>
1417
<url type="homepage">https://github.com/kliment/Printrun</url>
15-
</application>
18+
</component>

pronterface.appdata.xml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<application>
3-
<id type="desktop">pronterface.desktop</id>
4-
<licence>CC0</licence>
2+
<component type="desktop-application">
3+
<id>pronterface</id>
4+
<metadata_license>FSFAP</metadata_license>
5+
<project-license>GPL-3.0+</project-license>
6+
<name>Pronterface</name>
57
<summary>3D printer host software</summary>
68
<description>
79
<p>Pronterface is a graphical user interface for desktop 3D printers, such as RepRap. It lets you view Gcode, connect to printer and send the Gcode to it. It's feature rich yet minimalist application.</p>
810
<p>It allows you not only to send Gcode form file, but also control the printer manually or send Gcode commands directly trough input field.</p>
9-
<p>Is integrates slicing tool, so if you load an STL 3D model to it, it will slice and load it automatically.</p>
11+
<p>It integrates with slicing tools, so if you load an STL 3D model to it, it will slice and load it automatically.</p>
1012
</description>
13+
<launchable type="desktop-id">pronterface.desktop</launchable>
1114
<screenshots>
1215
<screenshot type="default" width="1061" height="596">https://raw.github.com/kliment/Printrun/master/screenshots/pronterface.png</screenshot>
1316
<screenshot width="566" height="626">https://raw.github.com/kliment/Printrun/master/screenshots/pronterface2.png</screenshot>
1417
</screenshots>
1518
<url type="homepage">https://github.com/kliment/Printrun</url>
16-
</application>
19+
</component>

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def run(self):
127127
target_images_path = "share/pronterface/images/"
128128
data_files = [('share/pixmaps', ['pronterface.png', 'plater.png', 'pronsole.png']),
129129
('share/applications', ['pronterface.desktop', 'pronsole.desktop', 'plater.desktop']),
130-
('share/appdata', ['pronterface.appdata.xml', 'pronsole.appdata.xml', 'plater.appdata.xml'])]
130+
('share/metainfo', ['pronterface.appdata.xml', 'pronsole.appdata.xml', 'plater.appdata.xml'])]
131131

132132
for basedir, subdirs, files in os.walk("images"):
133133
images = []

0 commit comments

Comments
 (0)