[maemo-developers] Dependency problems after PR 1.2 update to extras builder

From: Marius Vollmer marius.vollmer at nokia.com
Date: Tue Mar 30 13:14:26 EEST 2010
ext Marcin Juszkiewicz <marcin at juszkiewicz.com.pl> writes:

>> Is there a way of specifiying to use the older packages?
>
> No such option.

The problem are the automatic generated dependencies, if I understand
things right.

I.e., you build against libqt4-core version 4.6.2~git20100224, and the
resulting package ends up having this:

    Depends: libqt4-core (>= 4.6.2~git20100224)

(Among others, of course.)  This originates from this in your source
package:

    Depends: ${shlibs:Depends}

The text "libqt4-core (>= 4.6.2~git20100224)" comes from the libqt4-core
package itself that is installed while building.  But: You can overwrite
it if you know better what dependency you want to have.

You do this by putting a debian/shlibs.local file into your source
package.  It might look like this:

    libQtCore 4 libqt4-core (>= WHATEVER-YOU-WANT)
    ETC...

Of course, this only changes the text in the Depends field of your
package.  You must make sure that your program actually runs with the
older version of Qt even when it has been compiled against the newer
version.
More information about the maemo-developers mailing list