In the released ebuild of the firefox 0.9 ebuilds, MNG support was not served in spite of the requirement of the libmng for the building. Therefore, I tried to append the MNG support. In the MNG supporting, building was performed by following. 1. The patch used was originated from "MNG (1.0.8b) patch trunk bzip2" in bug 18574 of bugzilla.mozilla.org. The patch was modified to be adapted to the firefox 0.9 2. As the MNG library, internal library provided by the patch was used. Because the library from the patch seems to be newer than the libmng in the system. (Version of the library in the patch is higher (1.0.8) than the libmng in the system (1.0.4 or 1.0.5)) Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 33752 [details, diff] Patch for the MNG support This is the patch file for the MNG support.
Created attachment 33753 [details] ebuild for the MNG support in firefox 0.9 This is the ebuild file to adapt the file 33752 to the firefox 0.9
Can we use the system mng?
>Can we use the system mng? By this patch, No. The reason is required version of the mng library is 1.0.8. This is higher than that of the system mng (1.0.4 or 1.0.5). But, by modifying the required version, compile may succeed. Required version is defined by MOZMNG as MOZMNG="((1<<16)|(0<<8)|(8)) (this means 1.0.8). If the version of the system mng is lower than MOZMNG, 'configure' set the MNG support off (if configure --with-system-mng). Therefore, by modifying MOZMNG lower than the version of the system mng, making 'configure' set the MNG support on is possible. I checked until the sucess of the configure, but I didn't check the make and the start up of the compiled one, so I don't secure this method. In the reported bug in bugzilla.mozilla.org, there was patch with mng 1.0.5, too. But the more modification of the patch is necessary and the modification seems complex. Maybe the corresponding version of the mozilla and the firefox is different.
I just bumped libmng to version 1.0.8 in portage. What does it take now for firefox-0.9.3 to support mng?
Created attachment 49279 [details, diff] Adds MNG to firefox 1.0
Created attachment 49280 [details] ebuild for firefox using system mng
Uses the newer patches from bug 18574 of buzilla.mozilla.org and builds with system mng.
Created attachment 49281 [details] ebuild for firefox using system mng fixed a typo
This mng-link does not work in firefox: http://mindx.josefspillner.de/kde/stats/movie/ but it works in konqueror
*** This bug has been marked as a duplicate of 111733 ***