[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: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?

> The situation will be not different from the current one, where all GUI
> components are listed whatever. But then the script becomes useless.

The script is not useless as on Debian 12 it shows me GTK3 and QT5 instead of QT4, QT5 and GTK3 (using gambas 3.19.6).
On Debian 13 it shows me QT4, QT6 and GTK3 instead of QT4, QT5 and GTK3 (using gambas 3.19.6).
QT4 is not available on Debian 12 nor 13.

A modified postinst script has been done in the merge request, now checking more accurate for the webview component.


gbWilly.


Follow-Ups:
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>
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>