summaryrefslogtreecommitdiff
path: root/media-sound/timidity++
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-12 11:50:53 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-12 11:50:53 -0500
commit290aebdea65a02557706eaeda477fef0437b6a48 (patch)
treef87a939169a508a2e943570501b64cc16b411cda /media-sound/timidity++
parent6783ddcd4b73d9ce586a71770caed352bec93b16 (diff)
downloadbaldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.tar.gz
baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.tar.xz
baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.zip
Adding metadata
Diffstat (limited to 'media-sound/timidity++')
-rw-r--r--media-sound/timidity++/Manifest1
-rw-r--r--media-sound/timidity++/files/50timidity++-gentoo.el3
-rw-r--r--media-sound/timidity++/files/conf.d.timidity.227
-rw-r--r--media-sound/timidity++/files/init.d.timidity.420
-rw-r--r--media-sound/timidity++/files/timidity++-2.14.0-CVE-2017-11546.patch31
-rw-r--r--media-sound/timidity++/files/timidity++-2.14.0-CVE-2017-11547.patch67
-rw-r--r--media-sound/timidity++/files/timidity++-2.14.0-ar.patch23
-rw-r--r--media-sound/timidity++/files/timidity++-2.14.0-configure-flags.patch140
-rw-r--r--media-sound/timidity++/files/timidity++-2.14.0-params.patch22
-rw-r--r--media-sound/timidity++/files/timidity++-2.15.0-clang-16-configure.patch78
-rw-r--r--media-sound/timidity++/files/timidity++-2.15.0-lto-workaround.patch10
-rw-r--r--media-sound/timidity++/files/timidity++-2.15.0-pkg-config.patch118
-rw-r--r--media-sound/timidity++/files/timidity.cfg-r124
-rw-r--r--media-sound/timidity++/files/timidity.desktop.210
-rw-r--r--media-sound/timidity++/files/timidity.service10
-rw-r--r--media-sound/timidity++/files/timidity.xpm56
-rw-r--r--media-sound/timidity++/metadata.xml12
-rw-r--r--media-sound/timidity++/timidity++-2.15.0-r6.ebuild239
18 files changed, 0 insertions, 891 deletions
diff --git a/media-sound/timidity++/Manifest b/media-sound/timidity++/Manifest
deleted file mode 100644
index e6d1475e98f6..000000000000
--- a/media-sound/timidity++/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST TiMidity++-2.15.0.tar.xz 1363040 BLAKE2B 63612dc96ddef9b24ca35a8fa24c22fee8b0573efb09543e6017070b2d0a68494bc34afe8ffc50b5f7fe2d95397a971d5dc7afd4c9adbb524b119012e716b7f7 SHA512 36c3c79d941903109d5d6d529963d12e8192a857e80402ad5ab0d1e223451a7cf5dc8fdd046b22ae7da96f413d68db8587a8fce348635838eba2f30f7019192f
diff --git a/media-sound/timidity++/files/50timidity++-gentoo.el b/media-sound/timidity++/files/50timidity++-gentoo.el
deleted file mode 100644
index d4c6555ea2ca..000000000000
--- a/media-sound/timidity++/files/50timidity++-gentoo.el
+++ /dev/null
@@ -1,3 +0,0 @@
-(add-to-list 'load-path "@SITELISP@")
-(autoload 'timidity "timidity" "TiMidity Interface" t)
-(setq timidity-prog-path "/usr/bin/timidity")
diff --git a/media-sound/timidity++/files/conf.d.timidity.2 b/media-sound/timidity++/files/conf.d.timidity.2
deleted file mode 100644
index 0a153cad6a9e..000000000000
--- a/media-sound/timidity++/files/conf.d.timidity.2
+++ /dev/null
@@ -1,27 +0,0 @@
-# TIMIDITY_OPTS
-# Command line arguements to be passed to timidity. -iA is always used
-# Common options:
-# -Os : Output to ALSA pcm device
-# -Oe : Output to esd
-# -On : Output to NAS
-#
-# -B<n>,<m> : Set number of buffer fragments(n), and buffer size(2^m)
-#
-# -EFreverb=0 : Disable MIDI reverb effect control
-# -EFreverb=1[,level] : Enable MIDI reverb effect control
-# `level' is optional to specify reverb level [0..127]
-# This effect is only available in stereo
-# (default)
-# -EFreverb=2 : Global reverb effect
-
-TIMIDITY_OPTS="-B2,8 -Os -EFreverb=0"
-
-# TIMIDITY_PCM_NAME
-# This option can be used to choose an alternate ALSA pcm device. This will
-# be most useful for users of the dmix alsa plugin or those with multiple
-# cards. If you don't know what this is, chances are you want the default.
-
-#TIMIDITY_PCM_NAME="default"
-
-#LADSPA plugins library path
-LADSPA_PATH="/usr/lib/ladspa"
diff --git a/media-sound/timidity++/files/init.d.timidity.4 b/media-sound/timidity++/files/init.d.timidity.4
deleted file mode 100644
index 1863a0197bf8..000000000000
--- a/media-sound/timidity++/files/init.d.timidity.4
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/sbin/openrc-run
-
-depend() {
- after alsasound esound
-}
-
-start() {
- ebegin "Starting TiMidity++ Virtual Midi Sequencer"
- test -n "$TIMIDITY_PCM_NAME" && export TIMIDITY_PCM_NAME
- start-stop-daemon --start --background --chdir /usr/share/timidity \
- --user timidity --group audio --make-pidfile --pidfile /var/run/timidity.pid \
- --exec /usr/bin/timidity -- -iA ${TIMIDITY_OPTS}
- eend $?
-}
-
-stop() {
- ebegin "Stopping TiMidity++"
- start-stop-daemon --stop --quiet --pidfile /var/run/timidity.pid
- eend $?
-}
diff --git a/media-sound/timidity++/files/timidity++-2.14.0-CVE-2017-11546.patch b/media-sound/timidity++/files/timidity++-2.14.0-CVE-2017-11546.patch
deleted file mode 100644
index 94135e98b96a..000000000000
--- a/media-sound/timidity++/files/timidity++-2.14.0-CVE-2017-11546.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 2386ec2c745f6c5075e53ea051da211336b44b84 Mon Sep 17 00:00:00 2001
-From: Takashi Iwai <tiwai@suse.de>
-Date: Tue, 26 Jun 2018 22:31:27 +0200
-Subject: readmidi: Fix division by zero
-
-References: CVE-2017-11546
-
-An adhoc fix for division by zero in insert_note_steps().
-
-Signed-off-by: Takashi Iwai <tiwai@suse.de>
-bug-debian: https://bugs.debian.org/870338
-bug-suse: https://bugzilla.suse.com/show_bug.cgi?id=1081694
-bug: https://bugzilla.suse.com/show_bug.cgi?id=1081694
-origin: https://bugzilla.suse.com/attachment.cgi?id=760825
----
- timidity/readmidi.c | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/timidity/readmidi.c b/timidity/readmidi.c
-index 158388a..341777e 100644
---- a/timidity/readmidi.c
-+++ b/timidity/readmidi.c
-@@ -4585,6 +4585,8 @@ static void insert_note_steps(void)
- if (beat != 0)
- meas++, beat = 0;
- num = timesig[n].a, denom = timesig[n].b, n++;
-+ if (!denom)
-+ denom = 1;
- }
- a = (meas + 1) & 0xff;
- b = (((meas + 1) >> 8) & 0x0f) + ((beat + 1) << 4);
diff --git a/media-sound/timidity++/files/timidity++-2.14.0-CVE-2017-11547.patch b/media-sound/timidity++/files/timidity++-2.14.0-CVE-2017-11547.patch
deleted file mode 100644
index 12562a577e0e..000000000000
--- a/media-sound/timidity++/files/timidity++-2.14.0-CVE-2017-11547.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-From 34328d22cbb4ccf03f29223f54f1834c796d86a2 Mon Sep 17 00:00:00 2001
-From: Takashi Iwai <tiwai@suse.de>
-Date: Tue, 26 Jun 2018 22:31:28 +0200
-Subject: resample: Fix out-of-bound access in resamplers
-
-References: CVE-2017-11547
-
-An adhoc fix for out-of-bound accesses in resamples.
-The offset might overflow the given data range.
-
-Signed-off-by: Takashi Iwai <tiwai@suse.de>
-bug-debian: https://bugs.debian.org/870338
-bug-suse: https://bugzilla.suse.com/show_bug.cgi?id=1081694
-origin: https://bugzilla.suse.com/attachment.cgi?id=760826
----
- timidity/resample.c | 10 ++++++++++
- 1 file changed, 10 insertions(+)
-
-diff --git a/timidity/resample.c b/timidity/resample.c
-index cd6b8e6..4a3fadf 100644
---- a/timidity/resample.c
-+++ b/timidity/resample.c
-@@ -57,6 +57,8 @@ static resample_t resample_cspline(sample_t *src, splen_t ofs, resample_rec_t *r
- {
- int32 ofsi, ofsf, v0, v1, v2, v3, temp;
-
-+ if (ofs + (1 << FRACTION_BITS) >= rec->data_length)
-+ return src[ofs >> FRACTION_BITS];
- ofsi = ofs >> FRACTION_BITS;
- v1 = src[ofsi];
- v2 = src[ofsi + 1];
-@@ -96,6 +98,8 @@ static resample_t resample_lagrange(sample_t *src, splen_t ofs, resample_rec_t *
- {
- int32 ofsi, ofsf, v0, v1, v2, v3;
-
-+ if (ofs + (1 << FRACTION_BITS) >= rec->data_length)
-+ return src[ofs >> FRACTION_BITS];
- ofsi = ofs >> FRACTION_BITS;
- v1 = (int32)src[ofsi];
- v2 = (int32)src[ofsi + 1];
-@@ -154,6 +158,8 @@ static resample_t resample_gauss(sample_t *src, splen_t ofs, resample_rec_t *rec
- sample_t *sptr;
- int32 left, right, temp_n;
-
-+ if (ofs + (1 << FRACTION_BITS) >= rec->data_length)
-+ return src[ofs >> FRACTION_BITS];
- left = (ofs>>FRACTION_BITS);
- right = (rec->data_length>>FRACTION_BITS) - left - 1;
- temp_n = (right<<1)-1;
-@@ -261,6 +267,8 @@ static resample_t resample_newton(sample_t *src, splen_t ofs, resample_rec_t *re
- int32 left, right, temp_n;
- int ii, jj;
-
-+ if (ofs + (1 << FRACTION_BITS) >= rec->data_length)
-+ return src[ofs >> FRACTION_BITS];
- left = (ofs>>FRACTION_BITS);
- right = (rec->data_length>>FRACTION_BITS)-(ofs>>FRACTION_BITS)-1;
- temp_n = (right<<1)-1;
-@@ -330,6 +338,8 @@ static resample_t resample_linear(sample_t *src, splen_t ofs, resample_rec_t *re
- {
- int32 v1, v2, ofsi;
-
-+ if (ofs + (1 << FRACTION_BITS) >= rec->data_length)
-+ return src[ofs >> FRACTION_BITS];
- ofsi = ofs >> FRACTION_BITS;
- v1 = src[ofsi];
- v2 = src[ofsi + 1];
diff --git a/media-sound/timidity++/files/timidity++-2.14.0-ar.patch b/media-sound/timidity++/files/timidity++-2.14.0-ar.patch
deleted file mode 100644
index 5c58cfcb89f3..000000000000
--- a/media-sound/timidity++/files/timidity++-2.14.0-ar.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-https://bugs.gentoo.org/468176
-
---- a/configure.in
-+++ b/configure.in
-@@ -167,6 +167,7 @@ AC_PROG_CC
- AC_PROG_GCC_TRADITIONAL
- AC_PROG_INSTALL
- AC_PROG_AWK
-+AC_CHECK_TOOL([AR], [ar], :)
- AC_PROG_RANLIB
- AC_PROG_LN_S
- CHECK_COMPILER_OPTION(rdynamic)
---- a/timidity/Makefile.am
-+++ b/timidity/Makefile.am
-@@ -417,7 +417,7 @@ calcnewt$(EXEEXT): $(calcnewt_OBJECTS) $(calcnewt_DEPENDENCIES)
- $(LINK) $(calcnewt_LDFLAGS) $(calcnewt_OBJECTS) $(calcnewt_LDADD) $(LIBS)
- timidity$(EXEEXT): $(timidity_OBJECTS) $(timidity_DEPENDENCIES)
- @rm -f timidity$(EXEEXT)
-- ar -cru timidity.exe $(timidity_LDFLAGS) $(timidity_OBJECTS) $(timidity_LDADD)
-+ $(AR) -cru timidity.exe $(timidity_LDFLAGS) $(timidity_OBJECTS) $(timidity_LDADD)
- else
- calcnewt$(EXEEXT): $(calcnewt_OBJECTS) $(calcnewt_DEPENDENCIES)
- @rm -f calcnewt$(EXEEXT)
diff --git a/media-sound/timidity++/files/timidity++-2.14.0-configure-flags.patch b/media-sound/timidity++/files/timidity++-2.14.0-configure-flags.patch
deleted file mode 100644
index e2e77e44f2ae..000000000000
--- a/media-sound/timidity++/files/timidity++-2.14.0-configure-flags.patch
+++ /dev/null
@@ -1,140 +0,0 @@
-do not add -L/-I flags pointing to the paths given by --prefix.
-there's no need and it breaks multilib and cross-compiling.
-
-patch by Mike Frysinger <vapier@gentoo.org>
-
---- a/autoconf/libFLAC.m4
-+++ b/autoconf/libFLAC.m4
-@@ -25,24 +25,8 @@ AC_ARG_ENABLE(libFLACtest,
- [Do not try to compile and run a test libFLAC program]),,
- [enable_libFLACtest=yes])
-
-- if test "x$libFLAC_libraries" != "x" ; then
-- LIBFLAC_LIBS="-L$libFLAC_libraries"
-- elif test "x$libFLAC_prefix" != "x" ; then
-- LIBFLAC_LIBS="-L$libFLAC_prefix/lib"
-- elif test "x$prefix" != "xNONE" ; then
-- LIBFLAC_LIBS="-L$prefix/lib"
-- fi
--
- LIBFLAC_LIBS="$LIBFLAC_LIBS -lFLAC -lm"
-
-- if test "x$libFLAC_includes" != "x" ; then
-- LIBFLAC_CFLAGS="-I$libFLAC_includes"
-- elif test "x$libFLAC_prefix" != "x" ; then
-- LIBFLAC_CFLAGS="-I$libFLAC_prefix/include"
-- elif test "$prefix" != "xNONE"; then
-- LIBFLAC_CFLAGS="-I$prefix/include"
-- fi
--
- AC_MSG_CHECKING(for libFLAC)
- no_libFLAC=""
-
---- a/autoconf/libOggFLAC.m4
-+++ b/autoconf/libOggFLAC.m4
-@@ -25,24 +25,8 @@ AC_ARG_ENABLE(libOggFLACtest,
- [Do not try to compile and run a test libOggFLAC program]),,
- [enable_libOggFLACtest=yes])
-
-- if test "x$libOggFLAC_libraries" != "x" ; then
-- LIBOGGFLAC_LIBS="-L$libOggFLAC_libraries"
-- elif test "x$libOggFLAC_prefix" != "x" ; then
-- LIBOGGFLAC_LIBS="-L$libOggFLAC_prefix/lib"
-- elif test "x$prefix" != "xNONE" ; then
-- LIBOGGFLAC_LIBS="-L$prefix/lib"
-- fi
--
- LIBOGGFLAC_LIBS="$LIBOGGFLAC_LIBS -lOggFLAC -lFLAC -lm"
-
-- if test "x$libOggFLAC_includes" != "x" ; then
-- LIBOGGFLAC_CFLAGS="-I$libOggFLAC_includes"
-- elif test "x$libOggFLAC_prefix" != "x" ; then
-- LIBOGGFLAC_CFLAGS="-I$libOggFLAC_prefix/include"
-- elif test "$prefix" != "xNONE"; then
-- LIBOGGFLAC_CFLAGS="-I$prefix/include"
-- fi
--
- AC_MSG_CHECKING(for libOggFLAC)
- no_libOggFLAC=""
-
---- a/autoconf/ogg.m4
-+++ b/autoconf/ogg.m4
-@@ -26,24 +26,8 @@ AC_ARG_ENABLE(oggtest,
- [Do not try to compile and run a test Ogg program]),,
- [enable_oggtest=yes])
-
-- if test "x$ogg_libraries" != "x" ; then
-- OGG_LIBS="-L$ogg_libraries"
-- elif test "x$ogg_prefix" != "x" ; then
-- OGG_LIBS="-L$ogg_prefix/lib"
-- elif test "x$prefix" != "xNONE" ; then
-- OGG_LIBS="-L$prefix/lib"
-- fi
--
- OGG_LIBS="$OGG_LIBS -logg"
-
-- if test "x$ogg_includes" != "x" ; then
-- OGG_CFLAGS="-I$ogg_includes"
-- elif test "x$ogg_prefix" != "x" ; then
-- OGG_CFLAGS="-I$ogg_prefix/include"
-- elif test "x$prefix" != "xNONE"; then
-- OGG_CFLAGS="-I$prefix/include"
-- fi
--
- AC_MSG_CHECKING(for Ogg)
- no_ogg=""
-
---- a/autoconf/vorbis.m4
-+++ b/autoconf/vorbis.m4
-@@ -27,27 +27,10 @@ AC_ARG_ENABLE(vorbistest,
- [Do not try to compile and run a test Vorbis program]),
- , [enable_vorbistest=yes])
-
-- if test "x$vorbis_libraries" != "x" ; then
-- VORBIS_LIBS="-L$vorbis_libraries"
-- elif test "x$vorbis_prefix" != "x" ; then
-- VORBIS_LIBS="-L$vorbis_prefix/lib"
-- elif test "x$prefix" != "xNONE"; then
-- VORBIS_LIBS="-L$prefix/lib"
-- fi
--
- VORBIS_LIBS="$VORBIS_LIBS -lvorbis -lm"
- VORBISFILE_LIBS="-lvorbisfile"
- VORBISENC_LIBS="-lvorbisenc"
-
-- if test "x$vorbis_includes" != "x" ; then
-- VORBIS_CFLAGS="-I$vorbis_includes"
-- elif test "x$vorbis_prefix" != "x" ; then
-- VORBIS_CFLAGS="-I$vorbis_prefix/include"
-- elif test "x$prefix" != "xNONE"; then
-- VORBIS_CFLAGS="-I$prefix/include"
-- fi
--
--
- AC_MSG_CHECKING(for Vorbis)
- no_vorbis=""
-
---- a/configure.in
-+++ b/configure.in
-@@ -91,21 +91,6 @@ else
- x_config_flag=yes
- fi
-
--# Checking gcc environment
--for i in `echo $LIBRARY_PATH|sed -e 's,:, ,g'`; do
-- LDFLAGS="$LDFLAGS -L${i}"
--done
--for i in `echo $C_INCLUDE_PATH|sed -e 's,:, ,g'`; do
-- CPPFLAGS="$CPPFLAGS -I${i}"
--done
--
--# add $prefix if specified.
--if test "x$prefix" != xNONE -a "x$prefix" != "x$ac_default_prefix" -a "x$prefix" != "x/usr"; then
-- LDFLAGS="-L$prefix/lib $LDFLAGS"
-- SHLDFLAGS="-L$prefix/lib $SHLDFLAGS"
-- CPPFLAGS="-I$prefix/include $CPPFLAGS"
--fi
--
- dnl add --with-includes, --with-libraries
- AC_ARG_WITH(includes,
- AS_HELP_STRING([--with-includes=DIR], [Specify include directories (colon separated)]),
diff --git a/media-sound/timidity++/files/timidity++-2.14.0-params.patch b/media-sound/timidity++/files/timidity++-2.14.0-params.patch
deleted file mode 100644
index 18790f8bffb4..000000000000
--- a/media-sound/timidity++/files/timidity++-2.14.0-params.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- a/configure.in
-+++ b/configure.in
-@@ -2245,10 +2245,15 @@
-
- AM_CONDITIONAL(W32READDIR, test "x$W32READDIR" = "xyes")
-
--SET_UNIQ_WORDS(LDFLAGS,$LDFLAGS)
--SET_UNIQ_WORDS(SHLDFLAGS,$SHLDFLAGS)
--SET_UNIQ_WORDS(CFLAGS,$EXTRACFLAGS $CFLAGS)
--SET_UNIQ_WORDS(CPPFLAGS,$CPPFLAGS $EXTRADEFS)
-+# These break flags like --param wrt #276433
-+# SET_UNIQ_WORDS(LDFLAGS,$LDFLAGS)
-+# SET_UNIQ_WORDS(SHLDFLAGS,$SHLDFLAGS)
-+# SET_UNIQ_WORDS(CFLAGS,$EXTRACFLAGS $CFLAGS)
-+# SET_UNIQ_WORDS(CPPFLAGS,$CPPFLAGS $EXTRADEFS)
-+LDFLAGS="$LDFLAGS"
-+SHLDFLAGS="$SHLDFLAGS"
-+CFLAGS="$EXTRACFLAGS $CFLAGS"
-+CPPFLAGS="$CPPFLAGS $EXTRADEFS"
-
- if test "x$oss_device" != x; then
- AC_DEFINE_UNQUOTED(OSS_DEVICE,"$oss_device", oss device name)
diff --git a/media-sound/timidity++/files/timidity++-2.15.0-clang-16-configure.patch b/media-sound/timidity++/files/timidity++-2.15.0-clang-16-configure.patch
deleted file mode 100644
index 6e29a11cad3b..000000000000
--- a/media-sound/timidity++/files/timidity++-2.15.0-clang-16-configure.patch
+++ /dev/null
@@ -1,78 +0,0 @@
-From 41c0a19ae6e67e518f9f9c43bc7d7b61971bef4e Mon Sep 17 00:00:00 2001
-From: Sam James <sam@gentoo.org>
-Date: Sun, 6 Nov 2022 03:27:57 +0000
-Subject: [PATCH] Fix configure with Clang 15
-
-Signed-off-by: Sam James <sam@gentoo.org>
---- a/autoconf/utils.m4
-+++ b/autoconf/utils.m4
-@@ -62,11 +62,12 @@ yes) i_dlfcn=define;;
- *) i_dlfcn=undef;;
- esac
- cat > dyna.c <<EOM
--fred () { }
-+int fred (void) { }
- EOM
-
- cat > fred.c <<EOM
- #include <stdio.h>
-+#include <stdlib,h>
- #$i_dlfcn I_DLFCN
- #ifdef I_DLFCN
- #include <dlfcn.h> /* the dynamic linker include file for Sunos/Solaris */
-@@ -76,9 +77,9 @@ cat > fred.c <<EOM
- #include <link.h>
- #endif
-
--extern int fred() ;
-+extern int fred(void) ;
-
--main()
-+int main(void)
- {
- void * handle ;
- void * symbol ;
---- a/configure.in
-+++ b/configure.in
-@@ -696,6 +696,7 @@ dnl ***
- AC_CACHE_CHECK([for an implementation of va_copy()],lib_cv_va_copy,[
- AC_RUN_IFELSE([AC_LANG_SOURCE([[
- #include <stdarg.h>
-+ #include <stdlib.h>
- void f (int i, ...) {
- va_list args1, args2;
- va_start (args1, i);
-@@ -704,7 +705,7 @@ AC_CACHE_CHECK([for an implementation of va_copy()],lib_cv_va_copy,[
- exit (1);
- va_end (args1); va_end (args2);
- }
-- int main() {
-+ int main(void) {
- f (0, 42);
- return 0;
- }]])],
-@@ -715,6 +716,7 @@ AC_CACHE_CHECK([for an implementation of va_copy()],lib_cv_va_copy,[
- AC_CACHE_CHECK([for an implementation of __va_copy()],lib_cv___va_copy,[
- AC_RUN_IFELSE([AC_LANG_SOURCE([[
- #include <stdarg.h>
-+ #include <stdlib.h>
- void f (int i, ...) {
- va_list args1, args2;
- va_start (args1, i);
-@@ -723,7 +725,7 @@ AC_CACHE_CHECK([for an implementation of __va_copy()],lib_cv___va_copy,[
- exit (1);
- va_end (args1); va_end (args2);
- }
-- int main() {
-+ int main(void) {
- f (0, 42);
- return 0;
- }]])],
-@@ -745,6 +747,7 @@ fi
- AC_CACHE_CHECK([whether va_lists can be copied by value],lib_cv_va_val_copy,[
- AC_RUN_IFELSE([AC_LANG_SOURCE([[
- #include <stdarg.h>
-+ #include <stdlib.h>
- void f (int i, ...) {
- va_list args1, args2;
- va_start (args1, i);
diff --git a/media-sound/timidity++/files/timidity++-2.15.0-lto-workaround.patch b/media-sound/timidity++/files/timidity++-2.15.0-lto-workaround.patch
deleted file mode 100644
index 2a9c9e8282e4..000000000000
--- a/media-sound/timidity++/files/timidity++-2.15.0-lto-workaround.patch
+++ /dev/null
@@ -1,10 +0,0 @@
-https://bugs.gentoo.org/763612
---- a/timidity/Makefile.am
-+++ b/timidity/Makefile.am
-@@ -480,3 +480,6 @@ $(top_builddir)/utils/libutils.a:
-
- objs: $(timidity_OBJECTS) $(timidity_DEPENDENCIES)
- @:
-+
-+# Prevent .symver mixup with buggy alsa headers (global asm vs. LTO partitions)
-+alsa_a.$(OBJEXT): CFLAGS += -fno-lto
diff --git a/media-sound/timidity++/files/timidity++-2.15.0-pkg-config.patch b/media-sound/timidity++/files/timidity++-2.15.0-pkg-config.patch
deleted file mode 100644
index 3c2e269be029..000000000000
--- a/media-sound/timidity++/files/timidity++-2.15.0-pkg-config.patch
+++ /dev/null
@@ -1,118 +0,0 @@
-use $PKG_CONFIG rather than `pkg-config`
-
-https://bugs.gentoo.org/497362
-get ncurses info via pkg-config while we're at it
-
-patch by Mike Frysinger <vapier@gentoo.org>
-
---- a/configure.in
-+++ b/configure.in
-@@ -163,6 +163,7 @@ AC_SUBST(xawresdir)
-
- # Checks for programs.
- AM_PATH_LISPDIR
-+PKG_PROG_PKG_CONFIG
- AC_PROG_CC
- AC_PROG_GCC_TRADITIONAL
- AC_PROG_INSTALL
-@@ -1348,8 +1349,8 @@ AC_MSG_CHECKING(enable_audio=jack)
- if test "x$au_enable_jack" = xyes; then
- AC_MSG_RESULT(yes)
- SYSEXTRAS="$SYSEXTRAS jack_a.c"
-- EXTRALIBS="$EXTRALIBS $(pkg-config --libs jack)"
-- EXTRADEFS="$EXTRADEFS -DAU_JACK $(pkg-config --cflags jack)"
-+ EXTRALIBS="$EXTRALIBS $(${PKG_CONFIG} --libs jack)"
-+ EXTRADEFS="$EXTRADEFS -DAU_JACK $(${PKG_CONFIG} --cflags jack)"
- else
- AC_MSG_RESULT(no)
- fi
-@@ -1665,69 +1666,8 @@ dnl ncurses
- AM_CONDITIONAL(ENABLE_NCURSES, false)
- CONFIG_INTERFACE(ncurses,NCURSES,n,
- AS_HELP_STRING([--enable-ncurses], [Enable ncurses interface (default is no)]),
-- [ AC_CHECK_HEADERS(ncurses.h ncurses/curses.h curses.h)
--
--dnl #include <ncurses/curses.h> is failure on Plamo Linux 1.3/ncurses 1.9.9e
--dnl because <ncurses/curses.h> includes <unctrl.h>:
--dnl /usr/include/ncurses/curses.h:34: unctrl.h: No such file or directory
--dnl But surely there is unctl.h at /usr/include/ncurses/unctrl.h.
--dnl configure must check ncurses header with -I/usr/include/ncurses option.
--
-- case "$ac_cv_header_curses_h$ac_cv_header_ncurses_curses_h$ac_cv_header_ncurses_h" in
-- *yes*);;
-- *) for i in /usr/include /usr/local/include; do
-- if test -f "$i/ncurses/curses.h" -a -f "$i/ncurses/unctrl.h"; then
-- AC_MSG_WARN(ncurses test is failure. Please check config.h and common.makefile later)
-- CPPFLAGS="$CPPFLAGS -I$i/ncurses"
-- break
-- fi
-- done
-- ;;
-- esac
--
-- AC_CHECK_LIB(ncurses,initscr,lib_curses_opt=-lncurses,
-- [ dnl checking pdcurses
-- AC_CHECK_LIB(curses,PDC_set_ctrl_break,
-- [ lib_curses_opt=-lcurses
-- AC_DEFINE(USE_PDCURSES,1,Define to 1 if you use PDcurses)
-- lib_user32_opt="$lib_user32_test"
-- AC_CHECK_LIB(curses, vwprintw,
-- AC_DEFINE(HAVE_VWPRINTW, 1,
-- [Define to 1 if you have the `vwprintw' function.]))
-- ],
-- [ dnl checking libpdcurses
-- AC_CHECK_LIB(pdcurses,PDC_set_ctrl_break,
-- [ lib_curses_opt=-lpdcurses
-- AC_DEFINE(USE_PDCURSES,1,Define to 1 if you use PDcurses)
-- lib_user32_opt="$lib_user32_test"
-- AC_CHECK_LIB(pdcurses, vwprintw,
-- AC_DEFINE(HAVE_VWPRINTW, 1,
-- [Define to 1 if you have the `vwprintw' function.]))
-- ],
-- [ dnl OpenBSD use -lcurses instead of -lncurses.
-- case "$target" in
-- *openbsd*)
-- AC_CHECK_LIB(curses,initscr,lib_curses_opt=-lcurses,
-- [ AC_MSG_WARN(ncurses interface is not enabled)
-- enable_ncurses=no ])
-- ;;
-- *)
-- if test "x$VCPP" = xyes || test "x$BORLANDC" = xyes || test "x$WATCOM_C" = xyes || test "x$DMC" = xyes || test "x$POCC" = xyes; then
-- lib_curses_opt=libpdcurses.lib
-- AC_DEFINE(USE_PDCURSES,1,Define to 1 if you use PDcurses)
-- AC_CHECK_LIB(pdcurses, vwprintw,
-- AC_DEFINE(HAVE_VWPRINTW, 1,
-- [Define to 1 if you have the `vwprintw' function.]))
-- else
-- AC_MSG_WARN(ncurses interface is not enabled)
-- enable_ncurses=no
-- fi
-- ;;
-- esac
-- ])
-- ],
-- $lib_user32_test)
-- ])
-+ [ CPPFLAGS="$CPPFLAGS $(${PKG_CONFIG} --cflags ncurses)"
-+ lib_curses_opt=$(${PKG_CONFIG} --libs ncurses)
- ],
- [ LIBS="$LIBS $lib_curses_opt"
- case "$target" in
-@@ -1894,7 +1834,7 @@ CONFIG_INTERFACE(xaw,XAW,a,
- lib_xmu_opt=-lXmu
- lib_xt_opt=-lXt
- if test "x$enable_xft" = "xyes" && test "x$have_xaw" != "xno"; then
-- XFT_CFLAGS="$(pkg-config --cflags xft)";
-+ XFT_CFLAGS="$(${PKG_CONFIG} --cflags xft)";
- EXTRACT_CPPFLAGS(CPPFLAGS,CFLAGS,$XFT_CFLAGS)
- lib_xft_opt="-lXft";
- fi
-@@ -1948,7 +1888,7 @@ CONFIG_INTERFACE(xaw,XAW,a,
- ;;
- esac
- if test "x$enable_xft" = "xyes" && test "x$have_xaw" != "xno"; then
-- XFT_CFLAGS="$(pkg-config --cflags xft)";
-+ XFT_CFLAGS="$(${PKG_CONFIG} --cflags xft)";
- EXTRACT_CPPFLAGS(CPPFLAGS,CFLAGS,$XFT_CFLAGS)
- a_so_libs="$a_so_libs -lXft";
- fi
diff --git a/media-sound/timidity++/files/timidity.cfg-r1 b/media-sound/timidity++/files/timidity.cfg-r1
deleted file mode 100644
index 3923fb206204..000000000000
--- a/media-sound/timidity++/files/timidity.cfg-r1
+++ /dev/null
@@ -1,24 +0,0 @@
-##############################################################################
-#
-# timidity-update core configuration file
-#
-# Easy process:
-#
-# 1. Change directory to patch directory
-# 2. Source current/timidity.cfg
-#
-# Current patch set will always be symlinked to current, so make sure that the
-# proper timidity.cfg is in there
-#
-#
-# - source /usr/share/timidity
-# - source ~/.timidity/current
-# - Make ~/.timidity/current point to the current patch set, or to whatever
-# the individual user sets
-# - If ~/.timidity/current isn't found, it will try
-# /usr/share/timidity/current
-#
-
-dir /usr/share/timidity
-dir ~/.timidity
-source current/timidity.cfg
diff --git a/media-sound/timidity++/files/timidity.desktop.2 b/media-sound/timidity++/files/timidity.desktop.2
deleted file mode 100644
index 00c7f1db2c2d..000000000000
--- a/media-sound/timidity++/files/timidity.desktop.2
+++ /dev/null
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Comment=Software sound renderer (MIDI sequencer, MOD player)
-Name=TiMidity++ MIDI sequencer
-Terminal=true
-NoDisplay=true
-Type=Application
-Exec=timidity %F
-Categories=AudioVideo;Audio;Sequencer;
-Icon=timidity
-MimeType=audio/midi;audio/x-mod;
diff --git a/media-sound/timidity++/files/timidity.service b/media-sound/timidity++/files/timidity.service
deleted file mode 100644
index 420d88813fd3..000000000000
--- a/media-sound/timidity++/files/timidity.service
+++ /dev/null
@@ -1,10 +0,0 @@
-[Unit]
-Description=TiMidity++ Daemon
-After=sound.target
-
-[Service]
-EnvironmentFile=-/etc/conf.d/timidity
-ExecStart=/usr/bin/timidity -iA $TIMIDITY_OPTS
-
-[Install]
-WantedBy=multi-user.target
diff --git a/media-sound/timidity++/files/timidity.xpm b/media-sound/timidity++/files/timidity.xpm
deleted file mode 100644
index dc56a6d1cf6a..000000000000
--- a/media-sound/timidity++/files/timidity.xpm
+++ /dev/null
@@ -1,56 +0,0 @@
-/* XPM */
-static char * timidity_xpm[] = {
-"32 32 21 1",
-" c None",
-". c #333399",
-"+ c #000000",
-"@ c #666699",
-"# c #FFFFFF",
-"$ c #DDDDDD",
-"% c #888888",
-"& c #999999",
-"* c #7777A4",
-"= c #4949A4",
-"- c #BBBBBB",
-"; c #111111",
-"> c #444444",
-", c #2B2B2B",
-"' c #555555",
-") c #FF9999",
-"! c #FF9966",
-"~ c #666666",
-"{ c #333333",
-"] c #FF0000",
-"^ c #00FF00",
-" . .. ",
-" . ... + ",
-" . ..@ +#+ + ",
-" .@@.. +#$#+%#+ ",
-" ....@ +#$#$#+$#+ ",
-" .... +#$#$#$#+$#+ ",
-" @...@ +#$#$#$#$#+$#+ ",
-" @.... +#$#$#$#$#$#+$#+ ",
-" @...@. %#$#$#$#$#$#$#&$#& ",
-" @...@ +++++++$#++$+++++&$++ ",
-" ...@ ++$++#++$++#++$$++$++$ ",
-" @..@ %++#++$++#++$++$&++$++ ",
-" ... %#++$++#++$++#++&$++#++ ",
-"*..@ .&++#++$++#++$++++++&++ ",
-"=.. ...&#$#$#$#$#$#&-$#$& ",
-"=.. ...+++++$++#+$+++++++ ++ ",
-"=.. .. .&#$#$#$$&-$#&& ",
-"=.. .. . +&$#$&+-$#&+ ",
-" ;;;;;;;;;;;;;;;;;;;>;;;;;;; ",
-",#%%%%%%%%%%%%%%%%%';#%%%%%'+ ",
-",%+++++++++++++++''>;%'''''>+ ",
-",%+#)))))))))))!;''>;%'%~+'>+ ",
-",'+);;!;!!;!!!!!;>>>;'>+++>>+ ",
-",'+)>!!;!!;!;!;!;>>>;'>>>>>>+ ",
-",'+!!!!!!!!!!!!!;>>{;'>%~+>>+ ",
-",'+;;;;;;;;;;;;;'>>{;'>+++>>+ ",
-",'>>>>>>>>>>>>>>>>>{;'>>>>>>+> ",
-",'%~'>>%~'>>'>'>'>>{;'>%~+>{++> ",
-",']++>>^++>>+>+>+>>{;'>+++>{++>>",
-",'>>>>>>>>>>>>>>{{{';'>>{{{'+>>~",
-" +++++++++++++++++++>+++++++>>~ ",
-" "};
diff --git a/media-sound/timidity++/metadata.xml b/media-sound/timidity++/metadata.xml
deleted file mode 100644
index 97dcecae95ad..000000000000
--- a/media-sound/timidity++/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>sound@gentoo.org</email>
- <name>Gentoo Sound project</name>
- </maintainer>
- <upstream>
- <remote-id type="cpe">cpe:/a:timidity\\+\\+_project:timidity\\+\\+</remote-id>
- </upstream>
- <origin>baldeagleos-repo</origin>
-</pkgmetadata>
diff --git a/media-sound/timidity++/timidity++-2.15.0-r6.ebuild b/media-sound/timidity++/timidity++-2.15.0-r6.ebuild
deleted file mode 100644
index 4fbfe5bcbe6a..000000000000
--- a/media-sound/timidity++/timidity++-2.15.0-r6.ebuild
+++ /dev/null
@@ -1,239 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools desktop elisp-common flag-o-matic systemd xdg
-
-MY_PV="${PV/_/-}"
-MY_P="TiMidity++-${MY_PV}"
-
-DESCRIPTION="Handy MIDI to WAV converter with OSS and ALSA output support"
-HOMEPAGE="https://timidity.sourceforge.net/"
-SRC_URI="https://downloads.sourceforge.net/timidity/${MY_P}.tar.xz"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~sparc x86"
-IUSE="alsa ao emacs flac gtk jack motif nas ncurses ogg oss selinux slang speex tk vorbis X Xaw3d"
-
-REQUIRED_USE="tk? ( X )"
-
-DEPEND="
- alsa? ( media-libs/alsa-lib )
- ao? ( >=media-libs/libao-0.8.5 )
- emacs? ( >=app-editors/emacs-23.1:* )
- flac? ( media-libs/flac:= )
- gtk? ( x11-libs/gtk+:2 )
- jack? ( virtual/jack )
- motif? ( >=x11-libs/motif-2.3:0 )
- nas? ( >=media-libs/nas-1.4 )
- ncurses? ( sys-libs/ncurses:0= )
- ogg? ( media-libs/libogg )
- slang? ( sys-libs/slang )
- speex? ( media-libs/speex )
- tk? ( dev-lang/tk:= )
- vorbis? ( media-libs/libvorbis )
- X? (
- media-libs/libpng:=
- x11-libs/libX11
- x11-libs/libXext
- Xaw3d? ( x11-libs/libXaw3d )
- !Xaw3d? ( x11-libs/libXaw )
- )
-"
-
-RDEPEND="
- ${DEPEND}
- acct-group/audio
- acct-group/nobody
- acct-user/timidity
- app-eselect/eselect-timidity
- alsa? ( media-sound/alsa-utils )
- selinux? ( sec-policy/selinux-timidity )
-"
-
-PDEPEND="|| ( media-sound/timidity-eawpatches media-sound/timidity-freepats )"
-
-SITEFILE=50${PN}-gentoo.el
-
-DOCS=( AUTHORS ChangeLog NEWS README "${FILESDIR}"/timidity.cfg-r1 )
-
-PATCHES=(
- "${FILESDIR}"/${PN}-2.14.0-params.patch
- "${FILESDIR}"/${PN}-2.14.0-ar.patch
- "${FILESDIR}"/${PN}-2.14.0-configure-flags.patch
- "${FILESDIR}"/${PN}-2.15.0-pkg-config.patch
- "${FILESDIR}"/${PN}-2.14.0-CVE-2017-1154{6,7}.patch
- "${FILESDIR}"/${PN}-2.15.0-lto-workaround.patch
- "${FILESDIR}"/${PN}-2.15.0-clang-16-configure.patch
-)
-
-src_prepare() {
- default
-
- mv configure.{in,ac} || die
-
- eautoreconf
-}
-
-src_configure() {
- export EXTRACFLAGS="${CFLAGS}" #385817
-
- local audios
- # List by preference
- local xaw_provider=$(usex Xaw3d 'xaw3d' 'xaw')
-
- # configure workarounds: configure.in here is written for an old version
- # of autoconf and upstream seems quite dead.
- #
- # 1. Avoid janky configure test breaking
- # ```checking for sys/wait.h that is POSIX.1 compatible... yes
- # ./configure: 7995: test: =: unexpected operator```
- export ac_cv_header_sys_time_h=yes
- #
- # 2. And yes, we expect standard header locations (this configure test is flaky for us too)
- # This avoids a bunch of implicit decl. errors which only happen with USE=-Xaw3d(?!)
- append-cppflags -DSTDC_HEADERS
-
- # bug #943939
- append-cflags -std=gnu17
-
- local myeconfargs=(
- --localstatedir=/var/state/${PN}
- --with-module-dir="${EPREFIX}/usr/share/timidity"
- --with-lispdir="${SITELISP}/${PN}"
- --with-elf
- --enable-server
- --enable-network
- --enable-dynamic
- --enable-vt100
- --enable-spline=cubic
- $(use_enable emacs)
- $(use_enable slang)
- $(use_enable ncurses)
- $(use_with X x)
- $(use_enable X spectrogram)
- $(use_enable X wrd)
- $(use_enable X xskin)
- $(use_enable X xaw)
- $(use_enable gtk)
- $(use_enable tk tcltk)
- $(use_enable motif)
- $(use_with Xaw3d xawlib ${xaw_provider})
- )
-
- use flac && audios+=",flac"
- use speex && audios+=",speex"
- use vorbis && audios+=",vorbis"
- use ogg && audios+=",ogg"
- use oss && audios+=",oss"
- use jack && audios+=",jack"
- use ao && audios+=",ao"
-
- if use nas; then
- audios+=",nas"
- myeconfargs+=(
- --with-nas-library="/usr/$(get_libdir)/libaudio.so"
- --with-x
- )
- use X || ewarn "Basic X11 support will be enabled because required by nas."
- fi
-
- if use alsa; then
- audios+=",alsa"
- myeconfargs+=(
- --with-default-output=alsa
- --enable-alsaseq
- )
- fi
-
- if use motif; then
- myeconfargs+=(
- --with-x
- )
- use X || ewarn "Basic X11 support will be enabled because required by motif."
- fi
-
- # needs to come after all audios have been collected
- myeconfargs+=(
- --enable-audio=${audios}
- )
-
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- einstalldocs
-
- # these are only for the ALSA sequencer mode
- if use alsa; then
- newconfd "${FILESDIR}"/conf.d.timidity.2 timidity
- newinitd "${FILESDIR}"/init.d.timidity.4 timidity
-
- systemd_dounit "${FILESDIR}"/timidity.service
- fi
-
- insinto /etc
- newins "${FILESDIR}"/timidity.cfg-r1 timidity.cfg
-
- dodir /usr/share/timidity
- dosym ../../../etc/timidity.cfg /usr/share/timidity/timidity.cfg
-
- if use emacs; then
- elisp-site-file-install "${FILESDIR}/${SITEFILE}"
- fi
-
- doicon "${FILESDIR}"/timidity.xpm
- newmenu "${FILESDIR}"/timidity.desktop.2 timidity.desktop
-
- # Order of preference: gtk, X (Xaw), ncurses, slang
- # Do not create menu item for terminal ones
- local interface="-id"
- local terminal="true"
- local nodisplay="true"
- if use gtk || use X; then
- interface="-ia"
- terminal="false"
- nodisplay="false"
- use gtk && interface="-ig"
- elif use ncurses || use slang; then
- local interface="-is"
- use ncurses && interface="-in"
- fi
- sed -e "s/Exec=timidity/Exec=timidity ${interface}/" \
- -e "s/Terminal=.*/Terminal=${terminal}/" \
- -e "s/NoDisplay=.*/NoDisplay=${nodisplay}/" \
- -i "${ED}"/usr/share/applications/timidity.desktop || die
-}
-
-pkg_preinst() {
- xdg_pkg_preinst
-}
-
-pkg_postinst() {
- use emacs && elisp-site-regen
-
- elog "A timidity config file has been installed in /etc/timidity.cfg."
- elog "Do not edit this file as it will interfere with the eselect timidity tool."
- elog "The tool 'eselect timidity' can be used to switch between installed patchsets."
-
- if use alsa; then
- elog "An init script for the alsa timidity sequencer has been installed."
- elog "If you wish to use the timidity virtual sequencer, edit /etc/conf.d/timidity"
- elog "and run 'rc-update add timidity <runlevel> && /etc/init.d/timidity start'"
- fi
-
- if use sparc; then
- elog "Only saving to wave file and ALSA soundback has been tested working."
- fi
-
- xdg_pkg_postinst
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
- xdg_pkg_postrm
-}