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

Re: Packaging Amfora and dependencies



On Mon, Mar 29, 2021 at 12:48:03PM +0530, Nilesh Patra wrote:
> 
> 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?
> 

Nilesh,

I checked with upstream of Amfora and the xdg-trash binary is not used.
Looking around elsewhere I didn't see it in use anywhere either so
I think it's safe to not package the binary.

I've made a few changes (fixing up changelog, adding metadata) and
re-pushed xdg to mentors and salsa if you could please review.

https://mentors.debian.net/package/golang-github-rkoesters-xdg/
https://salsa.debian.org/go-team/packages/golang-github-rkoesters-xdg

Thank you,

-- 
Micheal Waltz
https://keybase.io/ecliptik
GPG Fingerprint: 5F70 F2AC BD58 F580 DF15  3D1F 4FA2 70F5 CD36 71F9

Attachment: signature.asc
Description: PGP signature


Reply to: