summarylogtreecommitdiffstats
path: root/appdata.patch
diff options
context:
space:
mode:
Diffstat (limited to 'appdata.patch')
-rw-r--r--appdata.patch79
1 files changed, 79 insertions, 0 deletions
diff --git a/appdata.patch b/appdata.patch
new file mode 100644
index 000000000000..dbea2050e14c
--- /dev/null
+++ b/appdata.patch
@@ -0,0 +1,79 @@
+From 4852045b1832b2eaefcc890bdbc39c705f4ad6a1 Mon Sep 17 00:00:00 2001
+From: Cosimo Cecchi <cosimo@endlessm.com>
+Date: Fri, 3 Aug 2018 16:35:33 -0700
+Subject: [PATCH] Add an updated .appdata file
+
+---
+ data/labyrinth.appdata.xml | 49 ++++++++++++++++++++++++++++++++++++++
+ install_data_files.sh | 3 +++
+ 2 files changed, 52 insertions(+)
+ create mode 100644 data/labyrinth.appdata.xml
+
+diff --git a/data/labyrinth.appdata.xml b/data/labyrinth.appdata.xml
+new file mode 100644
+index 0000000..8d24936
+--- /dev/null
++++ b/data/labyrinth.appdata.xml
+@@ -0,0 +1,49 @@
++<?xml version="1.0" encoding="UTF-8"?>
++<application>
++ <id type="desktop">labyrinth.desktop</id>
++ <metadata_license>CC0-1.0</metadata_license>
++ <project_license>GPL-2.0</project_license>
++ <name>Labyrinth</name>
++ <summary>A light weight mind mapping tool</summary>
++ <description>
++ <p>
++ Labyrinth is a lightweight mind-mapping tool, written in Python using Gtk and
++ Cairo to do the drawing. It is intended to be as light and intuitive as
++ possible, but still provide a wide range of powerful features.
++ </p>
++
++ <p>
++ A mind-map is a diagram used to represent words, ideas, tasks or other items
++ linked to and arranged radially around a central key word or idea. It is used
++ to generate, visualize, structure and classify ideas, and as an aid in study,
++ organization, problem solving, and decision making (From Wikipedia).
++ </p>
++
++ <p>
++ Currently, Labyrinth provides 3 different types of thoughts, or nodes - Text,
++ Image and Drawing. Text is the basic standard text node. Images allow you to
++ insert and scale any supported image file (PNG, JPEG, SVG). Drawings are for
++ those times when you want to illustrate something, but don't want to fire up a
++ separate drawing program. It allows you to quickly and easily sketch very
++ simple line diagrams.
++ </p>
++
++ </description>
++
++ <content_rating type="oars-1.1" />
++
++ <releases>
++ <release date="2012-11-02" version="0.6"/>
++ </releases>
++
++ <screenshots>
++ <screenshot>
++ <image type="source">https://screenshots.debian.net/screenshots/000/009/362/large.png</image>
++ <image type="source">https://screenshots.debian.net/screenshots/000/009/194/large.png</image>
++ </screenshot>
++ </screenshots>
++
++ <url type="homepage">https://github.com/labyrinth-team/labyrinth</url>
++ <updatecontact>Don@Scorgie.org</updatecontact>
++</application>
++
+diff --git a/install_data_files.sh b/install_data_files.sh
+index 76ba767..c021211 100755
+--- a/install_data_files.sh
++++ b/install_data_files.sh
+@@ -14,5 +14,8 @@ install -m 644 data/labyrinth.svg $DESTDIR/usr/share/icons/hicolor/scalable/apps
+ echo "Installing .desktop file"
+ install -D -m 755 data/labyrinth.desktop $DESTDIR/usr/share/applications/labyrinth.desktop
+
++echo "Installing .appdata.xml file"
++install -D -m 644 data/labyrinth.appdata.xml $DESTDIR/usr/share/appdata/labyrinth.appdata.xml
++
+ echo "Installing translations"
+ make -C po localedir=$DESTDIR/usr/share/locale install