[buoh/appstream: 8/8] Add AppStream application description



commit f10078e44446f3f68701dcf9e68cc51f0f0e0b74
Author: Jan Tojnar <jtojnar gmail com>
Date:   Wed Aug 22 14:18:29 2018 +0200

    Add AppStream application description

 data/meson.build                   |  18 +++++
 data/org.gnome.buoh.appdata.xml.in | 155 +++++++++++++++++++++++++++++++++++++
 meson.build                        |   1 +
 po/POTFILES.in                     |   1 +
 4 files changed, 175 insertions(+)
---
diff --git a/data/meson.build b/data/meson.build
index 8bdd41b..cb1c391 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -26,6 +26,24 @@ install_data(
   install_dir: comicsdir,
 )
 
+appdata = 'org.gnome.buoh.appdata.xml'
+i18n.merge_file(
+  appdata,
+  input: appdata + '.in',
+  output: appdata,
+  po_dir: po_dir,
+  install: true,
+  install_dir: join_paths(datadir, 'metainfo'),
+)
+if (appstream_util.found())
+  test(
+    'Validating ' + appdata,
+    appstream_util,
+    args: ['validate', '--nonet', appdata],
+    workdir: meson.current_build_dir(),
+  )
+endif
+
 gnome.mkenums(
   'org.gnome.buoh.enums.xml',
   sources: enum_headers,
diff --git a/data/org.gnome.buoh.appdata.xml.in b/data/org.gnome.buoh.appdata.xml.in
new file mode 100644
index 0000000..1b00e17
--- /dev/null
+++ b/data/org.gnome.buoh.appdata.xml.in
@@ -0,0 +1,155 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop">
+  <id>buoh.desktop</id>
+  <metadata_license>CC0</metadata_license>
+  <project_license>GPL-2.0+</project_license>
+  <name>Buoh</name>
+  <summary>Online comic strips reader</summary>
+  <description>
+    <p>Buoh is an application for viewing online comic strips and webcomics, designed to look and work well 
under the GNOME desktop. Select your favorite comic from a list of more than 130 comics and read them in a 
simple, clean, and easy to use interface. Additionally, you can browse through the comic strip archives or 
save a comic to disk.
+    </p>
+  </description>
+  <url type="homepage">http://buoh.steve-o.org/</url>
+  <url type="bugtracker">https://gitlab.gnome.org/GNOME/buoh/issues</url>
+  <project_group>GNOME</project_group>
+  <release date="0000-00-00" version="0.8.3">
+    <description>
+      <p>“Back to life”</p>
+      <p>Changes:</p>
+      <ul>
+         <li>Moved to gitlab.gnome.org</li>
+         <li>Ported to meson and modern gettext (removing intltool dependency)</li>
+         <li>Ported to libsoup 2.4</li>
+         <li>Get rid of libgnomeui</li>
+         <li>Get rid of GConf</li>
+         <li>Updated GTK stuff</li>
+         <li>Updated buoh.dia UML diagram</li>
+         <li>Added different sizes icons</li>
+      </ul>
+    </description>
+  </release>
+  <release date="2006-10-23" version="0.8.2">
+    <description>
+      <p>“Quicker than a cheetah”</p>
+      <p>Changes:</p>
+      <ul>
+        <li>The comics loading has been improved to make it faster. (Carlos García Campos)</li>
+        <li>Icons are installed according to icon theme specification. (Carlos García Campos)</li>
+        <li>Implement best fit and fit width zoom modes. Fit width is now the mode by default. (Carlos 
García Campos)</li>
+        <li>Make libgnomeui an optional dependency enabled by default when available. (Carlos García 
Campos)</li>
+        <li>Remember zoom mode between sessions. (Carlos García Campos)</li>
+      </ul>
+      <p>Comics:</p>
+      <ul>
+        <li>
+          <p>Added:</p>
+          <ul>
+            <li>Calvin and Hobbes (english version)</li>
+            <li>The Pink Panther</li>
+            <li>Ronaldinho Gaucho</li>
+            <li>Schlock mercenary</li>
+            <li>Carla Ventresca &amp; Herny Beckett</li>
+            <li>Brainwaves</li>
+            <li>C'est la vie</li>
+            <li>Work it out</li>
+            <li>Nichtlustig (German)</li>
+            <li>…and many more. (Esteban Sánchez Muñoz)</li>
+          </ul>
+        </li>
+        <li>
+          <p>Removed:</p>
+          <ul>
+            <li>Cats With Hands</li>
+            <li>Frank &amp; Ernest</li>
+            <li>Wigu</li>
+            <li>Owlie</li>
+            <li>Bruno the Bandit</li>
+            <li>Not available comics</li>
+            <li>…and many more.</li>
+          </ul>
+        </li>
+        <li>
+          <p>Fixed:</p>
+          <ul>
+            <li>Sinfest</li>
+            <li>Forges (Esteban Sánchez Muñoz)</li>
+            <li>A Lawyer, A Doctor &amp; A Cop. (Carlos García Campos)</li>
+          </ul>
+        </li>
+      </ul>
+    </description>
+  </release>
+  <release date="2005-12-02" version="0.8.1">
+    <description>
+      <p>“Smaller than an ant”</p>
+      <p>Changes:</p>
+      <ul>
+        <li>Added a cache system that improves drastically the memory usage and reduce the comic access 
time. (Carlos García Campos)</li>
+        <li>Save the original image instead of a new png when saving a copy. (Carlos García Campos)</li>
+        <li>Support for code translation. (Esteban Sánchez Muñoz)</li>
+        <li>Buoh also works now with GTK+ ≤ 2.6.(Bastien Nocera)</li>
+        <li>Many other bugfixes, memory leaks and code cleanups. (Carlos García Campos)</li>
+      </ul>
+      <p>Comics:</p>
+      <p>Added 28 new comics, including:</p>
+      <ul>
+        <li>Ctrl+Alt+Del (thanks to James Hall)</li>
+        <li>Penny Arcade</li>
+        <li>PvP</li>
+        <li>Alpha Luna</li>
+        <li>Sinfest</li>
+        <li>The amazing Spiderman</li>
+        <li>Blondie</li>
+        <li>Mother Goose &amp; Grimm</li>
+        <li>Dennis the menace</li>
+        <li>Hagar the horrible</li>
+        <li>Do you know Flo? (Dutch)</li>
+        <li>Doorzon (Dutch)</li>
+        <li>Lectrrland (Dutch)</li>
+        <li>…and many more (Esteban Sánchez Muñoz)</li>
+        <li>There are comics in dutch. (Esteban Sánchez Muñoz)</li>
+      </ul>
+      <p>Thanks to all the people who have proposed new comics.</p>
+    </description>
+  </release>
+  <release date="2005-11-08" version="0.8">
+    <description>
+      <p>First public release.</p>
+      <p>Comics:</p>
+      <ul>
+        <li>Including 128 online comics stripes.</li>
+        <li>There are comics in english and in spanish.</li>
+        <li>Browsing through an historical archive in each strip.</li>
+      </ul>
+      <p>Miscellaneous:</p>
+      <ul>
+        <li>It is possible to save a comic to disk.</li>
+        <li>Integration with GNOME lockdowns.</li>
+        <li>The GUI follows the HIG.</li>
+      </ul>
+    </description>
+  </release>
+  <screenshots>
+    <screenshot height="421" width="754">
+      <image>http://buoh.steve-o.org/buoh-images/Screenshot-Buoh.png</image>
+      <caption>General view of Buoh</caption>
+    </screenshot>
+    <screenshot height="421" width="748">
+      <image>http://buoh.steve-o.org/buoh-images/Screenshot-Buoh-1.png</image>
+      <caption>First execution of Buoh</caption>
+    </screenshot>
+    <screenshot height="577" width="874">
+      <image>http://buoh.steve-o.org/buoh-images/Screenshot-Buoh-2.png</image>
+      <caption>Add comic dialog</caption>
+    </screenshot>
+    <screenshot height="519" width="852">
+      <image>http://buoh.steve-o.org/buoh-images/Screenshot-Buoh-3.png</image>
+      <caption>Comic properties dialog</caption>
+    </screenshot>
+  </screenshots>
+  <kudos>
+    <kudo>ModernToolkit</kudo>
+  </kudos>
+  <update_contact>jtojnar gmail com</update_contact>
+  <translation type="gettext">buoh</translation>
+</component>
diff --git a/meson.build b/meson.build
index cd5e3bb..ae2d8c4 100644
--- a/meson.build
+++ b/meson.build
@@ -26,6 +26,7 @@ glib = dependency('glib-2.0', version: '>= 2.26.0')
 libsoup = dependency('libsoup-2.4', version: '>= 2.4.0')
 libxml2 = dependency('libxml-2.0', version: '>= 2.4.0')
 
+appstream_util = find_program('appstream-util', required: false)
 desktop_file_validate = find_program('desktop-file-validate', required: false)
 
 buoh_deps = [
diff --git a/po/POTFILES.in b/po/POTFILES.in
index e9f2daf..d33b8cd 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,6 +1,7 @@
 # List of source files containing translatable strings.
 # Please keep this file sorted alphabetically.
 data/buoh.desktop.in
+data/org.gnome.buoh.appdata.xml.in
 data/org.gnome.buoh.gschema.xml
 src/buoh-add-comic-dialog.c
 src/buoh-comic-list.c


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