summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBurkhard Lück <lueck@hube-lueck.de>2016-11-04 13:56:55 (GMT)
committerBurkhard Lück <lueck@hube-lueck.de>2016-11-04 13:56:55 (GMT)
commit8666cacb926ab473bb1dc9025f2e9ebb5786c3af (patch)
treece3059741ca87f040d964e4a50a209a6214d8e90
parent622cd794dbba0e7658e931aadc93e36e24bfeb56 (diff)
add appdata file + metadata for chm, comicbook, djvu, dvi, epub, fax, fictionbook
REVIEW:128404
-rw-r--r--generators/chm/CMakeLists.txt2
-rw-r--r--generators/chm/okular-chm.metainfo.xml13
-rw-r--r--generators/comicbook/CMakeLists.txt2
-rw-r--r--generators/comicbook/okular-comicbook.metainfo.xml15
-rw-r--r--generators/djvu/CMakeLists.txt2
-rw-r--r--generators/djvu/okular-djvu.metainfo.xml13
-rw-r--r--generators/dvi/CMakeLists.txt2
-rw-r--r--generators/dvi/okular-dvi.metainfo.xml15
-rw-r--r--generators/epub/CMakeLists.txt2
-rw-r--r--generators/epub/okular-epub.metainfo.xml13
-rw-r--r--generators/fax/CMakeLists.txt1
-rw-r--r--generators/fax/okular-fax.metainfo.xml14
-rw-r--r--generators/fictionbook/CMakeLists.txt1
-rw-r--r--generators/fictionbook/okular-fb.metainfo.xml13
-rw-r--r--shell/CMakeLists.txt1
-rw-r--r--shell/org.kde.okular.appdata.xml30
16 files changed, 135 insertions, 4 deletions
diff --git a/generators/chm/CMakeLists.txt b/generators/chm/CMakeLists.txt
index 05a7997..1d96781 100644
--- a/generators/chm/CMakeLists.txt
+++ b/generators/chm/CMakeLists.txt
@@ -25,4 +25,4 @@ target_link_libraries(okularGenerator_chmlib okularcore ${CHM_LIBRARY} KF5::KHt
########### install files ###############
install( FILES okularChm.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
install( PROGRAMS okularApplication_chm.desktop org.kde.mobile.okular_chm.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
-
+install( FILES okular-chm.metainfo.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
diff --git a/generators/chm/okular-chm.metainfo.xml b/generators/chm/okular-chm.metainfo.xml
new file mode 100644
index 0000000..398eeea
--- /dev/null
+++ b/generators/chm/okular-chm.metainfo.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="addon">
+ <id>okular-chm</id>
+ <extends>org.kde.okular.desktop</extends>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0+ and GFDL-1.3</project_license>
+ <name>CHM Documents</name>
+ <summary>Adds support for reading CHM documents</summary>
+ <mimetypes>
+ <mimetype>application/x-chm</mimetype>
+ </mimetypes>
+ <url type="homepage">https://okular.kde.org</url>
+</component>
diff --git a/generators/comicbook/CMakeLists.txt b/generators/comicbook/CMakeLists.txt
index fd3f98d..1df3271 100644
--- a/generators/comicbook/CMakeLists.txt
+++ b/generators/comicbook/CMakeLists.txt
@@ -24,4 +24,4 @@ endif (UNIX)
########### install files ###############
install( FILES okularComicbook.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
install( PROGRAMS okularApplication_comicbook.desktop org.kde.mobile.okular_comicbook.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
-
+install( FILES okular-comicbook.metainfo.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
diff --git a/generators/comicbook/okular-comicbook.metainfo.xml b/generators/comicbook/okular-comicbook.metainfo.xml
new file mode 100644
index 0000000..2e4cc30
--- /dev/null
+++ b/generators/comicbook/okular-comicbook.metainfo.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="addon">
+ <id>okular-comicbook</id>
+ <extends>org.kde.okular.desktop</extends>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0+ and GFDL-1.3</project_license>
+ <name>Comic Books</name>
+ <summary>Adds support for reading comic books</summary>
+ <mimetypes>
+ <mimetype>application/x-cbr</mimetype>
+ <mimetype>application/x-cbz</mimetype>
+ <mimetype>application/x-cbt</mimetype>
+ </mimetypes>
+ <url type="homepage">https://okular.kde.org</url>
+</component>
diff --git a/generators/djvu/CMakeLists.txt b/generators/djvu/CMakeLists.txt
index 36c0450..333807f 100644
--- a/generators/djvu/CMakeLists.txt
+++ b/generators/djvu/CMakeLists.txt
@@ -20,5 +20,5 @@ target_link_libraries(okularGenerator_djvu okularcore ${DJVULIBRE_LIBRARY} KF5::
########### install files ###############
install( FILES okularDjvu.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
install( PROGRAMS okularApplication_djvu.desktop org.kde.mobile.okular_djvu.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
-
+install( FILES okular-djvu.metainfo.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
diff --git a/generators/djvu/okular-djvu.metainfo.xml b/generators/djvu/okular-djvu.metainfo.xml
new file mode 100644
index 0000000..6011f5d
--- /dev/null
+++ b/generators/djvu/okular-djvu.metainfo.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="addon">
+ <id>okular-djvu</id>
+ <extends>org.kde.okular.desktop</extends>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0+ and GFDL-1.3</project_license>
+ <name>DjVu Documents</name>
+ <summary>Adds support for reading DjVu documents</summary>
+ <mimetypes>
+ <mimetype>image/vnd.djvu</mimetype>
+ </mimetypes>
+ <url type="homepage">https://okular.kde.org</url>
+</component>
diff --git a/generators/dvi/CMakeLists.txt b/generators/dvi/CMakeLists.txt
index 74112d0..d820fbe 100644
--- a/generators/dvi/CMakeLists.txt
+++ b/generators/dvi/CMakeLists.txt
@@ -57,4 +57,4 @@ endif (FREETYPE_FOUND)
########### install files ###############
install( FILES okularDvi.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
install( PROGRAMS okularApplication_dvi.desktop org.kde.mobile.okular_dvi.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
-
+install( FILES okular-dvi.metainfo.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
diff --git a/generators/dvi/okular-dvi.metainfo.xml b/generators/dvi/okular-dvi.metainfo.xml
new file mode 100644
index 0000000..3fd4c42
--- /dev/null
+++ b/generators/dvi/okular-dvi.metainfo.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="addon">
+ <id>okular-dvi</id>
+ <extends>org.kde.okular.desktop</extends>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0+ and GFDL-1.3</project_license>
+ <name>DVI Documents</name>
+ <summary>Adds support for reading DVI documents</summary>
+ <mimetypes>
+ <mimetype>application/x-dvi</mimetype>
+ <mimetype>application/x-gzdvi</mimetype>
+ <mimetype>application/x-dzdvi</mimetype>
+ </mimetypes>
+ <url type="homepage">https://okular.kde.org</url>
+</component>
diff --git a/generators/epub/CMakeLists.txt b/generators/epub/CMakeLists.txt
index 3f40b94..0f0c4c2 100644
--- a/generators/epub/CMakeLists.txt
+++ b/generators/epub/CMakeLists.txt
@@ -21,3 +21,5 @@ target_link_libraries(okularGenerator_epub okularcore ${EPUB_LIBRARIES} KF5::I18
########### install files ###############
install( FILES okularEPub.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
install( PROGRAMS okularApplication_epub.desktop org.kde.mobile.okular_epub.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
+install( FILES okular-epub.metainfo.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
+
diff --git a/generators/epub/okular-epub.metainfo.xml b/generators/epub/okular-epub.metainfo.xml
new file mode 100644
index 0000000..d120c9c
--- /dev/null
+++ b/generators/epub/okular-epub.metainfo.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="addon">
+ <id>okular-epub</id>
+ <extends>org.kde.okular.desktop</extends>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0+ and GFDL-1.3</project_license>
+ <name>EPub</name>
+ <summary>Adds support for reading E-Books</summary>
+ <mimetypes>
+ <mimetype>application/epub+zip</mimetype>
+ </mimetypes>
+ <url type="homepage">https://okular.kde.org</url>
+</component>
diff --git a/generators/fax/CMakeLists.txt b/generators/fax/CMakeLists.txt
index e682fb6..0942a8e 100644
--- a/generators/fax/CMakeLists.txt
+++ b/generators/fax/CMakeLists.txt
@@ -14,3 +14,4 @@ target_link_libraries(okularGenerator_fax okularcore KF5::I18n Qt5::Xml)
########### install files ###############
install( FILES okularFax.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
install( PROGRAMS okularApplication_fax.desktop org.kde.mobile.okular_fax.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
+install( FILES okular-fax.metainfo.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
diff --git a/generators/fax/okular-fax.metainfo.xml b/generators/fax/okular-fax.metainfo.xml
new file mode 100644
index 0000000..68a913f
--- /dev/null
+++ b/generators/fax/okular-fax.metainfo.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="addon">
+ <id>okular-fax</id>
+ <extends>org.kde.okular.desktop</extends>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0+ and GFDL-1.3</project_license>
+ <name>Fax</name>
+ <summary>Adds support for reading Fax documents</summary>
+ <mimetypes>
+ <mimetype>image/fax-g3</mimetype>
+ <mimetype>image/g3fax</mimetype>
+ </mimetypes>
+ <url type="homepage">https://okular.kde.org</url>
+</component>
diff --git a/generators/fictionbook/CMakeLists.txt b/generators/fictionbook/CMakeLists.txt
index f2ceaae..28497d6 100644
--- a/generators/fictionbook/CMakeLists.txt
+++ b/generators/fictionbook/CMakeLists.txt
@@ -20,5 +20,6 @@ target_link_libraries(okularGenerator_fb okularcore KF5::Archive KF5::I18n KF5::
########### install files ###############
install( FILES okularFb.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
install( PROGRAMS okularApplication_fb.desktop org.kde.mobile.okular_fb.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
+install( FILES okular-fb.metainfo.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
ecm_install_icons(ICONS 16-apps-okular-fb2.png 32-apps-okular-fb2.png 48-apps-okular-fb2.png DESTINATION ${KDE_INSTALL_DATADIR}/okular/icons THEME hicolor)
diff --git a/generators/fictionbook/okular-fb.metainfo.xml b/generators/fictionbook/okular-fb.metainfo.xml
new file mode 100644
index 0000000..59b507e
--- /dev/null
+++ b/generators/fictionbook/okular-fb.metainfo.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="addon">
+ <id>okular-fb</id>
+ <extends>org.kde.okular.desktop</extends>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0+ and GFDL-1.3</project_license>
+ <name>FictionBook</name>
+ <summary>Adds support for reading FictionBooks</summary>
+ <mimetypes>
+ <mimetype>application/x-fictionbook+xml</mimetype>
+ </mimetypes>
+ <url type="homepage">https://okular.kde.org</url>
+</component>
diff --git a/shell/CMakeLists.txt b/shell/CMakeLists.txt
index 84cbf2d..59a8d76 100644
--- a/shell/CMakeLists.txt
+++ b/shell/CMakeLists.txt
@@ -33,3 +33,4 @@ install(TARGETS okular ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
install( PROGRAMS org.kde.okular.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
install( FILES shell.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/okular )
+install( FILES org.kde.okular.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
diff --git a/shell/org.kde.okular.appdata.xml b/shell/org.kde.okular.appdata.xml
new file mode 100644
index 0000000..2c588b3
--- /dev/null
+++ b/shell/org.kde.okular.appdata.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop">
+ <id>org.kde.okular.desktop</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0+ and GFDL-1.3</project_license>
+ <name>Okular</name>
+ <summary>Document Viewer</summary>
+ <description>
+ <p>
+ Okular is a universal document viewer developed by KDE. Okular works on multiple platforms, including but not limited to Linux, Windows, Mac OS X, *BSD, etc.
+ </p>
+ <p>Features:</p>
+ <ul>
+ <li>Supported Formats: PDF, PS, Tiff, CHM, DjVu, Images, DVI, XPS, ODT, Fiction Book, Comic Book, Plucker, EPub, Fax</li>
+ <li>Sidebar with contents, thumbnails, reviews and bookmarks</li>
+ <li>Annotations support</li>
+ </ul>
+ </description>
+ <screenshots>
+ <screenshot type="default">
+ <image>https://www.kde.org/images/screenshots/okular.png</image>
+ </screenshot>
+ </screenshots>
+ <url type="homepage">https://okular.kde.org/</url>
+ <url type="bugtracker">https://bugs.kde.org/enter_bug.cgi?format=guided&amp;product=okular</url>
+ <project_group>KDE</project_group>
+ <provides>
+ <binary>okular</binary>
+ </provides>
+</component>