[gnome-calculator] Add appdata



commit 4d36048e61b3bf316ef63013c628539b5b568c2d
Author: Robert Ancell <robert ancell canonical com>
Date:   Sun Sep 8 11:35:29 2013 +1200

    Add appdata

 data/Makefile.am                  |    3 +++
 data/gnome-calculator.appdata.xml |   34 ++++++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+), 0 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 114ffcd..22a0efe 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -7,6 +7,9 @@ Utilities_in_files = gcalctool.desktop.in
 Utilities_DATA = $(Utilities_in_files:.desktop.in=.desktop)
 @INTLTOOL_DESKTOP_RULE@
 
+appdatadir = $(datadir)/appdata
+dist_appdata_DATA = gnome-calculator.appdata.xml
+
 man1_MANS = gnome-calculator.1 gcalccmd.1
 
 EXTRA_DIST = \
diff --git a/data/gnome-calculator.appdata.xml b/data/gnome-calculator.appdata.xml
new file mode 100644
index 0000000..604815c
--- /dev/null
+++ b/data/gnome-calculator.appdata.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application>
+  <id type="desktop">gcalctool.desktop</id>
+  <licence>CC0</licence>
+  <description>
+    <p>
+      GNOME Calculator is an application that solves mathematical equations.  Though it at first appears to 
be a simple calculator with only basic arithmetic operations, you can switch into Advanced, Financial, or 
Programming mode to find a surprising set of capabilities.
+    </p>
+    <p>
+      The Advanced calculator supports many operations, including:
+      <ul>
+      <li>logarithms</li>
+      <li>factorials</li>
+      <li>trigonometric and hyperbolic trigonometric functions</li>
+      <li>modulus (remainder) division</li>
+      <li>complex numbers</li>
+      <li>random number generation</li>
+      <li>prime factorization</li>
+      <li>unit conversions (angle, length, area, volume, weight, duration, temperature, currency, and 
time)</li>
+      </ul>
+    </p>
+    <p>
+      Financial mode supports several computations, including periodic interest rate, present and future 
value, double declining and straight line depreciation, and many others.
+    </p>
+    <p>
+      Programming mode supports conversion between common bases (binary, octal, decimal, and hexadecimal), 
boolean algebra, one’s and two’s complementation, character to character code conversion, and more.
+    </p>
+  </description>
+  <url type="homepage">https://wiki.gnome.org/Calculator</url>
+  <screenshots>
+    <screenshot 
type="default">https://wiki.gnome.org/Calculator?action=AttachFile&do=get&target=gcalctool.png</screenshot>
+  </screenshots>
+</application>
+  
\ No newline at end of file


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]