summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2008-02-01 12:17:52 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2008-02-01 12:17:52 +0800
commit8fd89279602bb2e4d354afab41a36e6ff3bbfea0 (patch)
treea3936cd2b05605aadf4a79c953183700729ca195
parent0a7af9d56f3e4d34e54d26564f3cd69fad622a82 (diff)
downloadmarcuscom-ports-8fd89279602bb2e4d354afab41a36e6ff3bbfea0.tar
marcuscom-ports-8fd89279602bb2e4d354afab41a36e6ff3bbfea0.tar.gz
marcuscom-ports-8fd89279602bb2e4d354afab41a36e6ff3bbfea0.tar.bz2
marcuscom-ports-8fd89279602bb2e4d354afab41a36e6ff3bbfea0.tar.lz
marcuscom-ports-8fd89279602bb2e4d354afab41a36e6ff3bbfea0.tar.xz
marcuscom-ports-8fd89279602bb2e4d354afab41a36e6ff3bbfea0.tar.zst
marcuscom-ports-8fd89279602bb2e4d354afab41a36e6ff3bbfea0.zip
Teach shared-mime-info about x-content. It's unoffical that was added in
Nautilus. With this, update-mime-database should be able to remove x-content when one of ports that has x-content is uninstall. Bump the PORTREVISION. http://mail.gnome.org/archives/nautilus-list/2008-January/msg00122.html git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10316 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--misc/shared-mime-info/Makefile47
-rw-r--r--misc/shared-mime-info/distinfo3
-rw-r--r--misc/shared-mime-info/files/patch-Makefile.in15
-rw-r--r--misc/shared-mime-info/files/patch-update-mime-database.c29
-rw-r--r--misc/shared-mime-info/files/pkg-install.in12
-rw-r--r--misc/shared-mime-info/pkg-descr6
-rw-r--r--misc/shared-mime-info/pkg-plist581
7 files changed, 693 insertions, 0 deletions
diff --git a/misc/shared-mime-info/Makefile b/misc/shared-mime-info/Makefile
new file mode 100644
index 000000000..71f516ed7
--- /dev/null
+++ b/misc/shared-mime-info/Makefile
@@ -0,0 +1,47 @@
+# New ports collection makefile for: shared-mime-info
+# Date created: 31 May 2002
+# Whom: olgeni@FreeBSD.org
+#
+# $FreeBSD$
+# $MCom$
+#
+
+PORTNAME= shared-mime-info
+PORTVERSION= 0.23
+PORTREVISION= 1
+CATEGORIES= misc gnome
+MASTER_SITES= http://people.freedesktop.org/~hadess/
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= A MIME type database from the FreeDesktop project
+
+USE_BZIP2= yes
+GNU_CONFIGURE= yes
+USE_GETTEXT= yes
+USE_GMAKE= yes
+USE_GNOME= glib20 libxml2 intltool gnomehack intlhack
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+MAN1= update-mime-database.1
+
+PKGINSTALL= ${WRKDIR}/pkg-install
+
+MIMEDIRS= ${LOCALBASE}/share/mime \
+ ${PREFIX}/share/mime
+MIMESUBDIRS= application audio image inode message model multipart \
+ packages text video x-epoc x-content
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|%%MIMEDIRS%%|${MIMEDIRS}|g' \
+ ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
+ ${WRKSRC}/update-mime-database.c
+
+post-install:
+ @${SED} -e 's|%%PREFIX%%|${PREFIX}| ; \
+ s|%%MIMEDIRS%%|${MIMEDIRS}|' \
+ < ${FILESDIR}/pkg-install.in > ${PKGINSTALL}
+ @${MKDIR} ${PREFIX}/share/mime/x-content
+
+.include <bsd.port.mk>
diff --git a/misc/shared-mime-info/distinfo b/misc/shared-mime-info/distinfo
new file mode 100644
index 000000000..bc3a0e6e3
--- /dev/null
+++ b/misc/shared-mime-info/distinfo
@@ -0,0 +1,3 @@
+MD5 (shared-mime-info-0.23.tar.bz2) = 3120a720f6a94881614b533f37a7671f
+SHA256 (shared-mime-info-0.23.tar.bz2) = 038faac46b629968f98dd8ead54ad0ced71fa438b59fca3a144000e0b7f01620
+SIZE (shared-mime-info-0.23.tar.bz2) = 475904
diff --git a/misc/shared-mime-info/files/patch-Makefile.in b/misc/shared-mime-info/files/patch-Makefile.in
new file mode 100644
index 000000000..6adf72809
--- /dev/null
+++ b/misc/shared-mime-info/files/patch-Makefile.in
@@ -0,0 +1,15 @@
+--- Makefile.in.orig Fri Apr 27 16:56:45 2007
++++ Makefile.in Fri Apr 27 16:57:14 2007
+@@ -901,7 +901,11 @@ $(pkgconfig_DATA): config.status
+ @INTLTOOL_DESKTOP_RULE@
+
+ install-data-hook:
+-@ENABLE_UPDATE_MIMEDB_TRUE@ $(DESTDIR)"$(bindir)/update-mime-database" -V "$(DESTDIR)$(datadir)/mime"
++@ENABLE_UPDATE_MIMEDB_TRUE@ for mdir in %%MIMEDIRS%%; do \
++@ENABLE_UPDATE_MIMEDB_TRUE@ if [ -d $${mdir} ]; then \
++@ENABLE_UPDATE_MIMEDB_TRUE@ $(DESTDIR)"$(bindir)/update-mime-database" "$${mdir}" ; \
++@ENABLE_UPDATE_MIMEDB_TRUE@ fi; \
++@ENABLE_UPDATE_MIMEDB_TRUE@ done
+
+ uninstall-hook:
+ for media in text application image audio inode video message model multipart; do rm -f "$(DESTDIR)$(datadir)/mime/$${media}/"*.xml; done
diff --git a/misc/shared-mime-info/files/patch-update-mime-database.c b/misc/shared-mime-info/files/patch-update-mime-database.c
new file mode 100644
index 000000000..5706a2b89
--- /dev/null
+++ b/misc/shared-mime-info/files/patch-update-mime-database.c
@@ -0,0 +1,29 @@
+--- update-mime-database.c.orig 2007-07-02 04:00:13.000000000 -0500
++++ update-mime-database.c 2008-01-28 23:42:30.000000000 -0600
+@@ -54,6 +54,7 @@
+ "model",
+ "multipart",
+ "x-epoc",
++ "x-content",
+ };
+
+ /* Represents a MIME type */
+@@ -445,7 +446,8 @@
+ }
+ }
+
+- xmlFree(lang);
++ if (lang)
++ xmlFree(lang);
+ }
+
+ /* 'node' is a <mime-type> node from a source file, whose type is 'type'.
+@@ -1510,7 +1512,7 @@
+
+ env = getenv("XDG_DATA_DIRS");
+ if (!env)
+- env = "/usr/local/share/"PATH_SEPARATOR"/usr/share/";
++ env = "/usr/local/share/";
+ dirs = g_strsplit(env, PATH_SEPARATOR, 0);
+ g_return_if_fail(dirs != NULL);
+ for (n = 0; dirs[n]; n++)
diff --git a/misc/shared-mime-info/files/pkg-install.in b/misc/shared-mime-info/files/pkg-install.in
new file mode 100644
index 000000000..b2c3db6d3
--- /dev/null
+++ b/misc/shared-mime-info/files/pkg-install.in
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+case $2 in
+POST-INSTALL)
+ for mdir in %%MIMEDIRS%%; do
+ if [ -d ${mdir} ]; then
+ %%PREFIX%%/bin/update-mime-database ${mdir}
+ fi
+ done
+ exit 0
+ ;;
+esac
diff --git a/misc/shared-mime-info/pkg-descr b/misc/shared-mime-info/pkg-descr
new file mode 100644
index 000000000..2dd23c8df
--- /dev/null
+++ b/misc/shared-mime-info/pkg-descr
@@ -0,0 +1,6 @@
+The freedesktop.org project provides a shared MIME database to avoid
+inconsistencies between desktops. This database has been created by
+converting the existing KDE and GNOME databases to the a format and
+merging them together.
+
+WWW: http://www.freedesktop.org/wiki/Software/shared-mime-info
diff --git a/misc/shared-mime-info/pkg-plist b/misc/shared-mime-info/pkg-plist
new file mode 100644
index 000000000..8955e3e34
--- /dev/null
+++ b/misc/shared-mime-info/pkg-plist
@@ -0,0 +1,581 @@
+bin/update-mime-database
+libdata/pkgconfig/shared-mime-info.pc
+@unexec [ -f %D/share/mime/XMLnamespaces ] && rm -f %D/share/mime/XMLnamespaces || true
+share/locale/az/LC_MESSAGES/shared-mime-info.mo
+share/locale/bg/LC_MESSAGES/shared-mime-info.mo
+share/locale/ca/LC_MESSAGES/shared-mime-info.mo
+share/locale/cs/LC_MESSAGES/shared-mime-info.mo
+share/locale/cy/LC_MESSAGES/shared-mime-info.mo
+share/locale/da/LC_MESSAGES/shared-mime-info.mo
+share/locale/de/LC_MESSAGES/shared-mime-info.mo
+share/locale/el/LC_MESSAGES/shared-mime-info.mo
+share/locale/en_GB/LC_MESSAGES/shared-mime-info.mo
+share/locale/eo/LC_MESSAGES/shared-mime-info.mo
+share/locale/es/LC_MESSAGES/shared-mime-info.mo
+share/locale/eu/LC_MESSAGES/shared-mime-info.mo
+share/locale/fi/LC_MESSAGES/shared-mime-info.mo
+share/locale/fr/LC_MESSAGES/shared-mime-info.mo
+share/locale/hu/LC_MESSAGES/shared-mime-info.mo
+share/locale/it/LC_MESSAGES/shared-mime-info.mo
+share/locale/ja/LC_MESSAGES/shared-mime-info.mo
+share/locale/ko/LC_MESSAGES/shared-mime-info.mo
+share/locale/lt/LC_MESSAGES/shared-mime-info.mo
+share/locale/ms/LC_MESSAGES/shared-mime-info.mo
+share/locale/nb/LC_MESSAGES/shared-mime-info.mo
+share/locale/nl/LC_MESSAGES/shared-mime-info.mo
+share/locale/nn/LC_MESSAGES/shared-mime-info.mo
+share/locale/pl/LC_MESSAGES/shared-mime-info.mo
+share/locale/pt/LC_MESSAGES/shared-mime-info.mo
+share/locale/pt_BR/LC_MESSAGES/shared-mime-info.mo
+share/locale/ru/LC_MESSAGES/shared-mime-info.mo
+share/locale/rw/LC_MESSAGES/shared-mime-info.mo
+share/locale/sq/LC_MESSAGES/shared-mime-info.mo
+share/locale/sr/LC_MESSAGES/shared-mime-info.mo
+share/locale/sv/LC_MESSAGES/shared-mime-info.mo
+share/locale/uk/LC_MESSAGES/shared-mime-info.mo
+share/locale/vi/LC_MESSAGES/shared-mime-info.mo
+share/locale/zh_CN/LC_MESSAGES/shared-mime-info.mo
+share/locale/zh_TW/LC_MESSAGES/shared-mime-info.mo
+share/mime/application/andrew-inset.xml
+share/mime/application/atom+xml.xml
+share/mime/application/dicom.xml
+share/mime/application/docbook+xml.xml
+share/mime/application/ecmascript.xml
+share/mime/application/illustrator.xml
+share/mime/application/javascript.xml
+share/mime/application/mac-binhex40.xml
+share/mime/application/mathematica.xml
+share/mime/application/mbox.xml
+share/mime/application/msword.xml
+share/mime/application/octet-stream.xml
+share/mime/application/oda.xml
+share/mime/application/ogg.xml
+share/mime/application/pdf.xml
+share/mime/application/pkcs10.xml
+share/mime/application/pgp-encrypted.xml
+share/mime/application/pgp-keys.xml
+share/mime/application/pgp-signature.xml
+share/mime/application/pkcs7-mime.xml
+share/mime/application/pkcs7-signature.xml
+share/mime/application/postscript.xml
+share/mime/application/prs.plucker.xml
+share/mime/application/ram.xml
+share/mime/application/rss+xml.xml
+share/mime/application/rtf.xml
+share/mime/application/sdp.xml
+share/mime/application/sieve.xml
+share/mime/application/smil.xml
+share/mime/application/stuffit.xml
+share/mime/application/vnd.corel-draw.xml
+share/mime/application/vnd.emusic-emusic_package.xml
+share/mime/application/vnd.hp-hpgl.xml
+share/mime/application/vnd.hp-pcl.xml
+share/mime/application/vnd.lotus-1-2-3.xml
+share/mime/application/vnd.mozilla.xul+xml.xml
+share/mime/application/vnd.ms-access.xml
+share/mime/application/vnd.ms-excel.xml
+share/mime/application/vnd.ms-powerpoint.xml
+share/mime/application/vnd.ms-tnef.xml
+share/mime/application/vnd.ms-xpsdocument.xml
+share/mime/application/vnd.oasis.opendocument.chart.xml
+share/mime/application/vnd.oasis.opendocument.database.xml
+share/mime/application/vnd.oasis.opendocument.formula.xml
+share/mime/application/vnd.oasis.opendocument.graphics-template.xml
+share/mime/application/vnd.oasis.opendocument.graphics.xml
+share/mime/application/vnd.oasis.opendocument.image.xml
+share/mime/application/vnd.oasis.opendocument.presentation-template.xml
+share/mime/application/vnd.oasis.opendocument.presentation.xml
+share/mime/application/vnd.oasis.opendocument.spreadsheet-template.xml
+share/mime/application/vnd.oasis.opendocument.spreadsheet.xml
+share/mime/application/vnd.oasis.opendocument.text-master.xml
+share/mime/application/vnd.oasis.opendocument.text-template.xml
+share/mime/application/vnd.oasis.opendocument.text-web.xml
+share/mime/application/vnd.oasis.opendocument.text.xml
+share/mime/application/vnd.rn-realmedia.xml
+share/mime/application/vnd.stardivision.calc.xml
+share/mime/application/vnd.stardivision.chart.xml
+share/mime/application/vnd.stardivision.draw.xml
+share/mime/application/vnd.stardivision.impress.xml
+share/mime/application/vnd.stardivision.mail.xml
+share/mime/application/vnd.stardivision.math.xml
+share/mime/application/vnd.stardivision.writer.xml
+share/mime/application/vnd.sun.xml.calc.template.xml
+share/mime/application/vnd.sun.xml.calc.xml
+share/mime/application/vnd.sun.xml.draw.template.xml
+share/mime/application/vnd.sun.xml.draw.xml
+share/mime/application/vnd.sun.xml.impress.template.xml
+share/mime/application/vnd.sun.xml.impress.xml
+share/mime/application/vnd.sun.xml.math.xml
+share/mime/application/vnd.sun.xml.writer.global.xml
+share/mime/application/vnd.sun.xml.writer.template.xml
+share/mime/application/vnd.sun.xml.writer.xml
+share/mime/application/vnd.symbian.install.xml
+share/mime/application/vnd.wordperfect.xml
+share/mime/application/x-7z-compressed.xml
+share/mime/application/x-abiword.xml
+share/mime/application/x-ace.xml
+share/mime/application/x-amipro.xml
+share/mime/application/x-applix-spreadsheet.xml
+share/mime/application/x-applix-word.xml
+share/mime/application/x-arc.xml
+share/mime/application/x-archive.xml
+share/mime/application/x-arj.xml
+share/mime/application/x-asp.xml
+share/mime/application/x-awk.xml
+share/mime/application/x-bcpio.xml
+share/mime/application/x-bittorrent.xml
+share/mime/application/x-blender.xml
+share/mime/application/x-bzdvi.xml
+share/mime/application/x-bzip-compressed-tar.xml
+share/mime/application/x-bzip.xml
+share/mime/application/x-bzpdf.xml
+share/mime/application/x-bzpostscript.xml
+share/mime/application/x-cbr.xml
+share/mime/application/x-cbz.xml
+share/mime/application/x-cd-image.xml
+share/mime/application/x-cgi.xml
+share/mime/application/x-chess-pgn.xml
+share/mime/application/x-chm.xml
+share/mime/application/x-class-file.xml
+share/mime/application/x-compress.xml
+share/mime/application/x-compressed-tar.xml
+share/mime/application/x-core.xml
+share/mime/application/x-cpio-compressed.xml
+share/mime/application/x-cpio.xml
+share/mime/application/x-csh.xml
+share/mime/application/x-cue.xml
+share/mime/application/x-dar.xml
+share/mime/application/x-dbf.xml
+share/mime/application/x-dbm.xml
+share/mime/application/x-dc-rom.xml
+share/mime/application/x-deb.xml
+share/mime/application/x-designer.xml
+share/mime/application/x-desktop.xml
+share/mime/application/x-dia-diagram.xml
+share/mime/application/x-dvi.xml
+share/mime/application/x-e-theme.xml
+share/mime/application/x-egon.xml
+share/mime/application/x-executable.xml
+share/mime/application/x-flash-video.xml
+share/mime/application/x-font-afm.xml
+share/mime/application/x-font-bdf.xml
+share/mime/application/x-font-dos.xml
+share/mime/application/x-font-framemaker.xml
+share/mime/application/x-font-libgrx.xml
+share/mime/application/x-font-linux-psf.xml
+share/mime/application/x-font-otf.xml
+share/mime/application/x-font-pcf.xml
+share/mime/application/x-font-speedo.xml
+share/mime/application/x-font-sunos-news.xml
+share/mime/application/x-font-tex-tfm.xml
+share/mime/application/x-font-tex.xml
+share/mime/application/x-font-ttf.xml
+share/mime/application/x-font-type1.xml
+share/mime/application/x-font-vfont.xml
+share/mime/application/x-frame.xml
+share/mime/application/x-gameboy-rom.xml
+share/mime/application/x-gba-rom.xml
+share/mime/application/x-gdbm.xml
+share/mime/application/x-gedcom.xml
+share/mime/application/x-genesis-rom.xml
+share/mime/application/x-gettext-translation.xml
+share/mime/application/x-glade.xml
+share/mime/application/x-gmc-link.xml
+share/mime/application/x-gnucash.xml
+share/mime/application/x-gnumeric.xml
+share/mime/application/x-gnuplot.xml
+share/mime/application/x-go-sgf.xml
+share/mime/application/x-graphite.xml
+share/mime/application/x-gtktalog.xml
+share/mime/application/x-gz-font-linux-psf.xml
+share/mime/application/x-gzdvi.xml
+share/mime/application/x-gzip.xml
+share/mime/application/x-gzpdf.xml
+share/mime/application/x-gzpostscript.xml
+share/mime/application/x-hdf.xml
+share/mime/application/x-hwp.xml
+share/mime/application/x-hwt.xml
+share/mime/application/x-ica.xml
+share/mime/application/x-ipod-firmware.xml
+share/mime/application/x-java-archive.xml
+share/mime/application/x-java-jnlp-file.xml
+share/mime/application/x-java.xml
+share/mime/application/x-jbuilder-project.xml
+share/mime/application/x-karbon.xml
+share/mime/application/x-kchart.xml
+share/mime/application/x-kformula.xml
+share/mime/application/x-killustrator.xml
+share/mime/application/x-kivio.xml
+share/mime/application/x-kontour.xml
+share/mime/application/x-kpovmodeler.xml
+share/mime/application/x-kpresenter.xml
+share/mime/application/x-krita.xml
+share/mime/application/x-kspread-crypt.xml
+share/mime/application/x-kspread.xml
+share/mime/application/x-ksysv-package.xml
+share/mime/application/x-kugar.xml
+share/mime/application/x-kword-crypt.xml
+share/mime/application/x-kword.xml
+share/mime/application/x-lha.xml
+share/mime/application/x-lhz.xml
+share/mime/application/x-linguist.xml
+share/mime/application/x-lyx.xml
+share/mime/application/x-lzop.xml
+share/mime/application/x-m4.xml
+share/mime/application/x-macbinary.xml
+share/mime/application/x-magicpoint.xml
+share/mime/application/x-markaby.xml
+share/mime/application/x-mif.xml
+share/mime/application/x-mozilla-bookmarks.xml
+share/mime/application/x-ms-dos-executable.xml
+share/mime/application/x-mswinurl.xml
+share/mime/application/x-mswrite.xml
+share/mime/application/x-msx-rom.xml
+share/mime/application/x-n64-rom.xml
+share/mime/application/x-nautilus-link.xml
+share/mime/application/x-nes-rom.xml
+share/mime/application/x-netcdf.xml
+share/mime/application/x-netshow-channel.xml
+share/mime/application/x-nintendo-ds-rom.xml
+share/mime/application/x-object.xml
+share/mime/application/x-ole-storage.xml
+share/mime/application/x-oleo.xml
+share/mime/application/x-pak.xml
+share/mime/application/x-palm-database.xml
+share/mime/application/x-par2.xml
+share/mime/application/x-pef-executable.xml
+share/mime/application/x-perl.xml
+share/mime/application/x-php.xml
+share/mime/application/x-pkcs12.xml
+share/mime/application/x-planperfect.xml
+share/mime/application/x-profile.xml
+share/mime/application/x-pw.xml
+share/mime/application/x-python-bytecode.xml
+share/mime/application/x-quattropro.xml
+share/mime/application/x-quicktime-media-link.xml
+share/mime/application/x-qw.xml
+share/mime/application/x-rar.xml
+share/mime/application/x-reject.xml
+share/mime/application/x-rpm.xml
+share/mime/application/x-ruby.xml
+share/mime/application/x-sami.xml
+share/mime/application/x-sc.xml
+share/mime/application/x-shar.xml
+share/mime/application/x-shared-library-la.xml
+share/mime/application/x-sharedlib.xml
+share/mime/application/x-shellscript.xml
+share/mime/application/x-shockwave-flash.xml
+share/mime/application/x-shorten.xml
+share/mime/application/x-siag.xml
+share/mime/application/x-slp.xml
+share/mime/application/x-sms-rom.xml
+share/mime/application/x-snes-rom.xml
+share/mime/application/x-sqlite2.xml
+share/mime/application/x-sqlite3.xml
+share/mime/application/x-stuffit.xml
+share/mime/application/x-subrip.xml
+share/mime/application/x-sv4cpio.xml
+share/mime/application/x-sv4crc.xml
+share/mime/application/x-t602.xml
+share/mime/application/x-tar.xml
+share/mime/application/x-tarz.xml
+share/mime/application/x-tex-gf.xml
+share/mime/application/x-tex-pk.xml
+share/mime/application/x-tgif.xml
+share/mime/application/x-theme.xml
+share/mime/application/x-toutdoux.xml
+share/mime/application/x-trash.xml
+share/mime/application/x-troff-man-compressed.xml
+share/mime/application/x-troff-man.xml
+share/mime/application/x-tzo.xml
+share/mime/application/x-ufraw.xml
+share/mime/application/x-ustar.xml
+share/mime/application/x-wais-source.xml
+share/mime/application/x-wpg.xml
+share/mime/application/x-x509-ca-cert.xml
+share/mime/application/x-xbel.xml
+share/mime/application/x-xliff.xml
+share/mime/application/x-zerosize.xml
+share/mime/application/x-zoo.xml
+share/mime/application/xhtml+xml.xml
+share/mime/application/xml.xml
+share/mime/application/xslt+xml.xml
+share/mime/application/xspf+xml.xml
+share/mime/application/zip.xml
+share/mime/audio/AMR-WB.xml
+share/mime/audio/AMR.xml
+share/mime/audio/ac3.xml
+share/mime/audio/basic.xml
+share/mime/audio/midi.xml
+share/mime/audio/mp2.xml
+share/mime/audio/mp4.xml
+share/mime/audio/mpeg.xml
+share/mime/audio/ogg.xml
+share/mime/audio/prs.sid.xml
+share/mime/audio/vnd.rn-realaudio.xml
+share/mime/audio/x-adpcm.xml
+share/mime/audio/x-aifc.xml
+share/mime/audio/x-aiff.xml
+share/mime/audio/x-aiffc.xml
+share/mime/audio/x-ape.xml
+share/mime/audio/x-flac+ogg.xml
+share/mime/audio/x-flac.xml
+share/mime/audio/x-iriver-pla.xml
+share/mime/audio/x-it.xml
+share/mime/audio/x-m4b.xml
+share/mime/audio/x-matroska.xml
+share/mime/audio/x-minipsf.xml
+share/mime/audio/x-mod.xml
+share/mime/audio/x-mp3-playlist.xml
+share/mime/audio/x-mpegurl.xml
+share/mime/audio/x-ms-asx.xml
+share/mime/audio/x-ms-wma.xml
+share/mime/audio/x-musepack.xml
+share/mime/audio/x-psf.xml
+share/mime/audio/x-psflib.xml
+share/mime/audio/x-riff.xml
+share/mime/audio/x-s3m.xml
+share/mime/audio/x-scpls.xml
+share/mime/audio/x-speex+ogg.xml
+share/mime/audio/x-speex.xml
+share/mime/audio/x-stm.xml
+share/mime/audio/x-tta.xml
+share/mime/audio/x-voc.xml
+share/mime/audio/x-vorbis+ogg.xml
+share/mime/audio/x-wav.xml
+share/mime/audio/x-wavpack-correction.xml
+share/mime/audio/x-wavpack.xml
+share/mime/audio/x-xi.xml
+share/mime/audio/x-xm.xml
+@unexec [ -f %D/share/mime/globs ] && rm -f %D/share/mime/globs || true
+share/mime/image/bmp.xml
+share/mime/image/cgm.xml
+share/mime/image/dpx.xml
+share/mime/image/fax-g3.xml
+share/mime/image/g3fax.xml
+share/mime/image/gif.xml
+share/mime/image/ief.xml
+share/mime/image/jp2.xml
+share/mime/image/jpeg.xml
+share/mime/image/png.xml
+share/mime/image/rle.xml
+share/mime/image/svg+xml.xml
+share/mime/image/svg+xml-compressed.xml
+share/mime/image/tiff.xml
+share/mime/image/vnd.djvu.xml
+share/mime/image/vnd.dwg.xml
+share/mime/image/vnd.dxf.xml
+share/mime/image/vnd.rn-realpix.xml
+share/mime/image/vnd.wap.wbmp.xml
+share/mime/image/x-3ds.xml
+share/mime/image/x-adobe-dng.xml
+share/mime/image/x-applix-graphics.xml
+share/mime/image/x-bzeps.xml
+share/mime/image/x-canon-cr2.xml
+share/mime/image/x-canon-crw.xml
+share/mime/image/x-cmu-raster.xml
+share/mime/image/x-compressed-xcf.xml
+share/mime/image/x-dcraw.xml
+share/mime/image/x-dds.xml
+share/mime/image/x-dib.xml
+share/mime/image/x-emf.xml
+share/mime/image/x-eps.xml
+share/mime/image/x-fits.xml
+share/mime/image/x-fpx.xml
+share/mime/image/x-fuji-raf.xml
+share/mime/image/x-gzeps.xml
+share/mime/image/x-icns.xml
+share/mime/image/x-ico.xml
+share/mime/image/x-iff.xml
+share/mime/image/x-ilbm.xml
+share/mime/image/x-jng.xml
+share/mime/image/x-kodak-dcr.xml
+share/mime/image/x-kodak-k25.xml
+share/mime/image/x-kodak-kdc.xml
+share/mime/image/x-lwo.xml
+share/mime/image/x-lws.xml
+share/mime/image/x-macpaint.xml
+share/mime/image/x-minolta-mrw.xml
+share/mime/image/x-msod.xml
+share/mime/image/x-niff.xml
+share/mime/image/x-nikon-nef.xml
+share/mime/image/x-olympus-orf.xml
+share/mime/image/x-panasonic-raw.xml
+share/mime/image/x-pcx.xml
+share/mime/image/x-pentax-pef.xml
+share/mime/image/x-photo-cd.xml
+share/mime/image/x-pict.xml
+share/mime/image/x-portable-anymap.xml
+share/mime/image/x-portable-bitmap.xml
+share/mime/image/x-portable-graymap.xml
+share/mime/image/x-portable-pixmap.xml
+share/mime/image/x-psd.xml
+share/mime/image/x-quicktime.xml
+share/mime/image/x-rgb.xml
+share/mime/image/x-sgi.xml
+share/mime/image/x-sigma-x3f.xml
+share/mime/image/x-sony-arw.xml
+share/mime/image/x-sony-sr2.xml
+share/mime/image/x-sony-srf.xml
+share/mime/image/x-sun-raster.xml
+share/mime/image/x-tga.xml
+share/mime/image/x-win-bitmap.xml
+share/mime/image/x-wmf.xml
+share/mime/image/x-xbitmap.xml
+share/mime/image/x-xcf.xml
+share/mime/image/x-xcursor.xml
+share/mime/image/x-xfig.xml
+share/mime/image/x-xpixmap.xml
+share/mime/image/x-xwindowdump.xml
+share/mime/inode/blockdevice.xml
+share/mime/inode/chardevice.xml
+share/mime/inode/directory.xml
+share/mime/inode/fifo.xml
+share/mime/inode/mount-point.xml
+share/mime/inode/socket.xml
+share/mime/inode/symlink.xml
+@unexec [ -f %D/share/mime/magic ] && rm -f %D/share/mime/magic || true
+@unexec [ -f %D/share/mime/aliases ] && rm -f %D/share/mime/aliases || true
+@unexec [ -f %D/share/mime/subclasses ] && rm -f %D/share/mime/subclasses || true
+share/mime/message/delivery-status.xml
+share/mime/message/disposition-notification.xml
+share/mime/message/external-body.xml
+share/mime/message/news.xml
+share/mime/message/partial.xml
+share/mime/message/rfc822.xml
+share/mime/message/x-gnu-rmail.xml
+share/mime/model/vrml.xml
+share/mime/multipart/alternative.xml
+share/mime/multipart/appledouble.xml
+share/mime/multipart/digest.xml
+share/mime/multipart/encrypted.xml
+share/mime/multipart/mixed.xml
+share/mime/multipart/related.xml
+share/mime/multipart/report.xml
+share/mime/multipart/signed.xml
+share/mime/multipart/x-mixed-replace.xml
+share/mime/packages/freedesktop.org.xml
+share/mime/text/calendar.xml
+share/mime/text/css.xml
+share/mime/text/csv.xml
+share/mime/text/directory.xml
+share/mime/text/enriched.xml
+share/mime/text/html.xml
+share/mime/text/htmlh.xml
+share/mime/text/mathml.xml
+share/mime/text/plain.xml
+share/mime/text/rdf.xml
+share/mime/text/rfc822-headers.xml
+share/mime/text/richtext.xml
+share/mime/text/sgml.xml
+share/mime/text/spreadsheet.xml
+share/mime/text/tab-separated-values.xml
+share/mime/text/troff.xml
+share/mime/text/vnd.rn-realtext.xml
+share/mime/text/vnd.sun.j2me.app-descriptor.xml
+share/mime/text/vnd.wap.wmlscript.xml
+share/mime/text/vnd.wap.wml.xml
+share/mime/text/x-adasrc.xml
+share/mime/text/x-authors.xml
+share/mime/text/x-bibtex.xml
+share/mime/text/x-c++hdr.xml
+share/mime/text/x-c++src.xml
+share/mime/text/x-changelog.xml
+share/mime/text/x-chdr.xml
+share/mime/text/x-copying.xml
+share/mime/text/x-credits.xml
+share/mime/text/x-csharp.xml
+share/mime/text/x-csrc.xml
+share/mime/text/x-dcl.xml
+share/mime/text/x-dsl.xml
+share/mime/text/x-dsrc.xml
+share/mime/text/x-dtd.xml
+share/mime/text/x-emacs-lisp.xml
+share/mime/text/x-erlang.xml
+share/mime/text/x-fortran.xml
+share/mime/text/x-gettext-translation-template.xml
+share/mime/text/x-gettext-translation.xml
+share/mime/text/x-google-video-pointer.xml
+share/mime/text/x-gtkrc.xml
+share/mime/text/x-haskell.xml
+share/mime/text/x-idl.xml
+share/mime/text/x-install.xml
+share/mime/text/x-java.xml
+share/mime/text/x-ksysv-log.xml
+share/mime/text/x-ldif.xml
+share/mime/text/x-literate-haskell.xml
+share/mime/text/x-log.xml
+share/mime/text/x-lua.xml
+share/mime/text/x-makefile.xml
+share/mime/text/x-matlab.xml
+share/mime/text/x-microdvd.xml
+share/mime/text/x-moc.xml
+share/mime/text/x-mpsub.xml
+share/mime/text/x-mup.xml
+share/mime/text/x-objcsrc.xml
+share/mime/text/x-ocaml.xml
+share/mime/text/x-ocl.xml
+share/mime/text/x-opml+xml.xml
+share/mime/text/x-pascal.xml
+share/mime/text/x-patch.xml
+share/mime/text/x-python.xml
+share/mime/text/x-readme.xml
+share/mime/text/x-rpm-spec.xml
+share/mime/text/x-scheme.xml
+share/mime/text/x-setext.xml
+share/mime/text/x-speech.xml
+share/mime/text/x-sql.xml
+share/mime/text/x-ssa.xml
+share/mime/text/x-tcl.xml
+share/mime/text/x-tex.xml
+share/mime/text/x-texinfo.xml
+share/mime/text/x-troff-me.xml
+share/mime/text/x-troff-mm.xml
+share/mime/text/x-troff-ms.xml
+share/mime/text/x-txt2tags.xml
+share/mime/text/x-uil.xml
+share/mime/text/x-uri.xml
+share/mime/text/x-vala.xml
+share/mime/text/x-vhdl.xml
+share/mime/text/x-xmi.xml
+share/mime/text/x-xslfo.xml
+share/mime/text/xmcd.xml
+share/mime/video/3gpp.xml
+share/mime/video/dv.xml
+share/mime/video/isivideo.xml
+share/mime/video/mp4.xml
+share/mime/video/mpeg.xml
+share/mime/video/ogg.xml
+share/mime/video/quicktime.xml
+share/mime/video/vivo.xml
+share/mime/video/vnd.rn-realvideo.xml
+share/mime/video/wavelet.xml
+share/mime/video/x-anim.xml
+share/mime/video/x-flic.xml
+share/mime/video/x-matroska.xml
+share/mime/video/x-mng.xml
+share/mime/video/x-ms-asf.xml
+share/mime/video/x-ms-wmv.xml
+share/mime/video/x-msvideo.xml
+share/mime/video/x-nsv.xml
+share/mime/video/x-ogm+ogg.xml
+share/mime/video/x-sgi-movie.xml
+share/mime/video/x-theora+ogg.xml
+share/mime/x-epoc/x-sisx-app.xml
+@exec /bin/mkdir -p %D/share/mime/x-content
+@dirrmtry share/mime/x-content
+@dirrmtry share/mime/x-epoc
+@dirrmtry share/mime/video
+@dirrmtry share/mime/text
+@dirrmtry share/mime/packages
+@dirrmtry share/mime/multipart
+@dirrmtry share/mime/model
+@dirrmtry share/mime/message
+@dirrmtry share/mime/inode
+@dirrmtry share/mime/image
+@dirrmtry share/mime/audio
+@dirrmtry share/mime/application
+@unexec [ -f %D/share/mime/mime.cache ] && rm -f %D/share/mime/mime.cache || true
+@dirrmtry share/mime
+@dirrmtry share/locale/rw/LC_MESSAGES
+@dirrmtry share/locale/rw