[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gambas3.desktop install idea to detect installed toolkits...


Le 05/11/2025 à 18:49, gbWilly a écrit :
On Wednesday, November 5th, 2025 at 18:34, Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> wrote:

Le 05/11/2025 à 17:54, gbWilly a écrit :
I don't know what must be clarified exactly.

THESE (=> gambas3-ide gambas3-gb-{qt5,qt6,gtk3}-webview) ARE installed (at minimum gtk3 AND one of QT5 or QT6 or both depending on the availability in the distro) WHEN installing gambas3!!
Maybe that needs to be clarified.


I just said that the script that generates 'gambas3.desktop' should
logically be run each time a package that impacts it (gambas3-ide,
gambas3-gb-{qt5,qt6,gtk3}-webview) is installed or removed.

Is it possible?


IF any of THESE (=> gambas3-ide gambas3-gb-{qt5,qt6,gtk3}-webview)) is removed gambas3 IS removed AND thus gambas3.desktop IS ALSO REMOVED!!
So, why run the script, if no more gambas3.desktop present on the system?

Because this is not what is told in the package. I think the problem comes from the fact that 'apt' does not handle packages alternatives correctly.

When it is written in the 'gambas3-gb-gui' package dependencies that:

Depends: gambas3-gb-gtk | gambas3-gb-gtk3  gambas3-gb-qt5 | gambas3-gb-qt6

It should mean that 'gambas3-gb-gui' depends on at least one of these packages, and 'apt' should normally ask the user which one to install.

And as 'gambas3-ide' depends on 'gambas3-gb-gui', it should ask the same question when installing 'gambas3-ide'.

Then are you telling me that this is not the case, that 'apt' replaces the alternatives by hard dependencies?

--
Benoît Minisini.


References:
gambas3.desktop install idea to detect installed toolkits...Bruce Steers <bsteers4@xxxxxxxxx>
Re: gambas3.desktop install idea to detect installed toolkits...Bruce Steers <bsteers4@xxxxxxxxx>
Re: gambas3.desktop install idea to detect installed toolkits...Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: gambas3.desktop install idea to detect installed toolkits...Tim Dickson <dickson.tim@xxxxxxxxxxxxxx>
Re: gambas3.desktop install idea to detect installed toolkits...gbWilly <gbWilly@xxxxxxxxxxxxxx>
Re: gambas3.desktop install idea to detect installed toolkits...Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: gambas3.desktop install idea to detect installed toolkits...Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: gambas3.desktop install idea to detect installed toolkits...gbWilly <gbWilly@xxxxxxxxxxxxxx>
Re: gambas3.desktop install idea to detect installed toolkits...Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: gambas3.desktop install idea to detect installed toolkits...gbWilly <gbWilly@xxxxxxxxxxxxxx>