#980992 cairo: drop unused Build-Depends

Package:
src:cairo
Source:
cairo
Submitter:
Helmut Grohne
Date:
2022-07-13 11:36:03 UTC
Severity:
normal
Tags:
#980992#5
Date:
2021-01-25 05:50:06 UTC
From:
To:
cairo participates in a number of dependency loops relevant to
architecture bootstrap. Instead of looking into such a difficult
problem, I looked into easily droppable Build-Depends. It turns out that
the dependencies on libsm-dev, xutils-dev and libxt-dev can be dropped
without changing output artifacts (in a reproducibility sense). A
cursory look as to where these would be used yielded nothing. Please
consider dropping them. I'm attaching a patch for your convenience.

Helmut

#980992#8
Date:
2021-01-26 12:00:13 UTC
From:
To:
Hello,

Bug #980992 in cairo reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/gnome-team/cairo/-/commit/d01b4763dd5e9bf188611baedbda8b0b2a67a037
These appear to have been unused since 2006, when cairo switched to
preferring pkg-config and xlib.pc as its way to find Xlib.

Closes: #980992
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/980992

#980992#15
Date:
2021-01-26 13:06:19 UTC
From:
To:
Thanks, applied in git.

cairo 1.2.4 NEWS says "Fix xlib detection to prefer pkg-config to avoid
false libXt dependency" so I think we can be confident that this one
is dead.

I think these were also required by AC_PATH_XTRA before switching to
preferring pkg-config as the way to to find Xlib.

    smcv

#980992#20
Date:
2022-07-13 11:33:50 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
cairo, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 980992@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Simon McVittie <smcv@debian.org> (supplier of updated cairo package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 08 May 2022 14:05:12 +0100
Source: cairo
Architecture: source
Version: 1.16.0-6
Distribution: unstable
Urgency: medium
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Changed-By: Simon McVittie <smcv@debian.org>
Closes: 980992 986153
Changes:
 cairo (1.16.0-6) unstable; urgency=medium
 .
   * Team upload
 .
   [ Helmut Grohne ]
   * Drop unused Build-Depends: libxsm-dev, xutils-dev, libxt-dev.
     These appear to have been unused since 2006, when cairo switched to
     preferring pkg-config and xlib.pc as its way to find Xlib.
     (Closes: #980992)
 .
   [ Laurent Bigonville ]
   * debian/control.in: Switch dependencies from transitional
     libfreetype6-dev to libfreetype-dev
 .
   [ Simon McVittie ]
   * d/control.in: Replace transitional libfontconfig1-dev with
     libfontconfig-dev
   * Standards-Version: 4.6.0 (no changes required)
   * Apply fixes suggested by lintian-brush:
     - Add missing ${misc:Depends} to Depends for libcairo2-udeb
     - Avoid explicitly specifying -Wl,--as-needed linker flag.
       This is the default in toolchain versions >= bullseye.
     - Bump debhelper compat level from 12 to 13.
       No changes to built binaries (verified with diffoscope).
   * d/rules: Don't do feature-reduced udeb build if udebs have been
     disabled. Thanks to Matthias Klose (Closes: part of #986153)
   * d/rules: Disable LTO optimization.
     The "optimize" feature area is not in Debian yet, but it's present in
     dpkg git and was backported into Ubuntu's dpkg. According to testing in
     Ubuntu, cairo is not ready for this yet.
     Thanks to Matthias Klose (Closes: #986153)
   * Canonicalize order of dependencies, etc. (wrap-and-sort -ab)
 .
   [ Debian Janitor ]
   * Remove version constraints unnecessary since buster
Checksums-Sha1:
 df9968eabd825faf641fd08a7e192f354da57832 2933 cairo_1.16.0-6.dsc
 ca7f5ce62fb14e75b5bdbb1292a05baa34fa9621 33640 cairo_1.16.0-6.debian.tar.xz
 535ff48bb959ae968fde206e15ddc19e043ae820 8187 cairo_1.16.0-6_source.buildinfo
Checksums-Sha256:
 7fa28c7540bae4df03fd36fb4ed0e904dcb6db7640a63d2b553b1b8b23a6ad68 2933 cairo_1.16.0-6.dsc
 b84dd54cce7405f3869d0bae4ecfa984eb9e583a275abc3d68816fa02c09b3e3 33640 cairo_1.16.0-6.debian.tar.xz
 dbc72e949e586c462d4f1b8dfc8e7bfe82bb786b0a68fd91fa986e3373e0e5c6 8187 cairo_1.16.0-6_source.buildinfo
Files:
 68db9fb59c0079a1519f7e3f2a208346 2933 libs optional cairo_1.16.0-6.dsc
 60a8da744feaa718306c964e4513f007 33640 libs optional cairo_1.16.0-6.debian.tar.xz
 4671207e1b9b9ba231917c9d9b8a4819 8187 libs optional cairo_1.16.0-6_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEENuxaZEik9e95vv6Y4FrhR4+BTE8FAmLOrJsACgkQ4FrhR4+B
TE9ZIg//QTSeixrsk9yHqM8MG2hjOOjUWhlsh96SkuV6QKPDnsT6zhLoUhg3zfWH
mKhU5D+VYpcj0ecNmvHHxyINInOwUgHONqMQ+r9nfxtUsAciAAbgskGCHosDhWHd
C+AVix7B6TLFsaS+r+tJaHfktn6y38+ZkOnxOQQxikeA6emoP9wT+Gkf5df1slIy
wFAbRf/EGseIyt1V1QkAiNAkLU5lz6qs8AE93If44luv1cy+8E4GJKY7aNFpFY28
i/MgtSauBk6xFPKoLX4YFaA5dcXJw70bejrRbsuuI36cjnnM2djUbLgqiWgWK6VM
y0eLm0WbO5RgUbHy+ECQFkn/8mI8IS8gQfXxWtY2YTwxbNycWbz5/1v14a2Wla52
Ki0cIYD+P+ke1olcqMbMf3eAqQS+XNH4KRxdkSX9xfGR6exdpZel7e4XwbC2rHt0
J86vWQYdZswHiHARpW/fFagsYbJaQWm+AoaJEvachmB7JicVnl7rDY2V9n9ZiNk1
URbRFZBmtVfLW31gVGy2zCSQ5Y1ictkAb7paCr5Fp/4v6KgM6U6jLxe4F6EdTphg
5Mfn2OBV2U4THVgDS76+RA3/oJFXB+DQVGyiVxc9Bthf3ByNYsmIrvRWuQfzUCrX
b/qTngeR1IwzJFUGZcFZRMbh2p+dT9y4WeH+vO0mIEvQpjZBpZA=
=kPAu
-----END PGP SIGNATURE-----