DFSG NEW Queue

DFSG, Licensing & New Packages Team

openxlsx 0.5.2+dfsg2-1

Package Information

DescriptionC++ library for manipulating OOXML (xlsx) files

OpenXLSX is a C++ library for reading, writing, creating and modifying Office Open XML (OOXML) files, with the .xlsx file extension.

This package contains the shared runtime library.

MaintainerDebian Commons <openxlsx@packages.debian.org>
Changed ByLars Uffmann <coding23@uffmann.name>
Sponsortille@debian.org
Distributionunstable
Architectureany
VCSgit: https://salsa.debian.org/lars_uffmann/libopenxlsx.git (browse)
Closes#1140161
Trackerhttps://tracker.debian.org/pkg/openxlsx
Uploaded2 hours ago

New Package Report

.changes◂
Changed-ByLars Uffmann <coding23@uffmann.name>
Architecturesource amd64
Distributionunstable
DateTue, 13 Oct 2026 11:32:40 +0000
Sourceopenxlsx
Version0.5.2+dfsg2-1
Changelog◂
openxlsx (0.5.2+dfsg2-1) unstable; urgency=medium
 .
   * Initial release. (Closes: #1140161)
.dsc◂
Sectionlibdevel
Priorityoptional
Componentmain
Package-Listlibopenxlsx-dev deb libdevel optional arch=any
libopenxlsx0 deb libs optional arch=any
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: https://codeberg.org/lars_uffmann/OpenXLSX
Upstream-Name: OpenXLSX
Upstream-Contact: https://codeberg.org/lars_uffmann/OpenXLSX/issues
Files-Excluded:
 Benchmarks/2024*
 Benchmarks/2025*
 Benchmarks/2026*
 Notes/*
 Scripts/*
 .clang-format
 .clang-tidy

Files: *
Copyright: 2018, 2020, 2022, Kenneth Troldal Balslev
License: BSD-3-clause

Files: Examples/cmake/*
Copyright: 2013, Cédric Tabin
License: BSD-3-clause

Files: Examples/templates/Makefile.examples.in
Copyright: 2025, 2026, Lars Uffmann <coding23@uffmann.name>
License: BSD-3-clause

Files: Makefile.GNU
Copyright: 2025, 2026, Lars Uffmann <coding23@uffmann.name>
License: BSD-3-clause

Files: OpenXLSX/cmake/*
Copyright: 2019, Cristian Adam
License: Expat

Files: OpenXLSX/cmake/patch_pkg_config.cmake
Copyright: 2025, 2026, Lars Uffmann <coding23@uffmann.name>
License: BSD-3-clause

Files: Tests/catch/*
Copyright: 2014, 2020, Two Blue Cubes Ltd.
License: BSL-1.0

Files: Tests/catch/catch_reporter_automake.hpp
Copyright: 2017, Justin R. Wilson.
License: BSL-1.0

Files: Tests/catch/catch_reporter_sonarqube.hpp
Copyright: Social Point SL.
License: BSL-1.0

Files: Tests/catch/catch_reporter_tap.hpp
Copyright: 2015, Martin Moene.
License: BSL-1.0

Files: Tests/ziptest-with-libs.cpp
Copyright: 2025, ziptest-with-libs, Lars Uffmann <coding23@uffmann.name>
 2018, OpenXLSX, Kenneth Troldal Balslev
License: Apache-2.0

Files: Tests/ziptest.cpp
Copyright: 2025, ziptest, Lars Uffmann <coding23@uffmann.name>
 2018, OpenXLSX, Kenneth Troldal Balslev
License: Apache-2.0

Files: cmake/*
Copyright: 2025, 2026, Lars Uffmann <coding23@uffmann.name>
License: BSD-3-clause

Files: cmake/get-git-HEAD-ID.cmake
Copyright: 2026, shzy
License: Expat

Files: cmake/manage_dependency.cmake
Copyright: 2025, NLATP and Lars Uffmann
License: BSD-3-clause

Files: debian/*
Copyright: 2026, Lars Uffmann
License: BSD-3-clause

License: Apache-2.0
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at
     http://www.apache.org/licenses/LICENSE-2.0
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
Comment:
 On Debian systems, the complete text of the Apache License,
 Version 2.0 can be found in '/usr/share/common-licenses/Apache-2.0'.

License: BSD-3-clause
 The BSD License
 .
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions are
 met:
 .
   * Redistributions of source code must retain the above copyright
     notice, this list of conditions and the following disclaimer.
 .
   * Redistributions in binary form must reproduce the above copyright
     notice, this list of conditions and the following disclaimer in the
     documentation and/or other materials provided with the distribution.
 .
   * Neither the name of the copyright holder nor the names of its
     contributors may be used to endorse or promote products derived from
     this software without specific prior written permission.
 .
 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
 IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
 TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
 PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

License: BSL-1.0
 On Debian systems, the complete text of the Boost Software License 1.0
 can be found in /usr/share/common-licenses/BSL-1.0.

License: Expat
 The MIT License
 .
 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, 0 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 1 hour ago.

Report◂

DFSG NEW review for openxlsx version 0.5.2+dfsg2-1

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: Yes
  • Packaging is of good quality: Yes
  • Issues: 0 blocker, 0 important, 1 minor
  • debian/watch: version 5
  • debian/copyright: machine-readable
  • Scan before the review: nothing found

Licensing

debian/copyright is a valid DEP-5 file and is accurate for the tree. The library and most sources are BSD-3-Clause (Kenneth Troldal Balslev), with later stanzas correctly overriding the catch-all for the vendored/taken-over files: Cédric Tabin's FindLIBZIP.cmake, Cristian Adam's and shzy's MIT cmake scripts (Expat), Lars Uffmann's and NLATP's cmake/Makefile files, and Catch v2.13.0's BSL-1.0 reporters (Two Blue Cubes, Martin Moene, Justin R. Wilson, Social Point). Every copyright notice in the tree names a holder that debian/copyright lists; the only prescan hit not in a stanza (Cristian Adam in README.md) is a changelog credit, and Adam is named in the OpenXLSX/cmake/* Expat stanza. No non-free terms, no unlicensed copyrightable file, no vendored pugixml/miniz/nowide code (Zippy.hpp only wraps the system <miniz.h> and detail/ is not installed), and the two Apache-2.0 ziptest programs are neither built nor installed. Full texts of BSD-3/MIT/Apache-2.0 are in the file; BSL-1.0 points to /usr/share/common-licenses/BSL-1.0, which exists.

Packaging

Competent packaging: correct library/-dev split with a symbols file (Build-Depends-Package set), Multi-Arch: same on both binaries, real Build-Depends that exist in the archive, compat 14 rules with hardening, current Standards-Version 4.7.4 against Policy 4.7.4.1, DEP-14 gbp config, Vcs-* and upstream metadata present, no patches to review. Build dependencies are complete: no git/doxygen/nowide/miniz needed (get-git-HEAD-ID.cmake falls back when git is absent, Documentation only builds if Doxygen is found, nowide is Windows-only and libzip is enabled). Upstream's tests are marked 'currently not functional' upstream and are not configured, so override_dh_auto_test runs ctest on empty build trees and there is no autopkgtest; not a fault, but the rule's 'piuparts tests' comment is misleading. One minor defect: the installed OpenXLSX.pc advertises the wrong libdir and bakes an rpath into consumers.

Issues

minor packaging 1. Installed OpenXLSX.pc declares libdir=${exec_prefix}/lib instead of the multiarch dir and adds -Wl,-rpath,/usr/lib to every consumer ◂
  • Files: OpenXLSX/CMakeLists.txt:576, OpenXLSX/CMakeLists.txt:584, debian/libopenxlsx-dev.install:5
  • Basis: checked, in the package or with a reference tool
  • Evidence: "libdir=\${exec_prefix}/lib\n" and "Libs: -L\${libdir} -Wl,-rpath,\${libdir} -lOpenXLSX\n", while the library is installed as usr/lib/*/libOpenXLSX.so (multiarch libdir).
  • Problem: The pkg-config template hard-codes libdir to ${exec_prefix}/lib rather than the CMAKE_INSTALL_LIBDIR dh_auto_configure passes (lib/), and adds -Wl,-rpath,${libdir} to Libs. Every program built with pkg-config --libs OpenXLSX is therefore linked with a -L pointing at a directory that does not contain the library and gets a needless RUNPATH=/usr/lib baked in (Debian Policy 10.2 is unhappy with rpath for libraries in standard paths). Linking happens to succeed only because the compiler's default search path finds the multiarch directory.
  • Fix: Patch the template (or ship a corrected OpenXLSX.pc) so libdir uses @CMAKE_INSTALL_FULL_LIBDIR@/CMAKE_INSTALL_LIBDIR instead of ${exec_prefix}/lib, and drop -Wl,-rpath,${libdir} from Libs.
Verified ◂
  • Read all of debian/: control, rules, changelog, copyright in full, libopenxlsx0.install, libopenxlsx-dev.install, libopenxlsx0.symbols (header and sampling of the 1694 lines), gbp.conf, source/format, source/lintian-overrides, upstream/metadata, salsa-ci.yml, .gitignore, copyright-scan-patterns.yml, fill.copyright.blanks.yml, fix.scanned.copyright; there is no debian/patches, no maintainer script, no debian/tests.
  • Inventoried the whole upstream tree (~124 files) and grepped it for Copyright/(C)/©/SPDX-License-Identifier/Licensed under/GNU/Apache/MPL/public domain/All rights reserved and for non-commercial, NoDerivatives, 'Good, not Evil' wording: no non-free term and no file with a notice whose holder is absent from debian/copyright.
  • Prescan: Examples/cmake/FindLIBZIP.cmake is Cédric Tabin, BSD-3-Clause, matched by its own stanza; OpenXLSX/cmake/patch_pkg_config.cmake is Lars Uffmann BSD-3 (own stanza, overriding OpenXLSX/cmake/); cmake/libopenxlsxCPackOptions.cmake.in and cmake/recursive_library_type_test.cmake are Uffmann BSD-3 (cmake/ stanza); cmake/manage_dependency.cmake is '2025, NLATP and Lars Uffmann' (own stanza); README.md:781 names '(Cristian Adam)' only as a changelog credit for the MIT bundle_static_library.cmake, and Adam is named in debian/copyright's OpenXLSX/cmake/* Expat stanza; README.md is installed as documentation with the text intact.
  • OpenXLSX/cmake/bundle_static_library.cmake is MIT (2019 Cristian Adam) and cmake/get-git-HEAD-ID.cmake is MIT (2026 shzy); both are covered by stanzas using the Expat short name, whose full MIT text is in debian/copyright.
  • Tests/catch/* (catch.hpp v2.13.0, catch_reporter_automake/sonarqube/tap/teamcity) carry BSL-1.0 notices from Two Blue Cubes Ltd., Justin R. Wilson, Social Point SL. and Martin Moene; all are named under the catch stanzas and BSL-1.0 exists in /usr/share/common-licenses. Only tests use them and OPENXLSX_BUILD_TESTS is OFF.
  • Tests/ziptest.cpp and Tests/ziptest-with-libs.cpp are Apache-2.0 (holders named in their stanzas); debian/rules does not enable tests and nothing from Tests/ is installed, so they reach no binary package. Their note that the Apache text does not apply to the OpenXLSX namespace part does not change that BSD-3 permits the relicensing.
  • Documentation/Doxyfile.in, DoxygenLayout.xml ('Generated by doxygen 1.8.4') and customdoxygen.css ('The standard CSS for doxygen 1.8.4', locally customised) are doxygen build inputs with no copyright notice of their own; Documentation is only built if Doxygen is found and is not installed by any binary package, so Files: * covers them without a missing-holder problem.
  • No vendored third-party library source: Zippy.hpp only includes <miniz.h> and OpenXLSX/headers/detail/ (Zippy.hpp, LibZip.hpp, OpenXLSXFileSystemTools.hpp) is excluded from installation by OpenXLSX/CMakeLists.txt; the build uses the system libzip and pugixml.
  • Build-Depends names only archive packages: libpugixml-dev 1.16-1 and libzip-dev 1.12.1-1 are in the reviewing system's lists; cmake, debhelper-compat (= 14) present. cmake/get-git-HEAD-ID.cmake falls back to '(not available)' when git is not installed, so git is not a missing build dependency, and OPENXLSX_LOCAL_PACKAGES_ONLY=ON prevents fetching.
  • Standards-Version 4.7.4 against Policy 4.7.4.1: first two components match, so not an issue.
  • Neither package needs ${misc:Depends} listed for a correct build at compat 14, and dh skips override_dh_auto_test when DEB_BUILD_OPTIONS contains nocheck at compat 13+; the rules file uses no <!nocheck> dependency.
  • debian/rules builds a static and a shared variant in separate build directories and installs both into debian/tmp; the .install lists match the install() rules in Examples/CMakeLists.txt (share/doc/OpenXLSX/examples: *.cpp, CMakeLists.txt, Makefile, cmake/FindLIBZIP.cmake, external/CustomZip/CustomZip.hpp) and OpenXLSX/CMakeLists.txt (include/, lib, lib/cmake/OpenXLSX, lib/pkgconfig).
  • uscan found the packaged version as the newest upstream release (upstream 0.5.2, packaged 0.5.2+dfsg2).
  • Every pointer of debian/copyright to /usr/share/common-licenses names a file that is there (Apache-2.0, BSL-1.0).
Not confirmed ◂
  • Package not built and nothing run: that both configure/install passes leave exactly the files the two .install files name, and which pass's OpenXLSXTargets.cmake/OpenXLSX.pc ends up in the -dev package (the shared pass installs last), were reasoned from the build files only.
  • The tarballs could not be browsed (the read tool listed only their top level), so the removal of the Files-Excluded paths (Benchmarks/2024*, Benchmarks/2025*, Benchmarks/2026*, Notes/, Scripts/, .clang-format, .clang-tidy) was confirmed only on the unpacked tree, where they are absent.
Proposed changes ◂

None.

Uploader's response to the LLM review

The uploader was emailed about the review 1 hour ago.

Back to Dashboard | View all reviews for this package