[Gambas-user] Package builder (Benoit Minisini)

CD claude.dessere at orange.fr
Fri Jan 27 18:01:35 CET 2023


OK, I understand this difference better, even though in the example I entered,
gb.gui was not part of the dependencies. Since I couldn't reproduce the case, I
stopped looking.

However I just did a test, with an empty project
Test n°1
Dependencies :
Component=gb.image
Component=gb.gui
Component=gb.form

compilation
package wizard
List of distribution files:
cd-testpackage-gtk3_0.0.1-0ubuntu1.dsc
cd-testpackage-gtk3_0.0.1-0ubuntu1.tar.gz
cd-testpackage-gtk3_0.0.1-0ubuntu1_all.deb
cd-testpackage-gtk3_0.0.1-0ubuntu1_amd64.buildinfo
cd-testpackage-gtk3_0.0.1-0ubuntu1_amd64.changes
cd-testpackage-gtk_0.0.1-0ubuntu1.dsc
cd-testpackage-gtk_0.0.1-0ubuntu1.tar.gz
cd-testpackage-gtk_0.0.1-0ubuntu1_all.deb
cd-testpackage-gtk_0.0.1-0ubuntu1_amd64.buildinfo
cd-testpackage-gtk_0.0.1-0ubuntu1_amd64.changes
cd-testpackage-qt4_0.0.1-0ubuntu1.dsc
cd-testpackage-qt4_0.0.1-0ubuntu1.tar.gz
cd-testpackage-qt4_0.0.1-0ubuntu1_all.deb
cd-testpackage-qt4_0.0.1-0ubuntu1_amd64.buildinfo
cd-testpackage-qt4_0.0.1-0ubuntu1_amd64.changes
cd-testpackage-qt5_0.0.1-0ubuntu1.dsc
cd-testpackage-qt5_0.0.1-0ubuntu1.tar.gz
cd-testpackage-qt5_0.0.1-0ubuntu1_all.deb
cd-testpackage-qt5_0.0.1-0ubuntu1_amd64.buildinfo
cd-testpackage-qt5_0.0.1-0ubuntu1_amd64.changes
cd-testpackage_0.0.1-0ubuntu1.diff.gz
cd-testpackage_0.0.1-0ubuntu1.dsc
cd-testpackage_0.0.1-0ubuntu1_all.deb
cd-testpackage_0.0.1-0ubuntu1_amd64.buildinfo
cd-testpackage_0.0.1-0ubuntu1_amd64.changes
cd-testpackage_0.0.1.orig.tar.gz

I change gb.gui for gb.qt5
Dependencies :
Component=gb.image
Component=gb.qt5
Component=gb.form

I recompile, I redo the packages in another directory
List of distribution files:
cd-testpackage-gtk3_0.0.2-0ubuntu1.dsc
cd-testpackage-gtk3_0.0.2-0ubuntu1.tar.gz
cd-testpackage-gtk3_0.0.2-0ubuntu1_all.deb
cd-testpackage-gtk3_0.0.2-0ubuntu1_amd64.buildinfo
cd-testpackage-gtk3_0.0.2-0ubuntu1_amd64.changes
cd-testpackage-gtk_0.0.2-0ubuntu1.dsc
cd-testpackage-gtk_0.0.2-0ubuntu1.tar.gz
cd-testpackage-gtk_0.0.2-0ubuntu1_all.deb
cd-testpackage-gtk_0.0.2-0ubuntu1_amd64.buildinfo
cd-testpackage-gtk_0.0.2-0ubuntu1_amd64.changes
cd-testpackage-qt4_0.0.2-0ubuntu1.dsc
cd-testpackage-qt4_0.0.2-0ubuntu1.tar.gz
cd-testpackage-qt4_0.0.2-0ubuntu1_all.deb
cd-testpackage-qt4_0.0.2-0ubuntu1_amd64.buildinfo
cd-testpackage-qt4_0.0.2-0ubuntu1_amd64.changes
cd-testpackage-qt5_0.0.2-0ubuntu1.dsc
cd-testpackage-qt5_0.0.2-0ubuntu1.tar.gz
cd-testpackage-qt5_0.0.2-0ubuntu1_all.deb
cd-testpackage-qt5_0.0.2-0ubuntu1_amd64.buildinfo
cd-testpackage-qt5_0.0.2-0ubuntu1_amd64.changes
cd-testpackage_0.0.2-0ubuntu1.diff.gz
cd-testpackage_0.0.2-0ubuntu1.dsc
cd-testpackage_0.0.2-0ubuntu1_all.deb
cd-testpackage_0.0.2-0ubuntu1_amd64.buildinfo
cd-testpackage_0.0.2-0ubuntu1_amd64.changes
cd-testpackage_0.0.2.orig.tar.gz

I have exactly the same result, except for the version number which was
incremented by the recompilation of the project,
is this normal?
It seems to contradict what you just said!

I erase everything
if I do the opposite, I recreate a new project
Test n°2
Dependencies :
Component=gb.image
Component=gb.qt5
Component=gb.form

compilation
package wizard
List of distribution files:
cd-testpackage_0.0.1-0ubuntu1.diff.gz
cd-testpackage_0.0.1-0ubuntu1.dsc
cd-testpackage_0.0.1-0ubuntu1_all.deb
cd-testpackage_0.0.1-0ubuntu1_amd64.buildinfo
cd-testpackage_0.0.1-0ubuntu1_amd64.changes
cd-testpackage_0.0.1.orig.tar.gz

I change the dependencies:
Component=gb.image
Component=gb.gui
Component=gb.form

  compilation
package wizard
List of distribution files:
cd-testpackage-gtk3_0.0.2-0ubuntu1.dsc
cd-testpackage-gtk3_0.0.2-0ubuntu1.tar.gz
cd-testpackage-gtk3_0.0.2-0ubuntu1_all.deb
cd-testpackage-gtk3_0.0.2-0ubuntu1_amd64.buildinfo
cd-testpackage-gtk3_0.0.2-0ubuntu1_amd64.changes
cd-testpackage-gtk_0.0.2-0ubuntu1.dsc
cd-testpackage-gtk_0.0.2-0ubuntu1.tar.gz
cd-testpackage-gtk_0.0.2-0ubuntu1_all.deb
cd-testpackage-gtk_0.0.2-0ubuntu1_amd64.buildinfo
cd-testpackage-gtk_0.0.2-0ubuntu1_amd64.changes
cd-testpackage-qt4_0.0.2-0ubuntu1.dsc
cd-testpackage-qt4_0.0.2-0ubuntu1.tar.gz
cd-testpackage-qt4_0.0.2-0ubuntu1_all.deb
cd-testpackage-qt4_0.0.2-0ubuntu1_amd64.buildinfo
cd-testpackage-qt4_0.0.2-0ubuntu1_amd64.changes
cd-testpackage-qt5_0.0.2-0ubuntu1.dsc
cd-testpackage-qt5_0.0.2-0ubuntu1.tar.gz
cd-testpackage-qt5_0.0.2-0ubuntu1_all.deb
cd-testpackage-qt5_0.0.2-0ubuntu1_amd64.buildinfo
cd-testpackage-qt5_0.0.2-0ubuntu1_amd64.changes
cd-testpackage_0.0.2-0ubuntu1.diff.gz
cd-testpackage_0.0.2-0ubuntu1.dsc
cd-testpackage_0.0.2-0ubuntu1_all.deb
cd-testpackage_0.0.2-0ubuntu1_amd64.buildinfo
cd-testpackage_0.0.2-0ubuntu1_amd64.changes
cd-testpackage_0.0.2.orig.tar.gz

Test #2 works normally

there is a problem with Test #1

Regards


Le vendredi 27 janvier 2023 à 12:12 +0100, user-request at lists.gambas-basic.org a
écrit :
> Send User mailing list submissions to
> 	user at lists.gambas-basic.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.gambas-basic.org/listinfo/user
> or, via email, send a message with subject or body 'help' to
> 	user-request at lists.gambas-basic.org
> 
> You can reach the person managing the list at
> 	user-owner at lists.gambas-basic.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of User digest..."
> Today's Topics:
> 
>    1. Re: Package builder (Benoit Minisini) (Benoit Minisini)
>    2. Understanding the translation process (Martin)
>    3. Re: Understanding the translation process (Bruce Steers)
>    4. Re: Understanding the translation process (Martin)
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----

>> Hi,
>> I solved the problem,
>> I now have the same distribution files for the 2 components.
>> 
>> But I don't know why there was this difference. No matter...
>> 
>> Thank you for your reply
>> 
>> Best Regards
>> 
>
>As soon as you check the 'gb.gui' component, the packager assumes that 
>you want a toolkit-independent application, and so create many 
>meta-package depending on each GUI component, so that the user can 
>decide which toolkit he wants at installation time.
>
>I guess you did that without notice.
>
>Regards,
>
>-- 
>Benoît Minisini.




More information about the User mailing list