DFSG NEW Queue

DFSG, Licensing & New Packages Team

php-imagick 3.8.1-2

Package Information

DescriptionProvides a wrapper to the ImageMagick library

Imagick is a native php extension to create and modify images using the ImageMagick API.

This is empty package that depends on default PHP version.

MaintainerDebian PHP PECL Maintainers <team+php-pecl@tracker.debian.org>
Changed ByOndřej Surý <ondrej@debian.org>
Sponsorondrej@debian.org
Distributionexperimental
Architectureany all
VCSgit: https://salsa.debian.org/php-team/pecl/php-imagick.git (browse)
Popcon Installs6834
Binary NEWYes (new binary packages of a source already in sid)
Trackerhttps://tracker.debian.org/pkg/php-imagick
Uploaded2 hours ago

New Package Report

.changes◂
Architecturesource all amd64
Distributionexperimental
DateSat, 21 Nov 2026 10:04:23 +0100
Sourcephp-imagick
Version3.8.1-2
Changed-ByOndřej Surý <ondrej@debian.org>
Changelog◂
php-imagick (3.8.1-2) experimental; urgency=medium
 .
   * Add upstream patch to fix FTBFS with PHP 8.6
   * Build-Depend on php-all-dev (>= 2:102~) for PHP 8.6
   * Bump Build-Depends to dh-php >= 5.23~
.dsc◂
Package-Listphp-imagick deb php optional arch=all
php-imagick-all-dev deb php optional arch=all
php8.6-imagick deb php optional arch=any
Sectionphp
Priorityoptional
Componentmain
debian/copyright◂
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: imagick
Source: http://pecl.php.net/package/imagick
Comment: Huge thanks to all previous packagers:
	2003 Bruno Rodrigues <bruno.rodrigues@litux.org>
	2005-2008 Jose Carlos Medeiros <debian@psabs.com.br>
	2010-2011 Guillaume Delacour <gui@iroqwa.org>
	2013 Lior Kaplan <kaplan@debian.org>

Files: *
Copyright: 2006-2013 Mikko Koppanen
	   2006-2013 Scott MacVicar
           ImageMagick Studio LLC
License: PHP-3.01

Files: */tests/anonymous_pro_minus.ttf
Copyright: 2009-2015 Mark Simonson <mark@marksimonson.com>
License: OFL-1.1

Files: debian/*
Copyright: 2015 Ondřej Surý <ondrej@debian.org>
License: Expat

License: PHP-3.01
 --------------------------------------------------------------------
                   The PHP License, version 3.01
 Copyright (c) 1999 - 2011 The PHP Group. All rights reserved.
 --------------------------------------------------------------------
 .
 Redistribution and use in source and binary forms, with or without
 modification, is 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. The name "PHP" must not be used to endorse or promote products
      derived from this software without prior written permission. For
      written permission, please contact group@php.net.
 .
   4. Products derived from this software may not be called "PHP", nor
      may "PHP" appear in their name, without prior written permission
      from group@php.net.  You may indicate that your software works in
      conjunction with PHP by saying "Foo for PHP" instead of calling
      it "PHP Foo" or "phpfoo"
 .
   5. The PHP Group may publish revised and/or new versions of the
      license from time to time. Each version will be given a
      distinguishing version number.
      Once covered code has been published under a particular version
      of the license, you may always continue to use it under the terms
      of that version. You may also choose to use such covered code
      under the terms of any subsequent version of the license
      published by the PHP Group. No one other than the PHP Group has
      the right to modify the terms applicable to covered code created
      under this License.
 .
   6. Redistributions of any form whatsoever must retain the following
      acknowledgment:
      "This product includes PHP software, freely available from
      <http://www.php.net/software/>".
 .
 THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND
 ANY EXPRESSED 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 PHP
 DEVELOPMENT TEAM OR ITS 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: OFL-1.1
 This Font Software is licensed under the SIL Open Font License, Version
 1.1.  This license is copied below, and is also available with a FAQ at:
 http://scripts.sil.org/OFL
 .
 -----------------------------------------------------------
 SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
 -----------------------------------------------------------
 .
 PREAMBLE
 .
 The goals of the Open Font License (OFL) are to stimulate worldwide
 development of collaborative font projects, to support the font creation
 efforts of academic and linguistic communities, and to provide a free and
 open framework in which fonts may be shared and improved in partnership
 with others.
 .
 The OFL allows the licensed fonts to be used, studied, modified and
 redistributed freely as long as they are not sold by themselves. The
 fonts, including any derivative works, can be bundled, embedded,
 redistributed and/or sold with any software provided that any reserved
 names are not used by derivative works. The fonts and derivatives,
 however, cannot be released under any other type of license. The
 requirement for fonts to remain under this license does not apply
 to any document created using the fonts or their derivatives.
 .
 DEFINITIONS
 "Font Software" refers to the set of files released by the Copyright
 Holder(s) under this license and clearly marked as such. This may
 include source files, build scripts and documentation.
 .
 "Reserved Font Name" refers to any names specified as such after the
 copyright statement(s).
 .
 "Original Version" refers to the collection of Font Software components as
 distributed by the Copyright Holder(s).
 .
 "Modified Version" refers to any derivative made by adding to, deleting,
 or substituting -- in part or in whole -- any of the components of the
 Original Version, by changing formats or by porting the Font Software to a
 new environment.
 .
 "Author" refers to any designer, engineer, programmer, technical
 writer or other person who contributed to the Font Software.
 .
 PERMISSION & CONDITIONS
 Permission is hereby granted, free of charge, to any person obtaining
 a copy of the Font Software, to use, study, copy, merge, embed, modify,
 redistribute, and sell modified and unmodified copies of the Font
 Software, subject to the following conditions:
 .
 1) Neither the Font Software nor any of its individual components,
 in Original or Modified Versions, may be sold by itself.
 .
 2) Original or Modified Versions of the Font Software may be bundled,
 redistributed and/or sold with any software, provided that each copy
 contains the above copyright notice and this license. These can be
 included either as stand-alone text files, human-readable headers or
 in the appropriate machine-readable metadata fields within text or
 binary files as long as those fields can be easily viewed by the user.
 .
 3) No Modified Version of the Font Software may use the Reserved Font
 Name(s) unless explicit written permission is granted by the corresponding
 Copyright Holder. This restriction only applies to the primary font name as
 presented to the users.
 .
 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
 Software shall not be used to promote, endorse or advertise any
 Modified Version, except to acknowledge the contribution(s) of the
 Copyright Holder(s) and the Author(s) or with their explicit written
 permission.
 .
 5) The Font Software, modified or unmodified, in part or in whole,
 must be distributed entirely under this license, and must not be
 distributed under any other license. The requirement for fonts to
 remain under this license does not apply to any document created
 using the Font Software.
 .
 TERMINATION
 This license becomes null and void if any of the above conditions are
 not met.
 .
 DISCLAIMER
 THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
 OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
 COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
 DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
 OTHER DEALINGS IN THE FONT SOFTWARE.

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 1 blocker, 1 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 1 hour ago.

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

Proposes a replacement debian/copyright: debian/copyright Format field

Report◂

DFSG NEW review for php-imagick version 3.8.1-2

Summary

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

Licensing

Upstream is DFSG-free: the code is PHP-3.01 (the licence Debian's own php packages ship under; the lintian override documents it) and the test font is OFL-1.1, whose full text is included. debian/copyright is DEP-5 and includes the full texts of every licence, but it is not quite accurate: tests/OFL.txt, the OFL licence text carrying Mark Simonson's copyright, is matched only by Files: *, so it is described as PHP-3.01, and The PHP Group, holder of LICENSE, is named in no Copyright field.

Packaging

The packaging is in good shape: 3.0 (quilt), a short dh-php-based rules file, a correct all/any package split generated from control.in, complete Build-Depends whose versions exist in the archive, autopkgtest with dependencies that all exist, and ten patches with DEP-3 headers that only touch tests and an example. The only nit is the stale Standards-Version.

Issues

blocker licensing 1. tests/OFL.txt is covered by Files: * as PHP-3.01 instead of the OFL-1.1 stanza ◂
  • Files: debian/copyright (Files: * and Files: */tests/anonymous_pro_minus.ttf), imagick-3.8.1/tests/OFL.txt:1-4
  • Basis: checked, in the package or with a reference tool
  • Evidence: OFL.txt: Copyright (c) 2009, Mark Simonson (http://www.ms-studio.com, mark@marksimonson.com), with Reserved Font Name Anonymous Pro Minus. / This Font Software is licensed under the SIL Open Font License, Version 1.1. debian/copyright: Files: * ... License: PHP-3.01; the OFL stanza is Files: */tests/anonymous_pro_minus.ttf only.
  • Problem: Only the .ttf matches the OFL stanza; imagick-3.8.1/tests/OFL.txt is matched by the catch-all Files: * and so is described in debian/copyright as PHP-3.01 with Mikko Koppanen/Scott MacVicar/ImageMagick Studio LLC as holders. It is actually Mark Simonson's OFL 1.1 licence text. The source package is distributed with this file, so the wrong licence statement matters even though no binary package installs it.
  • Fix: Add the path to the OFL stanza, e.g. Files: */tests/anonymous_pro_minus.ttf */tests/OFL.txt, so that stanza (Copyright: 2009-2015 Mark Simonson, License: OFL-1.1) also covers the licence text.
important licensing 2. debian/copyright does not declare the current copyright-format 1.0 URL ◂
  • Files: debian/copyright:1
  • Basis: found by the review tooling's own checks
  • Evidence: Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
  • Problem: The first field must be exactly Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ (copyright-format 1.0, "Format" field). Anything else, including the http:// form and the URLs of the drafts that preceded 1.0, does not declare the file to be in the current format, and a file written to a draft may also use field names and licence short names that 1.0 changed.
  • Fix: Replace the line as shown under Proposed changes, then check the rest of the file against copyright-format 1.0 (for example Upstream-Name, Upstream-Contact and Source in the header, not Name or Maintainer).
minor licensing 3. Files: * does not name The PHP Group, holder of LICENSE ◂
  • Files: debian/copyright (Files: *), imagick-3.8.1/LICENSE:3
  • Basis: checked, in the package or with a reference tool
  • Evidence: Copyright (c) 1999 - 2011 The PHP Group. All rights reserved. — the string occurs in debian/copyright only inside the License: PHP-3.01 text, never in a Copyright: field.
  • Problem: The PHP Group holds the copyright of imagick-3.8.1/LICENSE (and of the PHP logo test asset tests/php.gif). Policy 2.3 does not require it here: LICENSE is plain text shipped with its own notice intact, and neither file is installed in a binary package (only the compiled extension and the ini are). The DFSG team nonetheless asks for a complete debian/copyright, which should name the holder of every file it ships.
  • Fix: Add 1999-2011 The PHP Group to the Copyright of the stanza covering imagick-3.8.1/LICENSE, e.g. a Files: */LICENSE stanza (or add it to Files: *).
minor packaging 4. Standards-Version 4.5.1 is older than the current Policy 4.7.4.1 ◂
  • Files: debian/control:10
  • Basis: checked, in the package or with a reference tool
  • Evidence: Standards-Version: 4.5.1
  • Problem: The reviewing system's Policy is 4.7.4.1; 4.5.1 means the package has not been checked against the changes made since (Policy Appendix A10). Its first two components are not those of the current Policy version, which is a minor policy-drift issue, not a violation.
  • Fix: Bump to Standards-Version: 4.7.4 (or the current version) after checking Appendix A10.
minor packaging 5. debian/watch is in the old version 3 format ◂
  • Files: debian/watch
  • Basis: found by the review tooling's own checks
  • Evidence: version=3
  • 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 all of debian/: copyright, control, control.in, rules, changelog, compat, clean, gbp.conf, imagick.ini, php-imagick.php, source/format, source.lintian-overrides, tests/control, patches/series, and all ten patches.
  • Inventoried and grepped the whole upstream tree (package.xml plus imagick-3.8.1/: 35 top-level files, tests/ with ~370 files, examples/, util/) for Copyright, (C), ©, SPDX-License-Identifier, Licensed under, Permission is hereby granted, GNU GPL/LGPL, Apache, MPL, public domain and All rights reserved.
  • imagick.c, imagick_class.c, imagick_file.c, imagick_helpers.c, imagickdraw_class.c, imagickpixel_class.c, imagickpixeliterator_class.c, php_imagick*.h all carry Copyright (c) 2006-2013 Mikko Koppanen, Scott MacVicar and ImageMagick (c) ImageMagick Studio LLC; both people and ImageMagick Studio LLC are named in Files: *. That is the scan's imagick.c:5 Mikko Koppanen, Scott MacVicar hit, and the same header repeats in the other files it lists.
  • tests/254_getConfigureOptions.phpt:52 holds only an expected phpinfo line, string(46) "Copyright (C) 1999-2021 ImageMagick Studio LLC"; it is test expectation, not a copyright notice of the file, and the holder is already named in Files: *.
  • tests/anonymous_pro_minus.ttf is the OFL-1.1 font; its stanza names Mark Simonson and debian/copyright reproduces the full OFL-1.1 text. The font is unmodified, so its Reserved Font Name does not restrict Debian.
  • imagick-3.8.1/LICENSE is the verbatim PHP-3.01 text; its Copyright (c) 1999 - 2011 The PHP Group line is reproduced inside the License: PHP-3.01 paragraph, so Policy 2.3's copy-the-notice requirement is satisfied even though no Copyright field names the holder (minor issue above).
  • tests/Biter_500.jpg: the only Copyright string is in the embedded sRGB ICC profile (Copyright (c) 1998 Hewlett-Packard Company), a standard colour-profile tag, not a licence claim on the image; it is test input and nothing installs it.
  • tests/php.gif (PHP logo) and tests/houghline_input_image.png are unused upstream test assets; no test or install rule references them and no binary package ships them.
  • Imagick_arginfo.h, ImagickDraw_arginfo.h, ImagickKernel_arginfo.h, ImagickPixel_arginfo.h, ImagickPixelIterator_arginfo.h are generated from the shipped *.stub.php files by regen_arginfo.sh; the inputs are present, and the tree contains no built objects, archives, minified code or PDFs.
  • Full licence texts for PHP-3.01, OFL-1.1 and Expat are in debian/copyright; there is no Files-Excluded and no vendored third-party library in the tree.
  • PHP-3.01 is the licence Debian's own php packages ship under, so it is not a DFSG problem; debian/source.lintian-overrides documents the override.
  • Source format 3.0 (quilt); debian/rules is dh-php's pkg-pecl.mk; debian/control.in correctly generates php-imagick and php-imagick-all-dev (all) and php8.6-imagick (any); ${misc:Depends}/${shlibs:Depends}/${pecl:Depends}/${php:Depends} are all declared.
  • Autopkgtest dependencies were checked with apt-cache: xml2 0.5-6, phpunit 13.4.8+ds-1, imagemagick-7.q16 and libmagickcore-7.q16-10-extra (8:7.1.2.35+dfsg1-2) all exist; php-all-dev (>= 2:102~) is in experimental and dh-php (>= 5.23~) is in unstable, matching the experimental upload.
  • The ten patches carry DEP-3 headers (From/Date/Subject, most with Origin/Forwarded/Bug information); they only delete or edit upstream test files and examples/captcha.php, and none creates a new file.
  • uscan found the packaged version as the newest upstream release (upstream 3.8.1, packaged 3.8.1).
Not confirmed ◂
  • dh-php is not installed on the reviewing system (no /usr/share/dh-php), so /usr/share/dh-php/pkg-pecl.mk, which is the whole of debian/rules, could not be read; its build and test steps are inferred, not verified.
  • The provenance of the test assets tests/Biter_500.jpg, tests/houghline_input_image.png and tests/php.gif is documented nowhere in the package; they are treated as upstream test data.
  • Several tests write PNGs into tests/ (031, 257, 264, 274, 279, 281) while debian/clean lists only polynomialImage_output_image.png; whether the build leaves those files behind (and whether dpkg-source notices) was not checked, as no build was run.
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://pecl.php.net/package/imagick
Matching-Pattern: .*/imagick-(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz))
Uversionmangle: s/(\d)RC(\d*)$/$1rc$2/;s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)[\-\.]?\d*)$/$1~$2/
Proposed: debian/copyright Format field ◂

Replace line 1 of debian/copyright with:

Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/

Uploader's response to the LLM review

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

Back to Dashboard | View all reviews for this package