Opened 11 years ago

Last modified 6 years ago

#40110 closed enhancement

app portgroup have x11 application not bounce indefinitely — at Version 1

Reported by: elelay (Eric Le Lay) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc:
Port:

Description (last modified by elelay (Eric Le Lay))

(Following #39613)

There is an option that can be set in the Info.plist so that no doc icon is created for a graphical application:

<key>LSUIElement</key>
<string>1</string>

This is useful when building x11 gtk apps because they never signal the windowing system that they have launched and the associated icon keeps bouncing forever.

It would be nice to generate this into the plist depending on a boolean option of the app portgroup.

Otherwise I add following code in my Portfile:

    if {![variant_isset quartz]} {
        reinplace -E {s|(<string>APPL</string>)|\1 <key>LSUIElement</key><string>1</string>|} \
                 "${destroot}${applications_dir}/Quodlibet.app/Contents/Info.plist"
    }

Change History (1)

comment:1 Changed 11 years ago by elelay (Eric Le Lay)

Description: modified (diff)
Note: See TracTickets for help on using tickets.