summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier CHURLAUD <olivier@churlaud.com>2016-07-21 18:26:06 (GMT)
committerOlivier CHURLAUD <olivier@churlaud.com>2016-07-21 18:26:06 (GMT)
commitdfae933ae926226c78decda7654057afb56afa9e (patch)
tree48fdf1e9b886204b0883a7a9fb7187d15d74a565
parent630269a400bd2fd1f5a49388d2d37b44f70b8d3b (diff)
Print preview is working again
-rw-r--r--generators/spectre/CMakeLists.txt4
-rw-r--r--generators/spectre/okularGhostview.desktop67
2 files changed, 69 insertions, 2 deletions
diff --git a/generators/spectre/CMakeLists.txt b/generators/spectre/CMakeLists.txt
index 89c52f5..47fc00f 100644
--- a/generators/spectre/CMakeLists.txt
+++ b/generators/spectre/CMakeLists.txt
@@ -1,4 +1,4 @@
-add_subdirectory( conf )
+add_subdirectory( conf )
include_directories(
${LIBSPECTRE_INCLUDE_DIR}
@@ -28,5 +28,5 @@ target_link_libraries(okularGenerator_ghostview okularcore ${LIBSPECTRE_LIBRARY}
########### install files ###############
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)
diff --git a/generators/spectre/okularGhostview.desktop b/generators/spectre/okularGhostview.desktop
new file mode 100644
index 0000000..d5bd725
--- /dev/null
+++ b/generators/spectre/okularGhostview.desktop
@@ -0,0 +1,67 @@
+[Desktop Entry]
+Icon=okular
+Name=Okular
+Name[ar]=اوكلار
+Name[ast]=Okular
+Name[bg]=Okular
+Name[bs]=Okular
+Name[ca]=Okular
+Name[ca@valencia]=Okular
+Name[cs]=Okular
+Name[da]=Okular
+Name[de]=Okular
+Name[el]=Okular
+Name[en_GB]=Okular
+Name[eo]=Okular
+Name[es]=Okular
+Name[et]=Okular
+Name[eu]=Okular
+Name[fi]=Okular
+Name[fr]=Okular
+Name[ga]=Okular
+Name[gl]=Okular
+Name[hne]=ओकुलर
+Name[hr]=Okular
+Name[hu]=Okular
+Name[ia]=Okular
+Name[is]=Okular
+Name[it]=Okular
+Name[ja]=Okular
+Name[kk]=Okular
+Name[km]=Okular
+Name[ko]=Okular
+Name[ku]=Okular
+Name[lt]=Okular
+Name[lv]=Okular
+Name[mr]=ओक्युलर
+Name[nb]=Okular
+Name[nds]=Okular
+Name[nl]=Okular
+Name[nn]=Okular
+Name[pa]=ਓਕੁਲਾਰ
+Name[pl]=Okular
+Name[pt]=Okular
+Name[pt_BR]=Okular
+Name[ro]=Okular
+Name[ru]=Okular
+Name[si]=Okular
+Name[sk]=Okular
+Name[sl]=Okular
+Name[sq]=Okular
+Name[sr]=Окулар
+Name[sr@ijekavian]=Окулар
+Name[sr@ijekavianlatin]=Okular
+Name[sr@latin]=Okular
+Name[sv]=Okular
+Name[th]=โอกูลาร์
+Name[tr]=Okular
+Name[ug]=Okular
+Name[uk]=Okular
+Name[x-test]=xxOkularxx
+Name[zh_CN]=Okular
+Name[zh_TW]=文件檢視_Okular
+X-KDE-ServiceTypes=KParts/ReadOnlyPart
+X-KDE-Library=okularpart
+InitialPreference=6
+Type=Service
+MimeType=application/postscript;image/x-eps;application/x-gzpostscript;application/x-bzpostscript;image/x-gzeps;image/x-bzeps;