Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 353308 - dev-libs/libdbusmenu[introspection] fails to build
Summary: dev-libs/libdbusmenu[introspection] fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 338067
  Show dependency tree
 
Reported: 2011-01-31 13:32 UTC by Gilles Dartiguelongue (RETIRED)
Modified: 2011-02-26 20:28 UTC (History)
1 user (show)

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 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-01-31 13:32:16 UTC
configure says:

AC_PATH_PROG([VALA_API_GEN], [vapigen])

which is used to generate libdbusmenu-gtk vapi files.

Then the following Makefile rules:

VALA_API_GEN =
DbusmenuGtk-0.2.vapi: DbusmenuGtk-0.2.tmp.gir Makefile.am
        $(VALA_API_GEN) --library=DbusmenuGtk-0.2 \
                --pkg gdk-pixbuf-2.0 \
                --pkg gtk+-2.0 \
                --pkg atk \
                --pkg Dbusmenu-Glib-0.2 \
                --vapidir=$(top_builddir)/libdbusmenu-glib \
                $<

obviously fail. Please add a DEPEND="vala:some_slot" or add VALA_API_GEN=$(type -P vapigen:some_slot) to econf.

Make sure your dependency is slotted to what upstream uses, see bug #338067 for why there is no easier way to deal with vala. Thanks.
Comment 1 Dennis Schridde 2011-02-01 16:34:32 UTC
USE=introspection enables Vala bindings, nice... And a shame I didn't notice it earlier.
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-02-01 17:00:10 UTC
I also fail to understand upstream logic on this one :)
Comment 3 Dennis Schridde 2011-02-05 17:01:53 UTC
Fixed in 6a7db316653a72172956cf36547b35e39c256c9a for 0.3.16-r1 and 0.3.94-r1

Keywords += InOverlay
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2011-02-05 17:16:25 UTC
Thanks. Cheers from Brussels...
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2011-02-26 20:28:36 UTC
Theo moved this to the tree in libdbusmenu-0.3.16-r2, so I think we can declare the issue fixed.