Closed
Bug 630963
Opened 14 years ago
Closed 14 years ago
about:support doesn't work on some Linux distributions
Categories
(Thunderbird :: General, defect)
Tracking
(blocking-thunderbird5.0 alpha3+)
RESOLVED
FIXED
Thunderbird 3.3a3
| Tracking | Status | |
|---|---|---|
| blocking-thunderbird5.0 | --- | alpha3+ |
People
(Reporter: rain1, Assigned: rain1)
References
Details
Attachments
(1 file, 1 obsolete file)
|
4.22 KB,
patch
|
bwinton
:
review+
|
Details | Diff | Splinter Review |
Currently we assume that the libraries libglib-2.0.so, libgobject-2.0.so, and libgio-2.0.so exist. Turns out that it isn't the case for Fedora 12 and probably other distros -- the files that they do have are called libglib-2.0.so.0 etc.
We could either remove the Linux code entirely, or catch the exceptions and display "(Unknown location)" if any of the libraries we need aren't found.
| Assignee | ||
Comment 1•14 years ago
|
||
Roland, thoughts? Or would you rather we fix it instead? :)
| Assignee | ||
Comment 2•14 years ago
|
||
This is the other thing we could do, though I think it makes our code significantly more complex.
| Assignee | ||
Comment 3•14 years ago
|
||
Comment on attachment 509205 [details] [diff] [review]
Option 2: fix library names and handle missing libraries
This passed try server.
Attachment #509205 -
Flags: review?(bwinton)
OpenSUSE has both libg*-2.0.so and libg*-2.0.so.0 versions (as symlinks); is
it certain that libg*-2.0.so.0 exist or may it be needed to probe for either?
| Assignee | ||
Comment 5•14 years ago
|
||
the .0 version should always exist, see <http://www.faqs.org/docs/Linux-HOWTO/Program-Library-HOWTO.html#AEN46>. The non-.0 version doesn't seem to be as widely available.
Comment 6•14 years ago
|
||
my thoughts:
1. if it's a pain, *temporarily* remove the linux code (or just the code for displaying profile whatever is easier or just display unknown location; again whatever is easiest) since linux users are less than 5% of our users
2. in the long term,though, i.e. when we release 3.3, we need to support Ubuntu and hopefully (I guess thinking out loud) the top 3 other desktop Linux distros whatever they may be (I am quite happy with Ubuntu for desktop and haven't used other distros for the desktop recently)
| Assignee | ||
Comment 7•14 years ago
|
||
Comment on attachment 509189 [details] [diff] [review]
Option 1: Remove Linux code
OK, I'm going to count that as a negative then.
Attachment #509189 -
Attachment is obsolete: true
Attachment #509189 -
Flags: feedback?(roland)
Updated•14 years ago
|
blocking-thunderbird5.0: --- → alpha3+
Comment 8•14 years ago
|
||
(In reply to comment #0)
> Currently we assume that the libraries libglib-2.0.so, libgobject-2.0.so, and
> libgio-2.0.so exist. Turns out that it isn't the case for Fedora 12 and
> probably other distros -- the files that they do have are called
> libglib-2.0.so.0 etc.
Only the versioned library names are supposed to be used. The non versioned ones are not installed usually as they are only used for development.
So accessing libXYZ-2.0.so is just wrong at runtime. That holds true for "normal" Linux libraries (not talking about nspr or nss ;-)).
A disadvantage is that those version symbols (aka filenames) change when API changes occur in future versions.
Comment 9•14 years ago
|
||
Note there is a related bug: bug 624530
| Assignee | ||
Comment 10•14 years ago
|
||
Thanks for the details, Mike. I think the version bump due to the API change is unavoidable, since then our ctypes defs might need to change too.
Comment 11•14 years ago
|
||
Comment on attachment 509205 [details] [diff] [review]
Option 2: fix library names and handle missing libraries
Sorry about the delay on this review.
The code looks good, and the changes make sense to me. r=me.
Thanks,
Blake.
Attachment #509205 -
Flags: review?(bwinton) → review+
| Assignee | ||
Comment 12•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3.3a3
You need to log in
before you can comment on or make changes to this bug.
Description
•