[Build] Add autogen.sh script to call `autoreconf -i`

Even when using autoreconf an autogen.sh script is usually expected, as
it save users from needing to know which flags to pass to autoreconf
(ie. '-i').

It is also usually responsible of launching autoreconf from the right
directory, calling utilities like intltoolize and gtkdocize, checking
out git submodules and running ./configure unless $NOCONFIGURE is set.

Signed-off-by: Emanuele Aina <emanuele.aina@collabora.com>
[API] Remove CreatePlaylist/CreatePlaylistInAny API

Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
[API] Add CreateReference method to org.gnome.MediaContainer2

Fix https://github.com/01org/dleyna-server/issues/7

Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
[Property] Add support for object.container.playlistContainer

- Add object class object.container.playlistContainer
- Add MediaServer2Spec definition "playlist" for it

- Rename MediaServer2Spec "playlist" to "item.playlist" for
objec class object.item.playlistItem

Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
[Property] Add support for object.container.storageFolder

    - Add object class object.container.storageFolder
    - Add MediaServer2Spec definition "storage" for it

Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
[Coding Convention] New version of CheckPatch [3.8.0.19]

NOTE: Ignored message types: CAMELCASE NEW_TYPEDEFS PREFER_PRINTF

Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
[Bug Fix] Incorrect CreateClass property name

Fix https://github.com/01org/dleyna-server/issues/94

Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
[Bug Fix] Use object and parent id values for detecting root object

Change the way to identify root object.

We now use both object and parent ids values.

Object with a "0" object id value or a "-1" parent id value will
be considered as root object.

Reasons for accepting both:
a) there's code out there where root parent_id != -1 and
b) there's also code out there where root-like (parentless)
   objects id != 0.

Object with a "0" id value or a "-1" parent id value

This fixes the case of issue #32 where root have an empty string as
parent id value.

According to the specification root parent id must have a "-1" value.

Fix issue: https://github.com/01org/dleyna-server/issues/32

Signed-off-by: Christophe Guiraud <christophe.guiraud@intel.com>
[Device] Add a GetIcon() method

Signed-off-by: Regis Merlino <regis.merlino@intel.com>
[Release] Version 0.0.2

Signed-off-by: Regis Merlino <regis.merlino@intel.com>
[Configuration] Post-release version bump

Signed-off-by: Regis Merlino <regis.merlino@intel.com>
[Release] Version 0.1.0

Signed-off-by: Regis Merlino <regis.merlino@intel.com>
[Configuration] Post-branch version bump

Signed-off-by: Regis Merlino <regis.merlino@intel.com>
[Build] Install the .service file in $(datadir)/dbus-1/services

Port of commits:
https://github.com/01org/dleyna-renderer/commit/d1c84c820ce180eabb57b83da3569a4de24c3ac4
https://github.com/01org/dleyna-renderer/commit/6981acf20cadec8a9c29e0096d16c2062d19a384

Calling `pkg-config --variable=session_bus_services_dir dbus-1` under
    JHBuild results in the system-installed dbus-1.pc being parsed and
    our .service file will be put under the /usr prefix instead of the
    JHBuild one.

    To avoid that, take $(datadir) in account and install it under
    $(datadir)/dbus-1/services by default like other packages do (eg.
    gvfs).

    For those with different needs a --with-dbus-service-dir configure flag
    is provided.

Signed-off-by: Regis Merlino <regis.merlino@intel.com>
[Build] Do not assume libexec=@prefix@/libexec

This is a port of commits:
https://github.com/01org/dleyna-renderer/commit/8179084be7b32f187e9ab4d79a24efa668a6df71
https://github.com/01org/dleyna-renderer/commit/f3e9967b3c8f76b6d43320749b6e58e1a607d2a9

For instance, Debian Policy recommends that helper programs should be
installed under /usr/lib/${packagename}/ .

http://www.debian.org/doc/debian-policy/ch-sharedlibs.html#s-sharedlibs-support-files

Signed-off-by: Regis Merlino <regis.merlino@intel.com>
[Build] Do not require dbus and dleyna-connector-dbus at build time

This is a port of commit:
https://github.com/01org/dleyna-renderer/commit/efa7cb33e68801059ddbadcd95df46bbae865eb4

DBus and the DBus connector are only needed at runtime and dropping the
pkg-config checks in ./configure allows the build to succeed even in
restricted build environment with minimal dependecies.

Signed-off-by: Regis Merlino <regis.merlino@intel.com>
[Server] Fix a crash case when the server stops

Signed-off-by: Regis Merlino <regis.merlino@intel.com>