[dia/bilelmoussaoui/freedesktop-compliant: 3/7] Add an appdata file
- From: Bilal Elmoussaoui <bilelmoussaoui src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia/bilelmoussaoui/freedesktop-compliant: 3/7] Add an appdata file
- Date: Thu, 19 Sep 2019 21:50:16 +0000 (UTC)
commit f12afe1aec4386b2cb6dca4fd3290a0720df6bac
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date: Thu Sep 19 23:42:30 2019 +0200
Add an appdata file
data/meson.build | 18 ++++++++++++++++
data/org.gnome.Dia.appdata.xml | 48 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 66 insertions(+)
---
diff --git a/data/meson.build b/data/meson.build
index 1c44fd94..50d68f62 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -8,5 +8,23 @@ desktop_file = i18n.merge_file(
install_dir: join_paths(datadir, 'applications')
)
+appdata_file = i18n.merge_file (
+ input: 'org.gnome.Dia.appdata.xml',
+ output: '@BASENAME@',
+ po_dir: po_dir,
+ install: true,
+ install_dir: join_paths(datadir, 'metainfo')
+)
+# Validate Appdata
+if appstream_util.found()
+ test(
+ 'validate-appdata', appstream_util,
+ args: [
+ 'validate', '--nonet', appdata_file.full_path()
+ ]
+ )
+endif
+
+
subdir('icons')
subdir('ui')
diff --git a/data/org.gnome.Dia.appdata.xml b/data/org.gnome.Dia.appdata.xml
new file mode 100644
index 00000000..673372f9
--- /dev/null
+++ b/data/org.gnome.Dia.appdata.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Bilal Elmoussaoui 2019 <bilal elmoussaoui gnome org> -->
+<component type="desktop-application">
+ <id>org.gnome.Dia</id>
+ <metadata_license>CC0</metadata_license>
+ <project_license>GPL-3.0+</project_license>
+ <name>Dia</name>
+ <summary>Dia is a program for drawing diagrams</summary>
+ <description>
+ <p>Dia is a GTK+ based diagram creation program for GNU/Linux, MacOS X, Unix, and Windows, and is
released under the GPL license.</p>
+
+ <p>Dia is roughly inspired by the commercial Windows program 'Visio,' though more geared towards
informal diagrams for casual use. It can be used to draw many different kinds of diagrams. It currently has
special objects to help draw entity relationship diagrams, UML diagrams, flowcharts, network diagrams, and
many other diagrams. It is also possible to add support for new shapes by writing simple XML files, using a
subset of SVG to draw the shape.</p>
+
+ <p>It can load and save diagrams to a custom XML format (gzipped by default, to save space), can export
diagrams to a number of formats, including EPS, SVG, XFIG, WMF and PNG, and can print diagrams (including
ones that span multiple pages). </p>
+ </description>
+ <screenshots>
+ <screenshot type="default">
+ <image>https://gitlab.gnome.org/GNOME/dia/raw/master/data/screenshots/screenshot1.png</image>
+ <caption>Main Window</caption>
+ </screenshot>
+ </screenshots>
+ <url type="homepage">https://wiki.gnome.org/Apps/Dia</url>
+ <url type="bugtracker">https://gitlab.gnome.org/GNOME/dia/issues</url>
+ <url type="donation">http://www.gnome.org/friends/</url>
+ <url type="translate">https://l10n.gnome.org/module/dia/</url>
+ <content_rating type="oars-1.0" />
+ <releases>
+ <release version="0.97.2" date="2011-12-18">
+ <description>
+ <p>Updated translations</p>
+ </description>
+ </release>
+ </releases>
+ <kudos>
+ <!--
+ GNOME Software kudos:
+ https://gitlab.gnome.org/GNOME/gnome-software/blob/master/doc/kudos.md
+ -->
+ <kudo>HiDpiIcon</kudo>
+ </kudos>
+ <developer_name>The GNOME Project</developer_name>
+ <project_group>GNOME</project_group>
+ <update_contact>zbrown gnome org</update_contact>
+ <translation type="gettext">dia</translation>
+ <launchable type="desktop-id">org.gnome.Dia.desktop</launchable>
+</component>
+
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]