summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederik Gladhorn <gladhorn@kde.org>2014-08-13 19:09:19 (GMT)
committerFrederik Gladhorn <gladhorn@kde.org>2014-08-13 19:09:19 (GMT)
commit24f7054c9e0ee0313687287538614dbc8e3960d6 (patch)
tree0dd0e2a834f0ac242144a1bc0649c3f6399b6e35
parent46cf7e46a5c406ebe6e20c77105d5daf0ca94f5d (diff)
Bring back txt generator
-rw-r--r--generators/CMakeLists.txt2
-rw-r--r--generators/txt/CMakeLists.txt4
-rw-r--r--generators/txt/libokularGenerator_txt.desktop95
3 files changed, 98 insertions, 3 deletions
diff --git a/generators/CMakeLists.txt b/generators/CMakeLists.txt
index 5f8f29f..d1144db 100644
--- a/generators/CMakeLists.txt
+++ b/generators/CMakeLists.txt
@@ -124,7 +124,7 @@ if(EPUB_FOUND)
add_subdirectory(epub)
endif(EPUB_FOUND)
-#add_subdirectory(txt)
+add_subdirectory(txt)
#if(QMOBIPOCKET_FOUND)
# add_subdirectory(mobipocket)
diff --git a/generators/txt/CMakeLists.txt b/generators/txt/CMakeLists.txt
index d798cc5..3a69202 100644
--- a/generators/txt/CMakeLists.txt
+++ b/generators/txt/CMakeLists.txt
@@ -12,9 +12,9 @@ set(okularGenerator_txt_SRCS
)
-kde4_add_plugin(okularGenerator_txt ${okularGenerator_txt_SRCS})
+add_library(okularGenerator_txt MODULE ${okularGenerator_txt_SRCS})
-target_link_libraries(okularGenerator_txt okularcore ${KDE4_KDECORE_LIBS} ${KDE4_KDEUI_LIBS} ${QT_QTGUI_LIBRARY})
+target_link_libraries(okularGenerator_txt okularcore Qt5::Core)
install(TARGETS okularGenerator_txt DESTINATION ${PLUGIN_INSTALL_DIR})
diff --git a/generators/txt/libokularGenerator_txt.desktop b/generators/txt/libokularGenerator_txt.desktop
new file mode 100644
index 0000000..24fdc2e
--- /dev/null
+++ b/generators/txt/libokularGenerator_txt.desktop
@@ -0,0 +1,95 @@
+[Desktop Entry]
+Type=Service
+Name=txt
+Name[bg]=txt
+Name[bs]=txt
+Name[ca]=txt
+Name[ca@valencia]=txt
+Name[cs]=txt
+Name[da]=txt
+Name[de]=Text
+Name[el]=txt
+Name[en_GB]=txt
+Name[es]=txt
+Name[et]=txt
+Name[fi]=txt
+Name[fr]=txt
+Name[gl]=txt
+Name[hu]=txt
+Name[ia]=txt
+Name[is]=txt
+Name[it]=testo
+Name[kk]=txt
+Name[ko]=txt
+Name[lt]=txt
+Name[mr]=txt
+Name[nb]=tekst
+Name[nds]=TXT
+Name[nl]=tekst
+Name[pa]=txt
+Name[pl]=txt
+Name[pt]=txt
+Name[pt_BR]=txt
+Name[ru]=txt
+Name[sk]=txt
+Name[sl]=txt
+Name[sr]=обични текст
+Name[sr@ijekavian]=обични текст
+Name[sr@ijekavianlatin]=obični tekst
+Name[sr@latin]=obični tekst
+Name[sv]=txt
+Name[tr]=txt
+Name[ug]=txt
+Name[uk]=txt
+Name[x-test]=xxtxtxx
+Name[zh_CN]=txt
+Name[zh_TW]=txt
+Comment=Txt backend for Okular
+Comment[bg]=Текстово ядро за Okular
+Comment[bs]=Pozadina txt-a za Okular
+Comment[ca]=Dorsal de txt per a l'Okular
+Comment[ca@valencia]=Dorsal de txt per a l'Okular
+Comment[cs]= Implementace Txt pro Okular
+Comment[da]=Txt-motor til Okular
+Comment[de]=Anzeigemodul für Text in Okular
+Comment[el]=Σύστημα υποστήριξης txt για το Okular
+Comment[en_GB]=Txt backend for Okular
+Comment[es]=Motor Txt para Okular
+Comment[et]=Okulari txt-i taustaprogramm
+Comment[fi]=TXT-taustaosa Okularille
+Comment[fr]=Moteur Txt pour Okular
+Comment[gl]=Infraestrutura de Txt para Okular
+Comment[hu]=Txt-bővítmény az Okularhoz
+Comment[ia]=Retro-administration per Txt pro Okular
+Comment[is]=TXT stuðningur fyrir Okular
+Comment[it]=Backend di testo semplice per Okular
+Comment[kk]=Okular-дың Txt тетігі
+Comment[ko]=Okular의 TXT 백엔드
+Comment[lt]=Txt programinė sąsaja, skirta Okular
+Comment[mr]=ओक्युलर करिता Txt बॅकएन्ड
+Comment[nb]=Txt-motor for Okular
+Comment[nds]=TXT-Hülpprogramm för Okular
+Comment[nl]=Tekst-backend voor Okular
+Comment[pa]=ਓਕੁਲਾਰ ਲਈ Txt ਬੈਕਐਂਡ
+Comment[pl]=Obsługa Txt dla Okulara
+Comment[pt]=Infra-estrutura de TXT para o Okular
+Comment[pt_BR]=Infraestrutura Txt para o Okular
+Comment[ru]=Модуль поддержки формата Txt для Okular
+Comment[sk]=Txt backend pre Okular
+Comment[sl]=Zaledje za txt za Okular
+Comment[sr]=Позадина обичног текста за Окулар
+Comment[sr@ijekavian]=Позадина обичног текста за Окулар
+Comment[sr@ijekavianlatin]=Pozadina običnog teksta za Okular
+Comment[sr@latin]=Pozadina običnog teksta za Okular
+Comment[sv]=Txt-gränssnitt för Okular
+Comment[tr]=Okular için txt arka ucu
+Comment[uk]=Додаток текстових файлів для Okular
+Comment[x-test]=xxTxt backend for Okularxx
+Comment[zh_CN]=Okular 的 Txt 格式后端
+Comment[zh_TW]=Okular txt 後端
+X-KDE-ServiceTypes=okular/Generator
+MimeType=text/plain;
+X-KDE-Library=okularGenerator_txt
+X-KDE-Priority=2
+X-KDE-okularAPIVersion=1
+X-KDE-okularHasInternalSettings=true