DFSG NEW Queue

DFSG, Licensing & New Packages Team

php-gmagick 2.0.6~rc1++-9

Package Information

DescriptionProvides a wrapper to the GraphicsMagick library

Gmagick is a php extension to create, modify and obtain meta information of images using the GraphicsMagick 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-gmagick.git (browse)
Popcon Installs59
Binary NEWYes (new binary packages of a source already in sid)
Trackerhttps://tracker.debian.org/pkg/php-gmagick
Uploaded1 hour ago

New Package Report

.changes◂
DateSat, 21 Nov 2026 10:04:22 +0100
Sourcephp-gmagick
Version2.0.6~rc1++-9
Changed-ByOndřej Surý <ondrej@debian.org>
Architecturesource all amd64
Distributionexperimental
Changelog◂
php-gmagick (2.0.6~rc1++-9) experimental; urgency=medium
 .
   * Add 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◂
Priorityoptional
Componentmain
Package-Listphp-gmagick deb php optional arch=all
php-gmagick-all-dev deb php optional arch=all
php8.6-gmagick deb php optional arch=any
Sectionphp
debian/copyright◂
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: gmagick
Source: http://pecl.php.net/package/gmagick

Files: *
Copyright: 2006-2015 Vito Chin
	   2006-2015 Mikko Koppanen
License: PHP-3.01

Files: */*/tests/Vera.ttf
Copyright: 2003-2015 Bitstream, Inc.
Licence: Bitstream-Vera-License

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.

Licence: Bitstream-Vera-License
 Permission is hereby granted, free of charge, to any person obtaining
 a copy of the fonts accompanying this license ("Fonts") and
 associated documentation files (the "Font Software"), to reproduce
 and distribute the Font Software, including without limitation the
 rights to use, copy, merge, publish, distribute, and/or sell copies
 of the Font Software, and to permit persons to whom the Font Software
 is furnished to do so, subject to the following conditions:
 .
 The above copyright and trademark notices and this permission notice
 shall be included in all copies of one or more of the Font Software
 typefaces.
 .
 The Font Software may be modified, altered, or added to, and in
 particular the designs of glyphs or characters in the Fonts may be
 modified and additional glyphs or characters may be added to the
 Fonts, only if the fonts are renamed to names not containing either
 the words "Bitstream" or the word "Vera".
 .
 This License becomes null and void to the extent applicable to Fonts
 or Font Software that has been modified and is distributed under the
 "Bitstream Vera" names.
 .
 The Font Software may be sold as part of a larger software package
 but no copy of one or more of the Font Software typefaces may be sold
 by itself.
 .
 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
 BITSTREAM OR THE GNOME FOUNDATION 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.
 .
 Except as contained in this notice, the names of Gnome, the Gnome
 Foundation, and Bitstream Inc., shall not be used in advertising or
 otherwise to promote the sale, use or other dealings in this Font
 Software without prior written authorization from the Gnome
 Foundation or Bitstream Inc., respectively. For further information,
 contact: <fonts@gnome.org>.

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, 2 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 0 hours 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-gmagick version 2.0.6~rc1++-9

Summary

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

Licensing

Every upstream file is under a free licence (PHP-3.01 for gmagick-2.0.6RC1/, Expat for debian/*, Bitstream Vera for the test font) and there are no non-free terms, so the licensing itself is DFSG-compliant. debian/copyright, however, does not accurately describe Vera.ttf: its Files pattern matches no file in the tree, so the font falls under Files: * as PHP-3.01 held by Vito Chin and Mikko Koppanen, and the Bitstream stanza and its licence paragraph use the invalid field name Licence, so no License field is present. The PHP Group's copyright in gmagick-2.0.6RC1/LICENSE is also unlisted (minor: Policy 2.3 does not require it there).

Packaging

The packaging follows the Debian PHP PECL team's dh-php layout: a minimal rules including pkg-pecl.mk, a generated three-package split (arch:all meta and -all-dev, arch:any php8.6-gmagick), correct relationship fields for compat 10, DEP-3 patches, and Vcs-* fields. All build dependencies exist in unstable/experimental, and the changelog target (experimental, PHP 8.6) matches the versioned dependency on php-all-dev. Only two minor things are dated: Standards-Version 4.5.1 and debhelper compat 10.

Issues

blocker licensing 1. Files: //tests/Vera.ttf matches no file, so Vera.ttf is declared PHP-3.01 by Files: * ◂
  • Files: debian/copyright:10-12, gmagick-2.0.6RC1/tests/Vera.ttf, debian/copyright:5-8
  • Basis: checked, in the package or with a reference tool
  • Evidence: Files: */*/tests/Vera.ttf / Copyright: 2003-2015 Bitstream, Inc. / Licence: Bitstream-Vera-License, against the tree's only path gmagick-2.0.6RC1/tests/Vera.ttf; copyright-format 6.9: * matches any number of characters including /, and patterns are anchored at the root of the source tree
  • Problem: The pattern needs two literal slashes before tests (X/Y/tests/Vera.ttf); the real path has one, so the stanza matches nothing and Vera.ttf is covered by the earlier Files: * stanza, i.e. Copyright Vito Chin/Mikko Koppanen and License PHP-3.01. The font is Bitstream Vera under the Bitstream Vera License, which requires its copyright and permission notice to accompany copies of the font; the source package is itself a distribution. The file's licence and holder are therefore both wrong in debian/copyright.
  • Fix: Use Files: gmagick-2.0.6RC1/tests/Vera.ttf (or */tests/Vera.ttf) with Copyright: 2003 Bitstream, Inc. and License: Bitstream-Vera-License.
important licensing 2. Vera.ttf stanza and its licence paragraph use the invalid field name Licence, leaving the stanza without a License field ◂
  • Files: debian/copyright:12, debian/copyright:75
  • Basis: checked, in the package or with a reference tool
  • Evidence: Licence: Bitstream-Vera-License at both places; copyright-format 5.2 lists License: as a required field of a Files stanza, and 6.7 defines the stand-alone License: field
  • Problem: Licence is parsed as an extra, unknown field. The Vera.ttf stanza thus has no required License field, and the paragraph at line 75 is not a stand-alone License stanza, so the short name Bitstream-Vera-License is not defined and machine-readable readers see no licence for the font (the human-readable text is present).
  • Fix: Rename both Licence: fields to License:.
important licensing 3. 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 4. Files: * does not name The PHP Group, holder of the copyright in gmagick-2.0.6RC1/LICENSE ◂
  • Files: gmagick-2.0.6RC1/LICENSE:3, debian/copyright:5-8
  • Basis: checked, in the package or with a reference tool
  • Evidence: Copyright (c) 1999 - 2009 The PHP Group. All rights reserved. in LICENSE; the Files: * stanza names only 2006-2015 Vito Chin and 2006-2015 Mikko Koppanen
  • Problem: Policy 2.3 does not require this holder to be listed: the file is not shipped in any binary package (no debian/.docs or debian/.install exist, and dh_installdocs installs only debian/copyright and the files named in debian/*.docs), and it is plain text carrying its own notice, so conditions 2 and 3 of Policy 2.3 fail. The copyright file is still expected to be complete for the source package.
  • Fix: Add a stanza Files: gmagick-2.0.6RC1/LICENSE with Copyright: 1999-2009 The PHP Group and License: PHP-3.01, or add that holder to the Files: * Copyright field.
minor packaging 5. 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; the reviewing system's Policy is 4.7.4.1
  • Problem: The package claims conformance with a Policy two minor versions old. Nothing in the package depends on the newer Policy, but the declared version should be current.
  • Fix: Bump to Standards-Version: 4.7.4 after checking the 4.6/4.7 upgrading checklist (no packaging changes appear needed).
minor packaging 6. debhelper compat level 10 is obsolete, and at that level dh_missing silently does nothing ◂
  • Files: debian/compat:1, debian/control:6
  • Basis: checked, in the package or with a reference tool
  • Evidence: debian/compat contains 10 and Build-Depends on debhelper (>= 10~); debhelper on the reviewing system is 14.5 with 14 recommended and 13 supported; dh_missing(1): in compat 11 and earlier without either of these options, dh_missing will silently do nothing
  • Problem: Compat 10 is several levels behind current practice. Among other things, a file that upstream starts shipping and that the packaging fails to install produces no warning, because dh_missing is a no-op below compat 12 without an explicit option.
  • Fix: Switch to debhelper-compat (= 13) in Build-Depends and remove debian/compat (or bump the compat file to 13); rebuild and confirm dh_missing stays quiet.
minor packaging 7. 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.
minor packaging 8. uscan finds only upstream versions older than the packaged one ◂
  • Files: debian/watch
  • Basis: found by the review tooling's own checks
  • Evidence: upstream 2.0.6~rc1, packaged 2.0.6~rc1++
  • Problem: The newest version uscan finds with debian/watch is older than the version in debian/changelog, so the watch file does not find the packaged release: it may look in the wrong place, or the versions may need mangling to compare.
  • Fix: Check where debian/watch looks and how it mangles versions.
Verified ◂
  • Read debian/copyright in full (139 lines): Files: * (PHP-3.01, Vito Chin, Mikko Koppanen), Files: */*/tests/Vera.ttf, Files: debian/* (Expat, Ondřej Surý), and license paragraphs for PHP-3.01, Bitstream-Vera-License and Expat; no Files-Excluded. The http Format line is left to the report tool.
  • Inventoried the upstream tree: 14 files under gmagick-2.0.6RC1/ plus about 180 .phpt tests, tests/skipif.inc, tests/Vera.ttf and tests/hald_8.png, and the root package.xml. grep over the tree for Copyright, (C), ©, SPDX-License-Identifier, Licensed under, Permission is hereby granted, GNU/General Public, Apache, Mozilla, public domain and All rights reserved found notices only in LICENSE, README.md and the C and H source headers, all naming Vito Chin and Mikko Koppanen, who Files: * lists.
  • tests/Vera.ttf is the Bitstream Vera test font used by tests/gmagickdraw-008-setfont_getfont.phpt; tests/hald_8.png is the input image for tests/gmagick-117_haldClutImage_basic.phpt. Both are binary and were recorded by name, not opened; as upstream test data they are covered by Files: *.
  • PHP-3.01 covers all of gmagick-2.0.6RC1/ and Expat covers debian/*; both are permissive and compatible with each other in the built extension. No non-commercial, no-modification or field-of-use wording was found anywhere in the tree.
  • PHP-3.01 is the licence of Debian's own php packages in main, and ttf-bitstream-vera in main still describes the Bitstream Vera fonts as 'released under a DFSG-free license', so neither licence is a DFSG problem in itself; the source.lintian-overrides for license-problem-php-license reflects that.
  • gmagick_arginfo.h is generated from gmagick.stub.php, which is shipped in the same directory; its generator is PHP's own gen_stub.php build tooling, so the preferred form for modification is present.
  • All four patches apply to existing files (--- a/..., no /dev/null), so no file in the tree exists only as a patch creation; they have From/Date/Subject headers and concise purposes (32-bit size_t, test argument order, zend_ce_exception, offsetof).
  • Read debian/control, control.in, rules (includes /usr/share/dh-php/pkg-pecl.mk), changelog, compat, gbp.conf, gmagick.ini, php-gmagick.php, source/format, source.lintian-overrides, patches/series and all four patches. The three-package split (php-gmagick and php-gmagick-all-dev arch all, php8.6-gmagick arch any) and ${pecl:}/${php:} substvars are dh-php's generated layout.
  • Build dependencies exist: dh-php 5.23 in unstable, php-all-dev 2:102~ in experimental per the archive query, libgraphicsmagick1-dev 1.4+really1.3.49-1. The archive's php-gmagick 2.0.6~rc1++-5 (arch all) depends only on php8.4-gmagick, so the ${shlibs:Depends} in the arch:all meta package resolves empty and is not a fault.
  • No debian/tests/control; the PHPT suite runs at build time but debian/rules sets REPORT_EXIT_STATUS:=0, so failures are not fatal (documented in changelog 2.0.5rc1+1.1.7rc3-5). Noted as a testing gap, not reported as a fault.
  • No build or test was run (read-only review).
Not confirmed ◂
  • Whether tests/hald_8.png carries any third-party notice: it is a binary PNG, not opened, and is covered as upstream test data by Files: *.
  • Whether tests/Vera.ttf's embedded name-table notice matches the Bitstream text in debian/copyright: it is a binary font and was not opened.
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/gmagick
Matching-Pattern: .*/gmagick-(\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