Package: libneatvnc-dev
Version: 0.5.4+dfsg-1
Version: 0.7.1+dfsg-1
Severity: normal
File: /usr/share/doc/libneatvnc-dev/examples/png-server.c

Dear Maintainer,

  $ cc $(pkg-config --libs --cflags neatvnc aml pixman-1 libpng) 
/usr/share/doc/libneatvnc-dev/examples/png-server.c -O3 -o png-server
  /bin/ld: /tmp/png-server-952d18.o: in function `main':
  png-server.c:(.text+0x1f): undefined reference to `read_png_file'
  cc: error: linker command failed with exit code 1 (use -v to see invocation)
cf. /usr/share/doc/libneatvnc-dev/examples/meson.build:
  if libpng.found()
          executable(
                  'png-server',
                  [
                          'png-server.c',
                          '../src/pngfb.c',
                  ],
this isn't distributed, so to actually use this example you need to apt
source neatvnc and run
  $ cc $(pkg-config --libs --cflags neatvnc aml pixman-1 libpng) 
/usr/share/doc/libneatvnc-dev/examples/png-server.c 
neatvnc-0.7.1+dfsg/src/pngfb.c -O3 -o png-server
which diminishes the utility of the example greatly.

Please also put pngfb.c into examples.

Best,
наб

-- System Information:
Debian Release: 12.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-9-amd64 (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_FIRMWARE_WORKAROUND, 
TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libneatvnc-dev:amd64 depends on:
ii  libaml-dev                    0.2.2-1
ii  libgnutls28-dev [gnutls-dev]  3.7.9-2+deb12u1
ii  libneatvnc0                   0.5.4+dfsg-1
ii  libpixman-1-dev               0.42.2-1
ii  libturbojpeg0-dev             1:2.1.5-2
ii  zlib1g-dev                    1:1.2.13.dfsg-1

libneatvnc-dev:amd64 recommends no packages.

libneatvnc-dev:amd64 suggests no packages.

-- no debconf information

Attachment: signature.asc
Description: PGP signature

Reply via email to