Bug#1026335: Review of the initial packaging of the carl9170 firmware

2023-08-15 Thread Paul Wise
On Sun, 2023-08-13 at 11:51 +, John Scott wrote:

> Because carl9170 is largely under the GPL and we're obligated to
> distribute complete sources for our binaries, I've set Static-Built-
> Using on both gcc (because of libgcc) and Newlib.

FYI, that wasn't the correct thing to do.

Built-Using is for license compliance cases:

https://www.debian.org/doc/debian-policy/ch-relationships.html#additional-source-packages-used-to-build-the-binary-built-using

Static-Built-Using is for other static linking or embedding cases.

The static linking wiki page needs updates for Static-Built-Using
and the predecessors of it used by the Rust and Golang packages.

https://wiki.debian.org/StaticLinking

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


signature.asc
Description: This is a digitally signed message part


Bug#1026335: Review of the initial packaging of the carl9170 firmware

2023-08-13 Thread Bastian Germann

Thanks John. The package looks good to me now, so I have uploaded it.



Bug#1026335: Review of the initial packaging of the carl9170 firmware

2023-08-13 Thread John Scott
Control: tags -1 -moreinfo

Dear all,

I have uploaded a new version of carl9170fw to mentors.debian.net that 
represents my very best work. Please review it carefully. Building it requires 
the just-uploaded libnewlib-sh-elf-dev version 3.3.0+8. I tend to ramble and 
I've already written at great deal about this peculiar package, so I will just 
speak here on the recent changes.

Note that I do own carl9170 hardware and have tested this package manually.

Because carl9170 is largely under the GPL and we're obligated to distribute 
complete sources for our binaries, I've set Static-Built-Using on both gcc 
(because of libgcc) and Newlib. That's what my recent tweaks in gcc-sh-elf have 
been about.

In addition to Paul Wise, Bastian, and other folks following my libre wireless 
journey, I'd like to thank the Central Indiana Linux Users Group for cheering 
me on.

Note that this package has a udeb. Ben said this is the right thing to do for 
free firmware built from source, but I don't know enough about the Debian 
Installer to make sure it gets integrated.

This upload will generally not be installable; the only goal is to clear NEW so 
we can coordinate the handover of the firmware file from firmware-linux-free to 
firmware-carl9170 with a subsequent upload to unstable.


signature.asc
Description: This is a digitally signed message part