Browse Source

Simplify CMake rules for desktop file translations.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/93/head
Slávek Banko 3 months ago
parent
commit
42f3a62161
Signed by: SlavekB GPG Key ID: 608F5293A04BE668
65 changed files with 140 additions and 197 deletions
  1. +1
    -1
      interfaces/khexedit/CMakeLists.txt
  2. +1
    -1
      interfaces/kregexpeditor/CMakeLists.txt
  3. +1
    -1
      interfaces/kspeech/CMakeLists.txt
  4. +2
    -2
      interfaces/tdeimproxy/interface/CMakeLists.txt
  5. +4
    -7
      interfaces/tdemediaplayer/CMakeLists.txt
  6. +1
    -1
      interfaces/tdescript/CMakeLists.txt
  7. +1
    -1
      interfaces/tdescript/sample/CMakeLists.txt
  8. +5
    -8
      interfaces/tdetexteditor/CMakeLists.txt
  9. +1
    -1
      kate/data/CMakeLists.txt
  10. +1
    -1
      kate/plugins/insertfile/CMakeLists.txt
  11. +1
    -1
      kate/plugins/isearch/CMakeLists.txt
  12. +1
    -1
      kate/plugins/kdatatool/CMakeLists.txt
  13. +1
    -1
      kate/plugins/wordcompletion/CMakeLists.txt
  14. +1
    -1
      kate/scripts/CMakeLists.txt
  15. +5
    -7
      mimetypes/CMakeLists.txt
  16. +4
    -7
      mimetypes/application/CMakeLists.txt
  17. +4
    -7
      mimetypes/audio/CMakeLists.txt
  18. +4
    -7
      mimetypes/image/CMakeLists.txt
  19. +4
    -7
      mimetypes/inode/CMakeLists.txt
  20. +4
    -7
      mimetypes/message/CMakeLists.txt
  21. +4
    -7
      mimetypes/model/CMakeLists.txt
  22. +4
    -7
      mimetypes/multipart/CMakeLists.txt
  23. +4
    -7
      mimetypes/text/CMakeLists.txt
  24. +4
    -7
      mimetypes/uri/CMakeLists.txt
  25. +4
    -7
      mimetypes/video/CMakeLists.txt
  26. +2
    -2
      tdeabc/CMakeLists.txt
  27. +1
    -1
      tdeabc/formats/CMakeLists.txt
  28. +1
    -1
      tdeabc/plugins/dir/CMakeLists.txt
  29. +1
    -1
      tdeabc/plugins/file/CMakeLists.txt
  30. +1
    -1
      tdeabc/plugins/ldaptdeio/CMakeLists.txt
  31. +1
    -1
      tdeabc/plugins/net/CMakeLists.txt
  32. +1
    -1
      tdecore/CMakeLists.txt
  33. +1
    -1
      tdefile-plugins/elf/CMakeLists.txt
  34. +5
    -7
      tdehtml/CMakeLists.txt
  35. +1
    -1
      tdehtml/java/CMakeLists.txt
  36. +1
    -1
      tdehtml/tdemultipart/CMakeLists.txt
  37. +7
    -10
      tdeio/CMakeLists.txt
  38. +4
    -7
      tdeio/misc/CMakeLists.txt
  39. +2
    -2
      tdeio/misc/kpac/CMakeLists.txt
  40. +1
    -1
      tdeio/misc/kssld/CMakeLists.txt
  41. +1
    -1
      tdeio/misc/tdewalletd/CMakeLists.txt
  42. +1
    -1
      tdeio/tdefile/CMakeLists.txt
  43. +1
    -1
      tdeioslave/bzip2/CMakeLists.txt
  44. +1
    -1
      tdeioslave/file/CMakeLists.txt
  45. +1
    -1
      tdeioslave/ftp/CMakeLists.txt
  46. +1
    -1
      tdeioslave/gzip/CMakeLists.txt
  47. +4
    -7
      tdeioslave/http/CMakeLists.txt
  48. +1
    -1
      tdeioslave/http/kcookiejar/CMakeLists.txt
  49. +4
    -4
      tdeioslave/iso/CMakeLists.txt
  50. +1
    -1
      tdeioslave/metainfo/CMakeLists.txt
  51. +1
    -1
      tdeioslave/xz/CMakeLists.txt
  52. +4
    -7
      tdeparts/CMakeLists.txt
  53. +2
    -2
      tdeprint/CMakeLists.txt
  54. +1
    -1
      tdeprint/cups/CMakeLists.txt
  55. +1
    -1
      tdeprint/ext/CMakeLists.txt
  56. +4
    -7
      tdeprint/filters/CMakeLists.txt
  57. +1
    -1
      tdeprint/lpdunix/CMakeLists.txt
  58. +1
    -1
      tdeprint/lpr/CMakeLists.txt
  59. +1
    -1
      tdeprint/rlpr/CMakeLists.txt
  60. +1
    -1
      tdeprint/tools/escputil/CMakeLists.txt
  61. +6
    -8
      tderesources/CMakeLists.txt
  62. +1
    -1
      tdespell2/CMakeLists.txt
  63. +1
    -1
      tdespell2/plugins/aspell/CMakeLists.txt
  64. +1
    -1
      tdespell2/plugins/hspell/CMakeLists.txt
  65. +1
    -1
      tdespell2/plugins/ispell/CMakeLists.txt

+ 1
- 1
interfaces/khexedit/CMakeLists.txt View File

@@ -22,5 +22,5 @@ install( FILES
tde_create_translated_desktop(
SOURCE kbytesedit.desktop
DESTINATION ${SERVICETYPES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/interfaces-desktops
PO_DIR interfaces-desktops
)

+ 1
- 1
interfaces/kregexpeditor/CMakeLists.txt View File

@@ -20,5 +20,5 @@ install( FILES
tde_create_translated_desktop(
SOURCE kregexpeditor.desktop
DESTINATION ${SERVICETYPES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/interfaces-desktops
PO_DIR interfaces-desktops
)

+ 1
- 1
interfaces/kspeech/CMakeLists.txt View File

@@ -21,5 +21,5 @@ install( FILES
tde_create_translated_desktop(
SOURCE dcoptexttospeech.desktop
DESTINATION ${SERVICETYPES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/interfaces-desktops
PO_DIR interfaces-desktops
)

+ 2
- 2
interfaces/tdeimproxy/interface/CMakeLists.txt View File

@@ -21,11 +21,11 @@ install( FILES
tde_create_translated_desktop(
SOURCE kcm_instantmessenger.desktop
DESTINATION ${DATA_INSTALL_DIR}/kcm_componentchooser
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/interfaces-desktops
PO_DIR interfaces-desktops
)

tde_create_translated_desktop(
SOURCE dcopinstantmessenger.desktop
DESTINATION ${SERVICETYPES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/interfaces-desktops
PO_DIR interfaces-desktops
)

+ 4
- 7
interfaces/tdemediaplayer/CMakeLists.txt View File

@@ -38,16 +38,13 @@ install( FILES

##### other data ################################

foreach( _service
tde_create_translated_desktop(
SOURCE
tdemediaplayerengine.desktop
tdemediaplayer.desktop
DESTINATION ${SERVICETYPES_INSTALL_DIR}
PO_DIR interfaces-desktops
)
tde_create_translated_desktop(
SOURCE ${_service}
DESTINATION ${SERVICETYPES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/interfaces-desktops
)
endforeach()


##### tdemediaplayer ##############################


+ 1
- 1
interfaces/tdescript/CMakeLists.txt View File

@@ -40,7 +40,7 @@ install( FILES
tde_create_translated_desktop(
SOURCE scriptinterface.desktop
DESTINATION ${SERVICETYPES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/interfaces-desktops
PO_DIR interfaces-desktops
)




+ 1
- 1
interfaces/tdescript/sample/CMakeLists.txt View File

@@ -28,7 +28,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE shellscript.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/interfaces-desktops
PO_DIR interfaces-desktops
)




+ 5
- 8
interfaces/tdetexteditor/CMakeLists.txt View File

@@ -51,22 +51,19 @@ install( FILES

##### other data ################################

foreach( _service
tde_create_translated_desktop(
SOURCE
tdetexteditor.desktop
tdetexteditoreditor.desktop
tdetexteditorplugin.desktop
DESTINATION ${SERVICETYPES_INSTALL_DIR}
PO_DIR interfaces-desktops
)
tde_create_translated_desktop(
SOURCE ${_service}
DESTINATION ${SERVICETYPES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/interfaces-desktops
)
endforeach()

tde_create_translated_desktop(
SOURCE kcm_tdetexteditor.desktop
DESTINATION ${DATA_INSTALL_DIR}/kcm_componentchooser
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/interfaces-desktops
PO_DIR interfaces-desktops
)




+ 1
- 1
kate/data/CMakeLists.txt View File

@@ -14,7 +14,7 @@
tde_create_translated_desktop(
SOURCE katepart.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kate-desktops
PO_DIR kate-desktops
)

install( FILES


+ 1
- 1
kate/plugins/insertfile/CMakeLists.txt View File

@@ -32,7 +32,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE tdetexteditor_insertfile.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kate-desktops
PO_DIR kate-desktops
)

install( FILES tdetexteditor_insertfileui.rc DESTINATION ${DATA_INSTALL_DIR}/tdetexteditor_insertfile )


+ 1
- 1
kate/plugins/isearch/CMakeLists.txt View File

@@ -30,7 +30,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE tdetexteditor_isearch.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kate-desktops
PO_DIR kate-desktops
)

install( FILES tdetexteditor_isearchui.rc DESTINATION ${DATA_INSTALL_DIR}/tdetexteditor_isearch )


+ 1
- 1
kate/plugins/kdatatool/CMakeLists.txt View File

@@ -32,7 +32,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE tdetexteditor_kdatatool.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kate-desktops
PO_DIR kate-desktops
)

install( FILES tdetexteditor_kdatatoolui.rc DESTINATION ${DATA_INSTALL_DIR}/tdetexteditor_kdatatool )


+ 1
- 1
kate/plugins/wordcompletion/CMakeLists.txt View File

@@ -28,7 +28,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE tdetexteditor_docwordcompletion.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kate-desktops
PO_DIR kate-desktops
)

install( FILES docwordcompletionui.rc DESTINATION ${DATA_INSTALL_DIR}/tdetexteditor_docwordcompletion )


+ 1
- 1
kate/scripts/CMakeLists.txt View File

@@ -14,7 +14,7 @@
tde_create_translated_desktop(
SOURCE jstest.desktop
DESTINATION ${DATA_INSTALL_DIR}/katepart/scripts
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kate-desktops
PO_DIR kate-desktops
)

install( FILES


+ 5
- 7
mimetypes/CMakeLists.txt View File

@@ -22,10 +22,8 @@ add_subdirectory( uri )

##### other data ################################

foreach( _mimetype all.desktop allfiles.desktop )
tde_create_translated_desktop(
SOURCE ${_mimetype}
DESTINATION ${MIME_INSTALL_DIR}/all
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes
)
endforeach()
tde_create_translated_desktop(
SOURCE all.desktop allfiles.desktop
DESTINATION ${MIME_INSTALL_DIR}/all
PO_DIR mimetypes
)

+ 4
- 7
mimetypes/application/CMakeLists.txt View File

@@ -11,7 +11,8 @@

##### other data ################################

foreach( _mimetype
tde_create_translated_desktop(
SOURCE
x-dvi.desktop x-gzdvi.desktop x-bz2dvi.desktop
x-tex-gf.desktop x-gzip.desktop x-pak.desktop
x-object.desktop x-tex-pk.desktop pdf.desktop
@@ -103,13 +104,9 @@ foreach( _mimetype
vnd.ms-powerpoint.template.macroEnabled.12.desktop
vnd.ms-powerpoint.slideshow.macroEnabled.12.desktop
x-lzma.desktop x-tlzma.desktop x-lzip.desktop x-tlz.desktop x-txz.desktop x-xz.desktop
DESTINATION ${MIME_INSTALL_DIR}/application
PO_DIR mimetypes
)
tde_create_translated_desktop(
SOURCE ${_mimetype}
DESTINATION ${MIME_INSTALL_DIR}/application
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes
)
endforeach()

install( FILES uninstall.desktop DESTINATION ${MIME_INSTALL_DIR}/application RENAME x-applix.desktop )
install( FILES uninstall.desktop DESTINATION ${MIME_INSTALL_DIR}/application RENAME x-oowriter.desktop )


+ 4
- 7
mimetypes/audio/CMakeLists.txt View File

@@ -11,7 +11,8 @@

##### other data ################################

foreach( _mimetype
tde_create_translated_desktop(
SOURCE
x-wav.desktop x-mod.desktop x-midi.desktop
x-mp3.desktop x-mp2.desktop mp4.desktop mpeg.desktop
basic.desktop x-adpcm.desktop x-aiff.desktop
@@ -21,10 +22,6 @@ foreach( _mimetype
x-flac.desktop x-oggflac.desktop x-speex.desktop
x-matroska.desktop x-musepack.desktop
ac3.desktop aac.desktop x-ms-wma.desktop prs.sid.desktop
DESTINATION ${MIME_INSTALL_DIR}/audio
PO_DIR mimetypes
)
tde_create_translated_desktop(
SOURCE ${_mimetype}
DESTINATION ${MIME_INSTALL_DIR}/audio
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes
)
endforeach()

+ 4
- 7
mimetypes/image/CMakeLists.txt View File

@@ -11,7 +11,8 @@

##### other data ################################

foreach( _mimetype
tde_create_translated_desktop(
SOURCE
jpeg.desktop jpg.desktop tiff.desktop x-xpm.desktop x-xbm.desktop
svg+xml.desktop svg-xml.desktop png.desktop gif.desktop fax-g3.desktop cgm.desktop
x-bmp.desktop x-photo-cd.desktop x-eps.desktop x-ico.desktop
@@ -22,12 +23,8 @@ foreach( _mimetype
x-xcursor.desktop pjpeg.desktop x-exr.desktop
x-rgb.desktop x-dds.desktop x-djvu.desktop x-djvu-2.desktop x-hdr.desktop
fits.desktop x-raw.desktop
DESTINATION ${MIME_INSTALL_DIR}/image
PO_DIR mimetypes
)
tde_create_translated_desktop(
SOURCE ${_mimetype}
DESTINATION ${MIME_INSTALL_DIR}/image
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes
)
endforeach()

install( FILES uninstall.desktop DESTINATION ${MIME_INSTALL_DIR}/image RENAME wmf.desktop )

+ 4
- 7
mimetypes/inode/CMakeLists.txt View File

@@ -11,13 +11,10 @@

##### other data ################################

foreach( _mimetype
tde_create_translated_desktop(
SOURCE
block.desktop chardevice.desktop directory-locked.desktop
directory.desktop fifo.desktop socket.desktop
DESTINATION ${MIME_INSTALL_DIR}/inode
PO_DIR mimetypes
)
tde_create_translated_desktop(
SOURCE ${_mimetype}
DESTINATION ${MIME_INSTALL_DIR}/inode
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes
)
endforeach()

+ 4
- 7
mimetypes/message/CMakeLists.txt View File

@@ -11,12 +11,9 @@

##### other data ################################

foreach( _mimetype
tde_create_translated_desktop(
SOURCE
rfc822.desktop news.desktop
DESTINATION ${MIME_INSTALL_DIR}/message
PO_DIR mimetypes
)
tde_create_translated_desktop(
SOURCE ${_mimetype}
DESTINATION ${MIME_INSTALL_DIR}/message
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes
)
endforeach()

+ 4
- 7
mimetypes/model/CMakeLists.txt View File

@@ -11,12 +11,9 @@

##### other data ################################

foreach( _mimetype
tde_create_translated_desktop(
SOURCE
vrml.desktop
DESTINATION ${MIME_INSTALL_DIR}/model
PO_DIR mimetypes
)
tde_create_translated_desktop(
SOURCE ${_mimetype}
DESTINATION ${MIME_INSTALL_DIR}/model
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes
)
endforeach()

+ 4
- 7
mimetypes/multipart/CMakeLists.txt View File

@@ -11,12 +11,9 @@

##### other data ################################

foreach( _mimetype
tde_create_translated_desktop(
SOURCE
mixed.desktop x-mixed-replace.desktop
DESTINATION ${MIME_INSTALL_DIR}/multipart
PO_DIR mimetypes
)
tde_create_translated_desktop(
SOURCE ${_mimetype}
DESTINATION ${MIME_INSTALL_DIR}/multipart
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes
)
endforeach()

+ 4
- 7
mimetypes/text/CMakeLists.txt View File

@@ -11,7 +11,8 @@

##### other data ################################

foreach( _mimetype
tde_create_translated_desktop(
SOURCE
x-c++src.desktop x-c++hdr.desktop x-csrc.desktop x-java.desktop
x-makefile.desktop x-moc.desktop x-pascal.desktop x-objchdr.desktop
x-tcl.desktop x-tex.desktop html.desktop plain.desktop enriched.desktop x-chdr.desktop
@@ -20,12 +21,8 @@ foreach( _mimetype
x-bibtex.desktop rdf.desktop rss.desktop calendar.desktop x-adasrc.desktop x-perl.desktop
x-csv.desktop x-latex.desktop x-xslfo.desktop x-xslt.desktop vnd.wap.wml.desktop x-katefilelist.desktop
docbook.desktop x-mswinurl.desktop x-hex.desktop vnd.abc.desktop javascript.desktop x-python.desktop
DESTINATION ${MIME_INSTALL_DIR}/text
PO_DIR mimetypes
)
tde_create_translated_desktop(
SOURCE ${_mimetype}
DESTINATION ${MIME_INSTALL_DIR}/text
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes
)
endforeach()

install( FILES uninstall.desktop DESTINATION ${MIME_INSTALL_DIR}/text RENAME x-lyx.desktop )

+ 4
- 7
mimetypes/uri/CMakeLists.txt View File

@@ -11,12 +11,9 @@

##### other data ################################

foreach( _mimetype
tde_create_translated_desktop(
SOURCE
mms.desktop mmst.desktop mmsu.desktop pnm.desktop rtspt.desktop rtspu.desktop
DESTINATION ${MIME_INSTALL_DIR}/uri
PO_DIR mimetypes
)
tde_create_translated_desktop(
SOURCE ${_mimetype}
DESTINATION ${MIME_INSTALL_DIR}/uri
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes
)
endforeach()

+ 4
- 7
mimetypes/video/CMakeLists.txt View File

@@ -11,15 +11,12 @@

##### other data ################################

foreach( _mimetype
tde_create_translated_desktop(
SOURCE
mpeg.desktop quicktime.desktop x-flic.desktop x-flv.desktop
x-msvideo.desktop x-mng.desktop x-ms-asf.desktop x-ms-wmv.desktop
x-theora.desktop mp4.desktop x-ogm.desktop x-matroska.desktop
vnd.rn-realvideo.desktop avi.desktop
DESTINATION ${MIME_INSTALL_DIR}/video
PO_DIR mimetypes
)
tde_create_translated_desktop(
SOURCE ${_mimetype}
DESTINATION ${MIME_INSTALL_DIR}/video
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes
)
endforeach()

+ 2
- 2
tdeabc/CMakeLists.txt View File

@@ -62,13 +62,13 @@ install( FILES
tde_create_translated_desktop(
SOURCE tdeab2tdeabc.desktop
DESTINATION ${AUTOSTART_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeabc-desktops
PO_DIR tdeabc-desktops
)

tde_create_translated_desktop(
SOURCE tdeabc_manager.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/tderesources
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeabc-desktops
PO_DIR tdeabc-desktops
)

install( FILES countrytransl.map DESTINATION ${DATA_INSTALL_DIR}/tdeabc )


+ 1
- 1
tdeabc/formats/CMakeLists.txt View File

@@ -32,7 +32,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE binary.desktop
DESTINATION ${DATA_INSTALL_DIR}/tdeabc/formats
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeabc-desktops
PO_DIR tdeabc-desktops
)




+ 1
- 1
tdeabc/plugins/dir/CMakeLists.txt View File

@@ -42,7 +42,7 @@ install( FILES
tde_create_translated_desktop(
SOURCE dir.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/tderesources/tdeabc
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeabc-desktops
PO_DIR tdeabc-desktops
)




+ 1
- 1
tdeabc/plugins/file/CMakeLists.txt View File

@@ -42,7 +42,7 @@ install( FILES
tde_create_translated_desktop(
SOURCE file.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/tderesources/tdeabc
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeabc-desktops
PO_DIR tdeabc-desktops
)




+ 1
- 1
tdeabc/plugins/ldaptdeio/CMakeLists.txt View File

@@ -42,7 +42,7 @@ install( FILES
tde_create_translated_desktop(
SOURCE ldaptdeio.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/tderesources/tdeabc
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeabc-desktops
PO_DIR tdeabc-desktops
)




+ 1
- 1
tdeabc/plugins/net/CMakeLists.txt View File

@@ -42,7 +42,7 @@ install( FILES
tde_create_translated_desktop(
SOURCE net.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/tderesources/tdeabc
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeabc-desktops
PO_DIR tdeabc-desktops
)




+ 1
- 1
tdecore/CMakeLists.txt View File

@@ -98,7 +98,7 @@ install( FILES kmdcodec_compat.h
tde_create_translated_desktop(
SOURCE eventsrc
DESTINATION ${DATA_INSTALL_DIR}/knotify
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdecore-eventsrc
PO_DIR tdecore-eventsrc
)

##### libtdecore ################################


+ 1
- 1
tdefile-plugins/elf/CMakeLists.txt View File

@@ -32,7 +32,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE tdefile_elf.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops
PO_DIR tdefile-desktops
)




+ 5
- 7
tdehtml/CMakeLists.txt View File

@@ -59,13 +59,11 @@ install( FILES

##### other data ################################

foreach( _service tdehtml.desktop tdehtmlimage.desktop )
tde_create_translated_desktop(
SOURCE ${_service}
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdehtml-desktops
)
endforeach()
tde_create_translated_desktop(
SOURCE tdehtml.desktop tdehtmlimage.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR tdehtml-desktops
)

install( FILES tdehtml.rc tdehtml_browser.rc tdehtml_popupmenu.rc DESTINATION ${DATA_INSTALL_DIR}/tdehtml )



+ 1
- 1
tdehtml/java/CMakeLists.txt View File

@@ -42,7 +42,7 @@ configure_file( kjava.policy.in kjava.policy @ONLY )
tde_create_translated_desktop(
SOURCE kjavaappletviewer.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdehtml-desktops
PO_DIR tdehtml-desktops
)

install( FILES kjava.jar ${CMAKE_CURRENT_BINARY_DIR}/kjava.policy pluginsinfo DESTINATION ${DATA_INSTALL_DIR}/kjava )


+ 1
- 1
tdehtml/tdemultipart/CMakeLists.txt View File

@@ -33,7 +33,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE tdemultipart.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdehtml-desktops
PO_DIR tdehtml-desktops
)




+ 7
- 10
tdeio/CMakeLists.txt View File

@@ -44,17 +44,14 @@ add_custom_target(

install( FILES tdeio.magic ${CMAKE_CURRENT_BINARY_DIR}/tdeio.magic.mgc DESTINATION ${CONFIG_INSTALL_DIR}/magic )

foreach( _service
tde_create_translated_desktop(
SOURCE
application.desktop kurifilterplugin.desktop
kcomprfilter.desktop kscan.desktop kdatatool.desktop
tdefileplugin.desktop tdecmodule.desktop
DESTINATION ${SERVICETYPES_INSTALL_DIR}
PO_DIR tdeio-desktops
)
tde_create_translated_desktop(
SOURCE ${_service}
DESTINATION ${SERVICETYPES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeio-desktops
)
endforeach()

install( FILES tdeioslave.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )

@@ -63,19 +60,19 @@ install( PROGRAMS useragent.pl proxytype.pl DESTINATION ${KCONF_UPDATE_INSTALL_D
tde_create_translated_desktop(
SOURCE renamedlgplugin.desktop
DESTINATION ${SERVICETYPES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeio-desktops
PO_DIR tdeio-desktops
)

tde_create_translated_desktop(
SOURCE kpasswdserver.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/kded
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeio-desktops
PO_DIR tdeio-desktops
)

tde_create_translated_desktop(
SOURCE data.protocol
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeio-desktops
PO_DIR tdeio-desktops
)




+ 4
- 7
tdeio/misc/CMakeLists.txt View File

@@ -46,18 +46,15 @@ install( FILES uiserver.h DESTINATION ${INCLUDE_INSTALL_DIR}/tdeio )

##### other data ################################

foreach( _service
tde_create_translated_desktop(
SOURCE
tdeio_uiserver.desktop tdemailservice.protocol
telnet.protocol rlogin.protocol rtsp.protocol
ssh.protocol mms.protocol mmst.protocol mmsu.protocol
pnm.protocol rtspt.protocol rtspu.protocol
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR tdeio-desktops
)
tde_create_translated_desktop(
SOURCE ${_service}
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeio-desktops
)
endforeach()

install( FILES fileshareset DESTINATION ${BIN_INSTALL_DIR}
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_EXECUTE WORLD_EXECUTE SETUID )


+ 2
- 2
tdeio/misc/kpac/CMakeLists.txt View File

@@ -33,13 +33,13 @@ link_directories(
tde_create_translated_desktop(
SOURCE proxyscout.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/kded
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeio-desktops
PO_DIR tdeio-desktops
)

tde_create_translated_desktop(
SOURCE eventsrc
DESTINATION ${DATA_INSTALL_DIR}/proxyscout
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeio-kpac-eventsrc
PO_DIR tdeio-kpac-eventsrc
)




+ 1
- 1
tdeio/misc/kssld/CMakeLists.txt View File

@@ -31,7 +31,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE kssld.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/kded
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeio-desktops
PO_DIR tdeio-desktops
)




+ 1
- 1
tdeio/misc/tdewalletd/CMakeLists.txt View File

@@ -32,7 +32,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE tdewalletd.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/kded
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeio-desktops
PO_DIR tdeio-desktops
)




+ 1
- 1
tdeio/tdefile/CMakeLists.txt View File

@@ -50,7 +50,7 @@ install( FILES
tde_create_translated_desktop(
SOURCE kpropsdlgplugin.desktop
DESTINATION ${SERVICETYPES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeio-desktops
PO_DIR tdeio-desktops
)




+ 1
- 1
tdeioslave/bzip2/CMakeLists.txt View File

@@ -27,7 +27,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE kbzip2filter.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeioslave-desktops
PO_DIR tdeioslave-desktops
)




+ 1
- 1
tdeioslave/file/CMakeLists.txt View File

@@ -35,7 +35,7 @@ install( FILES file.h DESTINATION ${INCLUDE_INSTALL_DIR}/tdeio )
tde_create_translated_desktop(
SOURCE file.protocol
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeioslave-desktops
PO_DIR tdeioslave-desktops
)




+ 1
- 1
tdeioslave/ftp/CMakeLists.txt View File

@@ -29,7 +29,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE ftp.protocol
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeioslave-desktops
PO_DIR tdeioslave-desktops
)




+ 1
- 1
tdeioslave/gzip/CMakeLists.txt View File

@@ -26,7 +26,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE kgzipfilter.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeioslave-desktops
PO_DIR tdeioslave-desktops
)




+ 4
- 7
tdeioslave/http/CMakeLists.txt View File

@@ -32,16 +32,13 @@ link_directories(

##### other data ################################

foreach( _desktop
tde_create_translated_desktop(
SOURCE
http_cache_cleaner.desktop http.protocol https.protocol
webdav.protocol webdavs.protocol
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR tdeioslave-desktops
)
tde_create_translated_desktop(
SOURCE ${_desktop}
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeioslave-desktops
)
endforeach()


##### tdeio_http_cache_cleaner ####################


+ 1
- 1
tdeioslave/http/kcookiejar/CMakeLists.txt View File

@@ -30,7 +30,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE kcookiejar.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/kded
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeioslave-desktops
PO_DIR tdeioslave-desktops
)

install( FILES kcookiescfg.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )


+ 4
- 4
tdeioslave/iso/CMakeLists.txt View File

@@ -33,25 +33,25 @@ link_directories(
tde_create_translated_desktop(
SOURCE iso.protocol
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeioslave-desktops
PO_DIR tdeioslave-desktops
)

tde_create_translated_desktop(
SOURCE isoservice.desktop
DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeioslave-desktops
PO_DIR tdeioslave-desktops
)

tde_create_translated_desktop(
SOURCE tdeio_isorc
DESTINATION ${CONFIG_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeioslave-desktops
PO_DIR tdeioslave-desktops
)

tde_create_translated_desktop(
SOURCE tdeio_iso.desktop
DESTINATION ${APPS_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeioslave-desktops
PO_DIR tdeioslave-desktops
)




+ 1
- 1
tdeioslave/metainfo/CMakeLists.txt View File

@@ -28,7 +28,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE metainfo.protocol
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeioslave-desktops
PO_DIR tdeioslave-desktops
)




+ 1
- 1
tdeioslave/xz/CMakeLists.txt View File

@@ -27,7 +27,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE kxzfilter.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeioslave-desktops
PO_DIR tdeioslave-desktops
)




+ 4
- 7
tdeparts/CMakeLists.txt View File

@@ -40,15 +40,12 @@ install( FILES

##### other data ################################

foreach( _desktop
tde_create_translated_desktop(
SOURCE
kpart.desktop krop.desktop krwp.desktop browserview.desktop
DESTINATION ${SERVICETYPES_INSTALL_DIR}
PO_DIR tdeparts-desktops
)
tde_create_translated_desktop(
SOURCE ${_desktop}
DESTINATION ${SERVICETYPES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeparts-desktops
)
endforeach()


#### tdeparts #####################################


+ 2
- 2
tdeprint/CMakeLists.txt View File

@@ -65,13 +65,13 @@ install( FILES testprint.ps DESTINATION ${DATA_INSTALL_DIR}/tdeprint )
tde_create_translated_desktop(
SOURCE specials.desktop
DESTINATION ${DATA_INSTALL_DIR}/tdeprint
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeprint-desktops
PO_DIR tdeprint-desktops
)

tde_create_translated_desktop(
SOURCE tdeprintd.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/kded
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeprint-desktops
PO_DIR tdeprint-desktops
)
install( FILES tdeprintrc DESTINATION ${CONFIG_INSTALL_DIR} )



+ 1
- 1
tdeprint/cups/CMakeLists.txt View File

@@ -43,7 +43,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE cups.print
DESTINATION ${DATA_INSTALL_DIR}/tdeprint/plugins
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeprint-desktops
PO_DIR tdeprint-desktops
)

install( FILES preview.png preview-mini.png DESTINATION ${DATA_INSTALL_DIR}/tdeprint )


+ 1
- 1
tdeprint/ext/CMakeLists.txt View File

@@ -34,7 +34,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE ext.print
DESTINATION ${DATA_INSTALL_DIR}/tdeprint/plugins
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeprint-desktops
PO_DIR tdeprint-desktops
)




+ 4
- 7
tdeprint/filters/CMakeLists.txt View File

@@ -11,20 +11,17 @@

##### other data ################################

foreach( _desktop
tde_create_translated_desktop(
SOURCE
enscript.desktop psnup.desktop
imagetops.desktop pdfwrite.desktop
psbook1.desktop psbook2.desktop
psbook.desktop psselect.desktop
ps2pdf.desktop pdf2ps.desktop
poster.desktop
DESTINATION ${DATA_INSTALL_DIR}/tdeprint/filters
PO_DIR tdeprint-desktops
)
tde_create_translated_desktop(
SOURCE ${_desktop}
DESTINATION ${DATA_INSTALL_DIR}/tdeprint/filters
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeprint-desktops
)
endforeach()

install(
FILES


+ 1
- 1
tdeprint/lpdunix/CMakeLists.txt View File

@@ -36,7 +36,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE lpdunix.print
DESTINATION ${DATA_INSTALL_DIR}/tdeprint/plugins
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeprint-desktops
PO_DIR tdeprint-desktops
)




+ 1
- 1
tdeprint/lpr/CMakeLists.txt View File

@@ -44,7 +44,7 @@ install( FILES
tde_create_translated_desktop(
SOURCE lpr.print
DESTINATION ${DATA_INSTALL_DIR}/tdeprint/plugins
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeprint-desktops
PO_DIR tdeprint-desktops
)

install( FILES apsdriver1 apsdriver2 lprngtooldriver1 DESTINATION ${DATA_INSTALL_DIR}/tdeprint )


+ 1
- 1
tdeprint/rlpr/CMakeLists.txt View File

@@ -37,7 +37,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE rlpr.print
DESTINATION ${DATA_INSTALL_DIR}/tdeprint/plugins
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeprint-desktops
PO_DIR tdeprint-desktops
)




+ 1
- 1
tdeprint/tools/escputil/CMakeLists.txt View File

@@ -27,7 +27,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE escputil.desktop
DESTINATION ${DATA_INSTALL_DIR}/tdeprint/tools
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeprint-desktops
PO_DIR tdeprint-desktops
)




+ 6
- 8
tderesources/CMakeLists.txt View File

@@ -38,17 +38,15 @@ install( FILES

##### other data ################################

foreach( _desktop tderesources_plugin.desktop tderesources_manager.desktop )
tde_create_translated_desktop(
SOURCE ${_desktop}
DESTINATION ${SERVICETYPES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tderesources-desktops
)
endforeach()
tde_create_translated_desktop(
SOURCE tderesources_plugin.desktop tderesources_manager.desktop
DESTINATION ${SERVICETYPES_INSTALL_DIR}
PO_DIR tderesources-desktops
)

tde_create_translated_desktop(
SOURCE tderesources.desktop
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tderesources-desktops
PO_DIR tderesources-desktops
)




+ 1
- 1
tdespell2/CMakeLists.txt View File

@@ -43,7 +43,7 @@ install( FILES
tde_create_translated_desktop(
SOURCE tdespellclient.desktop
DESTINATION ${SERVICETYPES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdespell2-desktops
PO_DIR tdespell2-desktops
)




+ 1
- 1
tdespell2/plugins/aspell/CMakeLists.txt View File

@@ -29,7 +29,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE tdespell_aspell.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdespell2-desktops
PO_DIR tdespell2-desktops
)




+ 1
- 1
tdespell2/plugins/hspell/CMakeLists.txt View File

@@ -29,7 +29,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE tdespell_hspell.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdespell2-desktops
PO_DIR tdespell2-desktops
)




+ 1
- 1
tdespell2/plugins/ispell/CMakeLists.txt View File

@@ -28,7 +28,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE tdespell_ispell.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdespell2-desktops
PO_DIR tdespell2-desktops
)




Loading…
Cancel
Save