summaryrefslogtreecommitdiffstats
path: root/mimetypes
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-10-05 19:41:05 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-10-05 19:41:05 +0000
commit7ffba8afee76edba6433d97864119501731742e8 (patch)
tree38b5eb5bd019b77b33f7ad8d7de7ef7666ebe8b1 /mimetypes
parent0db4822126702d04068c5761e63ed9684a08981b (diff)
downloadtdelibs-7ffba8afee76edba6433d97864119501731742e8.tar.gz
tdelibs-7ffba8afee76edba6433d97864119501731742e8.zip
[kdelibs] added initial cmake support
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1182854 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'mimetypes')
-rw-r--r--mimetypes/CMakeLists.txt25
-rw-r--r--mimetypes/application/CMakeLists.txt110
-rw-r--r--mimetypes/audio/CMakeLists.txt24
-rw-r--r--mimetypes/image/CMakeLists.txt27
-rw-r--r--mimetypes/inode/CMakeLists.txt17
-rw-r--r--mimetypes/message/CMakeLists.txt16
-rw-r--r--mimetypes/model/CMakeLists.txt16
-rw-r--r--mimetypes/multipart/CMakeLists.txt17
-rw-r--r--mimetypes/text/CMakeLists.txt27
-rw-r--r--mimetypes/uri/CMakeLists.txt16
-rw-r--r--mimetypes/video/CMakeLists.txt19
11 files changed, 314 insertions, 0 deletions
diff --git a/mimetypes/CMakeLists.txt b/mimetypes/CMakeLists.txt
new file mode 100644
index 000000000..6ecf4836f
--- /dev/null
+++ b/mimetypes/CMakeLists.txt
@@ -0,0 +1,25 @@
+#################################################
+#
+# (C) 2010 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( application )
+add_subdirectory( text )
+add_subdirectory( audio )
+add_subdirectory( video )
+add_subdirectory( image )
+add_subdirectory( inode )
+add_subdirectory( message )
+add_subdirectory( multipart )
+add_subdirectory( model )
+add_subdirectory( uri )
+
+##### other data ################################
+
+install( FILES all.desktop allfiles.desktop DESTINATION ${MIME_INSTALL_DIR}/all )
diff --git a/mimetypes/application/CMakeLists.txt b/mimetypes/application/CMakeLists.txt
new file mode 100644
index 000000000..3a406698b
--- /dev/null
+++ b/mimetypes/application/CMakeLists.txt
@@ -0,0 +1,110 @@
+#################################################
+#
+# (C) 2010 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+##### other data ################################
+
+install( FILES
+ 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
+ x-tar.desktop x-trash.desktop x-zip.desktop
+ x-zip-compressed.desktop x-core.desktop x-javascript.desktop
+ java.desktop x-java.desktop x-java-applet.desktop
+ x-jar.desktop x-arj.desktop x-tarz.desktop
+ x-gzpostscript.desktop postscript.desktop octet-stream.desktop
+ x-shellscript.desktop x-desktop.desktop
+ x-executable.desktop x-executable-script.desktop x-archive.desktop x-lha.desktop
+ x-tbz.desktop x-tgz.desktop x-awk.desktop
+ x-perl.desktop x-perl-module.desktop x-compress.desktop x-cpio.desktop
+ x-rpm.desktop msword.desktop x-sharedlib.desktop
+ wordperfect.desktop x-troff.desktop x-troff-man.desktop
+ x-python.desktop x-python-bytecode.desktop
+ x-bzip.desktop x-bzip2.desktop mspowerpoint.desktop vnd.ms-powerpoint.desktop
+ msexcel.desktop smil.desktop x-rar.desktop x-zoo.desktop
+ x-tzo.desktop x-lzop.desktop
+ x-applixword.desktop x-applixspread.desktop x-applixgraphics.desktop
+ xhtml+xml.desktop vnd.ms-excel.desktop vnd.ms-word.desktop
+ x-shockwave-flash.desktop x-designer.desktop x-linguist.desktop
+ x-ogg.desktop ogg.desktop x-pkcs12.desktop x-x509-ca-cert.desktop
+ pkcs7-signature.desktop pgp-signature.desktop pgp-encrypted.desktop
+ pgp-keys.desktop pgp.desktop x-msmetafile.desktop
+ x-mswrite.desktop illustrator.desktop x-abiword.desktop
+ x-gnumeric.desktop x-graphite.desktop x-karbon.desktop x-kchart.desktop
+ x-kformula.desktop x-kivio.desktop x-kontour.desktop
+ x-kpresenter.desktop x-krita.desktop
+ x-kspread.desktop x-kugar.desktop x-kword.desktop
+ x-quattropro.desktop x-amipro.desktop x-tgif.desktop
+ x-lyx.desktop x-zerosize.desktop x-kpovmodeler.desktop x-cda.desktop
+ pkcs7-mime.desktop pkcs10.desktop sieve.desktop mbox.desktop
+ x-hancomword.desktop
+ x-font-bdf.desktop x-font-pcf.desktop x-font-speedo.desktop x-font-type1.desktop
+ x-font-ghostscript.desktop x-font-snf.desktop x-font-ttf.desktop
+ vnd.ms-asf.desktop x-msdos-program.desktop x-deb.desktop x-debian-package.desktop
+ vnd.stardivision.writer.desktop vnd.stardivision.calc.desktop
+ vnd.stardivision.impress.desktop
+ vnd.sun.xml.impress.desktop vnd.sun.xml.writer.desktop
+ vnd.sun.xml.base.desktop
+ x-magicpoint.desktop x-vnd.kde.kugar.mixed.desktop x-vnd.kde.kexi.desktop
+ vnd.palm.desktop x-kudesigner.desktop x-vnd.kde.kplato.desktop
+ vnd.sun.xml.calc.desktop mathml+xml.desktop x-bittorrent.desktop
+ x-msaccess.desktop x-gettext.desktop x-ruby.desktop x-kcsrc.desktop
+ x-php.desktop x-font-ttc.desktop x-font-otf.desktop
+ vnd.mozilla.xul+xml.desktop vnd.sun.xml.draw.desktop
+ x-kde-wallet.desktop x-cue.desktop x-ica.desktop x-iso.desktop x-ace.desktop
+ x-afm.desktop x-arc.desktop vnd.rn-realmedia.desktop x-dbase.desktop
+ vnd.sun.xml.calc.template.desktop vnd.sun.xml.writer.template.desktop
+ vnd.sun.xml.impress.template.desktop vnd.sun.xml.draw.template.desktop
+ vnd.stardivision.chart.desktop vnd.stardivision.draw.desktop
+ vnd.stardivision.math.desktop vnd.stardivision.writer-global.desktop vnd.sun.xml.writer.master.desktop
+ x-xliff.desktop x-7z.desktop xml.desktop x-webarchive.desktop x-mimearchive.desktop
+ xsd.desktop relaxng.desktop
+ vnd.oasis.opendocument.graphics-template.desktop
+ vnd.oasis.opendocument.graphics.desktop
+ vnd.oasis.opendocument.formula.desktop
+ vnd.oasis.opendocument.presentation-template.desktop
+ vnd.oasis.opendocument.presentation.desktop
+ vnd.oasis.opendocument.spreadsheet-template.desktop
+ vnd.oasis.opendocument.spreadsheet.desktop
+ vnd.oasis.opendocument.text-template.desktop
+ vnd.oasis.opendocument.text.desktop
+ vnd.oasis.opendocument.image.desktop
+ vnd.oasis.opendocument.chart.desktop
+ x-java-jnlp-file.desktop xml-dtd.desktop fits.desktop
+ x-rar-compressed.desktop
+ x-sqlite2.desktop x-sqlite3.desktop chm.desktop
+ x-mplayer2.desktop
+ x-nzb.desktop
+ vnd.openxmlformats-officedocument.wordprocessingml.document.desktop
+ vnd.openxmlformats-officedocument.wordprocessingml.template.desktop
+ vnd.ms-word.document.macroEnabled.12.desktop
+ vnd.ms-word.template.macroEnabled.12.desktop
+ vnd.openxmlformats-officedocument.spreadsheetml.sheet.desktop
+ vnd.openxmlformats-officedocument.spreadsheetml.template.desktop
+ vnd.ms-excel.sheet.macroEnabled.12.desktop
+ vnd.ms-excel.template.macroEnabled.12.desktop
+ vnd.ms-excel.addin.macroEnabled.12.desktop
+ vnd.ms-excel.sheet.binary.macroEnabled.12.desktop
+ vnd.openxmlformats-officedocument.presentationml.presentation.desktop
+ vnd.openxmlformats-officedocument.presentationml.template.desktop
+ vnd.openxmlformats-officedocument.presentationml.slideshow.desktop
+ vnd.ms-powerpoint.addin.macroEnabled.12.desktop
+ vnd.ms-powerpoint.presentation.macroEnabled.12.desktop
+ vnd.ms-powerpoint.template.macroEnabled.12.desktop
+ vnd.ms-powerpoint.slideshow.macroEnabled.12.desktop
+ x-lzma.desktop
+ x-tlz.desktop
+ x-txz.desktop
+ x-xz.desktop
+ DESTINATION ${MIME_INSTALL_DIR}/application )
+
+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 )
+install( FILES uninstall.desktop DESTINATION ${MIME_INSTALL_DIR}/application RENAME x-ooimpress.desktop )
diff --git a/mimetypes/audio/CMakeLists.txt b/mimetypes/audio/CMakeLists.txt
new file mode 100644
index 000000000..6fb010435
--- /dev/null
+++ b/mimetypes/audio/CMakeLists.txt
@@ -0,0 +1,24 @@
+#################################################
+#
+# (C) 2010 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+##### other data ################################
+
+install( FILES
+ 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
+ x-pn-realaudio.desktop x-pn-realaudio-plugin.desktop vnd.rn-realaudio.desktop
+ x-mpegurl.desktop mpegurl.desktop x-scpls.desktop
+ vorbis.desktop x-vorbis.desktop
+ 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 )
diff --git a/mimetypes/image/CMakeLists.txt b/mimetypes/image/CMakeLists.txt
new file mode 100644
index 000000000..5f8d24f45
--- /dev/null
+++ b/mimetypes/image/CMakeLists.txt
@@ -0,0 +1,27 @@
+#################################################
+#
+# (C) 2010 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+##### other data ################################
+
+install( FILES
+ 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
+ x-jng.desktop x-xcf-gimp.desktop x-wmf.desktop x-msod.desktop
+ x-xfig.desktop x-portable-bitmap.desktop x-portable-greymap.desktop
+ x-portable-pixmap.desktop x-pcx.desktop x-targa.desktop jp2.desktop
+ x-vnd.trolltech.qpicture.desktop x-vnd.adobe.photoshop.desktop
+ 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 )
+
+install( FILES uninstall.desktop DESTINATION ${MIME_INSTALL_DIR}/image RENAME wmf.desktop )
diff --git a/mimetypes/inode/CMakeLists.txt b/mimetypes/inode/CMakeLists.txt
new file mode 100644
index 000000000..34115a827
--- /dev/null
+++ b/mimetypes/inode/CMakeLists.txt
@@ -0,0 +1,17 @@
+#################################################
+#
+# (C) 2010 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+##### other data ################################
+
+install( FILES
+ block.desktop chardevice.desktop directory-locked.desktop
+ directory.desktop fifo.desktop socket.desktop
+ DESTINATION ${MIME_INSTALL_DIR}/inode )
diff --git a/mimetypes/message/CMakeLists.txt b/mimetypes/message/CMakeLists.txt
new file mode 100644
index 000000000..d3a6da24a
--- /dev/null
+++ b/mimetypes/message/CMakeLists.txt
@@ -0,0 +1,16 @@
+#################################################
+#
+# (C) 2010 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+##### other data ################################
+
+install( FILES
+ rfc822.desktop news.desktop
+ DESTINATION ${MIME_INSTALL_DIR}/message )
diff --git a/mimetypes/model/CMakeLists.txt b/mimetypes/model/CMakeLists.txt
new file mode 100644
index 000000000..b101c70aa
--- /dev/null
+++ b/mimetypes/model/CMakeLists.txt
@@ -0,0 +1,16 @@
+#################################################
+#
+# (C) 2010 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+##### other data ################################
+
+install( FILES
+ vrml.desktop
+ DESTINATION ${MIME_INSTALL_DIR}/model )
diff --git a/mimetypes/multipart/CMakeLists.txt b/mimetypes/multipart/CMakeLists.txt
new file mode 100644
index 000000000..02ed296f5
--- /dev/null
+++ b/mimetypes/multipart/CMakeLists.txt
@@ -0,0 +1,17 @@
+#################################################
+#
+# (C) 2010 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+##### other data ################################
+
+install( FILES
+ mixed.desktop x-mixed-replace.desktop
+ DESTINATION ${MIME_INSTALL_DIR}/multipart )
+
diff --git a/mimetypes/text/CMakeLists.txt b/mimetypes/text/CMakeLists.txt
new file mode 100644
index 000000000..354c16ada
--- /dev/null
+++ b/mimetypes/text/CMakeLists.txt
@@ -0,0 +1,27 @@
+#################################################
+#
+# (C) 2010 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+##### other data ################################
+
+install( FILES
+ 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
+ rtf.desktop sgml.desktop xml.desktop css.desktop x-vcard.desktop x-ldif.desktop
+ x-vcalendar.desktop x-diff.desktop x-objcsrc.desktop x-log.desktop
+ x-bibtex.desktop rdf.desktop rss.desktop calendar.desktop x-adasrc.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 )
+
+install( FILES uninstall.desktop DESTINATION ${MIME_INSTALL_DIR}/text RENAME x-perl.desktop )
+install( FILES uninstall.desktop DESTINATION ${MIME_INSTALL_DIR}/text RENAME x-python.desktop )
+install( FILES uninstall.desktop DESTINATION ${MIME_INSTALL_DIR}/text RENAME x-lyx.desktop )
diff --git a/mimetypes/uri/CMakeLists.txt b/mimetypes/uri/CMakeLists.txt
new file mode 100644
index 000000000..751f9aa62
--- /dev/null
+++ b/mimetypes/uri/CMakeLists.txt
@@ -0,0 +1,16 @@
+#################################################
+#
+# (C) 2010 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+##### other data ################################
+
+install( FILES
+ mms.desktop mmst.desktop mmsu.desktop pnm.desktop rtspt.desktop rtspu.desktop
+ DESTINATION ${MIME_INSTALL_DIR}/uri )
diff --git a/mimetypes/video/CMakeLists.txt b/mimetypes/video/CMakeLists.txt
new file mode 100644
index 000000000..18514777e
--- /dev/null
+++ b/mimetypes/video/CMakeLists.txt
@@ -0,0 +1,19 @@
+#################################################
+#
+# (C) 2010 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+##### other data ################################
+
+install( FILES
+ mpeg.desktop quicktime.desktop x-flic.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 )