Review: shine 4.0.0-1
Package Information
| Description | Fixed-point MP3 encoding library - runtime files Shine can be used to encode audio data on architectures with no floating point processing unit (FPU) at a much better rate than encoding libraries implemented using floating-point arithmetic. This package contains the files needed to run a program compiled using Shine. |
|---|---|
| Maintainer | Debian Multimedia Maintainers <debian-multimedia@lists.debian.org> |
| Changed By | Sebastian Ramacher <sramacher@debian.org> |
| Sponsor | sramacher@debian.org |
| Distribution | experimental |
| Architecture | any |
| VCS | git: https://salsa.debian.org/multimedia-team/shine.git (browse) |
| Popcon Installs | 166111 |
| Binary NEW | Yes (new binary packages of a source already in sid) |
| Tracker | https://tracker.debian.org/pkg/shine |
| Uploaded | 4 hours ago |
New Package Report
.changes
| Changed-By | Sebastian Ramacher <sramacher@debian.org> |
|---|---|
| Architecture | amd64 source |
| Distribution | experimental |
| Date | Wed, 02 Dec 2026 16:17:24 +0100 |
| Source | shine |
| Version | 4.0.0-1 |
Changelog
shine (4.0.0-1) experimental; urgency=medium
.
* New upstream version 4.0.0
* SONAME bump: libshine3 -> libshine4
* debian/copyright:
- Clarify license info
- Relicense debian/* as LGPL-2+. Thanks to Romain Beauxis for aggreeing to
license..dsc
| Section | libdevel |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | libshine-dev deb libdevel optional arch=any libshine4 deb libs optional arch=any shineenc deb sound optional arch=any |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: shine Upstream-Contact: savonet-users@lists.sourceforge.net Source: https://github.com/toots/shine Files: * Copyright: Gabriel Bouvigne 2001 Pete Everett Patrick Roberts 2014 Zeng Zhaoxiu 2013-2026 Romain Beauxis <toots@rastageeks.org> Jean-Georges Fritsch, C-Cube Microsystems License: LGPL-2+ Comment: Reconstructed from README.old and the commit history from https://github.com/toots/shine. Confirmed as LGPL-2+ in https://github.com/toots/shine/commit/db50c19126f013a4a007fb28b3e835420ac97fba. Files: debian/* Copyright: 2013 Romain Beauxis <toots@rastageeks.org> 2016-2026 Sebastian Ramacher <sramacher@debian.org> License: LGPL-2+ License: LGPL-2+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. Comment: On Debian systems, the complete text of the GNU Lesser General Public License can be found in /usr/share/common-licenses/LGPL-2 file. . You should have received a copy of the GNU Lesser General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
DFSG Assistant LLM REVIEW 0 blocker, 0 important, 3 minor
This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.
Reviewed 4 hours ago.
Report
DFSG NEW review for shine version 4.0.0-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: Yes - Packaging is of good quality: Yes
- Issues: 0 blocker, 0 important, 3 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: nothing found
Licensing
All upstream code in the tree is under LGPL-2/LGPL-2+ (COPYING is the GNU Library GPL v2 text; debian/copyright states LGPL-2+ with the licence text and points to /usr/share/common-licenses/LGPL-2). The DEP-5 file matches the tree: Files: * for upstream, a debian/* stanza, and no Files-Excluded. The generated tables, SVGs and golden data all have their generators or are test data. The only inconsistency is the JS npm metadata declaring LGPL-2.0-only where debian/copyright says LGPL-2+; both are free licences and the copyright file documents the 2+ confirmation, so this is a reconciliation/accuracy matter rather than a DFSG problem.
Packaging
Packaging is conventional and correct: compat 14 with plain dh $@, correct package split (libshine4/libshine-dev/shineenc), Multi-Arch: same, an accurate .symbols file, debian/tmp install files, .a/.la accounted for in not-installed, and an up-to-date Standards-Version. dh $@ is enough because compat >= 10 turns on the autoreconf addon, so the configure script missing from the Git-snapshot tarball is generated at build time, and autoconf/automake/libtool arrive through debhelper's dependency on dh-autoreconf. Two minor user-facing inaccuracies remain: the stale shineenc manpage and the -dev description promising static linking while libshine.a is deliberately not shipped.
Issues
minor licensing 1. js/package.json and js/package-lock.json say LGPL-2.0-only, debian/copyright says LGPL-2+ ◂
- Files:
js/package.json:33,js/package-lock.json:10,debian/copyright:14 - Basis: checked, in the package or with a reference tool
- Evidence:
"license": "LGPL-2.0-only"in js/package.json and js/package-lock.json versusLicense: LGPL-2+in theFiles: *stanza covering all of js/ - Problem: The only explicit licence statement in the JavaScript tree declares LGPL-2.0-only, while debian/copyright covers those files under LGPL-2+, citing an out-of-tree commit as confirmation. The two statements cannot both describe the same files; if the npm metadata is authoritative for js/src, debian/copyright overstates the grant for a part of the source package. Both licences are free, so this is an accuracy issue, not a DFSG violation.
- Fix: Reconcile the two: either have upstream change the npm
licensefields to LGPL-2.0-or-later, or add aFiles: js/*stanza in debian/copyright with the short name the JS files are actually under (and a matching stand-alone License paragraph). Note the outcome in debian/changelog.
minor packaging 2. debian/shineenc.1 documents only four of the twelve shineenc options, missing -h -m -j -s -d -Q -r -T ◂
- Files:
debian/shineenc.1:13-25,src/bin/main.c:67-87 - Basis: checked, in the package or with a reference tool
- Evidence: manpage lists only
-q,-v,-b,-c; print_usage() in src/bin/main.c documents-h,-m,-j,-s,-d,-Q,-r,-Tbesides those, and 4.0.0 added -Q (quality) and -r (resampling) as headline features - Problem: The manpage was written in 2013 and was not updated for 4.0.0; users cannot discover the new quality level (-Q) or opt-in resampling (-r) from
man shineenc, and the -b wording predates the current fixed-bitrate description. - Fix: Update debian/shineenc.1 to cover all options in print_usage(), including -Q and -r, or generate the manpage from the same option table.
minor packaging 3. libshine-dev description promises static linking but libshine.a is excluded via debian/not-installed ◂
- Files:
debian/control:34,debian/not-installed:1 - Basis: checked, in the package or with a reference tool
- Evidence:
This package contains the files needed to compile and statically link against Shine.versususr/lib/*/libshine.ain debian/not-installed - Problem: The package ships no libshine.a, so static linking as advertised in the Description is impossible; the claim is user-visible documentation that does not match the package contents. (Dropping the .la file is correct.)
- Fix: Either install libshine.a (remove it from debian/not-installed and ship it in libshine-dev, with any private link flags in shine.pc) or change the Description to say only that it provides the files needed to compile and link against Shine.
Verified ◂
- Prescan holder check: every holder it found is already named in debian/copyright (searched all files with gitignore disabled; the tree's copyright holders appear in COPYING, README.old and the source names, all covered by the Files: * stanza).
- COPYING is the GNU Library General Public License version 2, matching the LGPL-2+ short name and the referenced /usr/share/common-licenses/LGPL-2.
- No source, test, tool, doc or JS file carries a separate copyright/licence header or a different licence; grep for Copyright/(C)/©/SPDX/GNU/MIT/Apache/public domain found only the MPEG
copyrightflag fields and COPYING itself. - src/lib/precomputed_tables.c is marked 'Generated by tools/generate_tables.c' and that generator is shipped (EXTRA_DIST); src/lib/psy_tables.h is generated by tools/generate_psy_tables.c, also shipped.
- doc/images/{speed,quality}-{light,dark}.svg are plain SVG charts generated by tools/readme-charts.py from the README tables; the generator is in the tree.
- tests/golden.txt is test data produced by the encoder's golden harness (SHINE_UPDATE_GOLDEN), and js/dist (shine.mjs, shine.wasm) is not shipped but built by the Makefile's wasm target from js/src/shine.mjs + js/src/wrapper.c.
- debian/rules at compat 14:
dh $@enables the autoreconf addon by default (SequencerUtil.pm), so the missing configure/Makefile.in in the GitHub-snapshot orig tarball are generated at build time; autoconf/automake/libtool are pulled in by debhelper's dependency on dh-autoreconf (apt-cache). - Install files and not-installed match the upstream install: .so*, headers and pkgconfig in libshine-dev, shineenc binary, .a/.la declared; dh_install handles the debian/tmp prefix (dh_install(1)).
- debian/libshine4.symbols lists exactly the 16 names in libshine.sym, and the new package libshine4 makes @Base entries correct; SONAME/version-info 4:0:0 matches libshine.so.4.
- Standards-Version 4.7.4 matches the reviewing system's Policy 4.7.4.1 in its first two components; Vcs-* and Homepage are present; changelog version/distribution syntax is valid.
- No maintainer scripts, no patches, no autopkgtest and no test dependencies; the test suite has no missing Build-Depends (ffmpeg-dependent tests skip themselves).
- uscan found the packaged version as the newest upstream release (upstream
4.0.0, packaged4.0.0). - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (LGPL-2).
Not confirmed ◂
- js/test/browser/encode.wav and js/test/lib/encode.wav are binary audio test fixtures; I did not open them, and their provenance/licence is not documented anywhere in the tree (only used by the JS benchmark pages, not installed by any package). If they contain third-party music, they would need a licence statement.
- The upstream commit cited in debian/copyright as confirming LGPL-2+ could not be fetched (no network access), so the JS licence-version question rests on the conflicting in-tree statements.
Proposed changes ◂
None.
Uploader's response to the LLM review
The uploader was emailed about the review 4 hours ago.
Review Information
accepted — allocated to awm 1 hour ago, started 1 hour ago, completed 1 hour ago.