Mavericks gstreamer010 binary package missing some files

Ryan Schmidt ryandesign at macports.org
Tue Dec 17 19:32:49 PST 2013


On Dec 17, 2013, at 21:09, Adam Mercer wrote:

> I was helping a colleague debug a build issue this afternoon and I
> found what seemed to be the problem. He had installed gstreamer010, on
> his Mavericks system, using the binary package and was getting a build
> error:
> 
> Couldn't find include 'Gst-0.10.gir' (search path: ['.', 'gir-1.0',
> '/opt/local/share/gir-1.0', '/usr/share/gir-1.0',
> '/opt/local/share/gir-1.0'])
> 
> when trying to build our collaboration software. I was able to build
> the same software without issue. I finally found that the only
> difference between our systems is that I'd configured MacPorts using
> 
> buildfromsource         always
> 
> when he was using
> 
> buildfromsource         ifneeded
> 
> When I build gstreamer010 from source I get a /opt/local/share/gir-1.0
> directory containing various files:
> 
> $ port contents gstreamer010 | grep gir-1.0
>  /opt/local/share/gir-1.0/Gst-0.10.gir
>  /opt/local/share/gir-1.0/GstBase-0.10.gir
>  /opt/local/share/gir-1.0/GstCheck-0.10.gir
>  /opt/local/share/gir-1.0/GstController-0.10.gir
>  /opt/local/share/gir-1.0/GstNet-0.10.gir
> $
> 
> but these are not present in the Mavericks package
> 
> $ wget -q http://packages.macports.org/gstreamer010/gstreamer010-0.10.36_0.darwin_13.x86_64.tbz2
> $ tar -tf gstreamer010-0.10.36_0.darwin_13.x86_64.tbz2 | grep gir-1.0
> $
> 
> They do exist in all the other packages, just not for Mavericks.

They are also missing on my Mavericks build from source system.

Usually, missing files are because of an undeclared optional dependency that, when present, results in those files being created.

In this case, I think that dependency is gobject-introspection. The dependency should be added, and the revision should be increased to rebuild the port.

Any time you add gobject-introspection support, you have to switch the build command to gmake and add a gmake build dependency on Tiger, because the version of make its Xcode ships with is too old. See any other port using gobject-introspection for a block you can copy to do that.



More information about the macports-dev mailing list