Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24331 - Timidity installation errors
Summary: Timidity installation errors
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-12 05:19 UTC by Andrea Cerrito
Modified: 2003-07-20 23:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea Cerrito 2003-07-12 05:19:01 UTC
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"
Comment 1 J. Ellis (RETIRED) gentoo-dev 2003-07-18 23:41:06 UTC
Something odd here. Timidity-2.12.0-r2 installs timidity.cfg in /usr/share/timidity.

reopen if i've misunderstood your issue.
Comment 2 Andrea Cerrito 2003-07-20 00:26:49 UTC
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 
 
Comment 3 J. Ellis (RETIRED) gentoo-dev 2003-07-20 00:35:06 UTC
Yep, you are right. I was looking mislead by something i'd installed myself...

Will fix for real tomorrow. Thanks for putting me right :-)
Comment 4 Andrea Cerrito 2003-07-20 16:59:19 UTC
No problem :P
Comment 5 J. Ellis (RETIRED) gentoo-dev 2003-07-20 19:51:56 UTC
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.
Comment 6 J. Ellis (RETIRED) gentoo-dev 2003-07-20 20:52:08 UTC
Done.
Comment 7 Andrea Cerrito 2003-07-20 23:32:39 UTC
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