Package: libspng-dev
Version: 0.7.3-1
Severity: serious
Tags: patch

Hi Andrea!

While trying to build against the new libspng-dev, I found that even my
build was issuing -lspng, it would fail because it could not find it.

It turns out you're missing a dependency against libspng0 itself.

Patch attached for that.

Additionally, I've seen the following too:

- spng.pc declares:

Requires.private: zlib

If I understand correctly, this is not a public dependency, which means
libspng-dev does not need to depend on zlib-dev. In fact, that's one of
the features SPNG advertises.

- I would downgrade the Recommends on libspng-doc to a Suggests, to
  avoid pulling in fonts and other unneeded packages on the 95% of
  cases.

Thank you,
Jordi

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-2-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=ca_ES.UTF-8, LC_CTYPE=ca_ES.UTF-8 (charmap=UTF-8), 
LANGUAGE=ca_ES:ca
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libspng-dev depends on:
ii  zlib1g-dev  1:1.2.13.dfsg-1

Versions of packages libspng-dev recommends:
pn  libspng-doc  <none>

libspng-dev suggests no packages.

-- no debconf information
--- debian/control.orig 2023-02-02 20:38:28.000000000 +0100
+++ debian/control      2023-02-06 12:08:42.216466366 +0100
@@ -40,6 +40,7 @@
 Architecture: any
 Multi-Arch: same
 Depends: zlib1g-dev,
+         libspng0 (= ${binary:Version}),
          ${misc:Depends}
 Recommends: libspng-doc
 Description: simple, modern libpng alternative - development

Reply via email to