[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: gbWilly <gbWilly@xxxxxxxxxxxxxx>
- Date: Mon, 03 Nov 2025 19:58:19 +0000
- To: Bruce Steers <bsteers4@xxxxxxxxx>
- Cc: user@xxxxxxxxxxxxxxxxxxxxxx
I created a topic on gambas.one forum, so we can discuss the details of first creating and testing this. Once there is a use able and working (means build and tested) format for the Debian/Ubuntu recipe, we can loop back here and see if it can be a useful addition to the OSB recipe. The persons aware of the magic of recipe making for Arch and OpenSuSe will need to do some form of post-install script addition to the recipe as well, to make it all the same. It should be possible on all distro's as many big installs fire up a CLI interface during updates, asking to keep your modified configuration files or replace them when updating for example. These are post install scripts fired from the installed packages. gbWilly [GambOS](https://gambos.gambas.one/) [Gambas3 for Debian/Ubuntu](https://gitlab.com/gbWilly/gambas3-debian-repository) [GambOS](https://gambos.gambas.one/) ...there is always a Catch if things go wrong! Sent with [Proton Mail](https://proton.me/mail/home) secure email. On Monday, November 3rd, 2025 at 18:32, Bruce Steers <bsteers4@xxxxxxxxx> wrote: > On Mon, 3 Nov 2025 at 15:48, gbWilly <gbWilly@xxxxxxxxxxxxxx> wrote: > >>> people who know how the packager install works may be able to answer that. (and if it can somehow be made dynamic during install like i've done with the makefile) >> >> You can run scripts postinstall as part of a debian package. It's not that hard, but your script has to meet some requirements (at least on Debian/Ubuntu, see: [Package maintainer scripts](https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html) and [Scripts](https://www.debian.org/doc/debian-policy/ch-files.html#s-scripts)) >> >> gbWilly > > Hmm, it seems like it could be fairly easy. > all done in the postinst maybe? > > what the script does... > * uses 'gbx3 -e Component.Path' to find the libs dir > * Checks what toolkit components are in libs. > * builds the dynamic gambas3.desktop file in /tmp/ > * uses xdg-desktop-menu to install it. > > The script can be run standalone at any time to update the icon after install so i think postinst should work? > > Maybe you could get it working in your repository? > I don't have a repository so cannot really test anything. > > Respects > BruceS
| Re: gambas3.desktop install idea to detect installed toolkits... | Bruce Steers <bsteers4@xxxxxxxxx> |
| 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... | 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... | gbWilly <gbWilly@xxxxxxxxxxxxxx> |
| Re: gambas3.desktop install idea to detect installed toolkits... | Bruce Steers <bsteers4@xxxxxxxxx> |