Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54651 - MNG support for firefox 0.9 was added
Summary: MNG support for firefox 0.9 was added
Status: RESOLVED DUPLICATE of bug 111733
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-21 08:19 UTC by Takayuki Yamaguchi
Modified: 2007-03-15 09:20 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for the MNG support (firefox-0.9-mng.patch.bz2,221.28 KB, patch)
2004-06-21 08:29 UTC, Takayuki Yamaguchi
Details | Diff
ebuild for the MNG support in firefox 0.9 (mozilla-firefox-0.9-r2.ebuild,8.33 KB, text/plain)
2004-06-21 08:31 UTC, Takayuki Yamaguchi
Details
Adds MNG to firefox 1.0 (firefox-1.0-mng.diff.bz2,222.28 KB, patch)
2005-01-23 06:40 UTC, Tanner Oakes
Details | Diff
ebuild for firefox using system mng (mozilla-firefox-1.0-r3.ebuild,6.08 KB, text/plain)
2005-01-23 06:41 UTC, Tanner Oakes
Details
ebuild for firefox using system mng (mozilla-firefox-1.0-r3.ebuild,6.08 KB, text/plain)
2005-01-23 06:51 UTC, Tanner Oakes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Takayuki Yamaguchi 2004-06-21 08:19:50 UTC
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.
Comment 1 Takayuki Yamaguchi 2004-06-21 08:29:35 UTC
Created attachment 33752 [details, diff]
Patch for the MNG support

This is the patch file for the MNG support.
Comment 2 Takayuki Yamaguchi 2004-06-21 08:31:31 UTC
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
Comment 3 Brad Laue (RETIRED) gentoo-dev 2004-06-22 08:38:07 UTC
Can we use the system mng?
Comment 4 Takayuki Yamaguchi 2004-06-23 00:55:13 UTC
>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.
Comment 5 Aron Griffis (RETIRED) gentoo-dev 2004-08-06 06:25:51 UTC
I just bumped libmng to version 1.0.8 in portage.  What does it take now for firefox-0.9.3 to support mng?
Comment 6 Tanner Oakes 2005-01-23 06:40:17 UTC
Created attachment 49279 [details, diff]
Adds MNG to firefox 1.0
Comment 7 Tanner Oakes 2005-01-23 06:41:45 UTC
Created attachment 49280 [details]
ebuild for firefox using system mng
Comment 8 Tanner Oakes 2005-01-23 06:46:42 UTC
Uses the newer patches from bug 18574 of buzilla.mozilla.org and builds with system mng.
Comment 9 Tanner Oakes 2005-01-23 06:51:01 UTC
Created attachment 49281 [details]
ebuild for firefox using system mng

fixed a typo
Comment 10 Toralf Förster gentoo-dev 2005-02-21 02:01:24 UTC
This mng-link does not work in firefox:
http://mindx.josefspillner.de/kde/stats/movie/

but it works in konqueror
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2006-09-25 00:54:13 UTC

*** This bug has been marked as a duplicate of 111733 ***