[svn r613] updated debian scripts for append info on osso media player desktop file
1.1 --- a/gst-plugins-nuvdemux/INSTALL Mon Apr 30 18:54:25 2007 +0100
1.2 +++ b/gst-plugins-nuvdemux/INSTALL Mon Apr 30 23:20:15 2007 +0100
1.3 @@ -1,16 +1,13 @@
1.4 -Installation Instructions
1.5 -*************************
1.6 +Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002 Free Software
1.7 +Foundation, Inc.
1.8
1.9 -Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free
1.10 -Software Foundation, Inc.
1.11 -
1.12 -This file is free documentation; the Free Software Foundation gives
1.13 + This file is free documentation; the Free Software Foundation gives
1.14 unlimited permission to copy, distribute and modify it.
1.15
1.16 Basic Installation
1.17 ==================
1.18
1.19 -These are generic installation instructions.
1.20 + These are generic installation instructions.
1.21
1.22 The `configure' shell script attempts to guess correct values for
1.23 various system-dependent variables used during compilation. It uses
1.24 @@ -70,9 +67,9 @@
1.25 Compilers and Options
1.26 =====================
1.27
1.28 -Some systems require unusual options for compilation or linking that the
1.29 -`configure' script does not know about. Run `./configure --help' for
1.30 -details on some of the pertinent environment variables.
1.31 + Some systems require unusual options for compilation or linking that
1.32 +the `configure' script does not know about. Run `./configure --help'
1.33 +for details on some of the pertinent environment variables.
1.34
1.35 You can give `configure' initial values for configuration parameters
1.36 by setting variables in the command line or in the environment. Here
1.37 @@ -85,7 +82,7 @@
1.38 Compiling For Multiple Architectures
1.39 ====================================
1.40
1.41 -You can compile the package for more than one kind of computer at the
1.42 + You can compile the package for more than one kind of computer at the
1.43 same time, by placing the object files for each architecture in their
1.44 own directory. To do this, you must use a version of `make' that
1.45 supports the `VPATH' variable, such as GNU `make'. `cd' to the
1.46 @@ -102,19 +99,19 @@
1.47 Installation Names
1.48 ==================
1.49
1.50 -By default, `make install' installs the package's commands under
1.51 -`/usr/local/bin', include files under `/usr/local/include', etc. You
1.52 -can specify an installation prefix other than `/usr/local' by giving
1.53 -`configure' the option `--prefix=PREFIX'.
1.54 + By default, `make install' will install the package's files in
1.55 +`/usr/local/bin', `/usr/local/man', etc. You can specify an
1.56 +installation prefix other than `/usr/local' by giving `configure' the
1.57 +option `--prefix=PATH'.
1.58
1.59 You can specify separate installation prefixes for
1.60 architecture-specific files and architecture-independent files. If you
1.61 -pass the option `--exec-prefix=PREFIX' to `configure', the package uses
1.62 -PREFIX as the prefix for installing programs and libraries.
1.63 -Documentation and other data files still use the regular prefix.
1.64 +give `configure' the option `--exec-prefix=PATH', the package will use
1.65 +PATH as the prefix for installing programs and libraries.
1.66 +Documentation and other data files will still use the regular prefix.
1.67
1.68 In addition, if you use an unusual directory layout you can give
1.69 -options like `--bindir=DIR' to specify different values for particular
1.70 +options like `--bindir=PATH' to specify different values for particular
1.71 kinds of files. Run `configure --help' for a list of the directories
1.72 you can set and what kinds of files go in them.
1.73
1.74 @@ -125,7 +122,7 @@
1.75 Optional Features
1.76 =================
1.77
1.78 -Some packages pay attention to `--enable-FEATURE' options to
1.79 + Some packages pay attention to `--enable-FEATURE' options to
1.80 `configure', where FEATURE indicates an optional part of the package.
1.81 They may also pay attention to `--with-PACKAGE' options, where PACKAGE
1.82 is something like `gnu-as' or `x' (for the X Window System). The
1.83 @@ -140,11 +137,11 @@
1.84 Specifying the System Type
1.85 ==========================
1.86
1.87 -There may be some features `configure' cannot figure out automatically,
1.88 -but needs to determine by the type of machine the package will run on.
1.89 -Usually, assuming the package is built to be run on the _same_
1.90 -architectures, `configure' can figure that out, but if it prints a
1.91 -message saying it cannot guess the machine type, give it the
1.92 + There may be some features `configure' cannot figure out
1.93 +automatically, but needs to determine by the type of machine the package
1.94 +will run on. Usually, assuming the package is built to be run on the
1.95 +_same_ architectures, `configure' can figure that out, but if it prints
1.96 +a message saying it cannot guess the machine type, give it the
1.97 `--build=TYPE' option. TYPE can either be a short name for the system
1.98 type, such as `sun4', or a canonical name which has the form:
1.99
1.100 @@ -159,7 +156,7 @@
1.101 need to know the machine type.
1.102
1.103 If you are _building_ compiler tools for cross-compiling, you should
1.104 -use the option `--target=TYPE' to select the type of system they will
1.105 +use the `--target=TYPE' option to select the type of system they will
1.106 produce code for.
1.107
1.108 If you want to _use_ a cross compiler, that generates code for a
1.109 @@ -170,9 +167,9 @@
1.110 Sharing Defaults
1.111 ================
1.112
1.113 -If you want to set default values for `configure' scripts to share, you
1.114 -can create a site shell script called `config.site' that gives default
1.115 -values for variables like `CC', `cache_file', and `prefix'.
1.116 + If you want to set default values for `configure' scripts to share,
1.117 +you can create a site shell script called `config.site' that gives
1.118 +default values for variables like `CC', `cache_file', and `prefix'.
1.119 `configure' looks for `PREFIX/share/config.site' if it exists, then
1.120 `PREFIX/etc/config.site' if it exists. Or, you can set the
1.121 `CONFIG_SITE' environment variable to the location of the site script.
1.122 @@ -181,7 +178,7 @@
1.123 Defining Variables
1.124 ==================
1.125
1.126 -Variables not defined in a site shell script can be set in the
1.127 + Variables not defined in a site shell script can be set in the
1.128 environment passed to `configure'. However, some packages may run
1.129 configure again during the build, and the customized values of these
1.130 variables may be lost. In order to avoid this problem, you should set
1.131 @@ -189,18 +186,14 @@
1.132
1.133 ./configure CC=/usr/local2/bin/gcc
1.134
1.135 -causes the specified `gcc' to be used as the C compiler (unless it is
1.136 -overridden in the site shell script). Here is a another example:
1.137 -
1.138 - /bin/bash ./configure CONFIG_SHELL=/bin/bash
1.139 -
1.140 -Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent
1.141 -configuration-related scripts to be executed by `/bin/bash'.
1.142 +will cause the specified gcc to be used as the C compiler (unless it is
1.143 +overridden in the site shell script).
1.144
1.145 `configure' Invocation
1.146 ======================
1.147
1.148 -`configure' recognizes the following options to control how it operates.
1.149 + `configure' recognizes the following options to control how it
1.150 +operates.
1.151
1.152 `--help'
1.153 `-h'
2.1 --- a/gst-plugins-nuvdemux/debian/maemo-nuvdemux.postinst Mon Apr 30 18:54:25 2007 +0100
2.2 +++ b/gst-plugins-nuvdemux/debian/maemo-nuvdemux.postinst Mon Apr 30 23:20:15 2007 +0100
2.3 @@ -13,4 +13,12 @@
2.4 /usr/bin/gconftool-2 --makefile-install-rule /usr/share/gconf/schemas/osso_media_server_nuv.schemas
2.5 fi
2.6
2.7 +#append nuv info on osso mediaplayer ui
2.8 +data_file=/usr/share/applications/hildon/mp_ui.desktop
2.9 +tmp_file=/tmp/mp_ui.desktop
2.10 +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
2.11 +echo -e "\n\n[X-Osso-URI-Action Handler myth] \nMethod=mime_open\nName=medi_ap_mediaplayer_name\nTranslationDomain=mediaplayer" >> $tmp_file
2.12 +cat $tmp_file > $data_file
2.13 +echo "FILE DESKTOP UPDATED"
2.14 +
2.15 exit 0