[Pkg-kde-talk] Re: priorities for alternatives (Re: [Pkg-kde-commits] rev 1313)

Brian Nelson pyro at debian.org
Mon Jul 18 19:59:49 UTC 2005


Adeodato Simó <asp16 at alu.ua.es> writes:

> * Achim Bohnet [Mon, 18 Jul 2005 11:40:40 +0200]:
>
>> On Saturday 16 July 2005 05:33, Christopher Martin wrote:
>> [..]]
>> > Qt4 co-existence patches from Brian Nelson.
>> [...]
>> > +update-alternatives --install \
>> > + /usr/bin/assistant-qt3 assistant "/usr/bin/assistant-qt3" "35" \
>> > +	--slave /usr/share/man/man1/assistant.1.gz assistant.1.gz \
>> > +	"/usr/share/man/man1/assistant-qt3.1.gz"
>> > +
>> > +#DEBHELPER#
>
>> Hi,
>> currently configure checks for e.g. moc, not moc-qt{3,4}.  I assume
> that
>> the checks need to be updated specially for debian so they search
>> the 'non-alternatives' names xxx-qtY to prevent that the 'wrong'
> binaries
>> are picked up?   Unfortunately AFAIU the checks
>> are taken from admin/acinclude.m4.in.  So every KDE app would need an
>> patched admin dir (or kdelibs4-dev installes an acinclude.m4.in that
>> is takes innstead of the admin/ one.
>
>   What about making Qt3 use 45 as its priority for alternatives? Qt4
>   uses 40 at the moment.
>
>   Though one can argue that if a user installs Qt4, he may as well
>   expect (or not be surprised by) the tools pointing now to the Qt4
>   versions. It seems that Brian thinks this way, since his patches
>   propose 35 for Qt3 and 40 for Qt4. 

Right.

>   Brian, is this something you're strong about, or can we discuss
>   having this changed?

My opinion isn't particularly strong.  It might make more sense to lower
the priority of Qt4 until it becomes more commonly used, e.g. when KDE4
is released...

Ideally the configure scripts should be modified to cope with multiple
versions of moc and friends.  If the priorities are switched, then of
course the same problem will plague building Qt4 programs when Qt3 is
also installed.

-- 
Society is never going to make any progress until we all learn to
pretend to like each other.



More information about the Pkg-kde-talk mailing list