[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Initial version of 'gambas-package-config' tool
[Thread Prev] | [Thread Next]
- Subject: Re: Initial version of 'gambas-package-config' tool
- From: gbWilly <gbWilly@xxxxxxxxxxxxxx>
- Date: Sun, 24 Nov 2024 00:08:52 +0000
- To: munix9 <munix9@xxxxxxxxxxxxxx>
- Cc: user@xxxxxxxxxxxxxxxxxxxxxx
On Saturday, November 23rd, 2024 at 23:19, munix9 <munix9@xxxxxxxxxxxxxx> wrote: > > About the mentioned *.dsc files: > For the Debian/Ubuntu build, these are the initial descriptions needed > in addition to the debian archives. > This is nothing specific to OBS, but OBS needs these files for operation. > Again, some customization is required, but hopefully this should be > painless. That is what I kind of understood > https://wiki.debian.org/dsc > https://www.debian.org/doc/debian-policy/ch-controlfields.html#debian-source-package-control-files-dsc > https://en.opensuse.org/openSUSE:Build_Service_Debian_builds The last link helps a lot. "For packages that ship `debian/` subdirectory in upstream source (known as native packages). The pristine tarball A .dsc file" I suggest we build native as the originator of the Gambas3 source. All we need is: - A pristine tarball: a source package build from git - A .dsc file: is easy to make 1. unpack gambas source archive 2. Copy recipe into root of unpacked gambas source and rename recipe folder debian (see Screen1.png) 3. dpkg-source -b path/to/unpacked/source/code (see Screen2.png) This can be easily automated, just need to differentiate between debian11 and debian12 (mainly rules and changelog variation) For Ubuntu exactly the same can be done (even using debian recipe, just change rules and first line of changelog in recipe to differentiate between the different versions) Your testbuild on osb was based on a quilt build, so needed some extra file (Either a diff file or a Debian tarball) according to the last link. I always build binary only, so never had a .dsc file and no need for it for distribution. But, I'm beginning to understand their needs as the .dsc file is build from recipe and contains info on packages that need to be made. @Benoit: I hope above steps help you in automating these needs. To comply with osb build system, the recipe needs small additions and the .dsc files might need to be rebuild. And you might want a recipe for latest stable and one for master I presume, that eventually becomes new stable. So, in short, a good base recipe for 3.19.6 and one for 3.19.90 (daily builds?). A lot of variation from these base recipes for debian11 and 12 and ubuntu 24.04, 22.04 etc builds. The recipes should be suited for building i386, amd64, arm64, armhf gbWilly
Attachment:
Screen1.png
Description: PNG image
Attachment:
Screen2.png
Description: PNG image
Re: Initial version of 'gambas-package-config' tool | gbWilly <gbWilly@xxxxxxxxxxxxxx> |
Initial version of 'gambas-package-config' tool | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
Re: Initial version of 'gambas-package-config' tool | gbWilly <gbWilly@xxxxxxxxxxxxxx> |
Re: Initial version of 'gambas-package-config' tool | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
Re: Initial version of 'gambas-package-config' tool | munix9 <munix9@xxxxxxxxxxxxxx> |