Hi,

In order to solve bug #503802 [1], I would like to add a
virtual/podofo-build package to pull in app-text/podofo and
dev-libs/boost. Then packages like app-text/calibre can put
virtual/podofo-build in DEPEND and app-text/podofo in RDEPEND. The
advantage of this approach is that it makes it possible to use a command
like `emerge --depclean --with-bdeps=n` to remove the build-time only
boost package (and virtual/podofo-build), since boost is only needed for
build-time headers. There may be some other possible ways to specify the
dependency, but this approach is the most attractive one that I've seen.
In fact, this approach is basically identical to the "Virtual for C++
tr1 <type_traits>" example that's given in the dev-manual [2].

Would anyone like to suggest improvements to this idea, alternatives, or
raise any objections?

[1] https://bugs.gentoo.org/show_bug.cgi?id=503802
[2] http://devmanual.gentoo.org/general-concepts/virtuals/
-- 
Thanks,
Zac

Reply via email to