RESOLVED WONTFIX 68396
Chromium DRT shouldn't show up in the Dock
https://bugs.webkit.org/show_bug.cgi?id=68396
Summary Chromium DRT shouldn't show up in the Dock
Eric Seidel (no email)
Reported 2011-09-19 15:08:46 PDT
Very easy to make it not do so. The trouble is just making gyp do the right thing. There are two easy ways to do this: 1. Make it not be a mac_bundle=1 (like how Apple Mac DRT is), and instead embed all the fonts in the data section: OTHER_LDFLAGS = -sectcreate __DATA Ahem qt/fonts/AHEM____.TTF -sectcreate __DATA WeightWatcher100 fonts/WebKitWeightWatcher100.ttf -sectcreate __DATA WeightWatcher200 fonts/WebKitWeightWatcher200.ttf -sectcreate __DATA WeightWatcher300 fonts/WebKitWeightWatcher300.ttf -sectcreate __DATA WeightWatcher400 fonts/WebKitWeightWatcher400.ttf -sectcreate __DATA WeightWatcher500 fonts/WebKitWeightWatcher500.ttf -sectcreate __DATA WeightWatcher600 fonts/WebKitWeightWatcher600.ttf -sectcreate __DATA WeightWatcher700 fonts/WebKitWeightWatcher700.ttf -sectcreate __DATA WeightWatcher800 fonts/WebKitWeightWatcher800.ttf -sectcreate __DATA WeightWatcher900 fonts/WebKitWeightWatcher900.ttf LD_RUNPATH_SEARCH_PATHS = "@loader_path/."; 2. Define LSUIElement=1 in the (currently non-existant) Info.plist file in the bundle. http://developer.apple.com/library/mac/#documentation/General/Reference/InfoPlistKeyReference/Articles/LaunchServicesKeys.html#//apple_ref/doc/uid/TP40009250-SW1 #2 is probably easier, but slightly less slick than #1.
Attachments
Eric Seidel (no email)
Comment 1 2011-09-19 15:09:35 PDT
You don't actually need the LD_RUNPATH_SEARCH_PATHS. That's for making DRT search for WebKit.framework in ./ before other directories. :)
Note You need to log in before you can comment on or make changes to this bug.