Remove libpng submodule and require system lib

On rolling distros the usage of `libpng` submodule makes problems as the
`zlib` system dependency of said module gets updated. Then the submodule
regularly is too old to handle the updates `zlib` dependency.

Fix this maintenance churn by requiring `libpng` as system library as
well. Then the distros package manager keeps those versions in sync.

This unfortunately requires users to install a new runtime/build
dependency, but it still can be disabled with `-DWITH_PNG=OFF`.
This commit is contained in:
Reinhold Gschweicher
2023-09-05 22:52:09 +02:00
parent 3ae396c0a6
commit f4b729e00b
6 changed files with 13 additions and 14 deletions

3
.gitmodules vendored
View File

@@ -4,6 +4,3 @@
[submodule "lv_drivers"]
path = lv_drivers
url = ../../lvgl/lv_drivers.git
[submodule "libpng"]
path = libpng
url = ../../glennrp/libpng.git