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

Re: Initial version of 'gambas-package-config' tool


On Monday, November 25th, 2024 at 11:07, munix9 munix9@xxxxxxxxxxxxxx wrote:

> It is implemented in
> “[https://gitlab.com/munix9/gambas/-/tree/stable-test/.obs?ref_type=heads”;](https://gitlab.com/munix9/gambas/-/tree/stable-test/.obs?ref_type=heads%E2%80%9D)
> and “[https://build.opensuse.org/project/monitor/home:munix9:gambas:test”;](https://build.opensuse.org/project/monitor/home:munix9:gambas:test%E2%80%9D)
> with changes.

Thanks for running the test

> The most important:
>
> - the gambas source is not needed, it is prepared and provided by
> obs-services for the configured distributions
>
> - we use “quilt” because “native” assumes that the debian directory is
> in the top-dir of the sources. This is not the case, the files are
> provided in the .obs directory

Ok, that is what I wanted to know, you want quilt recipes.
Funny thing is that debian themselves build quilt as they consider gambas3@gitlab to be source and thus native.
That is why I was thinking native recipes and the link you provided did mention native as an options.

I have NO idea what obs uses to build the packages, but it has to be a debian tool.
If they retrieve source from debian they must be using git-buildpackage combined with the debian folder (the actual recipe) to build the binaries.

> - obs-specific changes are required in the *.dsc files:
> DEBTRANSFORM-TAR: gambas-@VERSION@xxxxxxx
> DEBTRANSFORM-FILES-TAR: debian.tar.gz
> or
> DEBTRANSFORM-FILES-TAR: debian-Debian_11.tar.gz
>
> - the only difference (currently) between gambas3.dsc and
> gambas3-Debian_11.dsc is the use of libwebkit2gtk-4.1-dev and
> libwebkit2gtk-4.0-dev respectively

Yes, I'm aware of the SOUP 2 vs 3 possibility. Debian 12 provides 4.0 and 4.1, so it doesn't really matter.
For ease of recipe being the same 4.0 is doing great for me and works just fine.
Debian is not Arch, so the latest and 'so called' greatest, is not really the main priority on debian.

> Have a look at it and compare it with your setup.
>
> The “Publish Flag” is currently deactivated, so that the packages and
> repositories created in obs cannot be tested (we have had this topic
> before).
>
> Let me know if you want me to activate it.

Well, I would like to see the packages that where made and if test how they perform.
Making a package doesn't always mean you have an actual working package, so testing is relevant.
And I hope some fellow gambas users that are thinking of moving to debian wanna have a go in a debian vm or real system debian system and install gambas 3.19.6.

There should be instructions on what to add to your sources.list file.

I do advise to do apt-get purge gambas3 && apt-get autoremove before adding a new repostory to sources.list if gambas 3.18.0 from official debain is installed.
After removal of installed gambas and adding new repo to /etc/apt/sources.list you can simply do: apt-get update && apt-get upgrade and next apt-get install gambas3.

Enjoy

gbWilly

Follow-Ups:
Re: Initial version of 'gambas-package-config' toolmunix9 <munix9@xxxxxxxxxxxxxx>
References:
Initial version of 'gambas-package-config' toolBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Initial version of 'gambas-package-config' toolgbWilly <gbWilly@xxxxxxxxxxxxxx>
Re: Initial version of 'gambas-package-config' toolBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Initial version of 'gambas-package-config' toolmunix9 <munix9@xxxxxxxxxxxxxx>
Re: Initial version of 'gambas-package-config' toolgbWilly <gbWilly@xxxxxxxxxxxxxx>
Re: Initial version of 'gambas-package-config' toolmunix9 <munix9@xxxxxxxxxxxxxx>
Re: Initial version of 'gambas-package-config' toolgbWilly <gbWilly@xxxxxxxxxxxxxx>
Re: Initial version of 'gambas-package-config' toolmunix9 <munix9@xxxxxxxxxxxxxx>