On 3/29/21 12:32 PM, Micheal Waltz wrote: >>>> golang-github-rkoesters-xdg >>>> Website: https://github.com/rkoesters/xdg >>>> Salsa: >>>> https://salsa.debian.org/go-team/packages/golang-github-rkoesters-xdg >>> I have not built this yet, but is this in any way supposed to be used as >>> a binary as well? > Tried to package xdg with the binary (xdg-trash), however lintian gives > some errors and warnings, > > E: golang-github-rkoesters-xdg-dev: > arch-independent-package-contains-binary-or-object usr/bin/xdg-trash > E: arch-independent-package-contains-binary-or-object > > E: golang-github-rkoesters-xdg-dev: unstripped-binary-or-object > usr/bin/xdg-trash > N: > E: unstripped-binary-or-object > > W: golang-github-rkoesters-xdg-dev: no-manual-page usr/bin/xdg-trash > N: > W: no-manual-page > > W: golang-github-rkoesters-xdg-dev: undeclared-elf-prerequisites > usr/bin/xdg-trash > N: > W: undeclared-elf-prerequisites
So you need to have two binary packages in this case. One arch:any binary package for installing the compiled binary and one binary for the library package. As an example, take a look at: https://salsa.debian.org/go-team/packages/golang-github-xo-terminfo/ Rest of the lintian stuff -- you could do a web search once to see where this gets. But again, my question still remains un-answered : is the binary xdg-trash really needed? >>>> golang-gitlab-tslocum-cbind >>>> Website: https://gitlab.com/tslocum/cbind >>>> Salsa: >>>> https://salsa.debian.org/go-team/packages/golang-gitlab-tslocum-cbind >>> Please consider doing the following changes: >>> * Add d/watch >>> * Shift the override_dh* below the dh $@ -- this looks more organised >>> * Add d/gitlab-ci.yml > This is done for cbind and is mentors and salsa, also wrote another > thread about it since it's there is a new upstream repo > > https://mentors.debian.net/package/golang-gitlab-tslocum-cbind/ > https://salsa.debian.org/go-team/packages/golang-gitlab-tslocum-cbind cbind uploaded, as replied earlier. >>> Same changes for cview and gemini as well. If you do not have time to do >>> this admittedly trivial changes, let me know and I'll do so and upload >>> -- since this might save some time. > go-gemini is updated and pushed to mentors and salsa with these changes, > > https://mentors.debian.net/package/golang-github-makeworld-the-better-one-go-gemini/ > https://salsa.debian.org/go-team/packages/golang-github-makeworld-the-better-one-go-gemini Will take a look later today. > Using the --extra-package you mentioned in IRC I will try to package > cview and Amfora with these local debs as well in a similar way. \o/ Nilesh
