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

Re: Building gambas on OBS


On Monday, November 11th, 2024 at 16:22, munix9 munix9@xxxxxxxxxxxxxx wrote:

> 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

I can see in the configuration you made (https://build.opensuse.org/projects/home:munix9:gambas/packages/gambas3/files/gambas3-Debian_11.dsc?expand=1) that you are making the wrong packages and are missing out on new ones. Do not use the Debian official recipes. They do NOT package gambas at it should be done. And Ubuntu takes from upstream Debian so that might be problematic too (didn' t investigate).
I do not quite get this format of configuration file as it is not 'the Debian way' I am familiar with.

This is what I wrote about it (and I send mail to Debian packagers, but no response):

"Gambas from official debian repository, is not packaged according to the current package specification and uses a few depricated package names for packages and thus has an older dependency model when it comes to handling gui (all being still pre Gambas 3.18 on official debian).
It also has some wrong dependecies on gambas runtime causing it to install all kind of gui parts, when installing a command line gambas application on a non-gui debian server (that is when I decided to restart packaging my own Gambas for Debian, as I had done it before for internal use)."

I have made new recipes for Debian and they can be freely downloaded and used.
So feel free to use them for making packages. The 3.19.5 recipe can be used for 3.19.6
https://gitlab.com/gbWilly/gambas3-debian-repository/-/tree/main/recipes?ref_type=heads

gbWilly

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