[Gambas-user] Packaging problems with X11 and Wayland

Benoît Minisini g4mba5 at gmail.com
Wed Apr 21 20:48:33 CEST 2021


Le 21/04/2021 à 20:32, Laurent Carlier a écrit :
> Le mercredi 21 avril 2021, 20:09:04 CEST Laurent Carlier a écrit :
>> Le mercredi 21 avril 2021, 19:28:07 CEST Benoît Minisini a écrit :
>>> Hi,
>>>
>>> I think that the problem with the current packaging and 'gb.desktop' is
>>> that when using a GUI component or gb.desktop, you need either X11 or
>>> wayland support.
>>>
>>> But package manager (afaik) can't handle that. Either you create no
>>> dependency, and you have to install the x11 or wayland packages
>>> manually, either you created dependencies on both x11 and wayland, and
>>> it's idiot, as now you are force to install unneeded packages.
>>>
>>> So I think a part of the solution would be creating two meta-packages:
>>> 'gambas3-x11-support' and 'gambas3-wayland-support' that would install
>>> all x11 or wayland related packages ('gb.qt5', 'gb.gtk3' and
>>> 'gb.desktop' have such packages).
>>>
>>> What do you think?
>>
>> Resolved in Archlinux; gambas3-gb-desktop will depend on gambas3-gb-desktop-
>> driver (?)  and gambas3-gb-desktop-x11 and gambas3-gb-desktop
>> -wayland will provide gambas3-gb-desktop-driver
>>
>> Like that when installing gambas3-gb-desktop you'll have to install (at
>> least) one of them.
>>
>> Regards.
> 
> In debian, it's a virtual package
> 
> https://www.debian.org/doc/manuals/debian-faq/pkg-basics.en.html#virtual
> 

Mmm... You should be able to install both x11 and wayland support at the 
same time. Isn't it a problem?

-- 
Benoît Minisini


More information about the User mailing list