From: Matthias Clasen Date: Sat, 7 May 2022 03:44:08 +0000 (-0400) Subject: node-editor: Add things X-Git-Tag: archive/raspbian/4.8.3+ds-2+rpi1~3^2~20^2~4^2~211^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=78d34c098e7c1b68a9063654e77b7107ec7832d2;p=gtk4.git node-editor: Add things Add a desktop file and appdata. --- diff --git a/demos/node-editor/meson.build b/demos/node-editor/meson.build index 7fe5561267..9b1e1a1653 100644 --- a/demos/node-editor/meson.build +++ b/demos/node-editor/meson.build @@ -22,9 +22,21 @@ executable('gtk4-node-editor', install: false, ) -# icons, don't install them until we decide to install gtk4-node-editor -#icontheme_dir = join_paths(gtk_datadir, 'icons/hicolor') +# icons +icontheme_dir = join_paths(gtk_datadir, 'icons/hicolor') + +foreach size: ['scalable', 'symbolic'] + install_subdir('data/' + size, install_dir: icontheme_dir) +endforeach + +# desktop file +install_data('org.gtk.gtk4.NodeEditor.desktop', install_dir: gtk_applicationsdir) + +# appdata +configure_file( + input: 'org.gtk.gtk4.NodeEditor.appdata.xml.in', + output: 'org.gtk.gtk4.NodeEditor.appdata.xml', + configuration: appdata_config, + install_dir: gtk_appdatadir +) -#foreach size: ['scalable', 'symbolic'] -# install_subdir('data/' + size, install_dir: icontheme_dir) -#endforeach diff --git a/demos/node-editor/org.gtk.gtk4.NodeEditor.appdata.xml.in b/demos/node-editor/org.gtk.gtk4.NodeEditor.appdata.xml.in new file mode 100644 index 0000000000..26ee6ff4d9 --- /dev/null +++ b/demos/node-editor/org.gtk.gtk4.NodeEditor.appdata.xml.in @@ -0,0 +1,40 @@ + + + org.gtk.gtk4.NodeEditor + org.gtk.gtk4.NodeEditor.desktop + CC0-1.0 + LGPL-2.1-or-later + GTK Node Editor + Program to edit render node files + +

+ GTK Node Editor is a simple application to show and edit + render node files. +

+

+ Render node files can e.g. be created by the GTK inspector. +

+
+ + + https://static.gnome.org/appdata/gtk4-node-editor/gtk4-node-editor.png + Node Editor + + + + HiDpiIcon + ModernToolkit + + https://www.gtk.org + gtk-4.0 + matthias.clasen_at_gmail.com + Matthias Clasen and others + + + + +

A new build of GTK.

+
+
+
+
diff --git a/demos/node-editor/org.gtk.gtk4.NodeEditor.desktop b/demos/node-editor/org.gtk.gtk4.NodeEditor.desktop new file mode 100644 index 0000000000..75097ddf5e --- /dev/null +++ b/demos/node-editor/org.gtk.gtk4.NodeEditor.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Node Editor +Comment=An application that edits render nodes +Exec=gtk4-node-editor +Icon=org.gtk.gtk4.NodeEditor +Terminal=false +Type=Application +StartupNotify=true +Categories=Development;GTK;