From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E506B1581F0 for ; Wed, 11 Dec 2024 10:20:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BE280E0B29; Wed, 11 Dec 2024 10:20:39 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E3425E0B21 for ; Wed, 11 Dec 2024 10:20:38 +0000 (UTC) Message-ID: Subject: [gentoo-dev] [RFC] Unmessing mod/tracker music file flags (mikmod, modplug, openmpt) From: =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Date: Wed, 11 Dec 2024 11:20:32 +0100 Organization: Gentoo Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-O2BQ91PO7XHEyeFPvUiL" User-Agent: Evolution 3.52.4 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 X-Archives-Salt: 8ea09bd2-18b4-494c-8266-c916d6742a94 X-Archives-Hash: f7ce99d978da83cb981d8b841e18cd9e --=-O2BQ91PO7XHEyeFPvUiL Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, Right now we have three flags that do pretty much the same thing, via different libraries: global[mikmod] Add libmikmod support to allow playing of SoundTracker-style= music files global[modplug] Add libmodplug support for playing SoundTracker-style music= files media-sound/mixxx[modplug] Add libmodplug support media-libs/sdl_audiolib[openmpt] OpenMPT decoder via media-libs/libopenmpt media-plugins/audacious-plugins[openmpt] Add support for OpenMPT media-sound/mpd[openmpt] OpenMPT decoder plugin media-sound/fooyin[openmpt] Build the OpenMPT input plugin using media-libs= /libopenmpt media-sound/musikcube[libopenmpt] Build plugin to support playing MOD music= aka tracker music through libopenmpt Given that they are roughly used in the same way, and only a small subset of packages (e.g. mpv) support more than one library, how about settling on a single feature flag instead? While they probably differ in fine details like the exact list of supported file formats, the overlap is wide enough to justify it. Such as: mod - Enable support for a variety of tracker module (.it, .mod, .s3m, .xm,= and more) music files --=20 Best regards, Micha=C5=82 G=C3=B3rny --=-O2BQ91PO7XHEyeFPvUiL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iQFGBAABCgAwFiEEx2qEUJQJjSjMiybFY5ra4jKeJA4FAmdZZ3ESHG1nb3JueUBn ZW50b28ub3JnAAoJEGOa2uIyniQODtwH/346fyakYCcqrGJhIUtTxclz+xoRmwol +5rPtAh6z9HdLmwbiwdsn5oY5xIMykeP4+IM8QxeM/cxxVhBzdD4Wl+V0fVIF99d JB+bhVmVDyLNmUlRzwvxWyJ44gSRj8CeplNhpegxQazxq7tj11o2enN+0yPNiXkP uVpPIzZ3btBGEXgluWRf1XzHb2PfkNp//UiB9+UfRyBsvB2VHDni+PQKXVBazBmB iEUQrQCm2E08BuaMtDkWKHzVxx5iHSYp82kM3JZ3C4nkiinnQfRmxOjygzMfGjn5 QuzmwDbPZVFT88HRyP0y3kdNemFvz98Y7lCN2BE3nEgGZ632n+7N+wI= =rxNi -----END PGP SIGNATURE----- --=-O2BQ91PO7XHEyeFPvUiL--