• [gentoo-dev] Global USE flags for sound notifications (libcanberra) and

    From =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?=@21:1/5 to All on Fri Sep 16 08:00:01 2022
    Hi,

    I think we've passed the threshold for making two USE flags global:

    - sound notification support (usually via libcanberra)

    - global hotkey support (usually via keybinder)

    I don't have a strong opinion on flag names.


    For sound notification, I've found that:

    - 7 packages use "libcanberra" as the name

    - 1 package uses "sound-notification" (and implements it using
    libcanberra)


    For global hotkey support, I've found that:

    - 4 packages use "keybinder"

    - 1 package uses "hotkeys" but it doesn't use keybinder and I'm not 100%
    sure it's the same feature


    WDYT?

    --
    Best regards,
    Michał Górny

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Oskari Pirhonen@21:1/5 to All on Sat Sep 17 02:20:02 2022
    On Fri, Sep 16, 2022 at 07:49:49 +0200, Michał Górny wrote:
    Hi,

    I think we've passed the threshold for making two USE flags global:

    - sound notification support (usually via libcanberra)

    - global hotkey support (usually via keybinder)

    I don't have a strong opinion on flag names.


    For sound notification, I've found that:

    - 7 packages use "libcanberra" as the name

    - 1 package uses "sound-notification" (and implements it using
    libcanberra)


    USE=sound-notification is nice and descriptive, but it feels a bit
    awkward being so long. Looking at some of the descriptions for the "libcanberra" flag on p.g.o, the most popular one seems to be:

    Enable sound event support using media-libs/libcanberra

    Perhaps USE=sound-events? It's a bit shorter but just as descriptive.


    For global hotkey support, I've found that:

    - 4 packages use "keybinder"

    - 1 package uses "hotkeys" but it doesn't use keybinder and I'm not 100%
    sure it's the same feature


    Maybe something like USE=keybind?

    These names are also nice and implementation-agnostic :)

    - Oskari

    -----BEGIN PGP SIGNATURE-----

    iHUEABYIAB0WIQQfOU+JeXjo4uxN6vCp8he9GGIfEQUCYyURugAKCRCp8he9GGIf EdtnAQDxln1BTmrdw++gV9h+h1LqplVUES0KnAeBfy4crCm7ZQEAgI/v44VDirN0 Y1WDeiYEq1gQ9Gg+F6FLFriCnyR0IQs=
    =e5Tm
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)