Bug 872752
| Summary: | Embedding xulrunner can be fixed | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Zoltan Boszormenyi <zboszor> | ||||||||
| Component: | xulrunner | Assignee: | Jan Horak <jhorak> | ||||||||
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
| Severity: | unspecified | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | 17 | CC: | caillon+fedoraproject, gecko-bugs-nobody, jkeck, stransky, walters | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2013-08-01 01:13:31 UTC | Type: | Bug | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Embargoed: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Zoltan Boszormenyi
2012-11-02 22:02:04 UTC
Created attachment 637292 [details]
Patch to fix xulrunner embedding
After fixing pkg-config, this patch adds the missing static libraries to both libxul.pc and libxul-embedding.pc.
Thanks! It looks like something we should move upstream (report it at bugzilla.mozilla.org). Would you like to report it or shall I do so? Added to xulrunner-16.0.2-3 for all Fedoras. Created attachment 639501 [details]
Patch to fix xulrunner embedding v2
After testing the previous patch a lot, it seems it does the wrong thing. E.g. using the libxul-embedding.pc creates by the first patch in both the "mozembed" code and a test program using the mozembed code results in a linker error complaining about duplicate symbols. The resolution is to split the libxul-embedding.pc file into two: one usable by shared object wrapping libxul/libxpcom[glue] and one usable by applications. This avoids the symbols in the "whole archive" linked into both a library and the app. This patch implements this.
Created attachment 639504 [details] Patch to update mozembed Just for reference, this patch updates the Embedding/NewApi code to the current xulrunner 16.0.x API and relies on the just posted "v2" patch against xulrunner. Actually, only the common and the gtk/x11 part of it. The Embedding/NewApi page is here: https://wiki.mozilla.org/Embedding/NewApi The patch is against this Mercurial repo (current tip, rev 29ac0fe51754): hg clone http://hg.mozilla.org/incubator/embedding/ mozembed (In reply to comment #2) > Thanks! > > It looks like something we should move upstream (report it at > bugzilla.mozilla.org). Would you like to report it or shall I do so? I am only familiar with Fedora developers and I am shy to report it to Mozilla. :-) It would be nice from you to do it as a RedHat representative... Okay, not a problem :) It looks more complicated that I expected and I'd like to update it for gtkmozembed too, we still ship it on RHEL. I'll report it at mozilla when it's ready and tested. This message is a reminder that Fedora 17 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 17. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '17'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 17's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 17 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior to Fedora 17's end of life. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed. |