• [gentoo-dev] [RFC] New global USE flag: sndio

    From Filip Kobierski@21:1/5 to All on Fri Jan 3 17:30:01 2025
    Hello everyone,

    after successfully proposing making io-uring global I will propose
    another global USE flag: sndio.

    As of right how 19 packages would use it[1] and only two of them
    (waybar & scrummvm) provide details on what it provides exactly.

    I think the generic descroption like
    "Enable support for the <pkg>media-sound/sndio</pkg backend"
    is good.

    It could be noted somewhere that the backend supports both
    audio and MIDI but the user is one `emerge --search sndio`
    away from learning that if they wish.

    What do you think about it?

    Kind regards
    Filip Kobierski

    [1]: https://packages.gentoo.org/useflags/sndio

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Filip Kobierski@21:1/5 to All on Wed Feb 5 12:00:01 2025
    Signed-off-by: Filip Kobierski <fkobi@pm.me>
    ---
    profiles/use.desc | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/profiles/use.desc b/profiles/use.desc
    index 36468b321dd..18ca3828786 100644
    --- a/profiles/use.desc
    +++ b/profiles/use.desc
    @@ -305,6 +305,7 @@ smartcard - Enable smartcard support
    smp - Enable support for multiprocessors or multicore systems
    snappy - Enable support for Snappy compression (as implemented in app-arch/snappy)
    sndfile - Add support for libsndfile
    +sndio - Add support for OpenBSD's sndio audio & MIDI backend
    snmp - Add support for the Simple Network Management Protocol if available
    soap - Add support for SOAP (Simple Object Access Protocol)
    sockets - Add support for tcp/ip sockets
    --
    2.45.3

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Filip Kobierski@21:1/5 to All on Wed Feb 5 11:50:02 2025
    Hi all,

    as it has been over a month since my initial RFC and I have recieved no responses I have decided to prepare the patches.
    My first idea was for the use.desc to be
    "Enable support for the sndio backend"
    but looking at it now I thought I can do better so I came up with
    "Add support for OpenBSD's sndio audio & MIDI backend".

    It not only specifies that sndio supports MIDI but also points out that
    the project is OpenBSD's which I think is a nice touch since otherwise
    a "the" should preceed the word.

    Filip Kobierski (2):
    profiles: Add a global USE=sndio
    */*: remove generic USE=sndio

    games-emulation/pcsx2/metadata.xml | 1 -
    mail-client/thunderbird/metadata.xml | 1 -
    media-libs/cubeb/metadata.xml | 3 ---
    media-libs/libao/metadata.xml | 3 ---
    media-libs/libsdl2/metadata.xml | 1 -
    media-libs/openal/metadata.xml | 1 -
    media-sound/cava/metadata.xml | 1 -
    media-sound/cmus/metadata.xml | 1 -
    media-sound/moc/metadata.xml | 1 -
    media-sound/mpd/metadata.xml | 1 -
    media-sound/sox/metadata.xml | 1 -
    media-sound/wildmidi/metadata.xml | 1 -
    media-video/ffmpeg/metadata.xml | 1 -
    media-video/mpv/metadata.xml | 1 -
    media-video/obs-studio/metadata.xml | 1 -
    profiles/use.desc | 1 +
    www-client/firefox/metadata.xml | 1 -
    xfce-extra/xfce4-mixer/metadata.xml | 3 ---
    18 files changed, 1 insertion(+), 23 deletions(-)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Filip Kobierski@21:1/5 to Filip Kobierski on Wed Mar 12 14:00:01 2025
    Hi all,

    no one has responded to my proposal for yet another month so I am
    bumping this again.

    I still think this is a worthy change.

    ~~~~
    Kind regards
    Filip Kobierski


    On Wednesday, February 5th, 2025 at 11:48, Filip Kobierski <fkobi@pm.me> wrote:

    Hi all,

    as it has been over a month since my initial RFC and I have recieved no responses I have decided to prepare the patches.
    My first idea was for the use.desc to be
    "Enable support for the sndio backend"
    but looking at it now I thought I can do better so I came up with
    "Add support for OpenBSD's sndio audio & MIDI backend".

    It not only specifies that sndio supports MIDI but also points out that
    the project is OpenBSD's which I think is a nice touch since otherwise
    a "the" should preceed the word.

    Filip Kobierski (2):
    profiles: Add a global USE=sndio
    /: remove generic USE=sndio

    games-emulation/pcsx2/metadata.xml | 1 -
    mail-client/thunderbird/metadata.xml | 1 -
    media-libs/cubeb/metadata.xml | 3 ---
    media-libs/libao/metadata.xml | 3 ---
    media-libs/libsdl2/metadata.xml | 1 -
    media-libs/openal/metadata.xml | 1 -
    media-sound/cava/metadata.xml | 1 -
    media-sound/cmus/metadata.xml | 1 -
    media-sound/moc/metadata.xml | 1 -
    media-sound/mpd/metadata.xml | 1 -
    media-sound/sox/metadata.xml | 1 -
    media-sound/wildmidi/metadata.xml | 1 -
    media-video/ffmpeg/metadata.xml | 1 -
    media-video/mpv/metadata.xml | 1 -
    media-video/obs-studio/metadata.xml | 1 -
    profiles/use.desc | 1 +
    www-client/firefox/metadata.xml | 1 -
    xfce-extra/xfce4-mixer/metadata.xml | 3 ---
    18 files changed, 1 insertion(+), 23 deletions(-)

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