mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-25 02:45:38 +00:00
Each plugin installs a application desktop so that the supported mimetypes are exactly the ones supported by the plugins installed
svn path=/trunk/KDE/kdegraphics/okular/; revision=651194
This commit is contained in:
parent
e46e391e7d
commit
55a67a082e
|
@ -36,4 +36,5 @@ install(TARGETS okularGenerator_chmlib DESTINATION ${PLUGIN_INSTALL_DIR})
|
|||
########### install files ###############
|
||||
|
||||
install( FILES libokularGenerator_chmlib.desktop okularChm.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
install( FILES okularApplication_chm.desktop DESTINATION ${XDG_APPS_DIR} )
|
||||
|
||||
|
|
13
generators/chm/okularApplication_chm.desktop
Normal file
13
generators/chm/okularApplication_chm.desktop
Normal file
|
@ -0,0 +1,13 @@
|
|||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
MimeType=application/x-chm
|
||||
Terminal=false
|
||||
Name=okular
|
||||
GenericName=Document Viewer
|
||||
Exec=okular %U %i -caption "%c"
|
||||
Icon=okular
|
||||
Type=Application
|
||||
DocPath=okular/index.html
|
||||
InitialPreference=7
|
||||
Categories=Qt;KDE;Graphics;Viewer;
|
||||
NoDisplay=true
|
|
@ -23,4 +23,5 @@ install(TARGETS okularGenerator_comicbook DESTINATION ${PLUGIN_INSTALL_DIR})
|
|||
########### install files ###############
|
||||
|
||||
install( FILES libokularGenerator_comicbook.desktop okularComicbook.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
install( FILES okularApplication_comicbook.desktop DESTINATION ${XDG_APPS_DIR} )
|
||||
|
||||
|
|
13
generators/comicbook/okularApplication_comicbook.desktop
Normal file
13
generators/comicbook/okularApplication_comicbook.desktop
Normal file
|
@ -0,0 +1,13 @@
|
|||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
MimeType=application/x-cbz;application/x-cbr;
|
||||
Terminal=false
|
||||
Name=okular
|
||||
GenericName=Document Viewer
|
||||
Exec=okular %U %i -caption "%c"
|
||||
Icon=okular
|
||||
Type=Application
|
||||
DocPath=okular/index.html
|
||||
InitialPreference=7
|
||||
Categories=Qt;KDE;Graphics;Viewer;
|
||||
NoDisplay=true
|
|
@ -24,5 +24,6 @@ install(TARGETS okularGenerator_djvu DESTINATION ${PLUGIN_INSTALL_DIR})
|
|||
########### install files ###############
|
||||
|
||||
install( FILES libokularGenerator_djvu.desktop okularDjvu.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
install( FILES okularApplication_djvu.desktop DESTINATION ${XDG_APPS_DIR} )
|
||||
|
||||
|
||||
|
|
13
generators/djvu/okularApplication_djvu.desktop
Normal file
13
generators/djvu/okularApplication_djvu.desktop
Normal file
|
@ -0,0 +1,13 @@
|
|||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
MimeType=image/vnd.djvu
|
||||
Terminal=false
|
||||
Name=okular
|
||||
GenericName=Document Viewer
|
||||
Exec=okular %U %i -caption "%c"
|
||||
Icon=okular
|
||||
Type=Application
|
||||
DocPath=okular/index.html
|
||||
InitialPreference=7
|
||||
Categories=Qt;KDE;Graphics;Viewer;
|
||||
NoDisplay=true
|
|
@ -61,4 +61,5 @@ install(TARGETS okularGenerator_dvi DESTINATION ${PLUGIN_INSTALL_DIR})
|
|||
########### install files ###############
|
||||
|
||||
install( FILES libokularGenerator_dvi.desktop okularDvi.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
install( FILES okularApplication_dvi.desktop DESTINATION ${XDG_APPS_DIR} )
|
||||
|
||||
|
|
13
generators/dvi/okularApplication_dvi.desktop
Normal file
13
generators/dvi/okularApplication_dvi.desktop
Normal file
|
@ -0,0 +1,13 @@
|
|||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
MimeType=application/x-dvi
|
||||
Terminal=false
|
||||
Name=okular
|
||||
GenericName=Document Viewer
|
||||
Exec=okular %U %i -caption "%c"
|
||||
Icon=okular
|
||||
Type=Application
|
||||
DocPath=okular/index.html
|
||||
InitialPreference=7
|
||||
Categories=Qt;KDE;Graphics;Viewer;
|
||||
NoDisplay=true
|
|
@ -24,3 +24,4 @@ install(TARGETS okularGenerator_fb DESTINATION ${PLUGIN_INSTALL_DIR})
|
|||
########### install files ###############
|
||||
|
||||
install( FILES libokularGenerator_fb.desktop okularFb.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
install( FILES okularApplication_fb.desktop DESTINATION ${XDG_APPS_DIR} )
|
||||
|
|
13
generators/fictionbook/okularApplication_fb.desktop
Normal file
13
generators/fictionbook/okularApplication_fb.desktop
Normal file
|
@ -0,0 +1,13 @@
|
|||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
MimeType=application/x-fb
|
||||
Terminal=false
|
||||
Name=okular
|
||||
GenericName=Document Viewer
|
||||
Exec=okular %U %i -caption "%c"
|
||||
Icon=okular
|
||||
Type=Application
|
||||
DocPath=okular/index.html
|
||||
InitialPreference=7
|
||||
Categories=Qt;KDE;Graphics;Viewer;
|
||||
NoDisplay=true
|
|
@ -53,4 +53,5 @@ install(TARGETS okularGenerator_ghostview DESTINATION ${PLUGIN_INSTALL_DIR})
|
|||
########### install files ###############
|
||||
|
||||
install( FILES libokularGenerator_ghostview.desktop okularGhostview.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
install( FILES okularApplication_ghostview.desktop DESTINATION ${XDG_APPS_DIR} )
|
||||
|
||||
|
|
13
generators/ghostview/okularApplication_ghostview.desktop
Normal file
13
generators/ghostview/okularApplication_ghostview.desktop
Normal file
|
@ -0,0 +1,13 @@
|
|||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
MimeType=application/postscript;image/x-eps;
|
||||
Terminal=false
|
||||
Name=okular
|
||||
GenericName=Document Viewer
|
||||
Exec=okular %U %i -caption "%c"
|
||||
Icon=okular
|
||||
Type=Application
|
||||
DocPath=okular/index.html
|
||||
InitialPreference=7
|
||||
Categories=Qt;KDE;Graphics;Viewer;
|
||||
NoDisplay=true
|
|
@ -19,4 +19,5 @@ install(TARGETS okularGenerator_kimgio DESTINATION ${PLUGIN_INSTALL_DIR})
|
|||
########### install files ###############
|
||||
|
||||
install( FILES libokularGenerator_kimgio.desktop okularKimgio.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
install( FILES okularApplication_kimgio.desktop DESTINATION ${XDG_APPS_DIR} )
|
||||
|
||||
|
|
13
generators/kimgio/okularApplication_kimgio.desktop
Normal file
13
generators/kimgio/okularApplication_kimgio.desktop
Normal file
|
@ -0,0 +1,13 @@
|
|||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
MimeType=image/bmp;image/x-dds;image/x-eps;image/x-exr;image/gif;image/x-hdr;image/x-ico;image/jpeg2000;image/jpeg;video/x-mng;image/x-portable-bitmap;image/x-pcx;image/x-portable-graymap;image/png;image/x-portable-pixmap;image/x-psd;image/x-rgb;image/x-tga;image/tiff;image/x-xbitmap;image/x-xcf;image/x-xpixmap;
|
||||
Terminal=false
|
||||
Name=okular
|
||||
GenericName=Document Viewer
|
||||
Exec=okular %U %i -caption "%c"
|
||||
Icon=okular
|
||||
Type=Application
|
||||
DocPath=okular/index.html
|
||||
InitialPreference=7
|
||||
Categories=Qt;KDE;Graphics;Viewer;
|
||||
NoDisplay=true
|
|
@ -27,4 +27,5 @@ install(TARGETS okularGenerator_ooo DESTINATION ${PLUGIN_INSTALL_DIR})
|
|||
########### install files ###############
|
||||
|
||||
install( FILES libokularGenerator_ooo.desktop okularOoo.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
install( FILES okularApplication_ooo.desktop DESTINATION ${XDG_APPS_DIR} )
|
||||
|
||||
|
|
13
generators/ooo/okularApplication_ooo.desktop
Normal file
13
generators/ooo/okularApplication_ooo.desktop
Normal file
|
@ -0,0 +1,13 @@
|
|||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
MimeType=application/vnd.oasis.opendocument.text
|
||||
Terminal=false
|
||||
Name=okular
|
||||
GenericName=Document Viewer
|
||||
Exec=okular %U %i -caption "%c"
|
||||
Icon=okular
|
||||
Type=Application
|
||||
DocPath=okular/index.html
|
||||
InitialPreference=7
|
||||
Categories=Qt;KDE;Graphics;Viewer;
|
||||
NoDisplay=true
|
|
@ -31,4 +31,5 @@ install(TARGETS okularGenerator_plucker DESTINATION ${PLUGIN_INSTALL_DIR})
|
|||
########### install files ###############
|
||||
|
||||
install( FILES libokularGenerator_plucker.desktop okularPlucker.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
install( FILES okularApplication_plucker.desktop DESTINATION ${XDG_APPS_DIR} )
|
||||
|
||||
|
|
13
generators/plucker/okularApplication_plucker.desktop
Normal file
13
generators/plucker/okularApplication_plucker.desktop
Normal file
|
@ -0,0 +1,13 @@
|
|||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
MimeType=application/prs.plucker
|
||||
Terminal=false
|
||||
Name=okular
|
||||
GenericName=Document Viewer
|
||||
Exec=okular %U %i -caption "%c"
|
||||
Icon=okular
|
||||
Type=Application
|
||||
DocPath=okular/index.html
|
||||
InitialPreference=7
|
||||
Categories=Qt;KDE;Graphics;Viewer;
|
||||
NoDisplay=true
|
|
@ -30,4 +30,5 @@ install(TARGETS okularGenerator_poppler DESTINATION ${PLUGIN_INSTALL_DIR})
|
|||
########### install files ###############
|
||||
|
||||
install( FILES libokularGenerator_poppler.desktop okularPoppler.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
install( FILES okularApplication_pdf.desktop DESTINATION ${XDG_APPS_DIR} )
|
||||
|
||||
|
|
13
generators/poppler/okularApplication_pdf.desktop
Normal file
13
generators/poppler/okularApplication_pdf.desktop
Normal file
|
@ -0,0 +1,13 @@
|
|||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
MimeType=application/pdf
|
||||
Terminal=false
|
||||
Name=okular
|
||||
GenericName=Document Viewer
|
||||
Exec=okular %U %i -caption "%c"
|
||||
Icon=okular
|
||||
Type=Application
|
||||
DocPath=okular/index.html
|
||||
InitialPreference=7
|
||||
Categories=Qt;KDE;Graphics;Viewer;
|
||||
NoDisplay=true
|
|
@ -22,4 +22,5 @@ install(TARGETS okularGenerator_tiff DESTINATION ${PLUGIN_INSTALL_DIR})
|
|||
########### install files ###############
|
||||
|
||||
install( FILES libokularGenerator_tiff.desktop okularTiff.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
install( FILES okularApplication_tiff.desktop DESTINATION ${XDG_APPS_DIR} )
|
||||
|
||||
|
|
13
generators/tiff/okularApplication_tiff.desktop
Normal file
13
generators/tiff/okularApplication_tiff.desktop
Normal file
|
@ -0,0 +1,13 @@
|
|||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
MimeType=image/tiff
|
||||
Terminal=false
|
||||
Name=okular
|
||||
GenericName=Document Viewer
|
||||
Exec=okular %U %i -caption "%c"
|
||||
Icon=okular
|
||||
Type=Application
|
||||
DocPath=okular/index.html
|
||||
InitialPreference=7
|
||||
Categories=Qt;KDE;Graphics;Viewer;
|
||||
NoDisplay=true
|
|
@ -20,5 +20,6 @@ install(TARGETS okularGenerator_xps DESTINATION ${PLUGIN_INSTALL_DIR})
|
|||
|
||||
########### install files ###############
|
||||
|
||||
install( FILES libokularGenerator_xps.desktop okularXps.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
install( FILES libokularGenerator_xps.desktop okularXps.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
install( FILES okularApplication_xps.desktop DESTINATION ${XDG_APPS_DIR} )
|
||||
|
||||
|
|
13
generators/xps/okularApplication_xps.desktop
Normal file
13
generators/xps/okularApplication_xps.desktop
Normal file
|
@ -0,0 +1,13 @@
|
|||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
MimeType=application/vnd.ms-xpsdocument
|
||||
Terminal=false
|
||||
Name=okular
|
||||
GenericName=Document Viewer
|
||||
Exec=okular %U %i -caption "%c"
|
||||
Icon=okular
|
||||
Type=Application
|
||||
DocPath=okular/index.html
|
||||
InitialPreference=7
|
||||
Categories=Qt;KDE;Graphics;Viewer;
|
||||
NoDisplay=true
|
|
@ -1,6 +1,5 @@
|
|||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
MimeType=application/pdf
|
||||
Terminal=false
|
||||
Name=okular
|
||||
GenericName=Document Viewer
|
||||
|
@ -14,4 +13,3 @@ Type=Application
|
|||
DocPath=okular/index.html
|
||||
InitialPreference=7
|
||||
Categories=Qt;KDE;Graphics;Viewer;
|
||||
|
||||
|
|
Loading…
Reference in a new issue