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

Re: Building gambas on OBS


Le 11/11/2024 à 16:22, munix9 a écrit :
Take a look at the result:

https://build.opensuse.org/project/monitor/home:munix9:gambas
https://software.opensuse.org//download.html? project=home%3Amunix9%3Agambas&package=gambas3

I don't know right now why Arch isn't showing up in the downloads - maybe a cache thing, so it might take a while.

This was created relatively quickly, so it may still have a few rough edges.

I stole the PKGBUILD for arch from their build-system and adapted it, as well as the Debian/Ubuntu config from their build-system.

And of course it's still not always easy to find the right setup for the different distributions - especially with Debian/Ubuntu, as the format of the build instructions is not as flexible as with rpm (my opinion).

The project configuration also sometimes needs to be adjusted:
https://build.opensuse.org/projects/home:munix9:gambas/prjconf



Great, thanks!

Now I understand the following:

The "package" in OBS does not mean "one package", but a git repository that includes all the files needed to make one or many packages for all the distributions you want.

I guess that OBS is clever enough to take the configuration file(s) according to the target distribution of the packages being built.

Your 'home:munix9:gambas/gambas3' sub-project actually builds the latest stable Gambas.

Do we have to create one sub-project for each version of Gambas?

Do you think that I could put inside the Gambas sources all the configuration files needed to make all the packages, for all distributions, and that files could be taken automatically from the sources for OBS to be able to build the packages?

I really want to centralize these information files and update it according to the changes in Gambas components, without having to fix configuration files in OBS or anywhere else.

Moreover, it will allow any distribution packager to package Gambas easily and correctly: for example, ubuntu was never able to package Gambas correctly by following the instructions on the wiki, and the official Gambas ubuntu packages do not work correctly. I guess it's the same in Debian, I didn't check.

Last question: is it possible to download automatically the Gambas source packages from gitlab?

Anyway, thanks again for helping me in some stuff that is not easy for me, and very time consuming!

Regards,

--
Benoît Minisini.


Follow-Ups:
Re: Building gambas on OBSmunix9 <munix9@xxxxxxxxxxxxxx>
References:
Building gambas on OBSmunix9 <munix9@xxxxxxxxxxxxxx>