Review: jeolib-miallib 2.0.1-1~exp2
Package Information
| Description | JRC morphological and image processing library - Development files Miallib is a C library including image processing and mathematical morphology algorithms used by Join Research Center in their Big Data Analytics Platform, with binding for Python provided. This package contains the files needed to develop a software that will use the Miallib (headers, static objects, configuration script). |
|---|---|
| Maintainer | Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org> |
| Changed By | Bas Couwenberg <sebastic@debian.org> |
| Sponsor | sebastic@debian.org |
| Distribution | experimental |
| Architecture | any |
| VCS | git: https://salsa.debian.org/debian-gis-team/jeolib-miallib.git -b experimental (browse) |
| Popcon Installs | 1 |
| Binary NEW | Yes (new binary packages of a source already in sid) |
| Tracker | https://tracker.debian.org/pkg/jeolib-miallib |
| Uploaded | 17 days ago |
| Supersedes | 2.0.1-1~exp1, 2.0.0-1~exp1 |
New Package Report
.changes
| Architecture | source amd64 |
|---|---|
| Distribution | experimental |
| Date | Fri, 06 Nov 2026 04:49:59 +0100 |
| Source | jeolib-miallib |
| Version | 2.0.1-1~exp2 |
| Changed-By | Bas Couwenberg <sebastic@debian.org> |
Changelog
jeolib-miallib (2.0.1-1~exp2) experimental; urgency=medium . * Team upload. * Update core-license.patch with another instance. * Update build dependencies.
.dsc
| Priority | optional |
|---|---|
| Component | main |
| Package-List | libmiallib-dev deb libdevel optional arch=any libmiallib2 deb libs optional arch=any |
| Section | libdevel |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: jeolib-miallib
Upstream-Contact: miallib developers (https://github.com/ec-jrc/jeolib-miallib/issues)
Source: https://github.com/ec-jrc/jeolib-miallib
Files: *
Copyright: 2000, Arnold Meijster
2000, Jos Roerdink
2000, Michael Wilkinson
2025, Francesco Lovergine <francesco@lovergine.com>
2000-2026, European Union (Joint Research Centre)
License: GPL-3+
Files: cmake/modules/FindPROJ.cmake
Copyright: 2009, Mateusz Loskot <mateusz@loskot.net>
2015, NextGIS <info@nextgis.com>
2018, Hiroshi Miura
License: BSD-3-clause
Files: cmake/modules/FindGeoTIFF.cmake
Copyright: 2005-2019, Centre National d'Etudes Spatiales (CNES)
License: Apache-2.0
Files: core/doc/doxy2swig.py
Copyright: 2015, Michael Thon
Prabhu Ramachandran
License: BSD-2-clause
Files: debian/*
Copyright: 2024, Francesco Paolo Lovergine <frankie@debian.org>
License: GPL-3+
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.
.
On Debian systems, the complete text of the Apache License can
be found in `/usr/share/common-licenses/Apache-2.0'.
License: BSD-2-clause
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.
.
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: BSD-3-clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
.
1) Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
.
2) 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.
.
3) Neither the name of the ORGANIZATION 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: GPL-3+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
.
This package 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 General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
DFSG Assistant LLM REVIEW 1 blocker, 1 important, 2 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 17 days ago.
Proposes a replacement debian/watch:
debian/watch in version 5 format
Report
DFSG NEW review for jeolib-miallib version 2.0.1-1~exp2
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: No - Packaging is of good quality: Yes
- Issues: 1 blocker, 1 important, 2 minor
- debian/watch: old format (version 4)
- debian/copyright: machine-readable
- Scan before the review: 1 found
Licensing
Most of the tree is GPL-3+ with a correct DEP-5 copyright file, and the bundled CMake modules (BSD-3-clause, Apache-2.0) and doxy2swig.py (BSD-2-clause) are compatible and properly documented. But upstream 2.0.1 still carries Pierre Soille's non-free notice ('All rights reserved. This programme can only be obtained directly from its author') in core/c/convolve.c and core/c/rank.c, and Debian deals with it by deleting the notice in a patch instead of obtaining a relicensing; the package removed chull.c for comparable terms in 1.1.5. debian/copyright also omits Soille, whose 1991 copyright notice remains in core/c/ced.c.
Packaging
The packaging is in good shape: current Standards-Version, debhelper 13 with a minimal rules file and hardening, complete Build-Depends matching what CMake actually finds, a correctly versioned symbols file, DEP-3 patches marked Forwarded, Salsa CI, gbp.conf, upstream/metadata and a clean lib/-dev split. The only defect found is in the shipped pkg-config file, whose Version field is substituted empty.
Issues
blocker licensing 1. core-license.patch deletes Pierre Soille's 'All rights reserved ... can only be obtained directly from its author' notice instead of the code being relicensed ◂
- Files:
debian/patches/core-license.patch:1-2,11-12,22-23,31-32,core/c/convolve.c:1196,core/c/rank.c:565 - Basis: checked, in the package or with a reference tool
- Evidence: The patch is described as
Description: Remove restrictions, invalidating top of file license.and removes, from uc_squarevol() and from uc_squarerank()/us_squarerank(),** (c) by Pierre Soille. ALl rights reserved. This programme can only/** be obtained directly from its author.The files themselves carryCopyright (C) 2000-2026 European Union (Joint Research Centre)and the GPL-3+ notice. - Problem: The released upstream source contains, inside shipped code, a distribution restriction ('can only be obtained directly from its author') and an 'All rights reserved' notice from Pierre Soille. That is not a free licence (DFSG 1 and 3), and deleting the notice with a patch does not relicense the code or give Debian the right to distribute modified copies; the GPL-3+ header at the top of the file does not cancel a restriction the same holder's notice places on the code. The package treated the same author's non-free terms by removing the file in 1.1.5-1 (chull.c, bug #1074409), so patching the notice out is inconsistent as well as legally unsafe.
- Fix: Have upstream remove the clause in a released tarball (the Debian patch is forwarded as upstream PR 12), or obtain written permission from Pierre Soille and record it in debian/copyright; otherwise drop or rewrite the affected functions as was done for chull.c, and then drop the patch.
important licensing 2. debian/copyright does not name Pierre Soille, although core/c/ced.c asserts '(c) 1991' for him and the patched-out notices were his ◂
- Files:
debian/copyright:7-12,core/c/ced.c:97,debian/patches/core-license.patch - Basis: checked, in the package or with a reference tool
- Evidence:
core/c/ced.c:97:** authors: Pierre Soille (c) 1991. The deleted lines in core-license.patch read(c) by Pierre Soille. ALl rights reserved.TheFiles: *Copyright field lists only2000, Arnold Meijster,2000, Jos Roerdink,2000, Michael Wilkinson,2025, Francesco Lovergineand2000-2026, European Union (Joint Research Centre), and 'Soille' appears nowhere in the file. - Problem: debian/copyright must record the copyright holders of the files it covers. Soille is named as an author throughout core/c (as JRC staff, with the EU/JRC copyright line), but ced.c additionally asserts a copyright year for him, and the notices Debian deletes explicitly say '(c) by Pierre Soille'. The file is therefore incomplete and inaccurate for core/c/ced.c, convolve.c and rank.c.
- Fix: Add Soille to the
Files: *Copyright field (for example1991, Pierre Soille) or add a dedicated Files stanza for core/c/ced.c, convolve.c and rank.c, together with the resolution of his restrictive notices.
minor packaging 3. libmiallib-dev ships miallib.pc with an empty Version field ◂
- Files:
cmake.pc.in:9,CMakeLists.txt:28,debian/libmiallib-dev.install:3 - Basis: inferred from what was read, not seen directly
- Evidence:
cmake.pc.inhasVersion: @PACKAGE_VERSION@andexec_prefix=@CMAKE_INSTALL_PREFIX@/bin, whileCMakeLists.txt:28isproject(miallib)without a VERSION, CMakeLists.txt sets MIALLIB_VERSION but never PACKAGE_VERSION, andINSTALL(FILES .../miallib.pc DESTINATION .../pkgconfig)installs the configured file that debian/libmiallib-dev.install picks up. CMake's configure_file replaces an undefined@VAR@with the empty string. - Problem: The installed miallib.pc gets
Version:, sopkg-config --modversionand every version comparison (--atleast-version,Requires: miallib >= ...) fail for consumers of the -dev package;exec_prefixis also set to${prefix}/binrather than${prefix}. - Fix: Use
Version: @MIALLIB_VERSION@(or give project() a VERSION) and setexec_prefix=@CMAKE_INSTALL_PREFIX@; forward the fix upstream.
minor packaging 4. 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.
Verified ◂
- Read the whole of debian/: control, rules, changelog, copyright, both .install files, libmiallib2.symbols, patches/series and all three patches, source/format, source/lintian-overrides, gbp.conf, upstream/metadata and .gitlab-ci.yml.
- All 170 .c/.h files under core/c carry the same 18-line header (
Copyright (C) 2000-2026 European Union (Joint Research Centre)and similar years, GPL-3+ 'or any later version'); COPYING is the GPL-3 text of 29 June 2007, so GPL-3+ in debian/copyright is right. CMakeLists.txt and the cmake-*.in files carry the same header. - cmake/modules/FindPROJ.cmake is BSD-3-clause (Loskot, NextGIS, Miura) and cmake/modules/FindGeoTIFF.cmake is Apache-2.0 (CNES, from Orfeo Toolbox), as debian/copyright says; both are GPL-3+ compatible and their notices are reproduced in debian/copyright.
- core/c/uswilk.c names Michael Wilkinson, Arnold Meijster and Jos Roerdink (2000), 'Adapted by Pierre Soille ... with permission of the authors', GPL-3+; all three holders are in the Files: * stanza. core/c/myhull.c is JRC 2010-2025 plus 2025 Francesco Lovergine, both in Files: *.
- core/doc/doxy2swig.py says 'Original Author: Prabhu Ramachandran', 'Modified by: Michael Thon (June 2015)', 'License: BSD style'; the BSD-2-clause text is provided in debian/copyright.
- swig/include/.i, swig/python/setup.py (license field patched to GPL-3.0-or-later), swig/python/packages/miallib/.py, swig/python/doc/source/* (conf.py:
copyright = u'2019, European Union') and the two .bib files carry no other licence and fall under Files: * (GPL-3+). - Prescan item core/c/ced.c:97
IMAGE *ref: binary UCHAR image with reference pixels set to 1is the parameter description of ced(), not a copyright holder. The prescan's 'possibly named' holders Michael Wilkinson, Arnold Meijster and Jos Roerdink are named in the Files: * Copyright field. - Prescan item core/doc/miallib_logo.xcf is the GIMP source file for core/doc/miallib_logo.png in the same directory, not a build product; both are covered by Files: *.
- cmake/modules/FindSHAPELIB.cmake has no copyright header of its own (unlike its two siblings) and is covered by Files: *; nothing in the tree attributes it to another project.
- The -dev package installs upstream's MIALLIB_H list (miallib_*.h, mialtypes.h, myhull.h, op.h); those include only mialtypes.h, so the fact that miallib.h and imio.h (the only headers including the generated config_miallib.h) are not installed does not leave the installed headers broken.
- libmiallib2.symbols: 1043 entries at 1.1.5, 1.1.7 and 2.0.0 with no Debian revision, for libmiallib.so.2;
override_dh_makeshlibs: dh_makeshlibs -- -v$(UPSTREAM_VERSION)keeps the ~exp revision out of the generated dependency. - Build-Depends match the includes and CMake finds in the tree: zlib, GDAL (3.00), GeoTIFF, TIFF, PROJ, FFTW3 via pkg-config, GSL, SHAPELIB and OpenMP (gcc); pkgconf supplies pkg-config. The BLAS dependency is no longer needed after build-deps.patch removes
set(BLA_VENDOR OpenBLAS). - All three patches have Description, Author and Forwarded headers (DEP-3). There are no maintainer scripts and no debian/tests; neither is required here.
- uscan found the packaged version as the newest upstream release (upstream
2.0.1, packaged2.0.1). - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (Apache-2.0,GPL-3).
Not confirmed ◂
- That /usr/lib/*/pkgconfig/miallib.pc really contains
Version:empty: reasoned from CMake's configure_file semantics and from PACKAGE_VERSION being defined nowhere in CMakeLists.txt, but nothing was built or read from a built package here. - Whether upstream has already removed Soille's restrictive notice in a newer release or in the open PR cited by core-license.patch (PR 12); the forwarded status could not be checked from the package.
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
Template: Github
Dist: https://github.com/ec-jrc/jeolib-miallib
Uploader's response to the LLM review
Pierre Soille is the author of the files in question, JRC is the copyright holder:
==> core/c/ced.c <==
/***********************************************************************
Author(s): Pierre Soille
Copyright (C) 2005-2020 European Union (Joint Research Centre)
This file is part of miallib.
miallib is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
==> core/c/convolve.c <==
/***********************************************************************
Author(s): Pierre Soille
Copyright (C) 2000-2026 European Union (Joint Research Centre)
This file is part of miallib.
miallib is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
==> core/c/rank.c <==
/***********************************************************************
Author(s): Pierre Soille
Copyright (C) 2000-2026 European Union (Joint Research Centre)
This file is part of miallib.
miallib is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
— Bas Couwenberg (sebastic), 17 days ago
Review Information
accepted — allocated to mechtilde 14 days ago, started 14 days ago, completed 14 days ago.