[PATCH] NP_GetMIMEDescription() returns const char*
Jiri Vanek
jvanek at redhat.com
Mon Dec 12 08:22:03 PST 2011
On 12/12/2011 05:09 PM, Jon VanAlten wrote:
> Hi all,
>
> ----- Original Message -----
>> From: "Omair Majid"<omajid at redhat.com>
>> To: "Thomas Meyer"<thomas at m3y3r.de>
>> Cc: "distro-pkg-dev"<distro-pkg-dev at openjdk.java.net>
>> Sent: Monday, December 12, 2011 10:26:18 AM
>> Subject: Re: [PATCH] NP_GetMIMEDescription() returns const char*
>>
>> Hi Thomas,
>>
>> On 12/10/2011 08:11 AM, Thomas Meyer wrote:
>>> # HG changeset patch
>>> # User Thomas Meyer<thomas at m3y3r.de>
>>> # Date 1323522372 -3600
>>> # Node ID 2b69ce95feb38023b2be8bec3bc87f2219d0c80b
>>> # Parent 3674bf4ef962a752a05bf7bfa5aee19a817c4834
>>>
>>> /usr/include/xulrunner-sdk-2/npfunctions.h defines "const char*
>>> NP_GetMIMEDescription(void);"
>>> make icedtea-web version also return a const char*
>>> This fix is needed to make icedtea-web compile on Fedora 16.
>>>
>>
>> Thanks for the patch. This patch is already included in Fedora [1].
>> We
>> are aware of the issue [2], but there is so simple fix. If we apply
>> this
>> patch, it breaks icedtea-web builds on distributions using an older
>> version of xulrunner :(
>>
>> Cheers,
>> Omair
>>
>> [1]
>> http://pkgs.fedoraproject.org/gitweb/?p=icedtea-web.git;a=blob;f=icedtea-web-1.1.4-npapi-fix.patch;h=79ca0a6c009d310de5eb082d9ae5291da46e7dde;hb=refs/heads/f16
>>
>> [2]
>> http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2011-November/016240.html
>>
>
> Seems to me that if this is a change that is expected to stay in
> xulrunner going forward, the preferred approach would be to make the
> change in icedtea-web and document the well-known fix for those
> building against older xulrunner, rather than the other way around.
> Just my $0.02.
Hi, I'm working on this.
icedtea-web build process will be changed, so it will be buildable on both currently used xul apis.
The fix is based on compiling of small program, and determining by its sucess/falure what to use in icedtea web.
Sorry for delay, but I had some more work to do. Tomorow will be D day;)
Best regards
J.
>
> cheers,
> jon
More information about the distro-pkg-dev
mailing list