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

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


On Wednesday, November 5th, 2025 at 18:55, Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> wrote:
> 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.

IF you install the package gambs3-ide (AND ONLY gambas3-ide) it depends on gambas3-gb-gui
gambas3-gb-gui will (to my understanding of the matter) use the toolkit already used by the desktop, so NO questions asked.

Now, here is the misunderstanding:
To install gambas3-ide you would (on Debian/Ubuntu) do "apt-get install gambas3-ide"
That will install IDE and IDE ONLY

Above scenario is something NOBODY does, instead you do "apt-get install gambas3"

That will install package gambas3. Now gambas3 is the metapackage to install all of gambas3 on a system. I suppose when you self compile gambas3 you have all toolkits and all components that the distro can compile dependency wise available, right? Same goes for package gambas3. It has gambas3-ide as a dependency, so it will install the ide.

Guess what the other dependencies are for gambas3? ALL non deprecated components (including the toolkits that can be build for the respective distro, just like when compiling, right?)
So, the package gambas3 IS depended on gambas3-gtk3 and gambas3-qt5 and whatever other toolkit can be build dependency wise for that distro.

So, to summarize THEY (the toolkits) WILL BE INSTALLED, nothing to do with package gambas3-ide, but all with package gambas3. And that is where the misunderstanding happens.


gbWilly



> 
> 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.





gbWilly

GambOS
Gambas3 for Debian/Ubuntu

...there is always a Catch if things go wrong!

Sent with Proton Mail secure email.


References:
gambas3.desktop install idea to detect installed toolkits...Bruce Steers <bsteers4@xxxxxxxxx>
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>
Re: gambas3.desktop install idea to detect installed toolkits...Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>