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

Re: [gambas-package-config] Automatic generation of OBS configuration


Am 30.11.24 um 20:08 schrieb Benoît Minisini:
Hi,

The 'gambas-package-config' configuration now generates in the '.obs' directory:

- The 'PKGBUILD' file.
- The 'gambas3.spec' file.
- The 'debian.tar.gz' file.

I have now some requirements and questions...

1) Can Paolo, Laurent, Willy, or anyone else, check these files and their corresponding template in the 'gambas-package-config' project to tell me what the errors are, what is missing, and so on...

2) I don't generate the '*.dsc' file yet. Why these files? It seems that they include information already present inside the 'debian.tar.gz' file.

3) I don't generate the debian 11 specific files too yet.

4) Very important question: would it be possible, with OBS, not to just make the difference between debian 11 and debian 12, but have different configuration files for each distribution version? For example, one '*.spec' file for each Fedora version, one 'debian.tar.gz' for each Debian version, one for each Ubuntu version. And, of course, make packages for all them (not -every- system version of course, but the last big ones).

Thanks again for all your help, guys!


Ok, something is strange with the debian-Debian_*.tar.gz packages:
dpkg-source: error: missing critical source control field Files

I'll have to take a closer look, but the content and format also look kind of obscure...

...
drwxr-xr-x benoit/benoit     0 2024-12-02 13:58 ./
drwxr-xr-x benoit/benoit     0 2024-12-02 13:58 ./debian/
-rw-r--r-- benoit/benoit     1 2024-12-02 13:58 ./debian/gambas3-gui.install
-rw-r--r-- benoit/benoit 13688 2024-12-02 13:58 ./debian/copyright
...
drwxr-xr-x benoit/benoit     0 2024-12-02 13:58 ./debian/debian12/
-rw-r--r-- benoit/benoit 1 2024-12-02 13:58 ./debian/debian12/gambas3-gui.install
-rw-r--r-- benoit/benoit 13688 2024-12-02 13:58 ./debian/debian12/copyright
...


I have to put it all back together again manually (and that already worked) to see what's completely bent - can take a while.