Timidity installation contains little errors. 1) the ebuild tell that a file called /etc/timidity.cfg must be present, or timitidy will play with no sound. But timidity search the timitidy.cfg in /usr/share/timitidy, not /etc. 2) there is no timidity.cfg example file, and there is no help in the ebuild. The example file can be downloaded from timidity website (http://www.onicos.com/staff/iz/timidity/dist/cfg/timidity.cfg and http://www.onicos.com/staff/iz/timidity/dist/cfg/xgmap.cfg). Reproducible: Always Steps to Reproduce: 1. emerge timidity 2. use timidity to play a midi Actual Results: Timitidy complains about missing /usr/share/timidity/timidity.cfg. Expected Results: Playing the midi. Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.21 i686 Intel(R) Pentium(R) III Mobile CPU 1200MHz GENTOO_MIRRORS="http://mi.mirror.garr.it/mirrors/gentoo http://212.219.56.162/sites/www.ibiblio.org/gentoo/ http://194.83.57.2/sites/www.ibiblio.org/gentoo/ http://194.83.57.3/sites/www.ibiblio.org/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.flashnet.it/mirror/12/sunsite.unc.edu/Gentoo http://ibiblio.org/pub/Linux/ftp.edisontel.com/pub/Sunsite_Mirror http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo ftp://sunsite.cnlab-switch.ch/mirror/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo http://gentoo.oregonstate.edu " CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/home/portdir" DISTDIR="/home/portdir/distfiles" PKGDIR="/home/portdir/packages" PORTAGE_TMPDIR="/home" PORTDIR_OVERLAY="" USE="oss 3dnow mad mikmod aalib tcltk guile ruby sdl perl gtk qt x86 acpi acl alsa apm avi berkdb bonobo cdr crypt cups directfb dga dvd encode gdbm gif gpm fbcon krb4 kerberos imlib java jpeg gnome gtk2 gtkhtml ldap libg++ libwww miknod mmx motif mozilla mpeg ncurses nls oggvorbis opengl pam pdflib png pnp python quicktime radeon readline samba slang spell sse ssl svga tcpd truetype usb X xml2 xmms xv zlib kde arts -esd" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -mfpmath=sse -O2 -pipe -fomit-frame-pointer -mmmx -msse -falign-functions=4 -fforce-addr" CXXFLAGS="-march=pentium3 -mfpmath=sse -O2 -pipe -fomit-frame-pointer -mmmx -msse -falign-functions=4 -fforce-addr" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
Something odd here. Timidity-2.12.0-r2 installs timidity.cfg in /usr/share/timidity. reopen if i've misunderstood your issue.
Sorry, but timidity is NOT installing the conf file. >>> Merging media-sound/timidity++-2.12.0-r2 to / --- /usr/ --- /usr/lib/ --- /usr/lib/timidity/ --- /usr/lib/timidity/bitmaps/ >>> /usr/lib/timidity/bitmaps/back.xbm >>> /usr/lib/timidity/bitmaps/fwrd.xbm >>> /usr/lib/timidity/bitmaps/next.xbm >>> /usr/lib/timidity/bitmaps/pause.xbm >>> /usr/lib/timidity/bitmaps/play.xbm >>> /usr/lib/timidity/bitmaps/prev.xbm >>> /usr/lib/timidity/bitmaps/quit.xbm >>> /usr/lib/timidity/bitmaps/stop.xbm >>> /usr/lib/timidity/bitmaps/random.xbm >>> /usr/lib/timidity/bitmaps/repeat.xbm >>> /usr/lib/timidity/bitmaps/timidity.xbm --- /usr/share/ --- /usr/share/timidity/ >>> /usr/share/timidity/timidity.el --- /usr/share/man/ --- /usr/share/man/man1/ >>> /usr/share/man/man1/timidity.1.gz --- /usr/share/man/man5/ >>> /usr/share/man/man5/timidity.cfg.5.gz --- /usr/share/doc/ >>> /usr/share/doc/timidity++-2.12.0-r2/ >>> /usr/share/doc/timidity++-2.12.0-r2/AUTHORS.gz >>> /usr/share/doc/timidity++-2.12.0-r2/COPYING.gz >>> /usr/share/doc/timidity++-2.12.0-r2/INSTALL.gz >>> /usr/share/doc/timidity++-2.12.0-r2/ChangeLog.gz >>> /usr/share/doc/timidity++-2.12.0-r2/ChangeLog.1.gz >>> /usr/share/doc/timidity++-2.12.0-r2/NEWS.gz >>> /usr/share/doc/timidity++-2.12.0-r2/INSTALL.jp.gz >>> /usr/share/doc/timidity++-2.12.0-r2/README.gz >>> /usr/share/doc/timidity++-2.12.0-r2/README.jp.gz --- /usr/bin/ >>> /usr/bin/timidity
Yep, you are right. I was looking mislead by something i'd installed myself... Will fix for real tomorrow. Thanks for putting me right :-)
No problem :P
So, it turns out that the timidity.cfg that i had installed was part of timidity-eawpatches. I must have worked on the ebuild for that package at sometime. As patch packages obviously install timidity.cfg files, the right thing to do is to install a timidity.cfg file as an example. Something like /usr/share/timidity/config/timidity.cfg with instructions to move this to /usr/share/timidity/timidity.cfg.
Done.
It works. But why don't copy even the file xgmap.cfg in /usr/share/timidity? The example file needs it on line 77. ############################################################################## # Use XG program map. # "#extension" is keyword on TiMidity++, not comment. #extension source xgmap.cfg