README 2.45 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
Introduction:
-------------

TODO

Compilation
------------

TODO

Working with the source code repository
---------------------------------------

14
dleyna-renderer can be downloaded, compiled and installed as
15 16 17
follows:

   Clone repository
18
     # git clone git://github.com/01org/dleyna-renderer.git
19
     # cd dleyna-renderer
20 21

   Configure and build
22
     # ./autogen.sh
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
     # make

   Final installation
     # sudo make install

These instructions are suitable for users who simply want to install
and run dleyna-renderer.  However, developers wishing to contribute
to the project should follow a separate "Configure and build" step.

   Configure and build
     # ./bootstrap-configure
     # make

The script "bootstrap-configure" cleans the repository, calls
autreconf and then invokes configure with proper settings for
development.  These settings include the enabling of
maintainer mode and debugging.

Developers can remove autogenerated files with the following command

     # make maintainer-clean

Configure Options:
------------------

--enable-werror

This option is disabled by default.  To enable use --enable-werror.
When enabled, all warnings are treated as errors during compilation.
Should be enabled during development to ensure that errors do not
creep into the code base.  This option is enabled by
bootstrap-configure.

--enable-debug

This option is disabled by default.  To enable use
--enable-debug. When enabled, the make files produce debug builds.
This option is enabled by bootstrap-configure.

--enable-optimization

This option is enabled by default. To disable use
--disable-optimization. When enabled it turns on compiler
optimizations. Disable = -O0, enable = -O2.

--enable-never-quit

This option is disabled by default.  To enable use --enable-never-quit.
Regis Merlino's avatar
Regis Merlino committed
71 72
When enabled, dleyna-renderer-service doesn't quit when the last
client disconnects.
73 74 75 76 77 78 79 80 81

--with-log-type

See logging.txt for more information about logging.

--with-log-level

See logging.txt for more information about logging.

Regis Merlino's avatar
Regis Merlino committed
82
--with-connector-name
83 84 85 86 87 88 89

Set the IPC mechanism to be used.

--enable-lib-only

This option is disabled by default. To enable use --enable-lib-only.
When enabled, only the libdleyna-renderer library is built.
90 91 92 93 94 95 96 97

--with-ua-prefix

This option allows a prefix to be added to the SOUP session user agent.
For example, --with-ua-prefix=MyPrefix can be used to change a default user
agent string from "dLeyna/0.0.1 GUPnP/0.19.4 DLNADOC/1.50" to
"MyPrefix dLeyna/0.0.1 GUPnP/0.19.4 DLNADOC/1.50".