Closed
Bug 584894
Opened 14 years ago
Closed 13 years ago
Move the jpeg code to a saner location
Categories
(Core :: Graphics: ImageLib, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: jrmuizel, Unassigned)
Details
Attachments
(2 files)
25.47 KB,
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
9.49 KB,
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
The consensus seems to be that it belongs in media/jpeg
Comment 1•14 years ago
|
||
A couple of suggestions
Right now everything in media is referred to by its library name so I would suggest something like media/libjpeg or media/libjpegturbo just to keep a consistent naming convention throughout the whole folder. It also helps anyone glancing at the source tree which library is being used e.g. libvpx instead of VP8.
Secondly if jpeg is being moved doesn't it make sense to move modules/libimg/png to media/libpng as well?
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
Comment 3•13 years ago
|
||
I don't think this is WONTFIX. $(topsrcdir)/jpeg is a terrible location for libjpeg.
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Comment 4•13 years ago
|
||
Sure, let's get this discussion started again and post a patch then.
Do we have consensus on media/libjpeg?
Comment 5•13 years ago
|
||
(In reply to Benoit Girard (:BenWa) from comment #4)
> Sure, let's get this discussion started again and post a patch then.
I'm on it.
> Do we have consensus on media/libjpeg?
Hear hear!
Comment 6•13 years ago
|
||
(In reply to Bobby Holley (:bholley) from comment #5)
> I'm on it.
Posting a patch or discussing ;)? If not I'll gladly do it. Is 'hg move' sufficient or do we use something else to preserve history and whatnot?
Comment 7•13 years ago
|
||
hg move is it!
Comment 8•13 years ago
|
||
(In reply to Benoit Girard (:BenWa) from comment #6)
> (In reply to Bobby Holley (:bholley) from comment #5)
> > I'm on it.
>
> Posting a patch or discussing ;)?
Both. I've got patches building to move libjpeg and libpng into media. If all goes well, I'll post 'em here for review.
Comment 9•13 years ago
|
||
That's great. Thanks for doing this!
Comment 10•13 years ago
|
||
Several tries later, I've got a patch that builds and, hopefully, catches all the edge cases.
This patch does jpeg. Flagging khuey for review.
Attachment #565713 -
Flags: review?(khuey)
Attachment #565713 -
Flags: review?(khuey) → review+
Attachment #565714 -
Flags: review?(khuey) → review+
Comment 12•13 years ago
|
||
Landed to mozilla-central:
https://hg.mozilla.org/mozilla-central/rev/17405b1eb600
https://hg.mozilla.org/mozilla-central/rev/e29520632bf3
Resolving fixed.
Status: REOPENED → RESOLVED
Closed: 13 years ago → 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•