openshot.developers team mailing list archive
-
openshot.developers team
-
Mailing list archive
-
Message #00184
Re: Mime-Type / Icon question
They are not XML, they are binary files. So, I guess that answers the next
question too. =)
That sounds good about the Mime Types. Does this mean that OpenShot will
now show up in the list of installed applications in Ubuntu? Or is that yet
another file we need to configure?
Thanks,
-Jonathan
On Thu, Aug 27, 2009 at 3:55 PM, TJ <ubuntu@xxxxxxxxxxx> wrote:
>
> I have a couple of questions regarding the openshot project files:
>
> 1. Are they XML?
>
> 2. Do they use an existing XML DTD (e.g. Kino uses SMIL) ?
>
> The reference I'm using to create the XML file is:
>
>
> http://standards.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html
>
>
> As I understand it, the XDG "openshot.desktop" will include:
>
> MimeType=application/vnd.openshot-project
>
> and the mime-info "/usr/share/mime/packages/openshot.xml" will be
> something like:
>
> <?xml version="1.0"?>
> <mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
> <mime-type type="application/vnd.openshot-project">
> <comment>OpenShot project</comment>
> <glob pattern="*.osp"/>
> </mime-type>
> </mime-info>
>
> In the Debian package the "postinst" script will call:
>
> update-mime-database /usr/share/mime
>
> CDBS automates this if it finds source package files
> "debian/openshot.mime" and "debian/openshot.sharemimeinfo".
>
> The package is responsible for installing the "openshot.desktop" file
> itself (which it already does).
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openshot.developers<https://launchpad.net/%7Eopenshot.developers>
> Post to : openshot.developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openshot.developers<https://launchpad.net/%7Eopenshot.developers>
> More help : https://help.launchpad.net/ListHelp
>
Follow ups
References