public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Global USE flags for sound notifications (libcanberra) and global hotkeys (keybinder)
@ 2022-09-16  5:49 Michał Górny
  2022-09-17  0:16 ` Oskari Pirhonen
  0 siblings, 1 reply; 2+ messages in thread
From: Michał Górny @ 2022-09-16  5:49 UTC (permalink / raw
  To: gentoo-dev

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-dev] Global USE flags for sound notifications (libcanberra) and global hotkeys (keybinder)
  2022-09-16  5:49 [gentoo-dev] Global USE flags for sound notifications (libcanberra) and global hotkeys (keybinder) Michał Górny
@ 2022-09-17  0:16 ` Oskari Pirhonen
  0 siblings, 0 replies; 2+ messages in thread
From: Oskari Pirhonen @ 2022-09-17  0:16 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1156 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-17  0:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-16  5:49 [gentoo-dev] Global USE flags for sound notifications (libcanberra) and global hotkeys (keybinder) Michał Górny
2022-09-17  0:16 ` Oskari Pirhonen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox