More gnome 2.8 preparations

I beleive an additional step is required in order to correctly handle
beast mime types in gnome 2.8. The following text is taken from
When your application is installed, it should install a file with the
application's name in $XDG_DATA_DIRS/mime/packages. For example,
doing ./configure && make install with Gimp should
create /usr/local/share/mime/packages/gimp.xml


Once you have installed the gimp.xml file, run the update-mime-database
command to rebuild the output files. This program checks that the syntax
of your file is correct and merges the information in it with that in
the other XML files in the packages directory. It then puts the rules
for recognising files into one set of files, and the information about
each type into other files (eg $XDG_DATA_DIR/mime/image/png.xml), where
other programs can access it easily.

When the Gimp is uninstalled, it should remove the gimp.xml file and run
update-mime-database again to remove the information from the database.

Attached beast.xml (does not seem to require any "magic" fields). --
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="";>
  <mime-type type="application/x-bse">
    <comment xml:lang="en">BSE Synthesis File</comment>
    <glob pattern="*.bse"/>
  <mime-type type="application/x-bsewave">
    <comment xml:lang="en">BSE Multi-Part Wave File</comment>
    <glob pattern="*.bsewave"/>

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]