Re: Trying to build rygel on Denian Jessie - problem with sqlite3



Hi.  You need to install the development package (probably libsqlite3-0dev or sqlite-dev or similar).  These contain the c header files required for the build.

I recently did some work trying to get a dbus plugin to work with rygel (see github.com/jameswyper/avice) that allows for a custom tree to be built including composer tags; extending it to use discnumber wouldn't be hard.  it also sorts albums by track rather than title but there are a couple of issues with it

- it doesn't work with large (few thousand) collections - mine is 30,000 tracks. I think that rygel is trying to load the entire media hierarchy from the plugin at startup and dbus gets swamped with messages and starts timing out (or the implementation of dbus in ruby I use is too slow and that causes the timeouts)
- on some clients the albums are still sorted by title not track.  This is because rygel exposes all media containers as UPnP class object.container and some clients will only sort by track (whatever the server says) if the class is object.container.music.musicalbum (or something like it).  This can only be fixed within rygel
- it's just a collection of ruby scripts, OK to experiment with but in no way user-friendly (I give brief instructions in the readme file)

I'm close to giving up on this though, because the first two issues can only be resolved by hacking the rygel code (and the first might be design feature that can't be "fixed"), I've not got any experience building gnome software and after several hours trying and failing to build from the current source using dhbuild I gave up (I might try my luck with python-coherence instead, although that seems to be all but abandoned).  However, if you do manage to get rygel built let me know how you did it, I currently use Ubuntu but I could always set up a Jessie VM..

James

----- Forwarded Message -----


Hi,

I'm trying to build rygel on Debian Jessie, but getting the following
error:
-----------------------------------------------------------------------
configure: error: Package requirements (gupnp-1.0 >= 0.19.0 gee-0.8 >=
0.8.0 gupnp-av-1.0 >= 0.12.4 gio-2.0 >= 2.26
                                gupnp-dlna-2.0 >= 0.9.4
                                gupnp-dlna-gst-2.0 >= 0.9.4
                                gstreamer-app-1.0 >= 1.0
                                gstreamer-tag-1.0 >= 1.0
                                gstreamer-pbutils-1.0 >= 1.0
                                libsoup-2.4 >= 2.44.0
                                sqlite3 >= 3.5
                                libmediaart-2.0 >= 0.7.0
                                uuid) were not met:

No package 'sqlite3' found

[snip]
-----------------------------------------------------------------------

But both sqlite3 and libsqlite3-0 are installed:
-----------------------------------------------------------------------
kraush Skua:~/work/rygel$ dpkg -l sqlite3
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                  Version
Architecture            Description
+++-=====================================-=======================-=======================-================================================================================
ii  sqlite3                              3.8.7.1-1              amd64
                  Command line interface for SQLite 3
kraush Skua:~/work/rygel$
kraush Skua:~/work/rygel$ dpkg -l libsqlite3-0
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                  Version
Architecture            Description
+++-=====================================-=======================-=======================-================================================================================
ii  libsqlite3-0:amd64                    3.8.7.1-1              amd64
                  SQLite 3 shared library
kraush Skua:~/work/rygel$
-----------------------------------------------------------------------
What is wrong here?

By the way: the reason for compiling is that I'd like to change the
behavior of the 'MediaExport' plugin:

1. Sort the entries in dirs according to their 'Disc number' and
    'Track number' instead of their 'Title'.

2. As I'm a fan of classical music I would like to be able to select
    in addition to 'Artist' the entries for 'Composer' and 'Conductor'
    too.

3. For later: parse the Artist entries for multiple entries. I've
    adopted the syntax: <role name>: <artist>, <register|instrument>; ...

Any hints or tips welcomed,
Hans








[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]