Source: graphicsmagick Version: 1.4+really1.3.36+hg16442-1 Tags: patch User: helm...@debian.org Usertags: rebootstrap
graphicsmagick participates in a number of dependency cycles relevant to architecture bootstrap. Rather than looking into this difficult problem, I looked into easily droppable dependencies and found some. To that end, I compared the binary artifacts of a regular build with those of a nocheck build with the following dependencies turned into Build-Conflicts and notices that they were identical: * libexif-dev seems entirely unused. I couldn't find any mention of it anywhere. * uudecode from sharutils is only used in a d/rules block conditional to DEB_BUILD_OPTIONS not containing nocheck. * gsfonts was added to fix failing tests. As such it seems like a test-only dependency. * Since d/rules passes --without-frozenpaths, fig2dev is not needed during build. It can be dropped. * Since d/rules passes --without-modules, libltdl-dev is unused. Please consider applying the attached patch. Helmut
diff --minimal -Nru graphicsmagick-1.4+really1.3.36+hg16442/debian/changelog graphicsmagick-1.4+really1.3.36+hg16442/debian/changelog --- graphicsmagick-1.4+really1.3.36+hg16442/debian/changelog 2021-01-08 18:02:36.000000000 +0100 +++ graphicsmagick-1.4+really1.3.36+hg16442/debian/changelog 2021-01-20 21:52:07.000000000 +0100 @@ -1,3 +1,16 @@ +graphicsmagick (1.4+really1.3.36+hg16442-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Reduce Build-Depends: (Closes: #-1) + + Drop unused libexif-dev. + + Annotate sharutils with <!nocheck> as uudecode is conditionally used in + d/rules. + + Annotate gsfonts with <!nocheck> as it is only used in unit tests. + + Drop unused transfig as d/rules passes --without-frozenpaths. + + Drop unused libltdl-dev as d/rules passes --without-modules. + + -- Helmut Grohne <hel...@subdivi.de> Wed, 20 Jan 2021 21:52:07 +0100 + graphicsmagick (1.4+really1.3.36+hg16442-1) unstable; urgency=high * Mercurial snapshot, fixing the following security issues: diff --minimal -Nru graphicsmagick-1.4+really1.3.36+hg16442/debian/control graphicsmagick-1.4+really1.3.36+hg16442/debian/control --- graphicsmagick-1.4+really1.3.36+hg16442/debian/control 2020-12-12 20:44:16.000000000 +0100 +++ graphicsmagick-1.4+really1.3.36+hg16442/debian/control 2021-01-20 21:52:07.000000000 +0100 @@ -2,7 +2,7 @@ Section: graphics Priority: optional Maintainer: Laszlo Boszormenyi (GCS) <g...@debian.org> -Build-Depends: debhelper-compat (= 13), pkg-config, libjpeg-dev, liblcms2-dev, libwmf-dev (>= 0.2.8.4), libx11-dev, libsm-dev, libice-dev, libxext-dev, x11proto-core-dev, libxml2-dev, libfreetype6-dev, libexif-dev, libbz2-dev, libtiff-dev (>= 4.0.10), libjbig-dev, zlib1g-dev | libz-dev, libpng-dev, libwebp-dev, libzstd-dev, perl (>= 5.20), ghostscript, gsfonts, transfig, sharutils, libltdl-dev +Build-Depends: debhelper-compat (= 13), pkg-config, libjpeg-dev, liblcms2-dev, libwmf-dev (>= 0.2.8.4), libx11-dev, libsm-dev, libice-dev, libxext-dev, x11proto-core-dev, libxml2-dev, libfreetype6-dev, libbz2-dev, libtiff-dev (>= 4.0.10), libjbig-dev, zlib1g-dev | libz-dev, libpng-dev, libwebp-dev, libzstd-dev, perl (>= 5.20), ghostscript, gsfonts <!nocheck>, sharutils <!nocheck> Standards-Version: 4.5.1 Homepage: http://www.graphicsmagick.org/