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

Proposal for possible consolidation of the packages



To reduce the number of packages and thus simplify maintenance, I recommend consolidating packages.

It is understandable that with sub-packages you want to prevent e.g. unneeded libraries from being installed as additional dependencies (e.g. the consolidation of all db* packages would lead to postgres, sqlite, etc. also being installed, although actually only mysql is needed).

For other packages, however, this makes sense in my opinion:
gb-compress*
gb-db-mysql + gb-mysql
gb-dbus*
gb-desktop*
gb-form* (?)
gb-gtk*
gb-gtk3*
gb-image*
gb-media*
gb-net*
gb-opengl*
gb-qt4*
gb-qt5*
gb-qt6*
gb-report*
gb-sdl*
gb-sdl2*
gb-term*
gb-util*
gb-web* (?)
gb-xml*


Perhaps not all at once, but bit by bit where it makes sense.
Don't forget that the packaging must also be adapted for the respective distribution. This also means that newer Gambas versions that have been consolidated must be mapped accordingly and require distribution-specific information, e.g. for openSUSE:

%package gb-compress
Summary:        Gambas compression component
BuildRequires:  pkgconfig(bzip2)
BuildRequires:  pkgconfig(libzstd)
BuildRequires:  pkgconfig(zlib)
Provides:       %{name}-gb-compress-bzlib2 = %{version}
Obsoletes:      %{name}-gb-compress-bzlib2 < %{version}
Provides:       %{name}-gb-compress-zlib = %{version}
Obsoletes:      %{name}-gb-compress-zlib < %{version}
Provides:       %{name}-gb-compress-zstd = %{version}
Obsoletes:      %{name}-gb-compress-zstd < %{version}


This is important so that package updates do not lead to collisions or package corpses remain.

Regards



Follow-Ups:
Re: Proposal for possible consolidation of the packagesBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>