[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gambas3.desktop install idea to detect installed toolkits...
[Thread Prev] | [Thread Next]
- Subject: Re: gambas3.desktop install idea to detect installed toolkits...
- From: Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
- Date: Wed, 5 Nov 2025 14:55:57 +0100
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Le 05/11/2025 à 14:45, Benoît Minisini a écrit :
Sorry, but this is rather wrong.The 'gambas3.desktop' is installed with the 'gambas3-ide' package, which is the package for the Gambas3 IDE (obviously).This package depends on 'gb.gui', that has a dependency on ONE of the actual GUI package, not ALL.For example, on Debian: ---8<------------------------------------------------------------------- Package: gambas3-gui Architecture: all Section: libdevelDepends: gambas3-gb-gtk (>= ${binary:Version}) | gambas3-gb-gtk3 (>= ${binary:Version}) | gambas3-gb-qt5 (>= ${binary:Version}) | gambas3-gb- qt6 (>= ${binary:Version})---8<-------------------------------------------------------------------So you have no guarantee that if GTK3, QT5 and QT6 exist on the distro, they will be installed. Hopefully I would add.So the post-install script should recreate the 'gambas3.desktop' file each time any Gambas package is installed or removed, only if the Gambas 3 IDE is installed, by checking if 'gb.XXX.webview' component is installed for XXX among 'gtk3','qt5' and 'qt6'.Otherwise, for me, it is useless. Regards,
OK, I have just read your merge request.You test the 'gb.xxx' components, but this is not enough. You must test the 'gb.xxx.webview' components (if present, it will imply that 'gb.xxx.component' is also present).
But I don't know if that post-install script is run each time a Gambas package is installed or removed, and only if the gambas3 IDE is installed.
Regards, -- Benoît Minisini.
| Re: gambas3.desktop install idea to detect installed toolkits... | Lee <t.lee.davidson@xxxxxxxxx> |
| Re: gambas3.desktop install idea to detect installed toolkits... | gbWilly <gbWilly@xxxxxxxxxxxxxx> |