Hi, I ended up using this packaging as base for Endless OS and pushed the updated packaging to https://salsa.debian.org/andrunko-guest/toolbox/ (incl. update to 0.0.99).
The packaging still needs some work, specially regarding the two extra modules not yet packaged in Debian (see "debian/gocode"), but it works fine as is. I also checked about using dh-golang but I don't think we should do it here tbh, unless upstream changes their build system from meson to go (the current repo dir structure doesn't play well with dh-golang). I don't plan to work on this anymore atm but thought I'd share our changes in case anyone find them useful. Cheers, Andre On Thu, 03 Dec 2020 18:10:47 +1100 Hayley Hughes <hayley@foxes.systems> wrote: > > Alright so I've had a go at addressing the issues with mixed results. > > I've changed the names of the source and binary packages to what has > been suggested andupdated the Maintainer field to the debian golang > packaging team. I did try to migrate over to using dh-golang as the > buildsystem but I ran into errors such as > > can't load package: package > /usr/share/doc/golang-github-grpc-ecosystem-grpc-gateway-dev/examples/gateway: > > import > "/usr/share/doc/golang-github-grpc-ecosystem-grpc-gateway-dev/examples/gateway": > > cannot import absolute path > > and wasn't able to find a solution. I had a look at how arch and fedora > package toolbox and they all used meson, so it seems like that might be > the best way to package it (and I have made a few improvements such as > setting the profile_dir variable) although the biggest problem with it > currently is that it pulls dependencies from github rather then using > what's packaged in the repos. I believe that can be fixed by setting > the GOPATH environment variable but I'm unsure as to what to set it to. > > If anyone is able to help, it would be much appreciated. > > Many thanks, > Hayley > > On Tue, Dec 1, 2020 at 10:54, Hayley Hughes <hayley@foxes.systems> > wrote: > > Hey all, > > > > Thanks Raphael for CCing the correct people and thanks to Reinhard > > for offering to sponsor. > > > >> Would you be happy to maintain the packaging under the golang-team > >> umbrella or would you have > >> other preferences? Having it in the debian/ namespace on salsa would > >> work for me > >> equally well. > > > > I would be happy to maintain it under the golang team umbrella. > > Although it might make things a little easier for them if I changed > > it over to using dh_golang to keep things more consistent with other > > go packages. I only really chose to go with meson because I needed > > something that I knew would just work for the short term. > > > >> I agree with Raphael, the currently chosen names are too generic > >> for integration > >> into a general-purpose distribution such as Debian. I'd propose: > >> > >> src:golang-github-containers-toolbox to produce toolbox-podman (or > >> podman-toolbox) > > > > I definitely agree and will look into fixing everything sometime > > today. > > > > Kind regards, > > Hayley > > > > On Mon, Nov 30, 2020 at 07:26, Reinhard Tartler <siret...@tauware.de>