gst-gmyth/debian/maemo-nuvdemux.postinst
author morphbr
Tue May 29 21:24:48 2007 +0100 (2007-05-29)
branchtrunk
changeset 718 3fbcd3d9b2d1
permissions -rw-r--r--
[svn r724] * GMyth-Streamer version 0.3 released
- Improved Log architecture;
- Creation of a history for the transcoder's actions
- Creation of an id for each transcoder instanciated
- Also wrapps default actions for python's default logger

- Created new functions to make use of this new Log architecture;
- serve_new_id
- serve_get_log
- serve_get_all_log

- _Lot_ of small bug fixes;

- Inserted header for all files;

- Splited files with too many lines (more than 1 class per file)
in more files;
renatofilho@608
     1
#! /bin/sh
renatofilho@608
     2
set -e
renatofilho@608
     3
renatofilho@608
     4
#DEBHELPER#
renatofilho@608
     5
renatofilho@608
     6
# Register our X Desktop Group Shared MIME-info Database info
renatofilho@608
     7
if [ -x /usr/bin/update-mime-database ] ; then
renatofilho@608
     8
        /usr/bin/update-mime-database /usr/share/mime
renatofilho@608
     9
fi
renatofilho@608
    10
renatofilho@608
    11
# Register a new type on Osso Media Server
renatofilho@608
    12
if [ -x /usr/bin/gconftool-2 ] ; then
renatofilho@608
    13
    /usr/bin/gconftool-2 --makefile-install-rule /usr/share/gconf/schemas/osso_media_server_nuv.schemas
renatofilho@608
    14
fi
renatofilho@608
    15
renatofilho@608
    16
#append nuv info on osso mediaplayer ui
renatofilho@608
    17
data_file=/usr/share/applications/hildon/mp_ui.desktop
renatofilho@608
    18
tmp_file=/tmp/mp_ui.desktop
renatofilho@608
    19
cat $data_file | sed 's/X-Osso-URI-Actions=rtsp/X-Osso-URI-Actions=rtsp;myth/' | sed 's/MimeType=\(.*\)/MimeType=\1;video\/x-nuv/'  > $tmp_file
renatofilho@608
    20
echo -e "\n\n[X-Osso-URI-Action Handler myth] \nMethod=mime_open\nName=medi_ap_mediaplayer_name\nTranslationDomain=mediaplayer" >> $tmp_file
renatofilho@608
    21
cat $tmp_file > $data_file
renatofilho@608
    22
echo "FILE DESKTOP UPDATED"
renatofilho@608
    23
renatofilho@608
    24
exit 0