[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Proposal for possible consolidation of the packages


On 11/24/24 14:30, gbWilly wrote:
My understanding is that, if there is a real package named 'foo' providing 'bar' and I have a more recent 'bar' named 'bar-plus' I can make a virtual package named 'bar-plus' that provides 'bar'.
So, now the original package 'foo' can use virtual 'bar-plus' for installing 'bar'.

But, someone will need to make this provided higher version 'bar' package provided in 'bar-plus' as a real package first, or not?

I'm trying to wrap my head around this in how to use in a control file.
So, let's try and write the control part for a virtual package for all concerning mysql in Gambas3

---------
Package: gambas3-dbmysql
Architecture: any
Section: libdevel
Provides: gambas3-gb-db  (>= ${binary:Version}),
           gambas3-gb-db-mysql (>= ${binary:Version}),
           gambas3-gb-mysql (>= ${binary:Version})
Description: Gambas MySql tools
  Gambas is a free development environment based on a Basic interpreter
  with object extensions, like Visual Basic(tm) (but it is NOT a clone!).
  .
  This is a virtual package providing all tools needed to use MySql databases.
---

Do the provided packages not be existing packages, first made, before the virtual package can use them?


Maybe my understanding of the matter is wrong, if so please do enlight me.

gbWilly


As an example, gambas3-dev is a virtual package:
https://packages.debian.org/bookworm/gambas3-dev


--
Lee

--- Gambas User List Netiquette [https://gambaswiki.org/wiki/doc/netiquette] ----
--- Gambas User List Archive [https://lists.gambas-basic.org/archive/user] ----


Follow-Ups:
Re: Proposal for possible consolidation of the packagesgbWilly <gbWilly@xxxxxxxxxxxxxx>
References:
Proposal for possible consolidation of the packagesmunix9 <munix9@xxxxxxxxxxxxxx>
Re: Proposal for possible consolidation of the packagesBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Proposal for possible consolidation of the packagesmunix9 <munix9@xxxxxxxxxxxxxx>
Re: Proposal for possible consolidation of the packagesBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Proposal for possible consolidation of the packagesgbWilly <gbWilly@xxxxxxxxxxxxxx>
Re: Proposal for possible consolidation of the packagesmunix9 <munix9@xxxxxxxxxxxxxx>
Re: Proposal for possible consolidation of the packagesgbWilly <gbWilly@xxxxxxxxxxxxxx>