[svn r77] created package for register mimetype trunk
authorrenatofilho
Thu Nov 09 20:22:45 2006 +0000 (2006-11-09)
branchtrunk
changeset 761c1958d4bab7
parent 75 761a8bbe4278
child 77 bca1fb717911
[svn r77] created package for register mimetype
gst-plugins-nuvdemux/debian/control
gst-plugins-nuvdemux/debian/files
gst-plugins-nuvdemux/debian/maemo-nuvdemux.install
gst-plugins-nuvdemux/debian/maemo-nuvdemux.postinst
gst-plugins-nuvdemux/debian/nuv.xml
gst-plugins-nuvdemux/debian/osso_media_server_nuv.schemas
     1.1 --- a/gst-plugins-nuvdemux/debian/control	Thu Nov 09 19:45:27 2006 +0000
     1.2 +++ b/gst-plugins-nuvdemux/debian/control	Thu Nov 09 20:22:45 2006 +0000
     1.3 @@ -11,3 +11,10 @@
     1.4  Depends: ${misc:Depends}, ${shlibs:Depends}
     1.5  Description: INdT nuv demux GStreamer plugin
     1.6   This GStreamer plugin permits demux of Nuv streams.
     1.7 +
     1.8 +Package: maemo-nuvdemux
     1.9 +Architecture: all
    1.10 +Depends: gstreamer0.10-indt-nuvdemux
    1.11 +Description: enable support to nuvdemux on osso media server (meta-package)
    1.12 + This package is a meta-package that, when installed, guarantees that you
    1.13 + have support to nuv files on osso-media-server.
     2.1 --- a/gst-plugins-nuvdemux/debian/files	Thu Nov 09 19:45:27 2006 +0000
     2.2 +++ b/gst-plugins-nuvdemux/debian/files	Thu Nov 09 20:22:45 2006 +0000
     2.3 @@ -1,1 +1,2 @@
     2.4 +maemo-nuvdemux_0.10.2.debian-1_all.deb libs optional
     2.5  gstreamer0.10-indt-nuvdemux_0.10.2.debian-1_i386.deb libs optional
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/gst-plugins-nuvdemux/debian/maemo-nuvdemux.install	Thu Nov 09 20:22:45 2006 +0000
     3.3 @@ -0,0 +1,2 @@
     3.4 +debian/nuv.xml usr/share/mime/packages/
     3.5 +debian/osso_media_server_nuv.schemas etc/gconf/schemas
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/gst-plugins-nuvdemux/debian/maemo-nuvdemux.postinst	Thu Nov 09 20:22:45 2006 +0000
     4.3 @@ -0,0 +1,16 @@
     4.4 +#! /bin/sh
     4.5 +set -e
     4.6 +
     4.7 +#DEBHELPER#
     4.8 +
     4.9 +# Register our X Desktop Group Shared MIME-info Database info
    4.10 +if [ -x /usr/bin/update-mime-database ] ; then
    4.11 +        /usr/bin/update-mime-database /usr/share/mime
    4.12 +fi
    4.13 +
    4.14 +# Register a new type on Osso Media Server
    4.15 +if [ -x /usr/bin/gconftool-2 ] ; then
    4.16 +    /urc/bin/gconftool-2 --makefile-install-rule /etc/gconf/schemas/osso_media_server_nuv.schemas
    4.17 +fi
    4.18 +
    4.19 +exit 0
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/gst-plugins-nuvdemux/debian/nuv.xml	Thu Nov 09 20:22:45 2006 +0000
     5.3 @@ -0,0 +1,11 @@
     5.4 +<?xml version="1.0" encoding="UTF-8"?>
     5.5 +<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
     5.6 + <mime-type type="video/x-nuv">
     5.7 +  <comment>Nuv File</comment>
     5.8 +  <comment xml:lang="en">Mythtv Nuv file container</comment>
     5.9 +  <magic priority="60">
    5.10 +   <match value="MythTVVideo" type="string" offset="0"/>
    5.11 +  </magic>
    5.12 +  <glob pattern="*.nuv"/>
    5.13 + </mime-type>
    5.14 +</mime-info>
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/gst-plugins-nuvdemux/debian/osso_media_server_nuv.schemas	Thu Nov 09 20:22:45 2006 +0000
     6.3 @@ -0,0 +1,17 @@
     6.4 +<?xml version="1.0"?>
     6.5 +<gconfschemafile>
     6.6 +  <schemalist>
     6.7 +    <schema>
     6.8 +      <key>/schemas/apps/osso/osso_media_server/demux_video/video_x-nuv</key>
     6.9 +      <applyto>/apps/osso/osso_media_server/demux_video/video_x-nuv</applyto>
    6.10 +      <owner>osso_media_server</owner>
    6.11 +      <type>list</type>
    6.12 +      <list_type>string</list_type>
    6.13 +      <default>[video/x-nuv,nuvdemux]</default>
    6.14 +      <locale name="C">
    6.15 +        <short>Play MYTHTV .nuv files.</short>
    6.16 +        <long>Play MYTHTV .nuv files at osso media server.</long>
    6.17 +      </locale>
    6.18 +    </schema>
    6.19 +  </schemalist>
    6.20 +</gconfschemafile>