[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gambas-package-config] Automatic generation of OBS configuration
[Thread Prev] | [Thread Next]
- Subject: Re: [gambas-package-config] Automatic generation of OBS configuration
- From: munix9 <munix9@xxxxxxxxxxxxxx>
- Date: Mon, 2 Dec 2024 18:47:52 +0100
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Am 02.12.24 um 14:18 schrieb munix9:
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 FilesI'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.
Okay, here's the thing:OBS needs a 'gambas3.dsc' and a 'debian.tar.gz' file to trigger the DEB build.
It doesn't matter whether these are actually used, because corresponding 'gambas3-Debian_*.dsc' and 'debian-Debian_*.tar.gz' exist.
So I suggest simply copying a configuration, e.g: cp -p gambas3-Debian_12.dsc gambas3.dsc cp -p debian-Debian_12.tar.gz debian.tar.gz This could probably best be installed somewhere here https://gitlab.com/gambas/gambas/-/blob/master/app/src/gambas-package-config/.src/Main.module?ref_type=heads#L150 This should be possible without much pain.
Re: [gambas-package-config] Automatic generation of OBS configuration | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
Re: [gambas-package-config] Automatic generation of OBS configuration | munix9 <munix9@xxxxxxxxxxxxxx> |