SVN commit 1115403 by pino: convert the mimetype definitions to the XDG format also remove the old KDE 3 definition
CC: 572...@bugs.debian.org M +4 -1 CMakeLists.txt A kile.xml D x-kilepr.desktop --- trunk/extragear/office/kile/CMakeLists.txt #1115402:1115403 @@ -5,7 +5,9 @@ find_package(KDE4 4.2.0 REQUIRED) include (KDE4Defaults) +find_package( SharedMimeInfo REQUIRED ) + SET( KILE_VERSION CACHE STRING "Kile's version; can be used to install special documentation files in share/doc/kile-$KILE_VERSION/" ) SET( kile_PO_FILE "kile.po" ) @@ -130,7 +132,8 @@ ########### install files ############### -INSTALL( FILES x-kilepr.desktop DESTINATION share/mimelink/text ) +install( FILES kile.xml DESTINATION ${XDG_MIME_INSTALL_DIR} ) +update_xdg_mimetypes( ${XDG_MIME_INSTALL_DIR} ) INSTALL( FILES kile.upd kile1.6_upd.pl kile1.7_upd.pl kile1.9_upd.pl kile1.9-1_upd.pl kile2.0-1_upd.pl kile2.0-2_upd.pl kile2.0-3_upd.pl -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org