[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Proposal for possible consolidation of the packages
[Thread Prev] | [Thread Next]
- Subject: Re: Proposal for possible consolidation of the packages
- From: munix9 <munix9@xxxxxxxxxxxxxx>
- Date: Mon, 25 Nov 2024 08:43:51 +0100
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Am 24.11.24 um 20:30 schrieb gbWilly:
On Sunday, November 24th, 2024 at 18:45, munix9 <munix9@xxxxxxxxxxxxxx> wrote:Am 24.11.24 um 18:37 schrieb gbWilly:On Sunday, November 24th, 2024 at 18:28, Benoît Minisini benoit.minisini@xxxxxxxxxxxxxxxx wrote: Is this a feature on debian as well? gbWillyhttps://www.debian.org/doc/debian-policy/ch-relationships.html#virtual-packages-providesMy 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
I don't understand what you're getting at, but I think you're complicating the subject unnecessarily.
Virtual packages are a well-established method of package creation in the various distributions and if done correctly, it works without problems.
For example, just have a look at the implementation for gambas3-gb-compress in PKGBUILD and gambas3.spec, that should be clear (it's not rocket science either).
Regards
Re: Proposal for possible consolidation of the packages | gbWilly <gbWilly@xxxxxxxxxxxxxx> |
Proposal for possible consolidation of the packages | munix9 <munix9@xxxxxxxxxxxxxx> |
Re: Proposal for possible consolidation of the packages | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
Re: Proposal for possible consolidation of the packages | munix9 <munix9@xxxxxxxxxxxxxx> |
Re: Proposal for possible consolidation of the packages | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
Re: Proposal for possible consolidation of the packages | gbWilly <gbWilly@xxxxxxxxxxxxxx> |
Re: Proposal for possible consolidation of the packages | munix9 <munix9@xxxxxxxxxxxxxx> |
Re: Proposal for possible consolidation of the packages | gbWilly <gbWilly@xxxxxxxxxxxxxx> |