summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBurkhard Lück <lueck@hube-lueck.de>2016-11-09 10:30:19 (GMT)
committerBurkhard Lück <lueck@hube-lueck.de>2016-11-09 10:30:19 (GMT)
commit4b7455396ef70eb40f3ccae93604f4d118cc8609 (patch)
treec99eeaccc5a8dc0cda080d1471f8cfa85bf4e7ff
parent66cba6e293a4de6cbb5ac2a7a263909c98457239 (diff)
add metadata for kimgio, mobipocket, ooo, plucker, poppler, spectre, txt, xps
REVIEW:129347 BUG:363842
-rw-r--r--generators/kimgio/CMakeLists.txt1
-rw-r--r--generators/kimgio/org.kde.okular-kimgio.metainfo.xml36
-rw-r--r--generators/mobipocket/CMakeLists.txt1
-rw-r--r--generators/mobipocket/org.kde.okular-mobipocket.metainfo.xml36
-rw-r--r--generators/ooo/CMakeLists.txt2
-rw-r--r--generators/ooo/org.kde.okular-ooo.metainfo.xml13
-rw-r--r--generators/plucker/CMakeLists.txt1
-rw-r--r--generators/plucker/org.kde.okular-plucker.metainfo.xml13
-rw-r--r--generators/poppler/CMakeLists.txt2
-rw-r--r--generators/poppler/org.kde.okular-poppler.metainfo.xml16
-rw-r--r--generators/spectre/CMakeLists.txt1
-rw-r--r--generators/spectre/org.kde.okular-spectre.metainfo.xml18
-rw-r--r--generators/tiff/CMakeLists.txt1
-rw-r--r--generators/tiff/org.kde.okular-tiff.metainfo.xml13
-rw-r--r--generators/txt/CMakeLists.txt1
-rw-r--r--generators/txt/org.kde.okular-txt.metainfo.xml13
-rw-r--r--generators/xps/CMakeLists.txt2
-rw-r--r--generators/xps/org.kde.okular-xps.metainfo.xml13
18 files changed, 180 insertions, 3 deletions
diff --git a/generators/kimgio/CMakeLists.txt b/generators/kimgio/CMakeLists.txt
index 9ac7aeb..aeac0af 100644
--- a/generators/kimgio/CMakeLists.txt
+++ b/generators/kimgio/CMakeLists.txt
@@ -18,3 +18,4 @@ target_compile_definitions(kimgiotest PRIVATE -DGENERATOR_PATH="$<TARGET_FILE:ok
########### install files ###############
install( FILES okularKimgio.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
install( PROGRAMS okularApplication_kimgio.desktop org.kde.mobile.okular_kimgio.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
+install( FILES org.kde.okular-kimgio.metainfo.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
diff --git a/generators/kimgio/org.kde.okular-kimgio.metainfo.xml b/generators/kimgio/org.kde.okular-kimgio.metainfo.xml
new file mode 100644
index 0000000..62d2337
--- /dev/null
+++ b/generators/kimgio/org.kde.okular-kimgio.metainfo.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component type="addon">
+ <id>org.kde.okular-kimgio</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>Images</name>
+ <summary>Adds support for reading many image formats</summary>
+ <mimetypes>
+ <mimetype>image/bmp</mimetype>
+ <mimetype>image/x-dds</mimetype>
+ <mimetype>image/x-eps</mimetype>
+ <mimetype>image/x-exr</mimetype>
+ <mimetype>image/gif</mimetype>
+ <mimetype>image/x-hdr</mimetype>
+ <mimetype>image/x-ico</mimetype>
+ <mimetype>image/jp2</mimetype>
+ <mimetype>image/jpeg</mimetype>
+ <mimetype>video/x-mng</mimetype>
+ <mimetype>image/x-portable-bitmap</mimetype>
+ <mimetype>image/x-pcx</mimetype>
+ <mimetype>image/x-portable-graymap</mimetype>
+ <mimetype>image/png</mimetype>
+ <mimetype>image/x-portable-pixmap</mimetype>
+ <mimetype>image/x-psd</mimetype>
+ <mimetype>image/x-rgb</mimetype>
+ <mimetype>image/x-tga</mimetype>
+ <mimetype>image/tiff</mimetype>
+ <mimetype>image/x-xbitmap</mimetype>
+ <mimetype>image/x-xcf</mimetype>
+ <mimetype>image/x-xpixmap</mimetype>
+ <mimetype>image/x-gzeps</mimetype>
+ <mimetype>image/x-bzeps</mimetype>
+ </mimetypes>
+ <url type="homepage">https://okular.kde.org</url>
+</component>
diff --git a/generators/mobipocket/CMakeLists.txt b/generators/mobipocket/CMakeLists.txt
index 059dd35..0a2aeb8 100644
--- a/generators/mobipocket/CMakeLists.txt
+++ b/generators/mobipocket/CMakeLists.txt
@@ -13,3 +13,4 @@ target_link_libraries(okularGenerator_mobi okularcore qmobipocket KF5::I18n Qt5:
########### install files ###############
install( FILES okularMobi.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
install( PROGRAMS okularApplication_mobi.desktop org.kde.mobile.okular_mobi.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
+install( FILES org.kde.okular-mobipocket.metainfo.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
diff --git a/generators/mobipocket/org.kde.okular-mobipocket.metainfo.xml b/generators/mobipocket/org.kde.okular-mobipocket.metainfo.xml
new file mode 100644
index 0000000..b72fb8e
--- /dev/null
+++ b/generators/mobipocket/org.kde.okular-mobipocket.metainfo.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component type="addon">
+ <id>org.kde.okular-mobipocket</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>Mobipocket</name>
+ <summary>Adds support for reading Mobipocket E-books</summary>
+ <mimetypes>
+ <mimetype>image/bmp</mimetype>
+ <mimetype>image/x-dds</mimetype>
+ <mimetype>image/x-eps</mimetype>
+ <mimetype>image/x-exr</mimetype>
+ <mimetype>image/gif</mimetype>
+ <mimetype>image/x-hdr</mimetype>
+ <mimetype>image/x-ico</mimetype>
+ <mimetype>image/jp2</mimetype>
+ <mimetype>image/jpeg</mimetype>
+ <mimetype>video/x-mng</mimetype>
+ <mimetype>image/x-portable-bitmap</mimetype>
+ <mimetype>image/x-pcx</mimetype>
+ <mimetype>image/x-portable-graymap</mimetype>
+ <mimetype>image/png</mimetype>
+ <mimetype>image/x-portable-pixmap</mimetype>
+ <mimetype>image/x-psd</mimetype>
+ <mimetype>image/x-rgb</mimetype>
+ <mimetype>image/x-tga</mimetype>
+ <mimetype>image/tiff</mimetype>
+ <mimetype>image/x-xbitmap</mimetype>
+ <mimetype>image/x-xcf</mimetype>
+ <mimetype>image/x-xpixmap</mimetype>
+ <mimetype>image/x-gzeps</mimetype>
+ <mimetype>image/x-bzeps</mimetype>
+ </mimetypes>
+ <url type="homepage">https://okular.kde.org</url>
+</component>
diff --git a/generators/ooo/CMakeLists.txt b/generators/ooo/CMakeLists.txt
index 86726d1..3154b78 100644
--- a/generators/ooo/CMakeLists.txt
+++ b/generators/ooo/CMakeLists.txt
@@ -34,4 +34,4 @@ endif ()
########### install files ###############
install( FILES okularOoo.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
install( PROGRAMS okularApplication_ooo.desktop org.kde.mobile.okular_ooo.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
-
+install( FILES org.kde.okular-ooo.metainfo.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
diff --git a/generators/ooo/org.kde.okular-ooo.metainfo.xml b/generators/ooo/org.kde.okular-ooo.metainfo.xml
new file mode 100644
index 0000000..a2f41a1
--- /dev/null
+++ b/generators/ooo/org.kde.okular-ooo.metainfo.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component type="addon">
+ <id>org.kde.okular-ooo</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>OpenDocument</name>
+ <summary>Adds support for reading opendocument text files</summary>
+ <mimetypes>
+ <mimetype>application/vnd.oasis.opendocument.text</mimetype>
+ </mimetypes>
+ <url type="homepage">https://okular.kde.org</url>
+</component>
diff --git a/generators/plucker/CMakeLists.txt b/generators/plucker/CMakeLists.txt
index 708f0af..ecae298 100644
--- a/generators/plucker/CMakeLists.txt
+++ b/generators/plucker/CMakeLists.txt
@@ -26,3 +26,4 @@ target_link_libraries(okularGenerator_plucker okularcore KF5::KIOCore KF5::I18n
########### install files ###############
install( FILES okularPlucker.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
install( PROGRAMS okularApplication_plucker.desktop org.kde.mobile.okular_plucker.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
+install( FILES org.kde.okular-plucker.metainfo.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
diff --git a/generators/plucker/org.kde.okular-plucker.metainfo.xml b/generators/plucker/org.kde.okular-plucker.metainfo.xml
new file mode 100644
index 0000000..851768c
--- /dev/null
+++ b/generators/plucker/org.kde.okular-plucker.metainfo.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component type="addon">
+ <id>org.kde.okular-plucker</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>Plucker</name>
+ <summary>Adds support for reading plucker documents</summary>
+ <mimetypes>
+ <mimetype>application/prs.plucker</mimetype>
+ </mimetypes>
+ <url type="homepage">https://okular.kde.org</url>
+</component>
diff --git a/generators/poppler/CMakeLists.txt b/generators/poppler/CMakeLists.txt
index b31c36b..3e0c935 100644
--- a/generators/poppler/CMakeLists.txt
+++ b/generators/poppler/CMakeLists.txt
@@ -46,4 +46,4 @@ target_link_libraries(okularGenerator_poppler okularcore KF5::I18n KF5::Completi
########### install files ###############
install( FILES okularPoppler.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
install( PROGRAMS okularApplication_pdf.desktop org.kde.mobile.okular_pdf.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
-
+install( FILES org.kde.okular-poppler.metainfo.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
diff --git a/generators/poppler/org.kde.okular-poppler.metainfo.xml b/generators/poppler/org.kde.okular-poppler.metainfo.xml
new file mode 100644
index 0000000..e22d9dc
--- /dev/null
+++ b/generators/poppler/org.kde.okular-poppler.metainfo.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component type="addon">
+ <id>org.kde.okular-poppler</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>PDF</name>
+ <summary>Adds support for reading PDF documents</summary>
+ <mimetypes>
+ <mimetype>application/pdf</mimetype>
+ <mimetype>application/x-gzpdf</mimetype>
+ <mimetype>application/x-bzpdf</mimetype>
+ <mimetype>application/x-wwf</mimetype>
+ </mimetypes>
+ <url type="homepage">https://okular.kde.org</url>
+</component>
diff --git a/generators/spectre/CMakeLists.txt b/generators/spectre/CMakeLists.txt
index 47fc00f..e0fdb36 100644
--- a/generators/spectre/CMakeLists.txt
+++ b/generators/spectre/CMakeLists.txt
@@ -30,3 +30,4 @@ target_link_libraries(okularGenerator_ghostview okularcore ${LIBSPECTRE_LIBRARY}
install( PROGRAMS okularApplication_ghostview.desktop org.kde.mobile.okular_ghostview.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
install( FILES okularGhostview.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
ecm_install_icons(ICONS 16-apps-okular-gv.png 32-apps-okular-gv.png DESTINATION ${KDE_INSTALL_DATADIR}/okular/icons)
+install( FILES org.kde.okular-spectre.metainfo.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
diff --git a/generators/spectre/org.kde.okular-spectre.metainfo.xml b/generators/spectre/org.kde.okular-spectre.metainfo.xml
new file mode 100644
index 0000000..ab3f28f
--- /dev/null
+++ b/generators/spectre/org.kde.okular-spectre.metainfo.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component type="addon">
+ <id>org.kde.okular-spectre</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>PostScript</name>
+ <summary>Adds support for reading PostScript documents</summary>
+ <mimetypes>
+ <mimetype>application/postscript</mimetype>
+ <mimetype>image/x-eps</mimetype>
+ <mimetype>application/x-gzpostscript</mimetype>
+ <mimetype>application/x-bzpostscript</mimetype>
+ <mimetype>image/x-gzeps</mimetype>
+ <mimetype>image/x-bzepsapplication/pdf</mimetype>
+ </mimetypes>
+ <url type="homepage">https://okular.kde.org</url>
+</component>
diff --git a/generators/tiff/CMakeLists.txt b/generators/tiff/CMakeLists.txt
index 31349ec..cabcec3 100644
--- a/generators/tiff/CMakeLists.txt
+++ b/generators/tiff/CMakeLists.txt
@@ -16,3 +16,4 @@ target_link_libraries(okularGenerator_tiff okularcore ${TIFF_LIBRARIES} KF5::I18
########### install files ###############
install( FILES okularTiff.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
install( PROGRAMS okularApplication_tiff.desktop org.kde.mobile.okular_tiff.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
+install( FILES org.kde.okular-tiff.metainfo.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
diff --git a/generators/tiff/org.kde.okular-tiff.metainfo.xml b/generators/tiff/org.kde.okular-tiff.metainfo.xml
new file mode 100644
index 0000000..6817af7
--- /dev/null
+++ b/generators/tiff/org.kde.okular-tiff.metainfo.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component type="addon">
+ <id>org.kde.okular-tiff</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>Tiff</name>
+ <summary>Adds support for reading Tiff documents</summary>
+ <mimetypes>
+ <mimetype>image/tiff</mimetype>
+ </mimetypes>
+ <url type="homepage">https://okular.kde.org</url>
+</component>
diff --git a/generators/txt/CMakeLists.txt b/generators/txt/CMakeLists.txt
index 202a3f9..f13d521 100644
--- a/generators/txt/CMakeLists.txt
+++ b/generators/txt/CMakeLists.txt
@@ -18,3 +18,4 @@ target_link_libraries(okularGenerator_txt okularcore Qt5::Core KF5::I18n)
########### install files ###############
install( FILES okularTxt.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
install( PROGRAMS okularApplication_txt.desktop org.kde.mobile.okular_txt.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
+install( FILES org.kde.okular-txt.metainfo.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
diff --git a/generators/txt/org.kde.okular-txt.metainfo.xml b/generators/txt/org.kde.okular-txt.metainfo.xml
new file mode 100644
index 0000000..51f347a
--- /dev/null
+++ b/generators/txt/org.kde.okular-txt.metainfo.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component type="addon">
+ <id>org.kde.okular-txt</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>Text</name>
+ <summary>Adds support for reading plain text documents</summary>
+ <mimetypes>
+ <mimetype>text/plain</mimetype>
+ </mimetypes>
+ <url type="homepage">https://okular.kde.org</url>
+</component>
diff --git a/generators/xps/CMakeLists.txt b/generators/xps/CMakeLists.txt
index 32e24d0..67ccc2e 100644
--- a/generators/xps/CMakeLists.txt
+++ b/generators/xps/CMakeLists.txt
@@ -16,4 +16,4 @@ target_link_libraries(okularGenerator_xps okularcore KF5::Archive KF5::I18n KF5:
########### install files ###############
install( FILES okularXps.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
install( PROGRAMS okularApplication_xps.desktop org.kde.mobile.okular_xps.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
-
+install( FILES org.kde.okular-xps.metainfo.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
diff --git a/generators/xps/org.kde.okular-xps.metainfo.xml b/generators/xps/org.kde.okular-xps.metainfo.xml
new file mode 100644
index 0000000..f39f704
--- /dev/null
+++ b/generators/xps/org.kde.okular-xps.metainfo.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component type="addon">
+ <id>org.kde.okular-xps</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>XPS</name>
+ <summary>Adds support for reading XPS documents</summary>
+ <mimetypes>
+ <mimetype>text/plain</mimetype>
+ </mimetypes>
+ <url type="homepage">https://okular.kde.org</url>
+</component>