Debian Codegraph @

debian/README.source

raw
1 hexagon-dsp-binaries
2 ====================
3
4 hexagon-dsp-binaries is based on the upstream repo from the linux-msm project.
5 The project provides (semi-)monthly tagged releases and tarballs in the form of
6 YYYYMMDD.
7
8 The package is assembled from two upstream tarballs: the
9 `hexagon-dsp-binaries` release and the `firmware` component, the part of
10 `linux-firmware` carrying the DSP firmware (see `debian/watch`). Both release
11 under the same `YYYYMMDD` tag.
12
13 Original files are not included into the Debian packaging repo. In order to
14 prepare for building the package:
15 0. Update to the new version, either with `debian/release-update` (see
16 Changelog below) or with a plain `dch -v 0~YYYYMMDD-1`,
17 1. run `uscan --download-current-version`,
18 2. run `debian/rules orig` in order to unpack the orig file into build tree,
19 3. run `debian/rules debian/control`.
20
21 Licences
22 --------
23
24 Upstream tracks all licensing information in the WHENCE file. Currently all
25 binary files are covered by one of the two licences which allow redistribution
26 of the files. Qualcomm DSP firmware in the linux-firmware repository is
27 covered by the same licence files.
28
29 Changelog
30 ---------
31
32 `debian/release-update` collects the changelog of a new version from the git
33 history of both upstreams:
34
35 debian/release-update ~/src/hexagon-dsp-binaries ~/src/linux-firmware \
36 20260810
37
38 When ran from the top of the source package, it adds a `New upstream
39 release` and a `New linux-firmware release` item listing the commits between
40 the last uploaded version and the new one, starting a new UNRELEASED entry
41 with `dch` if needed. Items already there, added by hand or by an earlier
42 run, are kept.
43
44 Of `linux-firmware` only the commits touching the files we ship are taken.
45 The file list comes from the `Files-Included-firmware` field of
46 `debian/copyright`, so it is not maintained twice. `WHENCE` is the exception,
47 as it is rewritten for every firmware file `linux-firmware` carries: each
48 commit touching it is run through `debian/filter-firmware-whence.py`, the
49 filter `debian/rules` applies, and is kept only if the filtered result
50 changes. That way a licence change to our entries shows up even when no
51 firmware file changes at all.
52
53 The items are upstream commit subjects, so the result is meant to be edited
54 afterwards -- keeping in mind that a re-run adds dropped ones back.
55
56 -- Dmitry Baryshkov <[email protected]>, Thu, 20 Aug 2026 09:55:41 +0530