[ocrfeeder] Add AppData file



commit 27f57331c5e02b345d9a962bf1cdd6330c04f495
Author: scx <scx mail gmail com>
Date:   Sun Jan 27 12:19:13 2019 +0100

    Add AppData file

 po/POTFILES.in                     |   1 +
 resources/Makefile.am              |   9 ++-
 resources/ocrfeeder.appdata.xml.in | 111 +++++++++++++++++++++++++++++++++++++
 3 files changed, 119 insertions(+), 2 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index a4caf0a..bbf3d98 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -2,6 +2,7 @@
 bin/ocrfeeder-cli.in
 bin/ocrfeeder.in
 resources/ocrfeeder.desktop.in
+resources/ocrfeeder.appdata.xml.in
 [type: gettext/glade]resources/spell-checker.ui
 src/ocrfeeder/feeder/documentGeneration.py
 src/ocrfeeder/feeder/imageManipulation.py
diff --git a/resources/Makefile.am b/resources/Makefile.am
index abecc99..b92803f 100644
--- a/resources/Makefile.am
+++ b/resources/Makefile.am
@@ -5,11 +5,16 @@ desktop_in_files = ocrfeeder.desktop.in
 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
 @INTLTOOL_DESKTOP_RULE@
 
+appstreamdir = $(datadir)/metainfo
+appstream_in_files = ocrfeeder.appdata.xml.in
+appstream_DATA = $(appstream_in_files:.xml.in=.xml)
+@INTLTOOL_XML_RULE@
+
 ui_filesdir = $(datadir)/ocrfeeder
 ui_files_DATA = spell-checker.ui menubar.ui
 
 man_MANS = ocrfeeder.1 ocrfeeder-cli.1
 
-EXTRA_DIST = $(desktop_in_files) $(man_MANS) $(ui_files_DATA)
+EXTRA_DIST = $(desktop_in_files) $(appdata_in_files) $(man_MANS) $(ui_files_DATA)
 
-CLEANFILES = $(desktop_DATA)
+CLEANFILES = $(desktop_DATA) $(appstream_DATA)
diff --git a/resources/ocrfeeder.appdata.xml.in b/resources/ocrfeeder.appdata.xml.in
new file mode 100644
index 0000000..59ef357
--- /dev/null
+++ b/resources/ocrfeeder.appdata.xml.in
@@ -0,0 +1,111 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop">
+  <id>org.gnome.OCRFeeder</id>
+  <launchable type="desktop-id">ocrfeeder.desktop</launchable>
+  <_name>OCRFeeder</_name>
+  <_summary>The complete OCR suite</_summary>
+  <metadata_license>CC0-1.0</metadata_license>
+  <project_license>GPL-3.0+</project_license>
+  <developer_name>Joaquim Rocha</developer_name>
+  <description>
+    <_p>OCRFeeder is a document layout analysis and optical character recognition system.</_p>
+    <_p>Given the images it will automatically outline its contents, distinguish between what's graphics and 
text and perform OCR over the latter. It generates multiple formats being its main one ODT.</_p>
+    <_p>It features a complete GTK graphical user interface that allows the users to correct any 
unrecognized characters, defined or correct bounding boxes, set paragraph styles, clean the input images, 
import PDFs, save and load the project, export everything to multiple formats, etc.</_p>
+  </description>
+  <screenshots>
+    <screenshot type="default">
+      <_caption>Content Areas</_caption>
+      
<image>https://wiki.gnome.org/Apps/OCRFeeder?action=AttachFile&amp;do=get&amp;target=ocrfeeder.jpeg</image>
+    </screenshot>
+    <screenshot>
+      <_caption>Unpaper Image Processor</_caption>
+      
<image>https://wiki.gnome.org/Apps/OCRFeeder?action=AttachFile&amp;do=get&amp;target=ocrfeeder_unpaper.jpeg</image>
+    </screenshot>
+    <screenshot>
+      <_caption>Check spelling</_caption>
+      
<image>https://wiki.gnome.org/Apps/OCRFeeder?action=AttachFile&amp;do=get&amp;target=ocrfeeder_spellchecker.png</image>
+    </screenshot>
+  </screenshots>
+  <url type="bugtracker">https://gitlab.gnome.org/GNOME/ocrfeeder/issues</url>
+  <url type="homepage">https://wiki.gnome.org/Apps/OCRFeeder</url>
+  <update_contact>me joaquimrocha com</update_contact>
+  <translation type="gettext">ocrfeeder</translation>
+  <provides>
+    <binary>ocrfeeder</binary>
+  </provides>
+  <content_rating type="oars-1.0" />
+  <releases>
+    <release version="0.8.1" date="2014-12-22">
+      <description>
+        <_p>
+          Improvements:
+        </_p>
+        <ul>
+          <_li>The Preferences dialog is now smaller (the big contents are wrapped in a scrolled 
window)</_li>
+          <_li>All dialogs are now centered to the main window</_li>
+          <_li>Use XDG user's configuration directory instead of .ocrfeeder</_li>
+        </ul>
+        <_p>
+          Bug Fixes:
+        </_p>
+        <ul>
+          <_li>Fix Gtk thread related problems</_li>
+          <_li>Fix unicode issues when saving a project and exporting a document</_li>
+          <_li>Fix issue when exporting a picture in a document from a loaded project</_li>
+          <_li>Fix ODT exportation button's icon</_li>
+        </ul>
+      </description>
+    </release>
+    <release version="0.8.0" date="2014-08-04">
+      <description>
+        <_p>
+          New Features:
+        </_p>
+        <ul>
+          <_li>Add support for multiple image TIFFs</_li>
+        </ul>
+        <_p>
+          Improvements:
+        </_p>
+        <ul>
+          <_li>Port the application to GObject Introspection</_li>
+          <_li>Scan with 300 DPI and in color mode</_li>
+          <_li>Use the last visited directory when adding a new image</_li>
+          <_li>Warn when no OCR engines are found on startup or when performing the recognition</_li>
+          <_li>Update the box editor's OCR controls sensitiveness according to the existence of OCR 
engines</_li>
+        </ul>
+        <_p>
+          Bug Fixes:
+        </_p>
+        <ul>
+          <_li>Fix PIL importation</_li>
+          <_li>Fix error when exporting a PDF with empty text areas</_li>
+          <_li>Fix PDF output options in ocrfeeder-cli</_li>
+          <_li>Fix getting engine name in ocrfeeder-cli</_li>
+          <_li>Fix the use of newer versions of Unpaper</_li>
+          <_li>Fix text in the pages icon view</_li>
+          <_li>Fix reordering pages in the icon view</_li>
+          <_li>Fix issues when no locale is set</_li>
+          <_li>Fix loading project with more than one page</_li>
+          <_li>Fix updating the OCR engines in the BoxEditor</_li>
+        </ul>
+        <_p>
+          New and Updated Translations:
+        </_p>
+        <ul>
+          <_li>Marek Černocký [cz]</_li>
+          <_li>Daniel Mustieles [es]</_li>
+          <_li>Fran Diéguez [gl]</_li>
+          <_li>Dimitris Spingos [el]</_li>
+          <_li>Aharon Don [he]</_li>
+          <_li>Attila Hammer, Gabor Kelemen [hu]</_li>
+          <_li>Rafael Ferreira [pt_BR]</_li>
+          <_li>Martin Srebotnjak [sl]</_li>
+          <_li>Мирослав Николић [sr]</_li>
+          <_li>Piotr Drąg [uk]</_li>
+          <_li>Wylmer Wang [zh_CN]</_li>
+        </ul>
+      </description>
+    </release>
+  </releases>
+</component>


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