I'm trying to write a live ebuild for lxsession and get this error: error: Package `appindicator-0.1' not found in specified Vala API directories or GObject-Introspection GIR directories Compilation failed: 1 error(s), 0 warning(s) equery f libappindicator |grep -e vala -e vapi -e gir /usr/lib64/girepository-1.0 /usr/lib64/girepository-1.0/AppIndicator-0.1.typelib /usr/share/gir-1.0 /usr/share/gir-1.0/AppIndicator-0.1.gir /usr/lib64/girepository-1.0 /usr/lib64/girepository-1.0/AppIndicator3-0.1.typelib /usr/share/gir-1.0 /usr/share/gir-1.0/AppIndicator3-0.1.gir There should be a file /usr/share/vala/vapi/appindicator-0.1.vapi installed but is not. ================================================================= Package Settings ================================================================= dev-libs/libappindicator-12.10.0-r200::gentoo was built with the following: USE="introspection python" ABI_X86="64 -32 -x32" PYTHON_TARGETS="python2_7" dev-libs/libappindicator-12.10.0-r300::gentoo was built with the following: USE="introspection" ABI_X86="64 -32 -x32" dev-libs/libindicator-12.10.1-r201::gentoo was built with the following: USE="-test" ABI_X86="64 -32 -x32" CFLAGS="-march=native -O2 -pipe -Wno-error" CXXFLAGS="-march=native -O2 -pipe -Wno-error" dev-libs/libindicator-12.10.1-r301::gentoo was built with the following: USE="-test" ABI_X86="64 -32 -x32" CFLAGS="-march=native -O2 -pipe -Wno-error" CXXFLAGS="-march=native -O2 -pipe -Wno-error" dev-lang/vala-0.30.1::gentoo was built with the following: USE="-test" ABI_X86="64"
dev-libs/libappindicator-12.10.0-r* configure is looking for vapigen executable. If it does not find it then vala vapi bindings are not to be compiled. The vapigen executable of dev-lang/vala-0.30.1 is /usr/bin/vapigen-0.30. This makes sense for multi slot. See https://bugs.gentoo.org/show_bug.cgi?id=513658 for version discussion. There is no /usr/bin/vapigen . After cp -av /usr/bin/vapigen-0.30 /usr/bin/vapigen emerging again libappindicator-12.10.0-r200 and libappindicator-12.10.0-r300 I get: equery f libappindicator |grep -e vala -e vapi -e gir /usr/lib64/girepository-1.0 /usr/lib64/girepository-1.0/AppIndicator-0.1.typelib /usr/share/gir-1.0 /usr/share/gir-1.0/AppIndicator-0.1.gir /usr/share/vala /usr/share/vala/vapi /usr/share/vala/vapi/appindicator-0.1.deps /usr/share/vala/vapi/appindicator-0.1.vapi /usr/lib64/girepository-1.0 /usr/lib64/girepository-1.0/AppIndicator3-0.1.typelib /usr/share/gir-1.0 /usr/share/gir-1.0/AppIndicator3-0.1.gir /usr/share/vala /usr/share/vala/vapi /usr/share/vala/vapi/appindicator3-0.1.deps /usr/share/vala/vapi/appindicator3-0.1.vapi I think we should patch the configure of libappindicator to find the versioned binary. After that we can wait for a new release. Now I was able to install my lxsession-9999 git live ebuild.
There is a small patch for 12.10 at http://bazaar.launchpad.net/~indicator-applet-developers/libappindicator/trunk.12.10/revision/244 "Fix Vala classes not being able to inherit from Indicator" It does not fix this bug but I think we should add it.
[master 4852590] dev-libs/libappindicator: Fix Vala classes not being able to inherit from Indicator and fix vapigen detection (#580988 by jospezial) 4 files changed, 175 insertions(+), 4 deletions(-) create mode 100644 dev-libs/libappindicator/files/libappindicator-12.10.0-vala-inherit.patch create mode 100644 dev-libs/libappindicator/libappindicator-12.10.0-r201.ebuild create mode 100644 dev-libs/libappindicator/libappindicator-12.10.0-r301.ebuild