See COPYING files. For the "Imlib2" license, see attachment 333380 [details] of bug 448650.
I just see that the FSF lists a different license under Imlib2: <http://directory.fsf.org/wiki/License:Imlib2> Let's follow Fedora and call this one "MIT-with-advertising": <https://fedoraproject.org/wiki/Licensing/MIT_With_Advertising>
Fixed.