DFSG NEW Queue

DFSG, Licensing & New Packages Team

dune-functions 2.11.0+dfsg-3

Package Information

Descriptiontoolbox for solving PDEs -- interface for functions (development files)

DUNE, the Distributed and Unified Numerics Environment is a modular toolbox for solving partial differential equations (PDEs) with grid-based methods. It supports the easy implementation of methods like Finite Elements (FE), Finite Volumes (FV), and also Finite Differences (FD).

dune-functions provides an interface for global finite element functions.

This package contains the development files.

MaintainerDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Changed ByAnsgar <ansgar@debian.org>
Sponsoransgar@debian.org
Distributionexperimental
Architectureany all
VCSgit: https://salsa.debian.org/science-team/dune-functions.git (browse)
Popcon Installs2
Binary NEWYes (new binary packages of a source already in sid)
Trackerhttps://tracker.debian.org/pkg/dune-functions
Uploaded2 hours ago

New Package Report

.changes◂
Changed-ByAnsgar <ansgar@debian.org>
Architectureall amd64 source
Distributionexperimental
DateSun, 29 Nov 2026 20:49:51 +0100
Sourcedune-functions
Version2.11.0+dfsg-3
Changelog◂
dune-functions (2.11.0+dfsg-3) experimental; urgency=medium
 .
   * Add Python bindings.
   * Backport patch to not try to install header that does not exist.
     + new patch: python-do-not-install-missing-header.patch
   * d/rules: use "DUNE_DEBIAN_AUTO_TEST" from dune-common 2.11.0-4
   * d/copyright: Add Markus Blatt and Santiago Ospina De Los Ríos.
.dsc◂
Sectionlibdevel
Priorityoptional
Componentmain
Package-Listlibdune-functions-dev deb libdevel optional arch=any
libdune-functions-doc deb doc optional arch=all
python3-dune-functions deb python optional arch=any
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: dune-functions
Source: https://gitlab.dune-project.org/staging/dune-functions
Files-Excluded: doc/manual

Files: *
Copyright:
 2023--2025    Markus Blatt
 2016--2017    Jakub Both
 2021          Klaus Böhnlein
 2016--2023    Ansgar Burchardt
 2021          Andreas Dedner
 2013--2025    Christian Engwer
 2015          Elisa Friebel
 2013          Christoph Gersbacher
 2013          Stefan Girke
 2013--2025    Carsten Gräser
 2015--2018    Felix Gruber
 2015--2025    Christoph Grüninger
 2021--2024    Patrick Jaap
 2017--2021    Lasse Hinrichsen
 2020          René Heß
 2017--2019    Max Kahnt
 2016--2018    Dominic Kempf
 2020          Timo Koch
 2015          Angela Klewinghaus
 2017          Tobias Malkmus
 2023          Alexander Müller
 2020          Felix Müller
 2013--2019    Steffen Müthing
 2017          Martin Nolte
 2015--2017    Elias Pipping
 2024--2025    Maik Porrmann
 2022--2025    Santiago Ospina De Los Ríos
 2018--2025    Simon Praetorius
 2018          Lukas Renelt
 2013--2025    Oliver Sander
 2020--2025    Henrik Stolzmann
 2015          Jonathan Youett
License: LGPL-3+ or GPL-2 with DUNE exception

Files: debian/*
Copyright:
 2015-2021, Ansgar <ansgar@debian.org>
 2021,      Patrick Jaap
 2021,      Lisa Julia Nebel
 2022-2026, Equinor ASA
License: LGPL-3+ or GPL-2 with DUNE exception

License: LGPL-3+ or GPL-2 with DUNE exception
 The dune-functions library, headers and test programs are copyrighted free software. You
 can use, modify and/or redistribute it under the terms of either one of the two
 following licenses:
 .
 * The GNU Lesser General Public License as published by the Free Software
   Foundation, either Version 3 of the license or (at your option) any later
   version. You can find a copy of the GNU Lesser General Public License, Version
   3, in the files GPL-3 and LGPL-3 or at <http://www.gnu.org/licenses/lgpl-3.0>.
 .
 * Version 2 of the GNU General Public License as published by the Free Software
   Foundation, with the following special exception for linking and compiling
   against the dune-functions library, the so-called "runtime exception":
 .
     As a special exception, you may use the dune-functions source files as part of a
     software library or application without restriction.  Specifically, if other
     files instantiate templates or use macros or inline functions from one or
     more of the dune-functions source files, or you compile one or more of the dune-functions
     source files and link them with other files to produce an executable, this
     does not by itself cause the resulting executable to be covered by the GNU
     General Public License.  This exception does not however invalidate any
     other reasons why the executable file might be covered by the GNU General
     Public License.
 .
   This license is intended to be similar to the GNU Lesser General Public
   License, Version 2, which by itself isn't suitable for a template library. You
   can find a copy of the GNU General Public License, Version 2, in the file
   GPL-2 or at <http://www.gnu.org/licenses/gpl-2.0>.
Comment:
 On Debian systems, the full text of the GNU Lesser General Public License
 version 3 can be found in the file `/usr/share/common-licenses/LGPL-3'.
 .
 On Debian systems, the full text of the GNU General Public License version 2
 can be found in the file `/usr/share/common-licenses/GPL-2'.

DFSG Assistant LLM REVIEW 1 blocker, 1 important, 5 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.

Proposes a replacement debian/watch: debian/watch in version 5 format

Report◂

DFSG NEW review for dune-functions version 2.11.0+dfsg-3

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: No
  • Packaging is of good quality: Yes
  • Issues: 1 blocker, 1 important, 5 minor
  • debian/watch: old format (version 4)
  • debian/copyright: machine-readable
  • Scan before the review: 2 found

Licensing

debian/copyright is in DEP-5 format and matches the upstream dual licence (LGPL-3.0-or-later or GPL-2.0-only with DUNE exception) that every source, header, CMake, example and documentation file carries, and it names every person in AUTHORS.md. It is nevertheless inaccurate for two shipped third-party files: the vendored doxygen-awesome CSS is MIT / © jothepro but is covered by Files: * as if it were the DUNE dual licence, with no MIT licence text, and the doxygen logo dune-functions.png is credited to the DUNE-FUFEM Project contributors, whom the file does not name. No non-free content remains: the CC-BY-ND-4 mention in doc/doxygen/license.md refers to the manual, which is excluded, and only licence texts remain.

Packaging

The packaging is conventional and clean: debhelper compat 13 with debhelper-compat, a correct debian/rules over the DUNE makefiles, three well-formed binary packages, dependency substvars present for the new python3-dune-functions, an autopkgtest for the JIT bindings, DEP-3 patches, and a sane changelog. Two dependency gaps remain in libdune-functions-dev: libdune-istl-dev is not depended on although installed headers include dune/istl headers, and the shipped dune-functions.pc still Requires dune-typetree after the typetree dependency was dropped.

Issues

blocker licensing 1. debian/copyright puts the MIT-licensed doc/doxygen/doxygen-awesome CSS under the DUNE dual licence and gives neither the jothepro holder nor the MIT text ◂
  • Files: debian/copyright:6-35, doc/doxygen/doxygen-awesome/doxygen-awesome.css:1-2, doc/doxygen/doxygen-awesome/doxygen-awesome-sidebar-only.css:1-2, doc/doxygen/Doxylocal

  • Basis: checked, in the package or with a reference tool

  • Evidence:

    /* SPDX-FileCopyrightText: Copyright © 2021 - 2023 jothepro */
    /* SPDX-License-Identifier: MIT */
    versus the catch-all stanza Files: * ... License: LGPL-3+ or GPL-2 with DUNE exception

  • Problem: The two vendored doxygen-awesome stylesheets are MIT, © jothepro, but the only stanza matching them is Files: *, which states a different licence and names no such holder; no MIT licence text is present either (copyright-format 6.7, Policy 12.5). They are not incidental: Doxylocal lists both in HTML_EXTRA_STYLESHEET, so they are copied into the HTML shipped in libdune-functions-doc, and they are in the source package. A wrong licence for a file is a defect of the source package itself, wherever the file is used.

  • Fix: Add a Files: doc/doxygen/doxygen-awesome/* stanza with Copyright: 2021-2023 jothepro and License: MIT, plus a stand-alone License: MIT paragraph containing the full MIT text (LICENSES/MIT.txt).

important licensing 2. Files: * does not name the DUNE-FUFEM Project contributors credited for doc/doxygen/dune-functions.png ◂
  • Files: doc/doxygen/dune-functions.png.license:1, debian/copyright:6-35, doc/doxygen/Doxylocal
  • Basis: inferred from what was read, not seen directly
  • Evidence: SPDX-FileCopyrightInfo: Copyright © DUNE-FUFEM Project contributors, see file AUTHORS.md on doc/doxygen/dune-functions.png.license
  • Problem: The PNG is set as doxygen's PROJECT_LOGO in doc/doxygen/Doxylocal, so it is copied into the HTML documentation installed by libdune-functions-doc; the .license sidecar stays behind in the source package, so the binary distribution carries no notice for it. Policy 2.3 then requires the copyright notice in debian/copyright, and the holder named there, a different project's collective name, is not among the names listed. (Not compiled code, hence not graded as a blocker.)
  • Fix: Add a Files: doc/doxygen/dune-functions.png* stanza naming DUNE-FUFEM Project contributors (and the PNG's .license file) with the dual DUNE licence, or add the holder to the Files: * list.
minor packaging 3. libdune-functions-dev does not depend on libdune-istl-dev although its installed headers include dune/istl headers ◂
  • Files: debian/control, dune/functions/backends/istlvectorfactory.hh:16-17, dune/functions/backends/CMakeLists.txt:5-10, dune.module:8
  • Basis: checked, in the package or with a reference tool
  • Evidence: #include <dune/istl/bvector.hh> / #include <dune/istl/multitypeblockvector.hh> in an installed header; dune.module: Depends: dune-localfunctions ... dune-grid ... dune-istl ...; but libdune-functions-dev Depends: ${misc:Depends}, libdune-localfunctions-dev (>= 2.11.0~), libdune-grid-dev (>= 2.11.0~)
  • Problem: dune/functions/backends/istlvectorfactory.hh and istlvectorbackend.hh are installed under usr/include (dune/functions/backends/CMakeLists.txt), and upstream still lists dune-istl among the module's hard dependencies (dune.module, README). Neither libdune-grid-dev nor libdune-localfunctions-dev depends on libdune-istl-dev (checked with apt-cache), so a user with only libdune-functions-dev cannot compile anything that includes the ISTL backend/factory header.
  • Fix: Add libdune-istl-dev (>= 2.11.0~) to the libdune-functions-dev Depends field.
minor packaging 4. Installed dune-functions.pc still Requires dune-typetree, whose dependency this package dropped ◂
  • Files: dune-functions.pc.in:16, debian/control, debian/changelog
  • Basis: inferred from what was read, not seen directly
  • Evidence: Requires: dune-localfunctions dune-grid dune-typetree in the pkg-config template installed to usr/share/pkgconfig by libdune-functions-dev, while dune.module has Suggests: dune-typetree and debian/changelog 2.11.0+dfsg-2 records d/control: Dropped dependency on dune-typetree
  • Problem: Since 2.11 typetree is optional for dune-functions (CHANGELOG.md, nodes.hh guards its use with HAVE_DUNE_TYPETREE) and the binary dependency was dropped, so libdune-typetree-dev is not installed with libdune-functions-dev. The pkg-config file shipped in that same package nevertheless declares dune-typetree as a hard requirement, so pkg-config consumers of dune-functions get an unsatisfiable requirement unless they happen to have libdune-typetree-dev.
  • Fix: Patch dune-functions.pc.in to drop dune-typetree from the Requires line (upstream CHANGELOG says the optional dependency is going away), or add libdune-typetree-dev to libdune-functions-dev Depends.
minor packaging 5. debian/watch is in the old version 4 format ◂
  • Files: debian/watch
  • Basis: found by the review tooling's own checks
  • Evidence: version=4
  • Problem: Version 5 is the current format of debian/watch.
  • Fix: Convert it to version 5; a mechanical conversion is under Proposed changes.
minor packaging 6. Files-Excluded is set but debian/watch sets no repack suffix ◂
  • Files: debian/copyright, debian/watch
  • Basis: found by the review tooling's own checks
  • Evidence: 2.11.0+dfsg-3
  • Problem: debian/copyright has Files-Excluded, so uscan repacks the upstream tarball, but debian/watch neither names the suffix the repacked version gets nor mangles the version.
  • Fix: Set Repacksuffix in debian/watch to the suffix the version carries.
minor packaging 7. The repack suffix is not removed before versions are compared ◂
  • Files: debian/watch
  • Basis: found by the review tooling's own checks
  • Evidence: uscan compares 2.11.0+dfsg with upstream's 2.11.0 (status: only older package available)
  • Problem: The packaged version carries a repack suffix that debian/watch does not remove before comparing, so uscan compares it as it is with upstream's version and never finds them equal.
  • Fix: Remove the suffix for the comparison, with Dversion-Mangle: auto (version 5) or dversionmangle=auto (version 4).
Verified ◂
  • debian/copyright read in full: DEP-5 (Format URL correct), one Files: * stanza, one debian/* stanza, one stand-alone licence paragraph with the DUNE runtime exception and pointers to /usr/share/common-licenses/{LGPL-3,GPL-2}.
  • Tree-wide grep for SPDX-License-Identifier (excluding .pc/ and debian/cargo-checksum.json): every source, header, CMake, python, example and documentation file carries LicenseRef-GPL-2.0-only-with-DUNE-exception OR LGPL-3.0-or-later; the only other licence is MIT on the two doxygen-awesome CSS files, reported.
  • COPYING, AUTHORS.md and all of LICENSES/ read: LicenseRef-GPL-2.0-only-with-DUNE-exception.txt, LGPL-3.0-or-later.txt, MIT.txt, BSD-3-Clause.txt, CC-BY-ND-4.0.txt; the BSD-3-Clause text corresponds to no file in the tree (an unused REUSE licence text), and the dual licence matches the headers.
  • Prescan doc/doxygen/license.md:15 and :36 (CC-BY-ND-4 wording): the page states the manual is under CC-BY-ND-4; the manual itself is not in the tree (Files-Excluded: doc/manual, and removed-non-free-doc.patch comments out doc/manual in doc/CMakeLists.txt), license.md is itself dual-licensed, and LICENSES/CC-BY-ND-4.0.txt is only a licence text. No CC-BY-ND-licensed content remains, so no DFSG problem.
  • Prescan holder DUNE Project contributors, see file AUTHORS.md and see list below: debian/copyright names all 31 persons listed in AUTHORS.md (plus Markus Blatt), so the collective holder used in the SPDX headers of AUTHORS.md, CHANGELOG.md, CMakeLists.txt, README.md, TODO.md, config.h.cmake and the dune/, doc/, examples/ trees is represented.
  • Files that are binary or generated: doc/doxygen/dune-functions.png (image, see holder issue) and doc/gfx/dune-functions-taylor-hood-tree.svg (text SVG, .license says DUNE Project contributors, not installed); no minified code, archives, PDFs or generated sources in the tree, no documentation built from missing sources beyond the excluded manual.
  • Packaging read in full: debian/control, rules, changelog, source/format, both .install files, clean, py3dist-overrides, gbp.conf, tests/{control,python-jit}, upstream/metadata, and all four patches in debian/patches with their series.
  • Patches: removed-non-free-doc.patch and 0003-Deactivate-mathjax patch match their changelog entries; fix-32bit-problems.patch and python-do-not-install-missing-header.patch are DEP-3-tagged; the files the patches create are covered by the debian/* stanza.
  • python3-dune-functions (new): Depends has ${misc:Depends}, ${python3:Depends}, the -dev package at ${binary:Version} and version-bounded python3-dune-* dependencies (all of which exist in the archive, python3-dune-common 2.11.0-4+b1 in experimental per apt-cache); libdune-functions-doc keeps Built-Using: ${dune:doc:Built-Using} for the doxygen-generated jQuery.
  • Standards-Version 4.7.0 against Policy 4.7.4.1: first two components current, no issue; debhelper-compat 13 is supported and not deprecated; the empty override_dh_auto_test-indep is skipped under nocheck at compat 13.
  • Every pointer of debian/copyright to /usr/share/common-licenses names a file that is there (GPL-2, LGPL-3).
Not confirmed ◂
  • The PNG doc/doxygen/dune-functions.png was not opened (binary); it is judged from its .license sidecar and its role as doxygen PROJECT_LOGO.
  • The built contents of the three binary packages could not be inspected; that the -doc HTML contains the logo and the two doxygen-awesome stylesheets is inferred from doxygen's handling of PROJECT_LOGO and HTML_EXTRA_STYLESHEET.
  • Whether the installed dune-functions CMake package configuration also hard-requires dune-istl could not be checked (dune-common's CMake modules are not installed on the reviewing system).
Proposed: debian/watch in version 5 format ◂

debian/watch is in an old format. This is the conversion made by uscan --update-watchfile, which has not been run against the upstream site: some defaults differ in version 5, so test it with uscan --report before use.

Version: 5

Source: https://gitlab.dune-project.org/staging/@PACKAGE@/tags?sort=updated_desc
Matching-Pattern: -/archive/v?\d[\d.]+/@PACKAGE@-@ANY_VERSION@@ARCHIVE_EXT@
Searchmode: plain
Update-Script: uupdate

Uploader's response to the LLM review

Waiting for the uploader's response until , because the review found serious issues.

Are you a maintainer or uploader of this package? Log in with Salsa to comment on the review.

Back to Dashboard | View all reviews for this package