Closed Bug 944952 Opened 11 years ago Closed 10 years ago

Bring mdimporter source into the regular build config

Categories

(Thunderbird :: Build Config, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 30.0

People

(Reporter: jcranmer, Assigned: jcranmer)

References

Details

Attachments

(1 file, 1 obsolete file)

Attached patch port-xcode-project (obsolete) — Splinter Review
After asking around a bit, it sounds like the mdimporter xcode project is nothing more complicated than "copy some files" and "compile a binary." Both of these things can easily be specified within our makefile system, so we can simplify some build-config by eliminating the xcode project.

[The diff to schema.strings is converting it from a UTF-16BE to a UTF-16LE file.]

Try push: <https://tbpl.mozilla.org/?tree=Thunderbird-Try&rev=66bc27ad262a>

I'm marking this as blocking cc-rework because the current xcode project logic would need moving from config/config.mk to the more local makefiles, and it's easier to just eliminate it altogether.

(As I don't have a mac to develop or test on, the changes are completely untested beyond making sure that it compiles on try).
Attachment #8340717 - Flags: review?(mbanner)
Not removing the stuff in config.mk here?
Comm-central's config.mk is so far out-of-date at this point that I'll let it stay in there until cc-rework eliminates the file altogether.
Comment on attachment 8340717 [details] [diff] [review]
port-xcode-project

This doesn't quite work - the output structure is wrong. On my mac, in $(DIST)/package/thunderbird.mdimporter I have on an unpatched build:

.
./Contents
./Contents/Info.plist
./Contents/MacOS
./Contents/MacOS/thunderbird
./Contents/Resources
./Contents/Resources/English.lproj
./Contents/Resources/English.lproj/InfoPlist.strings
./Contents/Resources/English.lproj/schema.strings
./Contents/Resources/schema.xml
Attachment #8340717 - Flags: review?(mbanner) → review-
This one should work better.
Attachment #8340717 - Attachment is obsolete: true
Attachment #8366456 - Flags: review?(mbanner)
Comment on attachment 8366456 [details] [diff] [review]
port-xcode-project

Review of attachment 8366456 [details] [diff] [review]:
-----------------------------------------------------------------

That's better. Seems to work fine. There's an extra (empty) chrome directory created in Library/Spotlight/thunderbird.mdimporter/Contents/MacOS, but I'm not too fussed about that. r=Standard8
Attachment #8366456 - Flags: review?(mbanner) → review+
https://hg.mozilla.org/comm-central/rev/24c3a939f322
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 30.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: