[buoh/appstream] Add AppStream application description



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

    Add AppStream application description
    
    https://wiki.gnome.org/Initiatives/GnomeGoals/AppDataGnomeSoftware

 data/meson.build                   |  18 +++++
 data/org.gnome.buoh.appdata.xml.in | 155 +++++++++++++++++++++++++++++++++++++
 default.nix                        |   2 +-
 meson.build                        |   1 +
 po/POTFILES.in                     |   1 +
 5 files changed, 176 insertions(+), 1 deletion(-)
---
diff --git a/data/meson.build b/data/meson.build
index 9929625..d20734d 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -37,6 +37,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..b24d719
--- /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>org.gnome.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/default.nix b/default.nix
index 35b7cdf..61dc878 100644
--- a/default.nix
+++ b/default.nix
@@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
   ];
 
   checkInputs = [
-    desktop-file-utils
+    desktop-file-utils appstream-glib
   ];
 
   src =
diff --git a/meson.build b/meson.build
index c7a4535..72da229 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)
 gtk_builder_tool = find_program('gtk-builder-tool', required: false)
 
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 5b72940..847c173 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,5 +1,6 @@
 # List of source files containing translatable strings.
 # Please keep this file sorted alphabetically.
+data/org.gnome.buoh.appdata.xml.in
 data/org.gnome.buoh.desktop.in
 data/org.gnome.buoh.gschema.xml
 data/ui/add-comic-dialog.ui


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