[Gambas-user] The problem with gb.gui, gb.gui.opengl, and gb.desktop.gnome

Benoît Minisini gambas at ...1...
Thu Oct 31 23:26:52 CET 2013


Le 31/10/2013 23:13, Kende Krisztián a écrit :
> 2013-10-31 22:55 keltezéssel, Benoît Minisini írta:
>> Le 31/10/2013 22:27, Kende Krisztián a écrit :
>>> Now I see that my previous message has been addressed to you directly.
>>> But you got? :-)
>>> And what do you think?
>>>
>>> Kendek
>>>
>>>
>>
>> If 'foo' uses gb.gui, I will create 'foo', 'foo-qt4' and 'foo-gtk',
>> not just 'foo-qt4' and 'foo-gtk'. Otherwise I can't install both
>> 'foo-qt4' and 'foo-gtk' at the same time.
>>
>> I will modify the packager as soon as possible so that you can test
>> and tell me what you think (at least deb packages first)
>>
>> I don't know a lot about making binary packages, I didn't write the
>> IDE packager code. So I just copy & adapt the current code, hoping
>> there will be no problem creating packages with nothing inside.
>>
>> Stay tune...
>>
>
> Ok. And yes, if create 'foo-gtk' and 'foo-qt4' without 'foo', 'foo-gtk'
> will conflict with 'foo-qt4'. But it may be indicated in control file.
> Example (see conflicts):
>
> Package: systemback-gtk
> Architecture: all
> Depends: gambas3-gb-gtk (>= 3.5.0), gambas3-gb-image (>= 3.5.0),
> gambas3-runtime (>= 3.5.0)
> Replaces: systemback (<< 0.7.4)
> Conflicts: systemback-qt4
> Description: Systemback GTK+ interface
>   This package contains a GTK+ graphical user interface for Systemback.
>
> Package: systemback-qt4
> Architecture: all
> Depends: gambas3-gb-qt4 (>= 3.5.0), gambas3-gb-image (>= 3.5.0),
> gambas3-runtime (>= 3.5.0)
> Replaces: systemback (<< 0.7.4)
> Conflicts: systemback-gtk
> Description: Systemback Qt4 interface
>   This package contains a Qt4 graphical user interface for Systemback.
>
> If install the systemback-qt4, systemback-gtk automatically removed. And
> vice versa. Not need to be installed at the same time.
>

But you may need to install both qt4 and gtk support! Your system may be 
a multi-user system with one user using Gnome and the other user KDE. 
This is the reason why three packages are needed.

As for gb.desktop, I will allow to check gb.desktop.gnome explicitely. 
Because actually the need of gb.desktop.gnome does not necessarily mean 
that the project must use gb.gtk: a project can use gb.qt4, and will 
need gb.desktop.gnome when run on a gnome desktop.

Hopefully, gb.desktop.gnome is there just because Gnome 2 has no 
command-line tool to store passwords. As Gnome 2 is deprecated (and its 
keyring system), I think gb.desktop.gnome will disappear soon.

Regards,

-- 
Benoît Minisini




More information about the User mailing list