Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 580988 - dev-libs/libappindicator-12.10.0-r* - appindicator-0.1 for vala vapi bindings are not merged
Summary: dev-libs/libappindicator-12.10.0-r* - appindicator-0.1 for vala vapi bindings...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-23 23:42 UTC by jospezial
Modified: 2016-05-07 08:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jospezial 2016-04-23 23:42:53 UTC
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"
Comment 1 jospezial 2016-04-29 00:07:15 UTC
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.
Comment 2 jospezial 2016-04-29 00:13:43 UTC
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.
Comment 3 Pacho Ramos gentoo-dev 2016-05-07 08:42:39 UTC
[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