From 7201013fff9a2e7fd683a5f9aeb86fe9d8264baa Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: Dec 27 2013 20:05:03 +0000 Subject: Add AppData --- diff --git a/plater.appdata.xml b/plater.appdata.xml new file mode 100644 index 0000000..8cb300b --- /dev/null +++ b/plater.appdata.xml @@ -0,0 +1,14 @@ + + + plater.desktop + CC0 + 3D printer plating tool + +

Plater is a simple graphical tool for preparing plates for desktop 3D printers, such as RepRap.

+

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).

+
+ + https://raw.github.com/kliment/Printrun/master/screenshots/plater.png + + https://github.com/kliment/Printrun +
diff --git a/plater.desktop b/plater.desktop index 146a708..b57af93 100644 --- a/plater.desktop +++ b/plater.desktop @@ -1,9 +1,10 @@ - [Desktop Entry] +Type=Application Name=Plater GenericName=Plate building tool -Exec=plater +Comment=Prepares plates for 3D printing Icon=/usr/share/pixmaps/plater.ico +Exec=plater +StartupNotify=true Terminal=false -Type=Application -Categories=Graphics; +Categories=GNOME;GTK;Utility;Graphics;3DGraphics; diff --git a/printrun.spec b/printrun.spec index 3901d0a..9da40f3 100644 --- a/printrun.spec +++ b/printrun.spec @@ -1,7 +1,7 @@ Name: printrun Version: 2013.10.19 %global tag %{name}-20131019 -Release: 6%{?dist} +Release: 7%{?dist} Summary: RepRap printer interface and tools License: GPLv3+ Group: Applications/Engineering @@ -17,6 +17,13 @@ Source1: pronsole.desktop Source2: pronterface.desktop Source3: plater.desktop +# AppData files +Source4: pronsole.appdata.xml +Source5: pronterface.appdata.xml +Source6: plater.appdata.xml + +# Both desktop files and AppData files are already in upstream git as well + # https://github.com/kliment/Printrun/issues/438 Patch0: %{name}-issue438a.patch Patch1: %{name}-issue438b.patch @@ -147,6 +154,10 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE1} desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE2} desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE3} +# appdata files +mkdir -p %{buildroot}%{_datadir}/appdata +cp %{SOURCE4} %{SOURCE5} %{SOURCE6} %{buildroot}%{_datadir}/appdata/ + # locales mkdir -p %{buildroot}%{_datadir}/locale cp -ar %{buildroot}%{_datadir}/pronterface/locale/* %{buildroot}%{_datadir}/locale @@ -174,6 +185,10 @@ rm -f %{buildroot}%{_bindir}/prontserve* %{_bindir}/pronsole* %{_datadir}/pixmaps/pronsole.ico %{_datadir}/applications/pronsole.desktop +%if 0%{?fedora} < 21 +%dir %{_datadir}/appdata +%endif +%{_datadir}/appdata/pronsole.appdata.xml %doc README* COPYING %if 0%{?prontserve} @@ -187,14 +202,25 @@ rm -f %{buildroot}%{_bindir}/prontserve* %{_datadir}/pronterface %{_datadir}/pixmaps/P-face.ico %{_datadir}/applications/pronterface.desktop +%if 0%{?fedora} < 21 +%dir %{_datadir}/appdata +%endif +%{_datadir}/appdata/pronterface.appdata.xml %doc README* COPYING %files -n plater -f plater.lang %{_bindir}/plater* %{_datadir}/applications/plater.desktop +%if 0%{?fedora} < 21 +%dir %{_datadir}/appdata +%endif +%{_datadir}/appdata/plater.appdata.xml %doc README* COPYING %changelog +* Fri Dec 27 2013 Miro Hrončok - 2013.10.19-7 +- Add AppData + * Fri Nov 15 2013 Miro Hrončok - 2013.10.19-6 - Use system's simarrange in plater diff --git a/pronsole.appdata.xml b/pronsole.appdata.xml new file mode 100644 index 0000000..0052f61 --- /dev/null +++ b/pronsole.appdata.xml @@ -0,0 +1,15 @@ + + + pronsole.desktop + CC0 + 3D printer host software for console + +

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.

+

It allows you not only to send Gcode form file, but also control the printer manually or send Gcode commands directly to the printer.

+

Is integrates slicing tool, so if you load an STL 3D model to it as well as Gcode.

+
+ + https://raw.github.com/kliment/Printrun/master/screenshots/pronsole.png + + https://github.com/kliment/Printrun +
diff --git a/pronsole.desktop b/pronsole.desktop index 7c82942..8c48ef8 100644 --- a/pronsole.desktop +++ b/pronsole.desktop @@ -1,9 +1,10 @@ - [Desktop Entry] +Type=Application Name=Pronsole GenericName=Printer console -Exec=pronsole +Comment=Controls your 3D printer form console Icon=/usr/share/pixmaps/pronsole.ico +Exec=pronsole +StartupNotify=true Terminal=true -Type=Application -Categories=Graphics; +Categories=Utility;Graphics;3DGraphics;ConsoleOnly; diff --git a/pronterface.appdata.xml b/pronterface.appdata.xml new file mode 100644 index 0000000..59a25f5 --- /dev/null +++ b/pronterface.appdata.xml @@ -0,0 +1,16 @@ + + + pronterface.desktop + CC0 + 3D printer host software + +

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.

+

It allows you not only to send Gcode form file, but also control the printer manually or send Gcode commands directly trough input field.

+

Is integrates slicing tool, so if you load an STL 3D model to it, it will slice and load it automatically.

+
+ + https://raw.github.com/kliment/Printrun/master/screenshots/pronterface.png + https://raw.github.com/kliment/Printrun/master/screenshots/pronterface2.png + + https://github.com/kliment/Printrun +
diff --git a/pronterface.desktop b/pronterface.desktop index 4fe719f..46b062f 100644 --- a/pronterface.desktop +++ b/pronterface.desktop @@ -1,9 +1,12 @@ - [Desktop Entry] +Type=Application Name=Pronterface GenericName=Printer Interface -Exec=pronterface +Comment=Controls your 3D printer Icon=/usr/share/pixmaps/P-face.ico +Exec=pronterface %f +Path=/usr/share/pronterface/ +StartupNotify=true Terminal=false -Type=Application -Categories=Graphics; +Categories=GNOME;GTK;Utility;Graphics;3DGraphics; +MimeType=text/plain;application/octet-stream;application/sla;