[Gambas-user] 2 questions about making an Installation Packet
Christof Thalhofer
chrisml at deganius.de
Fri Feb 14 15:45:40 CET 2020
Am 14.02.20 um 13:21 schrieb Benoît Minisini:
>> Wouldn't it be better to use "recommends" or even "suggests" in the
>> Debian control file instead of "depends"?
> I don't know, I'm not a Debian specialist.
>
> But for me, by default, if you create a Gambas package, it depends on
> the Gambas version of your system (or any other version specified in the
> packager dialog).
>
> Isn't it like a binary package of a perl program that depends on the
> perl interpreter package?
Yes you are right. It is so.
With "Depends:" apt cannot be hindered to install the Gambas runtime and
components at all.
But if the IDE would package with "Recommends:" instead of "Depends:"
one could install the package with:
apt-get --no-install-recommends install package-xyz.deb
And it would not install Gambas from the distribution. This is quite
handy if you have a self-compiled Gambas version on that computer.
With "Recommends:" apt installs the Gambas runtime and every component
needed by default if invoked with:
apt-get install package-xyz.deb
... which is the standard way to install Debian packages.
---
But maybe I am the only one who wants to deploy a Gambas program as
Debian package without installing the distribution's Gambas at a special
machine at all. If that's the case, don't mind. I am packaging most of
my Gambas programs with Make.
Alles Gute
Christof Thalhofer
--
[x] nail here for new monitor
More information about the User
mailing list