DFSG NEW Queue

DFSG, Licensing & New Packages Team

php-gmagick 2.0.6~rc1++-11

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 Installs60
Binary NEWYes (new binary packages of a source already in sid)
Trackerhttps://tracker.debian.org/pkg/php-gmagick
Uploaded2 hours ago
Supersedes2.0.6~rc1++-9

New Package Report

.changes◂
Distributionexperimental
DateFri, 27 Nov 2026 15:58:01 +0100
Sourcephp-gmagick
Version2.0.6~rc1++-11
Changed-ByOndřej Surý <ondrej@debian.org>
Architecturesource all amd64
Changelog◂
php-gmagick (2.0.6~rc1++-11) experimental; urgency=medium
 .
   * Depend on php-all-dev from experimental
.dsc◂
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
Priorityoptional
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: gmagick
Upstream-Contact: Vito Chin <vito@php.net>
                  Mikko Koppanen <mkoppanen@php.net>
                  Dan Ackroyd <danack@php.net>
Source: https://pecl.php.net/package/gmagick

Files: *
Copyright: 2006-2015 Vito Chin
           2006-2015 Mikko Koppanen
           1999-2009 The PHP Group
License: PHP-3.01

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

Files: debian/*
Copyright: 2015-2026 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: 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 0 blocker, 0 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

Report◂

DFSG NEW review for php-gmagick version 2.0.6~rc1++-11

Summary

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

Licensing

debian/copyright is DEP-5 with the exact Format URL, and its three Files stanzas cover the tree: the eight C sources/headers under PHP-3.01 (their notices name Vito Chin and Mikko Koppanen, both listed), the tests and package.xml under Files: , the Bitstream Vera font under its own stanza with the full Bitstream Vera licence text, and debian/ under Expat. PHP-3.01 and the Bitstream Vera licence are both DFSG-free, the full texts of PHP-3.01 (not in /usr/share/common-licenses) and Bitstream-Vera-License are included, and the separate licences are compatible. No non-free wording, unlicensed file or built file without its source was found. The prescan's single holder hit is the expected Vito Chin/Mikko Koppanen notice, which the copyright file names.

Packaging

Packaging follows the dh-php PECL pattern (debian/control.in plus generated debian/control, a two-line rules including /usr/share/dh-php/pkg-pecl.mk, four DEP-3-headed patches applied cleanly, no maintainer scripts) and all Build-Depends are satisfiable (dh-php 5.25, libgraphicsmagick1-dev 1.4+really1.3.49, php-all-dev 2:108~exp2 in experimental). No blockers, but three minor defects should be fixed: the php8.6-gmagick package—the real module package—describes itself as an empty metapackage, all three binaries Recommend the long-gone ttf-dejavu-core, and Standards-Version is 4.5.1 against Policy 4.7.4.1.

Issues

minor packaging 1. All three binaries Recommend ttf-dejavu-core, which is not a package in Debian ◂
  • Files: debian/control:23, debian/control:46, debian/control:69, debian/control.in:23

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

  • Evidence:

    Recommends: ghostscript,
    ttf-dejavu-core,
    ${pecl:Recommends}

  • Problem: apt-cache reports no binary package ttf-dejavu-core in unstable or experimental, nor anything providing it (the archive's own madison agrees). fonts-dejavu-core is the current name for these fonts, and is what the sibling php-imagick 3.8.0-3 package recommends. Every binary therefore carries an unsatisfiable Recommends, apt shows it as not installable, and the fonts the drawing tests/examples would want are never pulled in.

  • Fix: Replace ttf-dejavu-core with fonts-dejavu-core in debian/control.in (and regenerate/update debian/control).

minor packaging 2. Standards-Version 4.5.1 is older than the current Policy 4.7.4.1 ◂
  • Files: debian/control:10, debian/control.in:10
  • Basis: checked, in the package or with a reference tool
  • Evidence: Standards-Version: 4.5.1
  • Problem: The policy tool on the reviewing system gives Policy 4.7.4.1; the declared version's first two components (4.5) are older than 4.7, so the package has not been checked against the current Policy (Policy 5.6.11).
  • Fix: Bump Standards-Version to 4.7.4.1 after checking the upgrading checklist (Policy A10); no other change is implied.
minor packaging 3. php8.6-gmagick, the package that ships the extension, describes itself as an empty metapackage ◂
  • Files: debian/control:78-82, debian/control.in:32

  • Basis: inferred from what was read, not seen directly

  • Evidence:

    Package: php8.6-gmagick
    Architecture: any
    ...
    This is empty package that depends on default PHP version.

  • Problem: php8.6-gmagick is the Architecture: any package into which dh_php installs gmagick.so and debian/gmagick.ini; the dummy metapackage is php-gmagick (Architecture: all), which is what the 'empty package that depends on default PHP version' sentence describes. debian/control.in:32, the template for the module package, gives the description without that final paragraph, so the shipped long description of the real package is misleading (Policy 5.6.13: the description must describe the package).

  • Fix: Drop the final paragraph from the php8.6-gmagick stanza in debian/control (keep debian/control.in as the source of the description, and fix whatever generated the stanza so the dummy's text is not copied into the versioned package).

minor packaging 4. 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 5. 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: DEP-5, exact Format URL, Files: * (PHP-3.01), Files: /tests/Vera.ttf (Bitstream-Vera-License), Files: debian/ (Expat), plus full PHP-3.01, Bitstream-Vera-License and Expat texts; Patterns match the real paths (gmagick-2.0.6RC1/tests/Vera.ttf matches */tests/Vera.ttf under copyright-format 6.9).
  • The prescan's eight files are all PHP-licensed: gmagick.c:5, gmagick_helpers.c:5, gmagick_methods.c:5, gmagickdraw_methods.c:5, gmagickpixel_methods.c:5, php_gmagick.h:5, php_gmagick_helpers.h:5 and php_gmagick_macros.h:5 carry 'Copyright (c) 2009 Vito Chin, Mikko Koppanen' and 'version 3.01 of the PHP license'; both holders are named in the Files: * stanza (year drift 2009 vs 2006-2015 is not noteworthy).
  • gmagick-2.0.6RC1/LICENSE is the PHP License 3.01 text (1999-2009 The PHP Group, also named in the copyright file); its wording matches the PHP-3.01 licence paragraph in debian/copyright.
  • The ~170 tests/.phpt, tests/skipif.inc, tests/bug.phpt, README.md, CONTRIBUTORS.md, config.m4, config.w32 and package.xml carry no copyright or licence statement of their own; package.xml declares 'PHP License' and all are covered by Files: *; the tests are not installed into any binary package.
  • gmagick-2.0.6RC1/gmagick_arginfo.h is a generated file (header: 'This is a generated file, edit the .stub.php file instead') and its generator input gmagick-2.0.6RC1/gmagick.stub.php is present, so the preferred form for modification ships.
  • gmagick-2.0.6RC1/tests/hald_8.png is a binary test image loaded by tests/gmagick-117_haldClutImage_basic.phpt (Hald CLUT); it has no separate notice and is covered by Files: * as upstream's own test data.
  • gmagick-2.0.6RC1/tests/Vera.ttf is a binary font used by the gmagickdraw tests; its stanza names Bitstream, Inc. 2003 and reproduces the full Bitstream Vera licence (including the rename and no-sale-alone clauses); the licence is DFSG-free.
  • Grep for Copyright/(C)/©/SPDX/licence-name/All-rights-reserved/public-domain wording over the whole upstream tree found no other holder, no non-free term and no licence other than PHP-3.01 and Bitstream-Vera.
  • All four patches in debian/patches/series are applied and have From/Date/Subject headers; they are bug fixes to upstream's own files, introduce no third-party code, and 0002 only touches tests.
  • debian/ contains no install/links/docs/dirs files, no maintainer scripts and no debian/tests; debian/source/format is 3.0 (quilt); debian/rules is the dh-php pkg-pecl.mk include with REPORT_EXIT_STATUS:=0.
  • apt-cache: dh-php 5.25, libgraphicsmagick1-dev 1.4+really1.3.49-1+b2, ghostscript 10.08.0dfsg-2 and fonts-dejavu-core 2.37-9 exist; php-all-dev 2:108exp2 is in experimental (and 2:108exp1), satisfying the '>= 2:108' build dependency for this experimental upload; ttf-dejavu-core exists nowhere.
Not confirmed ◂
  • dh-php is not installed on the reviewing system (/usr/share/dh-php/pkg-pecl.mk and /usr/bin/dh_php are absent), so the rules logic that generates debian/control from control.in, installs the module and runs the test suite could not be read; in particular I could not confirm whether debian/control is regenerated at build time, which is what decides whether the wrong description at debian/control:82 actually ships.
  • Vera.ttf and hald_8.png were not opened (binary files); their provenance and content are judged from package.xml, the tests that use them and debian/copyright, not from inspection.
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/

Uploader's response to the LLM review

The uploader was emailed about the review 0 hours ago.

Back to Dashboard | View all reviews for this package