GNOME Bugzilla – Bug 679315
g-i: avoid multiple libraries in the shared-library tag
Last modified: 2013-10-12 17:38:02 UTC
Using multiple libraries causes problems for the C# bindings and will for similiar languages such as Java when there are bindings for them. It's actually not needed: 12:45 <jdahlin> shana:: I think you're confused about what the shared-library attribute means. 12:45 <jdahlin> shana: it actually means; a comma separated lists of libraries that need to be dynamically loaded in the global symbol namespace in the application GstBase-0.10.gir: shared-library="libgstreamer-0.10.so.0,libgstbase-0.10.so.0" GstCheck-0.10.gir: shared-library="libgstreamer-0.10.so.0,libgstcheck-0.10.so.0" GstController-0.10.gir: shared-library="libgstreamer-0.10.so.0,libgstcontroller-0.10.so.0" GstNet-0.10.gir: shared-library="libgstreamer-0.10.so.0,libgstnet-0.10.so.0" GstPbutils-0.10.gir: shared-library="libgstpbutils-0.10.so.0,libgstreamer-0.10.so.0" The right thing here is to remove libgstreamer-0.10.so from all girs. I did a quick check and this still applies to HEAD.
commit 21a74a6b79ad7395c9d70b202e30b859752dc4fd Author: Tim-Philipp Müller <tim@centricular.net> Date: Sun Oct 28 17:17:49 2012 +0000 libs: g-i: avoid multiple libraries in the shared-library tag Using multiple libraries causes problems for the C# bindings and will for similiar languages such as Java when there are bindings for them. Also change --library=libgstfoo-X.la to --library=gstfoo-X as the man page suggests it should be done. https://bugzilla.gnome.org/show_bug.cgi?id=679315
And: commit 973f4f09ea86c70dd57e9276691fa8fe899adcca Author: Tim-Philipp Müller <tim@centricular.net> Date: Sun Oct 28 17:59:27 2012 +0000 audio: try harder to make g-i use the build-tree libgsttag without adding additional --library= tags, which shouldn't be there. https://bugzilla.gnome.org/show_bug.cgi?id=679315 commit 9453d7c287d00c7579a09de1e6acaca1003c319c Author: Tim-Philipp Müller <tim@centricular.net> Date: Sun Oct 28 17:52:54 2012 +0000 pbutils: try harder to make g-i use the build-tree libgsttag,-audio, and -video without adding additional --library= tags, which shouldn't be there. https://bugzilla.gnome.org/show_bug.cgi?id=679315 commit e39fbe6b7e14ccccbf47a5726a18eb963535063b Author: Tim-Philipp Müller <tim@centricular.net> Date: Sun Oct 28 17:34:59 2012 +0000 g-i: change g-ir-scanner arg --library=libgstfoo-X.la to --library=gstfoo-X As it should be according to the man page. https://bugzilla.gnome.org/show_bug.cgi?id=679315 Fingers crossed it won't break something for someone..