[Gambas-user] gambas not installed by package manager problems.

Christof Thalhofer chrisml at deganius.de
Wed Nov 4 17:20:34 CET 2020


Hi,

we talked in the mailinglist about that some time ago. You may want to
have a look at this thread:

https://lists.gambas-basic.org/pipermail/user/2020-February/068640.html

For me I came to the result to compile and package my Gambas software
with makefiles and the debian tool 'dpkg-buildpackage -b'.

For that I have to maintain a ./debian folder and a ./debian/control
file which contains strings like that:

------------------------------------------------------------------------
Depends: postgresql-client, texlive, texlive-latex-extra, ...

Recommends: gambas3-runtime, gambas3-gb-image, gambas3-gb-qt4,
gambas3-gb-args, gambas3-gb-form, ...
------------------------------------------------------------------------

A Debian package is created with 'dpkg-buildpackage -b' called in the
folder where the makefile resides.

Later the package can be installed on a machine with precompiled Gambas
like so:

apt-get --no-install-recommends install package-xyz.deb

The caveat is that I have to create and maintain scripts which call
dpkg-buildpackage which calls a makefile for each Debian package.

The advantage of this approach is that I can pack more that one Gambas
project into a Debian package. And with two calls of scripts I can
compile and (Gambas)-package the project, create a Debian package from
that and push it to the server, which provides the debian packages via Apt.

Alles Gute

Christof Thalhofer

-- 
[x] nail here for new monitor


More information about the User mailing list