Review: node-svgtofont 6.5.3+~cs5.1.6-1
Package Information
| Description | converts SVG icons to TTF/EOT/WOFF/WOFF2/SVG font formats svgtofont reads a collection of SVG vector icons and bundles them into multi-format web font files (TTF, EOT, WOFF, WOFF2, and SVG). It automatically generates corresponding style sheets, helper templates, and preview pages to streamline the integration of custom icon fonts into web applications and frontend projects. |
|---|---|
| Maintainer | Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org> |
| Changed By | Jérémy Lal <kapouer@melix.org> |
| Sponsor | kapouer@melix.org |
| Distribution | unstable |
| Architecture | all |
| VCS | git: https://salsa.debian.org/js-team/node-svgtofont.git (browse) |
| Closes | #1150807 |
| Tracker | https://tracker.debian.org/pkg/node-svgtofont |
| Uploaded | 5 hours ago |
New Package Report
.changes
| Version | 6.5.3+~cs5.1.6-1 |
|---|---|
| Changed-By | Jérémy Lal <kapouer@melix.org> |
| Architecture | source all |
| Distribution | unstable |
| Date | Wed, 14 Oct 2026 18:53:19 +0200 |
| Source | node-svgtofont |
Changelog
node-svgtofont (6.5.3+~cs5.1.6-1) unstable; urgency=medium
.
* Initial release. (Closes: #1150807)
Thanks to Andrew Lee (李健秋) for the initial setup..dsc
| Section | javascript |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | node-svgtofont deb javascript optional arch=all |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: svgtofont Upstream-Contact: https://github.com/jaywcjlove/svgtofont/issues Source: https://github.com/jaywcjlove/svgtofont https://github.com/jaywcjlove/auto-config-loader https://github.com/jaywcjlove/image2uri Files: * Copyright: 2018 小弟调调™ License: Expat Files: image2uri/* Copyright: 2020 小弟调调™ License: Expat Files: auto-config-loader/* Copyright: 2023 小弟调调 License: Expat Files: debian/* Copyright: Andrew Lee (李健秋) <ajqlee@debian.org> License: Expat License: Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
DFSG Assistant LLM REVIEW 0 blocker, 1 important, 1 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 3 hours ago.
Report
DFSG NEW review for node-svgtofont version 6.5.3+~cs5.1.6-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: Yes - Packaging is of good quality: No
- Issues: 0 blocker, 1 important, 1 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: 1 found
Licensing
The tree is entirely MIT (Expat). The root, image2uri and auto-config-loader components each carry an MIT LICENSE; source scans found no other licence headers or third-party vendored code (no node_modules; image2uri and auto-config-loader are the author's own separate repos bundled as components, all MIT). debian/copyright is machine-readable DEP-5 with a Files: * catch-all (2018 holder) overridden by image2uri/* (2020) and auto-config-loader/* (2023) stanzas, plus one Expat standalone paragraph with full text. All copyright holders found by the prescan are named. The only binary files are test fixtures (image2uri/test/imgs/uiw.*) used as input by image2uri's tests; they are the author's own data from the same repo and pose no DFSG problem. Full MIT text is reproduced because Expat is not in /usr/share/common-licenses.
Packaging
Packaging is generally clean (debhelper 14, dh-sequence-nodejs, single binary, DEP-3 patches, pkg-js-tools extlinks/root_modules wiring, woff2 shelling out to /usr/bin/woff2_compress). One real defect: the runtime modules ttf2eot and ttf2woff are imported at runtime (and statically at load) by src/utils.ts for EOT/WOFF generation and are listed in debian/nodejs/extlinks, but debian/control lacks node-webfont (the package providing node-ttf2eot/node-ttf2woff) in both Build-Depends and Depends. Without it the installed symlinks dangle and the CLI fails to load. An autopkgtest may also fail because 'expect' (node-expect) is only a <!nocheck> Build-Depends (see unconfirmed).
Issues
1. [important] [packaging] Missing runtime dependency on node-webfont (provides ttf2eot/ttf2woff)
- Files:
debian/control (Depends and Build-Depends),debian/nodejs/extlinks,src/utils.ts:9-10 - Basis: inferred from what was read, not seen directly
- Evidence: src/utils.ts:
import ttf2eot from 'ttf2eot'; import ttf2woff from 'ttf2woff';used by createEOT/createWOFF, called from index.ts:418-419; package.json depends onttf2eot ~3.1.0andttf2woff ~3.0.0. debian/nodejs/extlinks linksttf2eotandttf2woff, but control Depends/Build-Depends list none of node-webfont/node-ttf2eot/node-ttf2woff (apt-cache: node-webfont provides node-ttf2eot=3.1.0 and node-ttf2woff=3.0.0). - Problem: The code statically imports ttf2eot and ttf2woff at load time, so the installed package must resolve these modules: the extlinks entries create symlinks to /usr/share/nodejs/ttf2eot and /usr/share/nodejs/ttf2woff, which only exist if the providing package node-webfont is installed. With no Depends entry, the CLI (and the EOT/WOFF code paths) fail with MODULE_NOT_FOUND.
- Fix: Add node-webfont to both Build-Depends (so dh-nodejs can link the modules at build time) and Depends.
2. [minor] [licensing] Binary test fixtures have no explicit licence notice
- Files:
image2uri/test/imgs/uiw.bm, uiw.bmp, uiw.gif, uiw.ico, uiw.jpeg, uiw-jpeg, uiw.jpg, uiw.png, uiw.svg, uiw.webp - Basis: checked, in the package or with a reference tool
- Evidence: These are test inputs to image2uri/test/index.test.ts (each reads imgs/uiw. and checks the resulting data URI); the prescan flagged only uiw.bm (raw bitmap) as unrecognised binary. No per-file licence text exists.
- Problem: Bare binary fixtures with no embedded notice, but they are the author's own data from the same MIT repo covered by the image2uri/* stanza; not a DFSG concern.
- Fix: None required; recorded for completeness.
Verified
- debian/copyright is DEP-5 machine-readable; Format, Files stanzas, Copyright holders and the standalone Expat paragraph all present and correct (checked in full).
- Root, image2uri and auto-config-loader each ship a matching MIT LICENSE; all source files scanned for Copyright/(C)/©/SPDX/licence wording found no additional or conflicting licences.
- Prescan copyright-holder check: every holder found is named in debian/copyright (小弟调调 2018/2020/2023 and the Debian uploader).
- No embedded third-party code or node_modules; bundled image2uri and auto-config-loader are the author's own components, all MIT.
- Prescan binary image2uri/test/imgs/uiw.bm identified; it and sibling uiw.* are image2uri test fixtures, not minified code or program blobs.
- Packaging: debhelper-compat 14, dh-sequence-nodejs + dh-sequence-single-binary, hardening via dpkg defaults, DEP-3 patch headers (all Forwarded: not-needed), ttf2woff2 node addon replaced by an external /usr/bin/woff2_compress call.
- Runtime Depends cover every remaining import (fs-extra, yargs, chalk, svgo, cheerio, svg2ttf, svgicons2svgfont, nunjucks, ini, jsonc-parser, lodash.merge, node-fetch, woff2); auto-config-loader and image2uri are bundled and linked via debian/nodejs/root_modules and extlinks.
- Standards-Version 4.7.4 is current; debian files (manpages, gbp.conf, source/format 3.0 quilt, clean, nodejs build) are coherent; changelog distribution/version/urgency sane with a real bug closure (#1150807).
- uscan found the packaged version as the newest upstream release (upstream
6.5.3+~cs5.1.6, packaged6.5.3+~cs5.1.6).
Not confirmed
- Whether dh-nodejs auto-adds node-webfont to the binary Depends at build time (dh-nodejs not installed here to observe); if it does, the finding still requires node-webfont in Build-Depends for build-time linking.
- Whether the pkg-js-tools autopkgtest environment installs node-expect (only a Build-Depends <!nocheck>), so the
import { expect } from 'expect'in test/index.test.js resolves; the runner ispkgjs-run pretest; node --test test/index.test.js.
Proposed changes
None.
Uploader's response to the LLM review
The uploader rejected this upload in response to the review.
Review Information
rejected — allocated to dfsg-uploader 3 hours ago, started 3 hours ago, completed 3 hours ago.
Final Comment
The uploader rejected this upload in response to the automated (LLM) review of it, so that they can fix the problems it found and upload again.