Page MenuHomePhabricator

Support libpng16
Open, Incoming QueuePublic


Currently efl is dependent on libpng12.
However, libpng12 has not being supported since Ubuntu 16.10.
Therefore, it seems that it is necessary to support libpng16 on efl to fully support the latest Ubuntu. (e.g. 18.04 LTS)

Hello @Jaehyun_Cho, I am building on arch linux with libpng16 without any problem, What is the exact problem on ubuntu? :)


Oh! Really?
I got reported that edje_cc which is compiled on Ubuntu 16.04 does not work on Ubuntu 18.04 since Ubuntu 18.04 does not support libpng12.

So I checked m4/evas_check_loader.m4 file and it only checks from libpng12 to libpng15.

To test on my PC, I installed libpng16 on my Ubuntu 16.04 but installing libpng16 removed some libraries automatically so I cannot build efl on my Ubuntu 16.04.
(e.g. libfontconfig1-dev, libfreetype6-dev, etc. are automatically removed due to libpng16)

I will install Ubuntu 18.04 on my laptop and test if efl can be compiled without libpng12. I will share the result with you~

Thank you for the comments! :)

raster added a subscriber: raster.Dec 6 2018, 3:05 AM

this is specifically a ubuntu or debian issue - arch ships as upstream does with a libpng.pc so checking for just libpng via pkgconfig as efl does works and links to libpng 1.6. (and minor version upgrades until a libpng2.x will just work too).

raster added a comment.Dec 6 2018, 6:07 AM

just checked on debian testing - it includes a libpng.pc... so not sure about ubuntu but this seems now an ubuntu specific issue... check your pkgconfig dires and libpng*.pc files.