Closed
Bug 482156
Opened 16 years ago
Closed 16 years ago
Get rid of (unnecessary) LIBGNOME dependency.
Categories
(Toolkit Graveyard :: Build Config, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.9.2a1
People
(Reporter: tonikitoo, Assigned: tonikitoo)
References
Details
(Keywords: mobile)
Attachments
(1 file, 1 obsolete file)
|
5.22 KB,
patch
|
benjamin
:
review+
roc
:
review+
|
Details | Diff | Splinter Review |
Currently toolkit/system/gnome/ just builds if both GNOMEVFS, GCONF and LIBGNOME dev files are available. About the later requirement (libgnome) it is just needed because there is a single method used from that lib: "gnome_url_show" , which is called from nsGnomeVFSService::ShowURI [1] and nsGnomeVFSService::ShowURIForInput [2].
[1] http://mxr.mozilla.org/mozilla-central/source/toolkit/system/gnome/nsGnomeVFSService.cpp#262
[2] http://mxr.mozilla.org/mozilla-central/source/toolkit/system/gnome/nsGnomeVFSService.cpp#274
however having LIBGNOME as a requirement to build "libmozgnome.so" make this module (and consequently both NS_GNOMEVFSSERVICE_CONTRACTID and NS_GCONFSERVICE_CONTRACTID services) unavailable in MAEMO platform (where libgnome is not available).
looking at |gnome_url_show| method body (@ libgnome-2.24.1/libgnome/gnome-url.c) it just forwards a call to "gnome_vfs_url_show_with_env", so we could replace the former by the later w/out losing any functionality, which would make it possible for us to get rid of LIBGNOME as a dep of libmozgnome AND make libmozgnome available in MAEMO.
| Assignee | ||
Comment 1•16 years ago
|
||
Attachment #366229 -
Flags: review?
| Assignee | ||
Comment 2•16 years ago
|
||
same as previous 0.1 patch PLUS required changes in config/autoconf.mk.in
Attachment #366229 -
Attachment is obsolete: true
Attachment #366230 -
Flags: review?
Attachment #366229 -
Flags: review?
| Assignee | ||
Comment 3•16 years ago
|
||
added mobile keyword, as it involves maemo (sorta)
Keywords: mobile
| Assignee | ||
Updated•16 years ago
|
Attachment #366230 -
Flags: review? → review?(benjamin)
Comment 4•16 years ago
|
||
Comment on attachment 366230 [details] [diff] [review]
v0.11 - get rid of libgnome dep to build libmozgnome
This looks fine from a build perspective... I don't know gnomevfs, so I'd like roc or somebody who knows gnomevfs to review the nsGnomeVFSService.cpp change.
Attachment #366230 -
Flags: review?(roc)
Attachment #366230 -
Flags: review?(benjamin)
Attachment #366230 -
Flags: review+
Attachment #366230 -
Flags: review?(roc) → review+
| Assignee | ||
Comment 5•16 years ago
|
||
changeset: 25956:175cb4051eb2
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•15 years ago
|
Target Milestone: --- → mozilla1.9.2a1
Updated•7 years ago
|
Product: Toolkit → Toolkit Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•