Closed Bug 641852 Opened 13 years ago Closed 13 years ago

Disable nib-stripping in Camino/prefPanes and Sparkle

Categories

(Camino Graveyard :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: cpeterson, Assigned: alqahira)

References

Details

Attachments

(1 file)

Disable nib-stripping in Camino/prefPanes and Sparkle. There's no reason for us not to be doing that per bug 514495 comment 22 anyway. Since Sparkle still hasn't fixed their nib, turning stripping off in-tree removes one small level of hack needed for building on 10.6.
Blocks bug 514495.
Blocks: 514495
This should do what we want to do.

1) It should get the stripping-fails-on-SUStatus.nib-with-Xcode-3.something-on-10.6 fix into the tree, complete with README update.

2) It should ensure that a theoretical Camino release built on 10.6 would produce unstripped nibs for Camino, prefPanes, and Sparkle, so that l10n could take our release build and run l10n tools on the nibs to localize (Breakpad.nib is localized entirely from strings, with layout adjustment done in code, so no need to change Breakpad).  This is more future-proofing than anything else, but it makes sense to do it while we're thinking about it.

To test the whole fix, someone on 10.6 would need to 1) build all the way through? (at the very least ensure Sparkle is entirely rebuilt) and 2) test that each prefPane's nib and an assortment of nibs in Camino.app/Contents/Resources/Englihs.lproj/ and Camino.app/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/en.lproj will open in Interface Builder following the build.

philippe, can you take this for a spin?
Assignee: nobody → alqahira
Status: NEW → ASSIGNED
Attachment #519501 - Flags: feedback?(phiw)
Comment on attachment 519501 [details] [diff] [review]
Disables nib-stripping for Camino, prefPanes, and Sparkle

* Patch builds without problems (both 10.4u and 10.5sdk, in both cases all the way through - make -f client.mk clean, etc )
* I successfully opened all Preference Pane nibs, the Sparkle nibs and a random number of other nibs in Camino.app/Contents/Resources/English.lproj/ for both builds
* both builds are fully functional, preference panes open correctly, etc.
Attachment #519501 - Flags: feedback?(phiw) → feedback+
Attachment #519501 - Flags: superreview?(stuart.morgan+bugzilla)
Comment on attachment 519501 [details] [diff] [review]
Disables nib-stripping for Camino, prefPanes, and Sparkle

sr=smorgan

Long term we want to strip Sparkle though don't we, since localizations come from upstream anyway?
Attachment #519501 - Flags: superreview?(stuart.morgan+bugzilla) → superreview+
(In reply to comment #4)
> Comment on attachment 519501 [details] [diff] [review]
> Disables nib-stripping for Camino, prefPanes, and Sparkle
> 
> sr=smorgan
> 
> Long term we want to strip Sparkle though don't we, since localizations come
> from upstream anyway?

Many of the Sparkle localizations go upstream from Camino's localizers, actually.

But our third-party code localization story is messy, given how Cocoa l10n tools work and the fact we strip l10ns from our build (Sparkle) or don't have them in the tree at all (Breakpad).  We'll have to sort out these issues along with the ones in http://wiki.caminobrowser.org/User:Sardisson/Towards_a_single_Camino_binary when we get there.
http://hg.mozilla.org/camino/rev/b315902eb2c4

Everyone remember to remove the Sparkle patch from bug 514495 before updating your tree(s).
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: