Simplify CMake rules for desktop file translations.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/93/head
Slávek Banko 4 years ago
parent aad2d9434f
commit 42f3a62161
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -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
)

@ -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
)

@ -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
)

@ -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
)

@ -38,16 +38,13 @@ install( FILES
##### other data ################################
foreach( _service
tde_create_translated_desktop(
SOURCE
tdemediaplayerengine.desktop
tdemediaplayer.desktop
)
tde_create_translated_desktop(
SOURCE ${_service}
DESTINATION ${SERVICETYPES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/interfaces-desktops
)
endforeach()
PO_DIR interfaces-desktops
)
##### tdemediaplayer ##############################

@ -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
)

@ -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
)

@ -51,22 +51,19 @@ install( FILES
##### other data ################################
foreach( _service
tde_create_translated_desktop(
SOURCE
tdetexteditor.desktop
tdetexteditoreditor.desktop
tdetexteditorplugin.desktop
)
tde_create_translated_desktop(
SOURCE ${_service}
DESTINATION ${SERVICETYPES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/interfaces-desktops
)
endforeach()
PO_DIR interfaces-desktops
)
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
)

@ -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

@ -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 )

@ -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 )

@ -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 )

@ -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 )

@ -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

@ -22,10 +22,8 @@ add_subdirectory( uri )
##### other data ################################
foreach( _mimetype all.desktop allfiles.desktop )
tde_create_translated_desktop(
SOURCE ${_mimetype}
tde_create_translated_desktop(
SOURCE all.desktop allfiles.desktop
DESTINATION ${MIME_INSTALL_DIR}/all
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes
)
endforeach()
PO_DIR mimetypes
)

@ -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
)
tde_create_translated_desktop(
SOURCE ${_mimetype}
DESTINATION ${MIME_INSTALL_DIR}/application
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes
)
endforeach()
PO_DIR mimetypes
)
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 )

@ -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
)
tde_create_translated_desktop(
SOURCE ${_mimetype}
DESTINATION ${MIME_INSTALL_DIR}/audio
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes
)
endforeach()
PO_DIR mimetypes
)

@ -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
)
tde_create_translated_desktop(
SOURCE ${_mimetype}
DESTINATION ${MIME_INSTALL_DIR}/image
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes
)
endforeach()
PO_DIR mimetypes
)
install( FILES uninstall.desktop DESTINATION ${MIME_INSTALL_DIR}/image RENAME wmf.desktop )

@ -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
)
tde_create_translated_desktop(
SOURCE ${_mimetype}
DESTINATION ${MIME_INSTALL_DIR}/inode
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes
)
endforeach()
PO_DIR mimetypes
)

@ -11,12 +11,9 @@
##### other data ################################
foreach( _mimetype
tde_create_translated_desktop(
SOURCE
rfc822.desktop news.desktop
)
tde_create_translated_desktop(
SOURCE ${_mimetype}
DESTINATION ${MIME_INSTALL_DIR}/message
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes
)
endforeach()
PO_DIR mimetypes
)

@ -11,12 +11,9 @@
##### other data ################################
foreach( _mimetype
tde_create_translated_desktop(
SOURCE
vrml.desktop
)
tde_create_translated_desktop(
SOURCE ${_mimetype}
DESTINATION ${MIME_INSTALL_DIR}/model
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes
)
endforeach()
PO_DIR mimetypes
)

@ -11,12 +11,9 @@
##### other data ################################
foreach( _mimetype
tde_create_translated_desktop(
SOURCE
mixed.desktop x-mixed-replace.desktop
)
tde_create_translated_desktop(
SOURCE ${_mimetype}
DESTINATION ${MIME_INSTALL_DIR}/multipart
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes
)
endforeach()
PO_DIR mimetypes
)

@ -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
)
tde_create_translated_desktop(
SOURCE ${_mimetype}
DESTINATION ${MIME_INSTALL_DIR}/text
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes
)
endforeach()
PO_DIR mimetypes
)
install( FILES uninstall.desktop DESTINATION ${MIME_INSTALL_DIR}/text RENAME x-lyx.desktop )

@ -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
)
tde_create_translated_desktop(
SOURCE ${_mimetype}
DESTINATION ${MIME_INSTALL_DIR}/uri
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes
)
endforeach()
PO_DIR mimetypes
)

@ -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
)
tde_create_translated_desktop(
SOURCE ${_mimetype}
DESTINATION ${MIME_INSTALL_DIR}/video
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes
)
endforeach()
PO_DIR mimetypes
)

@ -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 )

@ -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
)

@ -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
)

@ -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
)

@ -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
)

@ -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
)

@ -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 ################################

@ -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
)

@ -59,13 +59,11 @@ install( FILES
##### other data ################################
foreach( _service tdehtml.desktop tdehtmlimage.desktop )
tde_create_translated_desktop(
SOURCE ${_service}
tde_create_translated_desktop(
SOURCE tdehtml.desktop tdehtmlimage.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdehtml-desktops
)
endforeach()
PO_DIR tdehtml-desktops
)
install( FILES tdehtml.rc tdehtml_browser.rc tdehtml_popupmenu.rc DESTINATION ${DATA_INSTALL_DIR}/tdehtml )

@ -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 )

@ -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
)

@ -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
)
tde_create_translated_desktop(
SOURCE ${_service}
DESTINATION ${SERVICETYPES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeio-desktops
)
endforeach()
PO_DIR tdeio-desktops
)
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
)

@ -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
)
tde_create_translated_desktop(
SOURCE ${_service}
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeio-desktops
)
endforeach()
PO_DIR tdeio-desktops
)
install( FILES fileshareset DESTINATION ${BIN_INSTALL_DIR}
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_EXECUTE WORLD_EXECUTE SETUID )

@ -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
)

@ -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
)

@ -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
)

@ -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
)

@ -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
)

@ -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
)

@ -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
)

@ -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
)

@ -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
)
tde_create_translated_desktop(
SOURCE ${_desktop}
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeioslave-desktops
)
endforeach()
PO_DIR tdeioslave-desktops
)
##### tdeio_http_cache_cleaner ####################

@ -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} )

@ -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
)

@ -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
)

@ -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
)

@ -40,15 +40,12 @@ install( FILES
##### other data ################################
foreach( _desktop
tde_create_translated_desktop(
SOURCE
kpart.desktop krop.desktop krwp.desktop browserview.desktop
)
tde_create_translated_desktop(
SOURCE ${_desktop}
DESTINATION ${SERVICETYPES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeparts-desktops
)
endforeach()
PO_DIR tdeparts-desktops
)
#### tdeparts #####################################

@ -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} )

@ -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 )

@ -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
)

@ -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
)
tde_create_translated_desktop(
SOURCE ${_desktop}
DESTINATION ${DATA_INSTALL_DIR}/tdeprint/filters
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeprint-desktops
)
endforeach()
PO_DIR tdeprint-desktops
)
install(
FILES

@ -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
)

@ -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 )

@ -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
)

@ -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
)

@ -38,17 +38,15 @@ install( FILES
##### other data ################################
foreach( _desktop tderesources_plugin.desktop tderesources_manager.desktop )
tde_create_translated_desktop(
SOURCE ${_desktop}
tde_create_translated_desktop(
SOURCE tderesources_plugin.desktop tderesources_manager.desktop
DESTINATION ${SERVICETYPES_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tderesources-desktops
)
endforeach()
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
)

@ -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
)

@ -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
)

@ -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
)

@ -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