Solution for the following compile error:

 rygel-media-object.vala:197.20-197.41: error: The type name
`DIDLLiteFragmentResult' could not be found
     internal async DIDLLiteFragmentResult apply_fragments
                    ^^^^^^^^^^^^^^^^^^^^^^
 rygel-serializer.vala:32.13-32.27: error: The type name `MediaCollection'
could not be found
     private MediaCollection collection;
             ^^^^^^^^^^^^^^^

Rygel missing a (correct) check for gupnp-av version, and/or version of
gupnp-av-1.0.vapi
provided by gupnp-vala package 0.9.0 and 0.10.2 are broken, and/or
DIDLLiteFragmentResult and MediaCollection where added without changing the
API version:

egrep "DIDLLiteFragmentResult|MediaCollection"
/usr/share/vala/vapi/gupnp-av-1.0.vapi

After replacing it with git clone git://git.gnome.org/gupnp-av:

 egrep "DIDLLiteFragmentResult|MediaCollection"
/usr/share/vala/vapi/gupnp-av-1.0.vapi
                 public GUPnP.DIDLLiteFragmentResult apply_fragments
([CCode (array_length_cname = "current_size", array_length_pos = 1.5)]
string[] current_fragments, [CCode (array_length_cname = "new_size",
array_length_pos = 2.1)] string[] new_fragments);
         public class MediaCollection : GLib.Object {
                 public MediaCollection ();
                 public MediaCollection.from_string (string data);
         public enum DIDLLiteFragmentResult {

grep gupnp-av configure.ac
RYGEL_COMMON_MODULES="$RYGEL_BASE_MODULES gupnp-av-1.0 >=
$GUPNP_AV_REQUIRED"
RYGEL_COMMON_MODULES_VALAFLAGS="$RYGEL_BASE_MODULES_VALAFLAGS --pkg
gupnp-av-1.0"

Andrej Falout


Andrej Falout
NZ: +64(21)02566825 AU: +61(45)1166010 US: +1(360)4880970 HR:+385(91)1520436


On Mon, Mar 11, 2013 at 10:21 PM, Jens Georg <[email protected]> wrote:

> On Mo, 2013-03-11 at 19:09 +1300, Andrej Falout wrote:
>
> >
> > After spending two days installing, uninstalling and recompiling, and
> > that is, just to be able to compile Rygel, I am now at another compile
> > error; I have decided this time to document my progress, as a
> > reference and a sanity check (and as it turned out, as a warning to
> > others that may wish to compile Rygel).
>
> This is utterly polemic and unnecessary. You're ranting.
>
> > 3 hours later, I found out that
> >
> >
> > GOBJECT_INTROSPECTION_CHECK([1.31.1])
> >
> > but my gobject-introspection-1.0.pc was Version: 1.30.0
>
> Which is 0.6.4 in the latest stable. For exactly this reason.
>
>
>
> > Either I'm stupid, or something is seriously wrong with Vala and
> > therefore Rygel.
>
> Your setup is screwed.
>
>
> _______________________________________________
> rygel-list mailing list
> [email protected]
> https://mail.gnome.org/mailman/listinfo/rygel-list
>
_______________________________________________
rygel-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/rygel-list

Reply via email to