Anthony Gorecki wrote:
On Wednesday, April 05, 2006 16:08, m h wrote:
My question is how do other packages that build against a slotted
library know where to find the library?
Generally, there is no need to do that in an ebuild. The software package's configure script will automatically run pkg-config in order to determine which flags must be passed to the linker. (Assuming that you are referring to an application which is written in a variant of C.)

I've run across a similar issue in creating an ebuild for CastPodder. CastPodder is a python application that uses wxpython and pygtk. Currently CastPodder only works with Python 2.4 and requires
the same major/minor version of wxpython and pygtk.  I've set:


DEPEND="=dev-lang/python-2.4*
       =dev-python/wxpython-2.4*
       >dev-python/pyxmms-2.0
       =dev-python/pygtk-2.4*"

to attempt to handle this dependency. On my x86 system, I have slotted install of:

 * dev-python/wxpython
    Available versions:  2.4.2.4 2.4.2.4-r3 ~2.6.0.0-r1 2.6.1.0
    Installed:           2.4.2.4-r3 2.6.1.0

Now when CastPodder is ran, it is reporting:

/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core.py:13155: UserWarning: wxPython/wxWidgets release number mismatch
 warnings.warn("wxPython/wxWidgets release number mismatch")

Notice that it is using wxpython-2.6 instead of 2.4. Any ideas on how I can more explicitly specify
the 2.4 slot?

TIA,
Roy
--
gentoo-dev@gentoo.org mailing list

Reply via email to