[Webkit-unassigned] [Bug 68396] New: Chromium DRT shouldn't show up in the Dock

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 19 15:08:46 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=68396

           Summary: Chromium DRT shouldn't show up in the Dock
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: eric at webkit.org
                CC: tony at chromium.org, abarth at webkit.org,
                    dpranke at chromium.org, jamesr at chromium.org


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.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list