# timidity/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] # 1. The source tarball that's presently used for this package is # very old (it dates back to 2004). However, as of mid-2013, it was # the latest known official version (not counting a special version # that was released for MS-Windows only). #--------------------------------------------------------------------- # 2. "timidity's" FLAC support is omitted, because this feature pres- # ently involves some dependency issues (related to XMMS) that need to # be worked out. #--------------------------------------------------------------------- # 3. This distro configures "timidity" so that it'll work without X. # "timidity's" NAS support apparently requires X, so NAS support is # also omitted. #--------------------------------------------------------------------- # 4. This distro "upx-compresses" executables, in many cases. The # setting "exepack = yes" is frequently used for this purpose. This # setting runs "upx" after the main build procedure is completed. How- # ever, we can't use "exepack = yes" for "timidity", because "timid- # ity" is installed with "set-user-id" enabled, and "upx" doesn't sup- # port "set-user-id" executables. # It's apparently safe to "upx-compress" executables if you do so *be- # fore* turning "set-user-id" on. Therefore, as an alternative, this # "cfg" file "upx-compresses" "timidity" explicitly shortly before # "chmod u+s" is used. #--------------------------------------------------------------------- [buildtimes] 00.02 hours (or 001.13 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.03 hours (or 001.53 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.03 hours (or 001.62 minutes) - HP EliteBook 8560w 32GB RAM 00.15 hours (or 008.87 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] build = default exepack = no # See "technotes" in "cfg" file license = See "license*.txt" in installed tree licfile = COPYING revision = numeric tmpsize = 19M unpack = relaxed #--------------------------------------------------------------------- [depends] actools alsa esound freepats jackone libogg libvorbis ncurses pkgconf #--------------------------------------------------------------------- [configure] MANBASE=$PKGDIR_PROD/man mkdir -p $MANBASE rm -fr /etc/timidity{,.cfg} mkdir -p $PKGDIR_PROD/{bin,etc,lib,man/man1} export CFLAGS="-O3 -fomit-frame-pointer -funroll-loops" bash ./autogen.sh \ --prefix=$PKGDIR_PROD \ --build=$LACARCHBUILD \ --host=$LACARCHHOST \ --disable-dependency-tracking \ --disable-emacs \ --enable-audio=alsa,esd,jack,vorbis \ --enable-dynamic=ncurses \ --enable-network \ --mandir=$MANBASE \ --without-x #--------------------------------------------------------------------- # For an explanation of the reason why we're using set-user-id mode # here, see the official TiMidity++ INSTALL document [it's included in # the source tarball]. # For some information related to the use of "upx" here, see the notes # at the start of this file. [postbuild] echo postbuild start EXEFILE=$PKGDIR_PROD/bin/timidity export PRODTREE=$PRODTREE perl $PKGDIR_SPECIAL/maketimcfg upx --lzma $EXEFILE chown root $EXEFILE chmod u+s $EXEFILE #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = http://packages.debian.org/unstable/source/timidity url_home = http://timidity.sourceforge.net/ url_lfs = n/a url_tarball = https://downloads.sourceforge.net/timidity/\ TiMidity++-2.14.0.tar.bz2 #--------------------------------------------------------------------- [history] 170721 Updated from 2.13.2 to 2.14.0