grafx2 should build-depend on libpng-dev (and possibly others)

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Mon May 14 15:57:42 UTC 2012


Package: grafx2
Version: 2.3-1
Severity: normal

Hello,

We're planning to remove some dependencies that were introduced for
libsdl*-dev packages years ago that are actually not required, and we
found that some packages fail to build when we remove them, because
they rely on libsdl-*-dev packages pulling them.

Please re-check the build-depends on your package.  In particular,
please check if your package really depends on the same packages as
[1][2][3] do (e.g.: libdirectfb-dev, libcaca-dev, libogg-dev,
libtiff4-dev, ...); otherwise your package will FTBFS in the near
future.

[1] http://packages.debian.org/sid/libsdl-image1.2-dev
[2] http://packages.debian.org/sid/libsdl-mixer1.2-dev
[3] http://packages.debian.org/sid/libsdl1.2-dev

For example, your package uses PNG:
...
gcc -W -Wall -Wdeclaration-after-statement -std=c99 -c -g `sdl-config
--cflags`  `pkg-config lua --cflags --silence-errors ||pkg-config
lua5.1 --cflags --silence-errors ||pkg-config lua-5.1 --cflags`
-D__ENABLE_LUA__   -O -Wall -g -O2 -c fileformats.c -o
../obj/unix/fileformats.o
fileformats.c:30:17: fatal error: png.h: No such file or directory
compilation terminated.

And so it should build-depend on libpng-dev.

Regards.

(If you have any question, please keep the
CC:pkg-sdl-maintainers at lists.alioth.debian.org in the loop)



More information about the Pkg-sdl-maintainers mailing list