idjc-0.8.9/0000755000175000017500000000000012142736727007455 500000000000000idjc-0.8.9/bootstrap0000755000175000017500000000066312113174301011323 00000000000000#!/bin/sh missing() { echo "$1, is missing - please install it and try again" exit 1 } check() { for i in $* ; do which $i 1>/dev/null 2>/dev/null || missing $i done } check autoreconf libtool autopoint convert echo "remaking missing files in build environment" # Directory exists in git source only. if [ -d docsrc ]; then cd docsrc make && make doc cd .. fi cd libshout-idjc autoreconf -ifs cd .. autoreconf -ifs idjc-0.8.9/missing0000755000175000017500000002370312133312012010752 00000000000000#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2012-01-06.18; # UTC # Copyright (C) 1996-2012 Free Software Foundation, Inc. # Originally by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then echo 1>&2 "Try '$0 --help' for more information" exit 1 fi run=: sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' sed_minuso='s/.* -o \([^ ]*\).*/\1/p' # In the cases where this matters, 'missing' is being run in the # srcdir already. if test -f configure.ac; then configure_ac=configure.ac else configure_ac=configure.in fi msg="missing on your system" case $1 in --run) # Try to run requested program, and just exit if it succeeds. run= shift "$@" && exit 0 # Exit code 63 means version mismatch. This often happens # when the user try to use an ancient version of a tool on # a file that requires a minimum version. In this case we # we should proceed has if the program had been absent, or # if --run hadn't been passed. if test $? = 63; then run=: msg="probably too old" fi ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Handle 'PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an error status if there is no known handling for PROGRAM. Options: -h, --help display this help and exit -v, --version output version information and exit --run try to run the given command, and emulate it if it fails Supported PROGRAM values: aclocal touch file 'aclocal.m4' autoconf touch file 'configure' autoheader touch file 'config.h.in' autom4te touch the output file, or create a stub one automake touch all 'Makefile.in' files bison create 'y.tab.[ch]', if possible, from existing .[ch] flex create 'lex.yy.c', if possible, from existing .c help2man touch the output file lex create 'lex.yy.c', if possible, from existing .c makeinfo touch the output file yacc create 'y.tab.[ch]', if possible, from existing .[ch] Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and 'g' are ignored when checking the name. Send bug reports to ." exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing $scriptversion (GNU Automake)" exit $? ;; -*) echo 1>&2 "$0: Unknown '$1' option" echo 1>&2 "Try '$0 --help' for more information" exit 1 ;; esac # normalize program name to check for. program=`echo "$1" | sed ' s/^gnu-//; t s/^gnu//; t s/^g//; t'` # Now exit if we have it, but it failed. Also exit now if we # don't have it and --version was passed (most likely to detect # the program). This is about non-GNU programs, so use $1 not # $program. case $1 in lex*|yacc*) # Not GNU programs, they don't have --version. ;; *) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then # Could not run --version or --help. This is probably someone # running '$TOOL --version' or '$TOOL --help' to check whether # $TOOL exists and not knowing $TOOL uses missing. exit 1 fi ;; esac # If it does not exist, or fails to run (possibly an outdated version), # try to emulate it. case $program in aclocal*) echo 1>&2 "\ WARNING: '$1' is $msg. You should only need it if you modified 'acinclude.m4' or '${configure_ac}'. You might want to install the Automake and Perl packages. Grab them from any GNU archive site." touch aclocal.m4 ;; autoconf*) echo 1>&2 "\ WARNING: '$1' is $msg. You should only need it if you modified '${configure_ac}'. You might want to install the Autoconf and GNU m4 packages. Grab them from any GNU archive site." touch configure ;; autoheader*) echo 1>&2 "\ WARNING: '$1' is $msg. You should only need it if you modified 'acconfig.h' or '${configure_ac}'. You might want to install the Autoconf and GNU m4 packages. Grab them from any GNU archive site." files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` test -z "$files" && files="config.h" touch_files= for f in $files; do case $f in *:*) touch_files="$touch_files "`echo "$f" | sed -e 's/^[^:]*://' -e 's/:.*//'`;; *) touch_files="$touch_files $f.in";; esac done touch $touch_files ;; automake*) echo 1>&2 "\ WARNING: '$1' is $msg. You should only need it if you modified 'Makefile.am', 'acinclude.m4' or '${configure_ac}'. You might want to install the Automake and Perl packages. Grab them from any GNU archive site." find . -type f -name Makefile.am -print | sed 's/\.am$/.in/' | while read f; do touch "$f"; done ;; autom4te*) echo 1>&2 "\ WARNING: '$1' is needed, but is $msg. You might have modified some files without having the proper tools for further handling them. You can get '$1' as part of Autoconf from any GNU archive site." file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -f "$file"; then touch $file else test -z "$file" || exec >$file echo "#! /bin/sh" echo "# Created by GNU Automake missing as a replacement of" echo "# $ $@" echo "exit 0" chmod +x $file exit 1 fi ;; bison*|yacc*) echo 1>&2 "\ WARNING: '$1' $msg. You should only need it if you modified a '.y' file. You may need the Bison package in order for those modifications to take effect. You can get Bison from any GNU archive site." rm -f y.tab.c y.tab.h if test $# -ne 1; then eval LASTARG=\${$#} case $LASTARG in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.h fi ;; esac fi if test ! -f y.tab.h; then echo >y.tab.h fi if test ! -f y.tab.c; then echo 'main() { return 0; }' >y.tab.c fi ;; lex*|flex*) echo 1>&2 "\ WARNING: '$1' is $msg. You should only need it if you modified a '.l' file. You may need the Flex package in order for those modifications to take effect. You can get Flex from any GNU archive site." rm -f lex.yy.c if test $# -ne 1; then eval LASTARG=\${$#} case $LASTARG in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` if test -f "$SRCFILE"; then cp "$SRCFILE" lex.yy.c fi ;; esac fi if test ! -f lex.yy.c; then echo 'main() { return 0; }' >lex.yy.c fi ;; help2man*) echo 1>&2 "\ WARNING: '$1' is $msg. You should only need it if you modified a dependency of a manual page. You may need the Help2man package in order for those modifications to take effect. You can get Help2man from any GNU archive site." file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -f "$file"; then touch $file else test -z "$file" || exec >$file echo ".ab help2man is required to generate this page" exit $? fi ;; makeinfo*) echo 1>&2 "\ WARNING: '$1' is $msg. You should only need it if you modified a '.texi' or '.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy 'make' (AIX, DU, IRIX). You might want to install the Texinfo package or the GNU make package. Grab either from any GNU archive site." # The file to touch is that specified with -o ... file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -z "$file"; then # ... or it is the one specified with @setfilename ... infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` file=`sed -n ' /^@setfilename/{ s/.* \([^ ]*\) *$/\1/ p q }' $infile` # ... or it is derived from the source name (dir/f.texi becomes f.info) test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info fi # If the file does not exist, the user really needs makeinfo; # let's fail without touching anything. test -f $file || exit 1 touch $file ;; *) echo 1>&2 "\ WARNING: '$1' is needed, and is $msg. You might have modified some files without having the proper tools for further handling them. Check the 'README' file, it often tells you about the needed prerequisites for installing this package. You may also peek at any GNU archive site, in case some other package would contain this missing '$1' program." exit 1 ;; esac exit 0 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: idjc-0.8.9/install-sh0000755000175000017500000003325512133312012011362 00000000000000#!/bin/sh # install - install a program, script, or datafile scriptversion=2011-11-20.07; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. # # # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # 'make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. nl=' ' IFS=" "" $nl" # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit=${DOITPROG-} if test -z "$doit"; then doit_exec=exec else doit_exec=$doit fi # Put in absolute file names if you don't have them in your path; # or use environment vars. chgrpprog=${CHGRPPROG-chgrp} chmodprog=${CHMODPROG-chmod} chownprog=${CHOWNPROG-chown} cmpprog=${CMPPROG-cmp} cpprog=${CPPROG-cp} mkdirprog=${MKDIRPROG-mkdir} mvprog=${MVPROG-mv} rmprog=${RMPROG-rm} stripprog=${STRIPPROG-strip} posix_glob='?' initialize_posix_glob=' test "$posix_glob" != "?" || { if (set -f) 2>/dev/null; then posix_glob= else posix_glob=: fi } ' posix_mkdir= # Desired mode of installed file. mode=0755 chgrpcmd= chmodcmd=$chmodprog chowncmd= mvcmd=$mvprog rmcmd="$rmprog -f" stripcmd= src= dst= dir_arg= dst_arg= copy_on_change=false no_target_directory= usage="\ Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... In the 1st form, copy SRCFILE to DSTFILE. In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. In the 4th, create DIRECTORIES. Options: --help display this help and exit. --version display version info and exit. -c (ignored) -C install only if different (preserve the last data modification time) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. -s $stripprog installed files. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " while test $# -ne 0; do case $1 in -c) ;; -C) copy_on_change=true;; -d) dir_arg=true;; -g) chgrpcmd="$chgrpprog $2" shift;; --help) echo "$usage"; exit $?;; -m) mode=$2 case $mode in *' '* | *' '* | *' '* | *'*'* | *'?'* | *'['*) echo "$0: invalid mode: $mode" >&2 exit 1;; esac shift;; -o) chowncmd="$chownprog $2" shift;; -s) stripcmd=$stripprog;; -t) dst_arg=$2 # Protect names problematic for 'test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac shift;; -T) no_target_directory=true;; --version) echo "$0 $scriptversion"; exit $?;; --) shift break;; -*) echo "$0: invalid option: $1" >&2 exit 1;; *) break;; esac shift done if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dst_arg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dst_arg" shift # fnord fi shift # arg dst_arg=$arg # Protect names problematic for 'test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac done fi if test $# -eq 0; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 fi # It's OK to call 'install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi if test -z "$dir_arg"; then do_exit='(exit $ret); exit $ret' trap "ret=129; $do_exit" 1 trap "ret=130; $do_exit" 2 trap "ret=141; $do_exit" 13 trap "ret=143; $do_exit" 15 # Set umask so as not to create temps with too-generous modes. # However, 'strip' requires both read and write access to temps. case $mode in # Optimize common cases. *644) cp_umask=133;; *755) cp_umask=22;; *[0-7]) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw='% 200' fi cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; *) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw=,u+rw fi cp_umask=$mode$u_plus_rw;; esac fi for src do # Protect names problematic for 'test' and other utilities. case $src in -* | [=\(\)!]) src=./$src;; esac if test -n "$dir_arg"; then dst=$src dstdir=$dst test -d "$dstdir" dstdir_status=$? else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if test ! -f "$src" && test ! -d "$src"; then echo "$0: $src does not exist." >&2 exit 1 fi if test -z "$dst_arg"; then echo "$0: no destination specified." >&2 exit 1 fi dst=$dst_arg # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. if test -d "$dst"; then if test -n "$no_target_directory"; then echo "$0: $dst_arg: Is a directory" >&2 exit 1 fi dstdir=$dst dst=$dstdir/`basename "$src"` dstdir_status=0 else # Prefer dirname, but fall back on a substitute if dirname fails. dstdir=` (dirname "$dst") 2>/dev/null || expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$dst" : 'X\(//\)[^/]' \| \ X"$dst" : 'X\(//\)$' \| \ X"$dst" : 'X\(/\)' \| . 2>/dev/null || echo X"$dst" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q' ` test -d "$dstdir" dstdir_status=$? fi fi obsolete_mkdir_used=false if test $dstdir_status != 0; then case $posix_mkdir in '') # Create intermediate dirs using mode 755 as modified by the umask. # This is like FreeBSD 'install' as of 1997-10-28. umask=`umask` case $stripcmd.$umask in # Optimize common cases. *[2367][2367]) mkdir_umask=$umask;; .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; *[0-7]) mkdir_umask=`expr $umask + 22 \ - $umask % 100 % 40 + $umask % 20 \ - $umask % 10 % 4 + $umask % 2 `;; *) mkdir_umask=$umask,go-w;; esac # With -d, create the new directory with the user-specified mode. # Otherwise, rely on $mkdir_umask. if test -n "$dir_arg"; then mkdir_mode=-m$mode else mkdir_mode= fi posix_mkdir=false case $umask in *[123567][0-7][0-7]) # POSIX mkdir -p sets u+wx bits regardless of umask, which # is incompatible with FreeBSD 'install' when (umask & 300) != 0. ;; *) tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 if (umask $mkdir_umask && exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 then if test -z "$dir_arg" || { # Check for POSIX incompatibilities with -m. # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or # other-writable bit of parent directory when it shouldn't. # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. ls_ld_tmpdir=`ls -ld "$tmpdir"` case $ls_ld_tmpdir in d????-?r-*) different_mode=700;; d????-?--*) different_mode=755;; *) false;; esac && $mkdirprog -m$different_mode -p -- "$tmpdir" && { ls_ld_tmpdir_1=`ls -ld "$tmpdir"` test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" } } then posix_mkdir=: fi rmdir "$tmpdir/d" "$tmpdir" else # Remove any dirs left behind by ancient mkdir implementations. rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null fi trap '' 0;; esac;; esac if $posix_mkdir && ( umask $mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" ) then : else # The umask is ridiculous, or mkdir does not conform to POSIX, # or it failed possibly due to a race condition. Create the # directory the slow way, step by step, checking for races as we go. case $dstdir in /*) prefix='/';; [-=\(\)!]*) prefix='./';; *) prefix='';; esac eval "$initialize_posix_glob" oIFS=$IFS IFS=/ $posix_glob set -f set fnord $dstdir shift $posix_glob set +f IFS=$oIFS prefixes= for d do test X"$d" = X && continue prefix=$prefix$d if test -d "$prefix"; then prefixes= else if $posix_mkdir; then (umask=$mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break # Don't fail if two instances are running concurrently. test -d "$prefix" || exit 1 else case $prefix in *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; *) qprefix=$prefix;; esac prefixes="$prefixes '$qprefix'" fi fi prefix=$prefix/ done if test -n "$prefixes"; then # Don't fail if two instances are running concurrently. (umask $mkdir_umask && eval "\$doit_exec \$mkdirprog $prefixes") || test -d "$dstdir" || exit 1 obsolete_mkdir_used=true fi fi fi if test -n "$dir_arg"; then { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 else # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ rmtmp=$dstdir/_rm.$$_ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 # Copy the file name to the temp name. (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && # and set any options; do chmod last to preserve setuid bits. # # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $cpprog $src $dsttmp" command. # { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && # If -C, don't bother to copy if it wouldn't change the file. if $copy_on_change && old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && eval "$initialize_posix_glob" && $posix_glob set -f && set X $old && old=:$2:$4:$5:$6 && set X $new && new=:$2:$4:$5:$6 && $posix_glob set +f && test "$old" = "$new" && $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 then rm -f "$dsttmp" else # Rename the file to the real destination. $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not # support -f. { # Now remove or move aside any old file at destination location. # We try this two ways since rm can't unlink itself on some # systems and the destination file might be busy for other # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { test ! -f "$dst" || $doit $rmcmd -f "$dst" 2>/dev/null || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } } || { echo "$0: cannot unlink or rename $dst" >&2 (exit 1); exit 1 } } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dst" } fi || exit 1 trap '' 0 fi done # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: idjc-0.8.9/config.sub0000755000175000017500000010612512074047627011363 00000000000000#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, # 2011, 2012 Free Software Foundation, Inc. timestamp='2012-10-10' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software # can handle that machine. It does not imply ALL GNU software can. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, see . # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Please send patches to . Submit a context # diff and a properly formatted GNU ChangeLog entry. # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. # If it is invalid, we print an error message on stderr and exit with code 1. # Otherwise, we print the canonical config type on stdout and succeed. # You can get the latest version of this script from: # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases # that are meaningful with *any* GNU software. # Each package is responsible for reporting which valid configurations # it does not support. The user should be able to distinguish # a failure to support a valid configuration from a meaningless # configuration. # The goal of this file is to map all the various variations of a given # machine specification into a single specification in the form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # or in some cases, the newer four-part form: # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # It is wrong to echo any other type of specification. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] CPU-MFR-OPSYS $0 [OPTION] ALIAS Canonicalize a configuration name. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.sub ($timestamp) Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" exit 1 ;; *local*) # First pass through any local machine types. echo $1 exit ;; * ) break ;; esac done case $# in 0) echo "$me: missing argument$help" >&2 exit 1;; 1) ;; *) echo "$me: too many arguments$help" >&2 exit 1;; esac # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ knetbsd*-gnu* | netbsd*-gnu* | \ kopensolaris*-gnu* | \ storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; android-linux) os=-linux-android basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown ;; *) basic_machine=`echo $1 | sed 's/-[^-]*$//'` if [ $basic_machine != $1 ] then os=`echo $1 | sed 's/.*-/-/'` else os=; fi ;; esac ### Let's recognize common machines as not being operating systems so ### that things like config.sub decstation-3100 work. We also ### recognize some manufacturers as not being operating systems, so we ### can provide default operating systems below. case $os in -sun*os*) # Prevent following clause from handling this invalid input. ;; -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ -apple | -axis | -knuth | -cray | -microblaze*) os= basic_machine=$1 ;; -bluegene*) os=-cnk ;; -sim | -cisco | -oki | -wec | -winbond) os= basic_machine=$1 ;; -scout) ;; -wrs) os=-vxworks basic_machine=$1 ;; -chorusos*) os=-chorusos basic_machine=$1 ;; -chorusrdb) os=-chorusrdb basic_machine=$1 ;; -hiux*) os=-hiuxwe2 ;; -sco6) os=-sco5v6 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco5) os=-sco3.2v5 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco4) os=-sco3.2v4 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2.[4-9]*) os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2v[4-9]*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco5v6*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco*) os=-sco3.2v2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -udk*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -isc) os=-isc2.2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -clix*) basic_machine=clipper-intergraph ;; -isc*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -lynx*178) os=-lynxos178 ;; -lynx*5) os=-lynxos5 ;; -lynx*) os=-lynxos ;; -ptx*) basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` ;; -windowsnt*) os=`echo $os | sed -e 's/windowsnt/winnt/'` ;; -psos*) os=-psos ;; -mint | -mint[0-9]*) basic_machine=m68k-atari os=-mint ;; esac # Decode aliases for certain CPU-COMPANY combinations. case $basic_machine in # Recognize the basic CPU types without company name. # Some are omitted here because they have special meanings below. 1750a | 580 \ | a29k \ | aarch64 | aarch64_be \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ | be32 | be64 \ | bfin \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx | dvp \ | epiphany \ | fido | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | hexagon \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ | le32 | le64 \ | lm32 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ | mips64octeon | mips64octeonel \ | mips64orion | mips64orionel \ | mips64r5900 | mips64r5900el \ | mips64vr | mips64vrel \ | mips64vr4100 | mips64vr4100el \ | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ | mips64vr5900 | mips64vr5900el \ | mipsisa32 | mipsisa32el \ | mipsisa32r2 | mipsisa32r2el \ | mipsisa64 | mipsisa64el \ | mipsisa64r2 | mipsisa64r2el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ | moxie \ | mt \ | msp430 \ | nds32 | nds32le | nds32be \ | nios | nios2 \ | ns16k | ns32k \ | open8 \ | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle \ | pyramid \ | rl78 | rx \ | score \ | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ | spu \ | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ | ubicom32 \ | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ | we32k \ | x86 | xc16x | xstormy16 | xtensa \ | z8k | z80) basic_machine=$basic_machine-unknown ;; c54x) basic_machine=tic54x-unknown ;; c55x) basic_machine=tic55x-unknown ;; c6x) basic_machine=tic6x-unknown ;; m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip) basic_machine=$basic_machine-unknown os=-none ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) ;; ms1) basic_machine=mt-unknown ;; strongarm | thumb | xscale) basic_machine=arm-unknown ;; xgate) basic_machine=$basic_machine-unknown os=-none ;; xscaleeb) basic_machine=armeb-unknown ;; xscaleel) basic_machine=armel-unknown ;; # We use `pc' rather than `unknown' # because (1) that's what they normally are, and # (2) the word "unknown" tends to confuse beginning users. i*86 | x86_64) basic_machine=$basic_machine-pc ;; # Object if more than one company name word. *-*-*) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; # Recognize the basic CPU types with company name. 580-* \ | a29k-* \ | aarch64-* | aarch64_be-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* | avr32-* \ | be32-* | be64-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* \ | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | hexagon-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ | le32-* | le64-* \ | lm32-* \ | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ | microblaze-* | microblazeel-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ | mips64octeon-* | mips64octeonel-* \ | mips64orion-* | mips64orionel-* \ | mips64r5900-* | mips64r5900el-* \ | mips64vr-* | mips64vrel-* \ | mips64vr4100-* | mips64vr4100el-* \ | mips64vr4300-* | mips64vr4300el-* \ | mips64vr5000-* | mips64vr5000el-* \ | mips64vr5900-* | mips64vr5900el-* \ | mipsisa32-* | mipsisa32el-* \ | mipsisa32r2-* | mipsisa32r2el-* \ | mipsisa64-* | mipsisa64el-* \ | mipsisa64r2-* | mipsisa64r2el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipstx39-* | mipstx39el-* \ | mmix-* \ | mt-* \ | msp430-* \ | nds32-* | nds32le-* | nds32be-* \ | nios-* | nios2-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | open8-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ | pyramid-* \ | rl78-* | romp-* | rs6000-* | rx-* \ | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | sparclite-* \ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \ | tahoe-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tile*-* \ | tron-* \ | ubicom32-* \ | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ | vax-* \ | we32k-* \ | x86-* | x86_64-* | xc16x-* | xps100-* \ | xstormy16-* | xtensa*-* \ | ymp-* \ | z8k-* | z80-*) ;; # Recognize the basic CPU types without company name, with glob match. xtensa*) basic_machine=$basic_machine-unknown ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 386bsd) basic_machine=i386-unknown os=-bsd ;; 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) basic_machine=m68000-att ;; 3b*) basic_machine=we32k-att ;; a29khif) basic_machine=a29k-amd os=-udi ;; abacus) basic_machine=abacus-unknown ;; adobe68k) basic_machine=m68010-adobe os=-scout ;; alliant | fx80) basic_machine=fx80-alliant ;; altos | altos3068) basic_machine=m68k-altos ;; am29k) basic_machine=a29k-none os=-bsd ;; amd64) basic_machine=x86_64-pc ;; amd64-*) basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; amdahl) basic_machine=580-amdahl os=-sysv ;; amiga | amiga-*) basic_machine=m68k-unknown ;; amigaos | amigados) basic_machine=m68k-unknown os=-amigaos ;; amigaunix | amix) basic_machine=m68k-unknown os=-sysv4 ;; apollo68) basic_machine=m68k-apollo os=-sysv ;; apollo68bsd) basic_machine=m68k-apollo os=-bsd ;; aros) basic_machine=i386-pc os=-aros ;; aux) basic_machine=m68k-apple os=-aux ;; balance) basic_machine=ns32k-sequent os=-dynix ;; blackfin) basic_machine=bfin-unknown os=-linux ;; blackfin-*) basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; bluegene*) basic_machine=powerpc-ibm os=-cnk ;; c54x-*) basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'` ;; c55x-*) basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'` ;; c6x-*) basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` ;; c90) basic_machine=c90-cray os=-unicos ;; cegcc) basic_machine=arm-unknown os=-cegcc ;; convex-c1) basic_machine=c1-convex os=-bsd ;; convex-c2) basic_machine=c2-convex os=-bsd ;; convex-c32) basic_machine=c32-convex os=-bsd ;; convex-c34) basic_machine=c34-convex os=-bsd ;; convex-c38) basic_machine=c38-convex os=-bsd ;; cray | j90) basic_machine=j90-cray os=-unicos ;; craynv) basic_machine=craynv-cray os=-unicosmp ;; cr16 | cr16-*) basic_machine=cr16-unknown os=-elf ;; crds | unos) basic_machine=m68k-crds ;; crisv32 | crisv32-* | etraxfs*) basic_machine=crisv32-axis ;; cris | cris-* | etrax*) basic_machine=cris-axis ;; crx) basic_machine=crx-unknown os=-elf ;; da30 | da30-*) basic_machine=m68k-da30 ;; decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) basic_machine=mips-dec ;; decsystem10* | dec10*) basic_machine=pdp10-dec os=-tops10 ;; decsystem20* | dec20*) basic_machine=pdp10-dec os=-tops20 ;; delta | 3300 | motorola-3300 | motorola-delta \ | 3300-motorola | delta-motorola) basic_machine=m68k-motorola ;; delta88) basic_machine=m88k-motorola os=-sysv3 ;; dicos) basic_machine=i686-pc os=-dicos ;; djgpp) basic_machine=i586-pc os=-msdosdjgpp ;; dpx20 | dpx20-*) basic_machine=rs6000-bull os=-bosx ;; dpx2* | dpx2*-bull) basic_machine=m68k-bull os=-sysv3 ;; ebmon29k) basic_machine=a29k-amd os=-ebmon ;; elxsi) basic_machine=elxsi-elxsi os=-bsd ;; encore | umax | mmax) basic_machine=ns32k-encore ;; es1800 | OSE68k | ose68k | ose | OSE) basic_machine=m68k-ericsson os=-ose ;; fx2800) basic_machine=i860-alliant ;; genix) basic_machine=ns32k-ns ;; gmicro) basic_machine=tron-gmicro os=-sysv ;; go32) basic_machine=i386-pc os=-go32 ;; h3050r* | hiux*) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; h8300hms) basic_machine=h8300-hitachi os=-hms ;; h8300xray) basic_machine=h8300-hitachi os=-xray ;; h8500hms) basic_machine=h8500-hitachi os=-hms ;; harris) basic_machine=m88k-harris os=-sysv3 ;; hp300-*) basic_machine=m68k-hp ;; hp300bsd) basic_machine=m68k-hp os=-bsd ;; hp300hpux) basic_machine=m68k-hp os=-hpux ;; hp3k9[0-9][0-9] | hp9[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k2[0-9][0-9] | hp9k31[0-9]) basic_machine=m68000-hp ;; hp9k3[2-9][0-9]) basic_machine=m68k-hp ;; hp9k6[0-9][0-9] | hp6[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k7[0-79][0-9] | hp7[0-79][0-9]) basic_machine=hppa1.1-hp ;; hp9k78[0-9] | hp78[0-9]) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[0-9][13679] | hp8[0-9][13679]) basic_machine=hppa1.1-hp ;; hp9k8[0-9][0-9] | hp8[0-9][0-9]) basic_machine=hppa1.0-hp ;; hppa-next) os=-nextstep3 ;; hppaosf) basic_machine=hppa1.1-hp os=-osf ;; hppro) basic_machine=hppa1.1-hp os=-proelf ;; i370-ibm* | ibm*) basic_machine=i370-ibm ;; i*86v32) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv32 ;; i*86v4*) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv4 ;; i*86v) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv ;; i*86sol2) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-solaris2 ;; i386mach) basic_machine=i386-mach os=-mach ;; i386-vsta | vsta) basic_machine=i386-unknown os=-vsta ;; iris | iris4d) basic_machine=mips-sgi case $os in -irix*) ;; *) os=-irix4 ;; esac ;; isi68 | isi) basic_machine=m68k-isi os=-sysv ;; m68knommu) basic_machine=m68k-unknown os=-linux ;; m68knommu-*) basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; m88k-omron*) basic_machine=m88k-omron ;; magnum | m3230) basic_machine=mips-mips os=-sysv ;; merlin) basic_machine=ns32k-utek os=-sysv ;; microblaze*) basic_machine=microblaze-xilinx ;; mingw64) basic_machine=x86_64-pc os=-mingw64 ;; mingw32) basic_machine=i386-pc os=-mingw32 ;; mingw32ce) basic_machine=arm-unknown os=-mingw32ce ;; miniframe) basic_machine=m68000-convergent ;; *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) basic_machine=m68k-atari os=-mint ;; mipsEE* | ee | ps2) basic_machine=mips64r5900el-scei case $os in -linux*) ;; *) os=-elf ;; esac ;; iop) basic_machine=mipsel-scei os=-irx ;; dvp) basic_machine=dvp-scei os=-elf ;; mips3*-*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` ;; mips3*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown ;; monitor) basic_machine=m68k-rom68k os=-coff ;; morphos) basic_machine=powerpc-unknown os=-morphos ;; msdos) basic_machine=i386-pc os=-msdos ;; ms1-*) basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` ;; msys) basic_machine=i386-pc os=-msys ;; mvs) basic_machine=i370-ibm os=-mvs ;; nacl) basic_machine=le32-unknown os=-nacl ;; ncr3000) basic_machine=i486-ncr os=-sysv4 ;; netbsd386) basic_machine=i386-unknown os=-netbsd ;; netwinder) basic_machine=armv4l-rebel os=-linux ;; news | news700 | news800 | news900) basic_machine=m68k-sony os=-newsos ;; news1000) basic_machine=m68030-sony os=-newsos ;; news-3600 | risc-news) basic_machine=mips-sony os=-newsos ;; necv70) basic_machine=v70-nec os=-sysv ;; next | m*-next ) basic_machine=m68k-next case $os in -nextstep* ) ;; -ns2*) os=-nextstep2 ;; *) os=-nextstep3 ;; esac ;; nh3000) basic_machine=m68k-harris os=-cxux ;; nh[45]000) basic_machine=m88k-harris os=-cxux ;; nindy960) basic_machine=i960-intel os=-nindy ;; mon960) basic_machine=i960-intel os=-mon960 ;; nonstopux) basic_machine=mips-compaq os=-nonstopux ;; np1) basic_machine=np1-gould ;; neo-tandem) basic_machine=neo-tandem ;; nse-tandem) basic_machine=nse-tandem ;; nsr-tandem) basic_machine=nsr-tandem ;; op50n-* | op60c-*) basic_machine=hppa1.1-oki os=-proelf ;; openrisc | openrisc-*) basic_machine=or32-unknown ;; os400) basic_machine=powerpc-ibm os=-os400 ;; OSE68000 | ose68000) basic_machine=m68000-ericsson os=-ose ;; os68k) basic_machine=m68k-none os=-os68k ;; pa-hitachi) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; paragon) basic_machine=i860-intel os=-osf ;; parisc) basic_machine=hppa-unknown os=-linux ;; parisc-*) basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; pbd) basic_machine=sparc-tti ;; pbb) basic_machine=m68k-tti ;; pc532 | pc532-*) basic_machine=ns32k-pc532 ;; pc98) basic_machine=i386-pc ;; pc98-*) basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; pentiumpro | p6 | 6x86 | athlon | athlon_*) basic_machine=i686-pc ;; pentiumii | pentium2 | pentiumiii | pentium3) basic_machine=i686-pc ;; pentium4) basic_machine=i786-pc ;; pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumpro-* | p6-* | 6x86-* | athlon-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium4-*) basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pn) basic_machine=pn-gould ;; power) basic_machine=power-ibm ;; ppc | ppcbe) basic_machine=powerpc-unknown ;; ppc-* | ppcbe-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppcle | powerpclittle | ppc-le | powerpc-little) basic_machine=powerpcle-unknown ;; ppcle-* | powerpclittle-*) basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64) basic_machine=powerpc64-unknown ;; ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64le | powerpc64little | ppc64-le | powerpc64-little) basic_machine=powerpc64le-unknown ;; ppc64le-* | powerpc64little-*) basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ps2) basic_machine=i386-ibm ;; pw32) basic_machine=i586-unknown os=-pw32 ;; rdos) basic_machine=i386-pc os=-rdos ;; rom68k) basic_machine=m68k-rom68k os=-coff ;; rm[46]00) basic_machine=mips-siemens ;; rtpc | rtpc-*) basic_machine=romp-ibm ;; s390 | s390-*) basic_machine=s390-ibm ;; s390x | s390x-*) basic_machine=s390x-ibm ;; sa29200) basic_machine=a29k-amd os=-udi ;; sb1) basic_machine=mipsisa64sb1-unknown ;; sb1el) basic_machine=mipsisa64sb1el-unknown ;; sde) basic_machine=mipsisa32-sde os=-elf ;; sei) basic_machine=mips-sei os=-seiux ;; sequent) basic_machine=i386-sequent ;; sh) basic_machine=sh-hitachi os=-hms ;; sh5el) basic_machine=sh5le-unknown ;; sh64) basic_machine=sh64-unknown ;; sparclite-wrs | simso-wrs) basic_machine=sparclite-wrs os=-vxworks ;; sps7) basic_machine=m68k-bull os=-sysv2 ;; spur) basic_machine=spur-unknown ;; st2000) basic_machine=m68k-tandem ;; stratus) basic_machine=i860-stratus os=-sysv4 ;; strongarm-* | thumb-*) basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'` ;; sun2) basic_machine=m68000-sun ;; sun2os3) basic_machine=m68000-sun os=-sunos3 ;; sun2os4) basic_machine=m68000-sun os=-sunos4 ;; sun3os3) basic_machine=m68k-sun os=-sunos3 ;; sun3os4) basic_machine=m68k-sun os=-sunos4 ;; sun4os3) basic_machine=sparc-sun os=-sunos3 ;; sun4os4) basic_machine=sparc-sun os=-sunos4 ;; sun4sol2) basic_machine=sparc-sun os=-solaris2 ;; sun3 | sun3-*) basic_machine=m68k-sun ;; sun4) basic_machine=sparc-sun ;; sun386 | sun386i | roadrunner) basic_machine=i386-sun ;; sv1) basic_machine=sv1-cray os=-unicos ;; symmetry) basic_machine=i386-sequent os=-dynix ;; t3e) basic_machine=alphaev5-cray os=-unicos ;; t90) basic_machine=t90-cray os=-unicos ;; tile*) basic_machine=$basic_machine-unknown os=-linux-gnu ;; tx39) basic_machine=mipstx39-unknown ;; tx39el) basic_machine=mipstx39el-unknown ;; toad1) basic_machine=pdp10-xkl os=-tops20 ;; tower | tower-32) basic_machine=m68k-ncr ;; tpf) basic_machine=s390x-ibm os=-tpf ;; udi29k) basic_machine=a29k-amd os=-udi ;; ultra3) basic_machine=a29k-nyu os=-sym1 ;; v810 | necv810) basic_machine=v810-nec os=-none ;; vaxv) basic_machine=vax-dec os=-sysv ;; vms) basic_machine=vax-dec os=-vms ;; vpp*|vx|vx-*) basic_machine=f301-fujitsu ;; vxworks960) basic_machine=i960-wrs os=-vxworks ;; vxworks68) basic_machine=m68k-wrs os=-vxworks ;; vxworks29k) basic_machine=a29k-wrs os=-vxworks ;; w65*) basic_machine=w65-wdc os=-none ;; w89k-*) basic_machine=hppa1.1-winbond os=-proelf ;; xbox) basic_machine=i686-pc os=-mingw32 ;; xps | xps100) basic_machine=xps100-honeywell ;; xscale-* | xscalee[bl]-*) basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'` ;; ymp) basic_machine=ymp-cray os=-unicos ;; z8k-*-coff) basic_machine=z8k-unknown os=-sim ;; z80-*-coff) basic_machine=z80-unknown os=-sim ;; none) basic_machine=none-none os=-none ;; # Here we handle the default manufacturer of certain CPU types. It is in # some cases the only manufacturer, in others, it is the most popular. w89k) basic_machine=hppa1.1-winbond ;; op50n) basic_machine=hppa1.1-oki ;; op60c) basic_machine=hppa1.1-oki ;; romp) basic_machine=romp-ibm ;; mmix) basic_machine=mmix-knuth ;; rs6000) basic_machine=rs6000-ibm ;; vax) basic_machine=vax-dec ;; pdp10) # there are many clones, so DEC is not a safe bet basic_machine=pdp10-unknown ;; pdp11) basic_machine=pdp11-dec ;; we32k) basic_machine=we32k-att ;; sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) basic_machine=sparc-sun ;; cydra) basic_machine=cydra-cydrome ;; orion) basic_machine=orion-highlevel ;; orion105) basic_machine=clipper-highlevel ;; mac | mpw | mac-mpw) basic_machine=m68k-apple ;; pmac | pmac-mpw) basic_machine=powerpc-apple ;; *-unknown) # Make sure to match an already-canonicalized machine name. ;; *) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; esac # Here we canonicalize certain aliases for manufacturers. case $basic_machine in *-digital*) basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` ;; *-commodore*) basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` ;; *) ;; esac # Decode manufacturer-specific aliases for certain operating systems. if [ x"$os" != x"" ] then case $os in # First match some system type aliases # that might get confused with valid system types. # -solaris* is a basic system type, with this one exception. -auroraux) os=-auroraux ;; -solaris1 | -solaris1.*) os=`echo $os | sed -e 's|solaris1|sunos4|'` ;; -solaris) os=-solaris2 ;; -svr4*) os=-sysv4 ;; -unixware*) os=-sysv4.2uw ;; -gnu/linux*) os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` ;; # First accept the basic system types. # The portable systems comes first. # Each alternative MUST END IN A *, to match a version number. # -sysv* is not here because it comes later, after sysvr4. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ | -sym* | -kopensolaris* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -aos* | -aros* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ | -bitrig* | -openbsd* | -solidbsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* | -cegcc* \ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ | -linux-newlib* | -linux-musl* | -linux-uclibc* \ | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* | -irx* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) case $basic_machine in x86-* | i*86-*) ;; *) os=-nto$os ;; esac ;; -nto-qnx*) ;; -nto*) os=`echo $os | sed -e 's|nto|nto-qnx|'` ;; -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) ;; -mac*) os=`echo $os | sed -e 's|mac|macos|'` ;; -linux-dietlibc) os=-linux-dietlibc ;; -linux*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; -sunos5*) os=`echo $os | sed -e 's|sunos5|solaris2|'` ;; -sunos6*) os=`echo $os | sed -e 's|sunos6|solaris3|'` ;; -opened*) os=-openedition ;; -os400*) os=-os400 ;; -wince*) os=-wince ;; -osfrose*) os=-osfrose ;; -osf*) os=-osf ;; -utek*) os=-bsd ;; -dynix*) os=-bsd ;; -acis*) os=-aos ;; -atheos*) os=-atheos ;; -syllable*) os=-syllable ;; -386bsd) os=-bsd ;; -ctix* | -uts*) os=-sysv ;; -nova*) os=-rtmk-nova ;; -ns2 ) os=-nextstep2 ;; -nsk*) os=-nsk ;; # Preserve the version number of sinix5. -sinix5.*) os=`echo $os | sed -e 's|sinix|sysv|'` ;; -sinix*) os=-sysv4 ;; -tpf*) os=-tpf ;; -triton*) os=-sysv3 ;; -oss*) os=-sysv3 ;; -svr4) os=-sysv4 ;; -svr3) os=-sysv3 ;; -sysvr4) os=-sysv4 ;; # This must come after -sysvr4. -sysv*) ;; -ose*) os=-ose ;; -es1800*) os=-ose ;; -xenix) os=-xenix ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) os=-mint ;; -aros*) os=-aros ;; -kaos*) os=-kaos ;; -zvmoe) os=-zvmoe ;; -dicos*) os=-dicos ;; -nacl*) ;; -none) ;; *) # Get rid of the `-' at the beginning of $os. os=`echo $os | sed 's/[^-]*-//'` echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 exit 1 ;; esac else # Here we handle the default operating systems that come with various machines. # The value should be what the vendor currently ships out the door with their # machine or put another way, the most popular os provided with the machine. # Note that if you're going to try to match "-MANUFACTURER" here (say, # "-sun"), then you have to tell the case statement up towards the top # that MANUFACTURER isn't an operating system. Otherwise, code above # will signal an error saying that MANUFACTURER isn't an operating # system, and we'll never get to this point. case $basic_machine in score-*) os=-elf ;; spu-*) os=-elf ;; *-acorn) os=-riscix1.2 ;; arm*-rebel) os=-linux ;; arm*-semi) os=-aout ;; c4x-* | tic4x-*) os=-coff ;; hexagon-*) os=-elf ;; tic54x-*) os=-coff ;; tic55x-*) os=-coff ;; tic6x-*) os=-coff ;; # This must come before the *-dec entry. pdp10-*) os=-tops20 ;; pdp11-*) os=-none ;; *-dec | vax-*) os=-ultrix4.2 ;; m68*-apollo) os=-domain ;; i386-sun) os=-sunos4.0.2 ;; m68000-sun) os=-sunos3 ;; m68*-cisco) os=-aout ;; mep-*) os=-elf ;; mips*-cisco) os=-elf ;; mips*-*) os=-elf ;; or32-*) os=-coff ;; *-tti) # must be before sparc entry or we get the wrong os. os=-sysv3 ;; sparc-* | *-sun) os=-sunos4.1.1 ;; *-be) os=-beos ;; *-haiku) os=-haiku ;; *-ibm) os=-aix ;; *-knuth) os=-mmixware ;; *-wec) os=-proelf ;; *-winbond) os=-proelf ;; *-oki) os=-proelf ;; *-hp) os=-hpux ;; *-hitachi) os=-hiux ;; i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) os=-sysv ;; *-cbm) os=-amigaos ;; *-dg) os=-dgux ;; *-dolphin) os=-sysv3 ;; m68k-ccur) os=-rtu ;; m88k-omron*) os=-luna ;; *-next ) os=-nextstep ;; *-sequent) os=-ptx ;; *-crds) os=-unos ;; *-ns) os=-genix ;; i370-*) os=-mvs ;; *-next) os=-nextstep3 ;; *-gould) os=-sysv ;; *-highlevel) os=-bsd ;; *-encore) os=-bsd ;; *-sgi) os=-irix ;; *-siemens) os=-sysv4 ;; *-masscomp) os=-rtu ;; f30[01]-fujitsu | f700-fujitsu) os=-uxpv ;; *-rom68k) os=-coff ;; *-*bug) os=-coff ;; *-apple) os=-macos ;; *-atari*) os=-mint ;; *) os=-none ;; esac fi # Here we handle the case where we know the os, and the CPU type, but not the # manufacturer. We pick the logical manufacturer. vendor=unknown case $basic_machine in *-unknown) case $os in -riscix*) vendor=acorn ;; -sunos*) vendor=sun ;; -cnk*|-aix*) vendor=ibm ;; -beos*) vendor=be ;; -hpux*) vendor=hp ;; -mpeix*) vendor=hp ;; -hiux*) vendor=hitachi ;; -unos*) vendor=crds ;; -dgux*) vendor=dg ;; -luna*) vendor=omron ;; -genix*) vendor=ns ;; -mvs* | -opened*) vendor=ibm ;; -os400*) vendor=ibm ;; -ptx*) vendor=sequent ;; -tpf*) vendor=ibm ;; -vxsim* | -vxworks* | -windiss*) vendor=wrs ;; -aux*) vendor=apple ;; -hms*) vendor=hitachi ;; -mpw* | -macos*) vendor=apple ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) vendor=atari ;; -vos*) vendor=stratus ;; esac basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` ;; esac echo $basic_machine$os exit # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: idjc-0.8.9/configure0000755000175000017500000213740012142730016011274 00000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.69 for idjc 0.8.9. # # Report bugs to . # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. # # # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # Use a proper internal environment variable to ensure we don't fall # into an infinite loop, continuously re-executing ourselves. if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then _as_can_reexec=no; export _as_can_reexec; # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 as_fn_exit 255 fi # We don't want this to propagate to other subprocesses. { _as_can_reexec=; unset _as_can_reexec;} if test "x$CONFIG_SHELL" = x; then as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST else case \`(set -o) 2>/dev/null\` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi " as_required="as_fn_return () { (exit \$1); } as_fn_success () { as_fn_return 0; } as_fn_failure () { as_fn_return 1; } as_fn_ret_success () { return 0; } as_fn_ret_failure () { return 1; } exitcode=0 as_fn_success || { exitcode=1; echo as_fn_success failed.; } as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : else exitcode=1; echo positional parameters were not saved. fi test x\$exitcode = x0 || exit 1 test -x / || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO PATH=/empty FPATH=/empty; export PATH FPATH test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 test \$(( 1 + 1 )) = 2 || exit 1" if (eval "$as_required") 2>/dev/null; then : as_have_required=yes else as_have_required=no fi if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_found=false for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. as_found=: case $as_dir in #( /*) for as_base in sh bash ksh sh5; do # Try only shells that exist, to save several forks. as_shell=$as_dir/$as_base if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : CONFIG_SHELL=$as_shell as_have_required=yes if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : break 2 fi fi done;; esac as_found=false done $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : CONFIG_SHELL=$SHELL as_have_required=yes fi; } IFS=$as_save_IFS if test "x$CONFIG_SHELL" != x; then : export CONFIG_SHELL # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi if test x$as_have_required = xno; then : $as_echo "$0: This script requires a shell more modern than all" $as_echo "$0: the shells that I found on your system." if test x${ZSH_VERSION+set} = xset ; then $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" $as_echo "$0: be upgraded to zsh 4.3.4 or later." else $as_echo "$0: Please tell bug-autoconf@gnu.org and $0: http://idjc.sourceforge.net about your system, $0: including any error possibly output before this $0: message. Then install a modern shell, or manually run $0: the script under such a shell if you do have one." fi exit 1 fi fi fi SHELL=${CONFIG_SHELL-/bin/sh} export SHELL # Unset more variables known to interfere with behavior of common tools. CLICOLOR_FORCE= GREP_OPTIONS= unset CLICOLOR_FORCE GREP_OPTIONS ## --------------------- ## ## M4sh Shell Functions. ## ## --------------------- ## # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } # as_fn_executable_p # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits as_lineno_1=$LINENO as_lineno_1a=$LINENO as_lineno_2=$LINENO as_lineno_2a=$LINENO eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } # If we had to re-execute with $CONFIG_SHELL, we're ensured to have # already done that, so ensure we don't try to do so again and fall # in an infinite loop. This has already happened in practice. _as_can_reexec=no; export _as_can_reexec # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" SHELL=${CONFIG_SHELL-/bin/sh} test -n "$DJDIR" || exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` # # Initializations. # ac_default_prefix=/usr/local ac_clean_files= ac_config_libobj_dir=. LIBOBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= # Identity of this package. PACKAGE_NAME='idjc' PACKAGE_TARNAME='idjc' PACKAGE_VERSION='0.8.9' PACKAGE_STRING='idjc 0.8.9' PACKAGE_BUGREPORT='http://idjc.sourceforge.net' PACKAGE_URL='' ac_unique_file="config.h.in" # Factoring default headers for most tests. ac_includes_default="\ #include #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_STAT_H # include #endif #ifdef STDC_HEADERS # include # include #else # ifdef HAVE_STDLIB_H # include # endif #endif #ifdef HAVE_STRING_H # if !defined STDC_HEADERS && defined HAVE_MEMORY_H # include # endif # include #endif #ifdef HAVE_STRINGS_H # include #endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif #ifdef HAVE_UNISTD_H # include #endif" gt_needs= ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS DYN_LDFLAGS DYN_LIBS SHOUTIDJC_LIBS SHOUTIDJC_CFLAGS EXT LIBOBJS LIBM HAVE_OPUS OPUS_LIBS OPUS_CFLAGS HAVE_TWOLAME TWOLAME_LIBS TWOLAME_CFLAGS LIBMP3LAME DYN_LAME MPG123 DYN_MPG123 MPG123_LIBS MPG123_CFLAGS HAVE_OGGFLAC HAVE_FLAC LIBFLAC_LIBS LIBFLAC_CFLAGS PYGTK_LIBS PYGTK_CFLAGS HAVE_SPEEX LIBSPEEX_LIBS LIBSPEEX_CFLAGS LIBAVUTIL_LIBS LIBAVUTIL_CFLAGS HAVE_AVUTIL LIBAVFORMAT_LIBS LIBAVFORMAT_CFLAGS HAVE_AVFORMAT LIBAVCODEC_LIBS LIBAVCODEC_CFLAGS HAVE_AVCODEC GLIB_LIBS GLIB_CFLAGS LIBSNDFILE_LIBS LIBSNDFILE_CFLAGS LIBSAMPLERATE_LIBS LIBSAMPLERATE_CFLAGS LIBVORBISENC_LIBS LIBVORBISENC_CFLAGS LIBVORBIS_LIBS LIBVORBIS_CFLAGS LIBJACK_LIBS LIBJACK_CFLAGS PKG_CONFIG_LIBDIR PKG_CONFIG_PATH PKG_CONFIG POSUB LTLIBINTL LIBINTL INTLLIBS LTLIBICONV LIBICONV INTL_MACOSX_LIBS XGETTEXT_EXTRA_OPTIONS MSGMERGE XGETTEXT_015 XGETTEXT GMSGFMT_015 MSGFMT_015 GMSGFMT MSGFMT GETTEXT_MACRO_VERSION USE_NLS CPP OTOOL64 OTOOL LIPO NMEDIT DSYMUTIL MANIFEST_TOOL RANLIB ac_ct_AR AR DLLTOOL OBJDUMP LN_S NM ac_ct_DUMPBIN DUMPBIN LD FGREP EGREP GREP SED am__fastdepCC_FALSE am__fastdepCC_TRUE CCDEPMODE am__nodep AMDEPBACKSLASH AMDEP_FALSE AMDEP_TRUE am__quote am__include DEPDIR OBJEXT EXEEXT ac_ct_CC CPPFLAGS LDFLAGS CFLAGS CC host_os host_vendor host_cpu host build_os build_vendor build_cpu build LIBTOOL pkgpyexecdir pyexecdir pkgpythondir pythondir PYTHON_PLATFORM PYTHON_EXEC_PREFIX PYTHON_PREFIX PYTHON_VERSION PYTHON am__untar am__tar AMTAR am__leading_dot SET_MAKE AWK mkdir_p MKDIR_P INSTALL_STRIP_PROGRAM STRIP install_sh MAKEINFO AUTOHEADER AUTOMAKE AUTOCONF ACLOCAL VERSION PACKAGE CYGPATH_W am__isrc INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM COPYRIGHT_YEAR target_alias host_alias build_alias LIBS ECHO_T ECHO_N ECHO_C DEFS mandir localedir libdir psdir pdfdir dvidir htmldir infodir docdir oldincludedir includedir localstatedir sharedstatedir sysconfdir datadir datarootdir libexecdir sbindir bindir program_transform_name prefix exec_prefix PACKAGE_URL PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking enable_static enable_shared with_pic enable_fast_install enable_dependency_tracking with_gnu_ld with_sysroot enable_libtool_lock enable_nls enable_rpath with_libiconv_prefix with_libintl_prefix enable_libav enable_speex enable_flac enable_mpg123 enable_lame enable_twolame enable_opus ' ac_precious_vars='build_alias host_alias target_alias PYTHON CC CFLAGS LDFLAGS LIBS CPPFLAGS CPP PKG_CONFIG PKG_CONFIG_PATH PKG_CONFIG_LIBDIR LIBJACK_CFLAGS LIBJACK_LIBS LIBVORBIS_CFLAGS LIBVORBIS_LIBS LIBVORBISENC_CFLAGS LIBVORBISENC_LIBS LIBSAMPLERATE_CFLAGS LIBSAMPLERATE_LIBS LIBSNDFILE_CFLAGS LIBSNDFILE_LIBS GLIB_CFLAGS GLIB_LIBS LIBAVCODEC_CFLAGS LIBAVCODEC_LIBS LIBAVFORMAT_CFLAGS LIBAVFORMAT_LIBS LIBAVUTIL_CFLAGS LIBAVUTIL_LIBS LIBSPEEX_CFLAGS LIBSPEEX_LIBS PYGTK_CFLAGS PYGTK_LIBS LIBFLAC_CFLAGS LIBFLAC_LIBS MPG123_CFLAGS MPG123_LIBS TWOLAME_CFLAGS TWOLAME_LIBS OPUS_CFLAGS OPUS_LIBS SHOUTIDJC_CFLAGS SHOUTIDJC_LIBS' # Initialize some variables set by options. ac_init_help= ac_init_version=false ac_unrecognized_opts= ac_unrecognized_sep= # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datarootdir='${prefix}/share' datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' psdir='${docdir}' libdir='${exec_prefix}/lib' localedir='${datarootdir}/locale' mandir='${datarootdir}/man' ac_prev= ac_dashdash= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *=) ac_optarg= ;; *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=*) datadir=$ac_optarg ;; -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | --dataroo | --dataro | --datar) ac_prev=datarootdir ;; -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) datarootdir=$ac_optarg ;; -disable-* | --disable-*) ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=no ;; -docdir | --docdir | --docdi | --doc | --do) ac_prev=docdir ;; -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) docdir=$ac_optarg ;; -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ac_prev=dvidir ;; -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) dvidir=$ac_optarg ;; -enable-* | --enable-*) ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ac_prev=htmldir ;; -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | --ht=*) htmldir=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localedir | --localedir | --localedi | --localed | --locale) ac_prev=localedir ;; -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) localedir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst | --locals) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ac_prev=pdfdir ;; -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) pdfdir=$ac_optarg ;; -psdir | --psdir | --psdi | --psd | --ps) ac_prev=psdir ;; -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) psdir=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=\$ac_optarg ;; -without-* | --without-*) ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=no ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) as_fn_error $? "unrecognized option: \`$ac_option' Try \`$0 --help' for more information" ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. case $ac_envvar in #( '' | [0-9]* | *[!_$as_cr_alnum]* ) as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; esac eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` as_fn_error $? "missing argument to $ac_option" fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi # Check all directory arguments for consistency. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir do eval ac_val=\$$ac_var # Remove trailing slashes. case $ac_val in */ ) ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` eval $ac_var=\$ac_val;; esac # Be sure to have absolute directory names. case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || as_fn_error $? "working directory cannot be determined" test "X$ac_ls_di" = "X$ac_pwd_ls_di" || as_fn_error $? "pwd does not report name of working directory" # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. ac_confdir=`$as_dirname -- "$as_myself" || $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` srcdir=$ac_confdir if test ! -r "$srcdir/$ac_unique_file"; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then srcdir=. fi # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. case $srcdir in */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; esac for ac_var in $ac_precious_vars; do eval ac_env_${ac_var}_set=\${${ac_var}+set} eval ac_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} eval ac_cv_env_${ac_var}_value=\$${ac_var} done # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures idjc 0.8.9 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking ...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/idjc] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names System types: --build=BUILD configure for building on BUILD [guessed] --host=HOST cross-compile to build programs to run on HOST [BUILD] _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of idjc 0.8.9:";; esac cat <<\_ACEOF Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-static[=PKGS] build static libraries [default=no] --enable-shared[=PKGS] build shared libraries [default=yes] --enable-fast-install[=PKGS] optimize for fast installation [default=yes] --enable-dependency-tracking do not reject slow dependency extractors --disable-dependency-tracking speeds up one-time build --disable-libtool-lock avoid locking (might break parallel builds) --disable-nls do not use Native Language Support --disable-rpath do not hardcode runtime library paths --disable-libav remove capability to decode m4a/wma/avi files --disable-speex remove the capability to play/stream speex --disable-flac remove the capability to play/stream in FLAC --disable-mpg123 remove capability to play mp3 format --disable-lame remove capability to stream/record mp3 format --disable-twolame remove the capability to stream in mp2 --disable-opus remove capability to play/stream in opus format Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-pic try to use only PIC/non-PIC objects [default=use both] --with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-sysroot=DIR Search for dependent libraries within DIR (or the compiler's sysroot if not specified). --with-gnu-ld assume the C compiler uses GNU ld default=no --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib --without-libiconv-prefix don't search for libiconv in includedir and libdir --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib --without-libintl-prefix don't search for libintl in includedir and libdir Some influential environment variables: PYTHON the Python interpreter CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS libraries to pass to the linker, e.g. -l CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor PKG_CONFIG path to pkg-config utility PKG_CONFIG_PATH directories to add to pkg-config's search path PKG_CONFIG_LIBDIR path overriding pkg-config's built-in search path LIBJACK_CFLAGS C compiler flags for LIBJACK, overriding pkg-config LIBJACK_LIBS linker flags for LIBJACK, overriding pkg-config LIBVORBIS_CFLAGS C compiler flags for LIBVORBIS, overriding pkg-config LIBVORBIS_LIBS linker flags for LIBVORBIS, overriding pkg-config LIBVORBISENC_CFLAGS C compiler flags for LIBVORBISENC, overriding pkg-config LIBVORBISENC_LIBS linker flags for LIBVORBISENC, overriding pkg-config LIBSAMPLERATE_CFLAGS C compiler flags for LIBSAMPLERATE, overriding pkg-config LIBSAMPLERATE_LIBS linker flags for LIBSAMPLERATE, overriding pkg-config LIBSNDFILE_CFLAGS C compiler flags for LIBSNDFILE, overriding pkg-config LIBSNDFILE_LIBS linker flags for LIBSNDFILE, overriding pkg-config GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config GLIB_LIBS linker flags for GLIB, overriding pkg-config LIBAVCODEC_CFLAGS C compiler flags for LIBAVCODEC, overriding pkg-config LIBAVCODEC_LIBS linker flags for LIBAVCODEC, overriding pkg-config LIBAVFORMAT_CFLAGS C compiler flags for LIBAVFORMAT, overriding pkg-config LIBAVFORMAT_LIBS linker flags for LIBAVFORMAT, overriding pkg-config LIBAVUTIL_CFLAGS C compiler flags for LIBAVUTIL, overriding pkg-config LIBAVUTIL_LIBS linker flags for LIBAVUTIL, overriding pkg-config LIBSPEEX_CFLAGS C compiler flags for LIBSPEEX, overriding pkg-config LIBSPEEX_LIBS linker flags for LIBSPEEX, overriding pkg-config PYGTK_CFLAGS C compiler flags for PYGTK, overriding pkg-config PYGTK_LIBS linker flags for PYGTK, overriding pkg-config LIBFLAC_CFLAGS C compiler flags for LIBFLAC, overriding pkg-config LIBFLAC_LIBS linker flags for LIBFLAC, overriding pkg-config MPG123_CFLAGS C compiler flags for MPG123, overriding pkg-config MPG123_LIBS linker flags for MPG123, overriding pkg-config TWOLAME_CFLAGS C compiler flags for TWOLAME, overriding pkg-config TWOLAME_LIBS linker flags for TWOLAME, overriding pkg-config OPUS_CFLAGS C compiler flags for OPUS, overriding pkg-config OPUS_LIBS linker flags for OPUS, overriding pkg-config SHOUTIDJC_CFLAGS C compiler flags for SHOUTIDJC, overriding pkg-config SHOUTIDJC_LIBS linker flags for SHOUTIDJC, overriding pkg-config Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to . _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } # Check for guested configure. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive elif test -f "$ac_srcdir/configure"; then echo && $SHELL "$ac_srcdir/configure" --help=recursive else $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF idjc configure 0.8.9 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi ## ------------------------ ## ## Autoconf initialization. ## ## ------------------------ ## # ac_fn_c_try_compile LINENO # -------------------------- # Try to compile conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_compile # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_link () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext conftest$ac_exeext if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || test -x conftest$ac_exeext }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would # interfere with the next link command; also delete a directory that is # left behind by Apple's compiler. We do this before executing the actions. rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_link # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists and can be compiled using the include files in # INCLUDES, setting the cache variable VAR accordingly. ac_fn_c_check_header_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_compile # ac_fn_c_try_cpp LINENO # ---------------------- # Try to preprocess conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_cpp () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } > conftest.i && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_cpp # ac_fn_c_try_run LINENO # ---------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes # that executables *can* be run. ac_fn_c_try_run () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then : ac_retval=0 else $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=$ac_status fi rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_run # ac_fn_c_check_func LINENO FUNC VAR # ---------------------------------- # Tests whether FUNC exists, setting the cache variable VAR accordingly ac_fn_c_check_func () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Define $2 to an innocuous variant, in case declares $2. For example, HP-UX 11i declares gettimeofday. */ #define $2 innocuous_$2 /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $2 (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $2 /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$2 || defined __stub___$2 choke me #endif int main () { return $2 (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_func # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists, giving a warning if it cannot be compiled using # the include files in INCLUDES and setting the cache variable VAR # accordingly. ac_fn_c_check_header_mongrel () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if eval \${$3+:} false; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } else # Is the header compilable? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 $as_echo_n "checking $2 usability... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_header_compiler=yes else ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 $as_echo "$ac_header_compiler" >&6; } # Is the header present? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 $as_echo_n "checking $2 presence... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <$2> _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : ac_header_preproc=yes else ac_header_preproc=no fi rm -f conftest.err conftest.i conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( yes:no: ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ;; no:yes:* ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ( $as_echo "## ------------------------------------------ ## ## Report this to http://idjc.sourceforge.net ## ## ------------------------------------------ ##" ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else eval "$3=\$ac_header_compiler" fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_mongrel # ac_fn_c_check_type LINENO TYPE VAR INCLUDES # ------------------------------------------- # Tests whether TYPE exists after having included INCLUDES, setting cache # variable VAR accordingly. ac_fn_c_check_type () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else eval "$3=no" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { if (sizeof ($2)) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { if (sizeof (($2))) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else eval "$3=yes" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_type cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by idjc $as_me 0.8.9, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ _ACEOF exec 5>>config.log { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. $as_echo "PATH: $as_dir" done IFS=$as_save_IFS } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2) as_fn_append ac_configure_args1 " '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi as_fn_append ac_configure_args " '$ac_arg'" ;; esac done done { ac_configure_args0=; unset ac_configure_args0;} { ac_configure_args1=; unset ac_configure_args1;} # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo $as_echo "## ---------------- ## ## Cache variables. ## ## ---------------- ##" echo # The following way of writing the cache mishandles newlines in values, ( for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) echo $as_echo "## ----------------- ## ## Output variables. ## ## ----------------- ##" echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then $as_echo "## ------------------- ## ## File substitutions. ## ## ------------------- ##" echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then $as_echo "## ----------- ## ## confdefs.h. ## ## ----------- ##" echo cat confdefs.h echo fi test "$ac_signal" != 0 && $as_echo "$as_me: caught signal $ac_signal" $as_echo "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h $as_echo "/* confdefs.h */" > confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_URL "$PACKAGE_URL" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. ac_site_file1=NONE ac_site_file2=NONE if test -n "$CONFIG_SITE"; then # We do not want a PATH search for config.site. case $CONFIG_SITE in #(( -*) ac_site_file1=./$CONFIG_SITE;; */*) ac_site_file1=$CONFIG_SITE;; *) ac_site_file1=./$CONFIG_SITE;; esac elif test "x$prefix" != xNONE; then ac_site_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site else ac_site_file1=$ac_default_prefix/share/config.site ac_site_file2=$ac_default_prefix/etc/config.site fi for ac_site_file in "$ac_site_file1" "$ac_site_file2" do test "x$ac_site_file" = xNONE && continue if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file See \`config.log' for more details" "$LINENO" 5; } fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special files # actually), so we avoid doing that. DJGPP emulates it as a regular file. if test /dev/null != "$cache_file" && test -f "$cache_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 $as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi gt_needs="$gt_needs " # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then # differences in whitespace do not lead to failure. ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) as_fn_append ac_configure_args " '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## ## -------------------- ## ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu COPYRIGHT_YEAR=2013 am__api_version='1.12' ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do if test -f "$ac_dir/install-sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f "$ac_dir/install.sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f "$ac_dir/shtool"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 fi # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a directory # whose full name contains unusual characters. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if ${ac_cv_path_install+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in #(( ./ | .// | /[cC]/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 $as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 $as_echo_n "checking whether build environment is sane... " >&6; } # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[\\\"\#\$\&\'\`$am_lf]*) as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; esac case $srcdir in *[\\\"\#\$\&\'\`$am_lf\ \ ]*) as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; esac # Do 'set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( am_has_slept=no for am_try in 1 2; do echo "timestamp, slept: $am_has_slept" > conftest.file set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". as_fn_error $? "ls -t appears to fail. Make sure there is not a broken alias in your environment" "$LINENO" 5 fi if test "$2" = conftest.file || test $am_try -eq 2; then break fi # Just in case. sleep 1 am_has_slept=yes done test "$2" = conftest.file ) then # Ok. : else as_fn_error $? "newly created file is older than distributed files! Check your system clock" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } # If we didn't sleep, we still need to ensure time stamps of config.status and # generated files are strictly newer. am_sleep_pid= if grep 'slept: no' conftest.file >/dev/null 2>&1; then ( sleep 1 ) & am_sleep_pid=$! fi rm -f conftest.file test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s&\$&$program_suffix&;$program_transform_name" # Double any \ or $. # By default was `s,x,x', remove it if useless. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} fi if test x"${install_sh}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi # Installed binaries are usually stripped using 'strip' when the user # run "make install-strip". However 'strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the 'STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } if test -z "$MKDIR_P"; then if ${ac_cv_path_mkdir+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 'mkdir (GNU coreutils) '* | \ 'mkdir (coreutils) '* | \ 'mkdir (fileutils) '4.1*) ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext break 3;; esac done done done IFS=$as_save_IFS fi test -d ./--version && rmdir ./--version if test "${ac_cv_path_mkdir+set}" = set; then MKDIR_P="$ac_cv_path_mkdir -p" else # As a last resort, use the slow shell script. Don't cache a # value for MKDIR_P within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. MKDIR_P="$ac_install_sh -d" fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 $as_echo "$MKDIR_P" >&6; } for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AWK+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 $as_echo "$AWK" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AWK" && break done { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;; esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } SET_MAKE= else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." am__isrc=' -I$(srcdir)' # test to see if srcdir already configured if test -f $srcdir/config.status; then as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE='idjc' VERSION='0.8.9' cat >>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF #define VERSION "$VERSION" _ACEOF # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} # For better backward compatibility. To be removed once Automake 1.9.x # dies out for good. For more background, see: # # mkdir_p='$(MKDIR_P)' # We need awk for the "check" target. The system "awk" is bad on # some platforms. # Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AMTAR='$${TAR-tar}' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' ac_config_headers="$ac_config_headers config.h" # Generate python installation stuff if test -n "$PYTHON"; then # If the user set $PYTHON, use it and don't search something else. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.7" >&5 $as_echo_n "checking whether $PYTHON version is >= 2.7... " >&6; } prog="import sys # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. # map returns an iterator in Python 3.0 and a list in 2.x minver = list(map(int, '2.7'.split('.'))) + [0, 0, 0] minverhex = 0 # xrange is not present in Python 3.0 and range returns an iterator for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex)" if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5 ($PYTHON -c "$prog") >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } as_fn_error $? "Python interpreter is too old" "$LINENO" 5 fi am_display_PYTHON=$PYTHON else # Otherwise, try each interpreter until we find one that satisfies # VERSION. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.7" >&5 $as_echo_n "checking for a Python interpreter with version >= 2.7... " >&6; } if ${am_cv_pathless_PYTHON+:} false; then : $as_echo_n "(cached) " >&6 else for am_cv_pathless_PYTHON in python python2 python3 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do test "$am_cv_pathless_PYTHON" = none && break prog="import sys # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. # map returns an iterator in Python 3.0 and a list in 2.x minver = list(map(int, '2.7'.split('.'))) + [0, 0, 0] minverhex = 0 # xrange is not present in Python 3.0 and range returns an iterator for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex)" if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then : break fi done fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5 $as_echo "$am_cv_pathless_PYTHON" >&6; } # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON. if test "$am_cv_pathless_PYTHON" = none; then PYTHON=: else # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args. set dummy $am_cv_pathless_PYTHON; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_PYTHON+:} false; then : $as_echo_n "(cached) " >&6 else case $PYTHON in [\\/]* | ?:[\\/]*) ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi PYTHON=$ac_cv_path_PYTHON if test -n "$PYTHON"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 $as_echo "$PYTHON" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi am_display_PYTHON=$am_cv_pathless_PYTHON fi if test "$PYTHON" = :; then as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5 else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5 $as_echo_n "checking for $am_display_PYTHON version... " >&6; } if ${am_cv_python_version+:} false; then : $as_echo_n "(cached) " >&6 else am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"` fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5 $as_echo "$am_cv_python_version" >&6; } PYTHON_VERSION=$am_cv_python_version PYTHON_PREFIX='${prefix}' PYTHON_EXEC_PREFIX='${exec_prefix}' { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; } if ${am_cv_python_platform+:} false; then : $as_echo_n "(cached) " >&6 else am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"` fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5 $as_echo "$am_cv_python_platform" >&6; } PYTHON_PLATFORM=$am_cv_python_platform # Just factor out some code duplication. am_python_setup_sysconfig="\ import sys # Prefer sysconfig over distutils.sysconfig, for better compatibility # with python 3.x. See automake bug#10227. try: import sysconfig except ImportError: can_use_sysconfig = 0 else: can_use_sysconfig = 1 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs: # try: from platform import python_implementation if python_implementation() == 'CPython' and sys.version[:3] == '2.7': can_use_sysconfig = 0 except ImportError: pass" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; } if ${am_cv_python_pythondir+:} false; then : $as_echo_n "(cached) " >&6 else if test "x$prefix" = xNONE then am_py_prefix=$ac_default_prefix else am_py_prefix=$prefix fi am_cv_python_pythondir=`$PYTHON -c " $am_python_setup_sysconfig if can_use_sysconfig: sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'}) else: from distutils import sysconfig sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix') sys.stdout.write(sitedir)"` case $am_cv_python_pythondir in $am_py_prefix*) am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'` am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"` ;; *) case $am_py_prefix in /usr|/System*) ;; *) am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages ;; esac ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5 $as_echo "$am_cv_python_pythondir" >&6; } pythondir=$am_cv_python_pythondir pkgpythondir=\${pythondir}/$PACKAGE { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; } if ${am_cv_python_pyexecdir+:} false; then : $as_echo_n "(cached) " >&6 else if test "x$exec_prefix" = xNONE then am_py_exec_prefix=$am_py_prefix else am_py_exec_prefix=$exec_prefix fi am_cv_python_pyexecdir=`$PYTHON -c " $am_python_setup_sysconfig if can_use_sysconfig: sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'}) else: from distutils import sysconfig sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix') sys.stdout.write(sitedir)"` case $am_cv_python_pyexecdir in $am_py_exec_prefix*) am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'` am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"` ;; *) case $am_py_exec_prefix in /usr|/System*) ;; *) am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages ;; esac ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5 $as_echo "$am_cv_python_pyexecdir" >&6; } pyexecdir=$am_cv_python_pyexecdir pkgpyexecdir=\${pyexecdir}/$PACKAGE fi # idjc backend library stuff case `pwd` in *\ * | *\ *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; esac macro_version='2.4' macro_revision='1.3293' ltmain="$ac_aux_dir/ltmain.sh" # Make sure we can run config.sub. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 $as_echo_n "checking build system type... " >&6; } if ${ac_cv_build+:} false; then : $as_echo_n "(cached) " >&6 else ac_build_alias=$build_alias test "x$ac_build_alias" = x && ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` test "x$ac_build_alias" = x && as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 $as_echo "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; esac build=$ac_cv_build ac_save_IFS=$IFS; IFS='-' set x $ac_cv_build shift build_cpu=$1 build_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: build_os=$* IFS=$ac_save_IFS case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 $as_echo_n "checking host system type... " >&6; } if ${ac_cv_host+:} false; then : $as_echo_n "(cached) " >&6 else if test "x$host_alias" = x; then ac_cv_host=$ac_cv_build else ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 $as_echo "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; esac host=$ac_cv_host ac_save_IFS=$IFS; IFS='-' set x $ac_cv_host shift host_cpu=$1 host_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: host_os=$* IFS=$ac_save_IFS case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac # Backslashify metacharacters that are still active within # double-quoted strings. sed_quote_subst='s/\(["`$\\]\)/\\\1/g' # Same as above, but do not quote variable references. double_quote_subst='s/\(["`\\]\)/\\\1/g' # Sed substitution to delay expansion of an escaped shell variable in a # double_quote_subst'ed string. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' # Sed substitution to delay expansion of an escaped single quote. delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' # Sed substitution to avoid accidental globbing in evaled expressions no_glob_subst='s/\*/\\\*/g' ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 $as_echo_n "checking how to print strings... " >&6; } # Test print first, because it will be a builtin if present. if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='print -r --' elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='printf %s\n' else # Use this function as a fallback that always works. func_fallback_echo () { eval 'cat <<_LTECHO_EOF $1 _LTECHO_EOF' } ECHO='func_fallback_echo' fi # func_echo_all arg... # Invoke $ECHO with all args, space-separated. func_echo_all () { $ECHO "" } case "$ECHO" in printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 $as_echo "printf" >&6; } ;; print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 $as_echo "print -r" >&6; } ;; *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 $as_echo "cat" >&6; } ;; esac DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo this is the am__doit target .PHONY: am__doit END # If we don't find an include directive, just comment out the code. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 $as_echo_n "checking for style of include used by $am_make... " >&6; } am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # Ignore all kinds of additional output from 'make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include am__quote= _am_result=GNU ;; esac # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=.include am__quote="\"" _am_result=BSD ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 $as_echo "$_am_result" >&6; } rm -f confinc confmf # Check whether --enable-dependency-tracking was given. if test "${enable_dependency_tracking+set}" = set; then : enableval=$enable_dependency_tracking; fi if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#' else AMDEP_TRUE='#' AMDEP_FALSE= fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion; do { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then sed '10a\ ... rest of stderr output deleted ... 10q' conftest.err >conftest.er1 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 $as_echo_n "checking whether the C compiler works... " >&6; } ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ac_rmfiles= for ac_file in $ac_files do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; * ) ac_rmfiles="$ac_rmfiles $ac_file";; esac done rm -f $ac_rmfiles if { { ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # Autoconf. for ac_file in $ac_files '' do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi # We set ac_cv_exeext here because the later test for it is not # safe: cross compilers may not add the suffix if given an `-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of # actually working. break;; * ) break;; esac done test "$ac_cv_exeext" = no && ac_cv_exeext= else ac_file='' fi if test -z "$ac_file"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "C compiler cannot create executables See \`config.log' for more details" "$LINENO" 5; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 $as_echo_n "checking for C compiler default output file name... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 $as_echo "$ac_file" >&6; } ac_exeext=$ac_cv_exeext rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 $as_echo_n "checking for suffix of executables... " >&6; } if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and link See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest conftest$ac_cv_exeext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 $as_echo "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { FILE *f = fopen ("conftest.out", "w"); return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF ac_clean_files="$ac_clean_files conftest.out" # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 $as_echo_n "checking whether we are cross compiling... " >&6; } if test "$cross_compiling" != yes; then { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if { ac_try='./conftest$ac_cv_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details" "$LINENO" 5; } fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 $as_echo "$cross_compiling" >&6; } rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } if ${ac_cv_objext+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of object files: cannot compile See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 $as_echo "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } if ${ac_cv_c_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_compiler_gnu=yes else ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } if ${ac_cv_prog_cc_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes else CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if ${ac_cv_prog_cc_c89+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include struct stat; /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c89=$ac_arg fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac if test "x$ac_cv_prog_cc_c89" != xno; then : fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu depcc="$CC" am_compiler_list= { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } if ${am_cv_CC_dependencies_compiler_type+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named 'D' -- because '-MD' means "put the output # in D". rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi am__universal=false case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with # Solaris 10 /bin/sh. echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle '-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # After this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 $as_echo_n "checking for a sed that does not truncate output... " >&6; } if ${ac_cv_path_SED+:} false; then : $as_echo_n "(cached) " >&6 else ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ for ac_i in 1 2 3 4 5 6 7; do ac_script="$ac_script$as_nl$ac_script" done echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed { ac_script=; unset ac_script;} if test -z "$SED"; then ac_path_SED_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_SED" || continue # Check for GNU ac_path_SED and select it if it is found. # Check for GNU $ac_path_SED case `"$ac_path_SED" --version 2>&1` in *GNU*) ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo '' >> "conftest.nl" "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_SED_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_SED="$ac_path_SED" ac_path_SED_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_SED_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_SED"; then as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 fi else ac_cv_path_SED=$SED fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 $as_echo "$ac_cv_path_SED" >&6; } SED="$ac_cv_path_SED" rm -f conftest.sed test -z "$SED" && SED=sed Xsed="$SED -e 1s/^X//" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } if ${ac_cv_path_GREP+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$GREP"; then ac_path_GREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_GREP" || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in *GNU*) ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_GREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_GREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_GREP"; then as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_GREP=$GREP fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 $as_echo "$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } if ${ac_cv_path_EGREP+:} false; then : $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else if test -z "$EGREP"; then ac_path_EGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_EGREP" || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in *GNU*) ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_EGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_EGREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_EGREP"; then as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_EGREP=$EGREP fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 $as_echo "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 $as_echo_n "checking for fgrep... " >&6; } if ${ac_cv_path_FGREP+:} false; then : $as_echo_n "(cached) " >&6 else if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 then ac_cv_path_FGREP="$GREP -F" else if test -z "$FGREP"; then ac_path_FGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in fgrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_FGREP" || continue # Check for GNU ac_path_FGREP and select it if it is found. # Check for GNU $ac_path_FGREP case `"$ac_path_FGREP" --version 2>&1` in *GNU*) ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'FGREP' >> "conftest.nl" "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_FGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_FGREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_FGREP"; then as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_FGREP=$FGREP fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 $as_echo "$ac_cv_path_FGREP" >&6; } FGREP="$ac_cv_path_FGREP" test -z "$GREP" && GREP=grep # Check whether --with-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then : withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes else with_gnu_ld=no fi ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 $as_echo_n "checking for ld used by $CC... " >&6; } case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [\\/]* | ?:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the pathname of ld ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 $as_echo_n "checking for GNU ld... " >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 $as_echo_n "checking for non-GNU ld... " >&6; } fi if ${lt_cv_path_LD+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$LD"; then lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$lt_cv_path_LD" -v 2>&1 &5 $as_echo "$LD" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } if ${lt_cv_prog_gnu_ld+:} false; then : $as_echo_n "(cached) " >&6 else # I'd rather use --version here, but apparently some GNU lds only accept -v. case `$LD -v 2>&1 &5 $as_echo "$lt_cv_prog_gnu_ld" >&6; } with_gnu_ld=$lt_cv_prog_gnu_ld { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } if ${lt_cv_path_NM+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$NM"; then # Let the user override the test. lt_cv_path_NM="$NM" else lt_nm_to_check="${ac_tool_prefix}nm" if test -n "$ac_tool_prefix" && test "$build" = "$host"; then lt_nm_to_check="$lt_nm_to_check nm" fi for lt_tmp_nm in $lt_nm_to_check; do lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. tmp_nm="$ac_dir/$lt_tmp_nm" if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then # Check to see if the nm accepts a BSD-compat flag. # Adding the `sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in */dev/null* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break ;; *) case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in */dev/null*) lt_cv_path_NM="$tmp_nm -p" break ;; *) lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but continue # so that we can try to find one that supports BSD flags ;; esac ;; esac fi done IFS="$lt_save_ifs" done : ${lt_cv_path_NM=no} fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 $as_echo "$lt_cv_path_NM" >&6; } if test "$lt_cv_path_NM" != "no"; then NM="$lt_cv_path_NM" else # Didn't find any BSD compatible name lister, look for dumpbin. if test -n "$DUMPBIN"; then : # Let the user override the test. else if test -n "$ac_tool_prefix"; then for ac_prog in dumpbin "link -dump" do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_DUMPBIN+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$DUMPBIN"; then ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi DUMPBIN=$ac_cv_prog_DUMPBIN if test -n "$DUMPBIN"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 $as_echo "$DUMPBIN" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$DUMPBIN" && break done fi if test -z "$DUMPBIN"; then ac_ct_DUMPBIN=$DUMPBIN for ac_prog in dumpbin "link -dump" do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DUMPBIN"; then ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN if test -n "$ac_ct_DUMPBIN"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 $as_echo "$ac_ct_DUMPBIN" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_DUMPBIN" && break done if test "x$ac_ct_DUMPBIN" = x; then DUMPBIN=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DUMPBIN=$ac_ct_DUMPBIN fi fi case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in *COFF*) DUMPBIN="$DUMPBIN -symbols" ;; *) DUMPBIN=: ;; esac fi if test "$DUMPBIN" != ":"; then NM="$DUMPBIN" fi fi test -z "$NM" && NM=nm { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 $as_echo_n "checking the name lister ($NM) interface... " >&6; } if ${lt_cv_nm_interface+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&5 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&5 (eval echo "\"\$as_me:$LINENO: output\"" >&5) cat conftest.out >&5 if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 $as_echo "$lt_cv_nm_interface" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 $as_echo_n "checking whether ln -s works... " >&6; } LN_S=$as_ln_s if test "$LN_S" = "ln -s"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 $as_echo "no, using $LN_S" >&6; } fi # find the maximum length of command line arguments { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 $as_echo_n "checking the maximum length of command line arguments... " >&6; } if ${lt_cv_sys_max_cmd_len+:} false; then : $as_echo_n "(cached) " >&6 else i=0 teststring="ABCD" case $build_os in msdosdjgpp*) # On DJGPP, this test can blow up pretty badly due to problems in libc # (any single argument exceeding 2000 bytes causes a buffer overrun # during glob expansion). Even if it were fixed, the result of this # check would be larger than it should be. lt_cv_sys_max_cmd_len=12288; # 12K is about right ;; gnu*) # Under GNU Hurd, this test is not required because there is # no limit to the length of command line arguments. # Libtool will interpret -1 as no limit whatsoever lt_cv_sys_max_cmd_len=-1; ;; cygwin* | mingw* | cegcc*) # On Win9x/ME, this test blows up -- it succeeds, but takes # about 5 minutes as the teststring grows exponentially. # Worse, since 9x/ME are not pre-emptively multitasking, # you end up with a "frozen" computer, even though with patience # the test eventually succeeds (with a max line length of 256k). # Instead, let's just punt: use the minimum linelength reported by # all of the supported platforms: 8192 (on NT/2K/XP). lt_cv_sys_max_cmd_len=8192; ;; mint*) # On MiNT this can take a long time and run out of memory. lt_cv_sys_max_cmd_len=8192; ;; amigaos*) # On AmigaOS with pdksh, this test takes hours, literally. # So we just punt and use a minimum line length of 8192. lt_cv_sys_max_cmd_len=8192; ;; netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) # This has been around since 386BSD, at least. Likely further. if test -x /sbin/sysctl; then lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` elif test -x /usr/sbin/sysctl; then lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` else lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs fi # And add a safety zone lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` ;; interix*) # We know the value 262144 and hardcode it with a safety zone (like BSD) lt_cv_sys_max_cmd_len=196608 ;; osf*) # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not # nice to cause kernel panics so lets avoid the loop below. # First set a reasonable default. lt_cv_sys_max_cmd_len=16384 # if test -x /sbin/sysconfig; then case `/sbin/sysconfig -q proc exec_disable_arg_limit` in *1*) lt_cv_sys_max_cmd_len=-1 ;; esac fi ;; sco3.2v5*) lt_cv_sys_max_cmd_len=102400 ;; sysv5* | sco5v6* | sysv4.2uw2*) kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` if test -n "$kargmax"; then lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` else lt_cv_sys_max_cmd_len=32768 fi ;; *) lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` if test -n "$lt_cv_sys_max_cmd_len"; then lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` else # Make teststring a little bigger before we do anything with it. # a 1K string should be a reasonable start. for i in 1 2 3 4 5 6 7 8 ; do teststring=$teststring$teststring done SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} # If test is not a shell built-in, we'll probably end up computing a # maximum length that is only half of the actual maximum length, but # we can't tell. while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \ = "X$teststring$teststring"; } >/dev/null 2>&1 && test $i != 17 # 1/2 MB should be enough do i=`expr $i + 1` teststring=$teststring$teststring done # Only check the string length outside the loop. lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` teststring= # Add a significant safety factor because C++ compilers can tack on # massive amounts of additional arguments before passing them to the # linker. It appears as though 1/2 is a usable value. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` fi ;; esac fi if test -n $lt_cv_sys_max_cmd_len ; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 $as_echo "$lt_cv_sys_max_cmd_len" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 $as_echo "none" >&6; } fi max_cmd_len=$lt_cv_sys_max_cmd_len : ${CP="cp -f"} : ${MV="mv -f"} : ${RM="rm -f"} { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } # Try some XSI features xsi_shell=no ( _lt_dummy="a/b/c" test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ = c,a/b,b/c, \ && eval 'test $(( 1 + 1 )) -eq 2 \ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ && xsi_shell=yes { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 $as_echo "$xsi_shell" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; } lt_shell_append=no ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ >/dev/null 2>&1 \ && lt_shell_append=yes { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 $as_echo "$lt_shell_append" >&6; } if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then lt_unset=unset else lt_unset=false fi # test EBCDIC or ASCII case `echo X|tr X '\101'` in A) # ASCII based system # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr lt_SP2NL='tr \040 \012' lt_NL2SP='tr \015\012 \040\040' ;; *) # EBCDIC based system lt_SP2NL='tr \100 \n' lt_NL2SP='tr \r\n \100\100' ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 $as_echo_n "checking how to convert $build file names to $host format... " >&6; } if ${lt_cv_to_host_file_cmd+:} false; then : $as_echo_n "(cached) " >&6 else case $host in *-*-mingw* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 ;; *-*-cygwin* ) lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 ;; * ) # otherwise, assume *nix lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 ;; esac ;; *-*-cygwin* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin ;; *-*-cygwin* ) lt_cv_to_host_file_cmd=func_convert_file_noop ;; * ) # otherwise, assume *nix lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin ;; esac ;; * ) # unhandled hosts (and "normal" native builds) lt_cv_to_host_file_cmd=func_convert_file_noop ;; esac fi to_host_file_cmd=$lt_cv_to_host_file_cmd { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 $as_echo "$lt_cv_to_host_file_cmd" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } if ${lt_cv_to_tool_file_cmd+:} false; then : $as_echo_n "(cached) " >&6 else #assume ordinary cross tools, or native build. lt_cv_to_tool_file_cmd=func_convert_file_noop case $host in *-*-mingw* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 ;; esac ;; esac fi to_tool_file_cmd=$lt_cv_to_tool_file_cmd { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 $as_echo "$lt_cv_to_tool_file_cmd" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 $as_echo_n "checking for $LD option to reload object files... " >&6; } if ${lt_cv_ld_reload_flag+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ld_reload_flag='-r' fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 $as_echo "$lt_cv_ld_reload_flag" >&6; } reload_flag=$lt_cv_ld_reload_flag case $reload_flag in "" | " "*) ;; *) reload_flag=" $reload_flag" ;; esac reload_cmds='$LD$reload_flag -o $output$reload_objs' case $host_os in cygwin* | mingw* | pw32* | cegcc*) if test "$GCC" != yes; then reload_cmds=false fi ;; darwin*) if test "$GCC" = yes; then reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' else reload_cmds='$LD$reload_flag -o $output$reload_objs' fi ;; esac if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. set dummy ${ac_tool_prefix}objdump; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_OBJDUMP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OBJDUMP"; then ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi OBJDUMP=$ac_cv_prog_OBJDUMP if test -n "$OBJDUMP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 $as_echo "$OBJDUMP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_OBJDUMP"; then ac_ct_OBJDUMP=$OBJDUMP # Extract the first word of "objdump", so it can be a program name with args. set dummy objdump; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OBJDUMP"; then ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OBJDUMP="objdump" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP if test -n "$ac_ct_OBJDUMP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 $as_echo "$ac_ct_OBJDUMP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_OBJDUMP" = x; then OBJDUMP="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OBJDUMP=$ac_ct_OBJDUMP fi else OBJDUMP="$ac_cv_prog_OBJDUMP" fi test -z "$OBJDUMP" && OBJDUMP=objdump { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 $as_echo_n "checking how to recognize dependent libraries... " >&6; } if ${lt_cv_deplibs_check_method+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_deplibs_check_method='unknown' # Need to set the preceding variable on all platforms that support # interlibrary dependencies. # 'none' -- dependencies not supported. # `unknown' -- same as none, but documents that we really don't know. # 'pass_all' -- all dependencies passed with no checks. # 'test_compile' -- check by making test program. # 'file_magic [[regex]]' -- check by looking for files in library path # which responds to the $file_magic_cmd with a given extended regex. # If you have `file' or equivalent on your system and you're not sure # whether `pass_all' will *always* work, you probably want this one. case $host_os in aix[4-9]*) lt_cv_deplibs_check_method=pass_all ;; beos*) lt_cv_deplibs_check_method=pass_all ;; bsdi[45]*) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' lt_cv_file_magic_cmd='/usr/bin/file -L' lt_cv_file_magic_test_file=/shlib/libc.so ;; cygwin*) # func_win32_libid is a shell function defined in ltmain.sh lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' ;; mingw* | pw32*) # Base MSYS/MinGW do not provide the 'file' command needed by # func_win32_libid shell function, so use a weaker test based on 'objdump', # unless we find 'file', for example because we are cross-compiling. # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' else # Keep this pattern in sync with the one in func_win32_libid. lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; cegcc*) # use the weaker test based on 'objdump'. See mingw*. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' lt_cv_file_magic_cmd='$OBJDUMP -f' ;; darwin* | rhapsody*) lt_cv_deplibs_check_method=pass_all ;; freebsd* | dragonfly*) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then case $host_cpu in i*86 ) # Not sure whether the presence of OpenBSD here was a mistake. # Let's accept both of them until this is cleared up. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ;; esac else lt_cv_deplibs_check_method=pass_all fi ;; gnu*) lt_cv_deplibs_check_method=pass_all ;; haiku*) lt_cv_deplibs_check_method=pass_all ;; hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file case $host_cpu in ia64*) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so ;; hppa*64*) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; *) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; esac ;; interix[3-9]*) # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' ;; irix5* | irix6* | nonstopux*) case $LD in *-32|*"-32 ") libmagic=32-bit;; *-n32|*"-n32 ") libmagic=N32;; *-64|*"-64 ") libmagic=64-bit;; *) libmagic=never-match;; esac lt_cv_deplibs_check_method=pass_all ;; # This must be Linux ELF. linux* | k*bsd*-gnu | kopensolaris*-gnu) lt_cv_deplibs_check_method=pass_all ;; netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' fi ;; newos6*) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; *nto* | *qnx*) lt_cv_deplibs_check_method=pass_all ;; openbsd*) if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' fi ;; osf3* | osf4* | osf5*) lt_cv_deplibs_check_method=pass_all ;; rdos*) lt_cv_deplibs_check_method=pass_all ;; solaris*) lt_cv_deplibs_check_method=pass_all ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) lt_cv_deplibs_check_method=pass_all ;; sysv4 | sysv4.3*) case $host_vendor in motorola) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; ncr) lt_cv_deplibs_check_method=pass_all ;; sequent) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; sni) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" lt_cv_file_magic_test_file=/lib/libc.so ;; siemens) lt_cv_deplibs_check_method=pass_all ;; pc) lt_cv_deplibs_check_method=pass_all ;; esac ;; tpf*) lt_cv_deplibs_check_method=pass_all ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 $as_echo "$lt_cv_deplibs_check_method" >&6; } file_magic_glob= want_nocaseglob=no if test "$build" = "$host"; then case $host_os in mingw* | pw32*) if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then want_nocaseglob=yes else file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` fi ;; esac fi file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method test -z "$deplibs_check_method" && deplibs_check_method=unknown if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. set dummy ${ac_tool_prefix}dlltool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_DLLTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$DLLTOOL"; then ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi DLLTOOL=$ac_cv_prog_DLLTOOL if test -n "$DLLTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 $as_echo "$DLLTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_DLLTOOL"; then ac_ct_DLLTOOL=$DLLTOOL # Extract the first word of "dlltool", so it can be a program name with args. set dummy dlltool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DLLTOOL"; then ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DLLTOOL="dlltool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL if test -n "$ac_ct_DLLTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 $as_echo "$ac_ct_DLLTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_DLLTOOL" = x; then DLLTOOL="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DLLTOOL=$ac_ct_DLLTOOL fi else DLLTOOL="$ac_cv_prog_DLLTOOL" fi test -z "$DLLTOOL" && DLLTOOL=dlltool { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 $as_echo_n "checking how to associate runtime and link libraries... " >&6; } if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_sharedlib_from_linklib_cmd='unknown' case $host_os in cygwin* | mingw* | pw32* | cegcc*) # two different shell functions defined in ltmain.sh # decide which to use based on capabilities of $DLLTOOL case `$DLLTOOL --help 2>&1` in *--identify-strict*) lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib ;; *) lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback ;; esac ;; *) # fallback: assume linklib IS sharedlib lt_cv_sharedlib_from_linklib_cmd="$ECHO" ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO if test -n "$ac_tool_prefix"; then for ac_prog in ar do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AR+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AR"; then ac_cv_prog_AR="$AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AR="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AR=$ac_cv_prog_AR if test -n "$AR"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 $as_echo "$AR" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AR" && break done fi if test -z "$AR"; then ac_ct_AR=$AR for ac_prog in ar do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_AR+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_AR"; then ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_AR="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 $as_echo "$ac_ct_AR" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_AR" && break done if test "x$ac_ct_AR" = x; then AR="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac AR=$ac_ct_AR fi fi : ${AR=ar} : ${AR_FLAGS=cru} { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 $as_echo_n "checking for archiver @FILE support... " >&6; } if ${lt_cv_ar_at_file+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ar_at_file=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : echo conftest.$ac_objext > conftest.lst lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 (eval $lt_ar_try) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if test "$ac_status" -eq 0; then # Ensure the archiver fails upon bogus file names. rm -f conftest.$ac_objext libconftest.a { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 (eval $lt_ar_try) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if test "$ac_status" -ne 0; then lt_cv_ar_at_file=@ fi fi rm -f conftest.* libconftest.a fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 $as_echo "$lt_cv_ar_at_file" >&6; } if test "x$lt_cv_ar_at_file" = xno; then archiver_list_spec= else archiver_list_spec=$lt_cv_ar_at_file fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi test -z "$STRIP" && STRIP=: if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_RANLIB+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 $as_echo "$RANLIB" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_RANLIB"; then ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_RANLIB"; then ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_RANLIB="ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 $as_echo "$ac_ct_RANLIB" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_RANLIB" = x; then RANLIB=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac RANLIB=$ac_ct_RANLIB fi else RANLIB="$ac_cv_prog_RANLIB" fi test -z "$RANLIB" && RANLIB=: # Determine commands to create old-style static archives. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' old_postinstall_cmds='chmod 644 $oldlib' old_postuninstall_cmds= if test -n "$RANLIB"; then case $host_os in openbsd*) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" ;; *) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" ;; esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" fi case $host_os in darwin*) lock_old_archive_extraction=yes ;; *) lock_old_archive_extraction=no ;; esac # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # Check for command to grab the raw symbol name followed by C symbol from nm. { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } if ${lt_cv_sys_global_symbol_pipe+:} false; then : $as_echo_n "(cached) " >&6 else # These are sane defaults that work on at least a few old systems. # [They come from Ultrix. What could be older than Ultrix?!! ;)] # Character class describing NM global symbol codes. symcode='[BCDEGRST]' # Regexp to match symbols that can be accessed directly from C. sympat='\([_A-Za-z][_A-Za-z0-9]*\)' # Define system-specific variables. case $host_os in aix*) symcode='[BCDT]' ;; cygwin* | mingw* | pw32* | cegcc*) symcode='[ABCDGISTW]' ;; hpux*) if test "$host_cpu" = ia64; then symcode='[ABCDEGRST]' fi ;; irix* | nonstopux*) symcode='[BCDEGRST]' ;; osf*) symcode='[BCDEGQRST]' ;; solaris*) symcode='[BDRT]' ;; sco3.2v5*) symcode='[DT]' ;; sysv4.2uw2*) symcode='[DT]' ;; sysv5* | sco5v6* | unixware* | OpenUNIX*) symcode='[ABDT]' ;; sysv4) symcode='[DFNSTU]' ;; esac # If we're using GNU nm, then use its standard symbol codes. case `$NM -V 2>&1` in *GNU* | *'with BFD'*) symcode='[ABCDGIRSTW]' ;; esac # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" # Handle CRLF in mingw tool chain opt_cr= case $build_os in mingw*) opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac # Try without a prefix underscore, then with it. for ac_symprfx in "" "_"; do # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. symxfrm="\\1 $ac_symprfx\\2 \\2" # Write the raw and C identifiers. if test "$lt_cv_nm_interface" = "MS dumpbin"; then # Fake it for dumpbin and say T for any non-static function # and D for any global variable. # Also find C++ and __fastcall symbols from MSVC++, # which start with @ or ?. lt_cv_sys_global_symbol_pipe="$AWK '"\ " {last_section=section; section=\$ 3};"\ " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ " \$ 0!~/External *\|/{next};"\ " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ " {if(hide[section]) next};"\ " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ " s[1]~/^[@?]/{print s[1], s[1]; next};"\ " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ " ' prfx=^$ac_symprfx" else lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" fi lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" # Check to see that the pipe works correctly. pipe_works=no rm -f conftest* cat > conftest.$ac_ext <<_LT_EOF #ifdef __cplusplus extern "C" { #endif char nm_test_var; void nm_test_func(void); void nm_test_func(void){} #ifdef __cplusplus } #endif int main(){nm_test_var='a';nm_test_func();return(0);} _LT_EOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then # Now try to grab the symbols. nlist=conftest.nm if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" else rm -f "$nlist"T fi # Make sure that we snagged all the symbols we need. if $GREP ' nm_test_var$' "$nlist" >/dev/null; then if $GREP ' nm_test_func$' "$nlist" >/dev/null; then cat <<_LT_EOF > conftest.$ac_ext /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) /* DATA imports from DLLs on WIN32 con't be const, because runtime relocations are performed -- see ld's documentation on pseudo-relocs. */ # define LT_DLSYM_CONST #elif defined(__osf__) /* This system does not cope well with relocations in const data. */ # define LT_DLSYM_CONST #else # define LT_DLSYM_CONST const #endif #ifdef __cplusplus extern "C" { #endif _LT_EOF # Now generate the symbol file. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' cat <<_LT_EOF >> conftest.$ac_ext /* The mapping between symbol names and symbols. */ LT_DLSYM_CONST struct { const char *name; void *address; } lt__PROGRAM__LTX_preloaded_symbols[] = { { "@PROGRAM@", (void *) 0 }, _LT_EOF $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext cat <<\_LT_EOF >> conftest.$ac_ext {0, (void *) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt__PROGRAM__LTX_preloaded_symbols; } #endif #ifdef __cplusplus } #endif _LT_EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext lt_globsym_save_LIBS=$LIBS lt_globsym_save_CFLAGS=$CFLAGS LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest${ac_exeext}; then pipe_works=yes fi LIBS=$lt_globsym_save_LIBS CFLAGS=$lt_globsym_save_CFLAGS else echo "cannot find nm_test_func in $nlist" >&5 fi else echo "cannot find nm_test_var in $nlist" >&5 fi else echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 fi else echo "$progname: failed program was:" >&5 cat conftest.$ac_ext >&5 fi rm -rf conftest* conftst* # Do not use the global_symbol_pipe unless it works. if test "$pipe_works" = yes; then break else lt_cv_sys_global_symbol_pipe= fi done fi if test -z "$lt_cv_sys_global_symbol_pipe"; then lt_cv_sys_global_symbol_to_cdecl= fi if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 $as_echo "failed" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 $as_echo "ok" >&6; } fi # Response file support. if test "$lt_cv_nm_interface" = "MS dumpbin"; then nm_file_list_spec='@' elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then nm_file_list_spec='@' fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 $as_echo_n "checking for sysroot... " >&6; } # Check whether --with-sysroot was given. if test "${with_sysroot+set}" = set; then : withval=$with_sysroot; else with_sysroot=no fi lt_sysroot= case ${with_sysroot} in #( yes) if test "$GCC" = yes; then lt_sysroot=`$CC --print-sysroot 2>/dev/null` fi ;; #( /*) lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` ;; #( no|'') ;; #( *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 $as_echo "${with_sysroot}" >&6; } as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 $as_echo "${lt_sysroot:-no}" >&6; } # Check whether --enable-libtool-lock was given. if test "${enable_libtool_lock+set}" = set; then : enableval=$enable_libtool_lock; fi test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes # Some flags need to be propagated to the compiler or linker for good # libtool support. case $host in ia64-*-hpux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then case `/usr/bin/file conftest.$ac_objext` in *ELF-32*) HPUX_IA64_MODE="32" ;; *ELF-64*) HPUX_IA64_MODE="64" ;; esac fi rm -rf conftest* ;; *-*-irix6*) # Find out which ABI we are using. echo '#line '$LINENO' "configure"' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then if test "$lt_cv_prog_gnu_ld" = yes; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -melf32bsmip" ;; *N32*) LD="${LD-ld} -melf32bmipn32" ;; *64-bit*) LD="${LD-ld} -melf64bmip" ;; esac else case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" ;; *N32*) LD="${LD-ld} -n32" ;; *64-bit*) LD="${LD-ld} -64" ;; esac fi fi rm -rf conftest* ;; x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then case `/usr/bin/file conftest.o` in *32-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_i386_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; ppc64-*linux*|powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) LD="${LD-ld} -m elf_s390" ;; sparc64-*linux*) LD="${LD-ld} -m elf32_sparc" ;; esac ;; *64-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_x86_64_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; ppc*-*linux*|powerpc*-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*|s390*-*tpf*) LD="${LD-ld} -m elf64_s390" ;; sparc*-*linux*) LD="${LD-ld} -m elf64_sparc" ;; esac ;; esac fi rm -rf conftest* ;; *-*-sco3.2v5*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } if ${lt_cv_cc_needs_belf+:} false; then : $as_echo_n "(cached) " >&6 else ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_cv_cc_needs_belf=yes else lt_cv_cc_needs_belf=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 $as_echo "$lt_cv_cc_needs_belf" >&6; } if test x"$lt_cv_cc_needs_belf" != x"yes"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS="$SAVE_CFLAGS" fi ;; sparc*-*solaris*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then case `/usr/bin/file conftest.o` in *64-bit*) case $lt_cv_prog_gnu_ld in yes*) LD="${LD-ld} -m elf64_sparc" ;; *) if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then LD="${LD-ld} -64" fi ;; esac ;; esac fi rm -rf conftest* ;; esac need_locks="$enable_libtool_lock" if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. set dummy ${ac_tool_prefix}mt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$MANIFEST_TOOL"; then ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL if test -n "$MANIFEST_TOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 $as_echo "$MANIFEST_TOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_MANIFEST_TOOL"; then ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL # Extract the first word of "mt", so it can be a program name with args. set dummy mt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_MANIFEST_TOOL"; then ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL if test -n "$ac_ct_MANIFEST_TOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_MANIFEST_TOOL" = x; then MANIFEST_TOOL=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL fi else MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" fi test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } if ${lt_cv_path_mainfest_tool+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_path_mainfest_tool=no echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out cat conftest.err >&5 if $GREP 'Manifest Tool' conftest.out > /dev/null; then lt_cv_path_mainfest_tool=yes fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 $as_echo "$lt_cv_path_mainfest_tool" >&6; } if test "x$lt_cv_path_mainfest_tool" != xyes; then MANIFEST_TOOL=: fi case $host_os in rhapsody* | darwin*) if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_DSYMUTIL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$DSYMUTIL"; then ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi DSYMUTIL=$ac_cv_prog_DSYMUTIL if test -n "$DSYMUTIL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 $as_echo "$DSYMUTIL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_DSYMUTIL"; then ac_ct_DSYMUTIL=$DSYMUTIL # Extract the first word of "dsymutil", so it can be a program name with args. set dummy dsymutil; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DSYMUTIL"; then ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL if test -n "$ac_ct_DSYMUTIL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 $as_echo "$ac_ct_DSYMUTIL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_DSYMUTIL" = x; then DSYMUTIL=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DSYMUTIL=$ac_ct_DSYMUTIL fi else DSYMUTIL="$ac_cv_prog_DSYMUTIL" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. set dummy ${ac_tool_prefix}nmedit; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_NMEDIT+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$NMEDIT"; then ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi NMEDIT=$ac_cv_prog_NMEDIT if test -n "$NMEDIT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 $as_echo "$NMEDIT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_NMEDIT"; then ac_ct_NMEDIT=$NMEDIT # Extract the first word of "nmedit", so it can be a program name with args. set dummy nmedit; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_NMEDIT"; then ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_NMEDIT="nmedit" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT if test -n "$ac_ct_NMEDIT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 $as_echo "$ac_ct_NMEDIT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_NMEDIT" = x; then NMEDIT=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac NMEDIT=$ac_ct_NMEDIT fi else NMEDIT="$ac_cv_prog_NMEDIT" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. set dummy ${ac_tool_prefix}lipo; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_LIPO+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$LIPO"; then ac_cv_prog_LIPO="$LIPO" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_LIPO="${ac_tool_prefix}lipo" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi LIPO=$ac_cv_prog_LIPO if test -n "$LIPO"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 $as_echo "$LIPO" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_LIPO"; then ac_ct_LIPO=$LIPO # Extract the first word of "lipo", so it can be a program name with args. set dummy lipo; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_LIPO+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_LIPO"; then ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_LIPO="lipo" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO if test -n "$ac_ct_LIPO"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 $as_echo "$ac_ct_LIPO" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_LIPO" = x; then LIPO=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac LIPO=$ac_ct_LIPO fi else LIPO="$ac_cv_prog_LIPO" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. set dummy ${ac_tool_prefix}otool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_OTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OTOOL"; then ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_OTOOL="${ac_tool_prefix}otool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi OTOOL=$ac_cv_prog_OTOOL if test -n "$OTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 $as_echo "$OTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_OTOOL"; then ac_ct_OTOOL=$OTOOL # Extract the first word of "otool", so it can be a program name with args. set dummy otool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OTOOL"; then ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OTOOL="otool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL if test -n "$ac_ct_OTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 $as_echo "$ac_ct_OTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_OTOOL" = x; then OTOOL=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OTOOL=$ac_ct_OTOOL fi else OTOOL="$ac_cv_prog_OTOOL" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. set dummy ${ac_tool_prefix}otool64; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_OTOOL64+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OTOOL64"; then ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi OTOOL64=$ac_cv_prog_OTOOL64 if test -n "$OTOOL64"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 $as_echo "$OTOOL64" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_OTOOL64"; then ac_ct_OTOOL64=$OTOOL64 # Extract the first word of "otool64", so it can be a program name with args. set dummy otool64; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OTOOL64"; then ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OTOOL64="otool64" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 if test -n "$ac_ct_OTOOL64"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 $as_echo "$ac_ct_OTOOL64" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_OTOOL64" = x; then OTOOL64=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OTOOL64=$ac_ct_OTOOL64 fi else OTOOL64="$ac_cv_prog_OTOOL64" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 $as_echo_n "checking for -single_module linker flag... " >&6; } if ${lt_cv_apple_cc_single_mod+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_apple_cc_single_mod=no if test -z "${LT_MULTI_MODULE}"; then # By default we will add the -single_module flag. You can override # by either setting the environment variable LT_MULTI_MODULE # non-empty at configure time, or by adding -multi_module to the # link flags. rm -rf libconftest.dylib* echo "int foo(void){return 1;}" > conftest.c echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c" >&5 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err _lt_result=$? if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then lt_cv_apple_cc_single_mod=yes else cat conftest.err >&5 fi rm -rf libconftest.dylib* rm -f conftest.* fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 $as_echo "$lt_cv_apple_cc_single_mod" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } if ${lt_cv_ld_exported_symbols_list+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ld_exported_symbols_list=no save_LDFLAGS=$LDFLAGS echo "_main" > conftest.sym LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_cv_ld_exported_symbols_list=yes else lt_cv_ld_exported_symbols_list=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LDFLAGS="$save_LDFLAGS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 $as_echo_n "checking for -force_load linker flag... " >&6; } if ${lt_cv_ld_force_load+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ld_force_load=no cat > conftest.c << _LT_EOF int forced_loaded() { return 2;} _LT_EOF echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 echo "$AR cru libconftest.a conftest.o" >&5 $AR cru libconftest.a conftest.o 2>&5 echo "$RANLIB libconftest.a" >&5 $RANLIB libconftest.a 2>&5 cat > conftest.c << _LT_EOF int main() { return 0;} _LT_EOF echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err _lt_result=$? if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then lt_cv_ld_force_load=yes else cat conftest.err >&5 fi rm -f conftest.err libconftest.a conftest conftest.c rm -rf conftest.dSYM fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 $as_echo "$lt_cv_ld_force_load" >&6; } case $host_os in rhapsody* | darwin1.[012]) _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; darwin1.*) _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; darwin*) # darwin 5.x on # if running on 10.5 or later, the deployment target defaults # to the OS version, if on x86, and 10.4, the deployment # target defaults to 10.4. Don't you love it? case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 10.0,*86*-darwin8*|10.0,*-darwin[91]*) _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 10.[012]*) _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; esac ;; esac if test "$lt_cv_apple_cc_single_mod" = "yes"; then _lt_dar_single_mod='$single_module' fi if test "$lt_cv_ld_exported_symbols_list" = "yes"; then _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' else _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' fi if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then _lt_dsymutil='~$DSYMUTIL $lib || :' else _lt_dsymutil= fi ;; esac ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 $as_echo_n "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if ${ac_cv_prog_CPP+:} false; then : $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : break fi done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 $as_echo "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details" "$LINENO" 5; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } if ${ac_cv_header_stdc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_header_stdc=yes else ac_cv_header_stdc=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) return 2; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : else ac_cv_header_stdc=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 $as_echo "$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then $as_echo "#define STDC_HEADERS 1" >>confdefs.h fi # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default " if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_header in dlfcn.h do : ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default " if test "x$ac_cv_header_dlfcn_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_DLFCN_H 1 _ACEOF fi done # Set options # Check whether --enable-static was given. if test "${enable_static+set}" = set; then : enableval=$enable_static; p=${PACKAGE-default} case $enableval in yes) enable_static=yes ;; no) enable_static=no ;; *) enable_static=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_static=yes fi done IFS="$lt_save_ifs" ;; esac else enable_static=no fi enable_dlopen=no enable_win32_dll=no # Check whether --enable-shared was given. if test "${enable_shared+set}" = set; then : enableval=$enable_shared; p=${PACKAGE-default} case $enableval in yes) enable_shared=yes ;; no) enable_shared=no ;; *) enable_shared=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_shared=yes fi done IFS="$lt_save_ifs" ;; esac else enable_shared=yes fi # Check whether --with-pic was given. if test "${with_pic+set}" = set; then : withval=$with_pic; pic_mode="$withval" else pic_mode=default fi test -z "$pic_mode" && pic_mode=default # Check whether --enable-fast-install was given. if test "${enable_fast_install+set}" = set; then : enableval=$enable_fast_install; p=${PACKAGE-default} case $enableval in yes) enable_fast_install=yes ;; no) enable_fast_install=no ;; *) enable_fast_install=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS="$lt_save_ifs" ;; esac else enable_fast_install=yes fi # This can be used to rebuild libtool when needed LIBTOOL_DEPS="$ltmain" # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' test -z "$LN_S" && LN_S="ln -s" if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 $as_echo_n "checking for objdir... " >&6; } if ${lt_cv_objdir+:} false; then : $as_echo_n "(cached) " >&6 else rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null if test -d .libs; then lt_cv_objdir=.libs else # MS-DOS does not allow filenames that begin with a dot. lt_cv_objdir=_libs fi rmdir .libs 2>/dev/null fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 $as_echo "$lt_cv_objdir" >&6; } objdir=$lt_cv_objdir cat >>confdefs.h <<_ACEOF #define LT_OBJDIR "$lt_cv_objdir/" _ACEOF case $host_os in aix3*) # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi ;; esac # Global variables: ofile=libtool can_build_shared=yes # All known linkers require a `.a' archive for static linking (except MSVC, # which needs '.lib'). libext=a with_gnu_ld="$lt_cv_prog_gnu_ld" old_CC="$CC" old_CFLAGS="$CFLAGS" # Set sane defaults for various variables test -z "$CC" && CC=cc test -z "$LTCC" && LTCC=$CC test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS test -z "$LD" && LD=ld test -z "$ac_objext" && ac_objext=o for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` # Only perform the check for file, if the check method requires it test -z "$MAGIC_CMD" && MAGIC_CMD=file case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } if ${lt_cv_path_MAGIC_CMD+:} false; then : $as_echo_n "(cached) " >&6 else case $MAGIC_CMD in [\\/*] | ?:[\\/]*) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD="$MAGIC_CMD" lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" for ac_dir in $ac_dummy; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/${ac_tool_prefix}file; then lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <<_LT_EOF 1>&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org _LT_EOF fi ;; esac fi break fi done IFS="$lt_save_ifs" MAGIC_CMD="$lt_save_MAGIC_CMD" ;; esac fi MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 $as_echo "$MAGIC_CMD" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 $as_echo_n "checking for file... " >&6; } if ${lt_cv_path_MAGIC_CMD+:} false; then : $as_echo_n "(cached) " >&6 else case $MAGIC_CMD in [\\/*] | ?:[\\/]*) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD="$MAGIC_CMD" lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" for ac_dir in $ac_dummy; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/file; then lt_cv_path_MAGIC_CMD="$ac_dir/file" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <<_LT_EOF 1>&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org _LT_EOF fi ;; esac fi break fi done IFS="$lt_save_ifs" MAGIC_CMD="$lt_save_MAGIC_CMD" ;; esac fi MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 $as_echo "$MAGIC_CMD" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi else MAGIC_CMD=: fi fi fi ;; esac # Use C for the default configuration in the libtool script lt_save_CC="$CC" ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu # Source file extension for C test sources. ac_ext=c # Object file extension for compiled C test sources. objext=o objext=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests lt_simple_link_test_code='int main(){return(0);}' # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # Save the default compiler, since it gets overwritten when the other # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. compiler_DEFAULT=$CC # save warnings/boilerplate of simple test code ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $RM conftest* ac_outfile=conftest.$ac_objext echo "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $RM -r conftest* ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... if test -n "$compiler"; then lt_prog_compiler_no_builtin_flag= if test "$GCC" = yes; then case $cc_basename in nvcc*) lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; *) lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_rtti_exceptions=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-fno-rtti -fno-exceptions" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_rtti_exceptions=yes fi fi $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" else : fi fi lt_prog_compiler_wl= lt_prog_compiler_pic= lt_prog_compiler_static= if test "$GCC" = yes; then lt_prog_compiler_wl='-Wl,' lt_prog_compiler_static='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static='-Bstatic' fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support lt_prog_compiler_pic='-fPIC' ;; m68k) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' ;; esac ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries lt_prog_compiler_pic='-DDLL_EXPORT' ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic='-fno-common' ;; haiku*) # PIC is the default for Haiku. # The "-static" flag exists, but is broken. lt_prog_compiler_static= ;; hpux*) # PIC is the default for 64-bit PA HP-UX, but not for 32-bit # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag # sets the default TLS model and affects inlining. case $host_cpu in hppa*64*) # +Z the default ;; *) lt_prog_compiler_pic='-fPIC' ;; esac ;; interix[3-9]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. lt_prog_compiler_can_build_shared=no enable_shared=no ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. lt_prog_compiler_pic='-fPIC -shared' ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic=-Kconform_pic fi ;; *) lt_prog_compiler_pic='-fPIC' ;; esac case $cc_basename in nvcc*) # Cuda Compiler Driver 2.2 lt_prog_compiler_wl='-Xlinker ' lt_prog_compiler_pic='-Xcompiler -fPIC' ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) lt_prog_compiler_wl='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static='-Bstatic' else lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' fi ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic='-DDLL_EXPORT' ;; hpux9* | hpux10* | hpux11*) lt_prog_compiler_wl='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? lt_prog_compiler_static='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) lt_prog_compiler_wl='-Wl,' # PIC (with -KPIC) is the default. lt_prog_compiler_static='-non_shared' ;; linux* | k*bsd*-gnu | kopensolaris*-gnu) case $cc_basename in # old Intel for x86_64 which still supported -KPIC. ecc*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-static' ;; # icc used to be incompatible with GCC. # ICC 10 doesn't accept -KPIC any more. icc* | ifort*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fPIC' lt_prog_compiler_static='-static' ;; # Lahey Fortran 8.1. lf95*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='--shared' lt_prog_compiler_static='--static' ;; nagfor*) # NAG Fortran compiler lt_prog_compiler_wl='-Wl,-Wl,,' lt_prog_compiler_pic='-PIC' lt_prog_compiler_static='-Bstatic' ;; pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fpic' lt_prog_compiler_static='-Bstatic' ;; ccc*) lt_prog_compiler_wl='-Wl,' # All Alpha code is PIC. lt_prog_compiler_static='-non_shared' ;; xl* | bgxl* | bgf* | mpixl*) # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-qpic' lt_prog_compiler_static='-qstaticlink' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ F* | *Sun*Fortran*) # Sun Fortran 8.3 passes all unrecognized flags to the linker lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' lt_prog_compiler_wl='' ;; *Sun\ C*) # Sun C 5.9 lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' lt_prog_compiler_wl='-Wl,' ;; esac ;; esac ;; newsos6) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. lt_prog_compiler_pic='-fPIC -shared' ;; osf3* | osf4* | osf5*) lt_prog_compiler_wl='-Wl,' # All OSF/1 code is PIC. lt_prog_compiler_static='-non_shared' ;; rdos*) lt_prog_compiler_static='-non_shared' ;; solaris*) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' case $cc_basename in f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) lt_prog_compiler_wl='-Qoption ld ';; *) lt_prog_compiler_wl='-Wl,';; esac ;; sunos4*) lt_prog_compiler_wl='-Qoption ld ' lt_prog_compiler_pic='-PIC' lt_prog_compiler_static='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then lt_prog_compiler_pic='-Kconform_pic' lt_prog_compiler_static='-Bstatic' fi ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; unicos*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_can_build_shared=no ;; uts4*) lt_prog_compiler_pic='-pic' lt_prog_compiler_static='-Bstatic' ;; *) lt_prog_compiler_can_build_shared=no ;; esac fi case $host_os in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) lt_prog_compiler_pic= ;; *) lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } if ${lt_cv_prog_compiler_pic+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_pic=$lt_prog_compiler_pic fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 $as_echo "$lt_cv_prog_compiler_pic" >&6; } lt_prog_compiler_pic=$lt_cv_prog_compiler_pic # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } if ${lt_cv_prog_compiler_pic_works+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_pic_works=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$lt_prog_compiler_pic -DPIC" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_pic_works=yes fi fi $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; } if test x"$lt_cv_prog_compiler_pic_works" = xyes; then case $lt_prog_compiler_pic in "" | " "*) ;; *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; esac else lt_prog_compiler_pic= lt_prog_compiler_can_build_shared=no fi fi # # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } if ${lt_cv_prog_compiler_static_works+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_static_works=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $lt_tmp_static_flag" echo "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&5 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_static_works=yes fi else lt_cv_prog_compiler_static_works=yes fi fi $RM -r conftest* LDFLAGS="$save_LDFLAGS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 $as_echo "$lt_cv_prog_compiler_static_works" >&6; } if test x"$lt_cv_prog_compiler_static_works" = xyes; then : else lt_prog_compiler_static= fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } if ${lt_cv_prog_compiler_c_o+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o=no $RM -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o=yes fi fi chmod u+w . 2>&5 $RM conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files $RM out/* && rmdir out cd .. $RM -r conftest $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } if ${lt_cv_prog_compiler_c_o+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o=no $RM -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o=yes fi fi chmod u+w . 2>&5 $RM conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files $RM out/* && rmdir out cd .. $RM -r conftest $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } hard_links="nottested" if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 $as_echo_n "checking if we can lock with hard links... " >&6; } hard_links=yes $RM conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 $as_echo "$hard_links" >&6; } if test "$hard_links" = no; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} need_locks=warn fi else need_locks=no fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } runpath_var= allow_undefined_flag= always_export_symbols=no archive_cmds= archive_expsym_cmds= compiler_needs_object=no enable_shared_with_static_runtimes=no export_dynamic_flag_spec= export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' hardcode_automatic=no hardcode_direct=no hardcode_direct_absolute=no hardcode_libdir_flag_spec= hardcode_libdir_flag_spec_ld= hardcode_libdir_separator= hardcode_minus_L=no hardcode_shlibpath_var=unsupported inherit_rpath=no link_all_deplibs=unknown module_cmds= module_expsym_cmds= old_archive_from_new_cmds= old_archive_from_expsyms_cmds= thread_safe_flag_spec= whole_archive_flag_spec= # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list include_expsyms= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ` (' and `)$', so one must not match beginning or # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', # as well as any symbol that contains `d'. exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. # Exclude shared library initialization/finalization symbols. extract_expsyms_cmds= case $host_os in cygwin* | mingw* | pw32* | cegcc*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd*) with_gnu_ld=no ;; esac ld_shlibs=yes # On some targets, GNU ld is compatible enough with the native linker # that we're better off using the native interface for both. lt_use_gnu_ld_interface=no if test "$with_gnu_ld" = yes; then case $host_os in aix*) # The AIX port of GNU ld has always aspired to compatibility # with the native linker. However, as the warning in the GNU ld # block says, versions before 2.19.5* couldn't really create working # shared libraries, regardless of the interface used. case `$LD -v 2>&1` in *\ \(GNU\ Binutils\)\ 2.19.5*) ;; *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; *\ \(GNU\ Binutils\)\ [3-9]*) ;; *) lt_use_gnu_ld_interface=yes ;; esac ;; *) lt_use_gnu_ld_interface=yes ;; esac fi if test "$lt_use_gnu_ld_interface" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' export_dynamic_flag_spec='${wl}--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else whole_archive_flag_spec= fi supports_anon_versioning=no case `$LD -v 2>&1` in *GNU\ gold*) supports_anon_versioning=yes ;; *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac # See if GNU ld supports shared libraries. case $host_os in aix[3-9]*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then ld_shlibs=no cat <<_LT_EOF 1>&2 *** Warning: the GNU linker, at least up to release 2.19, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to install binutils *** 2.20 or above, or modify your PATH so that a non-GNU linker is found. *** You will then need to restart the configuration process. _LT_EOF fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='' ;; m68k) archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; esac ;; beos*) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then allow_undefined_flag=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else ld_shlibs=no fi ;; cygwin* | mingw* | pw32* | cegcc*) # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, # as there is no search path for DLLs. hardcode_libdir_flag_spec='-L$libdir' export_dynamic_flag_spec='${wl}--export-all-symbols' allow_undefined_flag=unsupported always_export_symbols=no enable_shared_with_static_runtimes=yes export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else ld_shlibs=no fi ;; haiku*) archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' link_all_deplibs=yes ;; interix[3-9]*) hardcode_direct=no hardcode_shlibpath_var=no hardcode_libdir_flag_spec='${wl}-rpath,$libdir' export_dynamic_flag_spec='${wl}-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) tmp_diet=no if test "$host_os" = linux-dietlibc; then case $cc_basename in diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) esac fi if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ && test "$tmp_diet" = no then tmp_addflag=' $pic_flag' tmp_sharedflag='-shared' case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag' ;; pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group f77 and f90 compilers whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; lf95*) # Lahey Fortran 8.1 whole_archive_flag_spec= tmp_sharedflag='--shared' ;; xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) tmp_sharedflag='-qmkshrobj' tmp_addflag= ;; nvcc*) # Cuda Compiler Driver 2.2 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' compiler_needs_object=yes ;; esac case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' compiler_needs_object=yes tmp_sharedflag='-G' ;; *Sun\ F*) # Sun Fortran 8.3 tmp_sharedflag='-G' ;; esac archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' if test "x$supports_anon_versioning" = xyes; then archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' fi case $cc_basename in xlf* | bgf* | bgxlf* | mpixlf*) # IBM XL Fortran 10.1 on PPC cannot create shared libs itself whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' hardcode_libdir_flag_spec= hardcode_libdir_flag_spec_ld='-rpath $libdir' archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' if test "x$supports_anon_versioning" = xyes; then archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' fi ;; esac else ld_shlibs=no fi ;; netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris*) if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then ld_shlibs=no cat <<_LT_EOF 1>&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) ld_shlibs=no cat <<_LT_EOF 1>&2 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not *** reliably create shared libraries on SCO systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.16.91.0.3 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF ;; *) # For security reasons, it is highly recommended that you always # use absolute paths for naming shared libraries, and exclude the # DT_RUNPATH tag from executables and libraries. But doing so # requires that you compile everything twice, which is a pain. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; esac ;; sunos4*) archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= hardcode_direct=yes hardcode_shlibpath_var=no ;; *) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; esac if test "$ld_shlibs" = no; then runpath_var= hardcode_libdir_flag_spec= export_dynamic_flag_spec= whole_archive_flag_spec= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) allow_undefined_flag=unsupported always_export_symbols=yes archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. hardcode_minus_L=yes if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. hardcode_direct=unsupported fi ;; aix[4-9]*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm # Also, AIX nm treats weak defined symbols like other global # defined symbols, whereas GNU nm marks them as "W". if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' else export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. archive_cmds='' hardcode_direct=yes hardcode_direct_absolute=yes hardcode_libdir_separator=':' link_all_deplibs=yes file_list_spec='${wl}-f,' if test "$GCC" = yes; then case $host_os in aix4.[012]|aix4.[012].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && strings "$collect2name" | $GREP resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 hardcode_direct=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking hardcode_minus_L=yes hardcode_libdir_flag_spec='-L$libdir' hardcode_libdir_separator= fi ;; esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi export_dynamic_flag_spec='${wl}-bexpall' # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. always_export_symbols=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. allow_undefined_flag='-berok' # Determine the default libpath from the value encoded in an # empty executable. if test "${lt_cv_aix_libpath+set}" = set; then aix_libpath=$lt_cv_aix_libpath else if ${lt_cv_aix_libpath_+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\([^ ]*\) *$/\1/ p } }' lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_="/usr/lib:/lib" fi fi aix_libpath=$lt_cv_aix_libpath_ fi hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' allow_undefined_flag="-z nodefs" archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an # empty executable. if test "${lt_cv_aix_libpath+set}" = set; then aix_libpath=$lt_cv_aix_libpath else if ${lt_cv_aix_libpath_+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\([^ ]*\) *$/\1/ p } }' lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_="/usr/lib:/lib" fi fi aix_libpath=$lt_cv_aix_libpath_ fi hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. no_undefined_flag=' ${wl}-bernotok' allow_undefined_flag=' ${wl}-berok' if test "$with_gnu_ld" = yes; then # We only use this code for GNU lds that support --whole-archive. whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' else # Exported symbols can be pulled into shared objects from archives whole_archive_flag_spec='$convenience' fi archive_cmds_need_lc=yes # This is similar to how AIX traditionally builds its shared libraries. archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='' ;; m68k) archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; esac ;; bsdi[45]*) export_dynamic_flag_spec=-rdynamic ;; cygwin* | mingw* | pw32* | cegcc*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. case $cc_basename in cl*) # Native MSVC hardcode_libdir_flag_spec=' ' allow_undefined_flag=unsupported always_export_symbols=yes file_list_spec='@' # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; else sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; fi~ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ linknames=' # The linker will not automatically build a static lib if we build a DLL. # _LT_TAGVAR(old_archive_from_new_cmds, )='true' enable_shared_with_static_runtimes=yes export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' # Don't use ranlib old_postinstall_cmds='chmod 644 $oldlib' postlink_cmds='lt_outputfile="@OUTPUT@"~ lt_tool_outputfile="@TOOL_OUTPUT@"~ case $lt_outputfile in *.exe|*.EXE) ;; *) lt_outputfile="$lt_outputfile.exe" lt_tool_outputfile="$lt_tool_outputfile.exe" ;; esac~ if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; $RM "$lt_outputfile.manifest"; fi' ;; *) # Assume MSVC wrapper hardcode_libdir_flag_spec=' ' allow_undefined_flag=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. old_archive_from_new_cmds='true' # FIXME: Should let the user specify the lib program. old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' enable_shared_with_static_runtimes=yes ;; esac ;; darwin* | rhapsody*) archive_cmds_need_lc=no hardcode_direct=no hardcode_automatic=yes hardcode_shlibpath_var=unsupported if test "$lt_cv_ld_force_load" = "yes"; then whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' else whole_archive_flag_spec='' fi link_all_deplibs=yes allow_undefined_flag="$_lt_dar_allow_undefined" case $cc_basename in ifort*) _lt_dar_can_shared=yes ;; *) _lt_dar_can_shared=$GCC ;; esac if test "$_lt_dar_can_shared" = "yes"; then output_verbose_link_cmd=func_echo_all archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" else ld_shlibs=no fi ;; dgux*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-L$libdir' hardcode_shlibpath_var=no ;; freebsd1*) ld_shlibs=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_minus_L=yes hardcode_shlibpath_var=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*) archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; hpux9*) if test "$GCC" = yes; then archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes export_dynamic_flag_spec='${wl}-E' ;; hpux10*) if test "$GCC" = yes && test "$with_gnu_ld" = no; then archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_flag_spec_ld='+b $libdir' hardcode_libdir_separator=: hardcode_direct=yes hardcode_direct_absolute=yes export_dynamic_flag_spec='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes fi ;; hpux11*) if test "$GCC" = yes && test "$with_gnu_ld" = no; then case $host_cpu in hppa*64*) archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case $host_cpu in hppa*64*) archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) # Older versions of the 11.00 compiler do not understand -b yet # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 $as_echo_n "checking if $CC understands -b... " >&6; } if ${lt_cv_prog_compiler__b+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler__b=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS -b" echo "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&5 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler__b=yes fi else lt_cv_prog_compiler__b=yes fi fi $RM -r conftest* LDFLAGS="$save_LDFLAGS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 $as_echo "$lt_cv_prog_compiler__b" >&6; } if test x"$lt_cv_prog_compiler__b" = xyes; then archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi ;; esac fi if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: case $host_cpu in hppa*64*|ia64*) hardcode_direct=no hardcode_shlibpath_var=no ;; *) hardcode_direct=yes hardcode_direct_absolute=yes export_dynamic_flag_spec='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' # Try to use the -exported_symbol ld option, if it does not # work, assume that -exports_file does not work either and # implicitly export all symbols. # This should be the same for all languages, so no per-tag cache variable. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } if ${lt_cv_irix_exported_symbol+:} false; then : $as_echo_n "(cached) " >&6 else save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int foo (void) { return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_cv_irix_exported_symbol=yes else lt_cv_irix_exported_symbol=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LDFLAGS="$save_LDFLAGS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 $as_echo "$lt_cv_irix_exported_symbol" >&6; } if test "$lt_cv_irix_exported_symbol" = yes; then archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' fi else archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' fi archive_cmds_need_lc='no' hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: inherit_rpath=yes link_all_deplibs=yes ;; netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; newsos6) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: hardcode_shlibpath_var=no ;; *nto* | *qnx*) ;; openbsd*) if test -f /usr/libexec/ld.so; then hardcode_direct=yes hardcode_shlibpath_var=no hardcode_direct_absolute=yes if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' hardcode_libdir_flag_spec='${wl}-rpath,$libdir' export_dynamic_flag_spec='${wl}-E' else case $host_os in openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-R$libdir' ;; *) archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ;; esac fi else ld_shlibs=no fi ;; os2*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes allow_undefined_flag=unsupported archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; then allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else allow_undefined_flag=' -expect_unresolved \*' archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' fi archive_cmds_need_lc='no' hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' else allow_undefined_flag=' -expect_unresolved \*' archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' # Both c and cxx compiler support -rpath directly hardcode_libdir_flag_spec='-rpath $libdir' fi archive_cmds_need_lc='no' hardcode_libdir_separator=: ;; solaris*) no_undefined_flag=' -z defs' if test "$GCC" = yes; then wlarc='${wl}' archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' else case `$CC -V 2>&1` in *"Compilers 5.0"*) wlarc='' archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' ;; *) wlarc='${wl}' archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' ;; esac fi hardcode_libdir_flag_spec='-R$libdir' hardcode_shlibpath_var=no case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands `-z linker_flag'. GCC discards it without `$wl', # but is careful enough not to reorder. # Supported since Solaris 2.6 (maybe 2.5.1?) if test "$GCC" = yes; then whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' else whole_archive_flag_spec='-z allextract$convenience -z defaultextract' fi ;; esac link_all_deplibs=yes ;; sunos4*) if test "x$host_vendor" = xsequent; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi hardcode_libdir_flag_spec='-L$libdir' hardcode_direct=yes hardcode_minus_L=yes hardcode_shlibpath_var=no ;; sysv4) case $host_vendor in sni) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' reload_cmds='$CC -r -o $output$reload_objs' hardcode_direct=no ;; motorola) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' hardcode_shlibpath_var=no ;; sysv4.3*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no export_dynamic_flag_spec='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes ld_shlibs=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) no_undefined_flag='${wl}-z,text' archive_cmds_need_lc=no hardcode_shlibpath_var=no runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. no_undefined_flag='${wl}-z,text' allow_undefined_flag='${wl}-z,nodefs' archive_cmds_need_lc=no hardcode_shlibpath_var=no hardcode_libdir_flag_spec='${wl}-R,$libdir' hardcode_libdir_separator=':' link_all_deplibs=yes export_dynamic_flag_spec='${wl}-Bexport' runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; uts4*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-L$libdir' hardcode_shlibpath_var=no ;; *) ld_shlibs=no ;; esac if test x$host_vendor = xsni; then case $host in sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) export_dynamic_flag_spec='${wl}-Blargedynsym' ;; esac fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 $as_echo "$ld_shlibs" >&6; } test "$ld_shlibs" = no && can_build_shared=no with_gnu_ld=$with_gnu_ld # # Do we need to explicitly link libc? # case "x$archive_cmds_need_lc" in x|xyes) # Assume -lc should be added archive_cmds_need_lc=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $archive_cmds in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } if ${lt_cv_archive_cmds_need_lc+:} false; then : $as_echo_n "(cached) " >&6 else $RM conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$lt_prog_compiler_wl pic_flag=$lt_prog_compiler_pic compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$allow_undefined_flag allow_undefined_flag= if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } then lt_cv_archive_cmds_need_lc=no else lt_cv_archive_cmds_need_lc=yes fi allow_undefined_flag=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; } archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc ;; esac fi ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 $as_echo_n "checking dynamic linker characteristics... " >&6; } if test "$GCC" = yes; then case $host_os in darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; *) lt_awk_arg="/^libraries:/" ;; esac case $host_os in mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; *) lt_sed_strip_eq="s,=/,/,g" ;; esac lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` case $lt_search_path_spec in *\;*) # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` ;; *) lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` ;; esac # Ok, now we have the path, separated by spaces, we can step through it # and add multilib dir if necessary. lt_tmp_lt_search_path_spec= lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` for lt_sys_path in $lt_search_path_spec; do if test -d "$lt_sys_path/$lt_multi_os_dir"; then lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" else test -d "$lt_sys_path" && \ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" fi done lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' BEGIN {RS=" "; FS="/|\n";} { lt_foo=""; lt_count=0; for (lt_i = NF; lt_i > 0; lt_i--) { if ($lt_i != "" && $lt_i != ".") { if ($lt_i == "..") { lt_count++; } else { if (lt_count == 0) { lt_foo="/" $lt_i lt_foo; } else { lt_count--; } } } } if (lt_foo != "") { lt_freq[lt_foo]++; } if (lt_freq[lt_foo] == 1) { print lt_foo; } }'` # AWK program above erroneously prepends '/' to C:/dos/paths # for these hosts. case $host_os in mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ $SED 's,/\([A-Za-z]:\),\1,g'` ;; esac sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix[4-9]*) version_type=linux need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) case $host_cpu in powerpc) # Since July 2007 AmigaOS4 officially supports .so libraries. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ;; m68k) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; esac ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[45]*) version_type=linux need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32* | cegcc*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$cc_basename in yes,*) # gcc library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname~ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; fi' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" ;; mingw* | cegcc*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac dynamic_linker='Win32 ld.exe' ;; *,cl*) # Native MSVC libname_spec='$name' soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' library_names_spec='${libname}.dll.lib' case $build_os in mingw*) sys_lib_search_path_spec= lt_save_ifs=$IFS IFS=';' for lt_path in $LIB do IFS=$lt_save_ifs # Let DOS variable expansion print the short 8.3 style file name. lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" done IFS=$lt_save_ifs # Convert to MSYS style. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` ;; cygwin*) # Convert to unix form, then to dos form, then back to unix form # but this time dos style (no spaces!) so that the unix form looks # like /cygdrive/c/PROGRA~1:/cygdr... sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` ;; *) sys_lib_search_path_spec="$LIB" if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then # It is most probably a Windows format PATH. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi # FIXME: find the short name or the path components, as spaces are # common. (e.g. "Program Files" -> "PROGRA~1") ;; esac # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' shlibpath_overrides_runpath=yes dynamic_linker='Win32 link.exe' ;; *) # Assume MSVC wrapper library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' dynamic_linker='Win32 ld.exe' ;; esac # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd1*) dynamic_linker=no ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[123]*) objformat=aout ;; *) objformat=elf ;; esac fi # Handle Gentoo/FreeBSD as it was Linux case $host_vendor in gentoo) version_type=linux ;; *) version_type=freebsd-$objformat ;; esac case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; linux) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' need_lib_prefix=no need_version=no ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2*) shlibpath_overrides_runpath=yes ;; freebsd3.[01]* | freebsdelf3.[01]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; *) # from 4.6 on, and DragonFly shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; haiku*) version_type=linux need_lib_prefix=no need_version=no dynamic_linker="$host_os runtime_loader" library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LIBRARY_PATH shlibpath_overrides_runpath=yes sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' if test "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555, ... postinstall_cmds='chmod 555 $lib' # or fails outright, so override atomically: install_override_mode=555 ;; interix[3-9]*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then version_type=linux else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be Linux ELF. linux* | k*bsd*-gnu | kopensolaris*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # Some binutils ld are patched to set DT_RUNPATH if ${lt_cv_shlibpath_overrides_runpath+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_shlibpath_overrides_runpath=no save_LDFLAGS=$LDFLAGS save_libdir=$libdir eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : lt_cv_shlibpath_overrides_runpath=yes fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LDFLAGS=$save_LDFLAGS libdir=$save_libdir fi shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; *nto* | *qnx*) version_type=qnx need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='ldqnx.so' ;; openbsd*) version_type=sunos sys_lib_dlsearch_path_spec="/usr/lib" need_lib_prefix=no # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. case $host_os in openbsd3.3 | openbsd3.3.*) need_version=yes ;; *) need_version=no ;; esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[89] | openbsd2.[89].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; rdos*) dynamic_linker=no ;; solaris*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) version_type=freebsd-elf need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes if test "$with_gnu_ld" = yes; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; tpf*) # TPF is a cross-target only. Preferred cross-host = GNU/Linux. version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; uts4*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 $as_echo "$dynamic_linker" >&6; } test "$dynamic_linker" = no && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" fi if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } hardcode_action= if test -n "$hardcode_libdir_flag_spec" || test -n "$runpath_var" || test "X$hardcode_automatic" = "Xyes" ; then # We can hardcode non-existent directories. if test "$hardcode_direct" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && test "$hardcode_minus_L" != no; then # Linking always hardcodes the temporary library directory. hardcode_action=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. hardcode_action=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. hardcode_action=unsupported fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 $as_echo "$hardcode_action" >&6; } if test "$hardcode_action" = relink || test "$inherit_rpath" = yes; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi if test "x$enable_dlopen" != xyes; then enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown else lt_cv_dlopen=no lt_cv_dlopen_libs= case $host_os in beos*) lt_cv_dlopen="load_add_on" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ;; mingw* | pw32* | cegcc*) lt_cv_dlopen="LoadLibrary" lt_cv_dlopen_libs= ;; cygwin*) lt_cv_dlopen="dlopen" lt_cv_dlopen_libs= ;; darwin*) # if libdl is installed we need to link against it { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 $as_echo_n "checking for dlopen in -ldl... " >&6; } if ${ac_cv_lib_dl_dlopen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dlopen (); int main () { return dlopen (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dl_dlopen=yes else ac_cv_lib_dl_dlopen=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } if test "x$ac_cv_lib_dl_dlopen" = xyes; then : lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else lt_cv_dlopen="dyld" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes fi ;; *) ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" if test "x$ac_cv_func_shl_load" = xyes; then : lt_cv_dlopen="shl_load" else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 $as_echo_n "checking for shl_load in -ldld... " >&6; } if ${ac_cv_lib_dld_shl_load+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char shl_load (); int main () { return shl_load (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dld_shl_load=yes else ac_cv_lib_dld_shl_load=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } if test "x$ac_cv_lib_dld_shl_load" = xyes; then : lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" else ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" if test "x$ac_cv_func_dlopen" = xyes; then : lt_cv_dlopen="dlopen" else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 $as_echo_n "checking for dlopen in -ldl... " >&6; } if ${ac_cv_lib_dl_dlopen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dlopen (); int main () { return dlopen (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dl_dlopen=yes else ac_cv_lib_dl_dlopen=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } if test "x$ac_cv_lib_dl_dlopen" = xyes; then : lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 $as_echo_n "checking for dlopen in -lsvld... " >&6; } if ${ac_cv_lib_svld_dlopen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lsvld $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dlopen (); int main () { return dlopen (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_svld_dlopen=yes else ac_cv_lib_svld_dlopen=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } if test "x$ac_cv_lib_svld_dlopen" = xyes; then : lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 $as_echo_n "checking for dld_link in -ldld... " >&6; } if ${ac_cv_lib_dld_dld_link+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dld_link (); int main () { return dld_link (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dld_dld_link=yes else ac_cv_lib_dld_dld_link=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } if test "x$ac_cv_lib_dld_dld_link" = xyes; then : lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" fi fi fi fi fi fi ;; esac if test "x$lt_cv_dlopen" != xno; then enable_dlopen=yes else enable_dlopen=no fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS="$CPPFLAGS" test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS="$LDFLAGS" wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" save_LIBS="$LIBS" LIBS="$lt_cv_dlopen_libs $LIBS" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 $as_echo_n "checking whether a program can dlopen itself... " >&6; } if ${lt_cv_dlopen_self+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF #line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H #include #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif /* When -fvisbility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) int fnord () __attribute__((visibility("default"))); #endif int fnord () { return 42; } int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else { if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; else puts (dlerror ()); } /* dlclose (self); */ } else puts (dlerror ()); return status; } _LT_EOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; esac else : # compilation failed lt_cv_dlopen_self=no fi fi rm -fr conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 $as_echo "$lt_cv_dlopen_self" >&6; } if test "x$lt_cv_dlopen_self" = xyes; then wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } if ${lt_cv_dlopen_self_static+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self_static=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF #line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H #include #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif /* When -fvisbility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) int fnord () __attribute__((visibility("default"))); #endif int fnord () { return 42; } int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else { if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; else puts (dlerror ()); } /* dlclose (self); */ } else puts (dlerror ()); return status; } _LT_EOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; esac else : # compilation failed lt_cv_dlopen_self_static=no fi fi rm -fr conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 $as_echo "$lt_cv_dlopen_self_static" >&6; } fi CPPFLAGS="$save_CPPFLAGS" LDFLAGS="$save_LDFLAGS" LIBS="$save_LIBS" ;; esac case $lt_cv_dlopen_self in yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; *) enable_dlopen_self=unknown ;; esac case $lt_cv_dlopen_self_static in yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; *) enable_dlopen_self_static=unknown ;; esac fi striplib= old_striplib= { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 $as_echo_n "checking whether stripping libraries is possible... " >&6; } if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in darwin*) if test -n "$STRIP" ; then striplib="$STRIP -x" old_striplib="$STRIP -S" { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi ;; *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } ;; esac fi # Report which library types will actually be built { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 $as_echo_n "checking if libtool supports shared libraries... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 $as_echo "$can_build_shared" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 $as_echo_n "checking whether to build shared libraries... " >&6; } test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[4-9]*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 $as_echo "$enable_shared" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 $as_echo_n "checking whether to build static libraries... " >&6; } # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 $as_echo "$enable_static" >&6; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu CC="$lt_save_CC" ac_config_commands="$ac_config_commands libtool" # Only expand once: # Checks for programs. if test "x$CC" != xcc; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5 $as_echo_n "checking whether cc understands -c and -o together... " >&6; } fi set dummy $CC; ac_cc=`$as_echo "$2" | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF # Make sure it works both with $CC and with simple cc. # We do the test twice because some compilers refuse to overwrite an # existing .o file with -o, though they will create one. ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' rm -f conftest2.* if { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -f conftest2.$ac_objext && { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then eval ac_cv_prog_cc_${ac_cc}_c_o=yes if test "x$CC" != xcc; then # Test first that cc exists at all. if { ac_try='cc -c conftest.$ac_ext >&5' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' rm -f conftest2.* if { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -f conftest2.$ac_objext && { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then # cc works too. : else # cc exists but doesn't like -o. eval ac_cv_prog_cc_${ac_cc}_c_o=no fi fi fi else eval ac_cv_prog_cc_${ac_cc}_c_o=no fi rm -f core conftest* fi if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h fi # FIXME: we rely on the cache variable name because # there is no other way. set dummy $CC am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o if test "$am_t" != yes; then # Losing compiler, so override with the script. # FIXME: It is wrong to rewrite CC. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__CC in this case, # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" CC="$am_aux_dir/compile $CC" fi # Cause autoconfiguration to look for an external libintl. mkdir_p="$MKDIR_P" case $mkdir_p in [\\/$]* | ?:[\\/]*) ;; */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 $as_echo_n "checking whether NLS is requested... " >&6; } # Check whether --enable-nls was given. if test "${enable_nls+set}" = set; then : enableval=$enable_nls; USE_NLS=$enableval else USE_NLS=yes fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 $as_echo "$USE_NLS" >&6; } GETTEXT_MACRO_VERSION=0.18 # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi # Find out how to test for executable files. Don't use a zero-byte file, # as systems may use methods other than mode bits to determine executability. cat >conf$$.file <<_ASEOF #! /bin/sh exit 0 _ASEOF chmod +x conf$$.file if test -x conf$$.file >/dev/null 2>&1; then ac_executable_p="test -x" else ac_executable_p="test -f" fi rm -f conf$$.file # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_MSGFMT+:} false; then : $as_echo_n "(cached) " >&6 else case "$MSGFMT" in [\\/]* | ?:[\\/]*) ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. ;; *) ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$ac_save_IFS" test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then echo "$as_me: trying $ac_dir/$ac_word..." >&5 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" break 2 fi fi done done IFS="$ac_save_IFS" test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" ;; esac fi MSGFMT="$ac_cv_path_MSGFMT" if test "$MSGFMT" != ":"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 $as_echo "$MSGFMT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_GMSGFMT+:} false; then : $as_echo_n "(cached) " >&6 else case $GMSGFMT in [\\/]* | ?:[\\/]*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; esac fi GMSGFMT=$ac_cv_path_GMSGFMT if test -n "$GMSGFMT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 $as_echo "$GMSGFMT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; *) MSGFMT_015=$MSGFMT ;; esac case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; *) GMSGFMT_015=$GMSGFMT ;; esac # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi # Find out how to test for executable files. Don't use a zero-byte file, # as systems may use methods other than mode bits to determine executability. cat >conf$$.file <<_ASEOF #! /bin/sh exit 0 _ASEOF chmod +x conf$$.file if test -x conf$$.file >/dev/null 2>&1; then ac_executable_p="test -x" else ac_executable_p="test -f" fi rm -f conf$$.file # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_XGETTEXT+:} false; then : $as_echo_n "(cached) " >&6 else case "$XGETTEXT" in [\\/]* | ?:[\\/]*) ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. ;; *) ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$ac_save_IFS" test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then echo "$as_me: trying $ac_dir/$ac_word..." >&5 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" break 2 fi fi done done IFS="$ac_save_IFS" test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" ;; esac fi XGETTEXT="$ac_cv_path_XGETTEXT" if test "$XGETTEXT" != ":"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 $as_echo "$XGETTEXT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi rm -f messages.po case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; *) XGETTEXT_015=$XGETTEXT ;; esac # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi # Find out how to test for executable files. Don't use a zero-byte file, # as systems may use methods other than mode bits to determine executability. cat >conf$$.file <<_ASEOF #! /bin/sh exit 0 _ASEOF chmod +x conf$$.file if test -x conf$$.file >/dev/null 2>&1; then ac_executable_p="test -x" else ac_executable_p="test -f" fi rm -f conf$$.file # Extract the first word of "msgmerge", so it can be a program name with args. set dummy msgmerge; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_MSGMERGE+:} false; then : $as_echo_n "(cached) " >&6 else case "$MSGMERGE" in [\\/]* | ?:[\\/]*) ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. ;; *) ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$ac_save_IFS" test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then echo "$as_me: trying $ac_dir/$ac_word..." >&5 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" break 2 fi fi done done IFS="$ac_save_IFS" test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" ;; esac fi MSGMERGE="$ac_cv_path_MSGMERGE" if test "$MSGMERGE" != ":"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 $as_echo "$MSGMERGE" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$localedir" || localedir='${datadir}/locale' test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= ac_config_commands="$ac_config_commands po-directories" if test "X$prefix" = "XNONE"; then acl_final_prefix="$ac_default_prefix" else acl_final_prefix="$prefix" fi if test "X$exec_prefix" = "XNONE"; then acl_final_exec_prefix='${prefix}' else acl_final_exec_prefix="$exec_prefix" fi acl_save_prefix="$prefix" prefix="$acl_final_prefix" eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" prefix="$acl_save_prefix" # Check whether --with-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then : withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes else with_gnu_ld=no fi # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 $as_echo_n "checking for ld used by GCC... " >&6; } case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [\\/]* | [A-Za-z]:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the path of ld ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 $as_echo_n "checking for GNU ld... " >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 $as_echo_n "checking for non-GNU ld... " >&6; } fi if ${acl_cv_path_LD+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$LD"; then IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then acl_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some GNU ld's only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in *GNU* | *'with BFD'*) test "$with_gnu_ld" != no && break ;; *) test "$with_gnu_ld" != yes && break ;; esac fi done IFS="$ac_save_ifs" else acl_cv_path_LD="$LD" # Let the user override the test with a path. fi fi LD="$acl_cv_path_LD" if test -n "$LD"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 $as_echo "$LD" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } if ${acl_cv_prog_gnu_ld+:} false; then : $as_echo_n "(cached) " >&6 else # I'd rather use --version here, but apparently some GNU ld's only accept -v. case `$LD -v 2>&1 &5 $as_echo "$acl_cv_prog_gnu_ld" >&6; } with_gnu_ld=$acl_cv_prog_gnu_ld { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 $as_echo_n "checking for shared library run path origin... " >&6; } if ${acl_cv_rpath+:} false; then : $as_echo_n "(cached) " >&6 else CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh . ./conftest.sh rm -f ./conftest.sh acl_cv_rpath=done fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 $as_echo "$acl_cv_rpath" >&6; } wl="$acl_cv_wl" acl_libext="$acl_cv_libext" acl_shlibext="$acl_cv_shlibext" acl_libname_spec="$acl_cv_libname_spec" acl_library_names_spec="$acl_cv_library_names_spec" acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" acl_hardcode_direct="$acl_cv_hardcode_direct" acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" # Check whether --enable-rpath was given. if test "${enable_rpath+set}" = set; then : enableval=$enable_rpath; : else enable_rpath=yes fi acl_libdirstem=lib acl_libdirstem2= case "$host_os" in solaris*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 $as_echo_n "checking for 64-bit host... " >&6; } if ${gl_cv_solaris_64bit+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef _LP64 sixtyfour bits #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "sixtyfour bits" >/dev/null 2>&1; then : gl_cv_solaris_64bit=yes else gl_cv_solaris_64bit=no fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 $as_echo "$gl_cv_solaris_64bit" >&6; } if test $gl_cv_solaris_64bit = yes; then acl_libdirstem=lib/64 case "$host_cpu" in sparc*) acl_libdirstem2=lib/sparcv9 ;; i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; esac fi ;; *) searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` if test -n "$searchpath"; then acl_save_IFS="${IFS= }"; IFS=":" for searchdir in $searchpath; do if test -d "$searchdir"; then case "$searchdir" in */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; */../ | */.. ) # Better ignore directories of this form. They are misleading. ;; *) searchdir=`cd "$searchdir" && pwd` case "$searchdir" in */lib64 ) acl_libdirstem=lib64 ;; esac ;; esac fi done IFS="$acl_save_IFS" fi ;; esac test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" use_additional=yes acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" # Check whether --with-libiconv-prefix was given. if test "${with_libiconv_prefix+set}" = set; then : withval=$with_libiconv_prefix; if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" if test "$acl_libdirstem2" != "$acl_libdirstem" \ && ! test -d "$withval/$acl_libdirstem"; then additional_libdir="$withval/$acl_libdirstem2" fi fi fi fi LIBICONV= LTLIBICONV= INCICONV= LIBICONV_PREFIX= HAVE_LIBICONV= rpathdirs= ltrpathdirs= names_already_handled= names_next_round='iconv ' while test -n "$names_next_round"; do names_this_round="$names_next_round" names_next_round= for name in $names_this_round; do already_handled= for n in $names_already_handled; do if test "$n" = "$name"; then already_handled=yes break fi done if test -z "$already_handled"; then names_already_handled="$names_already_handled $name" uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` eval value=\"\$HAVE_LIB$uppername\" if test -n "$value"; then if test "$value" = yes; then eval value=\"\$LIB$uppername\" test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" eval value=\"\$LTLIB$uppername\" test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" else : fi else found_dir= found_la= found_so= found_a= eval libname=\"$acl_libname_spec\" # typically: libname=lib$name if test -n "$acl_shlibext"; then shrext=".$acl_shlibext" # typically: shrext=.so else shrext= fi if test $use_additional = yes; then dir="$additional_libdir" if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIBICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi ;; esac if test "X$found_dir" != "X"; then break fi done fi if test "X$found_dir" != "X"; then LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" if test "X$found_so" != "X"; then if test "$enable_rpath" = no \ || test "X$found_dir" = "X/usr/$acl_libdirstem" \ || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" else haveit= for x in $ltrpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $found_dir" fi if test "$acl_hardcode_direct" = yes; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" else if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" haveit= for x in $rpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $found_dir" fi else haveit= for x in $LDFLAGS $LIBICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" fi if test "$acl_hardcode_minus_L" != no; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" else LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" fi fi fi fi else if test "X$found_a" != "X"; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" else LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" fi fi additional_includedir= case "$found_dir" in */$acl_libdirstem | */$acl_libdirstem/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` if test "$name" = 'iconv'; then LIBICONV_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; */$acl_libdirstem2 | */$acl_libdirstem2/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` if test "$name" = 'iconv'; then LIBICONV_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; esac if test "X$additional_includedir" != "X"; then if test "X$additional_includedir" != "X/usr/include"; then haveit= if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then for x in $CPPFLAGS $INCICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_includedir"; then INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" fi fi fi fi fi if test -n "$found_la"; then save_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac libdir="$save_libdir" for dep in $dependency_libs; do case "$dep" in -L*) additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then haveit= if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then haveit= for x in $LDFLAGS $LIBICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" fi fi haveit= for x in $LDFLAGS $LTLIBICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" fi fi fi fi ;; -R*) dir=`echo "X$dep" | sed -e 's/^X-R//'` if test "$enable_rpath" != no; then haveit= for x in $rpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $dir" fi haveit= for x in $ltrpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $dir" fi fi ;; -l*) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ;; *.la) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ;; *) LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" ;; esac done fi else LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" fi fi fi done done if test "X$rpathdirs" != "X"; then if test -n "$acl_hardcode_libdir_separator"; then alldirs= for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" done acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" else for found_dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$found_dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" done fi fi if test "X$ltrpathdirs" != "X"; then for found_dir in $ltrpathdirs; do LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" done fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : $as_echo_n "(cached) " >&6 else gt_save_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { CFPreferencesCopyAppValue(NULL, NULL) ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gt_cv_func_CFPreferencesCopyAppValue=yes else gt_cv_func_CFPreferencesCopyAppValue=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$gt_save_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : $as_echo_n "(cached) " >&6 else gt_save_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { CFLocaleCopyCurrent(); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gt_cv_func_CFLocaleCopyCurrent=yes else gt_cv_func_CFLocaleCopyCurrent=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$gt_save_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } if test $gt_cv_func_CFLocaleCopyCurrent = yes; then $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h fi INTL_MACOSX_LIBS= if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" fi LIBINTL= LTLIBINTL= POSUB= case " $gt_needs " in *" need-formatstring-macros "*) gt_api_version=3 ;; *" need-ngettext "*) gt_api_version=2 ;; *) gt_api_version=1 ;; esac gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" if test "$USE_NLS" = "yes"; then gt_use_preinstalled_gnugettext=no if test $gt_api_version -ge 3; then gt_revision_test_code=' #ifndef __GNU_GETTEXT_SUPPORTED_REVISION #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) #endif typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; ' else gt_revision_test_code= fi if test $gt_api_version -ge 2; then gt_expression_test_code=' + * ngettext ("", "", 0)' else gt_expression_test_code= fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 $as_echo_n "checking for GNU gettext in libc... " >&6; } if eval \${$gt_func_gnugettext_libc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern int *_nl_domain_bindings; int main () { bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : eval "$gt_func_gnugettext_libc=yes" else eval "$gt_func_gnugettext_libc=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$$gt_func_gnugettext_libc { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then am_save_CPPFLAGS="$CPPFLAGS" for element in $INCICONV; do haveit= for x in $CPPFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X$element"; then haveit=yes break fi done if test -z "$haveit"; then CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" fi done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 $as_echo_n "checking for iconv... " >&6; } if ${am_cv_func_iconv+:} false; then : $as_echo_n "(cached) " >&6 else am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_lib_iconv=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : am_cv_func_iconv=yes fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test "$am_cv_func_iconv" != yes; then am_save_LIBS="$LIBS" LIBS="$LIBS $LIBICONV" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : am_cv_lib_iconv=yes am_cv_func_iconv=yes fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$am_save_LIBS" fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 $as_echo "$am_cv_func_iconv" >&6; } if test "$am_cv_func_iconv" = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 $as_echo_n "checking for working iconv... " >&6; } if ${am_cv_func_iconv_works+:} false; then : $as_echo_n "(cached) " >&6 else am_save_LIBS="$LIBS" if test $am_cv_lib_iconv = yes; then LIBS="$LIBS $LIBICONV" fi if test "$cross_compiling" = yes; then : case "$host_os" in aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; *) am_cv_func_iconv_works="guessing yes" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { /* Test against AIX 5.1 bug: Failures are not distinguishable from successful returns. */ { iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); if (cd_utf8_to_88591 != (iconv_t)(-1)) { static const char input[] = "\342\202\254"; /* EURO SIGN */ char buf[10]; const char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_utf8_to_88591, (char **) &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == 0) return 1; } } /* Test against Solaris 10 bug: Failures are not distinguishable from successful returns. */ { iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); if (cd_ascii_to_88591 != (iconv_t)(-1)) { static const char input[] = "\263"; char buf[10]; const char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_ascii_to_88591, (char **) &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == 0) return 1; } } #if 0 /* This bug could be worked around by the caller. */ /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ { iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); if (cd_88591_to_utf8 != (iconv_t)(-1)) { static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; char buf[50]; const char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_88591_to_utf8, (char **) &inptr, &inbytesleft, &outptr, &outbytesleft); if ((int)res > 0) return 1; } } #endif /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is provided. */ if (/* Try standardized names. */ iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) /* Try IRIX, OSF/1 names. */ && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) /* Try AIX names. */ && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) /* Try HP-UX names. */ && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) return 1; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : am_cv_func_iconv_works=yes else am_cv_func_iconv_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi LIBS="$am_save_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 $as_echo "$am_cv_func_iconv_works" >&6; } case "$am_cv_func_iconv_works" in *no) am_func_iconv=no am_cv_lib_iconv=no ;; *) am_func_iconv=yes ;; esac else am_func_iconv=no am_cv_lib_iconv=no fi if test "$am_func_iconv" = yes; then $as_echo "#define HAVE_ICONV 1" >>confdefs.h fi if test "$am_cv_lib_iconv" = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 $as_echo_n "checking how to link with libiconv... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 $as_echo "$LIBICONV" >&6; } else CPPFLAGS="$am_save_CPPFLAGS" LIBICONV= LTLIBICONV= fi use_additional=yes acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" # Check whether --with-libintl-prefix was given. if test "${with_libintl_prefix+set}" = set; then : withval=$with_libintl_prefix; if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" if test "$acl_libdirstem2" != "$acl_libdirstem" \ && ! test -d "$withval/$acl_libdirstem"; then additional_libdir="$withval/$acl_libdirstem2" fi fi fi fi LIBINTL= LTLIBINTL= INCINTL= LIBINTL_PREFIX= HAVE_LIBINTL= rpathdirs= ltrpathdirs= names_already_handled= names_next_round='intl ' while test -n "$names_next_round"; do names_this_round="$names_next_round" names_next_round= for name in $names_this_round; do already_handled= for n in $names_already_handled; do if test "$n" = "$name"; then already_handled=yes break fi done if test -z "$already_handled"; then names_already_handled="$names_already_handled $name" uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` eval value=\"\$HAVE_LIB$uppername\" if test -n "$value"; then if test "$value" = yes; then eval value=\"\$LIB$uppername\" test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" eval value=\"\$LTLIB$uppername\" test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" else : fi else found_dir= found_la= found_so= found_a= eval libname=\"$acl_libname_spec\" # typically: libname=lib$name if test -n "$acl_shlibext"; then shrext=".$acl_shlibext" # typically: shrext=.so else shrext= fi if test $use_additional = yes; then dir="$additional_libdir" if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIBINTL; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi ;; esac if test "X$found_dir" != "X"; then break fi done fi if test "X$found_dir" != "X"; then LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" if test "X$found_so" != "X"; then if test "$enable_rpath" = no \ || test "X$found_dir" = "X/usr/$acl_libdirstem" \ || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" else haveit= for x in $ltrpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $found_dir" fi if test "$acl_hardcode_direct" = yes; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" else if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" haveit= for x in $rpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $found_dir" fi else haveit= for x in $LDFLAGS $LIBINTL; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" fi if test "$acl_hardcode_minus_L" != no; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" else LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" fi fi fi fi else if test "X$found_a" != "X"; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" else LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" fi fi additional_includedir= case "$found_dir" in */$acl_libdirstem | */$acl_libdirstem/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` if test "$name" = 'intl'; then LIBINTL_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; */$acl_libdirstem2 | */$acl_libdirstem2/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` if test "$name" = 'intl'; then LIBINTL_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; esac if test "X$additional_includedir" != "X"; then if test "X$additional_includedir" != "X/usr/include"; then haveit= if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then for x in $CPPFLAGS $INCINTL; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_includedir"; then INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" fi fi fi fi fi if test -n "$found_la"; then save_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac libdir="$save_libdir" for dep in $dependency_libs; do case "$dep" in -L*) additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then haveit= if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then haveit= for x in $LDFLAGS $LIBINTL; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" fi fi haveit= for x in $LDFLAGS $LTLIBINTL; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" fi fi fi fi ;; -R*) dir=`echo "X$dep" | sed -e 's/^X-R//'` if test "$enable_rpath" != no; then haveit= for x in $rpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $dir" fi haveit= for x in $ltrpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $dir" fi fi ;; -l*) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ;; *.la) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ;; *) LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" ;; esac done fi else LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" fi fi fi done done if test "X$rpathdirs" != "X"; then if test -n "$acl_hardcode_libdir_separator"; then alldirs= for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" done acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" else for found_dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$found_dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" done fi fi if test "X$ltrpathdirs" != "X"; then for found_dir in $ltrpathdirs; do LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" done fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 $as_echo_n "checking for GNU gettext in libintl... " >&6; } if eval \${$gt_func_gnugettext_libintl+:} false; then : $as_echo_n "(cached) " >&6 else gt_save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $INCINTL" gt_save_LIBS="$LIBS" LIBS="$LIBS $LIBINTL" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern #ifdef __cplusplus "C" #endif const char *_nl_expand_alias (const char *); int main () { bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : eval "$gt_func_gnugettext_libintl=yes" else eval "$gt_func_gnugettext_libintl=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then LIBS="$LIBS $LIBICONV" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern #ifdef __cplusplus "C" #endif const char *_nl_expand_alias (const char *); int main () { bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : LIBINTL="$LIBINTL $LIBICONV" LTLIBINTL="$LTLIBINTL $LTLIBICONV" eval "$gt_func_gnugettext_libintl=yes" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi CPPFLAGS="$gt_save_CPPFLAGS" LIBS="$gt_save_LIBS" fi eval ac_res=\$$gt_func_gnugettext_libintl { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ && test "$PACKAGE" != gettext-runtime \ && test "$PACKAGE" != gettext-tools; }; then gt_use_preinstalled_gnugettext=yes else LIBINTL= LTLIBINTL= INCINTL= fi if test -n "$INTL_MACOSX_LIBS"; then if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" fi fi if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then $as_echo "#define ENABLE_NLS 1" >>confdefs.h else USE_NLS=no fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 $as_echo_n "checking whether to use NLS... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 $as_echo "$USE_NLS" >&6; } if test "$USE_NLS" = "yes"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 $as_echo_n "checking where the gettext function comes from... " >&6; } if test "$gt_use_preinstalled_gnugettext" = "yes"; then if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then gt_source="external libintl" else gt_source="libc" fi else gt_source="included intl directory" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 $as_echo "$gt_source" >&6; } fi if test "$USE_NLS" = "yes"; then if test "$gt_use_preinstalled_gnugettext" = "yes"; then if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 $as_echo_n "checking how to link with libintl... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 $as_echo "$LIBINTL" >&6; } for element in $INCINTL; do haveit= for x in $CPPFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X$element"; then haveit=yes break fi done if test -z "$haveit"; then CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" fi done fi $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h fi POSUB=po fi INTLLIBS="$LIBINTL" # We need libjack in order to compile. if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 $as_echo "$PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 $as_echo "$ac_pt_PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then PKG_CONFIG="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG fi else PKG_CONFIG="$ac_cv_path_PKG_CONFIG" fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } PKG_CONFIG="" fi fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBJACK" >&5 $as_echo_n "checking for LIBJACK... " >&6; } if test -n "$LIBJACK_CFLAGS"; then pkg_cv_LIBJACK_CFLAGS="$LIBJACK_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.98.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "jack >= 0.98.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBJACK_CFLAGS=`$PKG_CONFIG --cflags "jack >= 0.98.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$LIBJACK_LIBS"; then pkg_cv_LIBJACK_LIBS="$LIBJACK_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.98.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "jack >= 0.98.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBJACK_LIBS=`$PKG_CONFIG --libs "jack >= 0.98.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then LIBJACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "jack >= 0.98.0" 2>&1` else LIBJACK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "jack >= 0.98.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$LIBJACK_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (jack >= 0.98.0) were not met: $LIBJACK_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables LIBJACK_CFLAGS and LIBJACK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables LIBJACK_CFLAGS and LIBJACK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else LIBJACK_CFLAGS=$pkg_cv_LIBJACK_CFLAGS LIBJACK_LIBS=$pkg_cv_LIBJACK_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi # Core dependencies. pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBVORBIS" >&5 $as_echo_n "checking for LIBVORBIS... " >&6; } if test -n "$LIBVORBIS_CFLAGS"; then pkg_cv_LIBVORBIS_CFLAGS="$LIBVORBIS_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vorbis >= 1.0.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "vorbis >= 1.0.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBVORBIS_CFLAGS=`$PKG_CONFIG --cflags "vorbis >= 1.0.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$LIBVORBIS_LIBS"; then pkg_cv_LIBVORBIS_LIBS="$LIBVORBIS_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vorbis >= 1.0.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "vorbis >= 1.0.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBVORBIS_LIBS=`$PKG_CONFIG --libs "vorbis >= 1.0.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then LIBVORBIS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "vorbis >= 1.0.0" 2>&1` else LIBVORBIS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "vorbis >= 1.0.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$LIBVORBIS_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (vorbis >= 1.0.0) were not met: $LIBVORBIS_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables LIBVORBIS_CFLAGS and LIBVORBIS_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables LIBVORBIS_CFLAGS and LIBVORBIS_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else LIBVORBIS_CFLAGS=$pkg_cv_LIBVORBIS_CFLAGS LIBVORBIS_LIBS=$pkg_cv_LIBVORBIS_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBVORBISENC" >&5 $as_echo_n "checking for LIBVORBISENC... " >&6; } if test -n "$LIBVORBISENC_CFLAGS"; then pkg_cv_LIBVORBISENC_CFLAGS="$LIBVORBISENC_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vorbisenc >= 1.0.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "vorbisenc >= 1.0.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBVORBISENC_CFLAGS=`$PKG_CONFIG --cflags "vorbisenc >= 1.0.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$LIBVORBISENC_LIBS"; then pkg_cv_LIBVORBISENC_LIBS="$LIBVORBISENC_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vorbisenc >= 1.0.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "vorbisenc >= 1.0.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBVORBISENC_LIBS=`$PKG_CONFIG --libs "vorbisenc >= 1.0.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then LIBVORBISENC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "vorbisenc >= 1.0.0" 2>&1` else LIBVORBISENC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "vorbisenc >= 1.0.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$LIBVORBISENC_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (vorbisenc >= 1.0.0) were not met: $LIBVORBISENC_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables LIBVORBISENC_CFLAGS and LIBVORBISENC_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables LIBVORBISENC_CFLAGS and LIBVORBISENC_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else LIBVORBISENC_CFLAGS=$pkg_cv_LIBVORBISENC_CFLAGS LIBVORBISENC_LIBS=$pkg_cv_LIBVORBISENC_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSAMPLERATE" >&5 $as_echo_n "checking for LIBSAMPLERATE... " >&6; } if test -n "$LIBSAMPLERATE_CFLAGS"; then pkg_cv_LIBSAMPLERATE_CFLAGS="$LIBSAMPLERATE_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"samplerate\""; } >&5 ($PKG_CONFIG --exists --print-errors "samplerate") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBSAMPLERATE_CFLAGS=`$PKG_CONFIG --cflags "samplerate" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$LIBSAMPLERATE_LIBS"; then pkg_cv_LIBSAMPLERATE_LIBS="$LIBSAMPLERATE_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"samplerate\""; } >&5 ($PKG_CONFIG --exists --print-errors "samplerate") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBSAMPLERATE_LIBS=`$PKG_CONFIG --libs "samplerate" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then LIBSAMPLERATE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "samplerate" 2>&1` else LIBSAMPLERATE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "samplerate" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$LIBSAMPLERATE_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (samplerate) were not met: $LIBSAMPLERATE_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables LIBSAMPLERATE_CFLAGS and LIBSAMPLERATE_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables LIBSAMPLERATE_CFLAGS and LIBSAMPLERATE_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else LIBSAMPLERATE_CFLAGS=$pkg_cv_LIBSAMPLERATE_CFLAGS LIBSAMPLERATE_LIBS=$pkg_cv_LIBSAMPLERATE_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSNDFILE" >&5 $as_echo_n "checking for LIBSNDFILE... " >&6; } if test -n "$LIBSNDFILE_CFLAGS"; then pkg_cv_LIBSNDFILE_CFLAGS="$LIBSNDFILE_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile\""; } >&5 ($PKG_CONFIG --exists --print-errors "sndfile") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBSNDFILE_CFLAGS=`$PKG_CONFIG --cflags "sndfile" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$LIBSNDFILE_LIBS"; then pkg_cv_LIBSNDFILE_LIBS="$LIBSNDFILE_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile\""; } >&5 ($PKG_CONFIG --exists --print-errors "sndfile") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBSNDFILE_LIBS=`$PKG_CONFIG --libs "sndfile" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then LIBSNDFILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sndfile" 2>&1` else LIBSNDFILE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sndfile" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$LIBSNDFILE_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (sndfile) were not met: $LIBSNDFILE_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables LIBSNDFILE_CFLAGS and LIBSNDFILE_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables LIBSNDFILE_CFLAGS and LIBSNDFILE_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else LIBSNDFILE_CFLAGS=$pkg_cv_LIBSNDFILE_CFLAGS LIBSNDFILE_LIBS=$pkg_cv_LIBSNDFILE_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5 $as_echo_n "checking for GLIB... " >&6; } if test -n "$GLIB_CFLAGS"; then pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$GLIB_LIBS"; then pkg_cv_GLIB_LIBS="$GLIB_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0" 2>&1` else GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GLIB_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (glib-2.0) were not met: $GLIB_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GLIB_CFLAGS and GLIB_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GLIB_CFLAGS and GLIB_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS GLIB_LIBS=$pkg_cv_GLIB_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi # Check whether --enable-libav was given. if test "${enable_libav+set}" = set; then : enableval=$enable_libav; makelibav=$enableval else makelibav="maybe" fi if test $makelibav != "no" ; then pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBAVCODEC" >&5 $as_echo_n "checking for LIBAVCODEC... " >&6; } if test -n "$LIBAVCODEC_CFLAGS"; then pkg_cv_LIBAVCODEC_CFLAGS="$LIBAVCODEC_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavcodec\""; } >&5 ($PKG_CONFIG --exists --print-errors "libavcodec") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBAVCODEC_CFLAGS=`$PKG_CONFIG --cflags "libavcodec" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$LIBAVCODEC_LIBS"; then pkg_cv_LIBAVCODEC_LIBS="$LIBAVCODEC_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavcodec\""; } >&5 ($PKG_CONFIG --exists --print-errors "libavcodec") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBAVCODEC_LIBS=`$PKG_CONFIG --libs "libavcodec" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then LIBAVCODEC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libavcodec" 2>&1` else LIBAVCODEC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libavcodec" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$LIBAVCODEC_PKG_ERRORS" >&5 HAVE_AVCODEC=0 if test $makelibav = "yes" ; then as_fn_error $? "libavcodec not detected but specifically requested in configure options (libav)" "$LINENO" 5 else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IDJC will be built without wma/mp4/ape support" >&5 $as_echo "$as_me: WARNING: IDJC will be built without wma/mp4/ape support" >&2;} fi elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } HAVE_AVCODEC=0 if test $makelibav = "yes" ; then as_fn_error $? "libavcodec not detected but specifically requested in configure options (libav)" "$LINENO" 5 else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IDJC will be built without wma/mp4/ape support" >&5 $as_echo "$as_me: WARNING: IDJC will be built without wma/mp4/ape support" >&2;} fi else LIBAVCODEC_CFLAGS=$pkg_cv_LIBAVCODEC_CFLAGS LIBAVCODEC_LIBS=$pkg_cv_LIBAVCODEC_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } $as_echo "#define HAVE_AVCODEC 1" >>confdefs.h HAVE_AVCODEC=1 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcodec_decode_audio4 in -lavcodec" >&5 $as_echo_n "checking for avcodec_decode_audio4 in -lavcodec... " >&6; } if ${ac_cv_lib_avcodec_avcodec_decode_audio4+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lavcodec $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char avcodec_decode_audio4 (); int main () { return avcodec_decode_audio4 (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_avcodec_avcodec_decode_audio4=yes else ac_cv_lib_avcodec_avcodec_decode_audio4=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_avcodec_decode_audio4" >&5 $as_echo "$ac_cv_lib_avcodec_avcodec_decode_audio4" >&6; } if test "x$ac_cv_lib_avcodec_avcodec_decode_audio4" = xyes; then : : else as_fn_error $? "\"configure with --disable-libav or update ffmpeg/libav\"" "$LINENO" 5 fi fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBAVFORMAT" >&5 $as_echo_n "checking for LIBAVFORMAT... " >&6; } if test -n "$LIBAVFORMAT_CFLAGS"; then pkg_cv_LIBAVFORMAT_CFLAGS="$LIBAVFORMAT_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavformat\""; } >&5 ($PKG_CONFIG --exists --print-errors "libavformat") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBAVFORMAT_CFLAGS=`$PKG_CONFIG --cflags "libavformat" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$LIBAVFORMAT_LIBS"; then pkg_cv_LIBAVFORMAT_LIBS="$LIBAVFORMAT_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavformat\""; } >&5 ($PKG_CONFIG --exists --print-errors "libavformat") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBAVFORMAT_LIBS=`$PKG_CONFIG --libs "libavformat" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then LIBAVFORMAT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libavformat" 2>&1` else LIBAVFORMAT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libavformat" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$LIBAVFORMAT_PKG_ERRORS" >&5 HAVE_AVFORMAT=0 if test $makelibav = "yes" ; then as_fn_error $? "libavformat not detected but specifically requested in configure options (libav)" "$LINENO" 5 else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IDJC will be built without wma/mp4/ape support" >&5 $as_echo "$as_me: WARNING: IDJC will be built without wma/mp4/ape support" >&2;} fi elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } HAVE_AVFORMAT=0 if test $makelibav = "yes" ; then as_fn_error $? "libavformat not detected but specifically requested in configure options (libav)" "$LINENO" 5 else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IDJC will be built without wma/mp4/ape support" >&5 $as_echo "$as_me: WARNING: IDJC will be built without wma/mp4/ape support" >&2;} fi else LIBAVFORMAT_CFLAGS=$pkg_cv_LIBAVFORMAT_CFLAGS LIBAVFORMAT_LIBS=$pkg_cv_LIBAVFORMAT_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } $as_echo "#define HAVE_AVFORMAT 1" >>confdefs.h HAVE_AVFORMAT=1 fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBAVUTIL" >&5 $as_echo_n "checking for LIBAVUTIL... " >&6; } if test -n "$LIBAVUTIL_CFLAGS"; then pkg_cv_LIBAVUTIL_CFLAGS="$LIBAVUTIL_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavutil\""; } >&5 ($PKG_CONFIG --exists --print-errors "libavutil") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBAVUTIL_CFLAGS=`$PKG_CONFIG --cflags "libavutil" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$LIBAVUTIL_LIBS"; then pkg_cv_LIBAVUTIL_LIBS="$LIBAVUTIL_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavutil\""; } >&5 ($PKG_CONFIG --exists --print-errors "libavutil") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBAVUTIL_LIBS=`$PKG_CONFIG --libs "libavutil" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then LIBAVUTIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libavutil" 2>&1` else LIBAVUTIL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libavutil" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$LIBAVUTIL_PKG_ERRORS" >&5 HAVE_AVUTIL=0 if test $makelibav = "yes" ; then as_fn_error $? "libavutil not detected but specifically requested in configure options (libav)" "$LINENO" 5 else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IDJC will be built without wma/mp4/ape support" >&5 $as_echo "$as_me: WARNING: IDJC will be built without wma/mp4/ape support" >&2;} fi elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } HAVE_AVUTIL=0 if test $makelibav = "yes" ; then as_fn_error $? "libavutil not detected but specifically requested in configure options (libav)" "$LINENO" 5 else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IDJC will be built without wma/mp4/ape support" >&5 $as_echo "$as_me: WARNING: IDJC will be built without wma/mp4/ape support" >&2;} fi else LIBAVUTIL_CFLAGS=$pkg_cv_LIBAVUTIL_CFLAGS LIBAVUTIL_LIBS=$pkg_cv_LIBAVUTIL_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } $as_echo "#define HAVE_AVUTIL 1" >>confdefs.h HAVE_AVUTIL=1 fi else HAVE_AVCODEC=0 HAVE_AVFORMAT=0 HAVE_AVUTIL=0 fi # Check whether --enable-speex was given. if test "${enable_speex+set}" = set; then : enableval=$enable_speex; makespeex=$enableval else makespeex="maybe" fi if test $makespeex != "no" ; then pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSPEEX" >&5 $as_echo_n "checking for LIBSPEEX... " >&6; } if test -n "$LIBSPEEX_CFLAGS"; then pkg_cv_LIBSPEEX_CFLAGS="$LIBSPEEX_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"speex\""; } >&5 ($PKG_CONFIG --exists --print-errors "speex") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBSPEEX_CFLAGS=`$PKG_CONFIG --cflags "speex" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$LIBSPEEX_LIBS"; then pkg_cv_LIBSPEEX_LIBS="$LIBSPEEX_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"speex\""; } >&5 ($PKG_CONFIG --exists --print-errors "speex") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBSPEEX_LIBS=`$PKG_CONFIG --libs "speex" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then LIBSPEEX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "speex" 2>&1` else LIBSPEEX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "speex" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$LIBSPEEX_PKG_ERRORS" >&5 HAVE_SPEEX=0 , if test $makespeex = "yes" ; then as_fn_error $? "libspeex not detected but specifically requested in configure options" "$LINENO" 5 else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IDJC will be built without speex support" >&5 $as_echo "$as_me: WARNING: IDJC will be built without speex support" >&2;} fi elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } HAVE_SPEEX=0 , if test $makespeex = "yes" ; then as_fn_error $? "libspeex not detected but specifically requested in configure options" "$LINENO" 5 else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IDJC will be built without speex support" >&5 $as_echo "$as_me: WARNING: IDJC will be built without speex support" >&2;} fi else LIBSPEEX_CFLAGS=$pkg_cv_LIBSPEEX_CFLAGS LIBSPEEX_LIBS=$pkg_cv_LIBSPEEX_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } $as_echo "#define HAVE_SPEEX 1" >>confdefs.h HAVE_SPEEX=1 fi else HAVE_SPEEX=0 fi # Used only to check the correct version is installed pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYGTK" >&5 $as_echo_n "checking for PYGTK... " >&6; } if test -n "$PYGTK_CFLAGS"; then pkg_cv_PYGTK_CFLAGS="$PYGTK_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygtk-2.0 >= 2.6.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "pygtk-2.0 >= 2.6.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PYGTK_CFLAGS=`$PKG_CONFIG --cflags "pygtk-2.0 >= 2.6.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$PYGTK_LIBS"; then pkg_cv_PYGTK_LIBS="$PYGTK_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygtk-2.0 >= 2.6.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "pygtk-2.0 >= 2.6.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PYGTK_LIBS=`$PKG_CONFIG --libs "pygtk-2.0 >= 2.6.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then PYGTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pygtk-2.0 >= 2.6.0" 2>&1` else PYGTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pygtk-2.0 >= 2.6.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$PYGTK_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (pygtk-2.0 >= 2.6.0) were not met: $PYGTK_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables PYGTK_CFLAGS and PYGTK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables PYGTK_CFLAGS and PYGTK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else PYGTK_CFLAGS=$pkg_cv_PYGTK_CFLAGS PYGTK_LIBS=$pkg_cv_PYGTK_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mutagen" >&5 $as_echo_n "checking for mutagen... " >&6; } ${PYTHON}${PYTHON_VERSION} -c "import mutagen" >/dev/null 2>&1 if test $? -ne 0 ; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: runtime dependency (mutagen / python-mutagen) is missing" >&5 $as_echo "$as_me: WARNING: runtime dependency (mutagen / python-mutagen) is missing" >&2;} else { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi # Check whether --enable-flac was given. if test "${enable_flac+set}" = set; then : enableval=$enable_flac; makeflac=$enableval else makeflac="maybe" fi if test $makeflac != "no" ; then pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFLAC" >&5 $as_echo_n "checking for LIBFLAC... " >&6; } if test -n "$LIBFLAC_CFLAGS"; then pkg_cv_LIBFLAC_CFLAGS="$LIBFLAC_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"flac >= 1.1.3\""; } >&5 ($PKG_CONFIG --exists --print-errors "flac >= 1.1.3") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBFLAC_CFLAGS=`$PKG_CONFIG --cflags "flac >= 1.1.3" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$LIBFLAC_LIBS"; then pkg_cv_LIBFLAC_LIBS="$LIBFLAC_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"flac >= 1.1.3\""; } >&5 ($PKG_CONFIG --exists --print-errors "flac >= 1.1.3") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBFLAC_LIBS=`$PKG_CONFIG --libs "flac >= 1.1.3" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then LIBFLAC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "flac >= 1.1.3" 2>&1` else LIBFLAC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "flac >= 1.1.3" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$LIBFLAC_PKG_ERRORS" >&5 HAVE_FLAC=0 HAVE_OGGFLAC=0 if test $makeflac = "yes" ; then as_fn_error $? "libFLAC not detected but specifically requested in configure options" "$LINENO" 5 else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IDJC will be built without flac support" >&5 $as_echo "$as_me: WARNING: IDJC will be built without flac support" >&2;} fi elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } HAVE_FLAC=0 HAVE_OGGFLAC=0 if test $makeflac = "yes" ; then as_fn_error $? "libFLAC not detected but specifically requested in configure options" "$LINENO" 5 else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IDJC will be built without flac support" >&5 $as_echo "$as_me: WARNING: IDJC will be built without flac support" >&2;} fi else LIBFLAC_CFLAGS=$pkg_cv_LIBFLAC_CFLAGS LIBFLAC_LIBS=$pkg_cv_LIBFLAC_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } $as_echo "#define HAVE_FLAC 1" >>confdefs.h HAVE_FLAC=1 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FLAC__stream_decoder_init_ogg_stream in -lFLAC" >&5 $as_echo_n "checking for FLAC__stream_decoder_init_ogg_stream in -lFLAC... " >&6; } if ${ac_cv_lib_FLAC_FLAC__stream_decoder_init_ogg_stream+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lFLAC $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char FLAC__stream_decoder_init_ogg_stream (); int main () { return FLAC__stream_decoder_init_ogg_stream (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_FLAC_FLAC__stream_decoder_init_ogg_stream=yes else ac_cv_lib_FLAC_FLAC__stream_decoder_init_ogg_stream=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_FLAC_FLAC__stream_decoder_init_ogg_stream" >&5 $as_echo "$ac_cv_lib_FLAC_FLAC__stream_decoder_init_ogg_stream" >&6; } if test "x$ac_cv_lib_FLAC_FLAC__stream_decoder_init_ogg_stream" = xyes; then : HAVE_OGGFLAC=1 $as_echo "#define HAVE_OGGFLAC 1" >>confdefs.h else HAVE_OGGFLAC=0 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: your version of libFLAC lacks oggflac support" >&5 $as_echo "$as_me: WARNING: your version of libFLAC lacks oggflac support" >&2;} fi fi else HAVE_FLAC=0 HAVE_OGGFLAC=0 fi for ac_header in mpg123.h do : ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default" if test "x$ac_cv_header_mpg123_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_MPG123_H 1 _ACEOF fi done # Check whether --enable-mpg123 was given. if test "${enable_mpg123+set}" = set; then : enableval=$enable_mpg123; makempg123=$enableval else makempg123="maybe" fi if test $makempg123 != "no" ; then pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPG123" >&5 $as_echo_n "checking for MPG123... " >&6; } if test -n "$MPG123_CFLAGS"; then pkg_cv_MPG123_CFLAGS="$MPG123_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmpg123\""; } >&5 ($PKG_CONFIG --exists --print-errors "libmpg123") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_MPG123_CFLAGS=`$PKG_CONFIG --cflags "libmpg123" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$MPG123_LIBS"; then pkg_cv_MPG123_LIBS="$MPG123_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmpg123\""; } >&5 ($PKG_CONFIG --exists --print-errors "libmpg123") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_MPG123_LIBS=`$PKG_CONFIG --libs "libmpg123" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then MPG123_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmpg123" 2>&1` else MPG123_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libmpg123" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$MPG123_PKG_ERRORS" >&5 $as_echo "#define DYN_MPG123 1" >>confdefs.h DYN_MPG123=1 DYNAMIC="1" if test $makempg123 = "yes" ; then as_fn_error $? "libmpg123 not detected but specifically requested in configure options" "$LINENO" 5 fi elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } $as_echo "#define DYN_MPG123 1" >>confdefs.h DYN_MPG123=1 DYNAMIC="1" if test $makempg123 = "yes" ; then as_fn_error $? "libmpg123 not detected but specifically requested in configure options" "$LINENO" 5 fi else MPG123_CFLAGS=$pkg_cv_MPG123_CFLAGS MPG123_LIBS=$pkg_cv_MPG123_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } MPG123=-lmpg123 DYN_MPG123=0 fi else $as_echo "#define DYN_MPG123 1" >>confdefs.h DYN_MPG123=1 DYNAMIC="1" fi for ac_header in lame/lame.h do : ac_fn_c_check_header_mongrel "$LINENO" "lame/lame.h" "ac_cv_header_lame_lame_h" "$ac_includes_default" if test "x$ac_cv_header_lame_lame_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LAME_LAME_H 1 _ACEOF fi done # Check whether --enable-lame was given. if test "${enable_lame+set}" = set; then : enableval=$enable_lame; makelame=$enableval else makelame="maybe" fi if test $makelame != "no" ; then as_ac_Lib=`$as_echo "ac_cv_lib_mp3lame -lm''_lame_init" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lame_init in -lmp3lame -lm" >&5 $as_echo_n "checking for lame_init in -lmp3lame -lm... " >&6; } if eval \${$as_ac_Lib+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lmp3lame -lm $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char lame_init (); int main () { return lame_init (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : eval "$as_ac_Lib=yes" else eval "$as_ac_Lib=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi eval ac_res=\$$as_ac_Lib { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : LIBMP3LAME=-lmp3lame DYN_LAME=0 else $as_echo "#define DYN_LAME 1" >>confdefs.h DYN_LAME=1 DYNAMIC="1" if test $makelame = "yes" ; then as_fn_error $? "libmp3lame not detected but specifically requested in configure options" "$LINENO" 5 fi fi else $as_echo "#define DYN_LAME 1" >>confdefs.h DYN_LAME=1 DYNAMIC="1" fi # Check whether --enable-twolame was given. if test "${enable_twolame+set}" = set; then : enableval=$enable_twolame; maketwolame=$enableval else maketwolame="maybe" fi if test $maketwolame != "no" ; then pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TWOLAME" >&5 $as_echo_n "checking for TWOLAME... " >&6; } if test -n "$TWOLAME_CFLAGS"; then pkg_cv_TWOLAME_CFLAGS="$TWOLAME_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"twolame\""; } >&5 ($PKG_CONFIG --exists --print-errors "twolame") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_TWOLAME_CFLAGS=`$PKG_CONFIG --cflags "twolame" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$TWOLAME_LIBS"; then pkg_cv_TWOLAME_LIBS="$TWOLAME_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"twolame\""; } >&5 ($PKG_CONFIG --exists --print-errors "twolame") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_TWOLAME_LIBS=`$PKG_CONFIG --libs "twolame" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then TWOLAME_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "twolame" 2>&1` else TWOLAME_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "twolame" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$TWOLAME_PKG_ERRORS" >&5 HAVE_TWOLAME=0 , if test $maketwolame = "yes" ; then as_fn_error $? "libtwolame not detected but specifically requested in configure options" "$LINENO" 5 else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IDJC will be built without libtwolame mp2 streaming support" >&5 $as_echo "$as_me: WARNING: IDJC will be built without libtwolame mp2 streaming support" >&2;} fi elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } HAVE_TWOLAME=0 , if test $maketwolame = "yes" ; then as_fn_error $? "libtwolame not detected but specifically requested in configure options" "$LINENO" 5 else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IDJC will be built without libtwolame mp2 streaming support" >&5 $as_echo "$as_me: WARNING: IDJC will be built without libtwolame mp2 streaming support" >&2;} fi else TWOLAME_CFLAGS=$pkg_cv_TWOLAME_CFLAGS TWOLAME_LIBS=$pkg_cv_TWOLAME_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } $as_echo "#define HAVE_TWOLAME 1" >>confdefs.h HAVE_TWOLAME=1 fi else HAVE_TWOLAME=0 fi # Check whether --enable-opus was given. if test "${enable_opus+set}" = set; then : enableval=$enable_opus; makeopus=$enableval else makeopus="maybe" fi if test $makeopus != "no" ; then pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OPUS" >&5 $as_echo_n "checking for OPUS... " >&6; } if test -n "$OPUS_CFLAGS"; then pkg_cv_OPUS_CFLAGS="$OPUS_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"opus\""; } >&5 ($PKG_CONFIG --exists --print-errors "opus") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_OPUS_CFLAGS=`$PKG_CONFIG --cflags "opus" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$OPUS_LIBS"; then pkg_cv_OPUS_LIBS="$OPUS_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"opus\""; } >&5 ($PKG_CONFIG --exists --print-errors "opus") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_OPUS_LIBS=`$PKG_CONFIG --libs "opus" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then OPUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "opus" 2>&1` else OPUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "opus" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$OPUS_PKG_ERRORS" >&5 HAVE_OPUS=0 , if test $makeopus = "yes" ; then as_fn_error $? "libopus not detected but specifically requested in configure options" "$LINENO" 5 else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IDJC will be built without opus playback or streaming support" >&5 $as_echo "$as_me: WARNING: IDJC will be built without opus playback or streaming support" >&2;} fi elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } HAVE_OPUS=0 , if test $makeopus = "yes" ; then as_fn_error $? "libopus not detected but specifically requested in configure options" "$LINENO" 5 else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IDJC will be built without opus playback or streaming support" >&5 $as_echo "$as_me: WARNING: IDJC will be built without opus playback or streaming support" >&2;} fi else OPUS_CFLAGS=$pkg_cv_OPUS_CFLAGS OPUS_LIBS=$pkg_cv_OPUS_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } $as_echo "#define HAVE_OPUS 1" >>confdefs.h HAVE_OPUS=1 fi else HAVE_OPUS=0 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 $as_echo_n "checking for pthread_create in -lpthread... " >&6; } if ${ac_cv_lib_pthread_pthread_create+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lpthread $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char pthread_create (); int main () { return pthread_create (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_pthread_pthread_create=yes else ac_cv_lib_pthread_pthread_create=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then : : else as_fn_error $? "\"libpthread not detected\"" "$LINENO" 5 fi # Conditionally include libm. Some standard libraries could have inbuilt math stuff. for ac_func in sqrt pow do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF : else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt, pow in -lm" >&5 $as_echo_n "checking for sqrt, pow in -lm... " >&6; } if ${ac_cv_lib_m_sqrt__pow+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lm $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char sqrt, pow (); int main () { return sqrt, pow (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_m_sqrt__pow=yes else ac_cv_lib_m_sqrt__pow=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt__pow" >&5 $as_echo "$ac_cv_lib_m_sqrt__pow" >&6; } if test "x$ac_cv_lib_m_sqrt__pow" = xyes; then : LIBM="-lm" else as_fn_error $? "\"math library is missing critical function\"" "$LINENO" 5 fi fi done # Checks for header files. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } if ${ac_cv_header_stdc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_header_stdc=yes else ac_cv_header_stdc=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) return 2; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : else ac_cv_header_stdc=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 $as_echo "$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then $as_echo "#define STDC_HEADERS 1" >>confdefs.h fi for ac_header in fcntl.h jack/jack.h jack/transport.h pthread.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF : else as_fn_error $? "\"Critical header file missing\"" "$LINENO" 5 fi done # Checks for typedefs, structures, and compiler characteristics. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } if ${ac_cv_c_const+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __cplusplus /* Ultrix mips cc rejects this sort of thing. */ typedef int charset[2]; const charset cs = { 0, 0 }; /* SunOS 4.1.1 cc rejects this. */ char const *const *pcpcc; char **ppc; /* NEC SVR4.0.2 mips cc rejects this. */ struct point {int x, y;}; static struct point const zero = {0,0}; /* AIX XL C 1.02.0.0 rejects this. It does not let you subtract one const X* pointer from another in an arm of an if-expression whose if-part is not a constant expression */ const char *g = "string"; pcpcc = &g + (g ? g-g : 0); /* HPUX 7.0 cc rejects these. */ ++pcpcc; ppc = (char**) pcpcc; pcpcc = (char const *const *) ppc; { /* SCO 3.2v4 cc rejects this sort of thing. */ char tx; char *t = &tx; char const *s = 0 ? (char *) 0 : (char const *) 0; *t++ = 0; if (s) return 0; } { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ int x[] = {25, 17}; const int *foo = &x[0]; ++foo; } { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ typedef const int *iptr; iptr p = 0; ++p; } { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ struct s { int j; const int *ap[3]; } bx; struct s *b = &bx; b->j = 5; } { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ const int foo = 10; if (!foo) return 0; } return !cs[0] && !zero.x; #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_c_const=yes else ac_cv_c_const=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 $as_echo "$ac_cv_c_const" >&6; } if test $ac_cv_c_const = no; then $as_echo "#define const /**/" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 $as_echo_n "checking for inline... " >&6; } if ${ac_cv_c_inline+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __cplusplus typedef int foo_t; static $ac_kw foo_t static_foo () {return 0; } $ac_kw foo_t foo () {return 0; } #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_c_inline=$ac_kw fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext test "$ac_cv_c_inline" != no && break done fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 $as_echo "$ac_cv_c_inline" >&6; } case $ac_cv_c_inline in inline | yes) ;; *) case $ac_cv_c_inline in no) ac_val=;; *) ac_val=$ac_cv_c_inline;; esac cat >>confdefs.h <<_ACEOF #ifndef __cplusplus #define inline $ac_val #endif _ACEOF ;; esac ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" if test "x$ac_cv_type_pid_t" = xyes; then : else cat >>confdefs.h <<_ACEOF #define pid_t int _ACEOF fi ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" if test "x$ac_cv_type_size_t" = xyes; then : else cat >>confdefs.h <<_ACEOF #define size_t unsigned int _ACEOF fi # Checks for library functions. for ac_header in stdlib.h do : ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" if test "x$ac_cv_header_stdlib_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STDLIB_H 1 _ACEOF fi done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 $as_echo_n "checking for GNU libc compatible malloc... " >&6; } if ${ac_cv_func_malloc_0_nonnull+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : ac_cv_func_malloc_0_nonnull=no else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined STDC_HEADERS || defined HAVE_STDLIB_H # include #else char *malloc (); #endif int main () { return ! malloc (0); ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : ac_cv_func_malloc_0_nonnull=yes else ac_cv_func_malloc_0_nonnull=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } if test $ac_cv_func_malloc_0_nonnull = yes; then : $as_echo "#define HAVE_MALLOC 1" >>confdefs.h else $as_echo "#define HAVE_MALLOC 0" >>confdefs.h case " $LIBOBJS " in *" malloc.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;; esac $as_echo "#define malloc rpl_malloc" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 $as_echo_n "checking return type of signal handlers... " >&6; } if ${ac_cv_type_signal+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { return *(signal (0, 0)) (0) == 1; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_type_signal=int else ac_cv_type_signal=void fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 $as_echo "$ac_cv_type_signal" >&6; } cat >>confdefs.h <<_ACEOF #define RETSIGTYPE $ac_cv_type_signal _ACEOF for ac_func in memset strchr do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF : else as_fn_error $? "\"Critical function missing\"" "$LINENO" 5 fi done for ac_func in getline strndup canonicalize_file_name do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF : else $as_echo "#define USE_BSD_COMPAT 1" >>confdefs.h fi done # Use png or xpm for graphics EXT=png pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHOUTIDJC" >&5 $as_echo_n "checking for SHOUTIDJC... " >&6; } if test -n "$SHOUTIDJC_CFLAGS"; then pkg_cv_SHOUTIDJC_CFLAGS="$SHOUTIDJC_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"shout-idjc\""; } >&5 ($PKG_CONFIG --exists --print-errors "shout-idjc") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SHOUTIDJC_CFLAGS=`$PKG_CONFIG --cflags "shout-idjc" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$SHOUTIDJC_LIBS"; then pkg_cv_SHOUTIDJC_LIBS="$SHOUTIDJC_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"shout-idjc\""; } >&5 ($PKG_CONFIG --exists --print-errors "shout-idjc") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SHOUTIDJC_LIBS=`$PKG_CONFIG --libs "shout-idjc" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then SHOUTIDJC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "shout-idjc" 2>&1` else SHOUTIDJC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "shout-idjc" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$SHOUTIDJC_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (shout-idjc) were not met: $SHOUTIDJC_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables SHOUTIDJC_CFLAGS and SHOUTIDJC_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables SHOUTIDJC_CFLAGS and SHOUTIDJC_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else SHOUTIDJC_CFLAGS=$pkg_cv_SHOUTIDJC_CFLAGS SHOUTIDJC_LIBS=$pkg_cv_SHOUTIDJC_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi for ac_header in shoutidjc/shout.h do : ac_fn_c_check_header_mongrel "$LINENO" "shoutidjc/shout.h" "ac_cv_header_shoutidjc_shout_h" "$ac_includes_default" if test "x$ac_cv_header_shoutidjc_shout_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_SHOUTIDJC_SHOUT_H 1 _ACEOF fi done if test x$DYNAMIC = "x1" ; then for ac_func in dlopen do : ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" if test "x$ac_cv_func_dlopen" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_DLOPEN 1 _ACEOF : else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 $as_echo_n "checking for dlopen in -ldl... " >&6; } if ${ac_cv_lib_dl_dlopen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dlopen (); int main () { return dlopen (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dl_dlopen=yes else ac_cv_lib_dl_dlopen=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } if test "x$ac_cv_lib_dl_dlopen" = xyes; then : DYN_LIBS=-ldl else as_fn_error $? "Runtime linking functions not found" "$LINENO" 5 fi fi done DYN_LDFLAGS=-rdynamic fi ac_config_files="$ac_config_files Makefile po/Makefile.in c/Makefile python/Makefile python/prelims/Makefile artwork/Makefile man/Makefile doc/Makefile python/__init__.py.in idjc.in idjc.desktop.in" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # `set' does not quote correctly, so add quotes: double-quote # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) | sed ' /^ac_cv_env_/b end t clear :clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then if test "x$cache_file" != "x/dev/null"; then { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else case $cache_file in #( */* | ?:*) mv -f confcache "$cache_file"$$ && mv -f "$cache_file"$$ "$cache_file" ;; #( *) mv -f confcache "$cache_file" ;; esac fi fi else { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= U= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 $as_echo_n "checking that generated files are newer than configure... " >&6; } if test -n "$am_sleep_pid"; then # Hide warnings about reused PIDs. wait $am_sleep_pid 2>/dev/null fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 $as_echo "done" >&6; } if test -n "$EXEEXT"; then am__EXEEXT_TRUE= am__EXEEXT_FALSE='#' else am__EXEEXT_TRUE='#' am__EXEEXT_FALSE= fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then as_fn_error $? "conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi : "${CONFIG_STATUS=./config.status}" ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=0 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} export SHELL _ASEOF cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } # as_fn_executable_p as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 ## ----------------------------------- ## ## Main body of $CONFIG_STATUS script. ## ## ----------------------------------- ## _ASEOF test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Save the log message, to keep $0 and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by idjc $as_me 0.8.9, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ on `(hostname || uname -n) 2>/dev/null | sed 1q` " _ACEOF case $ac_config_files in *" "*) set x $ac_config_files; shift; ac_config_files=$*;; esac case $ac_config_headers in *" "*) set x $ac_config_headers; shift; ac_config_headers=$*;; esac cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="$ac_config_files" config_headers="$ac_config_headers" config_commands="$ac_config_commands" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ \`$as_me' instantiates files and other configuration actions from templates according to the current configuration. Unless the files and actions are specified as TAGs, all are instantiated by default. Usage: $0 [OPTION]... [TAG]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit --config print configuration, then exit -q, --quiet, --silent do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE --header=FILE[:TEMPLATE] instantiate the configuration header FILE Configuration files: $config_files Configuration headers: $config_headers Configuration commands: $config_commands Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ idjc config.status 0.8.9 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" Copyright (C) 2012 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' MKDIR_P='$MKDIR_P' AWK='$AWK' test -n "\$AWK" || AWK=awk _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 do case $1 in --*=?*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; --*=) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg= ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) $as_echo "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) $as_echo "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header as_fn_error $? "ambiguous option: \`$1' Try \`$0 --help' for more information.";; --help | --hel | -h ) $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) as_fn_error $? "unrecognized option: \`$1' Try \`$0 --help' for more information." ;; *) as_fn_append ac_config_targets " $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX $as_echo "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # # INIT-COMMANDS # AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH sed_quote_subst='$sed_quote_subst' double_quote_subst='$double_quote_subst' delay_variable_subst='$delay_variable_subst' macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`' hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' LTCC='$LTCC' LTCFLAGS='$LTCFLAGS' compiler='$compiler_DEFAULT' # A function that is used when there is no print builtin or printf. func_fallback_echo () { eval 'cat <<_LTECHO_EOF \$1 _LTECHO_EOF' } # Quote evaled strings. for var in SHELL \ ECHO \ SED \ GREP \ EGREP \ FGREP \ LD \ NM \ LN_S \ lt_SP2NL \ lt_NL2SP \ reload_flag \ OBJDUMP \ deplibs_check_method \ file_magic_cmd \ file_magic_glob \ want_nocaseglob \ DLLTOOL \ sharedlib_from_linklib_cmd \ AR \ AR_FLAGS \ archiver_list_spec \ STRIP \ RANLIB \ CC \ CFLAGS \ compiler \ lt_cv_sys_global_symbol_pipe \ lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ nm_file_list_spec \ lt_prog_compiler_no_builtin_flag \ lt_prog_compiler_pic \ lt_prog_compiler_wl \ lt_prog_compiler_static \ lt_cv_prog_compiler_c_o \ need_locks \ MANIFEST_TOOL \ DSYMUTIL \ NMEDIT \ LIPO \ OTOOL \ OTOOL64 \ shrext_cmds \ export_dynamic_flag_spec \ whole_archive_flag_spec \ compiler_needs_object \ with_gnu_ld \ allow_undefined_flag \ no_undefined_flag \ hardcode_libdir_flag_spec \ hardcode_libdir_flag_spec_ld \ hardcode_libdir_separator \ exclude_expsyms \ include_expsyms \ file_list_spec \ variables_saved_for_relink \ libname_spec \ library_names_spec \ soname_spec \ install_override_mode \ finish_eval \ old_striplib \ striplib; do case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[\\\\\\\`\\"\\\$]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done # Double-quote double-evaled strings. for var in reload_cmds \ old_postinstall_cmds \ old_postuninstall_cmds \ old_archive_cmds \ extract_expsyms_cmds \ old_archive_from_new_cmds \ old_archive_from_expsyms_cmds \ archive_cmds \ archive_expsym_cmds \ module_cmds \ module_expsym_cmds \ export_symbols_cmds \ prelink_cmds \ postlink_cmds \ postinstall_cmds \ postuninstall_cmds \ finish_cmds \ sys_lib_search_path_spec \ sys_lib_dlsearch_path_spec; do case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[\\\\\\\`\\"\\\$]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done ac_aux_dir='$ac_aux_dir' xsi_shell='$xsi_shell' lt_shell_append='$lt_shell_append' # See if we are running on zsh, and set the options which allow our # commands through without removal of \ escapes INIT. if test -n "\${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi PACKAGE='$PACKAGE' VERSION='$VERSION' TIMESTAMP='$TIMESTAMP' RM='$RM' ofile='$ofile' # Capture the value of obsolete ALL_LINGUAS because we need it to compute # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it # from automake < 1.5. eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' # Capture the value of LINGUAS because we need it to compute CATALOGS. LINGUAS="${LINGUAS-%UNSET%}" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; "c/Makefile") CONFIG_FILES="$CONFIG_FILES c/Makefile" ;; "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;; "python/prelims/Makefile") CONFIG_FILES="$CONFIG_FILES python/prelims/Makefile" ;; "artwork/Makefile") CONFIG_FILES="$CONFIG_FILES artwork/Makefile" ;; "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; "python/__init__.py.in") CONFIG_FILES="$CONFIG_FILES python/__init__.py.in" ;; "idjc.in") CONFIG_FILES="$CONFIG_FILES idjc.in" ;; "idjc.desktop.in") CONFIG_FILES="$CONFIG_FILES idjc.desktop.in" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= ac_tmp= trap 'exit_status=$? : "${ac_tmp:=$tmp}" { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ' 0 trap 'as_fn_exit 1' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 ac_tmp=$tmp # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then ac_cr=`echo X | tr X '\015'` # On cygwin, bash can eat \r inside `` if the user requested igncr. # But we know of no other shell where ac_cr would be empty at this # point, so we can use a bashism as a fallback. if test "x$ac_cr" = x; then eval ac_cr=\$\'\\r\' fi ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$ac_tmp/subs1.awk" && _ACEOF { echo "cat >conf$$subs.awk <<_ACEOF" && echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h s/^/S["/; s/!.*/"]=/ p g s/^[^!]*!// :repl t repl s/'"$ac_delim"'$// t delim :nl h s/\(.\{148\}\)..*/\1/ t more1 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ p n b repl :more1 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t nl :delim h s/\(.\{148\}\)..*/\1/ t more2 s/["\\]/\\&/g; s/^/"/; s/$/"/ p b :more2 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t delim ' >$CONFIG_STATUS || ac_write_fail=1 rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" } { line = $ 0 nfields = split(line, field, "@") substed = 0 len = length(field[1]) for (i = 2; i < nfields; i++) { key = field[i] keylen = length(key) if (S_is_set[key]) { value = S[key] line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) substed = 1 } else len += 1 + keylen } print line } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 _ACEOF # VPATH may cause trouble with some makes, so we remove sole $(srcdir), # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ h s/// s/^/:/ s/[ ]*$/:/ s/:\$(srcdir):/:/g s/:\${srcdir}:/:/g s/:@srcdir@:/:/g s/^:*// s/:*$// x s/\(=[ ]*\).*/\1/ G s/\n// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" # Set up the scripts for CONFIG_HEADERS section. # No need to generate them if there are no CONFIG_HEADERS. # This happens for instance with `./config.status Makefile'. if test -n "$CONFIG_HEADERS"; then cat >"$ac_tmp/defines.awk" <<\_ACAWK || BEGIN { _ACEOF # Transform confdefs.h into an awk script `defines.awk', embedded as # here-document in config.status, that substitutes the proper values into # config.h.in to produce config.h. # Create a delimiter string that does not exist in confdefs.h, to ease # handling of long lines. ac_delim='%!_!# ' for ac_last_try in false false :; do ac_tt=`sed -n "/$ac_delim/p" confdefs.h` if test -z "$ac_tt"; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done # For the awk script, D is an array of macro values keyed by name, # likewise P contains macro parameters if any. Preserve backslash # newline sequences. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* sed -n ' s/.\{148\}/&'"$ac_delim"'/g t rset :rset s/^[ ]*#[ ]*define[ ][ ]*/ / t def d :def s/\\$// t bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3"/p s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p d :bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3\\\\\\n"\\/p t cont s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p t cont d :cont n s/.\{148\}/&'"$ac_delim"'/g t clear :clear s/\\$// t bsnlc s/["\\]/\\&/g; s/^/"/; s/$/"/p d :bsnlc s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p b cont ' >$CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 for (key in D) D_is_set[key] = 1 FS = "" } /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { line = \$ 0 split(line, arg, " ") if (arg[1] == "#") { defundef = arg[2] mac1 = arg[3] } else { defundef = substr(arg[1], 2) mac1 = arg[2] } split(mac1, mac2, "(") #) macro = mac2[1] prefix = substr(line, 1, index(line, defundef) - 1) if (D_is_set[macro]) { # Preserve the white space surrounding the "#". print prefix "define", macro P[macro] D[macro] next } else { # Replace #undef with comments. This is necessary, for example, # in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. if (defundef == "undef") { print "/*", prefix defundef, macro, "*/" next } } } { print } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 fi # test -n "$CONFIG_HEADERS" eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" shift for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$ac_tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) ac_sed_conf_input=`$as_echo "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac case $ac_tag in *:-:* | *:-) cat >"$ac_tmp/stdin" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir="$ac_dir"; as_fn_mkdir_p ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac ac_MKDIR_P=$MKDIR_P case $MKDIR_P in [\\/$]* | ?:[\\/]* ) ;; */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; esac _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= ac_sed_dataroot=' /datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t s&@MKDIR_P@&$ac_MKDIR_P&;t t $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ "$ac_tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} rm -f "$ac_tmp/stdin" case $ac_file in -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; esac \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; :H) # # CONFIG_HEADER # if test x"$ac_file" != x-; then { $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" } >"$ac_tmp/config.h" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 $as_echo "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$ac_tmp/config.h" "$ac_file" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 fi # Compute "$ac_file"'s index in $config_headers. _am_arg="$ac_file" _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$_am_arg" : 'X\(//\)[^/]' \| \ X"$_am_arg" : 'X\(//\)$' \| \ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$_am_arg" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'`/stamp-h$_am_stamp_count ;; :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 $as_echo "$as_me: executing $ac_file commands" >&6;} ;; esac case $ac_file$ac_mode in "depfiles":C) test x"$AMDEP_TRUE" != x"" || { # Autoconf 2.62 quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named 'Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`$as_dirname -- "$mf" || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ X"$mf" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running 'make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`$as_dirname -- "$file" || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ X"$file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir=$dirpart/$fdir; as_fn_mkdir_p # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done } ;; "libtool":C) # See if we are running on zsh, and set the options which allow our # commands through without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi cfgfile="${ofile}T" trap "$RM \"$cfgfile\"; exit 1" 1 2 15 $RM "$cfgfile" cat <<_LT_EOF >> "$cfgfile" #! $SHELL # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, # 2006, 2007, 2008, 2009, 2010 Free Software Foundation, # Inc. # Written by Gordon Matzigkeit, 1996 # # This file is part of GNU Libtool. # # GNU Libtool is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2 of # the License, or (at your option) any later version. # # As a special exception to the GNU General Public License, # if you distribute this file as part of a program or library that # is built using GNU Libtool, you may include this file under the # same distribution terms that you use for the rest of that program. # # GNU Libtool is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with GNU Libtool; see the file COPYING. If not, a copy # can be downloaded from http://www.gnu.org/licenses/gpl.html, or # obtained by writing to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # The names of the tagged configurations supported by this script. available_tags="" # ### BEGIN LIBTOOL CONFIG # Which release of libtool.m4 was used? macro_version=$macro_version macro_revision=$macro_revision # Whether or not to build static libraries. build_old_libs=$enable_static # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # What type of objects to build. pic_mode=$pic_mode # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # An echo program that protects backslashes. ECHO=$lt_ECHO # The host system. host_alias=$host_alias host=$host host_os=$host_os # The build system. build_alias=$build_alias build=$build build_os=$build_os # A sed program that does not truncate output. SED=$lt_SED # Sed that helps us avoid accidentally triggering echo(1) options like -n. Xsed="\$SED -e 1s/^X//" # A grep program that handles long lines. GREP=$lt_GREP # An ERE matcher. EGREP=$lt_EGREP # A literal string matcher. FGREP=$lt_FGREP # A BSD- or MS-compatible name lister. NM=$lt_NM # Whether we need soft or hard links. LN_S=$lt_LN_S # What is the maximum length of a command? max_cmd_len=$max_cmd_len # Object file suffix (normally "o"). objext=$ac_objext # Executable file suffix (normally ""). exeext=$exeext # whether the shell understands "unset". lt_unset=$lt_unset # turn spaces into newlines. SP2NL=$lt_lt_SP2NL # turn newlines into spaces. NL2SP=$lt_lt_NL2SP # convert \$build file names to \$host format. to_host_file_cmd=$lt_cv_to_host_file_cmd # convert \$build files to toolchain format. to_tool_file_cmd=$lt_cv_to_tool_file_cmd # An object symbol dumper. OBJDUMP=$lt_OBJDUMP # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method = "file_magic". file_magic_cmd=$lt_file_magic_cmd # How to find potential files when deplibs_check_method = "file_magic". file_magic_glob=$lt_file_magic_glob # Find potential files using nocaseglob when deplibs_check_method = "file_magic". want_nocaseglob=$lt_want_nocaseglob # DLL creation program. DLLTOOL=$lt_DLLTOOL # Command to associate shared and link libraries. sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd # The archiver. AR=$lt_AR # Flags to create an archive. AR_FLAGS=$lt_AR_FLAGS # How to feed a file listing to the archiver. archiver_list_spec=$lt_archiver_list_spec # A symbol stripping program. STRIP=$lt_STRIP # Commands used to install an old-style archive. RANLIB=$lt_RANLIB old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Whether to use a lock for old archive extraction. lock_old_archive_extraction=$lock_old_archive_extraction # A C compiler. LTCC=$lt_CC # LTCC compiler flags. LTCFLAGS=$lt_CFLAGS # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration. global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair. global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # Transform the output of nm in a C name address pair when lib prefix is needed. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix # Specify filename containing input files for \$NM. nm_file_list_spec=$lt_nm_file_list_spec # The root where to search for dependent libraries,and in which our libraries should be installed. lt_sysroot=$lt_sysroot # The name of the directory that contains temporary libtool files. objdir=$objdir # Used to examine libraries when file_magic_cmd begins with "file". MAGIC_CMD=$MAGIC_CMD # Must we lock files when doing compilation? need_locks=$lt_need_locks # Manifest tool. MANIFEST_TOOL=$lt_MANIFEST_TOOL # Tool to manipulate archived DWARF debug symbol files on Mac OS X. DSYMUTIL=$lt_DSYMUTIL # Tool to change global to local symbols on Mac OS X. NMEDIT=$lt_NMEDIT # Tool to manipulate fat objects and archives on Mac OS X. LIPO=$lt_LIPO # ldd/readelf like tool for Mach-O binaries on Mac OS X. OTOOL=$lt_OTOOL # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. OTOOL64=$lt_OTOOL64 # Old archive suffix (normally "a"). libext=$libext # Shared library suffix (normally ".so"). shrext_cmds=$lt_shrext_cmds # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Variables whose values should be saved in libtool wrapper scripts and # restored at link time. variables_saved_for_relink=$lt_variables_saved_for_relink # Do we need the "lib" prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Library versioning type. version_type=$version_type # Shared library runtime path variable. runpath_var=$runpath_var # Shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Permission mode override for installation of shared libraries. install_override_mode=$lt_install_override_mode # Command to use after installation of a shared archive. postinstall_cmds=$lt_postinstall_cmds # Command to use after uninstallation of a shared archive. postuninstall_cmds=$lt_postuninstall_cmds # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # As "finish_cmds", except a single script fragment to be evaled but # not shown. finish_eval=$lt_finish_eval # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Compile-time system search path for libraries. sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries. sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # The linker used to build libraries. LD=$lt_LD # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # Commands used to build an old-style archive. old_archive_cmds=$lt_old_archive_cmds # A language specific compiler. CC=$lt_compiler # Is the compiler the GNU compiler? with_gcc=$GCC # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc # Whether or not to disallow shared libs when runtime libs are static. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec # Whether the compiler copes with passing no objects directly. compiler_needs_object=$lt_compiler_needs_object # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds # Commands used to build a shared archive. archive_cmds=$lt_archive_cmds archive_expsym_cmds=$lt_archive_expsym_cmds # Commands used to build a loadable module if different from building # a shared archive. module_cmds=$lt_module_cmds module_expsym_cmds=$lt_module_expsym_cmds # Whether we are building with GNU ld or not. with_gnu_ld=$lt_with_gnu_ld # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag # Flag that enforces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec # If ld is used when linking, flag to hardcode \$libdir into a binary # during linking. This must work even if \$libdir does not exist. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld # Whether we need a single "-rpath" flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes # DIR into the resulting binary. hardcode_direct=$hardcode_direct # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes # DIR into the resulting binary and the resulting library dependency is # "absolute",i.e impossible to change by setting \${shlibpath_var} if the # library is relocated. hardcode_direct_absolute=$hardcode_direct_absolute # Set to "yes" if using the -LDIR flag during linking hardcodes DIR # into the resulting binary. hardcode_minus_L=$hardcode_minus_L # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR # into the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var # Set to "yes" if building a shared library automatically hardcodes DIR # into the library and all subsequent libraries and executables linked # against it. hardcode_automatic=$hardcode_automatic # Set to yes if linker adds runtime paths of dependent libraries # to runtime path list. inherit_rpath=$inherit_rpath # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs # Set to "yes" if exported symbols are required. always_export_symbols=$always_export_symbols # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms # Symbols that must always be exported. include_expsyms=$lt_include_expsyms # Commands necessary for linking programs (against libraries) with templates. prelink_cmds=$lt_prelink_cmds # Commands necessary for finishing linking programs. postlink_cmds=$lt_postlink_cmds # Specify filename containing input files. file_list_spec=$lt_file_list_spec # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action # ### END LIBTOOL CONFIG _LT_EOF case $host_os in aix3*) cat <<\_LT_EOF >> "$cfgfile" # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi _LT_EOF ;; esac ltmain="$ac_aux_dir/ltmain.sh" # We use sed instead of cat because bash on DJGPP gets confused if # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too? sed '$q' "$ltmain" >> "$cfgfile" \ || (rm -f "$cfgfile"; exit 1) if test x"$xsi_shell" = xyes; then sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ func_dirname ()\ {\ \ case ${1} in\ \ */*) func_dirname_result="${1%/*}${2}" ;;\ \ * ) func_dirname_result="${3}" ;;\ \ esac\ } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_basename ()$/,/^} # func_basename /c\ func_basename ()\ {\ \ func_basename_result="${1##*/}"\ } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ func_dirname_and_basename ()\ {\ \ case ${1} in\ \ */*) func_dirname_result="${1%/*}${2}" ;;\ \ * ) func_dirname_result="${3}" ;;\ \ esac\ \ func_basename_result="${1##*/}"\ } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ func_stripname ()\ {\ \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ \ # positional parameters, so assign one to ordinary parameter first.\ \ func_stripname_result=${3}\ \ func_stripname_result=${func_stripname_result#"${1}"}\ \ func_stripname_result=${func_stripname_result%"${2}"}\ } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ func_split_long_opt ()\ {\ \ func_split_long_opt_name=${1%%=*}\ \ func_split_long_opt_arg=${1#*=}\ } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ func_split_short_opt ()\ {\ \ func_split_short_opt_arg=${1#??}\ \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ func_lo2o ()\ {\ \ case ${1} in\ \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ \ *) func_lo2o_result=${1} ;;\ \ esac\ } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_xform ()$/,/^} # func_xform /c\ func_xform ()\ {\ func_xform_result=${1%.*}.lo\ } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_arith ()$/,/^} # func_arith /c\ func_arith ()\ {\ func_arith_result=$(( $* ))\ } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_len ()$/,/^} # func_len /c\ func_len ()\ {\ func_len_result=${#1}\ } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: fi if test x"$lt_shell_append" = xyes; then sed -e '/^func_append ()$/,/^} # func_append /c\ func_append ()\ {\ eval "${1}+=\\${2}"\ } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ func_append_quoted ()\ {\ \ func_quote_for_eval "${2}"\ \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: # Save a `func_append' function call where possible by direct use of '+=' sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: else # Save a `func_append' function call even when '+=' is not available sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: fi if test x"$_lt_function_replace_fail" = x":"; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} fi mv -f "$cfgfile" "$ofile" || (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" ;; "po-directories":C) for ac_file in $CONFIG_FILES; do # Support "outfile[:infile[:infile...]]" case "$ac_file" in *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; esac # PO directories have a Makefile.in generated from Makefile.in.in. case "$ac_file" in */Makefile.in) # Adjust a relative srcdir. ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` # In autoconf-2.13 it is called $ac_given_srcdir. # In autoconf-2.50 it is called $srcdir. test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" case "$ac_given_srcdir" in .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; /*) top_srcdir="$ac_given_srcdir" ;; *) top_srcdir="$ac_dots$ac_given_srcdir" ;; esac # Treat a directory as a PO directory if and only if it has a # POTFILES.in file. This allows packages to have multiple PO # directories under different names or in different locations. if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then rm -f "$ac_dir/POTFILES" test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" POMAKEFILEDEPS="POTFILES.in" # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend # on $ac_dir but don't depend on user-specified configuration # parameters. if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then # The LINGUAS file contains the set of available languages. if test -n "$OBSOLETE_ALL_LINGUAS"; then test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" fi ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` # Hide the ALL_LINGUAS assigment from automake < 1.5. eval 'ALL_LINGUAS''=$ALL_LINGUAS_' POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" else # The set of available languages was given in configure.in. # Hide the ALL_LINGUAS assigment from automake < 1.5. eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' fi # Compute POFILES # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) # Compute UPDATEPOFILES # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) # Compute DUMMYPOFILES # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) # Compute GMOFILES # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) case "$ac_given_srcdir" in .) srcdirpre= ;; *) srcdirpre='$(srcdir)/' ;; esac POFILES= UPDATEPOFILES= DUMMYPOFILES= GMOFILES= for lang in $ALL_LINGUAS; do POFILES="$POFILES $srcdirpre$lang.po" UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" DUMMYPOFILES="$DUMMYPOFILES $lang.nop" GMOFILES="$GMOFILES $srcdirpre$lang.gmo" done # CATALOGS depends on both $ac_dir and the user's LINGUAS # environment variable. INST_LINGUAS= if test -n "$ALL_LINGUAS"; then for presentlang in $ALL_LINGUAS; do useit=no if test "%UNSET%" != "$LINGUAS"; then desiredlanguages="$LINGUAS" else desiredlanguages="$ALL_LINGUAS" fi for desiredlang in $desiredlanguages; do # Use the presentlang catalog if desiredlang is # a. equal to presentlang, or # b. a variant of presentlang (because in this case, # presentlang can be used as a fallback for messages # which are not translated in the desiredlang catalog). case "$desiredlang" in "$presentlang"*) useit=yes;; esac done if test $useit = yes; then INST_LINGUAS="$INST_LINGUAS $presentlang" fi done fi CATALOGS= if test -n "$INST_LINGUAS"; then for lang in $INST_LINGUAS; do CATALOGS="$CATALOGS $lang.gmo" done fi test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do if test -f "$f"; then case "$f" in *.orig | *.bak | *~) ;; *) cat "$f" >> "$ac_dir/Makefile" ;; esac fi done fi ;; esac done ;; esac done # for ac_tag as_fn_exit 0 _ACEOF ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || as_fn_exit 1 fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi idjc-0.8.9/man/0000755000175000017500000000000012142736727010230 500000000000000idjc-0.8.9/man/idjc-noauto.1_0000644000175000017500000000066612113174301012573 00000000000000.TH "IDJC-NOAUTO" 1 "2012-02-06" "VERSION" "Internet DJ Console" .SH NAME idjc-noauto - No automatic profile .SH SYNOPSIS .P idjc noauto [-h] .SH DESCRIPTION Removes the automatic profile property after which when starting .B idjc if no profile is chosen on the command line the Profile Manager will appear in order that one be selected manually. .SS Options .B -h, --help .RS Show a help message. .RE .PP .SH REPORTING BUGS .SH SEE ALSO idjc-0.8.9/man/idjc-auto.1_0000644000175000017500000000102212113174301012221 00000000000000.TH "IDJC-AUTO" 1 "2012-02-06" "VERSION" "Internet DJ Console" .SH NAME idjc-auto - Make a profile be automatic .SH SYNOPSIS .P idjc auto [-h] profile_name .SH DESCRIPTION When a profile is made automatic the Profile Manager window will not appear at startup and instead the automatic profile will load. Only one profile can be automatic at any one time. .SS Options .B -h, --help .RS Show a help message. .RE .PP .SS Requirements .B "profile_name" .RS The name of a profile to make automatic. .RE .SH REPORTING BUGS .SH SEE ALSO idjc-0.8.9/man/idjc-new.1_0000644000175000017500000000212212113174301012044 00000000000000.TH "IDJC-NEW" 1 "2012-02-06" "VERSION" "Internet DJ Console" .SH NAME idjc-new - Create a new profile .SH SYNOPSIS .P idjc new [-h] [-t template_profile] [-i icon_pathname] [-n nickname] [-d description_text] profile_name .SH DESCRIPTION Each running instance of .B idjc requires its own profile and this command will create one. This task can also be achieved using the main application user interface. .SS Options .B -h, --help .RS Show a help message. .RE .PP .BR "-t, --templateprofile" =PROFILE .RS PROFILE=an existing profile to copy. .RE .PP .BR "-i, --icon-pathname" =ICON .RS ICON=the path to an image file e.g. a .png file. .RE .PP .BR "-n, --nickname" =NICKNAME .RS NICKNAME=an alternative name to the profile. Unlike the profile any unicode is permitted. .RE .PP .BR "-d, --description" =DESC .RS DESC=some description text. A label for your profile stating what it will be used for. .RE .PP .SS Requirements .B profile_name .RS The name of the new profile. Limited to the letters and digits of the ASCII character set and '_' underscore. .RE .SH REPORTING BUGS .SH SEE ALSO idjc-0.8.9/man/reporting_bugs.part0000644000175000017500000000047012113174301014050 00000000000000Send your bug reports, feature requests, general comments, patches etc. to .PP You will need to make an account in order to post. .PP Report translation bugs to the appropriate translator whose details can be found in the 'Help/About' section of the .B idjc main menu. idjc-0.8.9/man/Makefile.in0000644000175000017500000004213112142730017012200 00000000000000# Makefile.in generated by automake 1.12.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2012 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__make_dryrun = \ { \ am__dry=no; \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ *) \ for am__flg in $$MAKEFLAGS; do \ case $$am__flg in \ *=*|--*) ;; \ *n*) am__dry=yes; break;; \ esac; \ done;; \ esac; \ test $$am__dry = yes; \ } pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = man DIST_COMMON = $(dist_noinst_DATA) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } man1dir = $(mandir)/man1 am__installdirs = "$(DESTDIR)$(man1dir)" NROFF = nroff MANS = $(nodist_man_MANS) DATA = $(dist_noinst_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ COPYRIGHT_YEAR = @COPYRIGHT_YEAR@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ DYN_LAME = @DYN_LAME@ DYN_LDFLAGS = @DYN_LDFLAGS@ DYN_LIBS = @DYN_LIBS@ DYN_MPG123 = @DYN_MPG123@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ EXT = @EXT@ FGREP = @FGREP@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ HAVE_AVCODEC = @HAVE_AVCODEC@ HAVE_AVFORMAT = @HAVE_AVFORMAT@ HAVE_AVUTIL = @HAVE_AVUTIL@ HAVE_FLAC = @HAVE_FLAC@ HAVE_OGGFLAC = @HAVE_OGGFLAC@ HAVE_OPUS = @HAVE_OPUS@ HAVE_SPEEX = @HAVE_SPEEX@ HAVE_TWOLAME = @HAVE_TWOLAME@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBAVCODEC_CFLAGS = @LIBAVCODEC_CFLAGS@ LIBAVCODEC_LIBS = @LIBAVCODEC_LIBS@ LIBAVFORMAT_CFLAGS = @LIBAVFORMAT_CFLAGS@ LIBAVFORMAT_LIBS = @LIBAVFORMAT_LIBS@ LIBAVUTIL_CFLAGS = @LIBAVUTIL_CFLAGS@ LIBAVUTIL_LIBS = @LIBAVUTIL_LIBS@ LIBFLAC_CFLAGS = @LIBFLAC_CFLAGS@ LIBFLAC_LIBS = @LIBFLAC_LIBS@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBJACK_CFLAGS = @LIBJACK_CFLAGS@ LIBJACK_LIBS = @LIBJACK_LIBS@ LIBM = @LIBM@ LIBMP3LAME = @LIBMP3LAME@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSAMPLERATE_CFLAGS = @LIBSAMPLERATE_CFLAGS@ LIBSAMPLERATE_LIBS = @LIBSAMPLERATE_LIBS@ LIBSNDFILE_CFLAGS = @LIBSNDFILE_CFLAGS@ LIBSNDFILE_LIBS = @LIBSNDFILE_LIBS@ LIBSPEEX_CFLAGS = @LIBSPEEX_CFLAGS@ LIBSPEEX_LIBS = @LIBSPEEX_LIBS@ LIBTOOL = @LIBTOOL@ LIBVORBISENC_CFLAGS = @LIBVORBISENC_CFLAGS@ LIBVORBISENC_LIBS = @LIBVORBISENC_LIBS@ LIBVORBIS_CFLAGS = @LIBVORBIS_CFLAGS@ LIBVORBIS_LIBS = @LIBVORBIS_LIBS@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MPG123 = @MPG123@ MPG123_CFLAGS = @MPG123_CFLAGS@ MPG123_LIBS = @MPG123_LIBS@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OPUS_CFLAGS = @OPUS_CFLAGS@ OPUS_LIBS = @OPUS_LIBS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ PYGTK_CFLAGS = @PYGTK_CFLAGS@ PYGTK_LIBS = @PYGTK_LIBS@ PYTHON = @PYTHON@ PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ PYTHON_PLATFORM = @PYTHON_PLATFORM@ PYTHON_PREFIX = @PYTHON_PREFIX@ PYTHON_VERSION = @PYTHON_VERSION@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SHOUTIDJC_CFLAGS = @SHOUTIDJC_CFLAGS@ SHOUTIDJC_LIBS = @SHOUTIDJC_LIBS@ STRIP = @STRIP@ TWOLAME_CFLAGS = @TWOLAME_CFLAGS@ TWOLAME_LIBS = @TWOLAME_LIBS@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ pkgpyexecdir = @pkgpyexecdir@ pkgpythondir = @pkgpythondir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ pyexecdir = @pyexecdir@ pythondir = @pythondir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SOURCES = idjc.1_ idjc-run.1_ idjc-new.1_ idjc-rm.1_ idjc-ls.1_ idjc-auto.1_ idjc-noauto.1_ TARGETS = idjc.1 idjc-run.1 idjc-new.1 idjc-rm.1 idjc-ls.1 idjc-auto.1 idjc-noauto.1 COMMON = reporting_bugs.part see_also.part SUFFIXES = .1_ .1 dist_noinst_DATA = $(SOURCES) $(COMMON) nodist_man_MANS = $(TARGETS) all: all-am .SUFFIXES: .SUFFIXES: .1_ .1 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu man/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu man/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-man1: $(nodist_man_MANS) @$(NORMAL_INSTALL) @list1=''; \ list2='$(nodist_man_MANS)'; \ test -n "$(man1dir)" \ && test -n "`echo $$list1$$list2`" \ || exit 0; \ echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ { for i in $$list1; do echo "$$i"; done; \ if test -n "$$list2"; then \ for i in $$list2; do echo "$$i"; done \ | sed -n '/\.1[a-z]*$$/p'; \ fi; \ } | while read p; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; echo "$$p"; \ done | \ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ sed 'N;N;s,\n, ,g' | { \ list=; while read file base inst; do \ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ fi; \ done; \ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ while read files; do \ test -z "$$files" || { \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ done; } uninstall-man1: @$(NORMAL_UNINSTALL) @list=''; test -n "$(man1dir)" || exit 0; \ files=`{ for i in $$list; do echo "$$i"; done; \ l2='$(nodist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \ sed -n '/\.1[a-z]*$$/p'; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) tags: TAGS TAGS: ctags: CTAGS CTAGS: cscope cscopelist: distdir: $(DISTFILES) @list='$(MANS)'; if test -n "$$list"; then \ list=`for p in $$list; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \ if test -n "$$list" && \ grep 'ab help2man is required to generate this page' $$list >/dev/null; then \ echo "error: found man pages containing the 'missing help2man' replacement text:" >&2; \ grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \ echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \ echo " typically 'make maintainer-clean' will remove them" >&2; \ exit 1; \ else :; fi; \ else :; fi @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(MANS) $(DATA) installdirs: for dir in "$(DESTDIR)$(man1dir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool clean-local mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-man install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-man1 install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-man uninstall-man: uninstall-man1 .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ clean-local distclean distclean-generic distclean-libtool \ distdir dvi dvi-am html html-am info info-am install \ install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-man1 install-pdf install-pdf-am install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ ps ps-am uninstall uninstall-am uninstall-man uninstall-man1 $(TARGETS) : $(COMMON) Makefile.am .1_.1: @sed -e 's|VERSION|${PACKAGE_NAME}-${PACKAGE_VERSION}|' \ -e '/.SH REPORTING BUGS/r ./reporting_bugs.part' \ -e '/.SH SEE ALSO/r ./see_also.part' $< | \ awk -v S="$(SOURCES)" -v R=$< \ 'BEGIN{sub(R,"",S);gsub(".1_","",S);split(S,A)} \ $$0=="SEE_ALSO"{printf".BR %s (1), \\ %s (1), \\ %s (1)\n", \ A[++i],A[++i],A[++i]}$$0!="SEE_ALSO"{print}' >$@ clean-local: rm -f $(TARGETS) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: idjc-0.8.9/man/idjc-ls.1_0000644000175000017500000000066412113174301011702 00000000000000.TH "IDJC-LS" 1 "2012-02-06" "VERSION" "Internet DJ Console" .SH NAME idjc-ls - Display information relating to the profiles .SH SYNOPSIS .P idjc ls [-h] .SH DESCRIPTION .P Using the ls sub-command it's possible to see which profiles are running. The display format is as follows: [auto] [profile] [uptime] [*nickname] [*description]. *=if present. .SS Options .B -h, --help .RS Show a help message. .RE .SH REPORTING BUGS .SH SEE ALSO idjc-0.8.9/man/idjc-run.1_0000644000175000017500000000603712113174301012070 00000000000000.TH "IDJC-RUN" 1 "2012-02-06" "VERSION" "Internet DJ Console" .SH NAME idjc-run - Launch the idjc main application .SH SYNOPSIS .P idjc run [-h] [-d {true,false}] [-p profile_choice] [-j server_name] [-S session_details] [--no-jack-connections] [-C] [-c c [c ...]] [-V {off,private,public}] [-P p [p ...]] [-s s [s ...]] [-x {1,2}] .SH DESCRIPTION .SS General options .B -h, --help .RS Show a help message. .RE .PP .BR "-d, --dialog" "={true,false}" .RS Whether to show the profile chooser dialog. .RE .PP .BR "-p, --profile" =PROFILE .RS Which profile to run. Any profile other than default must currently exist. .RE .PP .BR "-j, --jackserver" =SERVER .RS The named jack server to use. .RE .PP .BR "-S, --session" =SESSIONINFO .RS See the session support section below for more details. .RE .PP .B --no-jack-connections .RS A possibly useful option if you are using some kind of session manager. On startup idjc will not attempt to make any connections itself. .RE .PP .B --no-default-jack-connections .RS No JACK ports will be connected except those listed in the session file. Naturally that means if the session file doesn't exist no connections will be made. .RE .PP .SS User interface options .BR "-c, --channels" =CHANNELS .RS Open the specified channels of a space separated list. .RE .PP .BR "-V, --voip" =MODE .RS Select the specified VoIP mode. .RE .PP .BR "-P, --players" =PLAYERS .RS Start the specified players of a space separated list. Valid options are numeric. .RE .PP .BR "-s, --servers" =SERVERS .RS Start the specified servers of a space separated list. Valid options are numeric. .RE .PP .BR "-x, --crossfader" ={1,2} .RS Position the crossfader. .RE .PP .SH ENVIRONMENT If the .I ~/.jackdrc file is not present unless otherwise configured with a tool like .I ladiconf or .I QjackCtl .B idjc will start but will be configured with a sample rate of 48000 which is suboptimal for streaming CD audio. It is recommended to create such a file by this method within a console or use the aforementioned tools which may require installation. .PP .B $ echo "/usr/bin/jackd \-d alsa \-r 44100 \-p 2048" > ~/.jackdrc .PP If you prefer to start the JACK sound server manually you can do so like this. .PP .BR $ " jackd \-d alsa \-r 44100 \-p 2048" .PP .RB Refer\ to\ jackd (1)\ for\ further\ details. .PP .B idjc has native language support and takes account of the .I LANG and .I LANGUAGE environment variables. .SH SESSION SUPPORT .B idjc supports Ladish [L0] and [L1] session modes. On the command line you could specify --session=L1, --session=L1:session-name, or --session=L1:session-name:/path/to/savedir. If a save path is supplied IDJC operates in session rather than profile mode. The default mode is L0:default which does periodic saving and also saves at exit. You may specify an alternate name or a session pathname for L0 mode also. .PP When using L1 mode in Gladish if you choose "Studio/Save Studio" or "Project/Save Project" from the main menu .B idjc will save the JACK connection configuration in the session file. .SH REPORTING BUGS .SH SEE ALSO idjc-0.8.9/man/idjc.1_0000644000175000017500000000266412113174301011270 00000000000000.TH "IDJC" 1 "2012-02-06" "VERSION" "Internet DJ Console" .SH NAME idjc - Be a dj on the internet .SH SYNOPSIS idjc [-h] [-v] {run,new,rm,auto,noauto,ls} .SH DESCRIPTION .B idjc is a powerful yet easy to use application for individuals interested in streaming live radio shows over the Internet via Shoutcast or Icecast servers or for making podcasts. Features include two main media players with a crossfader, a jingles player, microphone signal processing (limiter, noise gate, etc.), IRC announcements, automatic stream start/stop and reconnection, simultaneous mp3 and Ogg streaming, up to 12 mono or 6 stereo audio input channels, a DSP interface, a VoIP integration feature, MIDI control surface support, audio level meters. It uses GTK+ for the user interface and JACK Audio Connection Kit to facilitate the inclusion of third-party audio applications that also support JACK within the audio chain. .SS Options .B -h, --help .RS Show a help message. .RE .PP .B -v, --version .RS Print the version number and exit. .RE .SS .BR Sub-commands " (each has its own man page)" .B run .RS Run the main idjc application. (This is the default option) .RE .PP .B new .RS Make a new profile. .RE .PP .B rm .RS Remove an existing profile or profiles. .RE .PP .B auto .RS Select which profile is to automatically launch. .RE .PP .B noauto .RS Remove auto-launch. .RE .PP .B ls .RS List the available profiles. Also show uptimes. .RE .SH REPORTING BUGS .SH SEE ALSO idjc-0.8.9/man/see_also.part0000644000175000017500000000011712113174301012607 00000000000000 .I .PP SEE_ALSO .PP SEE_ALSO .PP .BR jackd (1) idjc-0.8.9/man/Makefile.am0000644000175000017500000000140612113174301012163 00000000000000SOURCES = idjc.1_ idjc-run.1_ idjc-new.1_ idjc-rm.1_ idjc-ls.1_ idjc-auto.1_ idjc-noauto.1_ TARGETS = idjc.1 idjc-run.1 idjc-new.1 idjc-rm.1 idjc-ls.1 idjc-auto.1 idjc-noauto.1 COMMON = reporting_bugs.part see_also.part SUFFIXES = .1_ .1 dist_noinst_DATA = $(SOURCES) $(COMMON) nodist_man_MANS = $(TARGETS) $(TARGETS) : $(COMMON) Makefile.am .1_.1: @sed -e 's|VERSION|${PACKAGE_NAME}-${PACKAGE_VERSION}|' \ -e '/.SH REPORTING BUGS/r ./reporting_bugs.part' \ -e '/.SH SEE ALSO/r ./see_also.part' $< | \ awk -v S="$(SOURCES)" -v R=$< \ 'BEGIN{sub(R,"",S);gsub(".1_","",S);split(S,A)} \ $$0=="SEE_ALSO"{printf".BR %s (1), \\ %s (1), \\ %s (1)\n", \ A[++i],A[++i],A[++i]}$$0!="SEE_ALSO"{print}' >$@ clean-local: rm -f $(TARGETS) idjc-0.8.9/man/idjc-rm.1_0000644000175000017500000000070612113174301011677 00000000000000.TH "IDJC-RM" 1 "2012-02-06" "VERSION" "Internet DJ Console" .SH NAME idjc-rm - Remove a profile .SH SYNOPSIS .P idjc rm [-h] profile_name [profile_name ...] .SH DESCRIPTION Removes an .B idjc profile or profiles from the relevant config directory. .SS Options .B -h, --help .RS Show a help message. .RE .PP .SS Requirements .B "profile_name" .RS The name of a profile to remove. Additional profiles can be specified. .RE .SH REPORTING BUGS .SH SEE ALSO idjc-0.8.9/aclocal.m40000644000175000017500000015410512142730015011223 00000000000000# generated automatically by aclocal 1.12.6 -*- Autoconf -*- # Copyright (C) 1996-2012 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, [m4_warning([this file was generated for autoconf 2.69. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'.])]) # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- # serial 1 (pkg-config-0.24) # # Copyright © 2004 Scott James Remnant . # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # PKG_PROG_PKG_CONFIG([MIN-VERSION]) # ---------------------------------- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) fi if test -n "$PKG_CONFIG"; then _pkg_min_version=m4_default([$1], [0.9.0]) AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) PKG_CONFIG="" fi fi[]dnl ])# PKG_PROG_PKG_CONFIG # PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) # # Check to see whether a particular set of modules exists. Similar # to PKG_CHECK_MODULES(), but does not set variables or print errors. # # Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) # only at the first occurence in configure.ac, so if the first place # it's called might be skipped (such as if it is within an "if", you # have to call PKG_CHECK_EXISTS manually # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl if test -n "$PKG_CONFIG" && \ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then m4_default([$2], [:]) m4_ifvaln([$3], [else $3])dnl fi]) # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) # --------------------------------------------- m4_define([_PKG_CONFIG], [if test -n "$$1"; then pkg_cv_[]$1="$$1" elif test -n "$PKG_CONFIG"; then PKG_CHECK_EXISTS([$3], [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes]) else pkg_failed=untried fi[]dnl ])# _PKG_CONFIG # _PKG_SHORT_ERRORS_SUPPORTED # ----------------------------- AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi[]dnl ])# _PKG_SHORT_ERRORS_SUPPORTED # PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], # [ACTION-IF-NOT-FOUND]) # # # Note that if there is a possibility the first call to # PKG_CHECK_MODULES might not happen, you should be sure to include an # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac # # # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl pkg_failed=no AC_MSG_CHECKING([for $1]) _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) _PKG_CONFIG([$1][_LIBS], [libs], [$2]) m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS and $1[]_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.]) if test $pkg_failed = yes; then AC_MSG_RESULT([no]) _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` else $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD m4_default([$4], [AC_MSG_ERROR( [Package requirements ($2) were not met: $$1_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. _PKG_TEXT])[]dnl ]) elif test $pkg_failed = untried; then AC_MSG_RESULT([no]) m4_default([$4], [AC_MSG_FAILURE( [The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. _PKG_TEXT To get pkg-config, see .])[]dnl ]) else $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS $1[]_LIBS=$pkg_cv_[]$1[]_LIBS AC_MSG_RESULT([yes]) $3 fi[]dnl ])# PKG_CHECK_MODULES # PKG_INSTALLDIR(DIRECTORY) # ------------------------- # Substitutes the variable pkgconfigdir as the location where a module # should install pkg-config .pc files. By default the directory is # $libdir/pkgconfig, but the default can be changed by passing # DIRECTORY. The user can override through the --with-pkgconfigdir # parameter. AC_DEFUN([PKG_INSTALLDIR], [m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) m4_pushdef([pkg_description], [pkg-config installation directory @<:@]pkg_default[@:>@]) AC_ARG_WITH([pkgconfigdir], [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],, [with_pkgconfigdir=]pkg_default) AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) m4_popdef([pkg_default]) m4_popdef([pkg_description]) ]) dnl PKG_INSTALLDIR # PKG_NOARCH_INSTALLDIR(DIRECTORY) # ------------------------- # Substitutes the variable noarch_pkgconfigdir as the location where a # module should install arch-independent pkg-config .pc files. By # default the directory is $datadir/pkgconfig, but the default can be # changed by passing DIRECTORY. The user can override through the # --with-noarch-pkgconfigdir parameter. AC_DEFUN([PKG_NOARCH_INSTALLDIR], [m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) m4_pushdef([pkg_description], [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@]) AC_ARG_WITH([noarch-pkgconfigdir], [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],, [with_noarch_pkgconfigdir=]pkg_default) AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) m4_popdef([pkg_default]) m4_popdef([pkg_description]) ]) dnl PKG_NOARCH_INSTALLDIR # PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE, # [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) # ------------------------------------------- # Retrieves the value of the pkg-config variable for the given module. AC_DEFUN([PKG_CHECK_VAR], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl _PKG_CONFIG([$1], [variable="][$3]["], [$2]) AS_VAR_COPY([$1], [pkg_cv_][$1]) AS_VAR_IF([$1], [""], [$5], [$4])dnl ])# PKG_CHECK_VAR # Copyright (C) 2002-2012 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. # (This private macro should not be called outside this file.) AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.12' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. m4_if([$1], [1.12.6], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) # _AM_AUTOCONF_VERSION(VERSION) # ----------------------------- # aclocal traces this macro to find the Autoconf version. # This is a private macro too. Using m4_define simplifies # the logic in aclocal, which can simply ignore this definition. m4_define([_AM_AUTOCONF_VERSION], []) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.12.6])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- # Copyright (C) 2001-2012 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to # '$srcdir', '$srcdir/..', or '$srcdir/../..'. # # Of course, Automake must honor this variable whenever it calls a # tool from the auxiliary directory. The problem is that $srcdir (and # therefore $ac_aux_dir as well) can be either absolute or relative, # depending on how configure is run. This is pretty annoying, since # it makes $ac_aux_dir quite unusable in subdirectories: in the top # source directory, any form will work fine, but in subdirectories a # relative path needs to be adjusted first. # # $ac_aux_dir/missing # fails when called from a subdirectory if $ac_aux_dir is relative # $top_srcdir/$ac_aux_dir/missing # fails if $ac_aux_dir is absolute, # fails when called from a subdirectory in a VPATH build with # a relative $ac_aux_dir # # The reason of the latter failure is that $top_srcdir and $ac_aux_dir # are both prefixed by $srcdir. In an in-source build this is usually # harmless because $srcdir is '.', but things will broke when you # start a VPATH build or use an absolute $srcdir. # # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, # iff we strip the leading $srcdir from $ac_aux_dir. That would be: # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` # and then we would define $MISSING as # MISSING="\${SHELL} $am_aux_dir/missing" # This will work as long as MISSING is not called from configure, because # unfortunately $(top_srcdir) has no meaning in configure. # However there are other variables, like CC, which are often used in # configure, and could therefore not use this "fixed" $ac_aux_dir. # # Another solution, used here, is to always expand $ac_aux_dir to an # absolute PATH. The drawback is that using absolute paths prevent a # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly. AC_PREREQ([2.50])dnl # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` ]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright (C) 1997-2012 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ([2.52])dnl m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE])dnl AC_SUBST([$1_FALSE])dnl _AM_SUBST_NOTMAKE([$1_TRUE])dnl _AM_SUBST_NOTMAKE([$1_FALSE])dnl m4_define([_AM_COND_VALUE_$1], [$2])dnl if $2; then $1_TRUE= $1_FALSE='#' else $1_TRUE='#' $1_FALSE= fi AC_CONFIG_COMMANDS_PRE( [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then AC_MSG_ERROR([[conditional "$1" was never defined. Usually this means the macro was only invoked conditionally.]]) fi])]) # Copyright (C) 1999-2012 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, # will think it sees a *use*, and therefore will trigger all it's # C support machinery. Also note that it means that autoscan, seeing # CC etc. in the Makefile, will ask for an AC_PROG_CC use... # _AM_DEPENDENCIES(NAME) # ---------------------- # See how the compiler implements dependency checking. # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". # We try a few techniques and use that to set a single cache variable. # # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular # dependency, and given that the user is not expected to run this macro, # just rely on AC_PROG_CC. AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl AC_REQUIRE([AM_MAKE_INCLUDE])dnl AC_REQUIRE([AM_DEP_TRACK])dnl m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], [$1], [CXX], [depcc="$CXX" am_compiler_list=], [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], [$1], [UPC], [depcc="$UPC" am_compiler_list=], [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], [depcc="$$1" am_compiler_list=]) AC_CACHE_CHECK([dependency style of $depcc], [am_cv_$1_dependencies_compiler_type], [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named 'D' -- because '-MD' means "put the output # in D". rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_$1_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` fi am__universal=false m4_case([$1], [CC], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac], [CXX], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac]) for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with # Solaris 10 /bin/sh. echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle '-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # After this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_$1_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_$1_dependencies_compiler_type=none fi ]) AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) AM_CONDITIONAL([am__fastdep$1], [ test "x$enable_dependency_tracking" != xno \ && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) ]) # AM_SET_DEPDIR # ------------- # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES. AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) # AM_DEP_TRACK # ------------ AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE([dependency-tracking], [dnl AS_HELP_STRING( [--enable-dependency-tracking], [do not reject slow dependency extractors]) AS_HELP_STRING( [--disable-dependency-tracking], [speeds up one-time build])]) if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH])dnl _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl AC_SUBST([am__nodep])dnl _AM_SUBST_NOTMAKE([am__nodep])dnl ]) # Generate code to set up dependency tracking. -*- Autoconf -*- # Copyright (C) 1999-2012 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{ # Autoconf 2.62 quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named 'Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`AS_DIRNAME("$mf")` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running 'make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`AS_DIRNAME(["$file"])` AS_MKDIR_P([$dirpart/$fdir]) # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done } ])# _AM_OUTPUT_DEPENDENCY_COMMANDS # AM_OUTPUT_DEPENDENCY_COMMANDS # ----------------------------- # This macro should only be invoked once -- use via AC_REQUIRE. # # This code is only required when automatic dependency tracking # is enabled. FIXME. This creates each '.P' file that we will # need in order to bootstrap the dependency handling code. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) ]) # Copyright (C) 1996-2012 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996-2012 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This macro actually does too much. Some checks are only needed if # your package does certain things. But this isn't really a big deal. # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) # ----------------------------------------------- # The call with PACKAGE and VERSION arguments is the old style # call (pre autoconf-2.50), which is being phased out. PACKAGE # and VERSION should now be passed to AC_INIT and removed from # the call to AM_INIT_AUTOMAKE. # We support both call styles for the transition. After # the next Automake release, Autoconf can make the AC_INIT # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.62])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl # test to see if srcdir already configured if test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi AC_SUBST([CYGPATH_W]) # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2], [AC_DIAGNOSE([obsolete], [$0: two- and three-arguments forms are deprecated. For more info, see: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation]) m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. m4_if( m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), [ok:ok],, [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) AM_MISSING_PROG([AUTOCONF], [autoconf]) AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) AM_MISSING_PROG([AUTOHEADER], [autoheader]) AM_MISSING_PROG([MAKEINFO], [makeinfo]) AC_REQUIRE([AM_PROG_INSTALL_SH])dnl AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl # For better backward compatibility. To be removed once Automake 1.9.x # dies out for good. For more background, see: # # AC_SUBST([mkdir_p], ['$(MKDIR_P)']) # We need awk for the "check" target. The system "awk" is bad on # some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES([CC])], [m4_define([AC_PROG_CC], m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES([CXX])], [m4_define([AC_PROG_CXX], m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJC], [_AM_DEPENDENCIES([OBJC])], [m4_define([AC_PROG_OBJC], m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl dnl Support for Objective C++ was only introduced in Autoconf 2.65, dnl but we still cater to Autoconf 2.62. m4_ifdef([AC_PROG_OBJCXX], [AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], [_AM_DEPENDENCIES([OBJCXX])], [m4_define([AC_PROG_OBJCXX], m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])])dnl ]) _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. AC_CONFIG_COMMANDS_PRE(dnl [m4_provide_if([_AM_COMPILER_EXEEXT], [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl ]) dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further dnl mangled by Autoconf and run in a shell conditional statement. m4_define([_AC_COMPILER_EXEEXT], m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) # When config.status generates a header, we must update the stamp-h file. # This file resides in the same directory as the config header # that is generated. The stamp files are numbered to have different names. # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. _am_arg=$1 _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) # Copyright (C) 2001-2012 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl if test x"${install_sh}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi AC_SUBST([install_sh])]) # Copyright (C) 2003-2012 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001-2012 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_MAKE_INCLUDE() # ----------------- # Check to see how make treats includes. AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo this is the am__doit target .PHONY: am__doit END # If we don't find an include directive, just comment out the code. AC_MSG_CHECKING([for style of include used by $am_make]) am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # Ignore all kinds of additional output from 'make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include am__quote= _am_result=GNU ;; esac # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=.include am__quote="\"" _am_result=BSD ;; esac fi AC_SUBST([am__include]) AC_SUBST([am__quote]) AC_MSG_RESULT([$_am_result]) rm -f confinc confmf ]) # Copyright (C) 1999-2012 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_CC_C_O # -------------- # Like AC_PROG_CC_C_O, but changed for automake. AC_DEFUN([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC_C_O])dnl AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([compile])dnl # FIXME: we rely on the cache variable name because # there is no other way. set dummy $CC am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']` eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o if test "$am_t" != yes; then # Losing compiler, so override with the script. # FIXME: It is wrong to rewrite CC. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__CC in this case, # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" CC="$am_aux_dir/compile $CC" fi dnl Make sure AC_PROG_CC is never called again, or it will override our dnl setting of CC. m4_define([AC_PROG_CC], [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])]) ]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- # Copyright (C) 1997-2012 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) # AM_MISSING_HAS_RUN # ------------------ # Define MISSING if not defined so far and test if it supports --run. # If it does, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([missing])dnl if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= AC_MSG_WARN(['missing' script is too old or missing]) fi ]) # Copyright (C) 2003-2012 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_MKDIR_P # --------------- # Check for 'mkdir -p'. AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl dnl FIXME to be removed in Automake 1.13. AC_DIAGNOSE([obsolete], [$0: this macro is deprecated, and will soon be removed. You should use the Autoconf-provided 'AC][_PROG_MKDIR_P' macro instead, and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.]) dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, dnl while keeping a definition of mkdir_p for backward compatibility. dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of dnl Makefile.ins that do not define MKDIR_P, so we do our own dnl adjustment using top_builddir (which is defined more often than dnl MKDIR_P). AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl case $mkdir_p in [[\\/$]]* | ?:[[\\/]]*) ;; */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; esac ]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001-2012 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_MANGLE_OPTION(NAME) # ----------------------- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) # -------------------- # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])]) # _AM_SET_OPTIONS(OPTIONS) # ------------------------ # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) # ------------------------------------------- # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) # Copyright (C) 1999-2012 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PATH_PYTHON([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) # --------------------------------------------------------------------------- # Adds support for distributing Python modules and packages. To # install modules, copy them to $(pythondir), using the python_PYTHON # automake variable. To install a package with the same name as the # automake package, install to $(pkgpythondir), or use the # pkgpython_PYTHON automake variable. # # The variables $(pyexecdir) and $(pkgpyexecdir) are provided as # locations to install python extension modules (shared libraries). # Another macro is required to find the appropriate flags to compile # extension modules. # # If your package is configured with a different prefix to python, # users will have to add the install directory to the PYTHONPATH # environment variable, or create a .pth file (see the python # documentation for details). # # If the MINIMUM-VERSION argument is passed, AM_PATH_PYTHON will # cause an error if the version of python installed on the system # doesn't meet the requirement. MINIMUM-VERSION should consist of # numbers and dots only. AC_DEFUN([AM_PATH_PYTHON], [ dnl Find a Python interpreter. Python versions prior to 2.0 are not dnl supported. (2.0 was released on October 16, 2000). m4_define_default([_AM_PYTHON_INTERPRETER_LIST], [python python2 python3 python3.3 python3.2 python3.1 python3.0 python2.7 dnl python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0]) AC_ARG_VAR([PYTHON], [the Python interpreter]) m4_if([$1],[],[ dnl No version check is needed. # Find any Python interpreter. if test -z "$PYTHON"; then AC_PATH_PROGS([PYTHON], _AM_PYTHON_INTERPRETER_LIST, :) fi am_display_PYTHON=python ], [ dnl A version check is needed. if test -n "$PYTHON"; then # If the user set $PYTHON, use it and don't search something else. AC_MSG_CHECKING([whether $PYTHON version is >= $1]) AM_PYTHON_CHECK_VERSION([$PYTHON], [$1], [AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no]) AC_MSG_ERROR([Python interpreter is too old])]) am_display_PYTHON=$PYTHON else # Otherwise, try each interpreter until we find one that satisfies # VERSION. AC_CACHE_CHECK([for a Python interpreter with version >= $1], [am_cv_pathless_PYTHON],[ for am_cv_pathless_PYTHON in _AM_PYTHON_INTERPRETER_LIST none; do test "$am_cv_pathless_PYTHON" = none && break AM_PYTHON_CHECK_VERSION([$am_cv_pathless_PYTHON], [$1], [break]) done]) # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON. if test "$am_cv_pathless_PYTHON" = none; then PYTHON=: else AC_PATH_PROG([PYTHON], [$am_cv_pathless_PYTHON]) fi am_display_PYTHON=$am_cv_pathless_PYTHON fi ]) if test "$PYTHON" = :; then dnl Run any user-specified action, or abort. m4_default([$3], [AC_MSG_ERROR([no suitable Python interpreter found])]) else dnl Query Python for its version number. Getting [:3] seems to be dnl the best way to do this; it's what "site.py" does in the standard dnl library. AC_CACHE_CHECK([for $am_display_PYTHON version], [am_cv_python_version], [am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[[:3]])"`]) AC_SUBST([PYTHON_VERSION], [$am_cv_python_version]) dnl Use the values of $prefix and $exec_prefix for the corresponding dnl values of PYTHON_PREFIX and PYTHON_EXEC_PREFIX. These are made dnl distinct variables so they can be overridden if need be. However, dnl general consensus is that you shouldn't need this ability. AC_SUBST([PYTHON_PREFIX], ['${prefix}']) AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}']) dnl At times (like when building shared libraries) you may want dnl to know which OS platform Python thinks this is. AC_CACHE_CHECK([for $am_display_PYTHON platform], [am_cv_python_platform], [am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`]) AC_SUBST([PYTHON_PLATFORM], [$am_cv_python_platform]) # Just factor out some code duplication. am_python_setup_sysconfig="\ import sys # Prefer sysconfig over distutils.sysconfig, for better compatibility # with python 3.x. See automake bug#10227. try: import sysconfig except ImportError: can_use_sysconfig = 0 else: can_use_sysconfig = 1 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs: # try: from platform import python_implementation if python_implementation() == 'CPython' and sys.version[[:3]] == '2.7': can_use_sysconfig = 0 except ImportError: pass" dnl Set up 4 directories: dnl pythondir -- where to install python scripts. This is the dnl site-packages directory, not the python standard library dnl directory like in previous automake betas. This behavior dnl is more consistent with lispdir.m4 for example. dnl Query distutils for this directory. AC_CACHE_CHECK([for $am_display_PYTHON script directory], [am_cv_python_pythondir], [if test "x$prefix" = xNONE then am_py_prefix=$ac_default_prefix else am_py_prefix=$prefix fi am_cv_python_pythondir=`$PYTHON -c " $am_python_setup_sysconfig if can_use_sysconfig: sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'}) else: from distutils import sysconfig sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix') sys.stdout.write(sitedir)"` case $am_cv_python_pythondir in $am_py_prefix*) am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'` am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"` ;; *) case $am_py_prefix in /usr|/System*) ;; *) am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages ;; esac ;; esac ]) AC_SUBST([pythondir], [$am_cv_python_pythondir]) dnl pkgpythondir -- $PACKAGE directory under pythondir. Was dnl PYTHON_SITE_PACKAGE in previous betas, but this naming is dnl more consistent with the rest of automake. AC_SUBST([pkgpythondir], [\${pythondir}/$PACKAGE]) dnl pyexecdir -- directory for installing python extension modules dnl (shared libraries) dnl Query distutils for this directory. AC_CACHE_CHECK([for $am_display_PYTHON extension module directory], [am_cv_python_pyexecdir], [if test "x$exec_prefix" = xNONE then am_py_exec_prefix=$am_py_prefix else am_py_exec_prefix=$exec_prefix fi am_cv_python_pyexecdir=`$PYTHON -c " $am_python_setup_sysconfig if can_use_sysconfig: sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'}) else: from distutils import sysconfig sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix') sys.stdout.write(sitedir)"` case $am_cv_python_pyexecdir in $am_py_exec_prefix*) am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'` am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"` ;; *) case $am_py_exec_prefix in /usr|/System*) ;; *) am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages ;; esac ;; esac ]) AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir]) dnl pkgpyexecdir -- $(pyexecdir)/$(PACKAGE) AC_SUBST([pkgpyexecdir], [\${pyexecdir}/$PACKAGE]) dnl Run any user-specified action. $2 fi ]) # AM_PYTHON_CHECK_VERSION(PROG, VERSION, [ACTION-IF-TRUE], [ACTION-IF-FALSE]) # --------------------------------------------------------------------------- # Run ACTION-IF-TRUE if the Python interpreter PROG has version >= VERSION. # Run ACTION-IF-FALSE otherwise. # This test uses sys.hexversion instead of the string equivalent (first # word of sys.version), in order to cope with versions such as 2.2c1. # This supports Python 2.0 or higher. (2.0 was released on October 16, 2000). AC_DEFUN([AM_PYTHON_CHECK_VERSION], [prog="import sys # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. # map returns an iterator in Python 3.0 and a list in 2.x minver = list(map(int, '$2'.split('.'))) + [[0, 0, 0]] minverhex = 0 # xrange is not present in Python 3.0 and range returns an iterator for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[[i]] sys.exit(sys.hexversion < minverhex)" AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])]) # Copyright (C) 2001-2012 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_RUN_LOG(COMMAND) # ------------------- # Run COMMAND, save the exit status in ac_status, and log it. # (This has been adapted from Autoconf's _AC_RUN_LOG macro.) AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD (exit $ac_status); }]) # Check to make sure that the build environment is sane. -*- Autoconf -*- # Copyright (C) 1996-2012 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[[\\\"\#\$\&\'\`$am_lf]]*) AC_MSG_ERROR([unsafe absolute working directory name]);; esac case $srcdir in *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; esac # Do 'set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( am_has_slept=no for am_try in 1 2; do echo "timestamp, slept: $am_has_slept" > conftest.file set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$[*]" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi if test "$[*]" != "X $srcdir/configure conftest.file" \ && test "$[*]" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken alias in your environment]) fi if test "$[2]" = conftest.file || test $am_try -eq 2; then break fi # Just in case. sleep 1 am_has_slept=yes done test "$[2]" = conftest.file ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi AC_MSG_RESULT([yes]) # If we didn't sleep, we still need to ensure time stamps of config.status and # generated files are strictly newer. am_sleep_pid= if grep 'slept: no' conftest.file >/dev/null 2>&1; then ( sleep 1 ) & am_sleep_pid=$! fi AC_CONFIG_COMMANDS_PRE( [AC_MSG_CHECKING([that generated files are newer than configure]) if test -n "$am_sleep_pid"; then # Hide warnings about reused PIDs. wait $am_sleep_pid 2>/dev/null fi AC_MSG_RESULT([done])]) rm -f conftest.file ]) # Copyright (C) 2001-2012 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_STRIP # --------------------- # One issue with vendor 'install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we # always use install-sh in "make install-strip", and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl # Installed binaries are usually stripped using 'strip' when the user # run "make install-strip". However 'strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the 'STRIP' environment variable to overrule this program. dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Copyright (C) 2006-2012 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_SUBST_NOTMAKE(VARIABLE) # --------------------------- # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. # This macro is traced by Automake. AC_DEFUN([_AM_SUBST_NOTMAKE]) # AM_SUBST_NOTMAKE(VARIABLE) # -------------------------- # Public sister of _AM_SUBST_NOTMAKE. AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004-2012 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_PROG_TAR(FORMAT) # -------------------- # Check how to create a tarball in format FORMAT. # FORMAT should be one of 'v7', 'ustar', or 'pax'. # # Substitute a variable $(am__tar) that is a command # writing to stdout a FORMAT-tarball containing the directory # $tardir. # tardir=directory && $(am__tar) > result.tar # # Substitute a variable $(am__untar) that extract such # a tarball read from stdin. # $(am__untar) < result.tar AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AC_SUBST([AMTAR], ['$${TAR-tar}']) m4_if([$1], [v7], [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], [m4_case([$1], [ustar],, [pax],, [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' _am_tools=${am_cv_prog_tar_$1-$_am_tools} # Do not fold the above two line into one, because Tru64 sh and # Solaris sh will not grok spaces in the rhs of '-'. for _am_tool in $_am_tools do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do AM_RUN_LOG([$_am_tar --version]) && break done am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x $1 -w "$$tardir"' am__tar_='pax -L -x $1 -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H $1 -L' am__tar_='find "$tardir" -print | cpio -o -H $1 -L' am__untar='cpio -i -H $1 -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_$1}" && break # tar/untar a dummy directory, and stop if the command works rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) rm -rf conftest.dir if test -s conftest.tar; then AM_RUN_LOG([$am__untar /dev/null 2>&1 && break fi done rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR m4_include([m4/gettext.m4]) m4_include([m4/iconv.m4]) m4_include([m4/intlmacosx.m4]) m4_include([m4/lib-ld.m4]) m4_include([m4/lib-link.m4]) m4_include([m4/lib-prefix.m4]) m4_include([m4/libtool.m4]) m4_include([m4/ltoptions.m4]) m4_include([m4/ltsugar.m4]) m4_include([m4/ltversion.m4]) m4_include([m4/lt~obsolete.m4]) m4_include([m4/nls.m4]) m4_include([m4/po.m4]) m4_include([m4/progtest.m4]) idjc-0.8.9/AUTHORS0000644000175000017500000000042411653521304010432 00000000000000Written by Stephen Fairchild (s-fairchild@users.sourceforge.net) Metadata source patch: Dario Abatianni (eisfuchs@users.sourceforge.net) Microphone audio processing code by: Stefan Fendt (stefan@sfendt.de) Programmable key and midi bindings by And Clover (and@doxdesk.com) idjc-0.8.9/COPYING0000644000175000017500000004325511440027455010430 00000000000000 GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Lesser General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. idjc-0.8.9/ChangeLog0000644000175000017500000017104512142731202011136 00000000000000* Changes in version 0.8.9 * Fixes for deprecation warnings in build system. Fixed potentially corrupt loader shebang bug at the expense of versioning hardness. Added extra dbus functions to replace old idjcctrl functionality. Player speed pitch controls now display their speed value. The button bar and background player can now be hidden. Added new volume control for the VoIP level. Added ability to change the recorder filename. Added patch for playing effects to be listed on the effects tab when effects tab is not the one active. Jingles tab renamed to effects tab. Fixed binding for channel pan and added binding for channel level. Added speed/pitch controls to the background tracks player. Added binding to the VoIP mixback level. Added VoIP level control with binding. Added a command line server kick option and improved automatic connection. Effects players now have a progress meter. (patch: bmillham) Reduced border sizes in the main application window. Fixes for directory choosers in the stream recorders and the "external playlist" playlist mode. Each effects bank now has its own dedicated JACK output port. Copying profiles now copies the port connections. Playlist mode list in background tracks no longer shows unusable modes. This saves screen space. Player mixer frame removed to save screen space. Players now have renameable labels. Fix for background tracks finish time not updating when not playing. The player bindings now work for the background tracks volume control. Added level controls for each bank of 12 effect buttons. Key bindings updated. The DJ audio level control is now at the top of the Prefs->General page. The DJ alarm now has a dedicated JACK port and level control. Added support for R128_TRACK_GAIN tags. Added Ogg/Opus streaming and recording support. Added Ogg/Opus playback support. Fixed mp3 seek accuracy bug. Added cuesheet (.cue .txt) playback support. Multi-file cuesheets are treated as regular playlists. Fix to pause feature when decoding audio using libavcodec. IRC now supports manual connection starting as an option for when connecting at startup is undesirable. Added optional song database tree heirarchy album - [disk number] - track. Improved metadata cancellation for stopped players. Fixed bug where repeated playing of the same song would only register in the Tracks Played as a single play. Fixed bug where live metadata would not include the album metadata resulting in double counting of tracks in the tracks played window from standard unchained ogg files. Rewrote p3db.py as songdb.py to fix a problem with connection timeouts and UI freeze during large database fetch operations. Fixed bug where keyboard bindings would trigger when typing in the database filter boxes. Merged in patch from Brian Millham adding Ampache music database support. Credit given. Fixed bug triggered by playing ogg or mp3 files with chapter info with the effects player. Mic preferences settings are restored to the backend when the backend is restored. Pthreads now sleep when unused. Fixed regression on recorder pause button. Effects now have a repeat button. Multiple effects can now play at once. Background Tracks player can now be used as a main player for those that prefer to stay in the Jingles tab. * Changes in version 0.8.8 * Added a python module for monitoring IDJC (metadata and streams) to the HTML documentation. The bootstrapping script env-up renamed to bootstrap. New JACK freewheel mode front panel trigger button and matching preferences option to show this. Recorder now compatible with JACK freewheel mode. Fix to mp3 encoder which was dereferencing recently freed memory. New jingles player. Renamed as Effects. Player level smoothing and muting code moved from mixer.c into xlplayer.c. Intra player mixing code moved into xlplayer.c. Added a new interlude player which is nearly the equal of the main players. Renamed as Background Tracks. Removed the 'Fastest' player resample option from the preferences due to its inferiority. The remaining items renamed in accordance with the stream encoder names for the same modes. Fix to unhandled exceptions and bad behaviour in IRC code relating to the adding or removal of IRC servers during streaming. Replaced libmad mp3 decoder with mpg123. Added AAC and AAC Plus V2 streaming and recording support. Run-time linking to libmad removed. This is a forced dependency now. New dependency twolame adds official mp2 support for streaming, recording, playback, tagging. Added a brand new encoder format selection user interface which eliminates the possiblity of the user to select bad encoder setting combinations. It also looks much better. Decoder module avcodecdecode.c now requests audio in float format from libavcodec with theoretically better audio quality. Fixed deprecation warnings from avcodecdecode.c. Fix to vu_update in python/maingui.py to allow received values to contain = characters. Added the ability to remove the main players' visibility. Useful for when using external players. Added JACK audio routing for all players. This means that individual player audio effects or external players can be used. Fixed a crash bug that would happen if a playlist control was dragged to the opposite playlist. Merged the sourceclient and mixer modules. Updated man pages. Improved lockup handling code. Lots of global variables in mixer declared static. Recorders restart when sourceclient module goes down. Improved restart for streams when sourceclient module goes down. The 'Green Phone' VoIP mode now respects the 'In DJ's Mix' setting. BSB compat fix. The runtime dynamic linking functions are in the C standard library in BSD. Added ladish [L0] and [L1] support. The main menu is the new method for connecting JACK ports and it can also be used to check the various connections. The session is saved every minute. Users no longer need to close and restart to lock in settings in case IDJC freezes. Added a main menu bar and removed obsolete menus. * Changes in version 0.8.7 * Added italian translation. User interface tweaks for consistency including the greater use of GTK stock labels. * Changes in version 0.8.6 * Jingles player revamped. Player headroom now also features in 'Green Phone' VoIP mode. Resampling now defaults to 'Fast' mode. Fastest should never be used for sound quality reasons which made it a stupid default. Added 'Random Hop' playlist mode. Improvements to the end of track silence trimmer. Merged the mic and aux audio features into the new concept of channel. Bindings upper target limit values revised. Window opener buttons replaced by a menu to save space. Fixed double free and memory leak in audio_feed.c. Album metadata is now logged in tracks played and history.log. Added new Troubleshooting tab in server configuration. This includes the new ability to set the user agent string. Added GNU gettext i18n. Code refactored in c/audiofeed.c. No longer assumes both jack client IDs to be of the same length. Changes made to the build system so that it now passes the "make distcheck" test. Mouseover popup of the main media players now indicates the album if that metadata is available. GUI remembers previous window maximized state as well as the unmaximised size. Replaced XChat plugin with python-irclib based integrated IRC. New profile manager. Program launcher is now written in Python, replacing Bash. Removed deprecated 'Application' category from the desktop file. Fixed libavcodecdecode.c to work with libavcodec 0.7 (Obsolete macro updated) Patch: Jonathan Nieder Fixed a bashism in configure.ac which would prevent building with dash as the shell. Patch: Jonathan Nieder Visible state for per-server metadata. * Changes in version 0.8.5 * GUI for metadata in the Output window updated. Now has history on the custom metadata. The fallback tag text can be set. Deleted cue sheets no longer hang around in the playlist - not that there is any proper support for these.... Changed the XChat message context menu to imitate that of the current XChat. Fixed a metadata bug that would occur when the playing track was retagged using the integrated tagger. Fixed a bug that was preventing key bindings from functioning properly upon keyboard focus loss. This was affecting the track metadata tagger. Fixed a bug that was causing incorrect text on the server connection button. Streams and recordings now support album metadata. New custom metadata formatting tags exist to support this change. A new crossfader profile has been added which closely matches the inter track fade. In playlist modes that don't suppport playlist controls a null control is rendered in the playlist instead of a blank space as was done previously. Auto crossfade now takes into account the fade speed for timing. New playlist mode 'Fade Over' does the same thing as the crossfade playlist control but for every track. Sanitised the text inputs of the server dialog. Cleans off :// protocol prefixes and extra / characters on mount points. The return of the main panel recording indicator(s) - missing since version 0.7. Copyright year updated to 2011. Fix to XChat plugin installer. Polished XChat file locking code. Prokyon3 database settings recovered when saved in active mode. Hostname now saved as well. Regression fix for player levels when a jingle is playing. Mic icon flashes after a certain amount of time when a player is on. Mic indicates on status by the addition of a halo around the microphone icon in the opener button. Encoder ringbuffer size increased to accommodate really large JACK frame sizes. Mic player headroom can be set far higher. Glib added to dependencies. Handles hash table duties in agc code. Hash tables and other GLib features may be used internally to a greater degree as code gets rewritten. Improvements to the front panel mic open button text. Alt text overrides the mic number, stereo mics are indicated. Microphones can be made subordinates of a stereo pair. Mic 1 can be paired with 2, 2 with 1, 3 with 4. This achieves two things: 1. stereo mics can be configured with one set of settings; 2. the side-chains merge to facilitate a stable stereo image. The number of available microphones, streamers, and recorders can be adjusted in Prefs->Feature set. Prefs window can be expanded in size. * Changes in version 0.8.4 * Can now open multiple idjc instances on the same jack sound server using the -e command line switch. New server configuration dialog and notebook widget to replace the previous large scrolling window. Added an empty uninstall target to libshout/Makefile.am to fix 'make uninstall' breakage. New project website. See docsrc directory in Git source tree. Has a hand crafted Makefile not under GNU autotools control. Added facility for entering a Shoutcast admin password for the master server. Saved playlist in xspf format now saves playlist controls. New playlist control for restarting the playlist from the top. New env-up script to generate the up the ./configure file and html documentation. Both not to be found in the raw git source tree. Merged in new midi and assignable keyboard shortcuts interface. Cue sheets can now be added to the main player playlists. TODO: cuesheet playback. Cue sheets now indicate type WAVE when making a cue sheet for a flac file and cue sheets now store sub-second time offset information. The active record and stream tabs are now remembered across application restarts. A new individual controls expander added to reduce clutter in the output window. Reversed the hints on the Jingles player volume controls to match the main player volume control. * Changes in version 0.8.3 * Fixed a bug where the mp3 header was not captured resulting in corrupt vbr tags in recordings. Fixed a frame length bug in mp3 vbr tagger in recorder. Would cause mpeg 2, mpeg 2.5 frames to overrun with their padding. This bug also appeared in the mp3tagread module and was fixed. New feature to record FLAC files and metadata in an accompanying cue file. This does not use one of the server encoders. New group controls feature in the output window allows operations on all server tabs simultaneously. The listen URL now appears on the connect button. Static metadata text now shows with the correct character encoding when streaming mp3 files. Playlist and hostname/mountpoint info now shows with ellipses (...) when appropriate. The metadata widget is now in each tab so that metadata formatting information can persist beyond application close. Added an expander for server connection details which also resizes the window. Added new kick feature widgets and rearranged the server connection buttons to be at the top of each stream tab. Fixed a bug where the player freezes at the end of certain tracks when the player is started with the seek bar all the way to the right. The 'Random' playlist mode now observes a pattern to eliminate repeat performance of tracks while still allowing a large element of randomness. Track filenames are now stored when streaming or recording for use with Random playlist mode. Renamed variable shutdown in the mixer to avoid a reported namespace collision. * Changes in version 0.8.2 * Fixed an out of bounds memory access in mixer.c. Added an install button for the XChat plugin. The stream peak meter has its audio source filtered of brief transients. The 'Jack Ports' tab is renamed 'JACK ports' reflecting its acronym status. The aux ports are now grouped beneath the mic ports since they are both inputs, leaving output ports similarly grouped. The advance button toggles microphones that are configured to automatically open. The 'Player Stop' playlist control opens microphones that are configured to automatically open. The JACK audio ports have been renamed and are listed as their true names in the Jack Ports tab in the preferences. VOIP users will need to update their .asoundrc file (the docs contain the new configuration). Licensed as GPL2 again. The two main window button frames at the bottom have been merged so the new mic button arrangement can scale nicely. New mic open buttons in the main window. Only buttons for microphones currently set active are shown and the buttons indicate which microphone(s) they control. Freeform text can also be applied to the buttons. The profile name now appears in the preferences, output, and jingles window titles (except when using the default profile where it is left blank). This reduces the ambiguity that arises when two instances of IDJC run in the same screen. The server window is now called the output window because the user may just want to record without sending station output through a server. The mic high pass filter now has a control to set the number of active stages. Changes to the meters preferences. Now organised into two columns that can be switched in or out on a column by column basis. Option to hide all inactive mic meters. The player volume control now has an inverted (for GTK) ascending level hint for GTK themes that show this. Stream VU now appears in the stream indicators column. The mic VU meter is no more. New microphone meters. A peak meter paired with a colour coded attenuation indicator to give a hint at the state of the mic signal processing. Increased the number of handled microphones to four. The microphone detail controls now have a greater degree of control and default to 0 for a flat frequency response. The build system now recognizes python 2.6 as the minimum version. ./configure checks for the legacy location for libavcodec header files. Automatic crossfader pass maximum time raised to 20 seconds. Fixed an infinite loop bug in the Random playlist mode. Would occur when there was only one item in the playlist. * Changes in version 0.8.1 * Added the ability to drag and drop tracks from a directory's subdirectory. Two levels deep. Added support for wma tagging and playlist metadata. Improved transitioning of old playlist data from the 0.7 series. Allows addition of mp3 files to the playlist when using old versions of mutagen. * Changes in version 0.8.0 * Altered some variable names in configure.in to produce better error messages. Removed a namespace collision in embedded libshout. Documentation updated. MP3 playback can now be dithered. Option in the preferences. Default = on. Added Replay Gain functionality. Untagged tracks are now typically shown with the track number cleaned off (requires track number be on the left). Untagged tracks are now shown with black text and a No Tag message alongside in dark red. Code to restart the idjcsourceclient module when it crashes has been fixed. IDJC now runs in the default MALLOC_CHECK_ mode. Fixed a bug where idjcctrl could start an encoder with bad parameters and cause memory to be freed twice. Fixed a race condition during encoder shutdown. Fixed a file filter preselection bug in the 'Add music' file chooser dialog. Added a precautionary recursion limit to oggscan_eos. Fixed an Ogg parsing problem where failure to find a valid ogg page in the right hand side caused premature termination of the search. Fixed a problem seeking files that are in their last ten seconds of playback. Broken since 0.7.17. Fixed the metadata timing for mp3 recordings. A metadata segment of less than ten seconds could be skipped if it was at the end of a file. Broken since 0.7.17. Fixed the metadata timing for Ogg recordings. Broken since 0.7.17. Tracks with quiet endings are not ended early when a server disconnect is imminent or the playlist has nearly run its course. This is to assist server handovers. A cue file is saved for each mp3 recording. Amarok can make use of these. ./configure stops if the mutagen dependency is not fulfilled. Recording of mp3 is now possible when the server list is empty. Players are restarted when the current song playing gets retagged (IDJC tagger only). This is to prevent playback failure. Dependency list updated. Added support for multiple metadata tags. Added APEv2 tagging capability. Includes support for monkeys audio and musepack formats. * Changes in version 0.7.19 * Version bump because the Sourceforge file release system is being a pain. * Changes in version 0.7.18a * Workaround for a regression in mutagen-1.17. The mutagen.easyid3 module can't be pulled in without first pulling in mutagen.id3 or mutagen.mp3. * Changes in version 0.7.18 * Added support for m4b and m4p file extensions. Synonymous with mp4. New media metadata tagger added, based on mutagen. Dependency removed: libmp4v2 Dependency removed: eyeD3 Dependency added: mutagen. This covers the functionality of the removed dependencies. ID3 chapter tags lacking null terminators on the TIT2 frame are handled properly. Added some Mac portability fixes. The advance button now works in accordance with the fade setting. The partially working fade in simple mixer mode is now disabled. This is reflected in the fade selector which greys out. * Changes in version 0.7.17 * Fixed minor layout bug in the connection box. Removed the forced inclusion of mp4.h in mp4tag.c. MP4 tags API updated in mp4tag.c to prevent deprecation warnings. The DJ alarm now triggers off a deeper inspection of playlist controls. This permits correct operation of the alarm when fading to an announcement. The DJ alarm now sounds prior to announcements. Added playlist controls for fading between tracks. These override the fade speed of the player and can be used to fade announcements. Added a new fading-between-tracks in-the-same-playlist feature. Fixed a bug where the player could freeze at the end of a track after a progress bar seek that left the bar at the far right hand size. Jingles keyboard shortcuts now work when the announcement dialog is active. The shortcut to cancel the dialog (not in editing mode) is BACKSPACE since ESC is used to stop jingles. Added record_start and record_stop commands to idcjctrl. Prokyon 3 database parse optimisations. Approx 15% speedup. Conditional inclusion of jack_set_info_function function call. Fixes to catch exceptions when there are problems connecting to a song title database. * Changes in version 0.7.16 * The application icon and menu entry are now installed according to the ${prefix} value, so it is possible to install to ${HOME}/.local without being root. When the prokyon 3 database is being indexed (for the tree view) a progress bar is shown. Also the GUI is not frozen during this time as was the case previously. The password for the prokyon 3 database is now non visible. When using the prokyon 3 database upon loading IDJC the correct database is now used rather than the default values. Added Fkeys control of the jingles player. Escape key is used to stop. The scrolled window in the connection pane now has a specified size Fixed a segfault that would occur when the main window had focus and the F8 key was pressed. * Changes in version 0.7.15 * Uses avcodec_decode_audio3 for libavcodec audio decoding when available. Fixed bug in avcodecdecode.c, the samples buffer is now aligned on 64 bytes which ensures best performance and the ability to decode formats for which libavcodec uses sse instructions. Fixed bug in avcodecdecode.c where freed memory could continue to be used. Added some minor fixes supplied by Andrew Suffield. Removed the option to not keep passwords over application restarts. Given the extra mouseclicks now requried in order to enter the password and no visible cue to password absence, this feature has been dropped. Added a new connection feature to the server window. This allows for listener stats to be gathered from a list of relays as well as the master server. Aslo, stats collection can be turned off on a per server basis. Removed directory checks and conditional inclusion for ffmpeg header files to aid compilation on certain distibutions. Version 0.7.15_pre1 released as 0.7.14a. * Changes in version 0.7.14a * Server stats are now obtained in a threaded manner to prevent the possibility of lockup. Added a new admin password entry to the server window so that in instances where the Shoutcast server has an admin password applied the stats can still be obtained. Added and option to turn off stats retrieval on a per server basis. Stats are additionally now displayed on a per server basis in the server window. * Changes in version 0.7.14 * Added 'Alternate' playlist mode. Added listener stats retrieval. Stats are now displayed below the stream status indicator. Dynamic runtime linking supported for libmad. MP3 playback can no longer be completely disabled. Added prefs for how to handle faulty server connections. Dynamic runtime linking supported for libmp3lame. MP3 streaming can no longer be completely disabled. Added audio dumping facility to avcodecdecode.c for removing seek noise. Fixed a bug in avcodecdecode.c which was causing delayed stopping of ape tracks. Added support for mpc files. Added support for ape files. Added an external playlist mode. This allows for extremely large playlists without cluttering the playlist box. * Changes in version 0.7.13 * Fixed behaviour when network congestion is encountered. * Changes in version 0.7.12a * Fixed beeping sound that was being triggered by a gtk.Entry being filled beyond it's specified character limit, specifically when playing a track with the progress counter in countdown mode. Fixed multiple deprecation warnings for gtk.SpinButton caused by non zero page sizes in their respective gtk.Adjustment. * Changes in version 0.7.12 * Fixed a problem of idjcctrl being able to crash idjc through specifying a server tab number that does not exist. Fixed a problem with the FLAC encoder not properly registering a bitrate resulting in an inability to stream. The About pane now displays a list of contributors to IDJC. Added code to prevent the DJ alarm triggering twice. Playlist menu option Add To Jingles is now greyed out for playlist controls. Playlist controls are now processed much more quickly. Fixed a segfault in mp3dec.c. Older versions of JACK won't trigger this. Added a new announcement feature on the player context menu that provides a dialog box for text prompts. It's also useful as an alternative to the stop-player control. It provides more of a cue that the DJ needs to talk (if the DJ alarm wasn't enough) and opens the mic for the DJ. The keyboard shortcut is U for no particular reason. Comp meter updated to indicate noisegate and deess attenuation levels as distinct colours. Recordings can now be started when the connection type is set to Shoutcast and the format is set to ogg with flac or speex. Contains brand new microphone audio processing code contributed by Stefan Fendt. Spacebar now shortcuts for the microphone. Added new shortcuts V for VoIP and P for private VoIP. Keyboard focus capability has been stripped from all but the playlists which means that whenever the main window has focus that the keyboard shortcuts mechanism will be functional. The stream peak meter now red-lines at -2dB and the VU at -7 dB. Added a new option to cap the maximum stream audio level at -2dB. This may improve the encoding quality. When active this change is reflected in the Str Peak and Str VU meters by the drawing of a line. Tighter timings on the interlude player. Silence detection at the end of tracks is now more aggressive. Compensated for extended quiet intro songs by inhibiting silence detect on the first 15 seconds of any track. Now using the python subprocess module for launching the mixer and sourceclient sub-processes to clear a deprecation warning. Updated to work with the latest pygtk. When LANG environment variable is not set exception TypeError is now caught for Python 2.6 The CRC is now checked on mp3 files, also sync errors and the like are checked for and not played. This prevents things like the sample rate from being misread. Ogg/Vorbis can now be streamed at 8kbps. * Changes in version 0.7.11a * Added configure option --disable-static, which forces the use of shared libraries. Currently only libshout, which becomes a dependency when this option is specified. * Changes in version 0.7.11 * FLAC playback now requires version 1.1.3 or greater. Configure will now warn on missing LAME dependency. Added the capability to connect to a Prokyon3 database for the retrieval of detailed music collection metadata. Includes search/filter facility, drag and drop. Configure options for dependencies are now forced when explicitly specified so --enable-speex="yes" will result in ./configure exiting with an error message if that dependency cannot be met. The meter area now responds to a mouse right click by bringing up the application-wide context menu. Added new configure options to prevent building against FLAC and speex libraries. Added a stream status indicator to the main window. Fixed a bug that was preventing certain session data from being saved. Fixed a bug with regard to the requested initial state of the Monitor Mix Stream button which was causing a crash on program start. Libshout dependency eliminated, linked statically. Added shoutcast contact information IRC, AIM, ICQ. * Changes in version 0.7.10 * Reduced the size of the level meters and their text. Changed the level meters to use the DrawingArea widget. This gives a more authentic meter appearance with the different colours on the scale but more importantly reduces CPU load massively when using certain GTK themes. Labelled all the widgets in the crossfader bar. Updated the Stream Mon. button to something a little less obtuse. Added a new 'None' option to the Metadata Source chooser. Fixed the media formats list to not show mp4/m4a when IDJC built without ffmpeg support. Added new ./configure options to allow building without support for non-free formats: --disable-mad --disable-ffmpeg --disable-mp4 --disable-lame Removed unused JACK audio ports from the sourceclient. Added a DSP interface via JACK which includes a bypass control. * Changes in version 0.7.9 * New dialog boxes control reconnecting to a server when the connection fails. Reconnection attempts will be made as many as three times after sensible time delays with the user given the option to trigger the reconnection attempt early or to cancel altogether. Removed the faad2 dependency. AAC decoding to be done in future by ffmpeg instead. Tagging and metadata readout use libmp4v2. Dependency include files avcodec.h and avformat.h have been moved to different directories. The build system now accounts for this. Added a mid marker for the crossfader. Added a selector for choosing the crossfader response curve. Added new buttons for centering the crossfader. Included a patch for a metadata source selector. Improved the handling of poorly terminated Ogg streams. Regression fix: IDJC is now capable of running when the LANG environment variable isn't set. * Changes in version 0.7.8a * Fixed oggdec.c to prevent infinite looping when files are added which contain unterminated streams. Applied a patch which cleans up superfluous suggested tags in the ogg vorbis tagger when there is a case mismatch e.g. artist vs. ARTIST. * Changes in version 0.7.8 * Changed mp3 tab label text to upper case. Fixed the Speex decoder so it cleanly rejects files that don't have frames_per_packet set to 1 or above. Added a Speex encoder. * Changes in version 0.7.7 * Fixes to oggdec.c in the flac seek and tell callbacks. Fix to oggflacdec.c so that end of tracks are detected. Added an OggFlac encoder. Triangular dither is applied when using 16 and 20 bit. Fade in/out made consistent across all JACK sample rates for microphone headroom, mic and aux mute/unmute, player mute/unmute. Track fadeout now works consistently for all JACK sample rates. Increased media player watchdog timeout to 9 seconds to accomodate very large media files. An english label on the compressor now reads Release, formerly Decay. Decay was used previously due it being only five letters long. A number of compressor, noise gate, and normaliser control values have been changed to units expressed as times and time constants in milliseconds, formerly they were samples and fractions of movement per sample. The former scheme suffered from being dependent upon the JACK sample rate and also it did not follow the example of actual studio equipment. Ogg file metadata updates occur instantaneously when using the seek bar. Fixed oggscan_eos in oggdec.c so that all ogg/oga files should import correctly. Added the keyword 'managed' to the Ogg/vorbis encoder configuration line for when in managed bitrate mode. Added a new Ogg/vorbis streaming configurator. Upper and lower limits are now expressed as a percentage. Feature expansion is made possible for alternative types of Ogg stream by this new arrangement. Default text in the jack ports tab now reads system instead of alsa_pcm - this is compatible across different jack back ends but only for recent versions of jack. * Changes in version 0.7.6 * The Radio Server window is now by default larger in order not to obscure the encoding format controls. Removed the (mp3 only) text from the Shoutcast dropdown. When Shoutcast is unavailable due to non support of LAME mp3 encoding the Shoutcast dropdown item is set insensitive. Builds of IDJC that lack mp3 streaming support now display an mp3 tab with a message where the configuration controls would otherwise be. Support for Icecast version 1 servers has been dropped due to lack of support in recent versions of libshout. STREAMERS and RECORDERS environment variables now affect ./configure and can be used to set the number of streamers and recorders that will be available. The Add Files dialog now reports which media files are supported. Removed the EXTM3U option from prefs. The current policy is to write m3u metadata when saving playlists and to ignore it on readback. Extended m3u metadata is now Latin1 encoded. Cleanups to the playlist populating code. Added pls playlist support. Single lined m3u files can now pull in directories. Added xspf playlist support. Added the ability to build with pmake, which is widely used on BSD systems. Added file bsdcompat.c to include workalikes for GNU libc extensions with an aim to get IDJC working on BSD. Stability fixes to oggdec.c to permit malformed ogg files without locking up. Added support for the tagging of speex (.spx) files. Removed a line of code that was causing a visual glitch on the play progress bar at the end of a track. Added new command line options -m, -a, -t, -s. The man page has been updated to explain what they are for. Added a speex audio decoder. * Changes in version 0.7.5 * Saved Ogg streams now have the oga file extension which is the correct one to use for chained Ogg files. Added a FLAC decoder for OggFLAC audio files. Added a vorbis decoder replacing the libvorbisfile decoder that was present previously. Added support for the oga (Ogg audio) file extension which is the correct one to use for chained ogg audio files. Added a general purpose Ogg audio decoder which serves as a base for launching decoders for chained Ogg files (oga). All streams in the file can be of a distinct format and samplerate. It also handles obtaining metadata for the playlist. Fixed a regression introduced in 0.7.4 which prevented shoutcast connections from working due to a labelling change. * Changes in version 0.7.4 * Visual tweaks to Prefs->General. Server connnect button will not grey out while streaming Ogg when Shoutcast is later selected. Ogg stream serial numbers are now set to an initial random value. Ogg streams are now guaranteed to contain at least five ogg page outputs per second. This will prevent listener clients from presuming the stream has gone dead and disconnecting. This means that to stream it is no longer necessary to set a minimum bitrate. The record button is now greyed out when the recording directory is not writable due to file permissions etc. Ogg recordings now have a meta-header. It is now possible to run multiple instances of IDJC. JACK server connection is achieved with jack_client_open instead of the deprecated jack_client_new function. Minor tweaks to tooltips. Connection type chooser now indicates mp3 only for Shoutcast. Changes to the Update, Server Connect, and Record tool tip texts to indicate why one of these buttons might be greyed out. Record button no longer greyed out when the server connect button is greyed on account of Ogg + Shoutcast widget combination. File choosers replaced with their more modern versions. Updated the realtime.html documentation page. Changed the way command line parameters are handled. Added a new option for specifying which jack server to connect to. Added code to clean up double bolding occurrences in the playlist. Updated the idjc man page. New translation en_US. New module ln_text.py to facilitate multi language support, replaces langheader.py, includes maintenance features. * Changes in version 0.7.3 * Documentation on the website and in the doc folder has been updated. Option --disable-tooltips has been added to ./configure A window showing the GPL licence text is now included as part of the program. Removed usage hint text from the gtk.Entry in the Prefs->Event tab. The tooltip should be sufficient. The server connect/disconnect timers deactivate once they have performed their task. They now have a default text of 00:00. The Ogg relative upper and lower bitrate spinbuttons are greyed out when deactivated. Fixed a bug where mp3 files with a LAME gapless tag would not play if their sample rate differed from that of the the JACK sound server. Added a great many tooltips. Support for new GTK tooltips API. Tooltips require PyGTK version 2.12 or later. Bits and bobs in Prefs->General has been retitled 'Miscellaneous Features' and the various options now have descriptive labels. Dead code has been removed. The space where the indicator box used to be is properly removed in Basic Streamer mode. Reduced the microphone latency to the headphones when in VOIP mode. Direct mixing rather than a jack audio bridge. Added the option to turn off microphone audio in the DJ headphones. This is a facility for those suffering with high audio latency. Added support for upper and mixed case file extensions. Example: Mp3, oGg, FlAc are accepted into the playlist. * Changes in version 0.7.2a * Fix to a regression in file kvpparse.c (memory leak). Deactivated the pointless watchdog code in idjcsourceclient. * Changes in version 0.7.2 * Added gapless mp3 playback. IDJC now runs with environment variable MALLOC_CHECK_ set to 2. This prevents IDJC from crashing when minor heap corruption occurs. Fixed uninitialised variables bug in the mixer (metadata packet type). Fixed uninitialised variables bug in the mixer (fade index). Removed obsolete code from the Ogg/vobis encoder. * Changes in version 0.7.1a * The pop-up window now has a border. DJ aud level now works in 'Basic Streamer' mode. Cosmetic change to stream normalizer in prefs. Fix for the opening vu meters causing a crash bug. Build system fix for Ubuntu 7.10 regarding problems detecting libmp3lame. Removed the obsolete LED indicators from the main window. * Changes in version 0.7.1 * The idjcctrl program now has connect and disconnect commands to allow server connection/disconnection from the command line. Added global exception handling to vu_update to ensure thread unlocking occurs. Added a fallback mode for decoding m4a files using ffmpeg. FAAD2 versions 2.5 and up are not supported directly by IDJC. Added handling for corrupt m4a files in mp4decode.c. The update button causes server reconnection when streaming to shoutcast which ensures that shoutcast servers know the correct bit rate. Bitrate, samplerate, and number of channels info is now set before the connection is made which should resolve some shoutcast issues. * Changes in version 0.7.0c * Fixed regression in the X-Chat announcer which would cause the application to lock up if used. * Changes in version 0.7.0b * Fixed a regression in the playlist controls 'Stop streaming' and 'Stop recording' which was causing a lock-up to occur. * Changes in version 0.7.0a * Updated ebuild. Reinstated the MP3meta=utf-8 option. Added a DJ audio output level control in the preferences. Removed idjcskype and its man page which are obsolete and replaced it with new documentation in the VOIP tutorial. Skype is confirmed working within IDJC. * Changes in version 0.7.0 * Implemented a new, more powerful streaming architecture with multiple streams possible, greater control over quality settings, ability to change the bitrate live on air, and the ability to stream from a prerecorded file with the metadata preserved. Removed the MP3=utf8 option. This option is now always turned on meaning that mp3 metadata is always encoded as utf-8. In the mixer altered the way microphone signals are processed when the microphone buttons are muted. This greatly reduces the amount of CPU used since half of all CPU usage by the mixer was going into processing the microphone signal. New license: GNU General Public Licence version *3*. * Changes in version 0.6.12a * Streaming can now be started automatically by timer. * Changes in version 0.6.12 * FLAC tags are now read regardless of case. Added a decoder for wma files (requires libavcodec and libavformat from ffmpeg). Underscores are now allowed in profiles. Added a 'Switch To Aux' playlist control to allow the streaming of some defualt audio source via the aux input once the playlist has run its course. Fixed end of track detection for right player when left player was playing. Fixed metadata reading bug for flac files where lower case tags were not being read. MP3 encodes with greater precision. No longer limited to 16 bits audio input. Added new executable named idjcctrl to provide a feature that allows a remote application to append files to the playlist. m3u and pls files are allowed. Added a control for player resampling quality. Code cleanup in xlplayer. All decoders moved to own modules. Ogg decodes to float instead of 16 bit integer. Added mp3 playback using libmad - optional. Added m4a playback support with faad2 - optional. Support for FLAC-1.1.3 and beyond has been added - FLAC is now optional. Fixed a couple of traceback/race conditions in mixprefs.py. The playlist popup window now correctly reports which file is playing when there are untagged files in the playlist. Improved handling of missing LAME mp3 encoder by adding a dialog informing the user if they need to install LAME. Removed the xine-lib dependancy. Timeout will no longer take JACK down with it. * Changes in version 0.6.11 * Added a tooltip style popup window to the playlists that shows a summary of the playlist contents and indicates the track which is playing (if any). EyeD3 is now optional. This means that idjc packages can be made regardless of whether an eyeD3 package is available for that particular distro. Tagging functionality is disabled when eyeD3 is not present and id3 tag reading is performed instead by xine-lib. Fixed a bug where xine would be used to read ID3 tags regardless of whether eyeD3 had already done so. This was causing problems with certain files that had id3 version 1 tags and contained accented characters. This bug has also been fixed. Any failure to decode from utf-8 on the tag info xine-lib provides will result in their being decoded from latin1 instead. Code cleanup in the limiter. * Changes in version 0.6.10 * Added a bug workaround so that a seek to the last second of audio of a track when using the xine-lib decoder will not occur. This was added to prevent a mixer crash. Added an event driven commands feature in the Prefs, mainly for controlling the mixer. Included tooltips. Changed copyright message to read 2005-2007 Added a popup menu to the prefs, server, jingles, window open buttons that contains a close option. The locale in the mixer and server modules is now forced to 'C' to ensure proper operation of sscanf when faced with floating point numbers. Added a playlist control for normalising the playback speed. The hotkey for this is N. Added an option to disable this to save CPU cycles and screen space. Added playback speed control for main media players. Block size, time remaining, and finish times are appropriately affected. * Changes in version 0.6.9 * A new context menu puts controls for turning on/off of the various meters into the main window plus gives the ability to quit the application when running from TWM (terminal window manager) which does not display an application close button. Cellrenderer code is now prevented from running during shutdown. Function write_channel_data will no longer attempt a write when num_samples==0 this is to prevent the possibilitity of dereferencing a null pointer. Function demux_channel_data will no longer generate a spurious error message and exit when num_samples==0, this done for compatibility with new libsndfile related code. Added libsndfile based media file decoder for wav files. New dependancy libsndfile. Replaced deprecated gtk.threads_enter/leave instances. A xine config file is now generated automatically by idjc in the ~/.idjc directory. This prevents the loading of the unused audio and video drivers as well as preventing the probing of the most efficient memcpy method. The result is a faster startup time. The mmx memcpy method more than meets the needs of the application. On some machines the probe was causing failure. Function xlplayer_create no longer returns before the player is fully initialised. The mixer module initialisation is now waited upon directly, after launch by the parent. * Changes in version 0.6.8 * Added profile support. To use it launch idjc as follows: idjc profilename. This causes a dialog box to appear asking if you want to create a new profile. A further dialog box allows you to import settings from a different profile. The main window title-bar indicates which profile is in use whenever you are not using default. If you don't specify a profile the default behaviour is to ask you which profile you want to use. Fixed a crash that would occur when attempting to play from an empty playlist. Added an option for MP3 metadata to be in UTF-8 encoding instead of the ISO8859-1(latin1). Updated the X-chat plugin to show a helpful error message within X-chat whenever an announcement message is dropped due to not matching the specified nick in any of the specified channels. * Changes in version 0.6.7b * Fixed the pause feature. It was causing the track silence timeout to trigger. Track silence timeout increased from 5 to 9 seconds and the silence threshold has been raised a bit. * Changes in version 0.6.7a * Improvements to the compressor de-ess mechanism. Bugfix to compressor: de-ess was being fed an uninitialised value. Accuracy improvements to the db lookup/conversion tables. Improvements to the soft knee compression curve in the compressor. Values checked with gnuplot. * Changes in version 0.6.7 * Changed the method used to implement the xlplayer watchdog. Added an RMS filter to the microphone compressor. Greatly improved the handling of launches of duplicate IDJC instances (the taskbar will flash for the currently running instance and the second instance will exit with a console error message). Improvements to the makefiles. Fixed the three-mixer-crashes-and-it's-out code. IDJC will shut down cleanly and will even save the session for later restoration. Added a desktop menu item for gnome and kde. Major facelift for the idjc homepage which doubles as the documentation in the doc directory. Updated the IDJC man page and added a new man page for idjcskype. * Changes in version 0.6.6 * Added a high quality mp3 streaming control to the server window. This uses more CPU but the results are much better. Also added a 24kb/s streaming mode for modem listeners. Added a timeout to the media decoders so that the mixer will be restarted in the event of a lock-up resultant of a bad media file. Fixed a bug where when streaming ogg with an insufficently tagged file the file metadata would contain html tags. Fixed a bug in the Ogg/vorbis decoder where errors in an ogg file could go unhandled resulting in a mixer crash. * Changes in version 0.6.5 * Option to save and restore the server password added to the preferences. The mixer module is now automatically restarted upon a crash. This means the application will hopefully not freeze. The main media players are bumped onto the next track so that if a corrupted track had caused the crash it will be skipped. This feature also works when jackd is closed via killall. Application now starts more quickly because the xine config file is used. This has a downside in that a corrupted config file can cause xine to segfault. Added optional support for reading file info directly from mp4/m4a files and for tagging. This feature is dependant on libmp4ff and its header file mp4ff.h being present. Optimisations for playlist stats reduce cpu load, also made it so meters only get updated when the new data differs. Regression fix to the playlist controls. * Changes in version 0.6.4a * Audio processing is suppressed during FLAC seeking to prevent spurious audio output. Made the stream and listen buttons mute/unmute gradually. * Changes in version 0.6.4 * The metadata tagger window can now be resized. Added gapless playback (perfect for concept albums that typically lack silences between tracks). Also the player skips to the next track after 5 seconds of silence. This is to counter the obvious downside of having files that contain bonus tracks in your collection. When adding controls to the playlist when a track is playing, the playing track is not now reselected afterwards. Added a dither option mostly for people with 24 bit capable soundcards. When the jingles sequence box is shaded it no longer collects values via doubleclick. Implemented a whole new player architecture, dispensing with mplayer and using a simple audio decoding engine within the mixer module itself. Benefits include quicker player startup/shutdown times and reduced system load when doing so, the ability to add new features in the future, much faster seek times. Some file formats that worked previously may no longer play, however or may play but not be seekable. If xine can play it so can idjc. That means avi files can now be played (audio only). Implemented alongside the xine decoder a FLAC and Ogg/vorbis decoder so that those formats are seekable. * Changes in version 0.6.3 * Additional German translation. Removed the artificial size restrictions on text strings in the server window. Fixed a crash that occurred when disconnecting from the server. Fixed a problem with the shutdown code where a segfault could sometimes occur. Added session restoration. On by default, but can be switched off in the prefs. Added the ability to transfer focus from one playlist to another using the left and right arrow keys. You can now move files across using shifted left and right arrow. Also the delete key removes files, and in addition to the space key which plays files, the backspace key causes play to stop. M opens the microphone and < and > open left and right mic in split-mic mode. Keys 1 and 2 cause the crossfader to move to the respective player. The c key passes the crossfader. The t key activates the metadata [t]agger. S inserts a [s]top control. A inserts a transfer [a]cross control. F inserts a [f]ade across control. File requester directory is remembered across application restarts. * Changes in version 0.6.2b * Fixed an off-by-one error that resulted in heap corruption and crashes when adding Ogg files to the playlist. * Changes in version 0.6.2a * Fixed a freezeup bug triggered when loading an extm3u playlist in extm3u mode. * Changes in version 0.6.2 * Added a zero cross switch to the pause feature of the recording facility to prevent audible clicks (this makes the automatic pause feature fully usable). Changed the digital filters to use variable type double instead of float because of blowup problems. Changed the ceiling label in Stream Normalizer to read threshold. Fixed a misconfiguration bug in the stream normalizer that resulted in audible clicks on the stream audio when the digital zero threshold was breached and the app had been started with the stream normalizer turned off. * Changes in version 0.6.1b * Partial code rewrite for Ogg metadata. This may fix a bug that results in an infinite loop when a corrupted or non 100% compliant Ogg file is encountered. * Changes in version 0.6.1a * Fixed the parsing of track lengths in Ogg files. Parsing is also much faster now. * Changes in version 0.6.1 * Added lead-in stripping. Songs with quiet endings are also cut short when fadeout is on. Added an information display for playlist blocks showing the time the block will finish, remaining time, size of any additional selections. Now uses the python path from AM_PATH_PYTHON in the launch script. This is preferable when there are multiple installs of python on your system so the correct one is run. Added volume normalization to the stream audio. Added a track length column to the playlists. Added a history log file. This file catalogues the song changes and server connections. It is saved to ~/.idjc/history.log. Added automatic module restarting for the server module (idjcserver). If idjc was streaming at the time the server module failed, the connection will be automatically remade. Without this feature idjc would freeze up. Fixed a regression for when adding playlists with the file requester. * Changes in version 0.6.0 * Enforced minimum library versions in ./configure. The page size for the range widgets is now set to zero which helps with rendering of the range widgets when using the QT rendering engine. Added a fix for when the digital progress box is not big enough for its text. An option in the prefs. Fixed idjcserver.c so that it no longer segfaults when libshout is not present. Added inclusion of string.h to dsp.c and pipereader.c Added the ability to tag files live on air. The effects propagate properly. Added ability to stream Ogg metadata. The streaming encoding method is now remembered across application restarts. Increased the number of different streaming bitrates available. * Changes in version 0.5.9a * Fixed a bug where the music would loop if a loop option was specified in ~/.mplayer/config Fixed a bug in the jingles player where the Sequence box would become unusable after playing jingles. The sequence box now has focus when the jingles window is opened. * Changes in version 0.5.9 * The automatic crossfade speed adjustment can now be set as high as eight seconds. The currently playing track can now be dragged in its playlist without the track stopping. Added playlist control elements that are accessible from the playlist pop-up menu for doing such things as automatic crossfades, stopping the player, or even stopping streaming after a certain track is played. This feature is supported in Play All mode only. Crossfader pass-speed is now remembered. Fixes to locale code. The recorder can now pause automatically when there is silence in the audio. Will now install png files for the graphics which significantly reduces the installed size. Xpm graphics will remain available. Added dialog windows for when the connection to the radio server has been disconnected. Added LED-style indicators in the main window for streaming and recording. Added a shutdown confirmation dialog box that appears when you hit the application quit button and you are streaming or recording at the time. Player settings at startup now include the Tracks Played window state and the Stream Mon button. Drag and drop with Nautilus is now working. Konqueror drag and drop now supports the # and % characters. Added window resizing to the main and jingles window to reduce the need for scrolling in the playlist windows. Window sizes are preserved across application re-starts. The IDJC entry in the documentation directory now includes the package version number as well as the package name. The documentation files themselves are now g-zipped. The documention directory is now /prefix/share/doc rather than the non FHS compliant /prefix/doc directory. * Changes in version 0.5.8 * The locale is no longer set to en_US whenever no locale setting is present. Fixed a bug that would cause an application lock-up related to code added in version 0.5.7 for sending metadata upon connection--the newmeta flag is now cleared automatically. The bug manifested itself whenever a failed login to the radio server occurred upon a repeat connection attempt. Added code that calls shout_set_audio_info to declare the bitrate, sample rate, and number of channels. This should help users of certain clients who may be having problems tuning in. Added EXTM3U option to prefs. This allows the turning off of extended m3u processing for when you add playlists. It also prevents the saving of extm3u data (when deactivated) when you save a playlist. A sensible filename will automatically be chosen when none is specified when saving playlists. A default filename is also provided. The application will now work when /dev/shm is present but not world writable which sometimes happens. Should that be the case pipes will be created in the users home directory instead. The file chooser dialog now supports multiple file selections. The file chooser dialog now works properly with G_FILENAME_ENCODING set to @locale with files with international characters in the filename. Listen and Stream buttons are now respected in Basic Streamer mode. Fixed a bug where IDJC could hang when Send Metadata was unselected. Added a 192kbps Streaming mode for mp3. * Changes in version 0.5.7 * The song title metadata is now automatically set upon connection with the server. No longer allocates buffers for every frame of data. The old ones are reused if they are big enough. Added a track history so the DJ no longer needs to remember what tracks he played. Altered vu_update so it can be used in two modes rather than maintaining two almost identical functions. Calling it with False as the parameter will prevent thread locking from being used. I also moved the thread locking to the outermost scope of this function to prevent the two forms of the function from possibly running concurrently and causing a lock with the server module. Removed unused variables in the mixer. Tidied up variable declarations and added comments. Moved global variables to local ones wherever possible. Changed one or two variable types in relation to the DJ Alarm mechanism for consistency. Altered the way the pipe_reader structures are handled--they are now allocated on the heap. mIRC style colour entry can be done by pressing Ctrl+k which inserts a character-code-3 into the message entry boxes of the X-Chat announcement feature at the cursor. The user needs to follow it up with a numerical foreground colour number and an optional comma separated background colour number. A Ctrl+k not preceding a number will cause colours to revert to default (colours turned off). A submenu has been added so that it is now possible to select colours in the X-Chat (announce and timer) message boxes, by right clicking for a pop-up menu, and browsing the "mIRC Colour Chart" submenu. The first click chooses the foreground, and the second click, the background, which is slightly different to how X-Chat does it. Colour 99 is for transparent background. Modified a couple of german labels to prevent distortion of the GUI. Added code for a clean exit when receiving a ^C in the console. New labels for most of the widgets in german. Credit in the AUTHORS file. Added infrastructure for multiple language support. The intention is to initially support english, german, and french. JACK error messages generated when starting JACK automatically no longer cause IDJC to fail. Some of these messages are merely informational so they can all be ignored. They are now prefixed JACK instead of IDJC and are only treated as information when the client activation fails. Now plays mono wav files propery with MPlayer CVS version. The pipereader code has been rearranged so that it is now as integrated into its own code module as is practicable. Added a precautionary mutex on the flushing mechanism. * Changes in version 0.5.6a * Bugfix: repaired the track seeking ability of the media players. * Changes in version 0.5.6 * Added a pause button to the stream recorder. Ripped out all the reusable code from the mixer and put it in separate source files. Improved microphone icon. Before it was perfectly horizontal which looked a bit odd. The shaft colour is now bronze from the slightly greenish anodised look of before. Added a man page for IDJC. It covers advice on configuring JACK. Modified the parse routines in idjcmixer and idjcserver to use code in a new common source file kvpdict.c that ensures that no buffer can be overfilled. A new buffer is allocated every time that new data is received (made perfectly to measure) rather than using fixed size buffers as was done previously. Thanks to the GNU autotools libshout is now optional, but recommended of course. The server window streaming related widgets will appear ghosted if you install IDJC without libshout. Added GNU autotools build system. ./configure and all that. Added a feature where the mic button is automatically turned on when in greenphone mode. The mic was always on in greenphone mode before but the display did not always reflect this. The microphone stays on after greenphone mode is cancelled. The listen buttons go into indeterminate state now and become insensitive when in redphone mode with the microphone off. Before the listen buttons would just go insensitive and when made sensitive later on they got stuck in pre-light mode until moused over (stupid GTK+ glitch, I suspect). Added a control string and an update button for metadata. You can now update the metadata manually with a button click. Added a bandpass filter for the noisegate. This makes the noisegate much less sensitive to low frequency air effects and mains hum, and shuts off sooner due to high frequency room reverberations also being filtered out. Subtle graphical tweak to the phone icons to look a little less flat by adding some shading. Optimised the mic and aux fade in/out code to prevent the gain factors from getting too small (it overloads the fpu). Optimised the compressor and noisegate by doing the above and by eliminating casting and reducing division. CPU usage on the mixer is now in the 3-4% range when optimised. Before it would start at this point and rise to around 6-7% (on my machine at least). Volume and Aux now fade in/out when the mute/unmute buttons are pressed. Red button on the jingles player now causes the interlude player volume to be automuted. MPlayer is no longer started with -cache option for FLAC and Ogg files due to the extended startup times involved. Code tidy-up in the mixer. Most notably in the buffer flushing code. Added some comments. The track played by the interlude player is now highlighted. The sequence box is now ghosted when the jingles player is playing. idjc-0.8.9/ABOUT-NLS0000644000175000017500000026713311630251123010617 000000000000001 Notes on the Free Translation Project *************************************** Free software is going international! The Free Translation Project is a way to get maintainers of free software, translators, and users all together, so that free software will gradually become able to speak many languages. A few packages already provide translations for their messages. If you found this `ABOUT-NLS' file inside a distribution, you may assume that the distributed package does use GNU `gettext' internally, itself available at your nearest GNU archive site. But you do _not_ need to install GNU `gettext' prior to configuring, installing or using this package with messages translated. Installers will find here some useful hints. These notes also explain how users should proceed for getting the programs to use the available translations. They tell how people wanting to contribute and work on translations can contact the appropriate team. 1.1 INSTALL Matters =================== Some packages are "localizable" when properly installed; the programs they contain can be made to speak your own native language. Most such packages use GNU `gettext'. Other packages have their own ways to internationalization, predating GNU `gettext'. By default, this package will be installed to allow translation of messages. It will automatically detect whether the system already provides the GNU `gettext' functions. Installers may use special options at configuration time for changing the default behaviour. The command: ./configure --disable-nls will _totally_ disable translation of messages. When you already have GNU `gettext' installed on your system and run configure without an option for your new package, `configure' will probably detect the previously built and installed `libintl' library and will decide to use it. If not, you may have to to use the `--with-libintl-prefix' option to tell `configure' where to look for it. Internationalized packages usually have many `po/LL.po' files, where LL gives an ISO 639 two-letter code identifying the language. Unless translations have been forbidden at `configure' time by using the `--disable-nls' switch, all available translations are installed together with the package. However, the environment variable `LINGUAS' may be set, prior to configuration, to limit the installed set. `LINGUAS' should then contain a space separated list of two-letter codes, stating which languages are allowed. 1.2 Using This Package ====================== As a user, if your language has been installed for this package, you only have to set the `LANG' environment variable to the appropriate `LL_CC' combination. If you happen to have the `LC_ALL' or some other `LC_xxx' environment variables set, you should unset them before setting `LANG', otherwise the setting of `LANG' will not have the desired effect. Here `LL' is an ISO 639 two-letter language code, and `CC' is an ISO 3166 two-letter country code. For example, let's suppose that you speak German and live in Germany. At the shell prompt, merely execute `setenv LANG de_DE' (in `csh'), `export LANG; LANG=de_DE' (in `sh') or `export LANG=de_DE' (in `bash'). This can be done from your `.login' or `.profile' file, once and for all. You might think that the country code specification is redundant. But in fact, some languages have dialects in different countries. For example, `de_AT' is used for Austria, and `pt_BR' for Brazil. The country code serves to distinguish the dialects. The locale naming convention of `LL_CC', with `LL' denoting the language and `CC' denoting the country, is the one use on systems based on GNU libc. On other systems, some variations of this scheme are used, such as `LL' or `LL_CC.ENCODING'. You can get the list of locales supported by your system for your language by running the command `locale -a | grep '^LL''. Not all programs have translations for all languages. By default, an English message is shown in place of a nonexistent translation. If you understand other languages, you can set up a priority list of languages. This is done through a different environment variable, called `LANGUAGE'. GNU `gettext' gives preference to `LANGUAGE' over `LANG' for the purpose of message handling, but you still need to have `LANG' set to the primary language; this is required by other parts of the system libraries. For example, some Swedish users who would rather read translations in German than English for when Swedish is not available, set `LANGUAGE' to `sv:de' while leaving `LANG' to `sv_SE'. Special advice for Norwegian users: The language code for Norwegian bokma*l changed from `no' to `nb' recently (in 2003). During the transition period, while some message catalogs for this language are installed under `nb' and some older ones under `no', it's recommended for Norwegian users to set `LANGUAGE' to `nb:no' so that both newer and older translations are used. In the `LANGUAGE' environment variable, but not in the `LANG' environment variable, `LL_CC' combinations can be abbreviated as `LL' to denote the language's main dialect. For example, `de' is equivalent to `de_DE' (German as spoken in Germany), and `pt' to `pt_PT' (Portuguese as spoken in Portugal) in this context. 1.3 Translating Teams ===================== For the Free Translation Project to be a success, we need interested people who like their own language and write it well, and who are also able to synergize with other translators speaking the same language. Each translation team has its own mailing list. The up-to-date list of teams can be found at the Free Translation Project's homepage, `http://translationproject.org/', in the "Teams" area. If you'd like to volunteer to _work_ at translating messages, you should become a member of the translating team for your own language. The subscribing address is _not_ the same as the list itself, it has `-request' appended. For example, speakers of Swedish can send a message to `sv-request@li.org', having this message body: subscribe Keep in mind that team members are expected to participate _actively_ in translations, or at solving translational difficulties, rather than merely lurking around. If your team does not exist yet and you want to start one, or if you are unsure about what to do or how to get started, please write to `coordinator@translationproject.org' to reach the coordinator for all translator teams. The English team is special. It works at improving and uniformizing the terminology in use. Proven linguistic skills are praised more than programming skills, here. 1.4 Available Packages ====================== Languages are not equally supported in all packages. The following matrix shows the current state of internationalization, as of June 2010. The matrix shows, in regard of each package, for which languages PO files have been submitted to translation coordination, with a translation percentage of at least 50%. Ready PO files af am an ar as ast az be be@latin bg bn_IN bs ca +--------------------------------------------------+ a2ps | [] [] | aegis | | ant-phone | | anubis | | aspell | [] [] | bash | | bfd | | bibshelf | [] | binutils | | bison | | bison-runtime | [] | bluez-pin | [] [] | bombono-dvd | | buzztard | | cflow | | clisp | | coreutils | [] [] | cpio | | cppi | | cpplib | [] | cryptsetup | | dfarc | | dialog | [] [] | dico | | diffutils | [] | dink | | doodle | | e2fsprogs | [] | enscript | [] | exif | | fetchmail | [] | findutils | [] | flex | [] | freedink | | gas | | gawk | [] [] | gcal | [] | gcc | | gettext-examples | [] [] [] [] | gettext-runtime | [] [] | gettext-tools | [] [] | gip | [] | gjay | | gliv | [] | glunarclock | [] [] | gnubiff | | gnucash | [] | gnuedu | | gnulib | | gnunet | | gnunet-gtk | | gnutls | | gold | | gpe-aerial | | gpe-beam | | gpe-bluetooth | | gpe-calendar | | gpe-clock | [] | gpe-conf | | gpe-contacts | | gpe-edit | | gpe-filemanager | | gpe-go | | gpe-login | | gpe-ownerinfo | [] | gpe-package | | gpe-sketchbook | | gpe-su | [] | gpe-taskmanager | [] | gpe-timesheet | [] | gpe-today | [] | gpe-todo | | gphoto2 | | gprof | [] | gpsdrive | | gramadoir | | grep | | grub | [] [] | gsasl | | gss | | gst-plugins-bad | [] | gst-plugins-base | [] | gst-plugins-good | [] | gst-plugins-ugly | [] | gstreamer | [] [] [] | gtick | | gtkam | [] | gtkorphan | [] | gtkspell | [] [] [] | gutenprint | | hello | [] | help2man | | hylafax | | idutils | | indent | [] [] | iso_15924 | | iso_3166 | [] [] [] [] [] [] [] | iso_3166_2 | | iso_4217 | | iso_639 | [] [] [] [] | iso_639_3 | | jwhois | | kbd | | keytouch | [] | keytouch-editor | | keytouch-keyboa... | [] | klavaro | [] | latrine | | ld | [] | leafpad | [] [] | libc | [] [] | libexif | () | libextractor | | libgnutls | | libgpewidget | | libgpg-error | | libgphoto2 | | libgphoto2_port | | libgsasl | | libiconv | [] | libidn | | lifelines | | liferea | [] [] | lilypond | | linkdr | [] | lordsawar | | lprng | | lynx | [] | m4 | | mailfromd | | mailutils | | make | | man-db | | man-db-manpages | | minicom | | mkisofs | | myserver | | nano | [] [] | opcodes | | parted | | pies | | popt | | psmisc | | pspp | [] | pwdutils | | radius | [] | recode | [] [] | rosegarden | | rpm | | rush | | sarg | | screem | | scrollkeeper | [] [] [] | sed | [] [] | sharutils | [] [] | shishi | | skencil | | solfege | | solfege-manual | | soundtracker | | sp | | sysstat | | tar | [] | texinfo | | tin | | unicode-han-tra... | | unicode-transla... | | util-linux-ng | [] | vice | | vmm | | vorbis-tools | | wastesedge | | wdiff | | wget | [] [] | wyslij-po | | xchat | [] [] [] [] | xdg-user-dirs | [] [] [] [] [] [] [] [] [] | xkeyboard-config | [] [] | +--------------------------------------------------+ af am an ar as ast az be be@latin bg bn_IN bs ca 6 0 1 2 3 19 1 10 3 28 3 1 38 crh cs da de el en en_GB en_ZA eo es et eu fa +-------------------------------------------------+ a2ps | [] [] [] [] [] [] [] | aegis | [] [] [] | ant-phone | [] () | anubis | [] [] | aspell | [] [] [] [] [] | bash | [] [] [] | bfd | [] | bibshelf | [] [] [] | binutils | [] | bison | [] [] | bison-runtime | [] [] [] [] | bluez-pin | [] [] [] [] [] [] | bombono-dvd | [] | buzztard | [] [] [] | cflow | [] [] | clisp | [] [] [] [] | coreutils | [] [] [] [] | cpio | | cppi | | cpplib | [] [] [] | cryptsetup | [] | dfarc | [] [] [] | dialog | [] [] [] [] [] | dico | | diffutils | [] [] [] [] [] [] | dink | [] [] [] | doodle | [] | e2fsprogs | [] [] [] | enscript | [] [] [] | exif | () [] [] | fetchmail | [] [] () [] [] [] | findutils | [] [] [] | flex | [] [] | freedink | [] [] [] | gas | [] | gawk | [] [] [] | gcal | [] | gcc | [] [] | gettext-examples | [] [] [] [] | gettext-runtime | [] [] [] [] | gettext-tools | [] [] [] | gip | [] [] [] [] | gjay | [] | gliv | [] [] [] | glunarclock | [] [] | gnubiff | () | gnucash | [] () () () () | gnuedu | [] [] | gnulib | [] [] | gnunet | | gnunet-gtk | [] | gnutls | [] [] | gold | [] | gpe-aerial | [] [] [] [] | gpe-beam | [] [] [] [] | gpe-bluetooth | [] [] | gpe-calendar | [] | gpe-clock | [] [] [] [] | gpe-conf | [] [] [] | gpe-contacts | [] [] [] | gpe-edit | [] [] | gpe-filemanager | [] [] [] | gpe-go | [] [] [] [] | gpe-login | [] [] | gpe-ownerinfo | [] [] [] [] | gpe-package | [] [] [] | gpe-sketchbook | [] [] [] [] | gpe-su | [] [] [] [] | gpe-taskmanager | [] [] [] [] | gpe-timesheet | [] [] [] [] | gpe-today | [] [] [] [] | gpe-todo | [] [] [] | gphoto2 | [] [] () [] [] [] | gprof | [] [] [] | gpsdrive | [] [] [] | gramadoir | [] [] [] | grep | [] | grub | [] [] | gsasl | [] | gss | | gst-plugins-bad | [] [] [] [] [] | gst-plugins-base | [] [] [] [] [] | gst-plugins-good | [] [] [] [] [] [] | gst-plugins-ugly | [] [] [] [] [] [] | gstreamer | [] [] [] [] [] | gtick | [] () [] | gtkam | [] [] () [] [] | gtkorphan | [] [] [] [] | gtkspell | [] [] [] [] [] [] [] | gutenprint | [] [] [] | hello | [] [] [] [] | help2man | [] | hylafax | [] [] | idutils | [] [] | indent | [] [] [] [] [] [] [] | iso_15924 | [] () [] [] | iso_3166 | [] [] [] [] () [] [] [] () | iso_3166_2 | () | iso_4217 | [] [] [] () [] [] | iso_639 | [] [] [] [] () [] [] | iso_639_3 | [] | jwhois | [] | kbd | [] [] [] [] [] | keytouch | [] [] | keytouch-editor | [] [] | keytouch-keyboa... | [] | klavaro | [] [] [] [] | latrine | [] () | ld | [] [] | leafpad | [] [] [] [] [] [] | libc | [] [] [] [] | libexif | [] [] () | libextractor | | libgnutls | [] | libgpewidget | [] [] | libgpg-error | [] [] | libgphoto2 | [] () | libgphoto2_port | [] () [] | libgsasl | | libiconv | [] [] [] [] [] | libidn | [] [] [] | lifelines | [] () | liferea | [] [] [] [] [] | lilypond | [] [] [] | linkdr | [] [] [] | lordsawar | [] | lprng | | lynx | [] [] [] [] | m4 | [] [] [] [] | mailfromd | | mailutils | [] | make | [] [] [] | man-db | | man-db-manpages | | minicom | [] [] [] [] | mkisofs | | myserver | | nano | [] [] [] | opcodes | [] [] | parted | [] [] | pies | | popt | [] [] [] [] [] | psmisc | [] [] [] | pspp | [] | pwdutils | [] | radius | [] | recode | [] [] [] [] [] [] | rosegarden | () () () | rpm | [] [] [] | rush | | sarg | | screem | | scrollkeeper | [] [] [] [] [] | sed | [] [] [] [] [] [] | sharutils | [] [] [] [] | shishi | | skencil | [] () [] | solfege | [] [] [] | solfege-manual | [] [] | soundtracker | [] [] [] | sp | [] | sysstat | [] [] [] | tar | [] [] [] [] | texinfo | [] [] [] | tin | [] [] | unicode-han-tra... | | unicode-transla... | | util-linux-ng | [] [] [] [] | vice | () () | vmm | [] | vorbis-tools | [] [] | wastesedge | [] | wdiff | [] [] | wget | [] [] [] | wyslij-po | | xchat | [] [] [] [] [] | xdg-user-dirs | [] [] [] [] [] [] [] [] [] | xkeyboard-config | [] [] [] [] [] [] | +-------------------------------------------------+ crh cs da de el en en_GB en_ZA eo es et eu fa 5 64 105 117 18 1 8 0 28 89 18 19 0 fi fr ga gl gu he hi hr hu hy id is it ja ka kn +----------------------------------------------------+ a2ps | [] [] [] [] | aegis | [] [] | ant-phone | [] [] | anubis | [] [] [] [] | aspell | [] [] [] [] | bash | [] [] [] [] | bfd | [] [] [] | bibshelf | [] [] [] [] [] | binutils | [] [] [] | bison | [] [] [] [] | bison-runtime | [] [] [] [] [] [] | bluez-pin | [] [] [] [] [] [] [] [] | bombono-dvd | [] | buzztard | [] | cflow | [] [] [] | clisp | [] | coreutils | [] [] [] [] [] | cpio | [] [] [] [] | cppi | [] [] | cpplib | [] [] [] | cryptsetup | [] [] [] | dfarc | [] [] [] | dialog | [] [] [] [] [] [] [] | dico | | diffutils | [] [] [] [] [] [] [] [] [] | dink | [] | doodle | [] [] | e2fsprogs | [] [] | enscript | [] [] [] [] | exif | [] [] [] [] [] [] | fetchmail | [] [] [] [] | findutils | [] [] [] [] [] [] | flex | [] [] [] | freedink | [] [] [] | gas | [] [] | gawk | [] [] [] [] () [] | gcal | [] | gcc | [] | gettext-examples | [] [] [] [] [] [] [] | gettext-runtime | [] [] [] [] [] [] | gettext-tools | [] [] [] [] | gip | [] [] [] [] [] [] | gjay | [] | gliv | [] () | glunarclock | [] [] [] [] | gnubiff | () [] () | gnucash | () () () () () [] | gnuedu | [] [] | gnulib | [] [] [] [] [] [] | gnunet | | gnunet-gtk | [] | gnutls | [] [] | gold | [] [] | gpe-aerial | [] [] [] | gpe-beam | [] [] [] [] | gpe-bluetooth | [] [] [] [] | gpe-calendar | [] [] | gpe-clock | [] [] [] [] [] | gpe-conf | [] [] [] [] | gpe-contacts | [] [] [] [] | gpe-edit | [] [] [] | gpe-filemanager | [] [] [] [] | gpe-go | [] [] [] [] [] | gpe-login | [] [] [] | gpe-ownerinfo | [] [] [] [] [] | gpe-package | [] [] [] | gpe-sketchbook | [] [] [] [] | gpe-su | [] [] [] [] [] [] | gpe-taskmanager | [] [] [] [] [] | gpe-timesheet | [] [] [] [] [] | gpe-today | [] [] [] [] [] [] [] | gpe-todo | [] [] [] | gphoto2 | [] [] [] [] [] [] | gprof | [] [] [] [] | gpsdrive | [] [] [] | gramadoir | [] [] [] | grep | [] [] | grub | [] [] [] [] | gsasl | [] [] [] [] [] | gss | [] [] [] [] [] | gst-plugins-bad | [] [] [] [] [] [] | gst-plugins-base | [] [] [] [] [] [] | gst-plugins-good | [] [] [] [] [] [] | gst-plugins-ugly | [] [] [] [] [] [] | gstreamer | [] [] [] [] [] | gtick | [] [] [] [] [] | gtkam | [] [] [] [] [] | gtkorphan | [] [] [] | gtkspell | [] [] [] [] [] [] [] [] [] | gutenprint | [] [] [] [] | hello | [] [] [] | help2man | [] [] | hylafax | [] | idutils | [] [] [] [] [] [] | indent | [] [] [] [] [] [] [] [] | iso_15924 | [] () [] [] | iso_3166 | [] () [] [] [] [] [] [] [] [] [] [] | iso_3166_2 | () [] [] [] | iso_4217 | [] () [] [] [] [] | iso_639 | [] () [] [] [] [] [] [] [] | iso_639_3 | () [] [] | jwhois | [] [] [] [] [] | kbd | [] [] | keytouch | [] [] [] [] [] [] | keytouch-editor | [] [] [] [] [] | keytouch-keyboa... | [] [] [] [] [] | klavaro | [] [] | latrine | [] [] [] | ld | [] [] [] [] | leafpad | [] [] [] [] [] [] [] () | libc | [] [] [] [] [] | libexif | [] | libextractor | | libgnutls | [] [] | libgpewidget | [] [] [] [] | libgpg-error | [] [] | libgphoto2 | [] [] [] | libgphoto2_port | [] [] [] | libgsasl | [] [] [] [] [] | libiconv | [] [] [] [] [] [] | libidn | [] [] [] [] | lifelines | () | liferea | [] [] [] [] | lilypond | [] [] | linkdr | [] [] [] [] [] | lordsawar | | lprng | [] | lynx | [] [] [] [] [] | m4 | [] [] [] [] [] [] | mailfromd | | mailutils | [] [] | make | [] [] [] [] [] [] [] [] [] | man-db | [] [] | man-db-manpages | [] | minicom | [] [] [] [] [] | mkisofs | [] [] [] [] | myserver | | nano | [] [] [] [] [] [] | opcodes | [] [] [] [] | parted | [] [] [] [] | pies | | popt | [] [] [] [] [] [] [] [] [] | psmisc | [] [] [] | pspp | | pwdutils | [] [] | radius | [] [] | recode | [] [] [] [] [] [] [] [] | rosegarden | () () () () () | rpm | [] [] | rush | | sarg | [] | screem | [] [] | scrollkeeper | [] [] [] [] | sed | [] [] [] [] [] [] [] [] | sharutils | [] [] [] [] [] [] [] | shishi | [] | skencil | [] | solfege | [] [] [] [] | solfege-manual | [] [] | soundtracker | [] [] | sp | [] () | sysstat | [] [] [] [] [] | tar | [] [] [] [] [] [] [] | texinfo | [] [] [] [] | tin | [] | unicode-han-tra... | | unicode-transla... | [] [] | util-linux-ng | [] [] [] [] [] [] | vice | () () () | vmm | [] | vorbis-tools | [] | wastesedge | () () | wdiff | [] | wget | [] [] [] [] [] [] [] [] | wyslij-po | [] [] [] | xchat | [] [] [] [] [] [] [] [] [] | xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] [] [] [] | xkeyboard-config | [] [] [] [] [] | +----------------------------------------------------+ fi fr ga gl gu he hi hr hu hy id is it ja ka kn 105 121 53 20 4 8 3 5 53 2 120 5 84 67 0 4 ko ku ky lg lt lv mk ml mn mr ms mt nb nds ne +-----------------------------------------------+ a2ps | [] | aegis | | ant-phone | | anubis | [] [] | aspell | [] | bash | | bfd | | bibshelf | [] [] | binutils | | bison | [] | bison-runtime | [] [] [] [] [] | bluez-pin | [] [] [] [] [] | bombono-dvd | | buzztard | | cflow | | clisp | | coreutils | [] | cpio | | cppi | | cpplib | | cryptsetup | | dfarc | [] | dialog | [] [] [] [] [] | dico | | diffutils | [] [] | dink | | doodle | | e2fsprogs | | enscript | | exif | [] | fetchmail | | findutils | | flex | | freedink | [] | gas | | gawk | | gcal | | gcc | | gettext-examples | [] [] [] [] | gettext-runtime | [] | gettext-tools | [] | gip | [] [] | gjay | | gliv | | glunarclock | [] | gnubiff | | gnucash | () () () () | gnuedu | | gnulib | | gnunet | | gnunet-gtk | | gnutls | [] | gold | | gpe-aerial | [] | gpe-beam | [] | gpe-bluetooth | [] [] | gpe-calendar | [] | gpe-clock | [] [] [] [] [] | gpe-conf | [] [] | gpe-contacts | [] [] | gpe-edit | [] | gpe-filemanager | [] [] | gpe-go | [] [] [] | gpe-login | [] | gpe-ownerinfo | [] [] | gpe-package | [] [] | gpe-sketchbook | [] [] | gpe-su | [] [] [] [] [] [] | gpe-taskmanager | [] [] [] [] [] [] | gpe-timesheet | [] [] | gpe-today | [] [] [] [] | gpe-todo | [] [] | gphoto2 | | gprof | [] | gpsdrive | | gramadoir | | grep | | grub | | gsasl | | gss | | gst-plugins-bad | [] [] [] [] | gst-plugins-base | [] [] | gst-plugins-good | [] [] | gst-plugins-ugly | [] [] [] [] [] | gstreamer | | gtick | | gtkam | [] | gtkorphan | [] [] | gtkspell | [] [] [] [] [] [] [] | gutenprint | | hello | [] [] [] | help2man | | hylafax | | idutils | | indent | | iso_15924 | [] [] | iso_3166 | [] [] () [] [] [] [] [] | iso_3166_2 | | iso_4217 | [] [] | iso_639 | [] [] | iso_639_3 | [] | jwhois | [] | kbd | | keytouch | [] | keytouch-editor | [] | keytouch-keyboa... | [] | klavaro | [] | latrine | [] | ld | | leafpad | [] [] [] | libc | [] | libexif | | libextractor | | libgnutls | [] | libgpewidget | [] [] | libgpg-error | | libgphoto2 | | libgphoto2_port | | libgsasl | | libiconv | | libidn | | lifelines | | liferea | | lilypond | | linkdr | | lordsawar | | lprng | | lynx | | m4 | | mailfromd | | mailutils | | make | [] | man-db | | man-db-manpages | | minicom | [] | mkisofs | | myserver | | nano | [] [] | opcodes | | parted | | pies | | popt | [] [] [] | psmisc | | pspp | | pwdutils | | radius | | recode | | rosegarden | | rpm | | rush | | sarg | | screem | | scrollkeeper | [] [] | sed | | sharutils | | shishi | | skencil | | solfege | [] | solfege-manual | | soundtracker | | sp | | sysstat | [] | tar | [] | texinfo | [] | tin | | unicode-han-tra... | | unicode-transla... | | util-linux-ng | | vice | | vmm | | vorbis-tools | | wastesedge | | wdiff | | wget | [] | wyslij-po | | xchat | [] [] [] | xdg-user-dirs | [] [] [] [] [] [] [] [] | xkeyboard-config | [] [] [] | +-----------------------------------------------+ ko ku ky lg lt lv mk ml mn mr ms mt nb nds ne 20 5 10 1 13 48 4 2 2 4 24 10 20 3 1 nl nn or pa pl ps pt pt_BR ro ru rw sk sl sq sr +---------------------------------------------------+ a2ps | [] [] [] [] [] [] [] [] | aegis | [] [] [] | ant-phone | [] [] | anubis | [] [] [] | aspell | [] [] [] [] [] | bash | [] [] | bfd | [] | bibshelf | [] [] | binutils | [] [] | bison | [] [] [] | bison-runtime | [] [] [] [] [] [] [] | bluez-pin | [] [] [] [] [] [] [] [] | bombono-dvd | [] () | buzztard | [] [] | cflow | [] | clisp | [] [] | coreutils | [] [] [] [] [] [] | cpio | [] [] [] | cppi | [] | cpplib | [] | cryptsetup | [] | dfarc | [] | dialog | [] [] [] [] | dico | [] | diffutils | [] [] [] [] [] [] | dink | () | doodle | [] [] | e2fsprogs | [] [] | enscript | [] [] [] [] [] | exif | [] [] [] () [] | fetchmail | [] [] [] [] | findutils | [] [] [] [] [] | flex | [] [] [] [] [] | freedink | [] [] | gas | | gawk | [] [] [] [] | gcal | | gcc | [] | gettext-examples | [] [] [] [] [] [] [] [] | gettext-runtime | [] [] [] [] [] [] [] [] [] | gettext-tools | [] [] [] [] [] [] | gip | [] [] [] [] [] | gjay | | gliv | [] [] [] [] [] [] | glunarclock | [] [] [] [] [] | gnubiff | [] () | gnucash | [] () () () | gnuedu | [] | gnulib | [] [] [] [] | gnunet | | gnunet-gtk | | gnutls | [] [] | gold | | gpe-aerial | [] [] [] [] [] [] [] | gpe-beam | [] [] [] [] [] [] [] | gpe-bluetooth | [] [] | gpe-calendar | [] [] [] [] | gpe-clock | [] [] [] [] [] [] [] [] | gpe-conf | [] [] [] [] [] [] [] | gpe-contacts | [] [] [] [] [] | gpe-edit | [] [] [] | gpe-filemanager | [] [] [] | gpe-go | [] [] [] [] [] [] [] [] | gpe-login | [] [] | gpe-ownerinfo | [] [] [] [] [] [] [] [] | gpe-package | [] [] | gpe-sketchbook | [] [] [] [] [] [] [] | gpe-su | [] [] [] [] [] [] [] [] | gpe-taskmanager | [] [] [] [] [] [] [] [] | gpe-timesheet | [] [] [] [] [] [] [] [] | gpe-today | [] [] [] [] [] [] [] [] | gpe-todo | [] [] [] [] [] | gphoto2 | [] [] [] [] [] [] [] [] | gprof | [] [] [] | gpsdrive | [] [] | gramadoir | [] [] | grep | [] [] [] [] | grub | [] [] [] | gsasl | [] [] [] [] | gss | [] [] [] | gst-plugins-bad | [] [] [] [] [] [] | gst-plugins-base | [] [] [] [] [] | gst-plugins-good | [] [] [] [] [] | gst-plugins-ugly | [] [] [] [] [] [] | gstreamer | [] [] [] [] [] | gtick | [] [] [] | gtkam | [] [] [] [] [] [] | gtkorphan | [] | gtkspell | [] [] [] [] [] [] [] [] [] [] | gutenprint | [] [] | hello | [] [] [] [] | help2man | [] [] | hylafax | [] | idutils | [] [] [] [] [] | indent | [] [] [] [] [] [] [] | iso_15924 | [] [] [] [] | iso_3166 | [] [] [] [] [] () [] [] [] [] [] [] [] [] | iso_3166_2 | [] [] [] | iso_4217 | [] [] [] [] [] [] [] [] | iso_639 | [] [] [] [] [] [] [] [] [] | iso_639_3 | [] [] | jwhois | [] [] [] [] | kbd | [] [] [] | keytouch | [] [] [] | keytouch-editor | [] [] [] | keytouch-keyboa... | [] [] [] | klavaro | [] [] | latrine | [] [] | ld | | leafpad | [] [] [] [] [] [] [] [] [] | libc | [] [] [] [] | libexif | [] [] () [] | libextractor | | libgnutls | [] [] | libgpewidget | [] [] [] | libgpg-error | [] [] | libgphoto2 | [] [] | libgphoto2_port | [] [] [] [] [] | libgsasl | [] [] [] [] [] | libiconv | [] [] [] [] [] | libidn | [] [] | lifelines | [] [] | liferea | [] [] [] [] [] () () [] | lilypond | [] | linkdr | [] [] [] | lordsawar | | lprng | [] | lynx | [] [] [] | m4 | [] [] [] [] [] | mailfromd | [] | mailutils | [] | make | [] [] [] [] | man-db | [] [] [] | man-db-manpages | [] [] [] | minicom | [] [] [] [] | mkisofs | [] [] [] | myserver | | nano | [] [] [] [] | opcodes | [] [] | parted | [] [] [] [] | pies | [] | popt | [] [] [] [] | psmisc | [] [] [] | pspp | [] [] | pwdutils | [] | radius | [] [] [] | recode | [] [] [] [] [] [] [] [] | rosegarden | () () | rpm | [] [] [] | rush | [] [] | sarg | | screem | | scrollkeeper | [] [] [] [] [] [] [] [] | sed | [] [] [] [] [] [] [] [] [] | sharutils | [] [] [] [] | shishi | [] | skencil | [] [] | solfege | [] [] [] [] | solfege-manual | [] [] [] | soundtracker | [] | sp | | sysstat | [] [] [] [] | tar | [] [] [] [] | texinfo | [] [] [] [] | tin | [] | unicode-han-tra... | | unicode-transla... | | util-linux-ng | [] [] [] [] [] | vice | [] | vmm | [] | vorbis-tools | [] [] | wastesedge | [] | wdiff | [] [] | wget | [] [] [] [] [] [] [] | wyslij-po | [] [] [] | xchat | [] [] [] [] [] [] [] [] [] | xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] [] [] [] [] | xkeyboard-config | [] [] [] | +---------------------------------------------------+ nl nn or pa pl ps pt pt_BR ro ru rw sk sl sq sr 135 10 4 7 105 1 29 62 47 91 3 54 46 9 37 sv sw ta te tg th tr uk vi wa zh_CN zh_HK zh_TW +---------------------------------------------------+ a2ps | [] [] [] [] [] | 27 aegis | [] | 9 ant-phone | [] [] [] [] | 9 anubis | [] [] [] [] | 15 aspell | [] [] [] | 20 bash | [] [] [] | 12 bfd | [] | 6 bibshelf | [] [] [] | 16 binutils | [] [] | 8 bison | [] [] | 12 bison-runtime | [] [] [] [] [] [] | 29 bluez-pin | [] [] [] [] [] [] [] [] | 37 bombono-dvd | [] | 4 buzztard | [] | 7 cflow | [] [] [] | 9 clisp | | 10 coreutils | [] [] [] [] | 22 cpio | [] [] [] [] [] [] | 13 cppi | [] [] | 5 cpplib | [] [] [] [] [] [] | 14 cryptsetup | [] [] | 7 dfarc | [] | 9 dialog | [] [] [] [] [] [] [] | 30 dico | [] | 2 diffutils | [] [] [] [] [] [] | 30 dink | | 4 doodle | [] [] | 7 e2fsprogs | [] [] [] | 11 enscript | [] [] [] [] | 17 exif | [] [] [] | 16 fetchmail | [] [] [] | 17 findutils | [] [] [] [] [] | 20 flex | [] [] [] [] | 15 freedink | [] | 10 gas | [] | 4 gawk | [] [] [] [] | 18 gcal | [] [] | 5 gcc | [] [] [] | 7 gettext-examples | [] [] [] [] [] [] [] | 34 gettext-runtime | [] [] [] [] [] [] [] | 29 gettext-tools | [] [] [] [] [] [] | 22 gip | [] [] [] [] | 22 gjay | [] | 3 gliv | [] [] [] | 14 glunarclock | [] [] [] [] [] | 19 gnubiff | [] [] | 4 gnucash | () [] () [] () | 10 gnuedu | [] [] | 7 gnulib | [] [] [] [] | 16 gnunet | [] | 1 gnunet-gtk | [] [] [] | 5 gnutls | [] [] [] | 10 gold | [] | 4 gpe-aerial | [] [] [] | 18 gpe-beam | [] [] [] | 19 gpe-bluetooth | [] [] [] | 13 gpe-calendar | [] [] [] [] | 12 gpe-clock | [] [] [] [] [] | 28 gpe-conf | [] [] [] [] | 20 gpe-contacts | [] [] [] | 17 gpe-edit | [] [] [] | 12 gpe-filemanager | [] [] [] [] | 16 gpe-go | [] [] [] [] [] | 25 gpe-login | [] [] [] | 11 gpe-ownerinfo | [] [] [] [] [] | 25 gpe-package | [] [] [] | 13 gpe-sketchbook | [] [] [] | 20 gpe-su | [] [] [] [] [] | 30 gpe-taskmanager | [] [] [] [] [] | 29 gpe-timesheet | [] [] [] [] [] | 25 gpe-today | [] [] [] [] [] [] | 30 gpe-todo | [] [] [] [] | 17 gphoto2 | [] [] [] [] [] | 24 gprof | [] [] [] | 15 gpsdrive | [] [] [] | 11 gramadoir | [] [] [] | 11 grep | [] [] [] | 10 grub | [] [] [] | 14 gsasl | [] [] [] [] | 14 gss | [] [] [] | 11 gst-plugins-bad | [] [] [] [] | 26 gst-plugins-base | [] [] [] [] [] | 24 gst-plugins-good | [] [] [] [] | 24 gst-plugins-ugly | [] [] [] [] [] | 29 gstreamer | [] [] [] [] | 22 gtick | [] [] [] | 13 gtkam | [] [] [] | 20 gtkorphan | [] [] [] | 14 gtkspell | [] [] [] [] [] [] [] [] [] | 45 gutenprint | [] | 10 hello | [] [] [] [] [] [] | 21 help2man | [] [] | 7 hylafax | [] | 5 idutils | [] [] [] [] | 17 indent | [] [] [] [] [] [] | 30 iso_15924 | () [] () [] [] | 16 iso_3166 | [] [] () [] [] () [] [] [] () | 53 iso_3166_2 | () [] () [] | 9 iso_4217 | [] () [] [] () [] [] | 26 iso_639 | [] [] [] () [] () [] [] [] [] | 38 iso_639_3 | [] () | 8 jwhois | [] [] [] [] [] | 16 kbd | [] [] [] [] [] | 15 keytouch | [] [] [] | 16 keytouch-editor | [] [] [] | 14 keytouch-keyboa... | [] [] [] | 14 klavaro | [] | 11 latrine | [] [] [] | 10 ld | [] [] [] [] | 11 leafpad | [] [] [] [] [] [] | 33 libc | [] [] [] [] [] | 21 libexif | [] () | 7 libextractor | [] | 1 libgnutls | [] [] [] | 9 libgpewidget | [] [] [] | 14 libgpg-error | [] [] [] | 9 libgphoto2 | [] [] | 8 libgphoto2_port | [] [] [] [] | 14 libgsasl | [] [] [] | 13 libiconv | [] [] [] [] | 21 libidn | () [] [] | 11 lifelines | [] | 4 liferea | [] [] [] | 21 lilypond | [] | 7 linkdr | [] [] [] [] [] | 17 lordsawar | | 1 lprng | [] | 3 lynx | [] [] [] [] | 17 m4 | [] [] [] [] | 19 mailfromd | [] [] | 3 mailutils | [] | 5 make | [] [] [] [] | 21 man-db | [] [] [] | 8 man-db-manpages | | 4 minicom | [] [] | 16 mkisofs | [] [] | 9 myserver | | 0 nano | [] [] [] [] | 21 opcodes | [] [] [] | 11 parted | [] [] [] [] [] | 15 pies | [] [] | 3 popt | [] [] [] [] [] [] | 27 psmisc | [] [] | 11 pspp | | 4 pwdutils | [] [] | 6 radius | [] [] | 9 recode | [] [] [] [] | 28 rosegarden | () | 0 rpm | [] [] [] | 11 rush | [] [] | 4 sarg | | 1 screem | [] | 3 scrollkeeper | [] [] [] [] [] | 27 sed | [] [] [] [] [] | 30 sharutils | [] [] [] [] [] | 22 shishi | [] | 3 skencil | [] [] | 7 solfege | [] [] [] [] | 16 solfege-manual | [] | 8 soundtracker | [] [] [] | 9 sp | [] | 3 sysstat | [] [] | 15 tar | [] [] [] [] [] [] | 23 texinfo | [] [] [] [] [] | 17 tin | | 4 unicode-han-tra... | | 0 unicode-transla... | | 2 util-linux-ng | [] [] [] [] | 20 vice | () () | 1 vmm | [] | 4 vorbis-tools | [] | 6 wastesedge | | 2 wdiff | [] [] | 7 wget | [] [] [] [] [] | 26 wyslij-po | [] [] | 8 xchat | [] [] [] [] [] [] | 36 xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] | 63 xkeyboard-config | [] [] [] | 22 +---------------------------------------------------+ 85 teams sv sw ta te tg th tr uk vi wa zh_CN zh_HK zh_TW 178 domains 119 1 3 3 0 10 65 51 155 17 98 7 41 2618 Some counters in the preceding matrix are higher than the number of visible blocks let us expect. This is because a few extra PO files are used for implementing regional variants of languages, or language dialects. For a PO file in the matrix above to be effective, the package to which it applies should also have been internationalized and distributed as such by its maintainer. There might be an observable lag between the mere existence a PO file and its wide availability in a distribution. If June 2010 seems to be old, you may fetch a more recent copy of this `ABOUT-NLS' file on most GNU archive sites. The most up-to-date matrix with full percentage details can be found at `http://translationproject.org/extra/matrix.html'. 1.5 Using `gettext' in new packages =================================== If you are writing a freely available program and want to internationalize it you are welcome to use GNU `gettext' in your package. Of course you have to respect the GNU Library General Public License which covers the use of the GNU `gettext' library. This means in particular that even non-free programs can use `libintl' as a shared library, whereas only free software can use `libintl' as a static library or use modified versions of `libintl'. Once the sources are changed appropriately and the setup can handle the use of `gettext' the only thing missing are the translations. The Free Translation Project is also available for packages which are not developed inside the GNU project. Therefore the information given above applies also for every other Free Software Project. Contact `coordinator@translationproject.org' to make the `.pot' files available to the translation teams. idjc-0.8.9/compile0000755000175000017500000001624512133312012010734 00000000000000#! /bin/sh # Wrapper for compilers which do not understand '-c -o'. scriptversion=2012-10-14.11; # UTC # Copyright (C) 1999-2012 Free Software Foundation, Inc. # Written by Tom Tromey . # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # This file is maintained in Automake, please report # bugs to or send patches to # . nl=' ' # We need space, tab and new line, in precisely that order. Quoting is # there to prevent tools from complaining about whitespace usage. IFS=" "" $nl" file_conv= # func_file_conv build_file lazy # Convert a $build file to $host form and store it in $file # Currently only supports Windows hosts. If the determined conversion # type is listed in (the comma separated) LAZY, no conversion will # take place. func_file_conv () { file=$1 case $file in / | /[!/]*) # absolute file, and not a UNC file if test -z "$file_conv"; then # lazily determine how to convert abs files case `uname -s` in MINGW*) file_conv=mingw ;; CYGWIN*) file_conv=cygwin ;; *) file_conv=wine ;; esac fi case $file_conv/,$2, in *,$file_conv,*) ;; mingw/*) file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` ;; cygwin/*) file=`cygpath -m "$file" || echo "$file"` ;; wine/*) file=`winepath -w "$file" || echo "$file"` ;; esac ;; esac } # func_cl_dashL linkdir # Make cl look for libraries in LINKDIR func_cl_dashL () { func_file_conv "$1" if test -z "$lib_path"; then lib_path=$file else lib_path="$lib_path;$file" fi linker_opts="$linker_opts -LIBPATH:$file" } # func_cl_dashl library # Do a library search-path lookup for cl func_cl_dashl () { lib=$1 found=no save_IFS=$IFS IFS=';' for dir in $lib_path $LIB do IFS=$save_IFS if $shared && test -f "$dir/$lib.dll.lib"; then found=yes lib=$dir/$lib.dll.lib break fi if test -f "$dir/$lib.lib"; then found=yes lib=$dir/$lib.lib break fi if test -f "$dir/lib$lib.a"; then found=yes lib=$dir/lib$lib.a break fi done IFS=$save_IFS if test "$found" != yes; then lib=$lib.lib fi } # func_cl_wrapper cl arg... # Adjust compile command to suit cl func_cl_wrapper () { # Assume a capable shell lib_path= shared=: linker_opts= for arg do if test -n "$eat"; then eat= else case $1 in -o) # configure might choose to run compile as 'compile cc -o foo foo.c'. eat=1 case $2 in *.o | *.[oO][bB][jJ]) func_file_conv "$2" set x "$@" -Fo"$file" shift ;; *) func_file_conv "$2" set x "$@" -Fe"$file" shift ;; esac ;; -I) eat=1 func_file_conv "$2" mingw set x "$@" -I"$file" shift ;; -I*) func_file_conv "${1#-I}" mingw set x "$@" -I"$file" shift ;; -l) eat=1 func_cl_dashl "$2" set x "$@" "$lib" shift ;; -l*) func_cl_dashl "${1#-l}" set x "$@" "$lib" shift ;; -L) eat=1 func_cl_dashL "$2" ;; -L*) func_cl_dashL "${1#-L}" ;; -static) shared=false ;; -Wl,*) arg=${1#-Wl,} save_ifs="$IFS"; IFS=',' for flag in $arg; do IFS="$save_ifs" linker_opts="$linker_opts $flag" done IFS="$save_ifs" ;; -Xlinker) eat=1 linker_opts="$linker_opts $2" ;; -*) set x "$@" "$1" shift ;; *.cc | *.CC | *.cxx | *.CXX | *.[cC]++) func_file_conv "$1" set x "$@" -Tp"$file" shift ;; *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO]) func_file_conv "$1" mingw set x "$@" "$file" shift ;; *) set x "$@" "$1" shift ;; esac fi shift done if test -n "$linker_opts"; then linker_opts="-link$linker_opts" fi exec "$@" $linker_opts exit 1 } eat= case $1 in '') echo "$0: No command. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: compile [--help] [--version] PROGRAM [ARGS] Wrapper for compilers which do not understand '-c -o'. Remove '-o dest.o' from ARGS, run PROGRAM with the remaining arguments, and rename the output as expected. If you are trying to build a whole package this is not the right script to run: please start by reading the file 'INSTALL'. Report bugs to . EOF exit $? ;; -v | --v*) echo "compile $scriptversion" exit $? ;; cl | *[/\\]cl | cl.exe | *[/\\]cl.exe ) func_cl_wrapper "$@" # Doesn't return... ;; esac ofile= cfile= for arg do if test -n "$eat"; then eat= else case $1 in -o) # configure might choose to run compile as 'compile cc -o foo foo.c'. # So we strip '-o arg' only if arg is an object. eat=1 case $2 in *.o | *.obj) ofile=$2 ;; *) set x "$@" -o "$2" shift ;; esac ;; *.c) cfile=$1 set x "$@" "$1" shift ;; *) set x "$@" "$1" shift ;; esac fi shift done if test -z "$ofile" || test -z "$cfile"; then # If no '-o' option was seen then we might have been invoked from a # pattern rule where we don't need one. That is ok -- this is a # normal compilation that the losing compiler can handle. If no # '.c' file was seen then we are probably linking. That is also # ok. exec "$@" fi # Name of file we expect compiler to create. cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` # Create the lock directory. # Note: use '[/\\:.-]' here to ensure that we don't use the same name # that we are using for the .o file. Also, base the name on the expected # object file name, since that is what matters with a parallel build. lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d while true; do if mkdir "$lockdir" >/dev/null 2>&1; then break fi sleep 1 done # FIXME: race condition here if user kills between mkdir and trap. trap "rmdir '$lockdir'; exit 1" 1 2 15 # Run the compile. "$@" ret=$? if test -f "$cofile"; then test "$cofile" = "$ofile" || mv "$cofile" "$ofile" elif test -f "${cofile}bj"; then test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile" fi rmdir "$lockdir" exit $ret # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: idjc-0.8.9/README0000644000175000017500000000152112113174301010232 00000000000000Internet DJ Console README. A full set of documentation for this particular version can be found in the doc directory of the source tree and possibly installed in /usr/share/doc/idjc.../ in HTML format. Look for index.html. The documentation on the project homepage at http://idjc.sourceforge.net relates to the most recently released source code tarball. It's advice may not be relevant to the version you are trying to use. If you obtained this code from the git repository the doc directory won't exist yet. Please run the bootstrap script to re-create the build environment and doc directory which is where to look for further build instructions. Before making IDJC itself you should install libshout-idjc from the subdirectory of the git sources or separate download for the released version. This probably only ever needs to be done once. idjc-0.8.9/Makefile.in0000644000175000017500000010050612142730017011426 00000000000000# Makefile.in generated by automake 1.12.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2012 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__make_dryrun = \ { \ am__dry=no; \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ *) \ for am__flg in $$MAKEFLAGS; do \ case $$am__flg in \ *=*|--*) ;; \ *n*) am__dry=yes; break;; \ esac; \ done;; \ esac; \ test $$am__dry = yes; \ } pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = . DIST_COMMON = README $(am__configure_deps) $(dist_noinst_DATA) \ $(dist_noinst_SCRIPTS) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(srcdir)/idjc.desktop.in.in $(srcdir)/idjc.in.in \ $(top_srcdir)/configure ABOUT-NLS AUTHORS COPYING ChangeLog \ INSTALL NEWS compile config.guess config.rpath config.sub \ install-sh ltmain.sh missing ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno config.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = idjc.in idjc.desktop.in CONFIG_CLEAN_VPATH_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(appmenudir)" \ "$(DESTDIR)$(docdir)" SCRIPTS = $(dist_noinst_SCRIPTS) $(nodist_bin_SCRIPTS) SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ install-html-recursive install-info-recursive \ install-pdf-recursive install-ps-recursive install-recursive \ installcheck-recursive installdirs-recursive pdf-recursive \ ps-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac DATA = $(dist_noinst_DATA) $(nodist_appmenu_DATA) $(nodist_doc_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ cscope distdir dist dist-all distcheck ETAGS = etags CTAGS = ctags CSCOPE = cscope DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ if test -d "$(distdir)"; then \ find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -rf "$(distdir)" \ || { sleep 5 && rm -rf "$(distdir)"; }; \ else :; fi am__post_remove_distdir = $(am__remove_distdir) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = --best DIST_TARGETS = dist-gzip distuninstallcheck_listfiles = find . -type f -print am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ COPYRIGHT_YEAR = @COPYRIGHT_YEAR@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ DYN_LAME = @DYN_LAME@ DYN_LDFLAGS = @DYN_LDFLAGS@ DYN_LIBS = @DYN_LIBS@ DYN_MPG123 = @DYN_MPG123@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ EXT = @EXT@ FGREP = @FGREP@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ HAVE_AVCODEC = @HAVE_AVCODEC@ HAVE_AVFORMAT = @HAVE_AVFORMAT@ HAVE_AVUTIL = @HAVE_AVUTIL@ HAVE_FLAC = @HAVE_FLAC@ HAVE_OGGFLAC = @HAVE_OGGFLAC@ HAVE_OPUS = @HAVE_OPUS@ HAVE_SPEEX = @HAVE_SPEEX@ HAVE_TWOLAME = @HAVE_TWOLAME@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBAVCODEC_CFLAGS = @LIBAVCODEC_CFLAGS@ LIBAVCODEC_LIBS = @LIBAVCODEC_LIBS@ LIBAVFORMAT_CFLAGS = @LIBAVFORMAT_CFLAGS@ LIBAVFORMAT_LIBS = @LIBAVFORMAT_LIBS@ LIBAVUTIL_CFLAGS = @LIBAVUTIL_CFLAGS@ LIBAVUTIL_LIBS = @LIBAVUTIL_LIBS@ LIBFLAC_CFLAGS = @LIBFLAC_CFLAGS@ LIBFLAC_LIBS = @LIBFLAC_LIBS@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBJACK_CFLAGS = @LIBJACK_CFLAGS@ LIBJACK_LIBS = @LIBJACK_LIBS@ LIBM = @LIBM@ LIBMP3LAME = @LIBMP3LAME@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSAMPLERATE_CFLAGS = @LIBSAMPLERATE_CFLAGS@ LIBSAMPLERATE_LIBS = @LIBSAMPLERATE_LIBS@ LIBSNDFILE_CFLAGS = @LIBSNDFILE_CFLAGS@ LIBSNDFILE_LIBS = @LIBSNDFILE_LIBS@ LIBSPEEX_CFLAGS = @LIBSPEEX_CFLAGS@ LIBSPEEX_LIBS = @LIBSPEEX_LIBS@ LIBTOOL = @LIBTOOL@ LIBVORBISENC_CFLAGS = @LIBVORBISENC_CFLAGS@ LIBVORBISENC_LIBS = @LIBVORBISENC_LIBS@ LIBVORBIS_CFLAGS = @LIBVORBIS_CFLAGS@ LIBVORBIS_LIBS = @LIBVORBIS_LIBS@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MPG123 = @MPG123@ MPG123_CFLAGS = @MPG123_CFLAGS@ MPG123_LIBS = @MPG123_LIBS@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OPUS_CFLAGS = @OPUS_CFLAGS@ OPUS_LIBS = @OPUS_LIBS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ PYGTK_CFLAGS = @PYGTK_CFLAGS@ PYGTK_LIBS = @PYGTK_LIBS@ PYTHON = @PYTHON@ PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ PYTHON_PLATFORM = @PYTHON_PLATFORM@ PYTHON_PREFIX = @PYTHON_PREFIX@ PYTHON_VERSION = @PYTHON_VERSION@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SHOUTIDJC_CFLAGS = @SHOUTIDJC_CFLAGS@ SHOUTIDJC_LIBS = @SHOUTIDJC_LIBS@ STRIP = @STRIP@ TWOLAME_CFLAGS = @TWOLAME_CFLAGS@ TWOLAME_LIBS = @TWOLAME_LIBS@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = ${prefix}/share/doc/${PACKAGE_NAME}-${PACKAGE_VERSION} dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ pkgpyexecdir = @pkgpyexecdir@ pkgpythondir = @pkgpythondir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ pyexecdir = @pyexecdir@ pythondir = @pythondir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = po c python artwork man doc EXTRA_SCRIPTS = nodist_bin_SCRIPTS = ${PACKAGE_NAME} dist_noinst_SCRIPTS = idjc.in.in bootstrap nodist_doc_DATA = AUTHORS.gz NEWS.gz README.gz ChangeLog.gz dist_noinst_DATA = idjc.desktop.in.in nodist_appmenu_DATA = ${PACKAGE_NAME}.desktop appmenudir = ${prefix}/share/applications ACLOCAL_AMFLAGS = -I m4 EXTRA_DIST = config.rpath m4/ChangeLog all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: am--refresh: Makefile @: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: $(am__configure_deps) $(am__cd) $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): $(am__aclocal_m4_deps) $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) $(am__aclocal_m4_deps): config.h: stamp-h1 @if test ! -f $@; then rm -f stamp-h1; else :; fi @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status @rm -f stamp-h1 cd $(top_builddir) && $(SHELL) ./config.status config.h $(srcdir)/config.h.in: $(am__configure_deps) ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) rm -f stamp-h1 touch $@ distclean-hdr: -rm -f config.h stamp-h1 idjc.in: $(top_builddir)/config.status $(srcdir)/idjc.in.in cd $(top_builddir) && $(SHELL) ./config.status $@ idjc.desktop.in: $(top_builddir)/config.status $(srcdir)/idjc.desktop.in.in cd $(top_builddir) && $(SHELL) ./config.status $@ install-nodist_binSCRIPTS: $(nodist_bin_SCRIPTS) @$(NORMAL_INSTALL) @list='$(nodist_bin_SCRIPTS)'; test -n "$(bindir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n' \ -e 'h;s|.*|.|' \ -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ if ($$2 == $$4) { files[d] = files[d] " " $$1; \ if (++n[d] == $(am__install_max)) { \ print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ else { print "f", d "/" $$4, $$1 } } \ END { for (d in files) print "f", d, files[d] }' | \ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ } \ ; done uninstall-nodist_binSCRIPTS: @$(NORMAL_UNINSTALL) @list='$(nodist_bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 's,.*/,,;$(transform)'`; \ dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir) mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool config.lt install-nodist_appmenuDATA: $(nodist_appmenu_DATA) @$(NORMAL_INSTALL) @list='$(nodist_appmenu_DATA)'; test -n "$(appmenudir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(appmenudir)'"; \ $(MKDIR_P) "$(DESTDIR)$(appmenudir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(appmenudir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(appmenudir)" || exit $$?; \ done uninstall-nodist_appmenuDATA: @$(NORMAL_UNINSTALL) @list='$(nodist_appmenu_DATA)'; test -n "$(appmenudir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(appmenudir)'; $(am__uninstall_files_from_dir) install-nodist_docDATA: $(nodist_doc_DATA) @$(NORMAL_INSTALL) @list='$(nodist_doc_DATA)'; test -n "$(docdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(docdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(docdir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(docdir)" || exit $$?; \ done uninstall-nodist_docDATA: @$(NORMAL_UNINSTALL) @list='$(nodist_doc_DATA)'; test -n "$(docdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(docdir)'; $(am__uninstall_files_from_dir) # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS): @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done cscopelist-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) cscopelist); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscope: cscope.files test ! -s cscope.files \ || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) clean-cscope: -rm -f cscope.files cscope.files: clean-cscope cscopelist-recursive cscopelist cscopelist: cscopelist-recursive $(HEADERS) $(SOURCES) $(LISP) list='$(SOURCES) $(HEADERS) $(LISP)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -rm -f cscope.out cscope.in.out cscope.po.out cscope.files distdir: $(DISTFILES) $(am__remove_distdir) test -d "$(distdir)" || mkdir "$(distdir)" @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done -test -n "$(am__skip_mode_fix)" \ || find "$(distdir)" -type d ! -perm -755 \ -exec chmod u+rwx,go+rx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r "$(distdir)" dist-gzip: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__post_remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 $(am__post_remove_distdir) dist-lzip: distdir tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz $(am__post_remove_distdir) dist-xz: distdir tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz $(am__post_remove_distdir) dist-tarZ: distdir tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__post_remove_distdir) dist-shar: distdir shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz $(am__post_remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__post_remove_distdir) dist dist-all: $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' $(am__post_remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lz*) \ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ *.tar.xz*) \ xz -dc $(distdir).tar.xz | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac chmod -R a-w $(distdir) chmod u+w $(distdir) mkdir $(distdir)/_build $(distdir)/_inst chmod a-w $(distdir) test -d $(distdir)/_build || exit 0; \ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && am__cwd=`pwd` \ && $(am__cd) $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(AM_DISTCHECK_CONFIGURE_FLAGS) \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ } || { rm -rf "$$dc_destdir"; exit 1; }) \ && rm -rf "$$dc_destdir" \ && $(MAKE) $(AM_MAKEFLAGS) dist \ && rm -rf $(DIST_ARCHIVES) \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ && cd "$$am__cwd" \ || exit 1 $(am__post_remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' distuninstallcheck: @test -n '$(distuninstallcheck_dir)' || { \ echo 'ERROR: trying to run $@ with an empty' \ '$$(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ $(am__cd) '$(distuninstallcheck_dir)' || { \ echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ fi ; \ $(distuninstallcheck_listfiles) ; \ exit 1; } >&2 distcleancheck: distclean @if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left in build directory after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 check-am: all-am check: check-recursive all-am: Makefile $(SCRIPTS) $(DATA) config.h installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(appmenudir)" "$(DESTDIR)$(docdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool clean-local mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f Makefile distclean-am: clean-am distclean-generic distclean-hdr \ distclean-libtool distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-nodist_appmenuDATA install-nodist_docDATA install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-nodist_binSCRIPTS install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-nodist_appmenuDATA uninstall-nodist_binSCRIPTS \ uninstall-nodist_docDATA .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \ cscopelist-recursive ctags-recursive install-am install-strip \ tags-recursive .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am am--refresh check check-am clean clean-cscope \ clean-generic clean-libtool clean-local cscope cscopelist \ cscopelist-recursive ctags ctags-recursive dist dist-all \ dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ dist-xz \ dist-zip distcheck distclean distclean-generic distclean-hdr \ distclean-libtool distclean-tags distcleancheck distdir \ distuninstallcheck dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-nodist_appmenuDATA install-nodist_binSCRIPTS \ install-nodist_docDATA install-pdf install-pdf-am install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \ uninstall uninstall-am uninstall-nodist_appmenuDATA \ uninstall-nodist_binSCRIPTS uninstall-nodist_docDATA ${PACKAGE_NAME}: idjc.in @sed -e 's|$${prefix}|${prefix}|g' $? >$@ ${PACKAGE_NAME}.desktop: idjc.desktop.in @sed -e 's|$${prefix}|${prefix}|g' -e 's|$${exec_prefix}|${exec_prefix}|g' $? >$@ AUTHORS.gz: AUTHORS @ gzip -c $? >$@ NEWS.gz: NEWS @ gzip -c $? >$@ README.gz: README @ gzip -c $? >$@ ChangeLog.gz: ChangeLog @ gzip -c $? >$@ clean-local: rm -f ChangeLog.gz README.gz NEWS.gz AUTHORS.gz ${PACKAGE_NAME}.desktop idjcctrl ${PACKAGE_NAME} dtdist: make dist mv ${PACKAGE_TARNAME}-${PACKAGE_VERSION}.tar.gz ${HOME}/Desktop sfpublish: make dist curl --retry 3 --connect-timeout 10 -T ${PACKAGE_TARNAME}-${PACKAGE_VERSION}.tar.gz -n sftp://frs.sourceforge.net/home/frs/project/i/id/idjc/idjc/0.8/ .PHONY: dtdist sfpublish ${PACKAGE_NAME} ${PACKAGE_NAME}.desktop # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: idjc-0.8.9/py-compile0000755000175000017500000001107612133312012011357 00000000000000#!/bin/sh # py-compile - Compile a Python program scriptversion=2011-06-08.12; # UTC # Copyright (C) 2000-2012 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # This file is maintained in Automake, please report # bugs to or send patches to # . if [ -z "$PYTHON" ]; then PYTHON=python fi me=py-compile usage_error () { echo "$me: $*" >&2 echo "Try '$me --help' for more information." >&2 exit 1 } basedir= destdir= while test $# -ne 0; do case "$1" in --basedir) if test $# -lt 2; then usage_error "option '--basedir' requires an argument" else basedir=$2 fi shift ;; --destdir) if test $# -lt 2; then usage_error "option '--destdir' requires an argument" else destdir=$2 fi shift ;; -h|--help) cat <<\EOF Usage: py-compile [--help] [--version] [--basedir DIR] [--destdir DIR] FILES..." Byte compile some python scripts FILES. Use --destdir to specify any leading directory path to the FILES that you don't want to include in the byte compiled file. Specify --basedir for any additional path information you do want to be shown in the byte compiled file. Example: py-compile --destdir /tmp/pkg-root --basedir /usr/share/test test.py test2.py Report bugs to . EOF exit $? ;; -v|--version) echo "$me $scriptversion" exit $? ;; --) shift break ;; -*) usage_error "unrecognized option '$1'" ;; *) break ;; esac shift done files=$* if test -z "$files"; then usage_error "no files given" fi # if basedir was given, then it should be prepended to filenames before # byte compilation. if [ -z "$basedir" ]; then pathtrans="path = file" else pathtrans="path = os.path.join('$basedir', file)" fi # if destdir was given, then it needs to be prepended to the filename to # byte compile but not go into the compiled file. if [ -z "$destdir" ]; then filetrans="filepath = path" else filetrans="filepath = os.path.normpath('$destdir' + os.sep + path)" fi $PYTHON -c " import sys, os, py_compile, imp files = '''$files''' sys.stdout.write('Byte-compiling python modules...\n') for file in files.split(): $pathtrans $filetrans if not os.path.exists(filepath) or not (len(filepath) >= 3 and filepath[-3:] == '.py'): continue sys.stdout.write(file) sys.stdout.flush() if hasattr(imp, 'get_tag'): py_compile.compile(filepath, imp.cache_from_source(filepath), path) else: py_compile.compile(filepath, filepath + 'c', path) sys.stdout.write('\n')" || exit $? # this will fail for python < 1.5, but that doesn't matter ... $PYTHON -O -c " import sys, os, py_compile, imp # pypy does not use .pyo optimization if hasattr(sys, 'pypy_translation_info'): sys.exit(0) files = '''$files''' sys.stdout.write('Byte-compiling python modules (optimized versions) ...\n') for file in files.split(): $pathtrans $filetrans if not os.path.exists(filepath) or not (len(filepath) >= 3 and filepath[-3:] == '.py'): continue sys.stdout.write(file) sys.stdout.flush() if hasattr(imp, 'get_tag'): py_compile.compile(filepath, imp.cache_from_source(filepath, False), path) else: py_compile.compile(filepath, filepath + 'o', path) sys.stdout.write('\n')" 2>/dev/null || : # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: idjc-0.8.9/INSTALL0000644000175000017500000003660512133312012010411 00000000000000Installation Instructions ************************* Copyright (C) 1994-1996, 1999-2002, 2004-2012 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without warranty of any kind. Basic Installation ================== Briefly, the shell commands `./configure; make; make install' should configure, build, and install this package. The following more-detailed instructions are generic; see the `README' file for instructions specific to this package. Some packages provide this `INSTALL' file but do not implement all of the features documented below. The lack of an optional feature in a given package is not necessarily a bug. More recommendations for GNU packages can be found in *note Makefile Conventions: (standards)Makefile Conventions. The `configure' shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses those values to create a `Makefile' in each directory of the package. It may also create one or more `.h' files containing system-dependent definitions. Finally, it creates a shell script `config.status' that you can run in the future to recreate the current configuration, and a file `config.log' containing compiler output (useful mainly for debugging `configure'). It can also use an optional file (typically called `config.cache' and enabled with `--cache-file=config.cache' or simply `-C') that saves the results of its tests to speed up reconfiguring. Caching is disabled by default to prevent problems with accidental use of stale cache files. If you need to do unusual things to compile the package, please try to figure out how `configure' could check whether to do them, and mail diffs or instructions to the address given in the `README' so they can be considered for the next release. If you are using the cache, and at some point `config.cache' contains results you don't want to keep, you may remove or edit it. The file `configure.ac' (or `configure.in') is used to create `configure' by a program called `autoconf'. You need `configure.ac' if you want to change it or regenerate `configure' using a newer version of `autoconf'. The simplest way to compile this package is: 1. `cd' to the directory containing the package's source code and type `./configure' to configure the package for your system. Running `configure' might take a while. While running, it prints some messages telling which features it is checking for. 2. Type `make' to compile the package. 3. Optionally, type `make check' to run any self-tests that come with the package, generally using the just-built uninstalled binaries. 4. Type `make install' to install the programs and any data files and documentation. When installing into a prefix owned by root, it is recommended that the package be configured and built as a regular user, and only the `make install' phase executed with root privileges. 5. Optionally, type `make installcheck' to repeat any self-tests, but this time using the binaries in their final installed location. This target does not install anything. Running this target as a regular user, particularly if the prior `make install' required root privileges, verifies that the installation completed correctly. 6. You can remove the program binaries and object files from the source code directory by typing `make clean'. To also remove the files that `configure' created (so you can compile the package for a different kind of computer), type `make distclean'. There is also a `make maintainer-clean' target, but that is intended mainly for the package's developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution. 7. Often, you can also type `make uninstall' to remove the installed files again. In practice, not all packages have tested that uninstallation works correctly, even though it is required by the GNU Coding Standards. 8. Some packages, particularly those that use Automake, provide `make distcheck', which can by used by developers to test that all other targets like `make install' and `make uninstall' work correctly. This target is generally not run by end users. Compilers and Options ===================== Some systems require unusual options for compilation or linking that the `configure' script does not know about. Run `./configure --help' for details on some of the pertinent environment variables. You can give `configure' initial values for configuration parameters by setting variables in the command line or in the environment. Here is an example: ./configure CC=c99 CFLAGS=-g LIBS=-lposix *Note Defining Variables::, for more details. Compiling For Multiple Architectures ==================================== You can compile the package for more than one kind of computer at the same time, by placing the object files for each architecture in their own directory. To do this, you can use GNU `make'. `cd' to the directory where you want the object files and executables to go and run the `configure' script. `configure' automatically checks for the source code in the directory that `configure' is in and in `..'. This is known as a "VPATH" build. With a non-GNU `make', it is safer to compile the package for one architecture at a time in the source code directory. After you have installed the package for one architecture, use `make distclean' before reconfiguring for another architecture. On MacOS X 10.5 and later systems, you can create libraries and executables that work on multiple system types--known as "fat" or "universal" binaries--by specifying multiple `-arch' options to the compiler but only a single `-arch' option to the preprocessor. Like this: ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ CPP="gcc -E" CXXCPP="g++ -E" This is not guaranteed to produce working output in all cases, you may have to build one architecture at a time and combine the results using the `lipo' tool if you have problems. Installation Names ================== By default, `make install' installs the package's commands under `/usr/local/bin', include files under `/usr/local/include', etc. You can specify an installation prefix other than `/usr/local' by giving `configure' the option `--prefix=PREFIX', where PREFIX must be an absolute file name. You can specify separate installation prefixes for architecture-specific files and architecture-independent files. If you pass the option `--exec-prefix=PREFIX' to `configure', the package uses PREFIX as the prefix for installing programs and libraries. Documentation and other data files still use the regular prefix. In addition, if you use an unusual directory layout you can give options like `--bindir=DIR' to specify different values for particular kinds of files. Run `configure --help' for a list of the directories you can set and what kinds of files go in them. In general, the default for these options is expressed in terms of `${prefix}', so that specifying just `--prefix' will affect all of the other directory specifications that were not explicitly provided. The most portable way to affect installation locations is to pass the correct locations to `configure'; however, many packages provide one or both of the following shortcuts of passing variable assignments to the `make install' command line to change installation locations without having to reconfigure or recompile. The first method involves providing an override variable for each affected directory. For example, `make install prefix=/alternate/directory' will choose an alternate location for all directory configuration variables that were expressed in terms of `${prefix}'. Any directories that were specified during `configure', but not in terms of `${prefix}', must each be overridden at install time for the entire installation to be relocated. The approach of makefile variable overrides for each directory variable is required by the GNU Coding Standards, and ideally causes no recompilation. However, some platforms have known limitations with the semantics of shared libraries that end up requiring recompilation when using this method, particularly noticeable in packages that use GNU Libtool. The second method involves providing the `DESTDIR' variable. For example, `make install DESTDIR=/alternate/directory' will prepend `/alternate/directory' before all installation names. The approach of `DESTDIR' overrides is not required by the GNU Coding Standards, and does not work on platforms that have drive letters. On the other hand, it does better at avoiding recompilation issues, and works well even when some directory options were not specified in terms of `${prefix}' at `configure' time. Optional Features ================= If the package supports it, you can cause programs to be installed with an extra prefix or suffix on their names by giving `configure' the option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. Some packages pay attention to `--enable-FEATURE' options to `configure', where FEATURE indicates an optional part of the package. They may also pay attention to `--with-PACKAGE' options, where PACKAGE is something like `gnu-as' or `x' (for the X Window System). The `README' should mention any `--enable-' and `--with-' options that the package recognizes. For packages that use the X Window System, `configure' can usually find the X include and library files automatically, but if it doesn't, you can use the `configure' options `--x-includes=DIR' and `--x-libraries=DIR' to specify their locations. Some packages offer the ability to configure how verbose the execution of `make' will be. For these packages, running `./configure --enable-silent-rules' sets the default to minimal output, which can be overridden with `make V=1'; while running `./configure --disable-silent-rules' sets the default to verbose, which can be overridden with `make V=0'. Particular systems ================== On HP-UX, the default C compiler is not ANSI C compatible. If GNU CC is not installed, it is recommended to use the following options in order to use an ANSI C compiler: ./configure CC="cc -Ae -D_XOPEN_SOURCE=500" and if that doesn't work, install pre-built binaries of GCC for HP-UX. HP-UX `make' updates targets which have the same time stamps as their prerequisites, which makes it generally unusable when shipped generated files such as `configure' are involved. Use GNU `make' instead. On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot parse its `' header file. The option `-nodtk' can be used as a workaround. If GNU CC is not installed, it is therefore recommended to try ./configure CC="cc" and if that doesn't work, try ./configure CC="cc -nodtk" On Solaris, don't put `/usr/ucb' early in your `PATH'. This directory contains several dysfunctional programs; working variants of these programs are available in `/usr/bin'. So, if you need `/usr/ucb' in your `PATH', put it _after_ `/usr/bin'. On Haiku, software installed for all users goes in `/boot/common', not `/usr/local'. It is recommended to use the following options: ./configure --prefix=/boot/common Specifying the System Type ========================== There may be some features `configure' cannot figure out automatically, but needs to determine by the type of machine the package will run on. Usually, assuming the package is built to be run on the _same_ architectures, `configure' can figure that out, but if it prints a message saying it cannot guess the machine type, give it the `--build=TYPE' option. TYPE can either be a short name for the system type, such as `sun4', or a canonical name which has the form: CPU-COMPANY-SYSTEM where SYSTEM can have one of these forms: OS KERNEL-OS See the file `config.sub' for the possible values of each field. If `config.sub' isn't included in this package, then this package doesn't need to know the machine type. If you are _building_ compiler tools for cross-compiling, you should use the option `--target=TYPE' to select the type of system they will produce code for. If you want to _use_ a cross compiler, that generates code for a platform different from the build platform, you should specify the "host" platform (i.e., that on which the generated programs will eventually be run) with `--host=TYPE'. Sharing Defaults ================ If you want to set default values for `configure' scripts to share, you can create a site shell script called `config.site' that gives default values for variables like `CC', `cache_file', and `prefix'. `configure' looks for `PREFIX/share/config.site' if it exists, then `PREFIX/etc/config.site' if it exists. Or, you can set the `CONFIG_SITE' environment variable to the location of the site script. A warning: not all `configure' scripts look for a site script. Defining Variables ================== Variables not defined in a site shell script can be set in the environment passed to `configure'. However, some packages may run configure again during the build, and the customized values of these variables may be lost. In order to avoid this problem, you should set them in the `configure' command line, using `VAR=value'. For example: ./configure CC=/usr/local2/bin/gcc causes the specified `gcc' to be used as the C compiler (unless it is overridden in the site shell script). Unfortunately, this technique does not work for `CONFIG_SHELL' due to an Autoconf limitation. Until the limitation is lifted, you can use this workaround: CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash `configure' Invocation ====================== `configure' recognizes the following options to control how it operates. `--help' `-h' Print a summary of all of the options to `configure', and exit. `--help=short' `--help=recursive' Print a summary of the options unique to this package's `configure', and exit. The `short' variant lists options used only in the top level, while the `recursive' variant lists options also present in any nested packages. `--version' `-V' Print the version of Autoconf used to generate the `configure' script, and exit. `--cache-file=FILE' Enable the cache: use and save the results of the tests in FILE, traditionally `config.cache'. FILE defaults to `/dev/null' to disable caching. `--config-cache' `-C' Alias for `--cache-file=config.cache'. `--quiet' `--silent' `-q' Do not print messages saying which checks are being made. To suppress all normal output, redirect it to `/dev/null' (any error messages will still be shown). `--srcdir=DIR' Look for the package's source code in directory DIR. Usually `configure' can determine that directory automatically. `--prefix=DIR' Use DIR as the installation prefix. *note Installation Names:: for more details, including other options available for fine-tuning the installation locations. `--no-create' `-n' Run the configure checks, but stop before creating any output files. `configure' also accepts some other, not widely useful, options. Run `configure --help' for more details. idjc-0.8.9/po/0000755000175000017500000000000012142736727010073 500000000000000idjc-0.8.9/po/insert-header.sin0000644000175000017500000000124012142730006013235 00000000000000# Sed script that inserts the file called HEADER before the header entry. # # At each occurrence of a line starting with "msgid ", we execute the following # commands. At the first occurrence, insert the file. At the following # occurrences, do nothing. The distinction between the first and the following # occurrences is achieved by looking at the hold space. /^msgid /{ x # Test if the hold space is empty. s/m/m/ ta # Yes it was empty. First occurrence. Read the file. r HEADER # Output the file's contents by reading the next line. But don't lose the # current line while doing this. g N bb :a # The hold space was nonempty. Following occurrences. Do nothing. x :b } idjc-0.8.9/po/boldquot.sed0000644000175000017500000000033112142730006012316 00000000000000s/"\([^"]*\)"/“\1”/g s/`\([^`']*\)'/‘\1’/g s/ '\([^`']*\)' / ‘\1’ /g s/ '\([^`']*\)'$/ ‘\1’/g s/^'\([^`']*\)' /‘\1’ /g s/“”/""/g s/“/“/g s/”/”/g s/‘/‘/g s/’/’/g idjc-0.8.9/po/Makefile.in.in0000644000175000017500000003744212142730006012457 00000000000000# Makefile for PO directory in any package using GNU gettext. # Copyright (C) 1995-1997, 2000-2007, 2009-2010 by Ulrich Drepper # # This file can be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU General Public # License but which still want to provide support for the GNU gettext # functionality. # Please note that the actual code of GNU gettext is covered by the GNU # General Public License and is *not* in the public domain. # # Origin: gettext-0.18 GETTEXT_MACRO_VERSION = 0.18 PACKAGE = @PACKAGE@ VERSION = @VERSION@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ SHELL = /bin/sh @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ datarootdir = @datarootdir@ datadir = @datadir@ localedir = @localedir@ gettextsrcdir = $(datadir)/gettext/po INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ # We use $(mkdir_p). # In automake <= 1.9.x, $(mkdir_p) is defined either as "mkdir -p --" or as # "$(mkinstalldirs)" or as "$(install_sh) -d". For these automake versions, # @install_sh@ does not start with $(SHELL), so we add it. # In automake >= 1.10, @mkdir_p@ is derived from ${MKDIR_P}, which is defined # either as "/path/to/mkdir -p" or ".../install-sh -c -d". For these automake # versions, $(mkinstalldirs) and $(install_sh) are unused. mkinstalldirs = $(SHELL) @install_sh@ -d install_sh = $(SHELL) @install_sh@ MKDIR_P = @MKDIR_P@ mkdir_p = @mkdir_p@ GMSGFMT_ = @GMSGFMT@ GMSGFMT_no = @GMSGFMT@ GMSGFMT_yes = @GMSGFMT_015@ GMSGFMT = $(GMSGFMT_$(USE_MSGCTXT)) MSGFMT_ = @MSGFMT@ MSGFMT_no = @MSGFMT@ MSGFMT_yes = @MSGFMT_015@ MSGFMT = $(MSGFMT_$(USE_MSGCTXT)) XGETTEXT_ = @XGETTEXT@ XGETTEXT_no = @XGETTEXT@ XGETTEXT_yes = @XGETTEXT_015@ XGETTEXT = $(XGETTEXT_$(USE_MSGCTXT)) MSGMERGE = msgmerge MSGMERGE_UPDATE = @MSGMERGE@ --update MSGINIT = msginit MSGCONV = msgconv MSGFILTER = msgfilter POFILES = @POFILES@ GMOFILES = @GMOFILES@ UPDATEPOFILES = @UPDATEPOFILES@ DUMMYPOFILES = @DUMMYPOFILES@ DISTFILES.common = Makefile.in.in remove-potcdate.sin \ $(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3) DISTFILES = $(DISTFILES.common) Makevars POTFILES.in \ $(POFILES) $(GMOFILES) \ $(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3) POTFILES = \ CATALOGS = @CATALOGS@ # Makevars gets inserted here. (Don't remove this line!) .SUFFIXES: .SUFFIXES: .po .gmo .mo .sed .sin .nop .po-create .po-update .po.mo: @echo "$(MSGFMT) -c -o $@ $<"; \ $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@ .po.gmo: @lang=`echo $* | sed -e 's,.*/,,'`; \ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o $${lang}.gmo $${lang}.po"; \ cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo .sin.sed: sed -e '/^#/d' $< > t-$@ mv t-$@ $@ all: check-macro-version all-@USE_NLS@ all-yes: stamp-po all-no: # Ensure that the gettext macros and this Makefile.in.in are in sync. check-macro-version: @test "$(GETTEXT_MACRO_VERSION)" = "@GETTEXT_MACRO_VERSION@" \ || { echo "*** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version $(GETTEXT_MACRO_VERSION) but the autoconf macros are from gettext version @GETTEXT_MACRO_VERSION@" 1>&2; \ exit 1; \ } # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because # we don't want to bother translators with empty POT files). We assume that # LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty. # In this case, stamp-po is a nop (i.e. a phony target). # stamp-po is a timestamp denoting the last time at which the CATALOGS have # been loosely updated. Its purpose is that when a developer or translator # checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS, # "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent # invocations of "make" will do nothing. This timestamp would not be necessary # if updating the $(CATALOGS) would always touch them; however, the rule for # $(POFILES) has been designed to not touch files that don't need to be # changed. stamp-po: $(srcdir)/$(DOMAIN).pot test ! -f $(srcdir)/$(DOMAIN).pot || \ test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES) @test ! -f $(srcdir)/$(DOMAIN).pot || { \ echo "touch stamp-po" && \ echo timestamp > stamp-poT && \ mv stamp-poT stamp-po; \ } # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update', # otherwise packages like GCC can not be built if only parts of the source # have been downloaded. # This target rebuilds $(DOMAIN).pot; it is an expensive operation. # Note that $(DOMAIN).pot is not touched if it doesn't need to be changed. $(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed if LC_ALL=C grep 'GNU @PACKAGE@' $(top_srcdir)/* 2>/dev/null | grep -v 'libtool:' >/dev/null; then \ package_gnu='GNU '; \ else \ package_gnu=''; \ fi; \ if test -n '$(MSGID_BUGS_ADDRESS)' || test '$(PACKAGE_BUGREPORT)' = '@'PACKAGE_BUGREPORT'@'; then \ msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \ else \ msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \ fi; \ case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ --files-from=$(srcdir)/POTFILES.in \ --copyright-holder='$(COPYRIGHT_HOLDER)' \ --msgid-bugs-address="$$msgid_bugs_address" \ ;; \ *) \ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ --files-from=$(srcdir)/POTFILES.in \ --copyright-holder='$(COPYRIGHT_HOLDER)' \ --package-name="$${package_gnu}@PACKAGE@" \ --package-version='@VERSION@' \ --msgid-bugs-address="$$msgid_bugs_address" \ ;; \ esac test ! -f $(DOMAIN).po || { \ if test -f $(srcdir)/$(DOMAIN).pot; then \ sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \ sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \ if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \ rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \ else \ rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ fi; \ else \ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ fi; \ } # This rule has no dependencies: we don't need to update $(DOMAIN).pot at # every "make" invocation, only create it when it is missing. # Only "make $(DOMAIN).pot-update" or "make dist" will force an update. $(srcdir)/$(DOMAIN).pot: $(MAKE) $(DOMAIN).pot-update # This target rebuilds a PO file if $(DOMAIN).pot has changed. # Note that a PO file is not touched if it doesn't need to be changed. $(POFILES): $(srcdir)/$(DOMAIN).pot @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \ if test -f "$(srcdir)/$${lang}.po"; then \ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot"; \ cd $(srcdir) \ && { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \ *) \ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot;; \ esac; \ }; \ else \ $(MAKE) $${lang}.po-create; \ fi install: install-exec install-data install-exec: install-data: install-data-@USE_NLS@ if test "$(PACKAGE)" = "gettext-tools"; then \ $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \ for file in $(DISTFILES.common) Makevars.template; do \ $(INSTALL_DATA) $(srcdir)/$$file \ $(DESTDIR)$(gettextsrcdir)/$$file; \ done; \ for file in Makevars; do \ rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ done; \ else \ : ; \ fi install-data-no: all install-data-yes: all @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ dir=$(localedir)/$$lang/LC_MESSAGES; \ $(mkdir_p) $(DESTDIR)$$dir; \ if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \ $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \ echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ if test -n "$$lc"; then \ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ for file in *; do \ if test -f $$file; then \ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ fi; \ done); \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ else \ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ :; \ else \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ fi; \ fi; \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \ fi; \ done; \ done install-strip: install installdirs: installdirs-exec installdirs-data installdirs-exec: installdirs-data: installdirs-data-@USE_NLS@ if test "$(PACKAGE)" = "gettext-tools"; then \ $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \ else \ : ; \ fi installdirs-data-no: installdirs-data-yes: @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ dir=$(localedir)/$$lang/LC_MESSAGES; \ $(mkdir_p) $(DESTDIR)$$dir; \ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ if test -n "$$lc"; then \ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ for file in *; do \ if test -f $$file; then \ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ fi; \ done); \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ else \ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ :; \ else \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ fi; \ fi; \ fi; \ done; \ done # Define this as empty until I found a useful application. installcheck: uninstall: uninstall-exec uninstall-data uninstall-exec: uninstall-data: uninstall-data-@USE_NLS@ if test "$(PACKAGE)" = "gettext-tools"; then \ for file in $(DISTFILES.common) Makevars.template; do \ rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ done; \ else \ : ; \ fi uninstall-data-no: uninstall-data-yes: catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ done; \ done check: all info dvi ps pdf html tags TAGS ctags CTAGS ID: mostlyclean: rm -f remove-potcdate.sed rm -f stamp-poT rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po rm -fr *.o clean: mostlyclean distclean: clean rm -f Makefile Makefile.in POTFILES *.mo maintainer-clean: distclean @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." rm -f stamp-po $(GMOFILES) distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) dist distdir: $(MAKE) update-po @$(MAKE) dist2 # This is a separate target because 'update-po' must be executed before. dist2: stamp-po $(DISTFILES) dists="$(DISTFILES)"; \ if test "$(PACKAGE)" = "gettext-tools"; then \ dists="$$dists Makevars.template"; \ fi; \ if test -f $(srcdir)/$(DOMAIN).pot; then \ dists="$$dists $(DOMAIN).pot stamp-po"; \ fi; \ if test -f $(srcdir)/ChangeLog; then \ dists="$$dists ChangeLog"; \ fi; \ for i in 0 1 2 3 4 5 6 7 8 9; do \ if test -f $(srcdir)/ChangeLog.$$i; then \ dists="$$dists ChangeLog.$$i"; \ fi; \ done; \ if test -f $(srcdir)/LINGUAS; then dists="$$dists LINGUAS"; fi; \ for file in $$dists; do \ if test -f $$file; then \ cp -p $$file $(distdir) || exit 1; \ else \ cp -p $(srcdir)/$$file $(distdir) || exit 1; \ fi; \ done update-po: Makefile $(MAKE) $(DOMAIN).pot-update test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES) $(MAKE) update-gmo # General rule for creating PO files. .nop.po-create: @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \ echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \ exit 1 # General rule for updating PO files. .nop.po-update: @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \ if test "$(PACKAGE)" = "gettext-tools"; then PATH=`pwd`/../src:$$PATH; fi; \ tmpdir=`pwd`; \ echo "$$lang:"; \ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ echo "$${cdcmd}$(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \ cd $(srcdir); \ if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \ $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ *) \ $(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ esac; \ }; then \ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ rm -f $$tmpdir/$$lang.new.po; \ else \ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ :; \ else \ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ exit 1; \ fi; \ fi; \ else \ echo "msgmerge for $$lang.po failed!" 1>&2; \ rm -f $$tmpdir/$$lang.new.po; \ fi $(DUMMYPOFILES): update-gmo: Makefile $(GMOFILES) @: # Recreate Makefile by invoking config.status. Explicitly invoke the shell, # because execution permission bits may not work on the current file system. # Use @SHELL@, which is the shell determined by autoconf for the use by its # scripts, not $(SHELL) which is hardwired to /bin/sh and may be deficient. Makefile: Makefile.in.in Makevars $(top_builddir)/config.status @POMAKEFILEDEPS@ cd $(top_builddir) \ && @SHELL@ ./config.status $(subdir)/$@.in po-directories force: # Tell versions [3.59,3.63) of GNU make not to export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: idjc-0.8.9/po/ChangeLog0000644000175000017500000000073611630251123011552 000000000000002011-08-07 gettextize * Makefile.in.in: New file, from gettext-0.18.1. * boldquot.sed: New file, from gettext-0.18.1. * en@boldquot.header: New file, from gettext-0.18.1. * en@quot.header: New file, from gettext-0.18.1. * insert-header.sin: New file, from gettext-0.18.1. * quot.sed: New file, from gettext-0.18.1. * remove-potcdate.sin: New file, from gettext-0.18.1. * Rules-quot: New file, from gettext-0.18.1. * POTFILES.in: New file. idjc-0.8.9/po/quot.sed0000644000175000017500000000023112142730006011454 00000000000000s/"\([^"]*\)"/“\1”/g s/`\([^`']*\)'/‘\1’/g s/ '\([^`']*\)' / ‘\1’ /g s/ '\([^`']*\)'$/ ‘\1’/g s/^'\([^`']*\)' /‘\1’ /g s/“”/""/g idjc-0.8.9/po/Makevars0000644000175000017500000000352611630251123011474 00000000000000# Makefile variables for PO directory in any package using GNU gettext. # Usually the message domain is the same as the package name. DOMAIN = $(PACKAGE) # These two variables depend on the location of this directory. subdir = po top_builddir = .. # These options get passed to xgettext. XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --from-code=utf-8 -L python --add-comments=TC: # This is the copyright holder that gets inserted into the header of the # $(DOMAIN).pot file. Set this to the copyright holder of the surrounding # package. (Note that the msgstr strings, extracted from the package's # sources, belong to the copyright holder of the package.) Translators are # expected to transfer the copyright for their translations to this person # or entity, or to disclaim their copyright. The empty string stands for # the public domain; in this case the translators are expected to disclaim # their copyright. COPYRIGHT_HOLDER = Stephen Fairchild # This is the email address or URL to which the translators shall report # bugs in the untranslated strings: # - Strings which are not entire sentences, see the maintainer guidelines # in the GNU gettext documentation, section 'Preparing Strings'. # - Strings which use unclear terms or require additional context to be # understood. # - Strings which make invalid assumptions about notation of date, time or # money. # - Pluralisation problems. # - Incorrect English spelling. # - Incorrect formatting. # It can be your email address, or a mailing list address where translators # can write to without being subscribed, or the URL of a web page through # which the translators can contact you. MSGID_BUGS_ADDRESS = putidjcinthesubjectline@bethere.co.uk # This is the list of locale categories, beyond LC_MESSAGES, for which the # message catalogs shall be used. It is usually empty. EXTRA_LOCALE_CATEGORIES = idjc-0.8.9/po/it.gmo0000644000175000017500000016571112142733510011131 00000000000000N$H1I1b1 k1x1 q2}22 2w2V-33T44MX5N55z6 6666%6 67$7C7M8b8EU99F:::::: : ;;; < )<3<<<7<!+=M=/\= = == = == ===5= '> 3> >>J>^Z>N> ???)? 8?D?J?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   <,]/'ɰ\N1V  F P\!o"Ӳ[Sf(ͳԳٳݳ& 9FOj$} ϴ Դ ߴ  '1JO$V { µ˵ڵ/ !+ ;E M Wa}'" ܶ #&?f~ ߷ 1?OiԸ  &G_z#$'4 \j p }úֺ |  "λ!hp 7Aӽ&.B+I u! cľ2([_e'ȿa9R &0 ? MZct4+19HWh ~Y %<QW^r , Ma'?(-5V?1&q 7uP52,!1$S"x!*8!(5-E'sc\2D w.O4 LY:`#i)B7,VB#.H)9/ct\VW   %5D T `?k  P HTZ jv&  GF\br++-<&Nu|346 ER ht+M"'!$I#n)8-&Kr$$9uJe (3YFS1nNDbq$B Hsn=j5" @7%,kl`_\MD>i EQOPp /Dm-U<o/F`zx~{Bs.> H(?  f*:2t4 \yTf30G,!rMx Aw"$:AS9V5-4H8.'_lREB 4|di# 2MU W*ac6!-L#Z/&%;TA: ~[6K@V(OZ}G;KJ&5#eW*";zaC)kLYCE1L{9<@vX)py1!P]q ^'='8r IImg<J%b0] F72twX8[|>&CNu?)Gd+Q+R0Igj,.6h}7vhc3Ko? N=+^ Additional Text Frames Stream '%s' control'Block size' indicates the amount of time that it will take to play from the currently selected track to the next stop. 'Remaining' is the amount of time until the next stop. 'Finish' Is the computed time when the tracks will have finished playing.(Cue sheet)<<< Fade across <<<<<< Transfer across <<<BoldA connection to a radio server has failed. Reconnection will not be attempted.A scheduled stream disconnection has occurred.The connection to the server in tab {servertab} has failed. A reconnection attempt will be made in {countdown} seconds. This is attempt number {attempt} of {maxtries}.Delete profile '%s' and all its data? The data of deleted profiles cannot be recovered.Delete the data of profile '%s'? The profile will remain available with initial settings.Error while creating new profile. %sError while editing profile: {0}. {1}Permanently delete this server? This action will also erase all of its associated messages.Underline>> Normal Speed <<>>> Fade across >>>>>> Transfer across >>>A Non directory path exists at: '%s'.A VU meter for the stream audio.A comma separated list of delays in seconds between reconnection attempts. Note that bad values or values less than 5 will be interpreted as 5.A description of your radio station.A label so you may describe briefly the role of this audio channel.A look-ahead brick-wall limiter. Audio signals are capped at the upper limit.A peak hold meter indicating the microphone signal strength and a meter indicating attenuation levels in the microphone signal processing system. Green indicates attenuation from the noise gate, yellow from the de-esser, red from the limiter.A peak hold meter indicating the signal strength of the stream audio.A table of servers with which to connect. Only one master server can be added for the purpose of streaming. All other servers will appear below the master server in the list for the purpose of stats collection which can be toggled on a per server basis.A useful feature to have switched on while allocating channel openers.AIMAboutAct ifActionActiveAdd MusicAdd any other ID3 text frames here. e.g. TIT2:Alternate Title This will be appended onto the main TIT2 tag. Enter user defined text frames like this: TXXX:foo=bar For more information visit www.id3.org.Add music to left playlistAdd music to right playlistAdd tracks to the playlist.Adjust byAfter a number of seconds where a main player is active this button's status indicator will start to flash and will continue to do so until the button is closed or the player stops.AlbumAllAll active recordings and radio streams will terminate.All active recordings will cease.All file typesAll of the active radio streams will terminate.Alter valueAlternateAlwaysAnnouncementAnnouncementsAppendAppend CursorAppend at CursorArtistAssume the connection is beyond saving and reconnect.At connect:Audio FeedAudio to DJAudio to streamAutomatically connect to the server at a specific time in 24 hour format, midnight being 00:00Automatically disconnect from the server at a specific time in 24 hour format.BackSpaceBad TagBasic ControlsBasic StreamerBasic inputBeginBiasBindingsBitrateBlock sizeBoost/Cut (dB)Both playersButton Open TriggersBy ExtensionCannot rename profile {0} to {1}, {1} currently exists.ChChannelChannel OpenerChannel output enableChannel set balanceChannel set gainChannel set volumeChannelsChannels/UsersChoose a folder/directory of music.Choose a media directoryChoose a playlist fileChoose a playlist file.Choose which directory you want to save to. All file names will be in a timestamp format and have either an oga, mp3, or flac file extension. Important: you need to select a directory to which you have adequate write permission.Choose which stream to record or the 24 bit FLAC option. If the stream isn't already running the encoder will be started automatically using whatever settings are currently configured.ClosedColoursConfigurationConfirmation to quit IDJC is required.ConnectConnect to the server using the SSL security protocol. This feature is typically offered on different ports than the standard connection method and is widespread but not universally available.ConnectionConnection info for AOL instant messenger goes here.Connection timer:Contact DetailsContributorsControlCopyCould not write file %s.Create a new announcementCrossfadeCrossfaderCue UpCuesheet PlaylistCustom user agent stringCutoff FrequencyDJDJ Audio LevelDJ nameDatabaseDe-esserDeactivatedDelayDelay timesDescriptionDirect fader/held buttonDiscard audio data for as long as needed.DisconnectDisconnect whoever is using the server just before start time.DuckerDuplicateDurationEach one of these tabs represents a separate radio streamer. The LED indicator colours represent the following: Clear=No connection Yellow=Awaiting authentication. Green=Connected. Flashing=Packet loss due to a bad connection.Each one of these tabs represents a separate stream recorder. The LED indicator colours represent the following: Clear=Stopped Yellow=Paused Red=Recording.Each opener button has two vertical bars at the side to make the button state more apparent. These settings control their appearance.Edit control bindingEdit existing server connection detailsEdit profile %sEffectEffective only on newly started tracks.EmptyEnable the main-player speed/pitch controlsEnable tooltipsEndEnd tracks containing long passages of silenceEnlarge the time elapsed/remaining windowsEnter new server connection detailsEnter your DJ name or station name here. Typically this information will be displayed by listener clients.Error during attempt to rename {0} to {1}.ExchangeExtensionExternalExternal PlaylistExtra ShoutcastFadeFade 10sFade 5sFade OverFadered playerFallbackFastFeature SetFile TypeFilenameFilename:Fill channel meter void spaceFiltersFinishFocused playerFormatFormat StringFrequency in Hertz above which audio can pass to later stages. Use this feature to restrict low frequency sounds such as mains hum. Setting too high a level will make your voice sound thin.From HereFrom the album, %sFully FeaturedFuzzy SearchGainGeneralGenreGenre(s)Group ControlsHF DetailHave a recorder start automatically when a radio server connection is successfully made.Have one of the players start automatically when a radio server connection is successfully made.High Pass FilterHoldHostnameHostname/IP addressICQICQ instant messenger connection info goes here.IDJC OutputIDJC PreferencesIDJC Profile ManagerIDJC TaggerIRCIRC serverIRC stream down messageIRC stream up messageIRC timed messageIRC track announceIcecast 2 MasterIcecast 2 Stats/RelayIconIdeally set this to something even on servers that allow public anonymous access.If connectedIf the connection breaks reconnect to the serverIf this value is set an attempt will be made to acquire your first choice IRC nickname (if needed) and log in with NickServ@services. The use of the NickServ service requires prior nickname registration on the network using a regular chat client.Ignored playlist controlIn IDJC there are are two audio paths and this '{0}' control toggles between them. When '{1}' is active you can hear what the listeners are hearing including the effects of the crossfader. '{0}' needs to be set to '{2}' in order to make proper use of the VoIP features.In The DJ's MixIndIndicate button numbers and associated channel numbersIndicates which mode IDJC will be in when launched.Individual ControlsInputInsert AttributeInsert Attribute or Colour CodeInsert controlInteractionInternet Relay Chat connection info goes here.IntervalInvert SignalItemJACK PortsJump To TopKeep the reconnection dialogue box hidden at all times.KeyKeyboard pressLLF DetailLast PlayedLeft click toggles between showing the amount of time elapsed or remaining on the current track being played.Left playerLicenceLimiterListen URLListen for input...ListenersListening for inputLogin nameLoop AllM3U playlistMIDI controlMIDI noteMIDI pitch-wheelMain Panel ButtonMain Panel Opener ButtonsMake PublicMake output from this player audible to the DJ.Make output from this player available for streaming.Make the microphone audio audible in the DJ mix. This may not always be desirable.ManualMaster server admin passwordMessageMeta TagMetadataMetadata SourceMetadata normally updates only on song title changes but you can force an immediate update here.Metadata:MiddleMiscellaneous FeaturesMix voice over IP audio to the DJ only.Mix voice over IP audio to the output stream.Modify or Delete this announcementMonitor MixMonitor Stream MixMostly useful issuing 'amixer' commands, in particular for setting capture.Mount pointMove the crossfader fully left.Move the crossfader fully right.Move the crossfader to the middle of its range of travel.NativeNetworkNeverNew profile based upon %sNew profile detailsNext trackNext track.NickServ p/wNicknameNo Channel Opener ButtonsNo FadeNo Master Server ConfiguredNoise GateNoneNormalNormal SpeedNoteOffsetOn closeOn openOn stream downOn stream upOn targetOne-shot/toggle buttonOpenOpenedOptional data entry field for information only.Other optionsOutputPLS playlistPartnered with channel %sPassPasswordPathPause recording.Pause.Perform operations on multiple servers in unison.Phase RotatorPlayPlay AllPlay.PlayerPlayer 1Player 2Player DJ output enablePlayer DJ-only switchPlayer Resample QualityPlayer Settings At StartupPlayer StopPlayer Stop 2Player advancePlayer play nextPlayer play previousPlayer play selected from startPlayer play/pausePlayer select nextPlayer select previousPlayer set balancePlayer set gainPlayer set pitchbendPlayer set volumePlayer stopPlayer stop 2Player stream output enablePlayers pass crossfadePlayers set crossfadePlayers set focusPlayers show pitchbendPlaying track {0} of {1}PlaylistPlaylist 1Playlist 2Playlist ModePlaylist advance buttonPlaylist edit tagsPlaylist insert announcePlaylist insert crossfadePlaylist insert jump to topPlaylist insert pitchunbendPlaylist insert stopPlaylist insert stop 2Playlist insert transferPlaylist types (*.m3u, *.xspf, *.pls)PopulatingPortPort numberPreferencesPrependPrepend CursorPrepend at CursorPressedPrevious track.Processed inputProfileProfile %s is active.ProfilesPublish your radio station on a listings website. The website in question will depend on how the server to which you connect is configured.QuietRRandomRandom HopReal nameRecordRecorderRecorder set recordingRecording time elapsed.Reduce the S, T, and P sounds which microphones tend to exaggerate. Ideally the Bias control will be set low so that the de-esser is off when there is silence but is set high enough that mouse clicks are detected and suppressed.Reduce the unwanted quietest sounds and background noise which you don't want your listeners to hear with this.Relative Gain (dB)ReleaseReleasedReleased under the GNU General Public License V2.0Released under the GNU General Public License V2.0 or later.RemainingRemindRemoveRemove ContentsRepeatRepeat the sequence of delays indefinitely.ReplayGainResponseRestore the previous sessionReversedRight playerRun in a reduced functionality mode that lowers the burden on the CPU and takes up less screen space.Run in full functionality mode which uses more CPU power.SSLSaveSave left playlistSave right playlistSecond choiceSelect File TypeSelect the folder to record toSelect this option to use an independent volume fader for the left and right music players.Separate left/right player volume fadersServer typeSet this on the occasion that the server or its firewall specifically refuses to allow libshout based clients.Set toSet valueShell CommandShiftingShoutcastShoutcast MasterShoutcast Stats/RelaySignal MatchingSimultaneous recording(s)Simultaneous stream(s)Singular controlSong nameSound an alarm when the music is due to endSourceStagesStart FullStart MiniStart playerStart recorderStatus Indicator AppearanceStereo PanningStereo panning is the selection of where an audio source sits from left to right within the stereo mix. This control maintains constant audio power throughout its range of travel, giving -3dB attenuation in both audio channels at the half way point. If you require 0dB straight down the middle then this feature should be turned off.Stop recordingStop recording.Stop streamingStop.StreamStream InfoStream recorderStream set connectedStreamsSupported Media FormatsSupported mediaTargetTemporary directory creation failed.TextThe '%s' pane determines how the input is handled, and to what effect.The URL of your radio station. This and the rest of the information below is intended for display on a radio station listings website.The amount of headroom required (dB)The button will be grouped with the other microphone opener buttons. It will be affected by signals to close microphone buttons. Channels associated with this button will be mixed differently when using the VoIP modes.The chosen profile is currently running.The combined total number of listeners in all server tabs.The comma or space separated list of channels and/or users to whom the message will be sent. Protected channels are included with the form: #channel:keyword.The contingency plan upon the stream buffer becoming full is...The controls for configuring a stream.The crossfader.The default profileThe delay time of this message. Typically listener clients will buffer approximately ten seconds of audio data which means they are listening the same amount of time behind the actual stream therefore without a delay IRC messages will appear to the listener many seconds ahead of the audio. This setting will help synchronise the track change with the message.The ducker automatically reduces the level of player audio when the DJ speaks. These settings allow you to adjust the timings of that audio reduction.The fallback text to use when %r %t %l metadata is unavailable. See the format string to the left.The first half of a binding is the input which comes in the form of the press of a keyboard key or an event from a midi device. Input selection can be done manually or with the help of the '%s' option.The headroom is the amount by which to reduce player volume when this opener is active. Note that the actual amount will be the largest value of all the currently open buttons.The interval in seconds of the timed message.The message to send. On the pop-up window (mouse right click) are some useful options for embedding metadata and for text formatting. The window below displays how the message will appear to users of XChat.The musical genres you are likely to play.The new profile name is not valid.The opener button's icon.The opener button's text.The profile directory '%s' already exists.The profile length is too long (max %d characters).The real name you want to use which will be available regardless of whether the network connection was made with the primary nickname or not. Ideally set this to something.The signal processing mode.The specified template '%s' is not valid.The stream volume level to send to the voice over IP connection.The sum total of listeners in this server tab.The template profile '%s' does not exist.The time elapsed/remaining windows sometimes don't appear big enough for the text that appears in them due to unusual DPI settings or the use of a different rendering engine. This option serves to fix that.The time in seconds that the crossfader will take to automatically pass across when the button to the right is clicked.The time offset within the below specified interval at which the message will be issued.The volume control for the left music player.The volume control for the right music player.The volume control shared by both music players.These controls are provided to obtain a decent match between the two microphones.These settings take effect after restartingThird choiceThisThis adjusts the playback speed anywhere from 25% to 400%.This adjusts the sound level of the DJ audio.This button causes the crossfader to move to the opposite side at a speed determined by the speed selector to the left.This button is to be treated as a microphone openerThis button steps through the active playlist, pausing between tracks. The active playlist is defined by the placement of the crossfader.This button will flash as a reminder to closeThis controls the allocation of front panel open/unmute buttons. Having one button control multiple microphones can save time.This controls the amount of fade between tracks.This feature maybe improves the sound quality a little when listening on a 24 bit sound card.This feature processes the microphone audio so that it sounds more even. The effect is particularly noticable on male voices.This feature requires the installation of python-irclib.This indicates the state of the various streams. Flashing means stream packets are being discarded because of network congestion. Partial red means the send buffer is partially full indicating difficulty communicating with the server. Green means everything is okay.This is attempt number %d. There is no retry limit.This is for kick and stats on Shoutcast master servers that have an administrator password. For those that don't leave this blank (the source password is sufficient for those).This option causes some extra widgets to appear below the playlists which allow the playback speed to be adjusted from 25% to 400% and a normal speed button.This selects the response curve of the crossfader. The mid-point attenuations are -3dB, 0dB, and -22dB respectively.This server is to be scanned for audience figuresThis sets the playback speed back to normal.This sets the playlist mode which defines player behaviour after a track has finished playing. 'Play All' is the most versatile mode since it allows the use of embeddable playlist control elements which are accessible using the right click context menu in the playlist. When no playlist controls are present the tracks are played sequentially until the end of the playlist is reached at which point the player will stop. 'Loop All' causes the tracks to be played in sequence, restarting with the first track once the end of the playlist is reached. 'Random' causes the tracks to be played indefinitely with the tracks selected at random. 'Manual' causes the player to stop at the end of each track. 'Cue Up' is similar to manual except that the next track in the playlist will also be highlighted. 'External' draws it's tracks from an external playlist or directory one at a time. Useful for when you want to stream massive playlists. 'Alternate' causes the next track to be cued up before starting the opposite player. The crossfader is moved over. 'Fade Over' will crossfade to the other player at the end of every track. 'Random Hop' will pick a track at random from the other playlist.This slider acts as both a play progress indicator and as a means for seeking within the currently playing track.This will disconnect whoever is currently using the server, freeing it up for personal use.This, what you are currently reading, is a tooltip. This feature turns them on or off.This:ThresholdTimeTimerTitleTo HereTotal number of tracks %dTotal play duration %sTrackTrack announceTrack time elapsedTrack time remainingTracks PlayedTransferTranslatorsTrim quiet song endings and trailing silenceTrkTroubleshootingUnknownUp-timeUpper LimitUse valueUseful for when microphones are cancelling one another out, producing a hollow sound.User nameViewVoIP DJ-only switchVoIP channelVoIP output enableVoIP set balanceVoIP set gainVoIP set volumeWHEREWhen a nickname is in use on the target IRC network, during connection these IRC nicknames are cycled through, then twice again after appending an additional underscore until giving up. This gives IDJC a maximum of nine IRC nicknames to try.When opened close these other buttonsWhen starting IDJC most of the main window settings will be as they were left. As an alternative you may specify below how you want the various settings to be when IDJC starts.WidthWith kickXChat commandXSPF playlistYearYou can enter text to accompany the stream here and can specify placemarkers %r %t %l %s for the artist, title, album, and songname respectively, or leave this text field blank to use the default metadata. Songname (%s) is derived from the filename in the absence of sufficient metadata, while the other placemarkers will use the fallback text to the right. When blank, Ogg streams will use the standard Vorbis tags and mp3 will use %s.You can use this to boost the amount of bass in the audio.You can use this to boost the amount of treble in the audio._Auto_Retry Nowa description of the profilea non directory path exists at: '%s'albuman existing profile to use as a templateartistattempt connection with the specified serverscould not write file %sdescription_textfailed to create profile: %sgenreicon_pathnamemake a new profilemm:ssnicknameno profile is setpathname to an icon -- defaults to idjc logoposition the crossfader for the specified playerprofile_choiceprofile_namerecord dateserver_nametemplate_profiletemporary directory creation failedthe alternate profile name to appear in window title barsthe audio channels to have open at startupthe chosen profile is currently runningthe named jack sound-server to connect withthe new profile name is not validthe profile '%s' is in usethe profile directory '%s' already existsthe profile length is too long (max %d characters)the specified profile name is not validthe specified template '%s' is not validthe template profile '%s' does not existthe voip mode at startuptitletrack/totaluser interface settingsProject-Id-Version: Report-Msgid-Bugs-To: putidjcinthesubjectline@bethere.co.uk POT-Creation-Date: 2013-05-09 15:29+0100 PO-Revision-Date: 2011-12-16 15:46+0100 Last-Translator: rmorelli Language-Team: American English Language: it MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Generator: Lokalize 1.2 Plural-Forms: nplurals=2; plural=(n != 1); Riquadri di testo aggiuntivi Flusso controllo '%s''Dimensione blocco' indica la quantità di tempo che intercorre tra la riproduzione della traccia selezionata ed il prossimo stop. 'Restante' è il tempo fino al prossimo stop. 'Fine' è il tempo calcolato quando finirà la riproduzione delle tracce.(Elementi del file cue)<<< Dissolvi tra <<<<<< Trasferisci tra <<<GrassettoUna connessione al server è fallita. Non verrà effettuato un altro tentativo.E' intervenuta una disconnessione pianificata.La connessione al server nella linguetta {servertab} è fallita. Un tentativo di riconnessione verrà effettuato tra {countdown} secondi. Questo è il tentativo {attempt} di {maxtries}.Eliminare il profilo '%s' e tutti i suoi dati? I dati dei profili eliminati non possono essere recuperati.Eliminare i dati del profilo '%s'? Il profilo resterà disponibile con le impostazioni inizialiErrore nella creazione del nuovo profilo. %sErrore nella modifica del profilo: {0}. {1}Eliminare il server in modo permanente? Questa azione eliminerà anche tutti i messaggi associatiSottolineato>> Velocità normale <<>>> Dissolvi tra >>>>>> Trasferisci tra >>>Non c'è il percorso ad una directory: '%s'Indicatore VU per il flusso audioUna lista di ritardi, separati da virgola, tra i vari tentativi di riconnessione. Valori errati o inferiori a 5 verranno interpretati come 5.Descrizione della vostra stazione.Un'etichetta per descrivere in modo sintetico il ruolo di questo canale audio.Un limiter predittivo. I segnali audio vengono bloccati al limite superioreUn indicatore a tenuta di picco che indica la potenza del segnale e uno che indica l'attenuazione del livello del microfono da parte dell'elaboratore di segnale. Il verde indica l'attenuazione del noise gate, il giallo del de-esser. Il rosso del limiter.Un indicatore a tenuta di picco che indica la potenza del segnale audio trasmesso.Una tabella di server cui connettersi. Soltanto un server principale può essere aggiunto per trasmettere flussi. Tutti gli altri server compariranno sotto il server principale nella lista allo scopo di raccogliere statistiche che possono essere attivate per ciascun server.Una funzionalità utile da attivare mentre si allocano i canaliAIMCircaAgisci seAzioneAttivoAggiungi musicaAggiunge qualsiasi altro riquadro ID3. es. TIT2: Titolo alternativo Verrà accodato la TIT2 principale. Inserire riquadri definiti dall'utente in questo modo: TXXX:pinco=pallo Per ulteriori informazioni visitare www.id3.org.Aggiungi musica alla playlist di sinistraAggiungi musica alla playlist di destraAggiungi tracce alla playlistRegola diDopo un certo numero di secondi che il lettore principale è attivo, l'indicatore di stato di questo pulsante inizierà a lampeggiare e continuerà a farlo finché il pulsante non sarà rilasciato o finché non verrò fermata la riproduzione.AlbumTuttoTutte le registrazioni ed i flussi radio verranno interrotti.Tutte le registrazioni verranno interrotte.Tutti i tipi di fileTutti flussi radio verranno interrotti.Altera valoreAlternaSempreAvvisoAnnunciAppendiAccoda dal cursoreAccoda dal cursoreArtistaAssumi che la connessione sia in fase di salvataggio e riconnettiti.Una volta connesso:Audio FeedAudio al DJAudio al flussoConnessione automatica al server ad un orario specifico nel formato a 24 ore, la mezzanotte è indicata con 00:00Disconnessione automatica al server ad un orario specifico nel formato a 24 ore, la mezzanotte è indicata con 00:00BackSpaceTag erratoControlli baseTrasmettitore baseIngresso sempliceInizioBiasScorciatoieBitrateDimensione bloccoAumenta/Taglia (dB)Entrambi i lettoriInneschi apertura pulsantePer estensioneNon posso rinominare il profilo {0} in {1}, {1} è già presente.ChCanaleGestore canaleCanale abilita l'uscitaCanale imposta bilanciamenoCanale imposta guadagnoCanale imposta volumeCanaliCanali/UtentiScegli una cartella per la musicaScegli una cartella per i mediaScegli un file playlistScegli un playlist fileScegliete in quale directory salvare. Tutti i nomi dei file avranno un formato basato su data e tempo e avranno una estensione ogg, mp3 o flac. Importante: dovete scegliere una cartella per la quale avete i permessi necessari alla scrittura.Scegli quale flusso registrare o l'opzione 24bit FLAC. Se il flusso non è già attivo il codificatore verrà avviato automaticamente con le impostazioni attualmente configurate.ChiusoColoriConfigurazioneViene chiesta una conferma per chiudere IDJC.ConnettiConnetti al server usando il protocollo SSL. Questa funzionalità è disponibile anche su porte diverse dalla standard ed è piuttosto diffusa nonostante non sia universalmente disponibile.ConnessioneLe informazioni per AOL vanno inserite qui.Timer di connessione:Dettagli del contattoCollaboratoriControlloCopiaNon posso scrivere il file %s.Crea un nuovo annuncioDissolviCrossfaderAccodaPlaylist da file cueStringa personalizzata per i navigatoriFrequenza di taglioDJLivello audio DJNome DJDatabaseDe-esserDisattivatoRitardoTempi di ritardoDescrizionePulsante cursore/premutoScarta i dati audio finché è necessario.DisconnettiDisconnetti chiunque stia usando il server poco prima dell'inizio.DuckerDuplicaDurataOgnuna di queste linguette rappresenta un flusso. I colori del LED indicano: Vuoto=Non connesso Giallo=In attesa di autenticazione. Verde=Connesso. Lampeggiante=Perdita di pacchetti a causa di una cattiva connessione.Ognuna di queste linguette rappresenta un registratore di flusso. I colori del LED indicano: Vuoto=Fermo Giallo=Pausa Rosso=Registrazione.Ogni pulsante ha due barre verticali ai lati per renderne chiaro lo stato. Queste impostazioni ne controllano la grafica.Modifica le scorciatoie per i controlliModifica i dettagli della connessioneModifica il profilo %sEffettoEfficace solo sulle tracce avviate ex-novo VuotoAbilita il controllo di velocità di riproduzione sul lettore principaleAbilita suggerimentiFineInterrompi tracce che contengono lunghi passaggi di silenzioAllarga la finestra del tempo trascorso/restanteInserisci i dettagli della connessione al serverInserisci il tuo nome DJ o il nome della stazione. Tipicamente queste informazioni saranno visualizzate attraverso i programmi usati dagli ascoltatori.Errore nel tentativo di rinominare {0} in {1}.ScambiaEstensioneEsternaPlaylist esternaExtra ShoutcastDissolvenzaDissolvi 10secDissolvi 5secDissolvenza in uscitaLettore inattivoAlternativaVeloceImpostazioni funzionalitàTipo fileNome fileNome file:Riempi il vuoto dell'indicatore per il canaleFiltriFineLettore attivoFormatoStringa di formattazioneLa frequenza in Hertz sopra la quale l'audio viene fatto passare ai livelli successivi. Usare questa funzionalità per eliminare i suoni sulle basse frequenze quali il ronzio. Impostare questo valore troppo elevato renderà il suono della voce 'sottile'Da quiDall'album, %sTutte le funzionalitàRicerca approssimativaGuadagnoGeneraleGenereGenere(i)Controlli di gruppoDettaglio HFAvvia uno dei registratori automaticamente quando una connessione al server va a buon fine.Avvia uno dei lettori automaticamente quando una connessione al server va a buon fine.Filtro passa altoTenutaNome hostNomehost/Indirizzo IPICQLe informazioni per ICQ vanno inserite qui.Uscita IDJCPreferenze IDJCGestore dei profili IDJCIl tagger IDJCIRCServer IRCMessaggio di fuori onda IRCMessaggio di in onda di IRCMessaggio a tempo IRCAnnuncio traccia IRCIcecast 2 MasterIcecast 2 Stats/RelayIconaImpostate questo campo anche per server che consentono l'accesso pubblico anonimo.Se connessoSe la connessione si interrompe riconnettiti al serverSe questo valore è impostato verrà effettuato un tentativo di acquisire il vostro primo nickname IRC (se necessario) ed accedere in NickServ@services. L'utilizzo del servizio NickServ necessista la preventiva registrazione del nickname sulla rete utilizzando un client regolare.Controlli playlist ignoratiIn IDJC ci sono due percorsi per l'audio e questo '{0}' controllo passa dall'uno all'altro. Se '{1}' è attivo ascolterete quello che sentono gli ascoltatori, inclusi gli effetti della dissolvenza. '{0}' deve essere impostato su '{2}' per utilizzare al meglio le funzionalità VoIPInvia al mix del DJIndIndica il numero dei pulsanti e dei numeri di canale associatiIndica con quale modalità verrà avviato IDJCControlli individualiIngressoInserisci attributoInserisci un attributo o un codice coloreInserisci controlloInterazioneLe informazioni per IRC vanno inserite quiIntervalloInverti il segnaleElementoPorte JACKPassa all'inizioTieni nascosta la finestra della riconnessone ad ogni tentativo.TastoAzione da tastieraLDettagli LFUltima eseguitaIl click sinistro cambia dal mostrare il tempo trascorso o restante della traccia in esecuzione.Lettore sinistroLicenzaLimiterIndirizzo di ascolto (URL)In attesa di input...AscoltatoriIn attesta di inputNome utenteRiproduci in cicloPlaylist M3UMIDI controlloMIDI notaMIDI controllo della tonalità Pulsante del pannello principalePulsanti di apertura del pannello principaleRendi pubblicoRende l'uscita di questo lettore udibile dal DJManda in onda l'audio di questo lettoreFa in modo che l'audio del microfono sia udibile nel mix del DJ. Non sempre è desiderabile.ManualePassword di amministrazione del server principaleMessaggioMeta TagMetadatiSorgente dei metadatiI metadati di solito vengono aggiornati quando cambia il titolo della song in esecuzione ma potete forzare un aggiornamento automatico qui.Metadati:Mezzo/MetàImpostazioni varieMissa l'audio del VoIP solo al DJManda in onda l'audio del VoIPModifica o elimina questo annuncioMonitoraggio MixMonitora il FlussoPiù utile se si lancia il comando 'amixer', in particolare per impostare la registrazione.Punto di montaggioSposta il crossfader a sinistraSposta il crossfader a destraSposta il crossfader a metà della corsaNativoReteMaiNuovo profilo basato su %sDettagli del nuovo profiloTraccia successivaTraccia successivaNickServ p/wNicknameNessun canale da abilitareNessun dissolvenzaNessun server principale configuratoNoise GateNessunaNormaleVelocità normaleNotaSfasamentoIn chiusuraAll'avvioSe il flusso non è attivoSe il flusso è attivoObiettivoPulsante a singolo colpoApriApertoCampo opzionale a scopo informativo.Altre opzioniUscitaPLS playlistAbbinato al canale %sAvviaPasswordPercorsoMetti in pausaPausaEsegue le operazioni su più server alla volta.Rotatore di faseRiproduciRiproduci tuttoRiproduciLettoreLettore 1Lettore 2Lettore abilita l'uscita DJLettore solo al DJ Qualità di ricampionamento del lettoreImpostazioni del lettore all'avvioFerma lettoreFerma lettore 2Lettore avanzaLettore suona la prossimaLettore suona la precedenteLettore suona la selezione dall'inizioLettore riproduci/pausaLettore seleziona la successivaLettore seleziona la precedenteLettore imposta il bilanciamentoLettore imposta il gainLettore imposta variazione tonoLettore Imposta il volumeLettore fermaLettore ferma 2Lettore abilita il flussoLettori supera dissolvenzaLettori imposta dissolvenzaLettori imposta focusLettori mostra alzamento tonoRiproduzione traccia {0} di {1}PlaylistPlaylist 1Playlist 2Modalità playlistPulsante di avanzamento playlistPlaylist modifica i tagLettore inserisci annuncioPlaylist inserisci dissolvenzaPlaylist inserisci salto all'inizioPlaylist inserisci abbassamento tonoPlaylist inserisci stopPlaylist inserisci stop 2Lettore inserisci trasferimentoTipi di playlist (*.m3u, *.xspf, *.pls)Sto popolandoPortaNumero portaPreferenzePrependiPrependi dal cursorePrependi dal cursorePremutoTraccia precedenteIngresso elaboratoProfiloIl profilo %s è attivo.ProfiliPubblicate la vostra stazione su un sito. Il sito in questione dipenderà dalla configurazione del server cui vi connettete.CalmoRCasualeSalto casualeNome realeRegistraRegistratoreRegistratore imposta registrazioneTempo di registrazione trascorso.Riduce i suoni delle S,T e P che i microfoni normalmente tendono ad accentuare. Il controllo Bias verrà impostato in modo che il de-esser sia spento nei momenti di silenzio ma sia sufficentemente alto da non rendere udibili i click del mouse.Riduce i suoni sommessi indesiderati ed il rumore di fondo che non volete venga udito dagli ascoltatori.Guadagno relativo (dB)RilascioRilasciatoRilasciato sotto la Licenza Pubblica Generica GNU, V2.0Rilasciato sotto la GNU General Public License V2.0 o successiva.RestanteRicordaRimuoviRimuove i contenutiRipetiRipeti all'infinito la sequenza dei ritardiReplayGainRispostaRipristina la sessione precedenteInvertitoLettore destroAvvia con funzionalità ridotte, diminuisce il carico sulla CPU e occupa meno spazio sullo schermo.Avvia con tutte le funzionalità, consuma più CPUSSLSalvaSalva la playlist di sinistraSalva la playlist di destraSeconda sceltaSeleziona il tipo di fileSeleziona la cartella in cui registrareSelezionare questa opzione per usare un cursore indipendente per il lettore di destra e sinistra.Cursori del volume separati per i lettori destro/sinistroTipo serverImpostare questa opzione nell'eventualità che il server o il suo firewall rifiutino esplicitamente connessioni da client che usano libshout.Imposta aImposta valoreComando ShellModificatoriShoucastShoutcast MasterIcecast 2 Stats/RelayCorrispondenza segnaleRegistrazione(i) in simultaneaTrasmissione(i) in simultaneaControllo unicoCanzoneAvviso sonoro quando la musica si avvicina alla fineFonteLivelliAvvia completoAvvia minimaleLettore inizialeAvvia il registratoreAspetto dell'indicatore di statoPanorama StereoIl panorama stereo è la scelta del posizionamento dell'audio, da destra a sinistra, in un mix stereofonico. Questo controllo mantiene costante la potenza del segnale in tutto il suo percorso attenuando entrambi i canali di -3dB nel punto di mezzo. Se volete i 0dB di potenza anche nel punto di mezzo allora dovrete disattivare questa opzione.Interrompi la registrazioneFerma la registrazioneInterrompi il flussoFermaFlussoInformazioni flussoFlusso registratore Flusso imposta connessioneFlussiFormati di media supportatiMedia supportatiObiettivoCreazione della cartella temporanea fallita.TestoIl pannello '%s' determina come viene gestito l'ingresso e con quale effetto.L'indirizzo (URL) della vostra stazione. Questo ed il resto delle informazioni qui sotto sono da intendersi come visualizzabili su di un sito web che fornisce una lista di stazioni.La quantità di headroom richiesta (dB)Questo pulsante sarà raggruppato insieme ai pulsanti degli altri microfoni. Sarà agito dai segnali per spegnere i microfoni. I canali associati con questo pulsante saranno missati in modo diverso quando vengono usate le modalità VoIP.Il profilo scelto è attualmente in uso.Il numero cumulato di ascoltatori per tutti i server.La lista di canali e/o utenti, separati da virgola o spazio, ai quali verrà inviato il messaggio. I canali protetti sono inclusi nella forma: #canale:parolachiaveIl piano da attuare nel caso il buffer si stia riempiendo è...I controlli per configurare un flusso.Il crossfaderIl profilo baseIl ritardo del messaggio. Tipicamente i client degli ascoltatori memorizzeranno circa dieci secondi di audio il che vuol dire che ascolteranno il flusso con lo stesso ritardo, quindi senza un ritardo il messaggi IRC apparirebbero all'ascoltatore altrettanti secondi in anticipo rispetto all'audio. Questa impostazione consente di sincronizzare il cambio di traccia con il messaggio.Il ducker riduce automaticamente il livello dell'audio quando il DJ parla. Queste impostazioni ti consentono di regolare la tempistica della riduzione dell'audio.Il testo cui ricorrere quando i metadati %r %t %l non sono disponibili. Guarda il formato dell stringa sulla sinitra.La prima metà di un binding è l'input che proviene nella forma di un tasto premuto della tastiera o di un evento di un dispositivo midi. La selezione dell'input può essere fatta manualmente o con l'ausilio dell'opzione '%s'.L'headroom è la riduzione in dB da applicare al volume del lettore quando questo opener è attivo. Notare che la riduzione attuale sarà relativa al valore più alto tra tutti i pulsanti aperti.L'intervallo in secondi del messaggio temporizzatoIl messaggio da inviare. Sulla finestra di pop-up (clic con il tasto destro del mouse) ci sono alcune opzioni utili per includere i metadati e per la formattazione del testo. La finestra in basso mostra il messaggio così come apparirà agli utenti di XChat.Il genere musicale che offrirete.Il nuovo nome profilo non è valido.L'iconda del pulsante di apertura.Il testo del pulsante di aperturaLa directory del profilo '%s' esiste già.La lunghezza del profilo è eccessiva (max %d caratteri)Il nome reale che volete utilizzare e che sarà sempre disponibile a prescindere se per la connessione viene usato il nickname primario o meno. Dovreste impostarlo.La modalità di elaborazione del segnaleIl modello '%s' non è valido.Il volume del flusso da inviare alla connessione VoIPIl totale degli ascoltatori per questo serverIl profilo del modello '%s' non esiste.La finestra del tempo trascorso/restante a volte non compare grande abbastanza a causa di impostazioni anomale dei DPI o per l'utilizzo di motori di rendering diversi. Questa opzione sistema le cose.Il tempo in secondi che impiegherà il crossfader per passare da una parte all'altra quando viene premuto il pulsante qui a destra.Lo sfasamento con l'intervallo specificato qui sotto con cui il messaggio verrà recapitato.Il controllo del volume per il lettore di sinistraIl volume del lettore di destra.Il controllo del volume per entrambi i lettoriQuesti controlli servono per ottenere una corrispondenza decente tra microfoni.Queste impostazioni avranno effetto dopo il riavvio.Terza sceltaQuestoRegola la velocità di riproduzione tra il 25% ed il 400%.Regola il livello dell'audio del DJQuesto pulsante muove il crossfader fino alla parte opposta nel lasso di tempo specificato qui a sinistraQuesto apre il microfonoQuesto pulsante scorre la playlist attiva facendo una pausa tra le tracce. La playlist attiva viene dedotta dal posizionamento del crossfaderQuesto pulsante lampeggerà per ricordarvi di chiuderloRegola l'allocazione dei pulsanti apri/chiudi sul pannello principale. Un pulsante che controlla più microfoni può far risparmiare del tempo.Controlla il tempo di dissolvenza tra tracceQuesta impostazione potrebbe migliorare la qualità del suondo su schede audio a 24bitQuesta funzionalità elabora l'audio del microfono in modo di renderlo più costante. L'effetto è particolarmente distinguibile sulle voci maschili.Questa funzionalità necessita dell'installazione di python-irclibIndica lo stato dei vari flussi. Il lampeggiamento indica che i pacchetti del flusso vengono perduti perché la rete è congestionata. Un rosso parziale indica che il buffer di invio è parzialmente pieno, ovvero difficoltà di comunicazione con il server. Verde indica che tutto è a posto.Tentativo %d. Non ci sono limiti ai tentativi.Occorre per le statistiche e per i kick sui server principali che hanno una password di amministrazione impostata. Per chi riempie questo campo (la password della fonte è sufficente)Questa opzione fa apparire più linguette sotto la playlist che consentono di regolare la velocità di riproduzione tra il 25% ed il 400% e un pulsante per la velocità normale.Consente di selezionare la curva di risposta del crossfader. Le attenuzioni nel punto di mezzo sono -3dB, 0dB e -22dB rispettivamente.Da scansionare per il pubblico in ascoltoReimposta la normale velocità di riproduzione Imposta la modalità della playlist, che definisce il comportamento del lettore dopo che una traccia è stata eseguita. 'Riproduci tutto' è la modalità più versatile perché consente di usare gli elementi di controllo disponibili nel menù contestuale della playlist, accessibile con il clic destro. Se non sono presenti elementi di controllo le tracce verranno riprodotte sequenzialmente fino alla fine della playlist dopodiché il lettore si fermerà. 'Riproduci in ciclo' fa in modo che le tracce vengano riprodottein sequenza, iniziando da capo una volta raggiunta la fine della playlist. 'Casuale' le tracce verranno riprodotte all'infinito e casualmente. 'Manuale' il lettore si fermerà alla fine di ogni traccia. 'Accoda' come per Manuale ma che la traccia successiva verrà evidenziata. 'Esterna' prende le tracce una alla volta da una playlist esterna o da una cartella. Utile per trasmettere playlist di grosse dimensioni. 'Alterna' fa in modo che la traccia successiva sia messa in coda prima di avviare l'altro lettore. Il crossfader non viene attivato. 'Dissolvenza' nel passaggio da un lettore all'altro l'audio si sovrapporrà alla fine di ogni traccia. 'Salto casuale' sceglierà una traccia a caso dall'altra playlist.Questo cursore agisce sia come un indicatore di avanzamento che come strumento per spostarsi nella traccia attualmente in esecuzione.Questo disconnetterà chiunque stia utilizzando il server, liberandolo per un uso personale.Questo che state leggendo adesso è un suggerimento. Questa opzione li abilita o meno.Questo:SogliaTempoCronometroTitoloFino a quiNumero totale di tracce %dDurata totale %sTracciaAnnuncio tracciaTempo trascorsoTempo restanteTracce eseguiteTrasferisciTraduttoriElimina i finali sommessi ed il silenzio iniziale delle canzoniTrkRisoluzione problemiSconosciutoAvviato daLimite superioreUsa valoreUtile quando i microfoni si annullano l'un l'altro producendo un suono ovattato.Nome utenteVistaVoIP solo al DJCanale VoIPVoIP abilita l'uscitaVoIP imposta il bilanciamentoVoIP imposta guadagnoVoIP imposta volumeWHEREQuando un nickname è in uso sulla rete IRC, in fase di connessione vengono provati questi nickname, poi vengono usati di nuovo ma aggiungendo un trattino basso in coda fino a smettere. Questo fornisce a IDJC un massimo di nove nickname IRC da provare.Chiude questi altri pulsanti se apertoQuando si avvia IDJC molte delle impostazioni della finestra principale saranno come le avete lasciate. In alternativa potete specificare qui sotto come volete trovare le varie impostazioni all'avvio di IDJC.LarghezzaLiberaXChat comandoXSPF playlistAnnoQui potete inserire del testo da associare al flusso e specificare dei segnaposti %r %t %l %s per l'artista, il titolo, l'album e la canzone rispettivamente, oppure lasciare vuoto questo campo per usare i dati di base. In mancanza di metadati sufficenti il nome della canzone (%s) viene preso dal nome file, mentre gli altri segnaposti utilizzeranno il testo a destra. Se lasciato vuoto, i flussi Ogg utilizzeranno i tag standard e gli mp3 utilizzeranno %s.Potete usarlo per aumentare la quantità di basse frequenze nell'audio.Potete usarlo per aumentare la quantità di alte frequenze nell'audio._Auto_Riprova adessodescrizione del profilonon c'è il percorso ad una directory: '%s'albumun profilo esistente da usare come templateartistatenta la connessione con i server specificatinon posso scrivere il file %stesto_descrittivoerrore nella creazione del profilo: %sgenerenomepercorso_iconacrea un nuovo profilomm:ssnicknamenessun profilo impostatopercorso ad un'icona -- di base è il logo di idjc posiziona il "crossfader" per il lettore specificatoscelta_profilonome_profilodata di registrazionenome_servermodello_profilocreazione della cartella temporanea fallitail nome profilo alternativo da mostrare nella barra del titolo delle finestrei canali audio da aprire all'avvioil profilo scelto è attualmente in usoil server audio jack cui connettersiil nuovo nome profilo non è validoil profilo '%s' è in usola directory del profilo '%s' esiste giàla lunghezza del profilo è eccessiva (max %d caratteri)il nome profilo non è validoil modello '%s' non è validoil profilo del modello '%s' non esistela modalità VoIP all'avviotitolotraccia/totaleimpostazioni dell'interfaccia utenteidjc-0.8.9/po/en@boldquot.header0000644000175000017500000000247112142730006013425 00000000000000# All this catalog "translates" are quotation characters. # The msgids must be ASCII and therefore cannot contain real quotation # characters, only substitutes like grave accent (0x60), apostrophe (0x27) # and double quote (0x22). These substitutes look strange; see # http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html # # This catalog translates grave accent (0x60) and apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019). # It also translates pairs of apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019) # and pairs of quotation mark (0x22) to # left double quotation mark (U+201C) and right double quotation mark (U+201D). # # When output to an UTF-8 terminal, the quotation characters appear perfectly. # When output to an ISO-8859-1 terminal, the single quotation marks are # transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to # grave/acute accent (by libiconv), and the double quotation marks are # transliterated to 0x22. # When output to an ASCII terminal, the single quotation marks are # transliterated to apostrophes, and the double quotation marks are # transliterated to 0x22. # # This catalog furthermore displays the text between the quotation marks in # bold face, assuming the VT100/XTerm escape sequences. # idjc-0.8.9/po/stamp-po0000644000175000017500000000001212142731306011453 00000000000000timestamp idjc-0.8.9/po/LINGUAS0000644000175000017500000000007511774303101011024 00000000000000# Translations are listed here in a space separated list. it idjc-0.8.9/po/en@quot.header0000644000175000017500000000226312142730006012563 00000000000000# All this catalog "translates" are quotation characters. # The msgids must be ASCII and therefore cannot contain real quotation # characters, only substitutes like grave accent (0x60), apostrophe (0x27) # and double quote (0x22). These substitutes look strange; see # http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html # # This catalog translates grave accent (0x60) and apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019). # It also translates pairs of apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019) # and pairs of quotation mark (0x22) to # left double quotation mark (U+201C) and right double quotation mark (U+201D). # # When output to an UTF-8 terminal, the quotation characters appear perfectly. # When output to an ISO-8859-1 terminal, the single quotation marks are # transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to # grave/acute accent (by libiconv), and the double quotation marks are # transliterated to 0x22. # When output to an ASCII terminal, the single quotation marks are # transliterated to apostrophes, and the double quotation marks are # transliterated to 0x22. # idjc-0.8.9/po/POTFILES.in0000644000175000017500000000056112114637001011552 00000000000000# List of source files which contain translatable strings. python/prelims/__init__.py python/prelims/profiledialog.py python/dialogs.py python/__init__.py.in.in python/irc.py python/jingles.py python/licence_window.py python/maingui.py python/midicontrols.py python/mutagentagger.py python/songdb.py python/playergui.py python/preferences.py python/sourceclientgui.py idjc-0.8.9/po/Rules-quot0000644000175000017500000000340012142730006011773 00000000000000# Special Makefile rules for English message catalogs with quotation marks. DISTFILES.common.extra1 = quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot .SUFFIXES: .insert-header .po-update-en en@quot.po-create: $(MAKE) en@quot.po-update en@boldquot.po-create: $(MAKE) en@boldquot.po-update en@quot.po-update: en@quot.po-update-en en@boldquot.po-update: en@boldquot.po-update-en .insert-header.po-update-en: @lang=`echo $@ | sed -e 's/\.po-update-en$$//'`; \ if test "$(PACKAGE)" = "gettext"; then PATH=`pwd`/../src:$$PATH; GETTEXTLIBDIR=`cd $(top_srcdir)/src && pwd`; export GETTEXTLIBDIR; fi; \ tmpdir=`pwd`; \ echo "$$lang:"; \ ll=`echo $$lang | sed -e 's/@.*//'`; \ LC_ALL=C; export LC_ALL; \ cd $(srcdir); \ if $(MSGINIT) -i $(DOMAIN).pot --no-translator -l $$lang -o - 2>/dev/null | sed -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | $(MSGFILTER) sed -f `echo $$lang | sed -e 's/.*@//'`.sed 2>/dev/null > $$tmpdir/$$lang.new.po; then \ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ rm -f $$tmpdir/$$lang.new.po; \ else \ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ :; \ else \ echo "creation of $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ exit 1; \ fi; \ fi; \ else \ echo "creation of $$lang.po failed!" 1>&2; \ rm -f $$tmpdir/$$lang.new.po; \ fi en@quot.insert-header: insert-header.sin sed -e '/^#/d' -e 's/HEADER/en@quot.header/g' $(srcdir)/insert-header.sin > en@quot.insert-header en@boldquot.insert-header: insert-header.sin sed -e '/^#/d' -e 's/HEADER/en@boldquot.header/g' $(srcdir)/insert-header.sin > en@boldquot.insert-header mostlyclean: mostlyclean-quot mostlyclean-quot: rm -f *.insert-header idjc-0.8.9/po/remove-potcdate.sin0000644000175000017500000000066012142730006013606 00000000000000# Sed script that remove the POT-Creation-Date line in the header entry # from a POT file. # # The distinction between the first and the following occurrences of the # pattern is achieved by looking at the hold space. /^"POT-Creation-Date: .*"$/{ x # Test if the hold space is empty. s/P/P/ ta # Yes it was empty. First occurrence. Remove the line. g d bb :a # The hold space was nonempty. Following occurrences. Do nothing. x :b } idjc-0.8.9/po/idjc.pot0000644000175000017500000025044712142731306011450 00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR Stephen Fairchild # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: idjc 0.8.9\n" "Report-Msgid-Bugs-To: putidjcinthesubjectline@bethere.co.uk\n" "POT-Creation-Date: 2013-05-09 15:29+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #: python/prelims/__init__.py:101 #, python-format msgid "" "show this help message and exit -- additional help is available on each of " "the sub-commands for example: \"%(prog)s run --help\" shows the help for the " "run command" msgstr "" #. TC: a command line option help string. #: python/prelims/__init__.py:108 msgid "show the version number and exit" msgstr "" #. TC: a command line option help string. #: python/prelims/__init__.py:112 msgid "" "run the main idjc application -- this is the default when no command line " "options are specified" msgstr "" #. TC: do not translate run. #: python/prelims/__init__.py:116 msgid "-- sub-command: run -- launch the idjc application" msgstr "" #: python/prelims/__init__.py:121 msgid "make a new profile" msgstr "" #. TC: do not translate the word new. #: python/prelims/__init__.py:123 msgid "-- sub-command: new -- make a new profile" msgstr "" #. TC: a command line option help string. #: python/prelims/__init__.py:127 msgid "remove profile(s)" msgstr "" #. TC: do not translate the word rm. #: python/prelims/__init__.py:129 msgid "-- sub-command: rm -- remove profile(s)" msgstr "" #. TC: a command line option help string. #: python/prelims/__init__.py:133 msgid "select which profile is to automatically launch" msgstr "" #. TC: do not translate the word auto. #: python/prelims/__init__.py:136 msgid "-- sub-command: auto -- mark a profile for auto-launch" msgstr "" #: python/prelims/__init__.py:141 msgid "remove auto-launch" msgstr "" #: python/prelims/__init__.py:142 msgid "-- sub-command: noauto -- remove auto-launch" msgstr "" #: python/prelims/__init__.py:147 msgid "list available profiles" msgstr "" #. TC: do not translate the word ls. #: python/prelims/__init__.py:149 msgid "-- sub-command: ls -- list available profiles" msgstr "" #: python/prelims/__init__.py:153 python/prelims/__init__.py:206 #: python/prelims/__init__.py:231 python/prelims/__init__.py:236 #: python/prelims/__init__.py:241 python/prelims/__init__.py:246 msgid "show this help message and exit" msgstr "" #: python/prelims/__init__.py:156 msgid "" "force the appearance or non-appearance of the\n" " profile chooser dialog -- when used with the -p option\n" " the chosen profile is preselected" msgstr "" #: python/prelims/__init__.py:161 msgid "profile_choice" msgstr "" #: python/prelims/__init__.py:162 msgid "" "the profile to use -- overrides the user interface\n" " preferences \"show profile dialog\" option" msgstr "" #. TC: command line help placeholder. #: python/prelims/__init__.py:166 msgid "server_name" msgstr "" #: python/prelims/__init__.py:166 msgid "the named jack sound-server to connect with" msgstr "" #. TC: command line help placeholder. #: python/prelims/__init__.py:170 msgid "session_details" msgstr "" #: python/prelims/__init__.py:171 msgid "" "e.g. 'L1:name' for a named Ladish [L1] session called 'name' -- refer to the " "idjc man page for more details" msgstr "" #: python/prelims/__init__.py:176 msgid "" "At start-up do not make any JACK connections. This option delegates all " "control over restored connections to the session handler." msgstr "" #: python/prelims/__init__.py:181 msgid "" "No JACK ports will be connected except those listed in the session file." msgstr "" #: python/prelims/__init__.py:184 msgid "user interface settings" msgstr "" #: python/prelims/__init__.py:187 msgid "the audio channels to have open at startup" msgstr "" #: python/prelims/__init__.py:190 msgid "the voip mode at startup" msgstr "" #: python/prelims/__init__.py:196 msgid "attempt connection with the specified servers" msgstr "" #: python/prelims/__init__.py:199 msgid "" "kick sources on servers -- note that this will be\n" " done before any server connection attempts are made" msgstr "" #: python/prelims/__init__.py:203 msgid "position the crossfader for the specified player" msgstr "" #. TC: command line help placeholder. #: python/prelims/__init__.py:208 python/prelims/__init__.py:232 msgid "profile_name" msgstr "" #: python/prelims/__init__.py:209 msgid "" "new profile name -- will form part of the dbus\n" " bus/object/interface name and the JACK client ID --\n" " restrictions therefore apply" msgstr "" #: python/prelims/__init__.py:214 msgid "template_profile" msgstr "" #: python/prelims/__init__.py:215 msgid "an existing profile to use as a template" msgstr "" #: python/prelims/__init__.py:218 msgid "icon_pathname" msgstr "" #: python/prelims/__init__.py:219 msgid "pathname to an icon -- defaults to idjc logo" msgstr "" #: python/prelims/__init__.py:223 msgid "nickname" msgstr "" #: python/prelims/__init__.py:224 msgid "the alternate profile name to appear in window title bars" msgstr "" #: python/prelims/__init__.py:227 msgid "description_text" msgstr "" #: python/prelims/__init__.py:228 msgid "a description of the profile" msgstr "" #: python/prelims/__init__.py:233 msgid "the profile(s) to remove" msgstr "" #: python/prelims/__init__.py:238 msgid "the profile to make automatic" msgstr "" #: python/prelims/__init__.py:417 #, python-format msgid "failed to create profile: %s" msgstr "" #: python/prelims/__init__.py:424 #, python-format msgid "failed to delete profile: %s" msgstr "" #: python/prelims/__init__.py:431 #, python-format msgid "auto failed: %s" msgstr "" #: python/prelims/__init__.py:438 #, python-format msgid "noauto failed: %s" msgstr "" #: python/prelims/__init__.py:447 #, python-format msgid "ls failed: %s" msgstr "" #: python/prelims/__init__.py:466 msgid "the specified profile name is not valid" msgstr "" #: python/prelims/__init__.py:473 msgid "profile name is bad" msgstr "" #: python/prelims/__init__.py:476 python/prelims/__init__.py:744 #, python-format msgid "profile %s does not exist" msgstr "" #: python/prelims/__init__.py:479 #, python-format msgid "profile %s is already running" msgstr "" #: python/prelims/__init__.py:492 #, python-format msgid "" "Error while creating new profile.\n" "\n" "%s" msgstr "" #: python/prelims/__init__.py:510 msgid "no profile is set" msgstr "" #: python/prelims/__init__.py:517 msgid "" "failed to grab bus name -- another session by the same name appears to be " "running" msgstr "" #. TC: text appears in the title bar when in session mode. #: python/prelims/__init__.py:590 msgid "session={type}:{name}" msgstr "" #: python/prelims/__init__.py:630 #, python-format msgid "specified profile is not valid %s" msgstr "" #: python/prelims/__init__.py:633 #, python-format msgid "specified profile does not exist: %s" msgstr "" #: python/prelims/__init__.py:664 #, python-format msgid "unknown session type: %s: must be one of %s" msgstr "" #: python/prelims/__init__.py:677 #, python-format msgid "directory does not exist: %s" msgstr "" #: python/prelims/__init__.py:708 #, python-format msgid "problem with specified session directory: %s" msgstr "" #: python/prelims/__init__.py:781 #, python-format msgid "Profile %s is active." msgstr "" #: python/prelims/__init__.py:791 msgid "Cannot rename profile {0} to {1}, {1} currently exists." msgstr "" #: python/prelims/__init__.py:795 msgid "Error during attempt to rename {0} to {1}." msgstr "" #: python/prelims/__init__.py:805 msgid "" "Error while editing profile: {0}.\n" "\n" "{1}" msgstr "" #: python/prelims/__init__.py:824 msgid "could not get a lock on profile {0}: {1}" msgstr "" #: python/prelims/__init__.py:829 msgid "profile does not exist" msgstr "" #: python/prelims/__init__.py:850 #, python-format msgid "the profile '%s' is in use" msgstr "" #: python/prelims/__init__.py:872 #, python-format msgid "the profile length is too long (max %d characters)" msgstr "" #: python/prelims/__init__.py:874 #, python-format msgid "The profile length is too long (max %d characters)." msgstr "" #: python/prelims/__init__.py:878 msgid "the new profile name is not valid" msgstr "" #: python/prelims/__init__.py:879 msgid "The new profile name is not valid." msgstr "" #: python/prelims/__init__.py:884 msgid "the chosen profile is currently running" msgstr "" #: python/prelims/__init__.py:885 msgid "The chosen profile is currently running." msgstr "" #: python/prelims/__init__.py:890 msgid "temporary directory creation failed" msgstr "" #: python/prelims/__init__.py:891 msgid "Temporary directory creation failed." msgstr "" #: python/prelims/__init__.py:897 #, python-format msgid "the specified template '%s' is not valid" msgstr "" #: python/prelims/__init__.py:899 #, python-format msgid "The specified template '%s' is not valid." msgstr "" #: python/prelims/__init__.py:921 #, python-format msgid "the template profile '%s' does not exist" msgstr "" #: python/prelims/__init__.py:923 #, python-format msgid "The template profile '%s' does not exist." msgstr "" #: python/prelims/__init__.py:933 #, python-format msgid "could not write file %s" msgstr "" #: python/prelims/__init__.py:934 #, python-format msgid "Could not write file %s." msgstr "" #: python/prelims/__init__.py:942 #, python-format msgid "the profile directory '%s' already exists" msgstr "" #: python/prelims/__init__.py:944 #, python-format msgid "The profile directory '%s' already exists." msgstr "" #: python/prelims/__init__.py:947 #, python-format msgid "a non directory path exists at: '%s'" msgstr "" #: python/prelims/__init__.py:948 #, python-format msgid "A Non directory path exists at: '%s'." msgstr "" #: python/prelims/__init__.py:959 msgid "The default profile" msgstr "" #. TC: data entry dialog window title text. %s = profile name #: python/prelims/profiledialog.py:97 #, python-format msgid "Edit profile %s" msgstr "" #. TC: data entry dialog window title text. %s = profile name #: python/prelims/profiledialog.py:100 #, python-format msgid "New profile based upon %s" msgstr "" #. TC: data entry dialog window title text. #: python/prelims/profiledialog.py:104 msgid "New profile details" msgstr "" #. TC: profile dialog window title text. #: python/prelims/profiledialog.py:242 msgid "IDJC Profile Manager" msgstr "" #: python/prelims/profiledialog.py:276 msgid "Profile" msgstr "" #. TC: column heading. The profile nicknames. #. TC: IRC nickname data entry label. #: python/prelims/profiledialog.py:284 python/irc.py:449 msgid "Nickname" msgstr "" #. TC: column heading. #. TC: Station description. #: python/prelims/profiledialog.py:287 python/irc.py:86 #: python/playergui.py:308 python/sourceclientgui.py:1621 msgid "Description" msgstr "" #. TC: column heading. The time a particular profile has been running. #: python/prelims/profiledialog.py:291 msgid "Up-time" msgstr "" #: python/prelims/profiledialog.py:305 msgid "_Auto" msgstr "" #: python/prelims/profiledialog.py:364 #, python-format msgid "" "Delete the data of profile '%s'?\n" "\n" "The profile will remain available with initial settings." msgstr "" #: python/prelims/profiledialog.py:368 #, python-format msgid "" "Delete profile '%s' and all its data?\n" "\n" "The data of deleted profiles cannot be recovered." msgstr "" #. TC: The contents of <> and {} must not be changed. #: python/dialogs.py:197 msgid "" "The connection to the server in tab " "{servertab} has failed.\n" "A reconnection attempt will be made in {countdown} seconds.\n" "This is attempt number {attempt} of {maxtries}." msgstr "" #: python/dialogs.py:251 #, python-format msgid "This is attempt number %d. There is no retry limit." msgstr "" #: python/dialogs.py:280 msgid "_Retry Now" msgstr "" #: python/__init__.py.in.in:100 msgid "Copyright 2005-2013 Stephen Fairchild and others." msgstr "" #: python/__init__.py.in.in:101 msgid "Released under the GNU General Public License V2.0 or later." msgstr "" #. TC: IRC message subcategory, triggers on new track announcements. #: python/irc.py:74 msgid "Track announce" msgstr "" #. TC: IRC message subcategory, triggered by a timer. #: python/irc.py:76 msgid "Timer" msgstr "" #. TC: IRC message subcategory, triggered once when the stream starts. #: python/irc.py:78 msgid "On stream up" msgstr "" #. TC: IRC message subcategory, triggered once at the stream's end. #: python/irc.py:80 msgid "On stream down" msgstr "" #. TC: Track artist. #: python/irc.py:85 python/mutagentagger.py:375 python/songdb.py:698 #: python/songdb.py:1035 python/sourceclientgui.py:92 msgid "Artist" msgstr "" #: python/irc.py:85 python/mutagentagger.py:375 python/songdb.py:1039 #: python/sourceclientgui.py:92 msgid "Title" msgstr "" #: python/irc.py:85 python/mutagentagger.py:376 python/songdb.py:1036 #: python/sourceclientgui.py:92 msgid "Album" msgstr "" #: python/irc.py:85 python/sourceclientgui.py:93 msgid "Song name" msgstr "" #. TC: The DJ or Stream name. #: python/irc.py:86 python/sourceclientgui.py:1618 msgid "DJ name" msgstr "" #: python/irc.py:86 python/sourceclientgui.py:1619 msgid "Listen URL" msgstr "" #. TC: Popup menu item for a GTK text entry widget. #: python/irc.py:129 msgid "Insert Attribute or Colour Code" msgstr "" #. TC: Text formatting style. #: python/irc.py:166 msgid "Bold" msgstr "" #. TC: Text formatting style. #: python/irc.py:168 msgid "Underline" msgstr "" #. TC: Text formatting style. #: python/irc.py:170 msgid "Normal" msgstr "" #: python/irc.py:176 msgid "Colours" msgstr "" #: python/irc.py:393 msgid "Optional data entry field for information only." msgstr "" #. TC: Tab heading text. #: python/irc.py:396 msgid "IRC server" msgstr "" #. TC: Checkbutton label text regarding SSL security protocol. #. TC: Indicator text: We are using SSL protocol. #: python/irc.py:406 python/irc.py:1024 msgid "SSL" msgstr "" #: python/irc.py:408 msgid "" "Connect to the server using the SSL security protocol.\n" "\n" "This feature is typically offered on different ports than the standard " "connection method and is widespread but not universally available." msgstr "" #: python/irc.py:415 msgid "Manual start" msgstr "" #: python/irc.py:417 msgid "Off when restarting IDJC and off initially." msgstr "" #. TC: The IRC network e.g. EFnet. #: python/irc.py:441 msgid "Network" msgstr "" #. TC: label for hostname entry. #: python/irc.py:443 python/sourceclientgui.py:206 msgid "Hostname" msgstr "" #. TC: TCP/IP port number label. #. TC: TCP port number. #: python/irc.py:445 python/sourceclientgui.py:678 msgid "Port" msgstr "" #: python/irc.py:446 msgid "User name" msgstr "" #: python/irc.py:447 python/songdb.py:280 python/sourceclientgui.py:207 msgid "Password" msgstr "" #. TC: Second choice of IRC nickname. #: python/irc.py:451 msgid "Second choice" msgstr "" #. TC: Third choice of IRC nickname. #: python/irc.py:453 msgid "Third choice" msgstr "" #. TC: The IRC user's 'real' name. #: python/irc.py:455 msgid "Real name" msgstr "" #. TC: The NickServ password. #: python/irc.py:457 msgid "NickServ p/w" msgstr "" #. TC: Tooltip to IRC 'User name' field. #: python/irc.py:462 msgid "" "Ideally set this to something even on servers that allow public anonymous " "access." msgstr "" #. TC: tooltip to all IRC nicknames entry fields. #: python/irc.py:472 msgid "" "When a nickname is in use on the target IRC network, during connection these " "IRC nicknames are cycled through, then twice again after appending an " "additional underscore until giving up. This gives IDJC a maximum of nine IRC " "nicknames to try." msgstr "" #: python/irc.py:477 msgid "" "The real name you want to use which will be available regardless of whether " "the network connection was made with the primary nickname or not.\n" "\n" "Ideally set this to something." msgstr "" #: python/irc.py:480 msgid "" "If this value is set an attempt will be made to acquire your first choice " "IRC nickname (if needed) and log in with NickServ@services.\n" "\n" "The use of the NickServ service requires prior nickname registration on the " "network using a regular chat client." msgstr "" #: python/irc.py:508 msgid "" "Permanently delete this server?\n" "\n" "This action will also erase all of its associated messages." msgstr "" #. TC: An IRC channel #chan or user name entry box label. #: python/irc.py:555 msgid "Channels/Users" msgstr "" #: python/irc.py:559 msgid "" "The comma or space separated list of channels and/or users to whom the " "message will be sent.\n" "\n" "Protected channels are included with the form:\n" "#channel:keyword." msgstr "" #. TC: Message text to send to an IRC channel. Widget label. #: python/irc.py:566 msgid "Message" msgstr "" #: python/irc.py:570 msgid "" "The message to send.\n" "\n" "On the pop-up window (mouse right click) are some useful options for " "embedding metadata and for text formatting.\n" "\n" "The window below displays how the message will appear to users of XChat." msgstr "" #. TC: Dialog window title text. #: python/irc.py:641 msgid "IRC track announce" msgstr "" #. TC: Spinbutton label for a delay value. #: python/irc.py:648 msgid "Delay" msgstr "" #. TC: tooltip on a spinbutton widget. #: python/irc.py:650 msgid "" "The delay time of this message.\n" "\n" "Typically listener clients will buffer approximately ten seconds of audio " "data which means they are listening the same amount of time behind the " "actual stream therefore without a delay IRC messages will appear to the " "listener many seconds ahead of the audio.\n" "\n" "This setting will help synchronise the track change with the message." msgstr "" #. TC: Dialog window title text. #: python/irc.py:678 msgid "IRC timed message" msgstr "" #. TC: Spinbutton time offset value label. #: python/irc.py:687 msgid "Offset" msgstr "" #. TC: Spinbutton timed interval duration value label. #: python/irc.py:689 msgid "Interval" msgstr "" #. TC: spinbutton tooltip #: python/irc.py:692 msgid "" "The time offset within the below specified interval at which the message " "will be issued." msgstr "" #: python/irc.py:696 msgid "The interval in seconds of the timed message." msgstr "" #: python/irc.py:933 msgid "This feature requires the installation of python-irclib." msgstr "" #. TC: Indicator text: We used a password. #: python/irc.py:1027 msgid "PASSWORD" msgstr "" #. TC: Indicator text: We interact with NickServ. #: python/irc.py:1030 msgid "NICKSERV" msgstr "" #. TC: Indicator text: Server connection started manually. #: python/irc.py:1033 msgid "MANUAL" msgstr "" #. TC: Expander text encapsulating messages that play when stream goes up. #: python/irc.py:1054 msgid "IRC stream up message" msgstr "" #. TC: Expander text encapsulating messages that play when stream goes down. #: python/irc.py:1056 msgid "IRC stream down message" msgstr "" #: python/jingles.py:87 msgid "Stop" msgstr "" #. TC: Column heading, whether to play. #: python/jingles.py:105 python/playergui.py:300 msgid "Play" msgstr "" #: python/jingles.py:114 python/sourceclientgui.py:1018 msgid "Repeat" msgstr "" #: python/jingles.py:125 msgid "Configure" msgstr "" #: python/jingles.py:299 python/playergui.py:4001 msgid "Supported media" msgstr "" #: python/jingles.py:306 #, python-format msgid "Effect %d Config" msgstr "" #: python/jingles.py:321 msgid "Trigger text" msgstr "" #: python/jingles.py:322 msgid "No Name" msgstr "" #: python/jingles.py:329 msgid "Level adjustment (dB)" msgstr "" #: python/jingles.py:384 msgid "Effects volume." msgstr "" #: python/jingles.py:391 msgid "Player headroom that is applied when an effect is playing." msgstr "" #: python/jingles.py:454 msgid "Alternative" msgstr "" #: python/jingles.py:455 msgid "Default" msgstr "" #: python/jingles.py:500 msgid "Effects" msgstr "" #: python/jingles.py:543 #, python-format msgid "Effects %d" msgstr "" #: python/jingles.py:551 python/maingui.py:188 msgid "Background Tracks" msgstr "" #: python/jingles.py:570 msgid "Background Tracks volume." msgstr "" #: python/maingui.py:92 msgid "Show a JACK freewheel control on the main panel" msgstr "" #: python/maingui.py:94 msgid "Toggle JACK freewheel mode." msgstr "" #: python/maingui.py:167 msgid "File" msgstr "" #: python/maingui.py:167 python/preferences.py:1005 msgid "View" msgstr "" #: python/maingui.py:168 msgid "JACK Ports" msgstr "" #: python/maingui.py:168 msgid "Help" msgstr "" #: python/maingui.py:170 python/maingui.py:3636 msgid "Streams" msgstr "" #: python/maingui.py:171 msgid "Recorders" msgstr "" #: python/maingui.py:184 python/maingui.py:223 msgid "Output" msgstr "" #: python/maingui.py:184 msgid "Preferences" msgstr "" #: python/maingui.py:184 msgid "Profiles" msgstr "" #: python/maingui.py:187 python/songdb.py:353 msgid "Music Database" msgstr "" #: python/maingui.py:187 msgid "Channel Meters" msgstr "" #: python/maingui.py:187 msgid "Output Meters" msgstr "" #: python/maingui.py:188 msgid "Tabbed Area" msgstr "" #: python/maingui.py:188 msgid "Button Bar" msgstr "" #: python/maingui.py:222 python/preferences.py:1353 msgid "Channels" msgstr "" #: python/maingui.py:222 msgid "Players" msgstr "" #: python/maingui.py:223 msgid "VoIP" msgstr "" #: python/maingui.py:223 python/maingui.py:3075 msgid "DSP" msgstr "" #: python/maingui.py:223 msgid "Mix" msgstr "" #: python/maingui.py:223 msgid "Misc" msgstr "" #: python/maingui.py:268 msgid "Reset" msgstr "" #: python/maingui.py:271 msgid "Reset the JACK port connections to the default settings." msgstr "" #: python/maingui.py:276 msgid "" "Reset all JACK port connections?\n" "\n" "All currently established connections will be lost\n" "and replaced with defaults." msgstr "" #: python/maingui.py:320 msgid "No compatible ports available." msgstr "" #: python/maingui.py:363 msgid "{0} profile={1}:{2} settings saved." msgstr "" #: python/maingui.py:366 msgid "{0} session={1}:{2} settings saved." msgstr "" #: python/maingui.py:670 msgid "Text" msgstr "" #: python/maingui.py:673 msgid "The opener button's text." msgstr "" #: python/maingui.py:681 msgid "Icon" msgstr "" #: python/maingui.py:689 msgid "The opener button's icon." msgstr "" #: python/maingui.py:697 msgid "" "The headroom is the amount by which to reduce player volume when this opener " "is active. Note that the actual amount will be the largest value of all the " "currently open buttons." msgstr "" #: python/maingui.py:702 msgid "The amount of headroom required (dB)" msgstr "" #: python/maingui.py:711 msgid "This button will flash as a reminder to close" msgstr "" #: python/maingui.py:712 msgid "" "After a number of seconds where a main player is active this button's status " "indicator will start to flash and will continue to do so until the button is " "closed or the player stops." msgstr "" #: python/maingui.py:720 msgid "This button is to be treated as a microphone opener" msgstr "" #: python/maingui.py:722 msgid "" "The button will be grouped with the other microphone opener buttons. It will " "be affected by signals to close microphone buttons. Channels associated with " "this button will be mixed differently when using the VoIP modes." msgstr "" #: python/maingui.py:733 msgid "" "This should be set for all buttons that control input from a live sound " "source or device." msgstr "" #: python/maingui.py:736 msgid "Button Open Triggers" msgstr "" #: python/maingui.py:743 msgid "Playlist advance button" msgstr "" #: python/maingui.py:744 python/maingui.py:745 #, python-format msgid "'%s' control" msgstr "" #. TC: Insert playlist control to stop the player. #: python/maingui.py:744 python/playergui.py:4259 msgid "Player Stop" msgstr "" #. TC: Insert playlist control to stop the player. #: python/maingui.py:745 python/playergui.py:4266 msgid "Player Stop 2" msgstr "" #: python/maingui.py:746 msgid "Announcements" msgstr "" #: python/maingui.py:758 msgid "When opened close these other buttons" msgstr "" #: python/maingui.py:769 msgid "Shell Command" msgstr "" #: python/maingui.py:770 msgid "" "Mostly useful issuing 'amixer' commands, in particular for setting capture." msgstr "" #: python/maingui.py:790 msgid "On open" msgstr "" #: python/maingui.py:791 msgid "On close" msgstr "" #: python/maingui.py:835 msgid "Main Panel Opener Buttons" msgstr "" #: python/maingui.py:847 msgid "Indicate button numbers and associated channel numbers" msgstr "" #: python/maingui.py:849 msgid "A useful feature to have switched on while allocating channel openers." msgstr "" #: python/maingui.py:855 msgid "Status Indicator Appearance" msgstr "" #: python/maingui.py:858 msgid "" "Each opener button has two vertical bars at the side to make the button " "state more apparent. These settings control their appearance." msgstr "" #: python/maingui.py:867 msgid "Width" msgstr "" #: python/maingui.py:874 msgid "Opened" msgstr "" #: python/maingui.py:878 python/preferences.py:350 python/preferences.py:352 msgid "Closed" msgstr "" #: python/maingui.py:883 msgid "Remind" msgstr "" #. TC: A placeholder text for when there are no opener buttons. #: python/maingui.py:1064 msgid "No Channel Opener Buttons" msgstr "" #: python/maingui.py:1353 msgid "" "This indicates the state of the various streams. Flashing means stream " "packets are being discarded because of network congestion. Partial red means " "the send buffer is partially full indicating difficulty communicating with " "the server. Green means everything is okay." msgstr "" #: python/maingui.py:1376 msgid "The combined total number of listeners in all server tabs." msgstr "" #. TC: Record as in, to make a recording. #: python/maingui.py:1824 python/sourceclientgui.py:2671 msgid "Record" msgstr "" #: python/maingui.py:2603 msgid "Confirmation to quit IDJC is required." msgstr "" #: python/maingui.py:2607 msgid "All active recordings and radio streams will terminate." msgstr "" #: python/maingui.py:2609 msgid "All of the active radio streams will terminate." msgstr "" #: python/maingui.py:2611 msgid "All active recordings will cease." msgstr "" #. TC: Popup menu item, wipes away the tracks played history text. #: python/maingui.py:2867 python/maingui.py:3300 msgid "Remove Contents" msgstr "" #: python/maingui.py:3023 msgid "Renameable Labels" msgstr "" #: python/maingui.py:3047 msgid "Main Players" msgstr "" #: python/maingui.py:3099 msgid "Mix voice over IP audio to the output stream." msgstr "" #: python/maingui.py:3112 msgid "Mix voice over IP audio to the DJ only." msgstr "" #: python/maingui.py:3140 msgid "" "This button steps through the active playlist, pausing between tracks. The " "active playlist is defined by the placement of the crossfader." msgstr "" #: python/maingui.py:3185 python/preferences.py:754 msgid "The volume control shared by both music players." msgstr "" #: python/maingui.py:3196 msgid "The volume control for the right music player." msgstr "" #: python/maingui.py:3224 msgid "VoIP level adjustment. 0dB gain is at the mid point." msgstr "" #: python/maingui.py:3247 msgid "The stream volume level to send to the voice over IP connection." msgstr "" #: python/maingui.py:3274 python/preferences.py:1288 msgid "Tracks Played" msgstr "" #: python/maingui.py:3345 python/maingui.py:3347 python/maingui.py:3371 msgid "Monitor Mix" msgstr "" #: python/maingui.py:3354 python/maingui.py:3371 python/playergui.py:4200 msgid "DJ" msgstr "" #. TC: binding editor, action pane, first row, toplevel menu. #: python/maingui.py:3357 python/maingui.py:3371 python/midicontrols.py:151 #: python/midicontrols.py:1483 python/playergui.py:4192 #: python/sourceclientgui.py:2679 msgid "Stream" msgstr "" #. TC: Context {0}, {1}, {2} = Monitor Mix, Stream, DJ #. TC: Or whatever they become translated to. #: python/maingui.py:3367 msgid "" "In IDJC there are are two audio paths and this '{0}' control toggles between " "them. When '{1}' is active you can hear what the listeners are hearing " "including the effects of the crossfader. '{0}' needs to be set to '{2}' in " "order to make proper use of the VoIP features." msgstr "" #. TC: Dropdown box title text widget. #: python/maingui.py:3380 python/maingui.py:3382 msgid "Metadata Source" msgstr "" #. TC: The chosen source of track metadata. #: python/maingui.py:3388 python/playergui.py:3910 msgid "Playlist 1" msgstr "" #. TC: The chosen source of track metadata. #: python/maingui.py:3390 python/playergui.py:3911 msgid "Playlist 2" msgstr "" #. TC: The chosen source of track metadata. #: python/maingui.py:3392 msgid "Last Played" msgstr "" #. TC: The chosen source of track metadata. #: python/maingui.py:3394 python/maingui.py:3431 python/maingui.py:3433 msgid "Crossfader" msgstr "" #. TC: The chosen source of track metadata. In this case no metadata. #. TC: Fade time is zero. No fade, none. #: python/maingui.py:3396 python/playergui.py:4175 msgid "None" msgstr "" #. TC: The chosen source of track metadata. In this case no metadata. #: python/maingui.py:3398 msgid "Playlist 3" msgstr "" #: python/maingui.py:3403 msgid "Select the origin for the playing track metadata on the stream." msgstr "" #. TC: Abbreviation of left. #: python/maingui.py:3413 python/maingui.py:3415 python/preferences.py:391 msgid "L" msgstr "" #: python/maingui.py:3425 msgid "Move the crossfader fully left." msgstr "" #: python/maingui.py:3445 msgid "The crossfader." msgstr "" #. TC: Abbreviation of right. #: python/maingui.py:3449 python/maingui.py:3451 python/preferences.py:402 msgid "R" msgstr "" #: python/maingui.py:3461 msgid "Move the crossfader fully right." msgstr "" #. TC: Describes a mid point. #: python/maingui.py:3470 python/maingui.py:3472 msgid "Middle" msgstr "" #: python/maingui.py:3489 python/maingui.py:3496 msgid "Move the crossfader to the middle of its range of travel." msgstr "" #. TC: The attenuation response curve of the crossfader. User selectable. #: python/maingui.py:3501 python/maingui.py:3503 msgid "Response" msgstr "" #: python/maingui.py:3525 msgid "" "This selects the response curve of the crossfader.\n" "\n" "The mid-point attenuations are -3dB, 0dB, and -22dB respectively." msgstr "" #. TC: Duration in seconds. #: python/maingui.py:3539 python/maingui.py:3541 msgid "Time" msgstr "" #: python/maingui.py:3558 msgid "" "The time in seconds that the crossfader will take to automatically pass " "across when the button to the right is clicked." msgstr "" #. TC: The crossfader pass-across button text. #. TC: The actual button appears as [<-->] with this text above it. #: python/maingui.py:3567 python/maingui.py:3569 msgid "Pass" msgstr "" #: python/maingui.py:3582 msgid "" "This button causes the crossfader to move to the opposite side at a speed " "determined by the speed selector to the left." msgstr "" #: python/maingui.py:3625 msgid "Peak" msgstr "" #: python/maingui.py:3628 msgid "A peak hold meter indicating the signal strength of the stream audio." msgstr "" #. TC: This text appears above the stream mix VU meter. #: python/maingui.py:3650 msgid "VU" msgstr "" #: python/maingui.py:3654 msgid "A VU meter for the stream audio." msgstr "" #. TC: Appears above the mic meters as a label followed by a number. #: python/maingui.py:3657 msgid "Ch" msgstr "" #: python/maingui.py:3684 msgid "" "A peak hold meter indicating the microphone signal strength and a meter " "indicating attenuation levels in the microphone signal processing system. " "Green indicates attenuation from the noise gate, yellow from the de-esser, " "red from the limiter." msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:47 msgid "Tooltips enable" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:49 msgid "DJ-mix monitor" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:52 msgid "Player play/pause" msgstr "" #. TC: Control method. Please keep it as Target:Action. #. TC: Playlist control. #: python/midicontrols.py:54 python/playergui.py:3668 msgid "Player stop" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:56 msgid "Player advance" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:58 msgid "Player play previous" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:60 msgid "Player play next" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:62 msgid "Player play selected from start" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:64 msgid "Player select previous" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:66 msgid "Player select next" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:68 msgid "Player stream output enable" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:70 msgid "Player DJ output enable" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:72 msgid "Player DJ-only switch" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:74 msgid "Player set volume" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:76 msgid "Player set gain" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:78 msgid "Player set balance" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:80 msgid "Player set pitchbend" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:83 msgid "Playlist edit tags" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:85 msgid "Playlist insert stop" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:87 msgid "Playlist insert stop 2" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:89 msgid "Playlist insert announce" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:91 msgid "Playlist insert transfer" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:93 msgid "Playlist insert crossfade" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:95 msgid "Playlist insert pitchunbend" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:97 msgid "Playlist insert jump to top" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:100 msgid "Players set crossfade" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:102 msgid "Players pass crossfade" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:104 msgid "Players set focus" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:106 msgid "Players show pitchbend" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:109 msgid "Channel output enable" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:111 msgid "Channel set volume" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:113 msgid "Channel set gain" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:115 msgid "Channel set balance" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:118 msgid "VoIP output enable" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:120 msgid "VoIP DJ-only switch" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:122 msgid "VoIP set volume" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:124 msgid "VoIP set mixback" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:126 msgid "VoIP set gain" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:128 msgid "VoIP set balance" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:131 msgid "Effect play from start" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:134 msgid "Effects stop many" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:136 msgid "Effects set volume" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:138 msgid "Effects set headroom" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:141 msgid "Stream set connected" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:144 msgid "Recorder set recording" msgstr "" #. TC: binding editor, action pane, first row, toplevel menu. #: python/midicontrols.py:148 python/midicontrols.py:1471 msgid "Player" msgstr "" #. TC: binding editor, action pane, first row, toplevel menu. #. TC: The midi channel. #. TC: Specifically, the numerical midi channel. #: python/midicontrols.py:149 python/midicontrols.py:1475 #: python/midicontrols.py:1544 python/midicontrols.py:1734 msgid "Channel" msgstr "" #: python/midicontrols.py:150 python/preferences.py:481 #: python/preferences.py:491 msgid "Effect" msgstr "" #: python/midicontrols.py:152 msgid "Recorder" msgstr "" #: python/midicontrols.py:156 msgid "Left player" msgstr "" #: python/midicontrols.py:157 msgid "Right player" msgstr "" #: python/midicontrols.py:158 msgid "Background player" msgstr "" #: python/midicontrols.py:159 msgid "Focused player" msgstr "" #: python/midicontrols.py:160 msgid "Fadered player" msgstr "" #: python/midicontrols.py:164 msgid "Effects bank 1" msgstr "" #: python/midicontrols.py:165 msgid "Effects bank 2" msgstr "" #: python/midicontrols.py:166 msgid "All effects" msgstr "" #. TC: The name of the backspace key. #: python/midicontrols.py:400 msgid "BackSpace" msgstr "" #. TC: binding editor, action pane, third row, heading text. #: python/midicontrols.py:1447 msgid "Use value" msgstr "" #. TC: binding editor, action pane, third row, heading text. #: python/midicontrols.py:1449 msgid "Act if" msgstr "" #. TC: binding editor, action pane, third row, heading text. #: python/midicontrols.py:1451 msgid "Set to" msgstr "" #. TC: binding editor, action pane, third row, heading text. #: python/midicontrols.py:1453 msgid "Adjust by" msgstr "" #. TC: binding editor, input pane, fourth row, heading text. #: python/midicontrols.py:1458 python/midicontrols.py:1462 msgid "Control" msgstr "" #. TC: binding editor, input pane, fourth row, heading text. #: python/midicontrols.py:1460 msgid "Note" msgstr "" #. TC: binding editor, input pane, fourth row, heading text. #: python/midicontrols.py:1464 msgid "Key" msgstr "" #. TC: binding editor, action pane, first row, toplevel menu. #: python/midicontrols.py:1469 msgid "Miscellaneous" msgstr "" #. TC: binding editor, action pane, first row, toplevel menu. #: python/midicontrols.py:1473 msgid "Both players" msgstr "" #. TC: binding editor, action pane, first row, toplevel menu. #: python/midicontrols.py:1477 msgid "VoIP channel" msgstr "" #. TC: binding editor, action pane, first row, toplevel menu. #: python/midicontrols.py:1479 msgid "Single effect" msgstr "" #. TC: binding editor, action pane, first row, toplevel menu. #: python/midicontrols.py:1481 msgid "Effects bank" msgstr "" #. TC: binding editor, action pane, first row, toplevel menu. #: python/midicontrols.py:1485 msgid "Stream recorder" msgstr "" #. TC: binding editor, action pane, second row, dropdown text. #: python/midicontrols.py:1490 msgid "Direct fader/held button" msgstr "" #. TC: binding editor, action pane, second row, dropdown text. #: python/midicontrols.py:1492 msgid "One-shot/toggle button" msgstr "" #. TC: binding editor, action pane, second row, dropdown text. #: python/midicontrols.py:1494 msgid "Set value" msgstr "" #. TC: binding editor, action pane, second row, dropdown text. #: python/midicontrols.py:1496 msgid "Alter value" msgstr "" #. TC: binding editor, input pane, second row, dropdown text. #: python/midicontrols.py:1501 msgid "MIDI control" msgstr "" #. TC: binding editor, input pane, second row, dropdown text. #: python/midicontrols.py:1503 msgid "MIDI note" msgstr "" #. TC: binding editor, input pane, second row, dropdown text. #: python/midicontrols.py:1505 msgid "MIDI pitch-wheel" msgstr "" #. TC: binding editor, input pane, second row, dropdown text. #: python/midicontrols.py:1507 msgid "Keyboard press" msgstr "" #. TC: binding editor, input pane, second row, dropdown text. #: python/midicontrols.py:1509 msgid "XChat command" msgstr "" #. TC: Dialog window title text. #. TC: User is expected to edit a control binding. #: python/midicontrols.py:1518 msgid "Edit control binding" msgstr "" #. TC: After clicking this button the binding editor will be listening #. TC: for a key press or midi control surface input. #. TC: Button text. If pressed triggers 'Listening for input' mode. #: python/midicontrols.py:1533 python/midicontrols.py:1614 #: python/midicontrols.py:1713 msgid "Listen for input..." msgstr "" #. TC: The input source. #: python/midicontrols.py:1541 msgid "Source" msgstr "" #. TC: The manner in which the input is interpreted. #: python/midicontrols.py:1560 msgid "Interaction" msgstr "" #. TC: The effect of the control can be directed upon a specific target. #. TC: e.g. On target [Left player] #: python/midicontrols.py:1566 msgid "On target" msgstr "" #. TC: Checkbutton text. #. TC: Use reverse scale and invert the meaning of button presses. #: python/midicontrols.py:1574 msgid "Reversed" msgstr "" #: python/midicontrols.py:1575 msgid "Pressed" msgstr "" #: python/midicontrols.py:1577 msgid "Released" msgstr "" #. TC: Tree column heading for Inputs e.g. Backspace, F1, S. #: python/midicontrols.py:1607 python/midicontrols.py:1967 msgid "Input" msgstr "" #: python/midicontrols.py:1611 #, python-format msgid "" "The first half of a binding is the input which comes in the form of the " "press of a keyboard key or an event from a midi device.\n" "\n" "Input selection can be done manually or with the help of the '%s' option." msgstr "" #. TC: Tree column heading for actions e.g. Player stop. #: python/midicontrols.py:1647 python/midicontrols.py:1653 #: python/midicontrols.py:1981 msgid "Action" msgstr "" #. TC: %s is the translation of 'Action'. #: python/midicontrols.py:1652 #, python-format msgid "The '%s' pane determines how the input is handled, and to what effect." msgstr "" #: python/midicontrols.py:1709 msgid "Listening for input" msgstr "" #. TC: Refers to key modifiers including Ctrl, Alt, Shift, .... #: python/midicontrols.py:1730 msgid "Shifting" msgstr "" #: python/midicontrols.py:1928 msgid "Singular control" msgstr "" #: python/midicontrols.py:1990 msgid "Target" msgstr "" #: python/mutagentagger.py:219 msgid "title" msgstr "" #: python/mutagentagger.py:219 msgid "artist" msgstr "" #: python/mutagentagger.py:220 msgid "album" msgstr "" #: python/mutagentagger.py:220 msgid "track/total" msgstr "" #: python/mutagentagger.py:221 msgid "genre" msgstr "" #: python/mutagentagger.py:221 msgid "record date" msgstr "" #: python/mutagentagger.py:360 msgid "" "Add any other ID3 text frames here.\n" "e.g. TIT2:Alternate Title\n" "This will be appended onto the main TIT2 tag.\n" "\n" "Enter user defined text frames like this:\n" "TXXX:foo=bar\n" "\n" "For more information visit www.id3.org." msgstr "" #. TC: Remaining textual ID3 data is show below this heading. #: python/mutagentagger.py:366 msgid " Additional Text Frames " msgstr "" #. TC: The album track number. #: python/mutagentagger.py:376 python/songdb.py:702 python/songdb.py:1038 msgid "Track" msgstr "" #: python/mutagentagger.py:377 msgid "Genre" msgstr "" #: python/mutagentagger.py:377 msgid "Year" msgstr "" #. TC: Window title. #: python/mutagentagger.py:688 msgid "IDJC Tagger" msgstr "" #: python/mutagentagger.py:700 python/mutagentagger.py:704 #: python/mutagentagger.py:708 msgid "Filename:" msgstr "" #: python/mutagentagger.py:777 msgid "Native" msgstr "" #: python/songdb.py:160 msgid "Connecting" msgstr "" #: python/songdb.py:169 #, python-format msgid "Connection failed (try %d)" msgstr "" #: python/songdb.py:181 msgid "Connected: utf-8 mode failed" msgstr "" #: python/songdb.py:183 msgid "Connected" msgstr "" #: python/songdb.py:191 msgid "Job dropped" msgstr "" #: python/songdb.py:201 python/songdb.py:375 msgid "Disconnected" msgstr "" #: python/songdb.py:215 msgid "Problem dropping connection" msgstr "" #: python/songdb.py:217 msgid "Connection dropped" msgstr "" #: python/songdb.py:244 msgid "Hostname[:Port]" msgstr "" #: python/songdb.py:251 msgid "File Path Modify" msgstr "" #: python/songdb.py:257 msgid "" "The number of characters to strip from the left hand side of media file " "paths." msgstr "" #: python/songdb.py:260 msgid "The characters to prefix to the media file paths." msgstr "" #: python/songdb.py:271 msgid "User Name" msgstr "" #: python/songdb.py:274 msgid "Database" msgstr "" #: python/songdb.py:333 msgid "Prokyon3 or Ampache (song title) Database" msgstr "" #: python/songdb.py:334 msgid "" "You can make certain media databases accessible in IDJC for easy drag and " "drop into the playlists." msgstr "" #: python/songdb.py:382 msgid "Module mysql-python (MySQLdb) required" msgstr "" #: python/songdb.py:578 msgid "" msgstr "" #: python/songdb.py:675 msgid "Reload the database." msgstr "" #: python/songdb.py:680 msgid "Expand entire tree." msgstr "" #: python/songdb.py:681 msgid "Collapse tree." msgstr "" #: python/songdb.py:688 msgid "Browse" msgstr "" #. TC: The disk number of the album track. #: python/songdb.py:700 python/songdb.py:1037 msgid "Disk" msgstr "" #. TC: Track playback time. #. TC: Playback time. #: python/songdb.py:704 python/songdb.py:1040 python/playergui.py:314 msgid "Duration" msgstr "" #: python/songdb.py:705 python/songdb.py:1041 msgid "Bitrate" msgstr "" #: python/songdb.py:706 python/songdb.py:1042 msgid "Filename" msgstr "" #. TC: Directory path to a file. #: python/songdb.py:708 python/songdb.py:1043 msgid "Path" msgstr "" #: python/songdb.py:713 msgid "Artist - Album - Title" msgstr "" #: python/songdb.py:714 msgid "Album - [Disk] - Title" msgstr "" #: python/songdb.py:734 msgid "Fetching" msgstr "" #: python/songdb.py:851 msgid "Tree fetch failed" msgstr "" #: python/songdb.py:853 msgid "Fetch Failed!" msgstr "" #: python/songdb.py:866 msgid "Populating" msgstr "" #: python/songdb.py:973 #, python-format msgid "Disk %d" msgstr "" #. TC: User specified search filter entry box title text. #: python/songdb.py:992 msgid "Filters" msgstr "" #. TC: A type of search on any data field matching paritial strings. #: python/songdb.py:1004 msgid "Fuzzy Search" msgstr "" #. TC: WHERE is an SQL keyword. #: python/songdb.py:1013 msgid "WHERE" msgstr "" #: python/songdb.py:1026 msgid "Search" msgstr "" #: python/songdb.py:1310 msgid "Failed to create FULLTEXT index" msgstr "" #: python/songdb.py:1314 msgid "Found existing FULLTEXT index" msgstr "" #: python/songdb.py:1328 python/songdb.py:1341 msgid "Unrecognised database" msgstr "" #: python/songdb.py:1336 msgid "Found Prokyon 3 schema" msgstr "" #: python/playergui.py:237 msgid "Cuesheet Playlist" msgstr "" #. TC: Column heading, the track number. #: python/playergui.py:303 msgid "Trk" msgstr "" #. TC: Column heading, the index number. #: python/playergui.py:306 msgid "Ind" msgstr "" #: python/playergui.py:412 msgid "External Playlist" msgstr "" #. TC: Button text to activate an external playlist. #: python/playergui.py:423 msgid "Active" msgstr "" #: python/playergui.py:434 msgid "Choose a playlist file" msgstr "" #: python/playergui.py:439 msgid "Choose a media directory" msgstr "" #: python/playergui.py:452 msgid "Choose a playlist file." msgstr "" #: python/playergui.py:454 msgid "Choose a folder/directory of music." msgstr "" #: python/playergui.py:515 msgid "Create a new announcement" msgstr "" #: python/playergui.py:518 msgid "Modify or Delete this announcement" msgstr "" #. TC: Playlist control. #. TC: Embed a DJ announcement text into the playlist. #: python/playergui.py:521 python/playergui.py:3658 python/playergui.py:4296 msgid "Announcement" msgstr "" #. TC: The time format as minutes and seconds. #: python/playergui.py:548 msgid "mm:ss" msgstr "" #. TC: Alongside the name of the next track. #: python/playergui.py:601 msgid "Next track" msgstr "" #: python/playergui.py:904 msgid "By Extension" msgstr "" #: python/playergui.py:904 msgid "M3U playlist" msgstr "" #: python/playergui.py:905 msgid "XSPF playlist" msgstr "" #: python/playergui.py:905 msgid "PLS playlist" msgstr "" #: python/playergui.py:976 #, python-format msgid "%d Audio Tracks" msgstr "" #. TC: Missing metadata text. #: python/playergui.py:986 msgid "Unknown" msgstr "" #: python/playergui.py:990 msgid "(Cue sheet)" msgstr "" #: python/playergui.py:1024 msgid "Bad Tag" msgstr "" #: python/playergui.py:1799 python/playergui.py:4134 msgid "Manual" msgstr "" #: python/playergui.py:1803 python/playergui.py:4131 msgid "Play All" msgstr "" #: python/playergui.py:1811 python/playergui.py:1820 python/playergui.py:4132 msgid "Loop All" msgstr "" #: python/playergui.py:1811 python/playergui.py:4135 msgid "Cue Up" msgstr "" #: python/playergui.py:1812 python/playergui.py:4139 msgid "Fade Over" msgstr "" #: python/playergui.py:1824 python/playergui.py:1895 python/playergui.py:4133 msgid "Random" msgstr "" #: python/playergui.py:1864 python/playergui.py:4136 msgid "External" msgstr "" #: python/playergui.py:1876 python/playergui.py:1892 python/playergui.py:4138 msgid "Alternate" msgstr "" #: python/playergui.py:1876 python/playergui.py:1894 python/playergui.py:4140 msgid "Random Hop" msgstr "" #. TC: The remaining playlist time. #: python/playergui.py:2049 python/playergui.py:2055 msgid "Remaining" msgstr "" #. TC: The estimated finish time of the playlist. #. TC: The estimated finish time of the playlist (ETA). #: python/playergui.py:2051 python/playergui.py:2055 python/playergui.py:2069 msgid "Finish" msgstr "" #. TC: The play duration of the block of audio tracks. #: python/playergui.py:2056 python/playergui.py:2067 msgid "Block size" msgstr "" #. TC: File dialog title text. #: python/playergui.py:2422 msgid "Add music to left playlist" msgstr "" #. TC: File dialog title text. #: python/playergui.py:2425 msgid "Add music to right playlist" msgstr "" #: python/playergui.py:2427 msgid "Add background music" msgstr "" #. TC: File filter text. #: python/playergui.py:2439 msgid "Supported Media Formats" msgstr "" #. TC: Expander text "Select File Type (.pls)" for the pls file type. #: python/playergui.py:2496 msgid "Select File Type" msgstr "" #: python/playergui.py:3258 msgid "Save left playlist" msgstr "" #: python/playergui.py:3260 msgid "Save right playlist" msgstr "" #: python/playergui.py:3262 msgid "Save background playlist" msgstr "" #: python/playergui.py:3280 msgid "File Type" msgstr "" #: python/playergui.py:3285 msgid "Extension" msgstr "" #. TC: Playlist control. #. TC: Insert playlist control to do a ten second fade to the next track. #: python/playergui.py:3642 python/playergui.py:4307 msgid "Fade 10s" msgstr "" #. TC: Playlist control. #. TC: Insert playlist control to do a five second fade to the next track. #: python/playergui.py:3648 python/playergui.py:4314 msgid "Fade 5s" msgstr "" #. TC: Playlist control. #. TC: Insert playlist control to not do a fade to the next track. #: python/playergui.py:3653 python/playergui.py:4321 msgid "No Fade" msgstr "" #. TC: Playlist control. #: python/playergui.py:3663 msgid ">> Normal Speed <<" msgstr "" #. TC: Playlist control. #: python/playergui.py:3673 msgid "Player stop 2" msgstr "" #. TC: Playlist control. #. TC: Insert playlist control to jump to the top of the playlist. #: python/playergui.py:3678 python/playergui.py:4273 msgid "Jump To Top" msgstr "" #. TC: Playlist control. #: python/playergui.py:3683 python/playergui.py:4333 msgid "Stop streaming" msgstr "" #. TC: Playlist control. #: python/playergui.py:3688 python/playergui.py:4341 msgid "Stop recording" msgstr "" #. TC: Playlist control. #: python/playergui.py:3723 msgid ">>> Transfer across >>>" msgstr "" #. TC: Playlist control. #: python/playergui.py:3726 msgid "<<< Transfer across <<<" msgstr "" #. TC: Playlist control. #: python/playergui.py:3731 msgid ">>> Fade across >>>" msgstr "" #. TC: Playlist control. #: python/playergui.py:3734 msgid "<<< Fade across <<<" msgstr "" #. TC: Playlist control. #: python/playergui.py:3740 msgid "Ignored playlist control" msgstr "" #: python/playergui.py:3808 msgid "Playing track {0} of {1}" msgstr "" #. TC: Previous line: Playing track {0} of {1} #: python/playergui.py:3821 #, python-format msgid "From the album, %s" msgstr "" #: python/playergui.py:3828 #, python-format msgid "Total number of tracks %d" msgstr "" #: python/playergui.py:3832 python/playergui.py:3834 #, python-format msgid "Total play duration %s" msgstr "" #: python/playergui.py:3884 msgid "" "Left click toggles between showing the amount of time elapsed or remaining " "on the current track being played." msgstr "" #: python/playergui.py:3902 msgid "" "This slider acts as both a play progress indicator and as a means for " "seeking within the currently playing track." msgstr "" #. TC: File filter text. #: python/playergui.py:3991 msgid "All file types" msgstr "" #: python/playergui.py:3996 msgid "Playlist types (*.m3u, *.xspf, *.pls)" msgstr "" #: python/playergui.py:4011 msgid "" "'Block size' indicates the amount of time that it will take to play from the " "currently selected track to the next stop.\n" "'Remaining' is the amount of time until the next stop.\n" "'Finish' Is the computed time when the tracks will have finished playing." msgstr "" #: python/playergui.py:4034 msgid "This adjusts the playback speed anywhere from 25% to 400%." msgstr "" #: python/playergui.py:4048 msgid "This sets the playback speed back to normal." msgstr "" #: python/playergui.py:4065 msgid "Previous track." msgstr "" #: python/playergui.py:4077 msgid "Play." msgstr "" #: python/playergui.py:4087 msgid "Pause." msgstr "" #: python/playergui.py:4097 msgid "Stop." msgstr "" #: python/playergui.py:4107 msgid "Next track." msgstr "" #: python/playergui.py:4119 msgid "Add tracks to the playlist." msgstr "" #: python/playergui.py:4126 python/preferences.py:70 msgid "Playlist Mode" msgstr "" #: python/playergui.py:4145 msgid "" "This sets the playlist mode which defines player behaviour after a track has " "finished playing.\n" "\n" "'Play All' is the most versatile mode since it allows the use of embeddable " "playlist control elements which are accessible using the right click context " "menu in the playlist. When no playlist controls are present the tracks are " "played sequentially until the end of the playlist is reached at which point " "the player will stop.\n" "\n" "'Loop All' causes the tracks to be played in sequence, restarting with the " "first track once the end of the playlist is reached.\n" "\n" "'Random' causes the tracks to be played indefinitely with the tracks " "selected at random.\n" "\n" "'Manual' causes the player to stop at the end of each track.\n" "\n" "'Cue Up' is similar to manual except that the next track in the playlist " "will also be highlighted.\n" "\n" "'External' draws it's tracks from an external playlist or directory one at a " "time. Useful for when you want to stream massive playlists.\n" "\n" "'Alternate' causes the next track to be cued up before starting the opposite " "player. The crossfader is moved over.\n" "\n" "'Fade Over' will crossfade to the other player at the end of every track.\n" "\n" "'Random Hop' will pick a track at random from the other playlist." msgstr "" #. TC: Fade time heading. #: python/playergui.py:4169 python/preferences.py:71 msgid "Fade" msgstr "" #: python/playergui.py:4181 msgid "This controls the amount of fade between tracks." msgstr "" #: python/playergui.py:4188 msgid "Audio Feed" msgstr "" #: python/playergui.py:4198 msgid "Make output from this player available for streaming." msgstr "" #: python/playergui.py:4206 msgid "Make output from this player audible to the DJ." msgstr "" #: python/playergui.py:4208 msgid "Force" msgstr "" #: python/playergui.py:4214 msgid "" "When selected this player will be treated like a main player.\n" "It will be affected by microphone ducking and won't mute when a main player " "is operating." msgstr "" #. TC: Insert playlist control. #: python/playergui.py:4227 msgid "Insert control" msgstr "" #. TC: The Item submenu. #: python/playergui.py:4236 msgid "Item" msgstr "" #. TC: The Playlist submenu. #: python/playergui.py:4241 msgid "Playlist" msgstr "" #. TC: Insert playlist control to set playback speed to normal. #: python/playergui.py:4252 msgid "Normal Speed" msgstr "" #. TC: Submenu Item. Parent menu is Playlist. #: python/playergui.py:4281 python/playergui.py:4435 msgid "Transfer" msgstr "" #: python/playergui.py:4289 msgid "Crossfade" msgstr "" #. TC: Menu item. Opens the metadata tagger on the selected track. #: python/playergui.py:4354 msgid "Meta Tag" msgstr "" #. TC: Menu Item. Duplicates the selected track in the playlist. #: python/playergui.py:4360 msgid "Duplicate" msgstr "" #. TC: Menu Item. Remove the selected track. #: python/playergui.py:4367 msgid "Remove" msgstr "" #. TC: Submenu Item. Parent menu item is Remove. #: python/playergui.py:4378 msgid "This" msgstr "" #. TC: Submenu Item. Parent menu item is Remove. #: python/playergui.py:4385 python/preferences.py:1112 msgid "All" msgstr "" #. TC: Submenu Item. Parent menu item is Remove. #: python/playergui.py:4392 msgid "From Here" msgstr "" #. TC: Submenu Item. Parent menu item is Remove. #: python/playergui.py:4399 msgid "To Here" msgstr "" #. TC: Open the file dialog for adding music to the chosen playlist. #: python/playergui.py:4412 msgid "Add Music" msgstr "" #. TC: Submenu Item. Parent menu is Playlist. #: python/playergui.py:4419 msgid "Save" msgstr "" #. TC: Submenu Item. Parent menu is Playlist. #: python/playergui.py:4430 msgid "Copy" msgstr "" #: python/playergui.py:4441 msgid "Exchange" msgstr "" #. TC: Submenu Item. Parent menu is Playlist. #: python/playergui.py:4448 msgid "Empty" msgstr "" #. TC: Submenu Item. Parent menus are Playlist->Copy. #. TC: Submenu Item. Parent menus are Playlist->Transfer. #: python/playergui.py:4462 python/playergui.py:4501 msgid "Append" msgstr "" #. TC: Submenu Item. Parent menus are Playlist->Copy. #. TC: Submenu Item. Parent menus are Playlist->Transfer. #: python/playergui.py:4469 python/playergui.py:4508 msgid "Prepend" msgstr "" #. TC: Submenu Item. Parent menus are Playlist->Copy. #: python/playergui.py:4480 msgid "Append Cursor" msgstr "" #. TC: Submenu Item. Parent menus are Playlist->Copy. #: python/playergui.py:4487 msgid "Prepend Cursor" msgstr "" #. TC: Submenu Item. Parent menus are Playlist->Transfer. #: python/playergui.py:4519 msgid "Append at Cursor" msgstr "" #. TC: Submenu Item. Parent menus are Playlist->Transfer. #: python/playergui.py:4526 msgid "Prepend at Cursor" msgstr "" #: python/preferences.py:84 msgid "Track time elapsed" msgstr "" #: python/preferences.py:86 msgid "Track time remaining" msgstr "" #: python/preferences.py:88 msgid "Audio to stream" msgstr "" #: python/preferences.py:89 msgid "Audio to DJ" msgstr "" #. TC: Microphone mode combobox text. #: python/preferences.py:123 msgid "Deactivated" msgstr "" #. TC: Microphone mode combobox text. #: python/preferences.py:125 msgid "Basic input" msgstr "" #. TC: Microphone mode combobox text. #: python/preferences.py:127 msgid "Processed input" msgstr "" #. TC: Microphone mode combobox text. #: python/preferences.py:129 #, python-format msgid "Partnered with channel %s" msgstr "" #: python/preferences.py:279 msgid "A label so you may describe briefly the role of this audio channel." msgstr "" #: python/preferences.py:311 msgid "The signal processing mode." msgstr "" #. TC: A frame heading. The channel opener is selected within. #: python/preferences.py:315 msgid "Channel Opener" msgstr "" #: python/preferences.py:318 msgid "" "This controls the allocation of front panel open/unmute buttons. Having one " "button control multiple microphones can save time." msgstr "" #. TC: Spinbutton label text. #: python/preferences.py:325 msgid "Main Panel Button" msgstr "" #: python/preferences.py:342 msgid "This:" msgstr "" #: python/preferences.py:351 msgid "Open" msgstr "" #: python/preferences.py:367 msgid "" "Stereo panning is the selection of where an audio source sits from left to " "right within the stereo mix.\n" "\n" "This control maintains constant audio power throughout its range of travel, " "giving -3dB attenuation in both audio channels at the half way point.\n" "\n" "If you require 0dB straight down the middle then this feature should be " "turned off." msgstr "" #: python/preferences.py:375 msgid "Stereo Panning" msgstr "" #. TC: A set of controls that perform audio signal matching. #: python/preferences.py:412 msgid "Signal Matching" msgstr "" #: python/preferences.py:413 msgid "" "These controls are provided to obtain a decent match between the two " "microphones." msgstr "" #: python/preferences.py:422 msgid "Relative Gain (dB)" msgstr "" #. TC: Mic audio phase inversion control. #: python/preferences.py:427 python/preferences.py:432 msgid "Invert Signal" msgstr "" #: python/preferences.py:433 python/preferences.py:453 #: python/preferences.py:549 msgid "" "Useful for when microphones are cancelling one another out, producing a " "hollow sound." msgstr "" #. TC: Control whether to mix microphone audio to the DJ mix. #: python/preferences.py:436 msgid "In The DJ's Mix" msgstr "" #: python/preferences.py:437 python/preferences.py:459 #: python/preferences.py:559 msgid "" "Make the microphone audio audible in the DJ mix. This may not always be " "desirable." msgstr "" #: python/preferences.py:445 msgid "Basic Controls" msgstr "" #: python/preferences.py:446 python/preferences.py:501 msgid "Boost/Cut (dB)" msgstr "" #: python/preferences.py:467 msgid "High Pass Filter" msgstr "" #: python/preferences.py:468 python/preferences.py:483 #: python/preferences.py:493 msgid "Cutoff Frequency" msgstr "" #. TC: User can set the number of filter stages. #: python/preferences.py:472 msgid "Stages" msgstr "" #: python/preferences.py:475 msgid "" "Frequency in Hertz above which audio can pass to later stages. Use this " "feature to restrict low frequency sounds such as mains hum. Setting too high " "a level will make your voice sound thin." msgstr "" #. TC: this is the treble control. HF = high frequency. #: python/preferences.py:480 msgid "HF Detail" msgstr "" #: python/preferences.py:487 msgid "You can use this to boost the amount of treble in the audio." msgstr "" #. TC: this is the bass control. LF = low frequency. #: python/preferences.py:490 msgid "LF Detail" msgstr "" #: python/preferences.py:497 msgid "You can use this to boost the amount of bass in the audio." msgstr "" #. TC: lookahead brick wall limiter. #: python/preferences.py:500 msgid "Limiter" msgstr "" #. TC: this is the peak signal limit. #: python/preferences.py:505 msgid "Upper Limit" msgstr "" #: python/preferences.py:507 msgid "" "A look-ahead brick-wall limiter. Audio signals are capped at the upper limit." msgstr "" #: python/preferences.py:510 msgid "Noise Gate" msgstr "" #. TC: noise gate triggers at this level. #: python/preferences.py:512 msgid "Threshold" msgstr "" #. TC: negative gain when the noise gate is active. #. TC: The de-esser attenuation in ess-detected state. #: python/preferences.py:516 python/preferences.py:526 msgid "Gain" msgstr "" #: python/preferences.py:518 msgid "" "Reduce the unwanted quietest sounds and background noise which you don't " "want your listeners to hear with this." msgstr "" #: python/preferences.py:521 msgid "De-esser" msgstr "" #. TC: Bias has a numeric setting. #: python/preferences.py:523 msgid "Bias" msgstr "" #: python/preferences.py:528 msgid "" "Reduce the S, T, and P sounds which microphones tend to exaggerate. Ideally " "the Bias control will be set low so that the de-esser is off when there is " "silence but is set high enough that mouse clicks are detected and suppressed." msgstr "" #: python/preferences.py:533 msgid "Ducker" msgstr "" #: python/preferences.py:534 msgid "Release" msgstr "" #: python/preferences.py:537 msgid "Hold" msgstr "" #: python/preferences.py:540 msgid "" "The ducker automatically reduces the level of player audio when the DJ " "speaks. These settings allow you to adjust the timings of that audio " "reduction." msgstr "" #: python/preferences.py:544 msgid "Other options" msgstr "" #: python/preferences.py:551 msgid "Phase Rotator" msgstr "" #: python/preferences.py:554 msgid "" "This feature processes the microphone audio so that it sounds more even. The " "effect is particularly noticable on male voices." msgstr "" #: python/preferences.py:736 msgid "The volume control for the left music player." msgstr "" #. TC: preferences window title. #: python/preferences.py:786 msgid "IDJC Preferences" msgstr "" #. TC: The DJ's sound level controller. #: python/preferences.py:811 msgid "DJ Audio Level" msgstr "" #: python/preferences.py:823 msgid "This adjusts the sound level of the DJ audio." msgstr "" #. TC: The alarm sound level. #: python/preferences.py:828 msgid "Alarm Level" msgstr "" #: python/preferences.py:842 msgid "Music Loudness Compensation" msgstr "" #: python/preferences.py:840 #, python-format msgid "" "This adjusts the sound level of the DJ alarm. Typically this should be set " "close to the dj audio level when using the '%s' feature, otherwise a bit " "louder." msgstr "" #: python/preferences.py:848 msgid "Player Resample Quality" msgstr "" #: python/preferences.py:854 msgid "" "This adjusts the quality of the audio resampling method used whenever the " "sample rate of the music file currently playing does not match the sample " "rate of the JACK sound server. Best mode offers the best sound quality but " "also uses the most CPU (not recommended for systems built before 2006). All " "these modes provide adequate sound quality." msgstr "" #: python/preferences.py:862 msgid "Best" msgstr "" #: python/preferences.py:871 msgid "Medium" msgstr "" #: python/preferences.py:880 msgid "Fast" msgstr "" #. TC: the set of features - section heading. #: python/preferences.py:895 msgid "Feature Set" msgstr "" #. TC: Start in the full featured user interface mode. #: python/preferences.py:907 msgid "Start Full" msgstr "" #: python/preferences.py:912 python/preferences.py:920 msgid "Indicates which mode IDJC will be in when launched." msgstr "" #. TC: Start in a reduced user interface mode. #: python/preferences.py:915 msgid "Start Mini" msgstr "" #: python/preferences.py:928 msgid "Fully Featured" msgstr "" #: python/preferences.py:933 msgid "Run in full functionality mode which uses more CPU power." msgstr "" #: python/preferences.py:935 msgid "Basic Streamer" msgstr "" #: python/preferences.py:939 msgid "" "Run in a reduced functionality mode that lowers the burden on the CPU and " "takes up less screen space." msgstr "" #: python/preferences.py:947 msgid "These settings take effect after restarting" msgstr "" #: python/preferences.py:968 msgid "Reserve 24 sound effects slots" msgstr "" #: python/preferences.py:969 msgid "Only 12" msgstr "" #: python/preferences.py:981 msgid "Audio input channels" msgstr "" #: python/preferences.py:986 msgid "Simultaneous stream(s)" msgstr "" #: python/preferences.py:992 msgid "Simultaneous recording(s)" msgstr "" #: python/preferences.py:1046 msgid "Fill channel meter void space" msgstr "" #: python/preferences.py:1058 msgid "Player Loudness Normalisation" msgstr "" #: python/preferences.py:1069 msgid "Indicate which tracks have loudness metadata" msgstr "" #: python/preferences.py:1070 msgid "" "Shows a marker in the playlists next to each track. Either a green circle or " "a red triangle." msgstr "" #: python/preferences.py:1078 msgid "Adjust playback volume in dB" msgstr "" #: python/preferences.py:1079 msgid "Effective only on newly started tracks." msgstr "" #: python/preferences.py:1085 msgid "R128" msgstr "" #: python/preferences.py:1089 msgid "" "It may not be desirable to use the default level since it is rather quiet. " "This should be set 4 or 5 dB higher than the ReplayGain setting." msgstr "" #: python/preferences.py:1094 msgid "ReplayGain" msgstr "" #: python/preferences.py:1098 msgid "" "It may not be desirable to use the default level since it is rather quiet. " "This should be set 4 or 5 dB lower than the R128 setting." msgstr "" #: python/preferences.py:1103 msgid "Untagged" msgstr "" #: python/preferences.py:1107 msgid "" "Set this so that any unmarked tracks are playing at a roughly similar " "loudness level as the marked ones." msgstr "" #: python/preferences.py:1116 msgid "A master level control for the media players." msgstr "" #: python/preferences.py:1127 msgid "Recorder Filename (excluding the file extension)" msgstr "" #: python/preferences.py:1128 msgid "" "The specifiers are $r for the number of the recorder with the rest being " "documented in the strftime man page.\n" "Users may wish to alter this to make filenames that are compatible with " "particular filesystems." msgstr "" #: python/preferences.py:1145 msgid "Miscellaneous Features" msgstr "" #: python/preferences.py:1154 msgid "Trim quiet song endings and trailing silence" msgstr "" #: python/preferences.py:1160 msgid "End tracks containing long passages of silence" msgstr "" #: python/preferences.py:1166 msgid "Enable the main-player speed/pitch controls" msgstr "" #: python/preferences.py:1170 msgid "" "This option causes some extra widgets to appear below the playlists which " "allow the playback speed to be adjusted from 25% to 400% and a normal speed " "button." msgstr "" #: python/preferences.py:1175 msgid "Separate left/right player volume faders" msgstr "" #: python/preferences.py:1179 msgid "" "Select this option to use an independent volume fader for the left and right " "music players." msgstr "" #: python/preferences.py:1183 msgid "Enlarge the time elapsed/remaining windows" msgstr "" #: python/preferences.py:1187 msgid "" "The time elapsed/remaining windows sometimes don't appear big enough for the " "text that appears in them due to unusual DPI settings or the use of a " "different rendering engine. This option serves to fix that." msgstr "" #: python/preferences.py:1193 msgid "Sound an alarm when the music is due to end" msgstr "" #: python/preferences.py:1196 msgid "" "An alarm tone alerting the DJ that dead-air is just nine seconds away. This " "also works when monitoring stream audio but the alarm tone is not sent to " "the stream.\n" "\n" "JACK freewheel mode will also be automatically disengaged." msgstr "" #: python/preferences.py:1206 msgid "Apply dither to 16 bit PCM playback" msgstr "" #: python/preferences.py:1210 msgid "" "This feature maybe improves the sound quality a little when listening on a " "24 bit sound card." msgstr "" #: python/preferences.py:1213 msgid "Enable tooltips" msgstr "" #: python/preferences.py:1217 msgid "" "This, what you are currently reading, is a tooltip. This feature turns them " "on or off." msgstr "" #: python/preferences.py:1236 msgid "Player Settings At Startup" msgstr "" #: python/preferences.py:1247 msgid "Restore the previous session" msgstr "" #: python/preferences.py:1252 msgid "" "When starting IDJC most of the main window settings will be as they were " "left. As an alternative you may specify below how you want the various " "settings to be when IDJC starts." msgstr "" #: python/preferences.py:1262 msgid "Player 1" msgstr "" #: python/preferences.py:1264 msgid "Player 2" msgstr "" #. TC: DJ hears the stream mix. #: python/preferences.py:1292 msgid "Monitor Stream Mix" msgstr "" #. TC: A heading label for miscellaneous settings. #: python/preferences.py:1303 msgid "General" msgstr "" #. TC: Keyboard and MIDI bindings configuration. #: python/preferences.py:1360 msgid "Bindings" msgstr "" #: python/preferences.py:1397 msgid "Released under the GNU General Public License V2.0" msgstr "" #: python/preferences.py:1409 msgid "Licence" msgstr "" #: python/preferences.py:1432 msgid "Contributors" msgstr "" #: python/preferences.py:1439 msgid "Translators" msgstr "" #: python/preferences.py:1444 msgid "About" msgstr "" #: python/sourceclientgui.py:89 msgid "Insert Attribute" msgstr "" #: python/sourceclientgui.py:133 msgid "Icecast 2 Master" msgstr "" #: python/sourceclientgui.py:133 msgid "Shoutcast Master" msgstr "" #: python/sourceclientgui.py:134 msgid "Icecast 2 Stats/Relay" msgstr "" #: python/sourceclientgui.py:134 msgid "Shoutcast Stats/Relay" msgstr "" #: python/sourceclientgui.py:137 msgid "Enter new server connection details" msgstr "" #: python/sourceclientgui.py:156 msgid "Edit existing server connection details" msgstr "" #: python/sourceclientgui.py:193 msgid "This server is to be scanned for audience figures" msgstr "" #: python/sourceclientgui.py:206 msgid "Server type" msgstr "" #: python/sourceclientgui.py:206 msgid "Port number" msgstr "" #: python/sourceclientgui.py:207 msgid "Mount point" msgstr "" #: python/sourceclientgui.py:207 msgid "Login name" msgstr "" #: python/sourceclientgui.py:449 msgid "Encoder Format Not Set/Compatible" msgstr "" #. TC: Connection button text when no details have been entered. #: python/sourceclientgui.py:452 msgid "No Master Server Configured" msgstr "" #: python/sourceclientgui.py:654 msgid "" "A table of servers with which to connect. Only one master server can be " "added for the purpose of streaming. All other servers will appear below the " "master server in the list for the purpose of stats collection which can be " "toggled on a per server basis." msgstr "" #: python/sourceclientgui.py:670 msgid "Hostname/IP address" msgstr "" #. TC: Mount point is a technical term in relation to icecast servers. #: python/sourceclientgui.py:683 msgid "Mount point " msgstr "" #. TC: This is the listener count heading. #: python/sourceclientgui.py:692 msgid "Listeners" msgstr "" #: python/sourceclientgui.py:707 msgid "The sum total of listeners in this server tab." msgstr "" #: python/sourceclientgui.py:734 msgid "Never" msgstr "" #: python/sourceclientgui.py:737 msgid "Always" msgstr "" #: python/sourceclientgui.py:739 msgid "If connected" msgstr "" #: python/sourceclientgui.py:988 msgid "Custom user agent string" msgstr "" #: python/sourceclientgui.py:995 msgid "" "Set this on the occasion that the server or its firewall specifically " "refuses to allow libshout based clients." msgstr "" #: python/sourceclientgui.py:1000 msgid "If the connection breaks reconnect to the server" msgstr "" #. TC: Label for a comma separated list of delay times. #: python/sourceclientgui.py:1010 msgid "Delay times" msgstr "" #: python/sourceclientgui.py:1014 msgid "" "A comma separated list of delays in seconds between reconnection attempts. " "Note that bad values or values less than 5 will be interpreted as 5." msgstr "" #: python/sourceclientgui.py:1020 msgid "Repeat the sequence of delays indefinitely." msgstr "" #. TC: User specifies no dialog box to be shown. #: python/sourceclientgui.py:1023 msgid "Quiet" msgstr "" #: python/sourceclientgui.py:1025 msgid "Keep the reconnection dialogue box hidden at all times." msgstr "" #: python/sourceclientgui.py:1030 msgid "The contingency plan upon the stream buffer becoming full is..." msgstr "" #: python/sourceclientgui.py:1039 msgid "Discard audio data for as long as needed." msgstr "" #: python/sourceclientgui.py:1041 msgid "Assume the connection is beyond saving and reconnect." msgstr "" #: python/sourceclientgui.py:1289 msgid "Shoutcast" msgstr "" #: python/sourceclientgui.py:1326 msgid "[Metadata suppressed]" msgstr "" #: python/sourceclientgui.py:1405 msgid "Individual Controls" msgstr "" #: python/sourceclientgui.py:1419 msgid "" "Connect to or disconnect from the radio server. If the button does not stay " "in, the connection failed for some reason.\n" "\n" "If the button is greyed out it means your settings within the 'Connections' " "and 'Format' sections are either incompatible with one another or are " "incomplete.\n" "\n" "In order to stream a master server needs to be specified in the " "configuration section below and must be capable of handling the chosen " "streaming format." msgstr "" #. TC: Kick whoever is on the server. #: python/sourceclientgui.py:1436 msgid "Kick Source" msgstr "" #: python/sourceclientgui.py:1438 msgid "" "This will disconnect whoever is currently using the server, freeing it up " "for personal use." msgstr "" #: python/sourceclientgui.py:1448 msgid "Connection timer:" msgstr "" #: python/sourceclientgui.py:1452 msgid "Begin" msgstr "" #: python/sourceclientgui.py:1453 msgid "" "Automatically connect to the server at a specific time in 24 hour format, " "midnight being 00:00" msgstr "" #: python/sourceclientgui.py:1458 msgid "With kick" msgstr "" #: python/sourceclientgui.py:1460 msgid "Disconnect whoever is using the server just before start time." msgstr "" #: python/sourceclientgui.py:1469 msgid "End" msgstr "" #: python/sourceclientgui.py:1470 msgid "" "Automatically disconnect from the server at a specific time in 24 hour " "format." msgstr "" #: python/sourceclientgui.py:1481 msgid "At connect:" msgstr "" #. TC: [x] Start player (*) 1 ( ) 2 #: python/sourceclientgui.py:1485 msgid "Start player" msgstr "" #: python/sourceclientgui.py:1490 msgid "" "Have one of the players start automatically when a radio server connection " "is successfully made." msgstr "" #. TC: [x] Start recorder (*) 1 ( ) 2 #: python/sourceclientgui.py:1498 msgid "Start recorder" msgstr "" #: python/sourceclientgui.py:1505 msgid "" "Have a recorder start automatically when a radio server connection is " "successfully made." msgstr "" #: python/sourceclientgui.py:1510 msgid "Metadata" msgstr "" #: python/sourceclientgui.py:1520 msgid "Format String" msgstr "" #. TC: Label for the metadata fallback value. #: python/sourceclientgui.py:1522 msgid "Fallback" msgstr "" #: python/sourceclientgui.py:1536 msgid "" "You can enter text to accompany the stream here and can specify placemarkers " "%r %t %l %s for the artist, title, album, and songname respectively, or " "leave this text field blank to use the default metadata.\n" "\n" "Songname (%s) is derived from the filename in the absence of sufficient " "metadata, while the other placemarkers will use the fallback text to the " "right.\n" "\n" "When blank, Ogg streams will use the standard Vorbis tags and mp3 will use " "%s." msgstr "" #: python/sourceclientgui.py:1544 msgid "" "The fallback text to use when %r %t %l metadata is unavailable. See the " "format string to the left." msgstr "" #: python/sourceclientgui.py:1546 msgid "" "Metadata normally updates only on song title changes but you can force an " "immediate update here." msgstr "" #: python/sourceclientgui.py:1565 msgid "Configuration" msgstr "" #: python/sourceclientgui.py:1566 msgid "The controls for configuring a stream." msgstr "" #: python/sourceclientgui.py:1574 msgid "Connection" msgstr "" #: python/sourceclientgui.py:1579 msgid "Format" msgstr "" #. TC: Tab heading. User can enter information about the stream here. #: python/sourceclientgui.py:1588 msgid "Stream Info" msgstr "" #: python/sourceclientgui.py:1593 msgid "" "Enter your DJ name or station name here. Typically this information will be " "displayed by listener clients." msgstr "" #: python/sourceclientgui.py:1596 msgid "" "The URL of your radio station. This and the rest of the information below is " "intended for display on a radio station listings website." msgstr "" #: python/sourceclientgui.py:1601 msgid "A description of your radio station." msgstr "" #: python/sourceclientgui.py:1606 msgid "The musical genres you are likely to play." msgstr "" #: python/sourceclientgui.py:1609 msgid "Make Public" msgstr "" #: python/sourceclientgui.py:1610 msgid "" "Publish your radio station on a listings website. The website in question " "will depend on how the server to which you connect is configured." msgstr "" #: python/sourceclientgui.py:1622 msgid "Genre(s)" msgstr "" #: python/sourceclientgui.py:1632 msgid "Master server admin password" msgstr "" #: python/sourceclientgui.py:1637 msgid "" "This is for kick and stats on Shoutcast master servers that have an " "administrator password. For those that don't leave this blank (the source " "password is sufficient for those)." msgstr "" #: python/sourceclientgui.py:1646 msgid "Contact Details" msgstr "" #: python/sourceclientgui.py:1651 msgid "Internet Relay Chat connection info goes here." msgstr "" #: python/sourceclientgui.py:1654 msgid "Connection info for AOL instant messenger goes here." msgstr "" #: python/sourceclientgui.py:1657 msgid "ICQ instant messenger connection info goes here." msgstr "" #: python/sourceclientgui.py:1660 msgid "IRC" msgstr "" #: python/sourceclientgui.py:1661 msgid "AIM" msgstr "" #: python/sourceclientgui.py:1662 msgid "ICQ" msgstr "" #: python/sourceclientgui.py:1671 msgid "Extra Shoutcast" msgstr "" #: python/sourceclientgui.py:1676 msgid "Troubleshooting" msgstr "" #: python/sourceclientgui.py:1801 msgid "Stop recording." msgstr "" #: python/sourceclientgui.py:1803 msgid "" "Start recording.\n" "\n" "If this button is greyed out it could mean either the encoder settings are " "not valid or write permission is not granted on the selected folder." msgstr "" #: python/sourceclientgui.py:1808 msgid "Pause recording." msgstr "" #: python/sourceclientgui.py:1845 msgid "Recording time elapsed." msgstr "" #. TC: Dialog title bar text. #: python/sourceclientgui.py:1899 msgid "Select the folder to record to" msgstr "" #: python/sourceclientgui.py:1910 msgid "" "Choose which stream to record or the 24 bit FLAC option. If the stream isn't " "already running the encoder will be started automatically using whatever " "settings are currently configured." msgstr "" #: python/sourceclientgui.py:1914 msgid "" "Choose which directory you want to save to. All file names will be in a " "timestamp format and have either an oga, mp3, or flac file extension. " "Important: you need to select a directory to which you have adequate write " "permission." msgstr "" #: python/sourceclientgui.py:2018 msgid "Perform operations on multiple servers in unison." msgstr "" #: python/sourceclientgui.py:2030 msgid "Connect" msgstr "" #: python/sourceclientgui.py:2047 msgid "Disconnect" msgstr "" #: python/sourceclientgui.py:2055 msgid "Kick Sources" msgstr "" #: python/sourceclientgui.py:2064 msgid "Metadata:" msgstr "" #: python/sourceclientgui.py:2094 msgid "Group Controls" msgstr "" #: python/sourceclientgui.py:2579 msgid "Recording Facility Unavailable" msgstr "" #: python/sourceclientgui.py:2582 msgid "No Recorders Are Correctly Configured" msgstr "" #. TC: Recorder menu format string. #: python/sourceclientgui.py:2595 msgid "{numericid} [{source}] > [{directory}]" msgstr "" #: python/sourceclientgui.py:2597 msgid "Misconfigured" msgstr "" #: python/sourceclientgui.py:2618 msgid "Streaming Facility Unavailable" msgstr "" #: python/sourceclientgui.py:2620 msgid "No Streams Are Currently Configured" msgstr "" #: python/sourceclientgui.py:2623 msgid "Group Connect" msgstr "" #: python/sourceclientgui.py:2629 msgid "Group Disconnect" msgstr "" #. TC: Window title bar text. #: python/sourceclientgui.py:2660 msgid "IDJC Output" msgstr "" #: python/sourceclientgui.py:2676 msgid "" "Each one of these tabs represents a separate stream recorder. The LED " "indicator colours represent the following: Clear=Stopped Yellow=Paused " "Red=Recording." msgstr "" #: python/sourceclientgui.py:2684 msgid "" "Each one of these tabs represents a separate radio streamer. The LED " "indicator colours represent the following: Clear=No connection " "Yellow=Awaiting authentication. Green=Connected. Flashing=Packet loss due to " "a bad connection." msgstr "" #: python/sourceclientgui.py:2702 msgid " Stream " msgstr "" #: python/sourceclientgui.py:2736 msgid "" "A connection to a radio server has " "failed.\n" "\n" "Reconnection will not be attempted." msgstr "" #: python/sourceclientgui.py:2741 msgid "" "A scheduled stream disconnection has " "occurred." msgstr "" idjc-0.8.9/po/it.po0000644000175000017500000042645212142733507010775 00000000000000# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # rmorelli, 2011. msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: putidjcinthesubjectline@bethere.co.uk\n" "POT-Creation-Date: 2013-05-09 15:29+0100\n" "PO-Revision-Date: 2011-12-16 15:46+0100\n" "Last-Translator: rmorelli\n" "Language-Team: American English \n" "Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Lokalize 1.2\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: python/prelims/__init__.py:101 #, python-format msgid "" "show this help message and exit -- additional help is available on each of " "the sub-commands for example: \"%(prog)s run --help\" shows the help for the " "run command" msgstr "" #. TC: a command line option help string. #: python/prelims/__init__.py:108 msgid "show the version number and exit" msgstr "" #. TC: a command line option help string. #: python/prelims/__init__.py:112 msgid "" "run the main idjc application -- this is the default when no command line " "options are specified" msgstr "" #. TC: do not translate run. #: python/prelims/__init__.py:116 msgid "-- sub-command: run -- launch the idjc application" msgstr "" #: python/prelims/__init__.py:121 msgid "make a new profile" msgstr "crea un nuovo profilo" #. TC: do not translate the word new. #: python/prelims/__init__.py:123 #, fuzzy msgid "-- sub-command: new -- make a new profile" msgstr "-- sotto-comando: generaprofilo" #. TC: a command line option help string. #: python/prelims/__init__.py:127 #, fuzzy msgid "remove profile(s)" msgstr "modello_profilo" #. TC: do not translate the word rm. #: python/prelims/__init__.py:129 #, fuzzy msgid "-- sub-command: rm -- remove profile(s)" msgstr "-- sotto-comando: generaprofilo" #. TC: a command line option help string. #: python/prelims/__init__.py:133 msgid "select which profile is to automatically launch" msgstr "" #. TC: do not translate the word auto. #: python/prelims/__init__.py:136 msgid "-- sub-command: auto -- mark a profile for auto-launch" msgstr "" #: python/prelims/__init__.py:141 msgid "remove auto-launch" msgstr "" #: python/prelims/__init__.py:142 #, fuzzy msgid "-- sub-command: noauto -- remove auto-launch" msgstr "--sotto-comando: esegui" #: python/prelims/__init__.py:147 msgid "list available profiles" msgstr "" #. TC: do not translate the word ls. #: python/prelims/__init__.py:149 #, fuzzy msgid "-- sub-command: ls -- list available profiles" msgstr "-- sotto-comando: generaprofilo" #: python/prelims/__init__.py:153 python/prelims/__init__.py:206 #: python/prelims/__init__.py:231 python/prelims/__init__.py:236 #: python/prelims/__init__.py:241 python/prelims/__init__.py:246 msgid "show this help message and exit" msgstr "" #: python/prelims/__init__.py:156 #, fuzzy msgid "" "force the appearance or non-appearance of the\n" " profile chooser dialog -- when used with the -p option\n" " the chosen profile is preselected" msgstr "" "forza la visualizzazione o meno della\n" " finestra di scelta del profilo -- se usato con l'opzione -p\n" " il profilo scelto viene preselezionato" #: python/prelims/__init__.py:161 msgid "profile_choice" msgstr "scelta_profilo" #: python/prelims/__init__.py:162 #, fuzzy msgid "" "the profile to use -- overrides the user interface\n" " preferences \"show profile dialog\" option" msgstr "" "il profilo da utilizzare -- non tiene conto dell'opzione\n" " in \"mostra finestra del profilo\"" #. TC: command line help placeholder. #: python/prelims/__init__.py:166 msgid "server_name" msgstr "nome_server" #: python/prelims/__init__.py:166 msgid "the named jack sound-server to connect with" msgstr "il server audio jack cui connettersi" #. TC: command line help placeholder. #: python/prelims/__init__.py:170 msgid "session_details" msgstr "" #: python/prelims/__init__.py:171 msgid "" "e.g. 'L1:name' for a named Ladish [L1] session called 'name' -- refer to the " "idjc man page for more details" msgstr "" #: python/prelims/__init__.py:176 msgid "" "At start-up do not make any JACK connections. This option delegates all " "control over restored connections to the session handler." msgstr "" #: python/prelims/__init__.py:181 msgid "" "No JACK ports will be connected except those listed in the session file." msgstr "" #: python/prelims/__init__.py:184 msgid "user interface settings" msgstr "impostazioni dell'interfaccia utente" #: python/prelims/__init__.py:187 msgid "the audio channels to have open at startup" msgstr "i canali audio da aprire all'avvio" #: python/prelims/__init__.py:190 msgid "the voip mode at startup" msgstr "la modalità VoIP all'avvio" #: python/prelims/__init__.py:196 msgid "attempt connection with the specified servers" msgstr "tenta la connessione con i server specificati" #: python/prelims/__init__.py:199 msgid "" "kick sources on servers -- note that this will be\n" " done before any server connection attempts are made" msgstr "" #: python/prelims/__init__.py:203 msgid "position the crossfader for the specified player" msgstr "posiziona il \"crossfader\" per il lettore specificato" #. TC: command line help placeholder. #: python/prelims/__init__.py:208 python/prelims/__init__.py:232 msgid "profile_name" msgstr "nome_profilo" #: python/prelims/__init__.py:209 #, fuzzy msgid "" "new profile name -- will form part of the dbus\n" " bus/object/interface name and the JACK client ID --\n" " restrictions therefore apply" msgstr "" "nuovo nome profilo -- sarà parte del nome del bus/oggetto/interfaccia dbus\n" " e dell'ID del client JACK --\n" " e delle relative restrizioni" #: python/prelims/__init__.py:214 msgid "template_profile" msgstr "modello_profilo" #: python/prelims/__init__.py:215 msgid "an existing profile to use as a template" msgstr "un profilo esistente da usare come template" #: python/prelims/__init__.py:218 msgid "icon_pathname" msgstr "nomepercorso_icona" #: python/prelims/__init__.py:219 msgid "pathname to an icon -- defaults to idjc logo" msgstr "percorso ad un'icona -- di base è il logo di idjc " #: python/prelims/__init__.py:223 msgid "nickname" msgstr "nickname" #: python/prelims/__init__.py:224 msgid "the alternate profile name to appear in window title bars" msgstr "" "il nome profilo alternativo da mostrare nella barra del titolo delle finestre" #: python/prelims/__init__.py:227 msgid "description_text" msgstr "testo_descrittivo" #: python/prelims/__init__.py:228 msgid "a description of the profile" msgstr "descrizione del profilo" #: python/prelims/__init__.py:233 #, fuzzy msgid "the profile(s) to remove" msgstr "il profilo '%s' è in uso" #: python/prelims/__init__.py:238 msgid "the profile to make automatic" msgstr "" #: python/prelims/__init__.py:417 #, python-format msgid "failed to create profile: %s" msgstr "errore nella creazione del profilo: %s" #: python/prelims/__init__.py:424 #, fuzzy, python-format msgid "failed to delete profile: %s" msgstr "errore nella creazione del profilo: %s" #: python/prelims/__init__.py:431 #, python-format msgid "auto failed: %s" msgstr "" #: python/prelims/__init__.py:438 #, python-format msgid "noauto failed: %s" msgstr "" #: python/prelims/__init__.py:447 #, python-format msgid "ls failed: %s" msgstr "" #: python/prelims/__init__.py:466 msgid "the specified profile name is not valid" msgstr "il nome profilo non è valido" #: python/prelims/__init__.py:473 #, fuzzy msgid "profile name is bad" msgstr "nome_profilo" #: python/prelims/__init__.py:476 python/prelims/__init__.py:744 #, fuzzy, python-format msgid "profile %s does not exist" msgstr "il profilo del modello '%s' non esiste" #: python/prelims/__init__.py:479 #, fuzzy, python-format msgid "profile %s is already running" msgstr "il profilo scelto è attualmente in uso" #: python/prelims/__init__.py:492 #, python-format msgid "" "Error while creating new profile.\n" "\n" "%s" msgstr "" "Errore nella creazione del nuovo profilo.\n" "\n" "%s" #: python/prelims/__init__.py:510 msgid "no profile is set" msgstr "nessun profilo impostato" #: python/prelims/__init__.py:517 msgid "" "failed to grab bus name -- another session by the same name appears to be " "running" msgstr "" #. TC: text appears in the title bar when in session mode. #: python/prelims/__init__.py:590 msgid "session={type}:{name}" msgstr "" #: python/prelims/__init__.py:630 #, fuzzy, python-format msgid "specified profile is not valid %s" msgstr "il nome profilo non è valido" #: python/prelims/__init__.py:633 #, fuzzy, python-format msgid "specified profile does not exist: %s" msgstr "il profilo del modello '%s' non esiste" #: python/prelims/__init__.py:664 #, python-format msgid "unknown session type: %s: must be one of %s" msgstr "" #: python/prelims/__init__.py:677 #, fuzzy, python-format msgid "directory does not exist: %s" msgstr "il profilo del modello '%s' non esiste" #: python/prelims/__init__.py:708 #, python-format msgid "problem with specified session directory: %s" msgstr "" #: python/prelims/__init__.py:781 #, python-format msgid "Profile %s is active." msgstr "Il profilo %s è attivo." #: python/prelims/__init__.py:791 msgid "Cannot rename profile {0} to {1}, {1} currently exists." msgstr "Non posso rinominare il profilo {0} in {1}, {1} è già presente." #: python/prelims/__init__.py:795 msgid "Error during attempt to rename {0} to {1}." msgstr "Errore nel tentativo di rinominare {0} in {1}." #: python/prelims/__init__.py:805 msgid "" "Error while editing profile: {0}.\n" "\n" "{1}" msgstr "" "Errore nella modifica del profilo: {0}.\n" "\n" "{1}" #: python/prelims/__init__.py:824 msgid "could not get a lock on profile {0}: {1}" msgstr "" #: python/prelims/__init__.py:829 #, fuzzy msgid "profile does not exist" msgstr "il profilo del modello '%s' non esiste" #: python/prelims/__init__.py:850 #, python-format msgid "the profile '%s' is in use" msgstr "il profilo '%s' è in uso" #: python/prelims/__init__.py:872 #, python-format msgid "the profile length is too long (max %d characters)" msgstr "la lunghezza del profilo è eccessiva (max %d caratteri)" #: python/prelims/__init__.py:874 #, python-format msgid "The profile length is too long (max %d characters)." msgstr "La lunghezza del profilo è eccessiva (max %d caratteri)" #: python/prelims/__init__.py:878 msgid "the new profile name is not valid" msgstr "il nuovo nome profilo non è valido" #: python/prelims/__init__.py:879 msgid "The new profile name is not valid." msgstr "Il nuovo nome profilo non è valido." #: python/prelims/__init__.py:884 msgid "the chosen profile is currently running" msgstr "il profilo scelto è attualmente in uso" #: python/prelims/__init__.py:885 msgid "The chosen profile is currently running." msgstr "Il profilo scelto è attualmente in uso." #: python/prelims/__init__.py:890 msgid "temporary directory creation failed" msgstr "creazione della cartella temporanea fallita" #: python/prelims/__init__.py:891 msgid "Temporary directory creation failed." msgstr "Creazione della cartella temporanea fallita." #: python/prelims/__init__.py:897 #, python-format msgid "the specified template '%s' is not valid" msgstr "il modello '%s' non è valido" #: python/prelims/__init__.py:899 #, python-format msgid "The specified template '%s' is not valid." msgstr "Il modello '%s' non è valido." #: python/prelims/__init__.py:921 #, python-format msgid "the template profile '%s' does not exist" msgstr "il profilo del modello '%s' non esiste" #: python/prelims/__init__.py:923 #, python-format msgid "The template profile '%s' does not exist." msgstr "Il profilo del modello '%s' non esiste." #: python/prelims/__init__.py:933 #, python-format msgid "could not write file %s" msgstr "non posso scrivere il file %s" #: python/prelims/__init__.py:934 #, python-format msgid "Could not write file %s." msgstr "Non posso scrivere il file %s." #: python/prelims/__init__.py:942 #, python-format msgid "the profile directory '%s' already exists" msgstr "la directory del profilo '%s' esiste già" #: python/prelims/__init__.py:944 #, python-format msgid "The profile directory '%s' already exists." msgstr "La directory del profilo '%s' esiste già." #: python/prelims/__init__.py:947 #, python-format msgid "a non directory path exists at: '%s'" msgstr "non c'è il percorso ad una directory: '%s'" #: python/prelims/__init__.py:948 #, python-format msgid "A Non directory path exists at: '%s'." msgstr "Non c'è il percorso ad una directory: '%s'" #: python/prelims/__init__.py:959 msgid "The default profile" msgstr "Il profilo base" #. TC: data entry dialog window title text. %s = profile name #: python/prelims/profiledialog.py:97 #, python-format msgid "Edit profile %s" msgstr "Modifica il profilo %s" #. TC: data entry dialog window title text. %s = profile name #: python/prelims/profiledialog.py:100 #, python-format msgid "New profile based upon %s" msgstr "Nuovo profilo basato su %s" #. TC: data entry dialog window title text. #: python/prelims/profiledialog.py:104 msgid "New profile details" msgstr "Dettagli del nuovo profilo" #. TC: profile dialog window title text. #: python/prelims/profiledialog.py:242 msgid "IDJC Profile Manager" msgstr "Gestore dei profili IDJC" #: python/prelims/profiledialog.py:276 msgid "Profile" msgstr "Profilo" #. TC: column heading. The profile nicknames. #. TC: IRC nickname data entry label. #: python/prelims/profiledialog.py:284 python/irc.py:449 msgid "Nickname" msgstr "Nickname" #. TC: column heading. #. TC: Station description. #: python/prelims/profiledialog.py:287 python/irc.py:86 #: python/playergui.py:308 python/sourceclientgui.py:1621 msgid "Description" msgstr "Descrizione" #. TC: column heading. The time a particular profile has been running. #: python/prelims/profiledialog.py:291 msgid "Up-time" msgstr "Avviato da" #: python/prelims/profiledialog.py:305 msgid "_Auto" msgstr "_Auto" #: python/prelims/profiledialog.py:364 #, python-format msgid "" "Delete the data of profile '%s'?\n" "\n" "The profile will remain available with initial settings." msgstr "" "Eliminare i dati del profilo '%s'?\n" "\n" "Il profilo resterà disponibile con le impostazioni iniziali" #: python/prelims/profiledialog.py:368 #, python-format msgid "" "Delete profile '%s' and all its data?\n" "\n" "The data of deleted profiles cannot be recovered." msgstr "" "Eliminare il profilo '%s' e tutti i suoi " "dati?\n" "\n" "I dati dei profili eliminati non possono essere recuperati." #. TC: The contents of <> and {} must not be changed. #: python/dialogs.py:197 msgid "" "The connection to the server in tab " "{servertab} has failed.\n" "A reconnection attempt will be made in {countdown} seconds.\n" "This is attempt number {attempt} of {maxtries}." msgstr "" "La connessione al server nella " "linguetta {servertab} è fallita.\n" "Un tentativo di riconnessione verrà effettuato tra {countdown} secondi.\n" "Questo è il tentativo {attempt} di {maxtries}." #: python/dialogs.py:251 #, python-format msgid "This is attempt number %d. There is no retry limit." msgstr "Tentativo %d. Non ci sono limiti ai tentativi." #: python/dialogs.py:280 msgid "_Retry Now" msgstr "_Riprova adesso" #: python/__init__.py.in.in:100 #, fuzzy msgid "Copyright 2005-2013 Stephen Fairchild and others." msgstr "Diritti 2005-2011 Stephen Fairchild ed altri." #: python/__init__.py.in.in:101 msgid "Released under the GNU General Public License V2.0 or later." msgstr "Rilasciato sotto la GNU General Public License V2.0 o successiva." #. TC: IRC message subcategory, triggers on new track announcements. #: python/irc.py:74 msgid "Track announce" msgstr "Annuncio traccia" #. TC: IRC message subcategory, triggered by a timer. #: python/irc.py:76 msgid "Timer" msgstr "Cronometro" #. TC: IRC message subcategory, triggered once when the stream starts. #: python/irc.py:78 msgid "On stream up" msgstr "Se il flusso è attivo" #. TC: IRC message subcategory, triggered once at the stream's end. #: python/irc.py:80 msgid "On stream down" msgstr "Se il flusso non è attivo" #. TC: Track artist. #: python/irc.py:85 python/mutagentagger.py:375 python/songdb.py:698 #: python/songdb.py:1035 python/sourceclientgui.py:92 msgid "Artist" msgstr "Artista" #: python/irc.py:85 python/mutagentagger.py:375 python/songdb.py:1039 #: python/sourceclientgui.py:92 msgid "Title" msgstr "Titolo" #: python/irc.py:85 python/mutagentagger.py:376 python/songdb.py:1036 #: python/sourceclientgui.py:92 msgid "Album" msgstr "Album" #: python/irc.py:85 python/sourceclientgui.py:93 msgid "Song name" msgstr "Canzone" #. TC: The DJ or Stream name. #: python/irc.py:86 python/sourceclientgui.py:1618 msgid "DJ name" msgstr "Nome DJ" #: python/irc.py:86 python/sourceclientgui.py:1619 msgid "Listen URL" msgstr "Indirizzo di ascolto (URL)" #. TC: Popup menu item for a GTK text entry widget. #: python/irc.py:129 msgid "Insert Attribute or Colour Code" msgstr "Inserisci un attributo o un codice colore" #. TC: Text formatting style. #: python/irc.py:166 msgid "Bold" msgstr "Grassetto" #. TC: Text formatting style. #: python/irc.py:168 msgid "Underline" msgstr "Sottolineato" #. TC: Text formatting style. #: python/irc.py:170 msgid "Normal" msgstr "Normale" #: python/irc.py:176 msgid "Colours" msgstr "Colori" #: python/irc.py:393 msgid "Optional data entry field for information only." msgstr "Campo opzionale a scopo informativo." #. TC: Tab heading text. #: python/irc.py:396 msgid "IRC server" msgstr "Server IRC" #. TC: Checkbutton label text regarding SSL security protocol. #. TC: Indicator text: We are using SSL protocol. #: python/irc.py:406 python/irc.py:1024 msgid "SSL" msgstr "SSL" #: python/irc.py:408 msgid "" "Connect to the server using the SSL security protocol.\n" "\n" "This feature is typically offered on different ports than the standard " "connection method and is widespread but not universally available." msgstr "" "Connetti al server usando il protocollo SSL.\n" "\n" "Questa funzionalità è disponibile anche su porte diverse dalla standard ed è " "piuttosto diffusa nonostante non sia universalmente disponibile." #: python/irc.py:415 #, fuzzy msgid "Manual start" msgstr "Manuale" #: python/irc.py:417 msgid "Off when restarting IDJC and off initially." msgstr "" #. TC: The IRC network e.g. EFnet. #: python/irc.py:441 msgid "Network" msgstr "Rete" #. TC: label for hostname entry. #: python/irc.py:443 python/sourceclientgui.py:206 msgid "Hostname" msgstr "Nome host" #. TC: TCP/IP port number label. #. TC: TCP port number. #: python/irc.py:445 python/sourceclientgui.py:678 msgid "Port" msgstr "Porta" #: python/irc.py:446 msgid "User name" msgstr "Nome utente" #: python/irc.py:447 python/songdb.py:280 python/sourceclientgui.py:207 msgid "Password" msgstr "Password" #. TC: Second choice of IRC nickname. #: python/irc.py:451 msgid "Second choice" msgstr "Seconda scelta" #. TC: Third choice of IRC nickname. #: python/irc.py:453 msgid "Third choice" msgstr "Terza scelta" #. TC: The IRC user's 'real' name. #: python/irc.py:455 msgid "Real name" msgstr "Nome reale" #. TC: The NickServ password. #: python/irc.py:457 msgid "NickServ p/w" msgstr "NickServ p/w" #. TC: Tooltip to IRC 'User name' field. #: python/irc.py:462 msgid "" "Ideally set this to something even on servers that allow public anonymous " "access." msgstr "" "Impostate questo campo anche per server che consentono l'accesso pubblico " "anonimo." #. TC: tooltip to all IRC nicknames entry fields. #: python/irc.py:472 msgid "" "When a nickname is in use on the target IRC network, during connection these " "IRC nicknames are cycled through, then twice again after appending an " "additional underscore until giving up. This gives IDJC a maximum of nine IRC " "nicknames to try." msgstr "" "Quando un nickname è in uso sulla rete IRC, in fase di connessione vengono " "provati questi nickname, poi vengono usati di nuovo ma aggiungendo un " "trattino basso in coda fino a smettere. Questo fornisce a IDJC un massimo di " "nove nickname IRC da provare." #: python/irc.py:477 msgid "" "The real name you want to use which will be available regardless of whether " "the network connection was made with the primary nickname or not.\n" "\n" "Ideally set this to something." msgstr "" "Il nome reale che volete utilizzare e che sarà sempre disponibile a " "prescindere se per la connessione viene usato il nickname primario o meno.\n" "\n" "Dovreste impostarlo." #: python/irc.py:480 msgid "" "If this value is set an attempt will be made to acquire your first choice " "IRC nickname (if needed) and log in with NickServ@services.\n" "\n" "The use of the NickServ service requires prior nickname registration on the " "network using a regular chat client." msgstr "" "Se questo valore è impostato verrà effettuato un tentativo di acquisire il " "vostro primo nickname IRC (se necessario) ed accedere in NickServ@services.\n" "\n" "L'utilizzo del servizio NickServ necessista la preventiva registrazione del " "nickname sulla rete utilizzando un client regolare." #: python/irc.py:508 msgid "" "Permanently delete this server?\n" "\n" "This action will also erase all of its associated messages." msgstr "" "Eliminare il server in modo permanente?\n" "\n" "Questa azione eliminerà anche tutti i messaggi associati" #. TC: An IRC channel #chan or user name entry box label. #: python/irc.py:555 msgid "Channels/Users" msgstr "Canali/Utenti" #: python/irc.py:559 msgid "" "The comma or space separated list of channels and/or users to whom the " "message will be sent.\n" "\n" "Protected channels are included with the form:\n" "#channel:keyword." msgstr "" "La lista di canali e/o utenti, separati da virgola o spazio, ai quali verrà " "inviato il messaggio.\n" "\n" "I canali protetti sono inclusi nella forma:\n" "#canale:parolachiave" #. TC: Message text to send to an IRC channel. Widget label. #: python/irc.py:566 msgid "Message" msgstr "Messaggio" #: python/irc.py:570 msgid "" "The message to send.\n" "\n" "On the pop-up window (mouse right click) are some useful options for " "embedding metadata and for text formatting.\n" "\n" "The window below displays how the message will appear to users of XChat." msgstr "" "Il messaggio da inviare.\n" "\n" "Sulla finestra di pop-up (clic con il tasto destro del mouse) ci sono alcune " "opzioni utili per includere i metadati e per la formattazione del testo.\n" "\n" "La finestra in basso mostra il messaggio così come apparirà agli utenti di " "XChat." #. TC: Dialog window title text. #: python/irc.py:641 msgid "IRC track announce" msgstr "Annuncio traccia IRC" #. TC: Spinbutton label for a delay value. #: python/irc.py:648 msgid "Delay" msgstr "Ritardo" #. TC: tooltip on a spinbutton widget. #: python/irc.py:650 msgid "" "The delay time of this message.\n" "\n" "Typically listener clients will buffer approximately ten seconds of audio " "data which means they are listening the same amount of time behind the " "actual stream therefore without a delay IRC messages will appear to the " "listener many seconds ahead of the audio.\n" "\n" "This setting will help synchronise the track change with the message." msgstr "" "Il ritardo del messaggio.\n" "\n" "Tipicamente i client degli ascoltatori memorizzeranno circa dieci secondi di " "audio il che vuol dire che ascolteranno il flusso con lo stesso ritardo, " "quindi senza un ritardo il messaggi IRC apparirebbero all'ascoltatore " "altrettanti secondi in anticipo rispetto all'audio.\n" "\n" "Questa impostazione consente di sincronizzare il cambio di traccia con il " "messaggio." #. TC: Dialog window title text. #: python/irc.py:678 msgid "IRC timed message" msgstr "Messaggio a tempo IRC" #. TC: Spinbutton time offset value label. #: python/irc.py:687 msgid "Offset" msgstr "Sfasamento" #. TC: Spinbutton timed interval duration value label. #: python/irc.py:689 msgid "Interval" msgstr "Intervallo" #. TC: spinbutton tooltip #: python/irc.py:692 msgid "" "The time offset within the below specified interval at which the message " "will be issued." msgstr "" "Lo sfasamento con l'intervallo specificato qui sotto con cui il messaggio " "verrà recapitato." #: python/irc.py:696 msgid "The interval in seconds of the timed message." msgstr "L'intervallo in secondi del messaggio temporizzato" #: python/irc.py:933 msgid "This feature requires the installation of python-irclib." msgstr "Questa funzionalità necessita dell'installazione di python-irclib" #. TC: Indicator text: We used a password. #: python/irc.py:1027 msgid "PASSWORD" msgstr "" #. TC: Indicator text: We interact with NickServ. #: python/irc.py:1030 msgid "NICKSERV" msgstr "" #. TC: Indicator text: Server connection started manually. #: python/irc.py:1033 msgid "MANUAL" msgstr "" #. TC: Expander text encapsulating messages that play when stream goes up. #: python/irc.py:1054 msgid "IRC stream up message" msgstr "Messaggio di in onda di IRC" #. TC: Expander text encapsulating messages that play when stream goes down. #: python/irc.py:1056 msgid "IRC stream down message" msgstr "Messaggio di fuori onda IRC" #: python/jingles.py:87 #, fuzzy msgid "Stop" msgstr "Ferma" #. TC: Column heading, whether to play. #: python/jingles.py:105 python/playergui.py:300 msgid "Play" msgstr "Riproduci" #: python/jingles.py:114 python/sourceclientgui.py:1018 msgid "Repeat" msgstr "Ripeti" #: python/jingles.py:125 #, fuzzy msgid "Configure" msgstr "Configurazione" #: python/jingles.py:299 python/playergui.py:4001 msgid "Supported media" msgstr "Media supportati" #: python/jingles.py:306 #, python-format msgid "Effect %d Config" msgstr "" #: python/jingles.py:321 msgid "Trigger text" msgstr "" #: python/jingles.py:322 msgid "No Name" msgstr "" #: python/jingles.py:329 msgid "Level adjustment (dB)" msgstr "" #: python/jingles.py:384 #, fuzzy msgid "Effects volume." msgstr "VoIP imposta volume" #: python/jingles.py:391 msgid "Player headroom that is applied when an effect is playing." msgstr "" #: python/jingles.py:454 #, fuzzy msgid "Alternative" msgstr "Alterna" #: python/jingles.py:455 #, fuzzy msgid "Default" msgstr "Base" #: python/jingles.py:500 #, fuzzy msgid "Effects" msgstr "Effetto" #: python/jingles.py:543 #, fuzzy, python-format msgid "Effects %d" msgstr "Effetto" #: python/jingles.py:551 python/maingui.py:188 msgid "Background Tracks" msgstr "" #: python/jingles.py:570 msgid "Background Tracks volume." msgstr "" #: python/maingui.py:92 msgid "Show a JACK freewheel control on the main panel" msgstr "" #: python/maingui.py:94 msgid "Toggle JACK freewheel mode." msgstr "" #: python/maingui.py:167 #, fuzzy msgid "File" msgstr "Nome file" #: python/maingui.py:167 python/preferences.py:1005 msgid "View" msgstr "Vista" #: python/maingui.py:168 msgid "JACK Ports" msgstr "Porte JACK" #: python/maingui.py:168 msgid "Help" msgstr "" #: python/maingui.py:170 python/maingui.py:3636 msgid "Streams" msgstr "Flussi" #: python/maingui.py:171 #, fuzzy msgid "Recorders" msgstr "Registratore" #: python/maingui.py:184 python/maingui.py:223 msgid "Output" msgstr "Uscita" #: python/maingui.py:184 msgid "Preferences" msgstr "Preferenze" #: python/maingui.py:184 msgid "Profiles" msgstr "Profili" #: python/maingui.py:187 python/songdb.py:353 #, fuzzy msgid "Music Database" msgstr "Database" #: python/maingui.py:187 #, fuzzy msgid "Channel Meters" msgstr "Gestore canale" #: python/maingui.py:187 #, fuzzy msgid "Output Meters" msgstr "Uscita" #: python/maingui.py:188 msgid "Tabbed Area" msgstr "" #: python/maingui.py:188 msgid "Button Bar" msgstr "" #: python/maingui.py:222 python/preferences.py:1353 msgid "Channels" msgstr "Canali" #: python/maingui.py:222 #, fuzzy msgid "Players" msgstr "Lettore" #: python/maingui.py:223 msgid "VoIP" msgstr "" #: python/maingui.py:223 python/maingui.py:3075 msgid "DSP" msgstr "" #: python/maingui.py:223 msgid "Mix" msgstr "" #: python/maingui.py:223 msgid "Misc" msgstr "" #: python/maingui.py:268 msgid "Reset" msgstr "" #: python/maingui.py:271 msgid "Reset the JACK port connections to the default settings." msgstr "" #: python/maingui.py:276 msgid "" "Reset all JACK port connections?\n" "\n" "All currently established connections will be lost\n" "and replaced with defaults." msgstr "" #: python/maingui.py:320 msgid "No compatible ports available." msgstr "" #: python/maingui.py:363 msgid "{0} profile={1}:{2} settings saved." msgstr "" #: python/maingui.py:366 msgid "{0} session={1}:{2} settings saved." msgstr "" #: python/maingui.py:670 msgid "Text" msgstr "Testo" #: python/maingui.py:673 msgid "The opener button's text." msgstr "Il testo del pulsante di apertura" #: python/maingui.py:681 msgid "Icon" msgstr "Icona" #: python/maingui.py:689 msgid "The opener button's icon." msgstr "L'iconda del pulsante di apertura." #: python/maingui.py:697 msgid "" "The headroom is the amount by which to reduce player volume when this opener " "is active. Note that the actual amount will be the largest value of all the " "currently open buttons." msgstr "" "L'headroom è la riduzione in dB da applicare al volume del lettore quando " "questo opener è attivo. Notare che la riduzione attuale sarà relativa al " "valore più alto tra tutti i pulsanti aperti." #: python/maingui.py:702 msgid "The amount of headroom required (dB)" msgstr "La quantità di headroom richiesta (dB)" #: python/maingui.py:711 msgid "This button will flash as a reminder to close" msgstr "Questo pulsante lampeggerà per ricordarvi di chiuderlo" #: python/maingui.py:712 msgid "" "After a number of seconds where a main player is active this button's status " "indicator will start to flash and will continue to do so until the button is " "closed or the player stops." msgstr "" "Dopo un certo numero di secondi che il lettore principale è attivo, " "l'indicatore di stato di questo pulsante inizierà a lampeggiare e continuerà " "a farlo finché il pulsante non sarà rilasciato o finché non verrò fermata la " "riproduzione." #: python/maingui.py:720 msgid "This button is to be treated as a microphone opener" msgstr "Questo apre il microfono" #: python/maingui.py:722 msgid "" "The button will be grouped with the other microphone opener buttons. It will " "be affected by signals to close microphone buttons. Channels associated with " "this button will be mixed differently when using the VoIP modes." msgstr "" "Questo pulsante sarà raggruppato insieme ai pulsanti degli altri microfoni. " "Sarà agito dai segnali per spegnere i microfoni. I canali associati con " "questo pulsante saranno missati in modo diverso quando vengono usate le " "modalità VoIP." #: python/maingui.py:733 msgid "" "This should be set for all buttons that control input from a live sound " "source or device." msgstr "" #: python/maingui.py:736 msgid "Button Open Triggers" msgstr "Inneschi apertura pulsante" #: python/maingui.py:743 msgid "Playlist advance button" msgstr "Pulsante di avanzamento playlist" #: python/maingui.py:744 python/maingui.py:745 #, python-format msgid "'%s' control" msgstr "controllo '%s'" #. TC: Insert playlist control to stop the player. #: python/maingui.py:744 python/playergui.py:4259 msgid "Player Stop" msgstr "Ferma lettore" #. TC: Insert playlist control to stop the player. #: python/maingui.py:745 python/playergui.py:4266 msgid "Player Stop 2" msgstr "Ferma lettore 2" #: python/maingui.py:746 msgid "Announcements" msgstr "Annunci" #: python/maingui.py:758 msgid "When opened close these other buttons" msgstr "Chiude questi altri pulsanti se aperto" #: python/maingui.py:769 msgid "Shell Command" msgstr "Comando Shell" #: python/maingui.py:770 msgid "" "Mostly useful issuing 'amixer' commands, in particular for setting capture." msgstr "" "Più utile se si lancia il comando 'amixer', in particolare per impostare la " "registrazione." #: python/maingui.py:790 msgid "On open" msgstr "All'avvio" #: python/maingui.py:791 msgid "On close" msgstr "In chiusura" #: python/maingui.py:835 msgid "Main Panel Opener Buttons" msgstr "Pulsanti di apertura del pannello principale" #: python/maingui.py:847 msgid "Indicate button numbers and associated channel numbers" msgstr "Indica il numero dei pulsanti e dei numeri di canale associati" #: python/maingui.py:849 msgid "A useful feature to have switched on while allocating channel openers." msgstr "Una funzionalità utile da attivare mentre si allocano i canali" #: python/maingui.py:855 msgid "Status Indicator Appearance" msgstr "Aspetto dell'indicatore di stato" #: python/maingui.py:858 msgid "" "Each opener button has two vertical bars at the side to make the button " "state more apparent. These settings control their appearance." msgstr "" "Ogni pulsante ha due barre verticali ai lati per renderne chiaro lo stato. " "Queste impostazioni ne controllano la grafica." #: python/maingui.py:867 msgid "Width" msgstr "Larghezza" #: python/maingui.py:874 msgid "Opened" msgstr "Aperto" #: python/maingui.py:878 python/preferences.py:350 python/preferences.py:352 msgid "Closed" msgstr "Chiuso" #: python/maingui.py:883 msgid "Remind" msgstr "Ricorda" #. TC: A placeholder text for when there are no opener buttons. #: python/maingui.py:1064 msgid "No Channel Opener Buttons" msgstr "Nessun canale da abilitare" #: python/maingui.py:1353 msgid "" "This indicates the state of the various streams. Flashing means stream " "packets are being discarded because of network congestion. Partial red means " "the send buffer is partially full indicating difficulty communicating with " "the server. Green means everything is okay." msgstr "" "Indica lo stato dei vari flussi. Il lampeggiamento indica che i pacchetti " "del flusso vengono perduti perché la rete è congestionata. Un rosso parziale " "indica che il buffer di invio è parzialmente pieno, ovvero difficoltà di " "comunicazione con il server. Verde indica che tutto è a posto." #: python/maingui.py:1376 msgid "The combined total number of listeners in all server tabs." msgstr "Il numero cumulato di ascoltatori per tutti i server." #. TC: Record as in, to make a recording. #: python/maingui.py:1824 python/sourceclientgui.py:2671 msgid "Record" msgstr "Registra" #: python/maingui.py:2603 msgid "Confirmation to quit IDJC is required." msgstr "Viene chiesta una conferma per chiudere IDJC." #: python/maingui.py:2607 msgid "All active recordings and radio streams will terminate." msgstr "Tutte le registrazioni ed i flussi radio verranno interrotti." #: python/maingui.py:2609 msgid "All of the active radio streams will terminate." msgstr "Tutti flussi radio verranno interrotti." #: python/maingui.py:2611 msgid "All active recordings will cease." msgstr "Tutte le registrazioni verranno interrotte." #. TC: Popup menu item, wipes away the tracks played history text. #: python/maingui.py:2867 python/maingui.py:3300 msgid "Remove Contents" msgstr "Rimuove i contenuti" #: python/maingui.py:3023 msgid "Renameable Labels" msgstr "" #: python/maingui.py:3047 #, fuzzy msgid "Main Players" msgstr "Lettore destro" #: python/maingui.py:3099 msgid "Mix voice over IP audio to the output stream." msgstr "Manda in onda l'audio del VoIP" #: python/maingui.py:3112 msgid "Mix voice over IP audio to the DJ only." msgstr "Missa l'audio del VoIP solo al DJ" #: python/maingui.py:3140 msgid "" "This button steps through the active playlist, pausing between tracks. The " "active playlist is defined by the placement of the crossfader." msgstr "" "Questo pulsante scorre la playlist attiva facendo una pausa tra le tracce. " "La playlist attiva viene dedotta dal posizionamento del crossfader" #: python/maingui.py:3185 python/preferences.py:754 msgid "The volume control shared by both music players." msgstr "Il controllo del volume per entrambi i lettori" #: python/maingui.py:3196 msgid "The volume control for the right music player." msgstr "Il volume del lettore di destra." #: python/maingui.py:3224 msgid "VoIP level adjustment. 0dB gain is at the mid point." msgstr "" #: python/maingui.py:3247 msgid "The stream volume level to send to the voice over IP connection." msgstr "Il volume del flusso da inviare alla connessione VoIP" #: python/maingui.py:3274 python/preferences.py:1288 msgid "Tracks Played" msgstr "Tracce eseguite" #: python/maingui.py:3345 python/maingui.py:3347 python/maingui.py:3371 msgid "Monitor Mix" msgstr "Monitoraggio Mix" #: python/maingui.py:3354 python/maingui.py:3371 python/playergui.py:4200 msgid "DJ" msgstr "DJ" #. TC: binding editor, action pane, first row, toplevel menu. #: python/maingui.py:3357 python/maingui.py:3371 python/midicontrols.py:151 #: python/midicontrols.py:1483 python/playergui.py:4192 #: python/sourceclientgui.py:2679 msgid "Stream" msgstr "Flusso" #. TC: Context {0}, {1}, {2} = Monitor Mix, Stream, DJ #. TC: Or whatever they become translated to. #: python/maingui.py:3367 msgid "" "In IDJC there are are two audio paths and this '{0}' control toggles between " "them. When '{1}' is active you can hear what the listeners are hearing " "including the effects of the crossfader. '{0}' needs to be set to '{2}' in " "order to make proper use of the VoIP features." msgstr "" "In IDJC ci sono due percorsi per l'audio e questo '{0}' controllo passa " "dall'uno all'altro. Se '{1}' è attivo ascolterete quello che sentono gli " "ascoltatori, inclusi gli effetti della dissolvenza. '{0}' deve essere " "impostato su '{2}' per utilizzare al meglio le funzionalità VoIP" #. TC: Dropdown box title text widget. #: python/maingui.py:3380 python/maingui.py:3382 msgid "Metadata Source" msgstr "Sorgente dei metadati" #. TC: The chosen source of track metadata. #: python/maingui.py:3388 python/playergui.py:3910 msgid "Playlist 1" msgstr "Playlist 1" #. TC: The chosen source of track metadata. #: python/maingui.py:3390 python/playergui.py:3911 msgid "Playlist 2" msgstr "Playlist 2" #. TC: The chosen source of track metadata. #: python/maingui.py:3392 msgid "Last Played" msgstr "Ultima eseguita" #. TC: The chosen source of track metadata. #: python/maingui.py:3394 python/maingui.py:3431 python/maingui.py:3433 msgid "Crossfader" msgstr "Crossfader" #. TC: The chosen source of track metadata. In this case no metadata. #. TC: Fade time is zero. No fade, none. #: python/maingui.py:3396 python/playergui.py:4175 msgid "None" msgstr "Nessuna" #. TC: The chosen source of track metadata. In this case no metadata. #: python/maingui.py:3398 #, fuzzy msgid "Playlist 3" msgstr "Playlist 1" #: python/maingui.py:3403 #, fuzzy msgid "Select the origin for the playing track metadata on the stream." msgstr "Seleziona quale Deck è responsabile dei metadati del flusso" #. TC: Abbreviation of left. #: python/maingui.py:3413 python/maingui.py:3415 python/preferences.py:391 msgid "L" msgstr "L" #: python/maingui.py:3425 msgid "Move the crossfader fully left." msgstr "Sposta il crossfader a sinistra" #: python/maingui.py:3445 msgid "The crossfader." msgstr "Il crossfader" #. TC: Abbreviation of right. #: python/maingui.py:3449 python/maingui.py:3451 python/preferences.py:402 msgid "R" msgstr "R" #: python/maingui.py:3461 msgid "Move the crossfader fully right." msgstr "Sposta il crossfader a destra" #. TC: Describes a mid point. #: python/maingui.py:3470 python/maingui.py:3472 msgid "Middle" msgstr "Mezzo/Metà" #: python/maingui.py:3489 python/maingui.py:3496 msgid "Move the crossfader to the middle of its range of travel." msgstr "Sposta il crossfader a metà della corsa" #. TC: The attenuation response curve of the crossfader. User selectable. #: python/maingui.py:3501 python/maingui.py:3503 msgid "Response" msgstr "Risposta" #: python/maingui.py:3525 msgid "" "This selects the response curve of the crossfader.\n" "\n" "The mid-point attenuations are -3dB, 0dB, and -22dB respectively." msgstr "" "Consente di selezionare la curva di risposta del crossfader.\n" "Le attenuzioni nel punto di mezzo sono -3dB, 0dB e -22dB rispettivamente." #. TC: Duration in seconds. #: python/maingui.py:3539 python/maingui.py:3541 msgid "Time" msgstr "Tempo" #: python/maingui.py:3558 msgid "" "The time in seconds that the crossfader will take to automatically pass " "across when the button to the right is clicked." msgstr "" "Il tempo in secondi che impiegherà il crossfader per passare da una parte " "all'altra quando viene premuto il pulsante qui a destra." #. TC: The crossfader pass-across button text. #. TC: The actual button appears as [<-->] with this text above it. #: python/maingui.py:3567 python/maingui.py:3569 msgid "Pass" msgstr "Avvia" #: python/maingui.py:3582 msgid "" "This button causes the crossfader to move to the opposite side at a speed " "determined by the speed selector to the left." msgstr "" "Questo pulsante muove il crossfader fino alla parte opposta nel lasso di " "tempo specificato qui a sinistra" #: python/maingui.py:3625 #, fuzzy msgid "Peak" msgstr "Str Peak" #: python/maingui.py:3628 msgid "A peak hold meter indicating the signal strength of the stream audio." msgstr "" "Un indicatore a tenuta di picco che indica la potenza del segnale audio " "trasmesso." #. TC: This text appears above the stream mix VU meter. #: python/maingui.py:3650 msgid "VU" msgstr "" #: python/maingui.py:3654 msgid "A VU meter for the stream audio." msgstr "Indicatore VU per il flusso audio" #. TC: Appears above the mic meters as a label followed by a number. #: python/maingui.py:3657 msgid "Ch" msgstr "Ch" #: python/maingui.py:3684 msgid "" "A peak hold meter indicating the microphone signal strength and a meter " "indicating attenuation levels in the microphone signal processing system. " "Green indicates attenuation from the noise gate, yellow from the de-esser, " "red from the limiter." msgstr "" "Un indicatore a tenuta di picco che indica la potenza del segnale e uno che " "indica l'attenuazione del livello del microfono da parte dell'elaboratore di " "segnale. Il verde indica l'attenuazione del noise gate, il giallo del de-" "esser. Il rosso del limiter." #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:47 #, fuzzy msgid "Tooltips enable" msgstr "VoIP abilita l'uscita" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:49 msgid "DJ-mix monitor" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:52 msgid "Player play/pause" msgstr "Lettore riproduci/pausa" #. TC: Control method. Please keep it as Target:Action. #. TC: Playlist control. #: python/midicontrols.py:54 python/playergui.py:3668 msgid "Player stop" msgstr "Lettore ferma" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:56 msgid "Player advance" msgstr "Lettore avanza" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:58 msgid "Player play previous" msgstr "Lettore suona la precedente" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:60 msgid "Player play next" msgstr "Lettore suona la prossima" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:62 msgid "Player play selected from start" msgstr "Lettore suona la selezione dall'inizio" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:64 msgid "Player select previous" msgstr "Lettore seleziona la precedente" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:66 msgid "Player select next" msgstr "Lettore seleziona la successiva" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:68 msgid "Player stream output enable" msgstr "Lettore abilita il flusso" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:70 msgid "Player DJ output enable" msgstr "Lettore abilita l'uscita DJ" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:72 msgid "Player DJ-only switch" msgstr "Lettore solo al DJ " #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:74 msgid "Player set volume" msgstr "Lettore Imposta il volume" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:76 msgid "Player set gain" msgstr "Lettore imposta il gain" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:78 msgid "Player set balance" msgstr "Lettore imposta il bilanciamento" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:80 msgid "Player set pitchbend" msgstr "Lettore imposta variazione tono" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:83 msgid "Playlist edit tags" msgstr "Playlist modifica i tag" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:85 msgid "Playlist insert stop" msgstr "Playlist inserisci stop" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:87 msgid "Playlist insert stop 2" msgstr "Playlist inserisci stop 2" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:89 msgid "Playlist insert announce" msgstr "Lettore inserisci annuncio" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:91 msgid "Playlist insert transfer" msgstr "Lettore inserisci trasferimento" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:93 msgid "Playlist insert crossfade" msgstr "Playlist inserisci dissolvenza" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:95 msgid "Playlist insert pitchunbend" msgstr "Playlist inserisci abbassamento tono" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:97 msgid "Playlist insert jump to top" msgstr "Playlist inserisci salto all'inizio" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:100 msgid "Players set crossfade" msgstr "Lettori imposta dissolvenza" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:102 msgid "Players pass crossfade" msgstr "Lettori supera dissolvenza" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:104 msgid "Players set focus" msgstr "Lettori imposta focus" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:106 msgid "Players show pitchbend" msgstr "Lettori mostra alzamento tono" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:109 msgid "Channel output enable" msgstr "Canale abilita l'uscita" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:111 msgid "Channel set volume" msgstr "Canale imposta volume" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:113 msgid "Channel set gain" msgstr "Canale imposta guadagno" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:115 msgid "Channel set balance" msgstr "Canale imposta bilanciameno" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:118 msgid "VoIP output enable" msgstr "VoIP abilita l'uscita" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:120 msgid "VoIP DJ-only switch" msgstr "VoIP solo al DJ" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:122 msgid "VoIP set volume" msgstr "VoIP imposta volume" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:124 #, fuzzy msgid "VoIP set mixback" msgstr "VoIP imposta il bilanciamento" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:126 msgid "VoIP set gain" msgstr "VoIP imposta guadagno" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:128 msgid "VoIP set balance" msgstr "VoIP imposta il bilanciamento" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:131 #, fuzzy msgid "Effect play from start" msgstr "Stacchetto suona dall'inizio" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:134 #, fuzzy msgid "Effects stop many" msgstr "VoIP imposta volume" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:136 #, fuzzy msgid "Effects set volume" msgstr "VoIP imposta volume" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:138 #, fuzzy msgid "Effects set headroom" msgstr "Stacchetti seleziona il successivo" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:141 msgid "Stream set connected" msgstr "Flusso imposta connessione" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:144 msgid "Recorder set recording" msgstr "Registratore imposta registrazione" #. TC: binding editor, action pane, first row, toplevel menu. #: python/midicontrols.py:148 python/midicontrols.py:1471 msgid "Player" msgstr "Lettore" #. TC: binding editor, action pane, first row, toplevel menu. #. TC: The midi channel. #. TC: Specifically, the numerical midi channel. #: python/midicontrols.py:149 python/midicontrols.py:1475 #: python/midicontrols.py:1544 python/midicontrols.py:1734 msgid "Channel" msgstr "Canale" #: python/midicontrols.py:150 python/preferences.py:481 #: python/preferences.py:491 msgid "Effect" msgstr "Effetto" #: python/midicontrols.py:152 msgid "Recorder" msgstr "Registratore" #: python/midicontrols.py:156 msgid "Left player" msgstr "Lettore sinistro" #: python/midicontrols.py:157 msgid "Right player" msgstr "Lettore destro" #: python/midicontrols.py:158 #, fuzzy msgid "Background player" msgstr "Lettore attivo" #: python/midicontrols.py:159 msgid "Focused player" msgstr "Lettore attivo" #: python/midicontrols.py:160 msgid "Fadered player" msgstr "Lettore inattivo" #: python/midicontrols.py:164 #, fuzzy msgid "Effects bank 1" msgstr "Effetto" #: python/midicontrols.py:165 #, fuzzy msgid "Effects bank 2" msgstr "Effetto" #: python/midicontrols.py:166 #, fuzzy msgid "All effects" msgstr "Stacchetti seleziona il successivo" #. TC: The name of the backspace key. #: python/midicontrols.py:400 msgid "BackSpace" msgstr "BackSpace" #. TC: binding editor, action pane, third row, heading text. #: python/midicontrols.py:1447 msgid "Use value" msgstr "Usa valore" #. TC: binding editor, action pane, third row, heading text. #: python/midicontrols.py:1449 msgid "Act if" msgstr "Agisci se" #. TC: binding editor, action pane, third row, heading text. #: python/midicontrols.py:1451 msgid "Set to" msgstr "Imposta a" #. TC: binding editor, action pane, third row, heading text. #: python/midicontrols.py:1453 msgid "Adjust by" msgstr "Regola di" #. TC: binding editor, input pane, fourth row, heading text. #: python/midicontrols.py:1458 python/midicontrols.py:1462 msgid "Control" msgstr "Controllo" #. TC: binding editor, input pane, fourth row, heading text. #: python/midicontrols.py:1460 msgid "Note" msgstr "Nota" #. TC: binding editor, input pane, fourth row, heading text. #: python/midicontrols.py:1464 msgid "Key" msgstr "Tasto" #. TC: binding editor, action pane, first row, toplevel menu. #: python/midicontrols.py:1469 #, fuzzy msgid "Miscellaneous" msgstr "Impostazioni varie" #. TC: binding editor, action pane, first row, toplevel menu. #: python/midicontrols.py:1473 msgid "Both players" msgstr "Entrambi i lettori" #. TC: binding editor, action pane, first row, toplevel menu. #: python/midicontrols.py:1477 msgid "VoIP channel" msgstr "Canale VoIP" #. TC: binding editor, action pane, first row, toplevel menu. #: python/midicontrols.py:1479 #, fuzzy msgid "Single effect" msgstr "Stacchetti seleziona il successivo" #. TC: binding editor, action pane, first row, toplevel menu. #: python/midicontrols.py:1481 #, fuzzy msgid "Effects bank" msgstr "Effetto" #. TC: binding editor, action pane, first row, toplevel menu. #: python/midicontrols.py:1485 msgid "Stream recorder" msgstr "Flusso registratore " #. TC: binding editor, action pane, second row, dropdown text. #: python/midicontrols.py:1490 msgid "Direct fader/held button" msgstr "Pulsante cursore/premuto" #. TC: binding editor, action pane, second row, dropdown text. #: python/midicontrols.py:1492 msgid "One-shot/toggle button" msgstr "Pulsante a singolo colpo" #. TC: binding editor, action pane, second row, dropdown text. #: python/midicontrols.py:1494 msgid "Set value" msgstr "Imposta valore" #. TC: binding editor, action pane, second row, dropdown text. #: python/midicontrols.py:1496 msgid "Alter value" msgstr "Altera valore" #. TC: binding editor, input pane, second row, dropdown text. #: python/midicontrols.py:1501 msgid "MIDI control" msgstr "MIDI controllo" #. TC: binding editor, input pane, second row, dropdown text. #: python/midicontrols.py:1503 msgid "MIDI note" msgstr "MIDI nota" #. TC: binding editor, input pane, second row, dropdown text. #: python/midicontrols.py:1505 msgid "MIDI pitch-wheel" msgstr "MIDI controllo della tonalità " #. TC: binding editor, input pane, second row, dropdown text. #: python/midicontrols.py:1507 msgid "Keyboard press" msgstr "Azione da tastiera" #. TC: binding editor, input pane, second row, dropdown text. #: python/midicontrols.py:1509 msgid "XChat command" msgstr "XChat comando" #. TC: Dialog window title text. #. TC: User is expected to edit a control binding. #: python/midicontrols.py:1518 msgid "Edit control binding" msgstr "Modifica le scorciatoie per i controlli" #. TC: After clicking this button the binding editor will be listening #. TC: for a key press or midi control surface input. #. TC: Button text. If pressed triggers 'Listening for input' mode. #: python/midicontrols.py:1533 python/midicontrols.py:1614 #: python/midicontrols.py:1713 msgid "Listen for input..." msgstr "In attesa di input..." #. TC: The input source. #: python/midicontrols.py:1541 msgid "Source" msgstr "Fonte" #. TC: The manner in which the input is interpreted. #: python/midicontrols.py:1560 msgid "Interaction" msgstr "Interazione" #. TC: The effect of the control can be directed upon a specific target. #. TC: e.g. On target [Left player] #: python/midicontrols.py:1566 msgid "On target" msgstr "Obiettivo" #. TC: Checkbutton text. #. TC: Use reverse scale and invert the meaning of button presses. #: python/midicontrols.py:1574 msgid "Reversed" msgstr "Invertito" #: python/midicontrols.py:1575 msgid "Pressed" msgstr "Premuto" #: python/midicontrols.py:1577 msgid "Released" msgstr "Rilasciato" #. TC: Tree column heading for Inputs e.g. Backspace, F1, S. #: python/midicontrols.py:1607 python/midicontrols.py:1967 msgid "Input" msgstr "Ingresso" #: python/midicontrols.py:1611 #, python-format msgid "" "The first half of a binding is the input which comes in the form of the " "press of a keyboard key or an event from a midi device.\n" "\n" "Input selection can be done manually or with the help of the '%s' option." msgstr "" "La prima metà di un binding è l'input che proviene nella forma di un tasto " "premuto della tastiera o di un evento di un dispositivo midi.\n" "\n" "La selezione dell'input può essere fatta manualmente o con l'ausilio " "dell'opzione '%s'." #. TC: Tree column heading for actions e.g. Player stop. #: python/midicontrols.py:1647 python/midicontrols.py:1653 #: python/midicontrols.py:1981 msgid "Action" msgstr "Azione" #. TC: %s is the translation of 'Action'. #: python/midicontrols.py:1652 #, python-format msgid "The '%s' pane determines how the input is handled, and to what effect." msgstr "" "Il pannello '%s' determina come viene gestito l'ingresso e con quale effetto." #: python/midicontrols.py:1709 msgid "Listening for input" msgstr "In attesta di input" #. TC: Refers to key modifiers including Ctrl, Alt, Shift, .... #: python/midicontrols.py:1730 msgid "Shifting" msgstr "Modificatori" #: python/midicontrols.py:1928 msgid "Singular control" msgstr "Controllo unico" #: python/midicontrols.py:1990 msgid "Target" msgstr "Obiettivo" #: python/mutagentagger.py:219 msgid "title" msgstr "titolo" #: python/mutagentagger.py:219 msgid "artist" msgstr "artista" #: python/mutagentagger.py:220 msgid "album" msgstr "album" #: python/mutagentagger.py:220 msgid "track/total" msgstr "traccia/totale" #: python/mutagentagger.py:221 msgid "genre" msgstr "genere" #: python/mutagentagger.py:221 msgid "record date" msgstr "data di registrazione" #: python/mutagentagger.py:360 msgid "" "Add any other ID3 text frames here.\n" "e.g. TIT2:Alternate Title\n" "This will be appended onto the main TIT2 tag.\n" "\n" "Enter user defined text frames like this:\n" "TXXX:foo=bar\n" "\n" "For more information visit www.id3.org." msgstr "" "Aggiunge qualsiasi altro riquadro ID3.\n" "es. TIT2: Titolo alternativo \n" "Verrà accodato la TIT2 principale.\n" "\n" "Inserire riquadri definiti dall'utente in questo modo:\n" "TXXX:pinco=pallo\n" "\n" "Per ulteriori informazioni visitare www.id3.org." #. TC: Remaining textual ID3 data is show below this heading. #: python/mutagentagger.py:366 msgid " Additional Text Frames " msgstr " Riquadri di testo aggiuntivi " #. TC: The album track number. #: python/mutagentagger.py:376 python/songdb.py:702 python/songdb.py:1038 msgid "Track" msgstr "Traccia" #: python/mutagentagger.py:377 msgid "Genre" msgstr "Genere" #: python/mutagentagger.py:377 msgid "Year" msgstr "Anno" #. TC: Window title. #: python/mutagentagger.py:688 msgid "IDJC Tagger" msgstr "Il tagger IDJC" #: python/mutagentagger.py:700 python/mutagentagger.py:704 #: python/mutagentagger.py:708 msgid "Filename:" msgstr "Nome file:" #: python/mutagentagger.py:777 msgid "Native" msgstr "Nativo" #: python/songdb.py:160 #, fuzzy msgid "Connecting" msgstr "Connessione" #: python/songdb.py:169 #, fuzzy, python-format msgid "Connection failed (try %d)" msgstr "Timer di connessione:" #: python/songdb.py:181 msgid "Connected: utf-8 mode failed" msgstr "" #: python/songdb.py:183 #, fuzzy msgid "Connected" msgstr "Connetti" #: python/songdb.py:191 msgid "Job dropped" msgstr "" #: python/songdb.py:201 python/songdb.py:375 #, fuzzy msgid "Disconnected" msgstr "Disconnetti" #: python/songdb.py:215 msgid "Problem dropping connection" msgstr "" #: python/songdb.py:217 #, fuzzy msgid "Connection dropped" msgstr "Connessione" #: python/songdb.py:244 #, fuzzy msgid "Hostname[:Port]" msgstr "Nome host" #: python/songdb.py:251 msgid "File Path Modify" msgstr "" #: python/songdb.py:257 msgid "" "The number of characters to strip from the left hand side of media file " "paths." msgstr "" #: python/songdb.py:260 msgid "The characters to prefix to the media file paths." msgstr "" #: python/songdb.py:271 #, fuzzy msgid "User Name" msgstr "Nome utente" #: python/songdb.py:274 msgid "Database" msgstr "Database" #: python/songdb.py:333 #, fuzzy msgid "Prokyon3 or Ampache (song title) Database" msgstr "Prokyon3 (titolo canzone) Database" #: python/songdb.py:334 msgid "" "You can make certain media databases accessible in IDJC for easy drag and " "drop into the playlists." msgstr "" #: python/songdb.py:382 #, fuzzy msgid "Module mysql-python (MySQLdb) required" msgstr "E' necessario il modulo Python MySQLdb" #: python/songdb.py:578 msgid "" msgstr "" #: python/songdb.py:675 msgid "Reload the database." msgstr "" #: python/songdb.py:680 msgid "Expand entire tree." msgstr "" #: python/songdb.py:681 #, fuzzy msgid "Collapse tree." msgstr "_Collassa" #: python/songdb.py:688 msgid "Browse" msgstr "" #. TC: The disk number of the album track. #: python/songdb.py:700 python/songdb.py:1037 msgid "Disk" msgstr "" #. TC: Track playback time. #. TC: Playback time. #: python/songdb.py:704 python/songdb.py:1040 python/playergui.py:314 msgid "Duration" msgstr "Durata" #: python/songdb.py:705 python/songdb.py:1041 msgid "Bitrate" msgstr "Bitrate" #: python/songdb.py:706 python/songdb.py:1042 msgid "Filename" msgstr "Nome file" #. TC: Directory path to a file. #: python/songdb.py:708 python/songdb.py:1043 msgid "Path" msgstr "Percorso" #: python/songdb.py:713 msgid "Artist - Album - Title" msgstr "" #: python/songdb.py:714 msgid "Album - [Disk] - Title" msgstr "" #: python/songdb.py:734 msgid "Fetching" msgstr "" #: python/songdb.py:851 msgid "Tree fetch failed" msgstr "" #: python/songdb.py:853 msgid "Fetch Failed!" msgstr "" #: python/songdb.py:866 msgid "Populating" msgstr "Sto popolando" #: python/songdb.py:973 #, python-format msgid "Disk %d" msgstr "" #. TC: User specified search filter entry box title text. #: python/songdb.py:992 msgid "Filters" msgstr "Filtri" #. TC: A type of search on any data field matching paritial strings. #: python/songdb.py:1004 msgid "Fuzzy Search" msgstr "Ricerca approssimativa" #. TC: WHERE is an SQL keyword. #: python/songdb.py:1013 msgid "WHERE" msgstr "WHERE" #: python/songdb.py:1026 #, fuzzy msgid "Search" msgstr "Ricerca approssimativa" #: python/songdb.py:1310 #, fuzzy msgid "Failed to create FULLTEXT index" msgstr "errore nella creazione del profilo: %s" #: python/songdb.py:1314 msgid "Found existing FULLTEXT index" msgstr "" #: python/songdb.py:1328 python/songdb.py:1341 #, fuzzy msgid "Unrecognised database" msgstr "data di registrazione" #: python/songdb.py:1336 msgid "Found Prokyon 3 schema" msgstr "" #: python/playergui.py:237 msgid "Cuesheet Playlist" msgstr "Playlist da file cue" #. TC: Column heading, the track number. #: python/playergui.py:303 msgid "Trk" msgstr "Trk" #. TC: Column heading, the index number. #: python/playergui.py:306 msgid "Ind" msgstr "Ind" #: python/playergui.py:412 msgid "External Playlist" msgstr "Playlist esterna" #. TC: Button text to activate an external playlist. #: python/playergui.py:423 msgid "Active" msgstr "Attivo" #: python/playergui.py:434 msgid "Choose a playlist file" msgstr "Scegli un file playlist" #: python/playergui.py:439 msgid "Choose a media directory" msgstr "Scegli una cartella per i media" #: python/playergui.py:452 msgid "Choose a playlist file." msgstr "Scegli un playlist file" #: python/playergui.py:454 msgid "Choose a folder/directory of music." msgstr "Scegli una cartella per la musica" #: python/playergui.py:515 msgid "Create a new announcement" msgstr "Crea un nuovo annuncio" #: python/playergui.py:518 msgid "Modify or Delete this announcement" msgstr "Modifica o elimina questo annuncio" #. TC: Playlist control. #. TC: Embed a DJ announcement text into the playlist. #: python/playergui.py:521 python/playergui.py:3658 python/playergui.py:4296 msgid "Announcement" msgstr "Avviso" #. TC: The time format as minutes and seconds. #: python/playergui.py:548 msgid "mm:ss" msgstr "mm:ss" #. TC: Alongside the name of the next track. #: python/playergui.py:601 msgid "Next track" msgstr "Traccia successiva" #: python/playergui.py:904 msgid "By Extension" msgstr "Per estensione" #: python/playergui.py:904 msgid "M3U playlist" msgstr "Playlist M3U" #: python/playergui.py:905 msgid "XSPF playlist" msgstr "XSPF playlist" #: python/playergui.py:905 msgid "PLS playlist" msgstr "PLS playlist" #: python/playergui.py:976 #, python-format msgid "%d Audio Tracks" msgstr "" #. TC: Missing metadata text. #: python/playergui.py:986 msgid "Unknown" msgstr "Sconosciuto" #: python/playergui.py:990 msgid "(Cue sheet)" msgstr "(Elementi del file cue)" #: python/playergui.py:1024 msgid "Bad Tag" msgstr "Tag errato" #: python/playergui.py:1799 python/playergui.py:4134 msgid "Manual" msgstr "Manuale" #: python/playergui.py:1803 python/playergui.py:4131 msgid "Play All" msgstr "Riproduci tutto" #: python/playergui.py:1811 python/playergui.py:1820 python/playergui.py:4132 msgid "Loop All" msgstr "Riproduci in ciclo" #: python/playergui.py:1811 python/playergui.py:4135 msgid "Cue Up" msgstr "Accoda" #: python/playergui.py:1812 python/playergui.py:4139 msgid "Fade Over" msgstr "Dissolvenza in uscita" #: python/playergui.py:1824 python/playergui.py:1895 python/playergui.py:4133 msgid "Random" msgstr "Casuale" #: python/playergui.py:1864 python/playergui.py:4136 msgid "External" msgstr "Esterna" #: python/playergui.py:1876 python/playergui.py:1892 python/playergui.py:4138 msgid "Alternate" msgstr "Alterna" #: python/playergui.py:1876 python/playergui.py:1894 python/playergui.py:4140 msgid "Random Hop" msgstr "Salto casuale" #. TC: The remaining playlist time. #: python/playergui.py:2049 python/playergui.py:2055 msgid "Remaining" msgstr "Restante" #. TC: The estimated finish time of the playlist. #. TC: The estimated finish time of the playlist (ETA). #: python/playergui.py:2051 python/playergui.py:2055 python/playergui.py:2069 msgid "Finish" msgstr "Fine" #. TC: The play duration of the block of audio tracks. #: python/playergui.py:2056 python/playergui.py:2067 msgid "Block size" msgstr "Dimensione blocco" #. TC: File dialog title text. #: python/playergui.py:2422 msgid "Add music to left playlist" msgstr "Aggiungi musica alla playlist di sinistra" #. TC: File dialog title text. #: python/playergui.py:2425 msgid "Add music to right playlist" msgstr "Aggiungi musica alla playlist di destra" #: python/playergui.py:2427 msgid "Add background music" msgstr "" #. TC: File filter text. #: python/playergui.py:2439 msgid "Supported Media Formats" msgstr "Formati di media supportati" #. TC: Expander text "Select File Type (.pls)" for the pls file type. #: python/playergui.py:2496 msgid "Select File Type" msgstr "Seleziona il tipo di file" #: python/playergui.py:3258 msgid "Save left playlist" msgstr "Salva la playlist di sinistra" #: python/playergui.py:3260 msgid "Save right playlist" msgstr "Salva la playlist di destra" #: python/playergui.py:3262 #, fuzzy msgid "Save background playlist" msgstr "Salva la playlist di destra" #: python/playergui.py:3280 msgid "File Type" msgstr "Tipo file" #: python/playergui.py:3285 msgid "Extension" msgstr "Estensione" #. TC: Playlist control. #. TC: Insert playlist control to do a ten second fade to the next track. #: python/playergui.py:3642 python/playergui.py:4307 msgid "Fade 10s" msgstr "Dissolvi 10sec" #. TC: Playlist control. #. TC: Insert playlist control to do a five second fade to the next track. #: python/playergui.py:3648 python/playergui.py:4314 msgid "Fade 5s" msgstr "Dissolvi 5sec" #. TC: Playlist control. #. TC: Insert playlist control to not do a fade to the next track. #: python/playergui.py:3653 python/playergui.py:4321 msgid "No Fade" msgstr "Nessun dissolvenza" #. TC: Playlist control. #: python/playergui.py:3663 msgid ">> Normal Speed <<" msgstr ">> Velocità normale <<" #. TC: Playlist control. #: python/playergui.py:3673 msgid "Player stop 2" msgstr "Lettore ferma 2" #. TC: Playlist control. #. TC: Insert playlist control to jump to the top of the playlist. #: python/playergui.py:3678 python/playergui.py:4273 msgid "Jump To Top" msgstr "Passa all'inizio" #. TC: Playlist control. #: python/playergui.py:3683 python/playergui.py:4333 msgid "Stop streaming" msgstr "Interrompi il flusso" #. TC: Playlist control. #: python/playergui.py:3688 python/playergui.py:4341 msgid "Stop recording" msgstr "Interrompi la registrazione" #. TC: Playlist control. #: python/playergui.py:3723 msgid ">>> Transfer across >>>" msgstr ">>> Trasferisci tra >>>" #. TC: Playlist control. #: python/playergui.py:3726 msgid "<<< Transfer across <<<" msgstr "<<< Trasferisci tra <<<" #. TC: Playlist control. #: python/playergui.py:3731 msgid ">>> Fade across >>>" msgstr ">>> Dissolvi tra >>>" #. TC: Playlist control. #: python/playergui.py:3734 msgid "<<< Fade across <<<" msgstr "<<< Dissolvi tra <<<" #. TC: Playlist control. #: python/playergui.py:3740 msgid "Ignored playlist control" msgstr "Controlli playlist ignorati" #: python/playergui.py:3808 msgid "Playing track {0} of {1}" msgstr "Riproduzione traccia {0} di {1}" #. TC: Previous line: Playing track {0} of {1} #: python/playergui.py:3821 #, python-format msgid "From the album, %s" msgstr "Dall'album, %s" #: python/playergui.py:3828 #, python-format msgid "Total number of tracks %d" msgstr "Numero totale di tracce %d" #: python/playergui.py:3832 python/playergui.py:3834 #, python-format msgid "Total play duration %s" msgstr "Durata totale %s" #: python/playergui.py:3884 msgid "" "Left click toggles between showing the amount of time elapsed or remaining " "on the current track being played." msgstr "" "Il click sinistro cambia dal mostrare il tempo trascorso o restante della " "traccia in esecuzione." #: python/playergui.py:3902 msgid "" "This slider acts as both a play progress indicator and as a means for " "seeking within the currently playing track." msgstr "" "Questo cursore agisce sia come un indicatore di avanzamento che come " "strumento per spostarsi nella traccia attualmente in esecuzione." #. TC: File filter text. #: python/playergui.py:3991 msgid "All file types" msgstr "Tutti i tipi di file" #: python/playergui.py:3996 msgid "Playlist types (*.m3u, *.xspf, *.pls)" msgstr "Tipi di playlist (*.m3u, *.xspf, *.pls)" #: python/playergui.py:4011 msgid "" "'Block size' indicates the amount of time that it will take to play from the " "currently selected track to the next stop.\n" "'Remaining' is the amount of time until the next stop.\n" "'Finish' Is the computed time when the tracks will have finished playing." msgstr "" "'Dimensione blocco' indica la quantità di tempo che intercorre tra la " "riproduzione della traccia selezionata ed il prossimo stop.\n" "'Restante' è il tempo fino al prossimo stop.\n" "'Fine' è il tempo calcolato quando finirà la riproduzione delle tracce." #: python/playergui.py:4034 msgid "This adjusts the playback speed anywhere from 25% to 400%." msgstr "Regola la velocità di riproduzione tra il 25% ed il 400%." #: python/playergui.py:4048 msgid "This sets the playback speed back to normal." msgstr "Reimposta la normale velocità di riproduzione " #: python/playergui.py:4065 msgid "Previous track." msgstr "Traccia precedente" #: python/playergui.py:4077 msgid "Play." msgstr "Riproduci" #: python/playergui.py:4087 msgid "Pause." msgstr "Pausa" #: python/playergui.py:4097 msgid "Stop." msgstr "Ferma" #: python/playergui.py:4107 msgid "Next track." msgstr "Traccia successiva" #: python/playergui.py:4119 msgid "Add tracks to the playlist." msgstr "Aggiungi tracce alla playlist" #: python/playergui.py:4126 python/preferences.py:70 msgid "Playlist Mode" msgstr "Modalità playlist" #: python/playergui.py:4145 msgid "" "This sets the playlist mode which defines player behaviour after a track has " "finished playing.\n" "\n" "'Play All' is the most versatile mode since it allows the use of embeddable " "playlist control elements which are accessible using the right click context " "menu in the playlist. When no playlist controls are present the tracks are " "played sequentially until the end of the playlist is reached at which point " "the player will stop.\n" "\n" "'Loop All' causes the tracks to be played in sequence, restarting with the " "first track once the end of the playlist is reached.\n" "\n" "'Random' causes the tracks to be played indefinitely with the tracks " "selected at random.\n" "\n" "'Manual' causes the player to stop at the end of each track.\n" "\n" "'Cue Up' is similar to manual except that the next track in the playlist " "will also be highlighted.\n" "\n" "'External' draws it's tracks from an external playlist or directory one at a " "time. Useful for when you want to stream massive playlists.\n" "\n" "'Alternate' causes the next track to be cued up before starting the opposite " "player. The crossfader is moved over.\n" "\n" "'Fade Over' will crossfade to the other player at the end of every track.\n" "\n" "'Random Hop' will pick a track at random from the other playlist." msgstr "" "Imposta la modalità della playlist, che definisce il comportamento del " "lettore dopo che una traccia è stata eseguita.\n" "\n" "'Riproduci tutto' è la modalità più versatile perché consente di usare gli " "elementi di controllo disponibili nel menù contestuale della playlist, " "accessibile con il clic destro. Se non sono presenti elementi di controllo " "le tracce verranno riprodotte sequenzialmente fino alla fine della playlist " "dopodiché il lettore si fermerà.\n" "\n" "'Riproduci in ciclo' fa in modo che le tracce vengano riprodottein sequenza, " "iniziando da capo una volta raggiunta la fine della playlist.\n" "\n" "'Casuale' le tracce verranno riprodotte all'infinito e casualmente.\n" "\n" "'Manuale' il lettore si fermerà alla fine di ogni traccia.\n" "\n" "'Accoda' come per Manuale ma che la traccia successiva verrà evidenziata.\n" "\n" "'Esterna' prende le tracce una alla volta da una playlist esterna o da una " "cartella. Utile per trasmettere playlist di grosse dimensioni.\n" "\n" "'Alterna' fa in modo che la traccia successiva sia messa in coda prima di " "avviare l'altro lettore. Il crossfader non viene attivato.\n" "\n" "'Dissolvenza' nel passaggio da un lettore all'altro l'audio si sovrapporrà " "alla fine di ogni traccia.\n" "\n" "'Salto casuale' sceglierà una traccia a caso dall'altra playlist." #. TC: Fade time heading. #: python/playergui.py:4169 python/preferences.py:71 msgid "Fade" msgstr "Dissolvenza" #: python/playergui.py:4181 msgid "This controls the amount of fade between tracks." msgstr "Controlla il tempo di dissolvenza tra tracce" #: python/playergui.py:4188 msgid "Audio Feed" msgstr "Audio Feed" #: python/playergui.py:4198 msgid "Make output from this player available for streaming." msgstr "Manda in onda l'audio di questo lettore" #: python/playergui.py:4206 msgid "Make output from this player audible to the DJ." msgstr "Rende l'uscita di questo lettore udibile dal DJ" #: python/playergui.py:4208 msgid "Force" msgstr "" #: python/playergui.py:4214 msgid "" "When selected this player will be treated like a main player.\n" "It will be affected by microphone ducking and won't mute when a main player " "is operating." msgstr "" #. TC: Insert playlist control. #: python/playergui.py:4227 msgid "Insert control" msgstr "Inserisci controllo" #. TC: The Item submenu. #: python/playergui.py:4236 msgid "Item" msgstr "Elemento" #. TC: The Playlist submenu. #: python/playergui.py:4241 msgid "Playlist" msgstr "Playlist" #. TC: Insert playlist control to set playback speed to normal. #: python/playergui.py:4252 msgid "Normal Speed" msgstr "Velocità normale" #. TC: Submenu Item. Parent menu is Playlist. #: python/playergui.py:4281 python/playergui.py:4435 msgid "Transfer" msgstr "Trasferisci" #: python/playergui.py:4289 msgid "Crossfade" msgstr "Dissolvi" #. TC: Menu item. Opens the metadata tagger on the selected track. #: python/playergui.py:4354 msgid "Meta Tag" msgstr "Meta Tag" #. TC: Menu Item. Duplicates the selected track in the playlist. #: python/playergui.py:4360 msgid "Duplicate" msgstr "Duplica" #. TC: Menu Item. Remove the selected track. #: python/playergui.py:4367 msgid "Remove" msgstr "Rimuovi" #. TC: Submenu Item. Parent menu item is Remove. #: python/playergui.py:4378 msgid "This" msgstr "Questo" #. TC: Submenu Item. Parent menu item is Remove. #: python/playergui.py:4385 python/preferences.py:1112 msgid "All" msgstr "Tutto" #. TC: Submenu Item. Parent menu item is Remove. #: python/playergui.py:4392 msgid "From Here" msgstr "Da qui" #. TC: Submenu Item. Parent menu item is Remove. #: python/playergui.py:4399 msgid "To Here" msgstr "Fino a qui" #. TC: Open the file dialog for adding music to the chosen playlist. #: python/playergui.py:4412 msgid "Add Music" msgstr "Aggiungi musica" #. TC: Submenu Item. Parent menu is Playlist. #: python/playergui.py:4419 msgid "Save" msgstr "Salva" #. TC: Submenu Item. Parent menu is Playlist. #: python/playergui.py:4430 msgid "Copy" msgstr "Copia" #: python/playergui.py:4441 msgid "Exchange" msgstr "Scambia" #. TC: Submenu Item. Parent menu is Playlist. #: python/playergui.py:4448 msgid "Empty" msgstr "Vuoto" #. TC: Submenu Item. Parent menus are Playlist->Copy. #. TC: Submenu Item. Parent menus are Playlist->Transfer. #: python/playergui.py:4462 python/playergui.py:4501 msgid "Append" msgstr "Appendi" #. TC: Submenu Item. Parent menus are Playlist->Copy. #. TC: Submenu Item. Parent menus are Playlist->Transfer. #: python/playergui.py:4469 python/playergui.py:4508 msgid "Prepend" msgstr "Prependi" #. TC: Submenu Item. Parent menus are Playlist->Copy. #: python/playergui.py:4480 msgid "Append Cursor" msgstr "Accoda dal cursore" #. TC: Submenu Item. Parent menus are Playlist->Copy. #: python/playergui.py:4487 msgid "Prepend Cursor" msgstr "Prependi dal cursore" #. TC: Submenu Item. Parent menus are Playlist->Transfer. #: python/playergui.py:4519 msgid "Append at Cursor" msgstr "Accoda dal cursore" #. TC: Submenu Item. Parent menus are Playlist->Transfer. #: python/playergui.py:4526 msgid "Prepend at Cursor" msgstr "Prependi dal cursore" #: python/preferences.py:84 msgid "Track time elapsed" msgstr "Tempo trascorso" #: python/preferences.py:86 msgid "Track time remaining" msgstr "Tempo restante" #: python/preferences.py:88 msgid "Audio to stream" msgstr "Audio al flusso" #: python/preferences.py:89 msgid "Audio to DJ" msgstr "Audio al DJ" #. TC: Microphone mode combobox text. #: python/preferences.py:123 msgid "Deactivated" msgstr "Disattivato" #. TC: Microphone mode combobox text. #: python/preferences.py:125 msgid "Basic input" msgstr "Ingresso semplice" #. TC: Microphone mode combobox text. #: python/preferences.py:127 msgid "Processed input" msgstr "Ingresso elaborato" #. TC: Microphone mode combobox text. #: python/preferences.py:129 #, python-format msgid "Partnered with channel %s" msgstr "Abbinato al canale %s" #: python/preferences.py:279 msgid "A label so you may describe briefly the role of this audio channel." msgstr "" "Un'etichetta per descrivere in modo sintetico il ruolo di questo canale " "audio." #: python/preferences.py:311 msgid "The signal processing mode." msgstr "La modalità di elaborazione del segnale" #. TC: A frame heading. The channel opener is selected within. #: python/preferences.py:315 msgid "Channel Opener" msgstr "Gestore canale" #: python/preferences.py:318 msgid "" "This controls the allocation of front panel open/unmute buttons. Having one " "button control multiple microphones can save time." msgstr "" "Regola l'allocazione dei pulsanti apri/chiudi sul pannello principale. Un " "pulsante che controlla più microfoni può far risparmiare del tempo." #. TC: Spinbutton label text. #: python/preferences.py:325 msgid "Main Panel Button" msgstr "Pulsante del pannello principale" #: python/preferences.py:342 msgid "This:" msgstr "Questo:" #: python/preferences.py:351 msgid "Open" msgstr "Apri" #: python/preferences.py:367 msgid "" "Stereo panning is the selection of where an audio source sits from left to " "right within the stereo mix.\n" "\n" "This control maintains constant audio power throughout its range of travel, " "giving -3dB attenuation in both audio channels at the half way point.\n" "\n" "If you require 0dB straight down the middle then this feature should be " "turned off." msgstr "" "Il panorama stereo è la scelta del posizionamento dell'audio, da destra a " "sinistra, in un mix stereofonico.\n" "\n" "Questo controllo mantiene costante la potenza del segnale in tutto il suo " "percorso attenuando entrambi i canali di -3dB nel punto di mezzo.\n" "\n" "Se volete i 0dB di potenza anche nel punto di mezzo allora dovrete " "disattivare questa opzione." #: python/preferences.py:375 msgid "Stereo Panning" msgstr "Panorama Stereo" #. TC: A set of controls that perform audio signal matching. #: python/preferences.py:412 msgid "Signal Matching" msgstr "Corrispondenza segnale" #: python/preferences.py:413 msgid "" "These controls are provided to obtain a decent match between the two " "microphones." msgstr "" "Questi controlli servono per ottenere una corrispondenza decente tra " "microfoni." #: python/preferences.py:422 msgid "Relative Gain (dB)" msgstr "Guadagno relativo (dB)" #. TC: Mic audio phase inversion control. #: python/preferences.py:427 python/preferences.py:432 msgid "Invert Signal" msgstr "Inverti il segnale" #: python/preferences.py:433 python/preferences.py:453 #: python/preferences.py:549 msgid "" "Useful for when microphones are cancelling one another out, producing a " "hollow sound." msgstr "" "Utile quando i microfoni si annullano l'un l'altro producendo un suono " "ovattato." #. TC: Control whether to mix microphone audio to the DJ mix. #: python/preferences.py:436 msgid "In The DJ's Mix" msgstr "Invia al mix del DJ" #: python/preferences.py:437 python/preferences.py:459 #: python/preferences.py:559 msgid "" "Make the microphone audio audible in the DJ mix. This may not always be " "desirable." msgstr "" "Fa in modo che l'audio del microfono sia udibile nel mix del DJ. Non sempre " "è desiderabile." #: python/preferences.py:445 msgid "Basic Controls" msgstr "Controlli base" #: python/preferences.py:446 python/preferences.py:501 msgid "Boost/Cut (dB)" msgstr "Aumenta/Taglia (dB)" #: python/preferences.py:467 msgid "High Pass Filter" msgstr "Filtro passa alto" #: python/preferences.py:468 python/preferences.py:483 #: python/preferences.py:493 msgid "Cutoff Frequency" msgstr "Frequenza di taglio" #. TC: User can set the number of filter stages. #: python/preferences.py:472 msgid "Stages" msgstr "Livelli" #: python/preferences.py:475 msgid "" "Frequency in Hertz above which audio can pass to later stages. Use this " "feature to restrict low frequency sounds such as mains hum. Setting too high " "a level will make your voice sound thin." msgstr "" "La frequenza in Hertz sopra la quale l'audio viene fatto passare ai livelli " "successivi. Usare questa funzionalità per eliminare i suoni sulle basse " "frequenze quali il ronzio. Impostare questo valore troppo elevato renderà il " "suono della voce 'sottile'" #. TC: this is the treble control. HF = high frequency. #: python/preferences.py:480 msgid "HF Detail" msgstr "Dettaglio HF" #: python/preferences.py:487 msgid "You can use this to boost the amount of treble in the audio." msgstr "Potete usarlo per aumentare la quantità di alte frequenze nell'audio." #. TC: this is the bass control. LF = low frequency. #: python/preferences.py:490 msgid "LF Detail" msgstr "Dettagli LF" #: python/preferences.py:497 msgid "You can use this to boost the amount of bass in the audio." msgstr "Potete usarlo per aumentare la quantità di basse frequenze nell'audio." #. TC: lookahead brick wall limiter. #: python/preferences.py:500 msgid "Limiter" msgstr "Limiter" #. TC: this is the peak signal limit. #: python/preferences.py:505 msgid "Upper Limit" msgstr "Limite superiore" #: python/preferences.py:507 msgid "" "A look-ahead brick-wall limiter. Audio signals are capped at the upper limit." msgstr "" "Un limiter predittivo. I segnali audio vengono bloccati al limite superiore" #: python/preferences.py:510 msgid "Noise Gate" msgstr "Noise Gate" #. TC: noise gate triggers at this level. #: python/preferences.py:512 msgid "Threshold" msgstr "Soglia" #. TC: negative gain when the noise gate is active. #. TC: The de-esser attenuation in ess-detected state. #: python/preferences.py:516 python/preferences.py:526 msgid "Gain" msgstr "Guadagno" #: python/preferences.py:518 msgid "" "Reduce the unwanted quietest sounds and background noise which you don't " "want your listeners to hear with this." msgstr "" "Riduce i suoni sommessi indesiderati ed il rumore di fondo che non volete " "venga udito dagli ascoltatori." #: python/preferences.py:521 msgid "De-esser" msgstr "De-esser" #. TC: Bias has a numeric setting. #: python/preferences.py:523 msgid "Bias" msgstr "Bias" #: python/preferences.py:528 msgid "" "Reduce the S, T, and P sounds which microphones tend to exaggerate. Ideally " "the Bias control will be set low so that the de-esser is off when there is " "silence but is set high enough that mouse clicks are detected and suppressed." msgstr "" "Riduce i suoni delle S,T e P che i microfoni normalmente tendono ad " "accentuare. Il controllo Bias verrà impostato in modo che il de-esser sia " "spento nei momenti di silenzio ma sia sufficentemente alto da non rendere " "udibili i click del mouse." #: python/preferences.py:533 msgid "Ducker" msgstr "Ducker" #: python/preferences.py:534 msgid "Release" msgstr "Rilascio" #: python/preferences.py:537 msgid "Hold" msgstr "Tenuta" #: python/preferences.py:540 msgid "" "The ducker automatically reduces the level of player audio when the DJ " "speaks. These settings allow you to adjust the timings of that audio " "reduction." msgstr "" "Il ducker riduce automaticamente il livello dell'audio quando il DJ parla. " "Queste impostazioni ti consentono di regolare la tempistica della riduzione " "dell'audio." #: python/preferences.py:544 msgid "Other options" msgstr "Altre opzioni" #: python/preferences.py:551 msgid "Phase Rotator" msgstr "Rotatore di fase" #: python/preferences.py:554 msgid "" "This feature processes the microphone audio so that it sounds more even. The " "effect is particularly noticable on male voices." msgstr "" "Questa funzionalità elabora l'audio del microfono in modo di renderlo più " "costante. L'effetto è particolarmente distinguibile sulle voci maschili." #: python/preferences.py:736 msgid "The volume control for the left music player." msgstr "Il controllo del volume per il lettore di sinistra" #. TC: preferences window title. #: python/preferences.py:786 msgid "IDJC Preferences" msgstr "Preferenze IDJC" #. TC: The DJ's sound level controller. #: python/preferences.py:811 msgid "DJ Audio Level" msgstr "Livello audio DJ" #: python/preferences.py:823 msgid "This adjusts the sound level of the DJ audio." msgstr "Regola il livello dell'audio del DJ" #. TC: The alarm sound level. #: python/preferences.py:828 msgid "Alarm Level" msgstr "" #: python/preferences.py:842 msgid "Music Loudness Compensation" msgstr "" #: python/preferences.py:840 #, python-format msgid "" "This adjusts the sound level of the DJ alarm. Typically this should be set " "close to the dj audio level when using the '%s' feature, otherwise a bit " "louder." msgstr "" #: python/preferences.py:848 msgid "Player Resample Quality" msgstr "Qualità di ricampionamento del lettore" #: python/preferences.py:854 #, fuzzy msgid "" "This adjusts the quality of the audio resampling method used whenever the " "sample rate of the music file currently playing does not match the sample " "rate of the JACK sound server. Best mode offers the best sound quality but " "also uses the most CPU (not recommended for systems built before 2006). All " "these modes provide adequate sound quality." msgstr "" "Regola la qualità del metodo di ricampionamento audio utilizzato qualora la " "frequenza di campionamento del file in esecuzione non corrisponda a quella " "del server JACK. Valori alti forniscono la migliore qualità ma utilizzano " "più CPU (non consigliato per sistemi antecedenti al 2006). Benché utilizzi " "meno CPU la modalità 'Più veloce' dovrebbe essere evitata del tutto." #: python/preferences.py:862 msgid "Best" msgstr "" #: python/preferences.py:871 msgid "Medium" msgstr "" #: python/preferences.py:880 msgid "Fast" msgstr "Veloce" #. TC: the set of features - section heading. #: python/preferences.py:895 msgid "Feature Set" msgstr "Impostazioni funzionalità" #. TC: Start in the full featured user interface mode. #: python/preferences.py:907 msgid "Start Full" msgstr "Avvia completo" #: python/preferences.py:912 python/preferences.py:920 msgid "Indicates which mode IDJC will be in when launched." msgstr "Indica con quale modalità verrà avviato IDJC" #. TC: Start in a reduced user interface mode. #: python/preferences.py:915 msgid "Start Mini" msgstr "Avvia minimale" #: python/preferences.py:928 msgid "Fully Featured" msgstr "Tutte le funzionalità" #: python/preferences.py:933 msgid "Run in full functionality mode which uses more CPU power." msgstr "Avvia con tutte le funzionalità, consuma più CPU" #: python/preferences.py:935 msgid "Basic Streamer" msgstr "Trasmettitore base" #: python/preferences.py:939 msgid "" "Run in a reduced functionality mode that lowers the burden on the CPU and " "takes up less screen space." msgstr "" "Avvia con funzionalità ridotte, diminuisce il carico sulla CPU e occupa meno " "spazio sullo schermo." #: python/preferences.py:947 msgid "These settings take effect after restarting" msgstr "Queste impostazioni avranno effetto dopo il riavvio." #: python/preferences.py:968 msgid "Reserve 24 sound effects slots" msgstr "" #: python/preferences.py:969 msgid "Only 12" msgstr "" #: python/preferences.py:981 msgid "Audio input channels" msgstr "" #: python/preferences.py:986 msgid "Simultaneous stream(s)" msgstr "Trasmissione(i) in simultanea" #: python/preferences.py:992 msgid "Simultaneous recording(s)" msgstr "Registrazione(i) in simultanea" #: python/preferences.py:1046 msgid "Fill channel meter void space" msgstr "Riempi il vuoto dell'indicatore per il canale" #: python/preferences.py:1058 msgid "Player Loudness Normalisation" msgstr "" #: python/preferences.py:1069 #, fuzzy msgid "Indicate which tracks have loudness metadata" msgstr "Indica quali tracce hanno il ReplayGain" #: python/preferences.py:1070 #, fuzzy msgid "" "Shows a marker in the playlists next to each track. Either a green circle or " "a red triangle." msgstr "Mostra un segno accanto ad ogni traccia nella playlist" #: python/preferences.py:1078 #, fuzzy msgid "Adjust playback volume in dB" msgstr "Regola il volume di riproduzione" #: python/preferences.py:1079 msgid "Effective only on newly started tracks." msgstr "Efficace solo sulle tracce avviate ex-novo " #: python/preferences.py:1085 msgid "R128" msgstr "" #: python/preferences.py:1089 msgid "" "It may not be desirable to use the default level since it is rather quiet. " "This should be set 4 or 5 dB higher than the ReplayGain setting." msgstr "" #: python/preferences.py:1094 msgid "ReplayGain" msgstr "ReplayGain" #: python/preferences.py:1098 msgid "" "It may not be desirable to use the default level since it is rather quiet. " "This should be set 4 or 5 dB lower than the R128 setting." msgstr "" #: python/preferences.py:1103 msgid "Untagged" msgstr "" #: python/preferences.py:1107 msgid "" "Set this so that any unmarked tracks are playing at a roughly similar " "loudness level as the marked ones." msgstr "" #: python/preferences.py:1116 #, fuzzy msgid "A master level control for the media players." msgstr "Il controllo del volume per il lettore di sinistra" #: python/preferences.py:1127 msgid "Recorder Filename (excluding the file extension)" msgstr "" #: python/preferences.py:1128 msgid "" "The specifiers are $r for the number of the recorder with the rest being " "documented in the strftime man page.\n" "Users may wish to alter this to make filenames that are compatible with " "particular filesystems." msgstr "" #: python/preferences.py:1145 msgid "Miscellaneous Features" msgstr "Impostazioni varie" #: python/preferences.py:1154 msgid "Trim quiet song endings and trailing silence" msgstr "Elimina i finali sommessi ed il silenzio iniziale delle canzoni" #: python/preferences.py:1160 msgid "End tracks containing long passages of silence" msgstr "Interrompi tracce che contengono lunghi passaggi di silenzio" #: python/preferences.py:1166 msgid "Enable the main-player speed/pitch controls" msgstr "" "Abilita il controllo di velocità di riproduzione sul lettore principale" #: python/preferences.py:1170 msgid "" "This option causes some extra widgets to appear below the playlists which " "allow the playback speed to be adjusted from 25% to 400% and a normal speed " "button." msgstr "" "Questa opzione fa apparire più linguette sotto la playlist che consentono di " "regolare la velocità di riproduzione tra il 25% ed il 400% e un pulsante per " "la velocità normale." #: python/preferences.py:1175 msgid "Separate left/right player volume faders" msgstr "Cursori del volume separati per i lettori destro/sinistro" #: python/preferences.py:1179 msgid "" "Select this option to use an independent volume fader for the left and right " "music players." msgstr "" "Selezionare questa opzione per usare un cursore indipendente per il lettore " "di destra e sinistra." #: python/preferences.py:1183 msgid "Enlarge the time elapsed/remaining windows" msgstr "Allarga la finestra del tempo trascorso/restante" #: python/preferences.py:1187 msgid "" "The time elapsed/remaining windows sometimes don't appear big enough for the " "text that appears in them due to unusual DPI settings or the use of a " "different rendering engine. This option serves to fix that." msgstr "" "La finestra del tempo trascorso/restante a volte non compare grande " "abbastanza a causa di impostazioni anomale dei DPI o per l'utilizzo di " "motori di rendering diversi. Questa opzione sistema le cose." #: python/preferences.py:1193 msgid "Sound an alarm when the music is due to end" msgstr "Avviso sonoro quando la musica si avvicina alla fine" #: python/preferences.py:1196 #, fuzzy msgid "" "An alarm tone alerting the DJ that dead-air is just nine seconds away. This " "also works when monitoring stream audio but the alarm tone is not sent to " "the stream.\n" "\n" "JACK freewheel mode will also be automatically disengaged." msgstr "" "Un suono di allarme che avvisa il DJ che mancano nove secondi al fuori onda. " "Funziona anche in fase di monitoraggio del flusso ma il suono di allarme non " "viene mandato in onda." #: python/preferences.py:1206 #, fuzzy msgid "Apply dither to 16 bit PCM playback" msgstr "Applica il dither alla riproduzione MP3 e FLAC" #: python/preferences.py:1210 msgid "" "This feature maybe improves the sound quality a little when listening on a " "24 bit sound card." msgstr "" "Questa impostazione potrebbe migliorare la qualità del suondo su schede " "audio a 24bit" #: python/preferences.py:1213 msgid "Enable tooltips" msgstr "Abilita suggerimenti" #: python/preferences.py:1217 msgid "" "This, what you are currently reading, is a tooltip. This feature turns them " "on or off." msgstr "" "Questo che state leggendo adesso è un suggerimento. Questa opzione li " "abilita o meno." #: python/preferences.py:1236 msgid "Player Settings At Startup" msgstr "Impostazioni del lettore all'avvio" #: python/preferences.py:1247 msgid "Restore the previous session" msgstr "Ripristina la sessione precedente" #: python/preferences.py:1252 msgid "" "When starting IDJC most of the main window settings will be as they were " "left. As an alternative you may specify below how you want the various " "settings to be when IDJC starts." msgstr "" "Quando si avvia IDJC molte delle impostazioni della finestra principale " "saranno come le avete lasciate. In alternativa potete specificare qui sotto " "come volete trovare le varie impostazioni all'avvio di IDJC." #: python/preferences.py:1262 msgid "Player 1" msgstr "Lettore 1" #: python/preferences.py:1264 msgid "Player 2" msgstr "Lettore 2" #. TC: DJ hears the stream mix. #: python/preferences.py:1292 msgid "Monitor Stream Mix" msgstr "Monitora il Flusso" #. TC: A heading label for miscellaneous settings. #: python/preferences.py:1303 msgid "General" msgstr "Generale" #. TC: Keyboard and MIDI bindings configuration. #: python/preferences.py:1360 msgid "Bindings" msgstr "Scorciatoie" #: python/preferences.py:1397 msgid "Released under the GNU General Public License V2.0" msgstr "Rilasciato sotto la Licenza Pubblica Generica GNU, V2.0" #: python/preferences.py:1409 msgid "Licence" msgstr "Licenza" #: python/preferences.py:1432 msgid "Contributors" msgstr "Collaboratori" #: python/preferences.py:1439 msgid "Translators" msgstr "Traduttori" #: python/preferences.py:1444 msgid "About" msgstr "Circa" #: python/sourceclientgui.py:89 msgid "Insert Attribute" msgstr "Inserisci attributo" #: python/sourceclientgui.py:133 msgid "Icecast 2 Master" msgstr "Icecast 2 Master" #: python/sourceclientgui.py:133 msgid "Shoutcast Master" msgstr "Shoutcast Master" #: python/sourceclientgui.py:134 msgid "Icecast 2 Stats/Relay" msgstr "Icecast 2 Stats/Relay" #: python/sourceclientgui.py:134 msgid "Shoutcast Stats/Relay" msgstr "Icecast 2 Stats/Relay" #: python/sourceclientgui.py:137 msgid "Enter new server connection details" msgstr "Inserisci i dettagli della connessione al server" #: python/sourceclientgui.py:156 msgid "Edit existing server connection details" msgstr "Modifica i dettagli della connessione" #: python/sourceclientgui.py:193 msgid "This server is to be scanned for audience figures" msgstr "Da scansionare per il pubblico in ascolto" #: python/sourceclientgui.py:206 msgid "Server type" msgstr "Tipo server" #: python/sourceclientgui.py:206 msgid "Port number" msgstr "Numero porta" #: python/sourceclientgui.py:207 msgid "Mount point" msgstr "Punto di montaggio" #: python/sourceclientgui.py:207 msgid "Login name" msgstr "Nome utente" #: python/sourceclientgui.py:449 msgid "Encoder Format Not Set/Compatible" msgstr "" #. TC: Connection button text when no details have been entered. #: python/sourceclientgui.py:452 msgid "No Master Server Configured" msgstr "Nessun server principale configurato" #: python/sourceclientgui.py:654 msgid "" "A table of servers with which to connect. Only one master server can be " "added for the purpose of streaming. All other servers will appear below the " "master server in the list for the purpose of stats collection which can be " "toggled on a per server basis." msgstr "" "Una tabella di server cui connettersi. Soltanto un server principale può " "essere aggiunto per trasmettere flussi. Tutti gli altri server compariranno " "sotto il server principale nella lista allo scopo di raccogliere statistiche " "che possono essere attivate per ciascun server." #: python/sourceclientgui.py:670 msgid "Hostname/IP address" msgstr "Nomehost/Indirizzo IP" #. TC: Mount point is a technical term in relation to icecast servers. #: python/sourceclientgui.py:683 #, fuzzy msgid "Mount point " msgstr "Punto di mount " #. TC: This is the listener count heading. #: python/sourceclientgui.py:692 msgid "Listeners" msgstr "Ascoltatori" #: python/sourceclientgui.py:707 msgid "The sum total of listeners in this server tab." msgstr "Il totale degli ascoltatori per questo server" #: python/sourceclientgui.py:734 msgid "Never" msgstr "Mai" #: python/sourceclientgui.py:737 msgid "Always" msgstr "Sempre" #: python/sourceclientgui.py:739 msgid "If connected" msgstr "Se connesso" #: python/sourceclientgui.py:988 msgid "Custom user agent string" msgstr "Stringa personalizzata per i navigatori" #: python/sourceclientgui.py:995 msgid "" "Set this on the occasion that the server or its firewall specifically " "refuses to allow libshout based clients." msgstr "" "Impostare questa opzione nell'eventualità che il server o il suo firewall " "rifiutino esplicitamente connessioni da client che usano libshout." #: python/sourceclientgui.py:1000 msgid "If the connection breaks reconnect to the server" msgstr "Se la connessione si interrompe riconnettiti al server" #. TC: Label for a comma separated list of delay times. #: python/sourceclientgui.py:1010 msgid "Delay times" msgstr "Tempi di ritardo" #: python/sourceclientgui.py:1014 msgid "" "A comma separated list of delays in seconds between reconnection attempts. " "Note that bad values or values less than 5 will be interpreted as 5." msgstr "" "Una lista di ritardi, separati da virgola, tra i vari tentativi di " "riconnessione. Valori errati o inferiori a 5 verranno interpretati come 5." #: python/sourceclientgui.py:1020 msgid "Repeat the sequence of delays indefinitely." msgstr "Ripeti all'infinito la sequenza dei ritardi" #. TC: User specifies no dialog box to be shown. #: python/sourceclientgui.py:1023 msgid "Quiet" msgstr "Calmo" #: python/sourceclientgui.py:1025 msgid "Keep the reconnection dialogue box hidden at all times." msgstr "Tieni nascosta la finestra della riconnessone ad ogni tentativo." #: python/sourceclientgui.py:1030 msgid "The contingency plan upon the stream buffer becoming full is..." msgstr "Il piano da attuare nel caso il buffer si stia riempiendo è..." #: python/sourceclientgui.py:1039 msgid "Discard audio data for as long as needed." msgstr "Scarta i dati audio finché è necessario." #: python/sourceclientgui.py:1041 msgid "Assume the connection is beyond saving and reconnect." msgstr "Assumi che la connessione sia in fase di salvataggio e riconnettiti." #: python/sourceclientgui.py:1289 msgid "Shoutcast" msgstr "Shoucast" #: python/sourceclientgui.py:1326 #, fuzzy msgid "[Metadata suppressed]" msgstr "Sorgente dei metadati" #: python/sourceclientgui.py:1405 msgid "Individual Controls" msgstr "Controlli individuali" #: python/sourceclientgui.py:1419 #, fuzzy msgid "" "Connect to or disconnect from the radio server. If the button does not stay " "in, the connection failed for some reason.\n" "\n" "If the button is greyed out it means your settings within the 'Connections' " "and 'Format' sections are either incompatible with one another or are " "incomplete.\n" "\n" "In order to stream a master server needs to be specified in the " "configuration section below and must be capable of handling the chosen " "streaming format." msgstr "" "Connette o disconnette dal server della radio. Se il pulsante non rimane " "premuto, allora per qualche ragione la connessione è fallita.\n" "\n" "Se il pulsante è grigio vuol dire che state usando impostazioni non " "suportate. Shoutcast supporta soltanto mp3 ed mp3 richiede di utilizzare " "solo una delle frequenze di campionamento nel menù a tendina. Ogg supporta " "soltanto alcune combinazioni di frequenze di campionamento, bit rate e " "stereo. In più, la lista delle connessioni deve contenere in dettagli per un " "server principale." #. TC: Kick whoever is on the server. #: python/sourceclientgui.py:1436 #, fuzzy msgid "Kick Source" msgstr "Fonte" #: python/sourceclientgui.py:1438 msgid "" "This will disconnect whoever is currently using the server, freeing it up " "for personal use." msgstr "" "Questo disconnetterà chiunque stia utilizzando il server, liberandolo per un " "uso personale." #: python/sourceclientgui.py:1448 msgid "Connection timer:" msgstr "Timer di connessione:" #: python/sourceclientgui.py:1452 msgid "Begin" msgstr "Inizio" #: python/sourceclientgui.py:1453 msgid "" "Automatically connect to the server at a specific time in 24 hour format, " "midnight being 00:00" msgstr "" "Connessione automatica al server ad un orario specifico nel formato a 24 " "ore, la mezzanotte è indicata con 00:00" #: python/sourceclientgui.py:1458 msgid "With kick" msgstr "Libera" #: python/sourceclientgui.py:1460 msgid "Disconnect whoever is using the server just before start time." msgstr "Disconnetti chiunque stia usando il server poco prima dell'inizio." #: python/sourceclientgui.py:1469 msgid "End" msgstr "Fine" #: python/sourceclientgui.py:1470 msgid "" "Automatically disconnect from the server at a specific time in 24 hour " "format." msgstr "" "Disconnessione automatica al server ad un orario specifico nel formato a 24 " "ore, la mezzanotte è indicata con 00:00" #: python/sourceclientgui.py:1481 msgid "At connect:" msgstr "Una volta connesso:" #. TC: [x] Start player (*) 1 ( ) 2 #: python/sourceclientgui.py:1485 msgid "Start player" msgstr "Lettore iniziale" #: python/sourceclientgui.py:1490 msgid "" "Have one of the players start automatically when a radio server connection " "is successfully made." msgstr "" "Avvia uno dei lettori automaticamente quando una connessione al server va a " "buon fine." #. TC: [x] Start recorder (*) 1 ( ) 2 #: python/sourceclientgui.py:1498 msgid "Start recorder" msgstr "Avvia il registratore" #: python/sourceclientgui.py:1505 msgid "" "Have a recorder start automatically when a radio server connection is " "successfully made." msgstr "" "Avvia uno dei registratori automaticamente quando una connessione al server " "va a buon fine." #: python/sourceclientgui.py:1510 msgid "Metadata" msgstr "Metadati" #: python/sourceclientgui.py:1520 msgid "Format String" msgstr "Stringa di formattazione" #. TC: Label for the metadata fallback value. #: python/sourceclientgui.py:1522 msgid "Fallback" msgstr "Alternativa" #: python/sourceclientgui.py:1536 msgid "" "You can enter text to accompany the stream here and can specify placemarkers " "%r %t %l %s for the artist, title, album, and songname respectively, or " "leave this text field blank to use the default metadata.\n" "\n" "Songname (%s) is derived from the filename in the absence of sufficient " "metadata, while the other placemarkers will use the fallback text to the " "right.\n" "\n" "When blank, Ogg streams will use the standard Vorbis tags and mp3 will use " "%s." msgstr "" "Qui potete inserire del testo da associare al flusso e specificare dei " "segnaposti %r %t %l %s per l'artista, il titolo, l'album e la canzone " "rispettivamente, oppure lasciare vuoto questo campo per usare i dati di " "base.\n" "\n" "In mancanza di metadati sufficenti il nome della canzone (%s) viene preso " "dal nome file, mentre gli altri segnaposti utilizzeranno il testo a destra.\n" "\n" "Se lasciato vuoto, i flussi Ogg utilizzeranno i tag standard e gli mp3 " "utilizzeranno %s." #: python/sourceclientgui.py:1544 msgid "" "The fallback text to use when %r %t %l metadata is unavailable. See the " "format string to the left." msgstr "" "Il testo cui ricorrere quando i metadati %r %t %l non sono disponibili. " "Guarda il formato dell stringa sulla sinitra." #: python/sourceclientgui.py:1546 msgid "" "Metadata normally updates only on song title changes but you can force an " "immediate update here." msgstr "" "I metadati di solito vengono aggiornati quando cambia il titolo della song " "in esecuzione ma potete forzare un aggiornamento automatico qui." #: python/sourceclientgui.py:1565 msgid "Configuration" msgstr "Configurazione" #: python/sourceclientgui.py:1566 msgid "The controls for configuring a stream." msgstr "I controlli per configurare un flusso." #: python/sourceclientgui.py:1574 msgid "Connection" msgstr "Connessione" #: python/sourceclientgui.py:1579 msgid "Format" msgstr "Formato" #. TC: Tab heading. User can enter information about the stream here. #: python/sourceclientgui.py:1588 msgid "Stream Info" msgstr "Informazioni flusso" #: python/sourceclientgui.py:1593 msgid "" "Enter your DJ name or station name here. Typically this information will be " "displayed by listener clients." msgstr "" "Inserisci il tuo nome DJ o il nome della stazione. Tipicamente queste " "informazioni saranno visualizzate attraverso i programmi usati dagli " "ascoltatori." #: python/sourceclientgui.py:1596 msgid "" "The URL of your radio station. This and the rest of the information below is " "intended for display on a radio station listings website." msgstr "" "L'indirizzo (URL) della vostra stazione. Questo ed il resto delle " "informazioni qui sotto sono da intendersi come visualizzabili su di un sito " "web che fornisce una lista di stazioni." #: python/sourceclientgui.py:1601 msgid "A description of your radio station." msgstr "Descrizione della vostra stazione." #: python/sourceclientgui.py:1606 msgid "The musical genres you are likely to play." msgstr "Il genere musicale che offrirete." #: python/sourceclientgui.py:1609 msgid "Make Public" msgstr "Rendi pubblico" #: python/sourceclientgui.py:1610 msgid "" "Publish your radio station on a listings website. The website in question " "will depend on how the server to which you connect is configured." msgstr "" "Pubblicate la vostra stazione su un sito. Il sito in questione dipenderà " "dalla configurazione del server cui vi connettete." #: python/sourceclientgui.py:1622 msgid "Genre(s)" msgstr "Genere(i)" #: python/sourceclientgui.py:1632 msgid "Master server admin password" msgstr "Password di amministrazione del server principale" #: python/sourceclientgui.py:1637 msgid "" "This is for kick and stats on Shoutcast master servers that have an " "administrator password. For those that don't leave this blank (the source " "password is sufficient for those)." msgstr "" "Occorre per le statistiche e per i kick sui server principali che hanno una " "password di amministrazione impostata. Per chi riempie questo campo (la " "password della fonte è sufficente)" #: python/sourceclientgui.py:1646 msgid "Contact Details" msgstr "Dettagli del contatto" #: python/sourceclientgui.py:1651 msgid "Internet Relay Chat connection info goes here." msgstr "Le informazioni per IRC vanno inserite qui" #: python/sourceclientgui.py:1654 msgid "Connection info for AOL instant messenger goes here." msgstr "Le informazioni per AOL vanno inserite qui." #: python/sourceclientgui.py:1657 msgid "ICQ instant messenger connection info goes here." msgstr "Le informazioni per ICQ vanno inserite qui." #: python/sourceclientgui.py:1660 msgid "IRC" msgstr "IRC" #: python/sourceclientgui.py:1661 msgid "AIM" msgstr "AIM" #: python/sourceclientgui.py:1662 msgid "ICQ" msgstr "ICQ" #: python/sourceclientgui.py:1671 msgid "Extra Shoutcast" msgstr "Extra Shoutcast" #: python/sourceclientgui.py:1676 msgid "Troubleshooting" msgstr "Risoluzione problemi" #: python/sourceclientgui.py:1801 msgid "Stop recording." msgstr "Ferma la registrazione" #: python/sourceclientgui.py:1803 msgid "" "Start recording.\n" "\n" "If this button is greyed out it could mean either the encoder settings are " "not valid or write permission is not granted on the selected folder." msgstr "" #: python/sourceclientgui.py:1808 msgid "Pause recording." msgstr "Metti in pausa" #: python/sourceclientgui.py:1845 msgid "Recording time elapsed." msgstr "Tempo di registrazione trascorso." #. TC: Dialog title bar text. #: python/sourceclientgui.py:1899 msgid "Select the folder to record to" msgstr "Seleziona la cartella in cui registrare" #: python/sourceclientgui.py:1910 msgid "" "Choose which stream to record or the 24 bit FLAC option. If the stream isn't " "already running the encoder will be started automatically using whatever " "settings are currently configured." msgstr "" "Scegli quale flusso registrare o l'opzione 24bit FLAC. Se il flusso non è " "già attivo il codificatore verrà avviato automaticamente con le impostazioni " "attualmente configurate." #: python/sourceclientgui.py:1914 msgid "" "Choose which directory you want to save to. All file names will be in a " "timestamp format and have either an oga, mp3, or flac file extension. " "Important: you need to select a directory to which you have adequate write " "permission." msgstr "" "Scegliete in quale directory salvare. Tutti i nomi dei file avranno un " "formato basato su data e tempo e avranno una estensione ogg, mp3 o flac. " "Importante: dovete scegliere una cartella per la quale avete i permessi " "necessari alla scrittura." #: python/sourceclientgui.py:2018 msgid "Perform operations on multiple servers in unison." msgstr "Esegue le operazioni su più server alla volta." #: python/sourceclientgui.py:2030 msgid "Connect" msgstr "Connetti" #: python/sourceclientgui.py:2047 msgid "Disconnect" msgstr "Disconnetti" #: python/sourceclientgui.py:2055 #, fuzzy msgid "Kick Sources" msgstr "Fonte" #: python/sourceclientgui.py:2064 msgid "Metadata:" msgstr "Metadati:" #: python/sourceclientgui.py:2094 msgid "Group Controls" msgstr "Controlli di gruppo" #: python/sourceclientgui.py:2579 msgid "Recording Facility Unavailable" msgstr "" #: python/sourceclientgui.py:2582 #, fuzzy msgid "No Recorders Are Correctly Configured" msgstr "Nessun server principale configurato" #. TC: Recorder menu format string. #: python/sourceclientgui.py:2595 msgid "{numericid} [{source}] > [{directory}]" msgstr "" #: python/sourceclientgui.py:2597 msgid "Misconfigured" msgstr "" #: python/sourceclientgui.py:2618 msgid "Streaming Facility Unavailable" msgstr "" #: python/sourceclientgui.py:2620 #, fuzzy msgid "No Streams Are Currently Configured" msgstr "Nessun server principale configurato" #: python/sourceclientgui.py:2623 #, fuzzy msgid "Group Connect" msgstr "Controlli di gruppo" #: python/sourceclientgui.py:2629 #, fuzzy msgid "Group Disconnect" msgstr "Disconnetti" #. TC: Window title bar text. #: python/sourceclientgui.py:2660 msgid "IDJC Output" msgstr "Uscita IDJC" #: python/sourceclientgui.py:2676 msgid "" "Each one of these tabs represents a separate stream recorder. The LED " "indicator colours represent the following: Clear=Stopped Yellow=Paused " "Red=Recording." msgstr "" "Ognuna di queste linguette rappresenta un registratore di flusso. I colori " "del LED indicano: Vuoto=Fermo Giallo=Pausa Rosso=Registrazione." #: python/sourceclientgui.py:2684 msgid "" "Each one of these tabs represents a separate radio streamer. The LED " "indicator colours represent the following: Clear=No connection " "Yellow=Awaiting authentication. Green=Connected. Flashing=Packet loss due to " "a bad connection." msgstr "" "Ognuna di queste linguette rappresenta un flusso. I colori del LED indicano: " "Vuoto=Non connesso Giallo=In attesa di autenticazione. Verde=Connesso. " "Lampeggiante=Perdita di pacchetti a causa di una cattiva connessione." #: python/sourceclientgui.py:2702 msgid " Stream " msgstr " Flusso " #: python/sourceclientgui.py:2736 msgid "" "A connection to a radio server has " "failed.\n" "\n" "Reconnection will not be attempted." msgstr "" "Una connessione al server è fallita.\n" "\n" "Non verrà effettuato un altro tentativo." #: python/sourceclientgui.py:2741 msgid "" "A scheduled stream disconnection has " "occurred." msgstr "" "E' intervenuta una disconnessione " "pianificata." #, fuzzy #~ msgid "Media Players" #~ msgstr "Lettore destro" #, fuzzy #~ msgid "MIDI" #~ msgstr "MIDI nota" #~ msgid "Left Player" #~ msgstr "Lettore sinistro" #~ msgid "Right Player" #~ msgstr "Lettore destro" #, fuzzy #~ msgid "Background" #~ msgstr "Lettore attivo" #~ msgid "Jingles" #~ msgstr "Stacchetti" #, fuzzy #~ msgid "Jingles players" #~ msgstr "Stacchetto lettore" #~ msgid "Meters" #~ msgstr "Indicatori" #~ msgid "Unmarked tracks assumed gain value" #~ msgstr "Valore del guadagno per le tracce non segnate" #~ msgid "" #~ "Set this to the typical track gain values you would expect for the " #~ "programme material you are currently playing. For pop and rock music " #~ "(especially modern studio recordings) this should be about a -8 or -9 and " #~ "classical music around zero." #~ msgstr "" #~ "Impostalo sui valori di guadagno tipici che vi aspettereste dal materiale " #~ "che state riproducendo. Per la musica pop e rock (specialmente le " #~ "registrazioni in studio moderne) dovrebbe essere circa a -8 o -9, per la " #~ "classica intorno allo zero." #~ msgid "Further gain adjustment" #~ msgstr "Ulteriori regolazioni del guadagno" #~ msgid "" #~ "For material that is generally loud it is recommended to set this between " #~ "4 and 8 dB however going too high will result in a loss of dynamic range. " #~ "The Str Peak meter is a useful guide for getting this right." #~ msgstr "" #~ "Per il materiale che \"suona forte\" è raccomandabile impostare questo " #~ "valore tra 4dB e 8dB, in ogni caso valori troppo alti riducono " #~ "sensibilmente la dinamica. L'indicatore 'Str Peak' è utile per regolare " #~ "questo valore." #~ msgid "Highest" #~ msgstr "Elevata" #, fuzzy #~ msgid "Lowest" #~ msgstr "Inferiore %" #~ msgid "Prefs enable tooltips" #~ msgstr "Preferenze abilita suggerimenti" #~ msgid "Index" #~ msgstr "Indice" #, fuzzy #~ msgid "Sorting" #~ msgstr "Modificatori" #~ msgid "_Expand" #~ msgstr "_Espandi" #~ msgid "Tree" #~ msgstr "Albero" #~ msgid "Flat" #~ msgstr "Piatto" #~ msgid "P3 Database View (%s)" #~ msgstr "P3 Vista Database (%s)" #~ msgid "User" #~ msgstr "Utente" #~ msgid "Database Connect" #~ msgstr "Connetti al database" #~ msgid "General purpose audio channels*" #~ msgstr "Canali audio generici*" #~ msgid "* In 'Fully Featured' mode." #~ msgstr "* in modalità 'Tutte le funzionalità'" #, fuzzy #~ msgid "Jingles stop effects all" #~ msgstr "Stacchetti seleziona il successivo" #, fuzzy #~ msgid "Jingles set effects volume" #~ msgstr "Stacchetti imposta volume stacchetti 1" #, fuzzy #~ msgid "Jingles set background volume" #~ msgstr "Stacchetti imposta volume interludio" #~ msgid "Jingle" #~ msgstr "Stacchetto" #~ msgid "Kick Incumbent" #~ msgstr "Libera connessione" #~ msgid "Kick Incumbents" #~ msgstr "Libera le connessioni" #~ msgid "IDJC Jingles" #~ msgstr "Stacchetti IDJC" #~ msgid "" #~ "Play the jingles sequence specified above or if none is specified play " #~ "the jingle highlighted in the catalogue. The volume level of the main " #~ "media players will be reduced somewhat during playback." #~ msgstr "" #~ "Suona la sequenza degli stacchetti specificata sopra oppure lo stacchetto " #~ "selezionato nel catalogo. Il volume dei lettori principali verrà " #~ "adeguatamente ridotto durante la riproduzione" #~ msgid "Stop all jingles playback." #~ msgstr "Interrompi la riproduzione di tutti gli stacchetti." #~ msgid "" #~ "This button works the same as the button to the left does except that the " #~ "sound level of all the other media players is fully reduced." #~ msgstr "" #~ "Questo pulsante agisce come il pulsante alla sinistra ma il livello di " #~ "dei lettori verrà completamente diminuito durante la riproduzione" #~ msgid "Sound Level" #~ msgstr "Livello del suono" #~ msgid "Player Muting" #~ msgstr "Silenzia lettore" #~ msgid "" #~ "When you click this button the jingle or track selected in the catalogue " #~ "will be looped continuously and will be audible during moments when the " #~ "main media players are not active. The '{0}' feature needs to be set to " #~ "'{1}' if you want to be able to hear it." #~ msgstr "" #~ "Se cliccate questo pulsante lo stacchetto o la traccia selezionata nel " #~ "catalogo verrà riprodotta in ciclo continuo e sarà udibile nei momenti in " #~ "cui i lettori principali sono spenti. L'opzione '{0}' deve essere " #~ "impostata su '{1}' se volete essre in grado di ascoltarlo." #~ msgid "" #~ "This adjusts the volume level of the music that plays whenever the other " #~ "media players are not active. It is only audible to the DJ when '{0}' in " #~ "the main application window is set to '{1}'." #~ msgstr "" #~ "Regola il volume della musica ogni volta che gli altri lettori non sono " #~ "attivi. E' udibile al DJ solo se '{0}' nella finestra principale è " #~ "impostato su '{1}'" #~ msgid "Add To Jingles" #~ msgstr "Aggiungi agli stacchetti" #~ msgid "" #~ "The jingles catalogue.\n" #~ "\n" #~ "From a main media player tracks can be exported here by right clicking on " #~ "the playlist entry and selecting {0} from the {1} submenu.\n" #~ "\n" #~ "The jingles catalogue can also be managed by modifying the contents of " #~ "the '{2}' directory directly." #~ msgstr "" #~ "Il catalogo degli stacchetti.\n" #~ "\n" #~ "Da un lettore principale le tracce possono essere esportate qui cliccando " #~ "col il destro sulla traccia nella playlist e scegliendo {0} dal sottomenù " #~ "{1}.\n" #~ "\n" #~ "Il catalogo degli stacchetti può essere gestito anche modificando " #~ "direttamente i contenuti della cartella '{2}'." #~ msgid "Sequence" #~ msgstr "Sequenza" #~ msgid "" #~ "Select multiple jingles to play in sequence by entering the corresponding " #~ "index number as part of a comma separated list, or double click entries " #~ "in the catalogue to append them." #~ msgstr "" #~ "Seleziona più stacchetti da riprodurre in sequenza inserendo il numero " #~ "d'ordine in forma di una lista di numeri separata da virgole oppure " #~ "facendo doppio clic negli elementi del catalogo per appenderli in coda." #~ msgid "" #~ "Cause the jingles catalogue to be refreshed. This is for when items have " #~ "been added or removed from the jingles directory located at '%s'." #~ msgstr "" #~ "Provoca l'aggiornamento del catalogo degli stacchetti. Questo è per " #~ "quando gli elementi sono stati aggiunti o rimossi dalla cartella degli " #~ "stacchetti '%s'." #~ msgid "Jingles play/stop 1" #~ msgstr "Stacchetti avvia/interrompi 1" #~ msgid "Jingles play/stop 2" #~ msgstr "Stacchetti avvia/interrompi 2" #~ msgid "Jingles select previous" #~ msgstr "Stacchetti seleziona il precedente" #~ msgid "Jingles play selected from start" #~ msgstr "Stacchetti riproduci selezione dall'inizio" #~ msgid "Jingles set jingles volume 2" #~ msgstr "Stacchetti imposta volume stacchetti 2" #~ msgid "Single jingle" #~ msgstr "Stacchetto singolo" #~ msgid "Restrict the stream audio ceiling to -2dB" #~ msgstr "Limita il tetto del flusso a -2dB" #~ msgid "" #~ "This option may improve the audio quality at the expense of a little " #~ "playback volume. Limiting audio to -2dB at the encoder input will " #~ "generally prevent decoded audio from breaching 0dB." #~ msgstr "" #~ "Questa impostazione potrebbe migliore la qualità audio a spesa di un " #~ "volume di riproduzione leggermente inferiore. Limitare l'audio a -2dB " #~ "all'ingresso del codificatore impedirà all'audio decodificato di superare " #~ "0dB" #~ msgid "Use utf-8 encoding when streaming mp3 metadata" #~ msgstr "Usa la codifica utf-8 quando si inviano i metadati" #~ msgid "" #~ "It is standard to stream mp3 metadata with iso-8859-1 character encoding " #~ "on shoutcast. This option should therefore not be used." #~ msgstr "" #~ "E' uno standard quello di inviare i metadati mp3 con la codifica " #~ "iso-8859-1 su shoutcast. Quindi questa opzione non dovrebbe essere " #~ "utilizzate." #~ msgid "Good" #~ msgstr "Buona" #~ msgid "Fastest" #~ msgstr "Più veloce" #~ msgid "Sample rate" #~ msgstr "Frequenza di campionamento" #~ msgid "Use JACK sample rate" #~ msgstr "Usa la frequenza di campionamento di JACK" #~ msgid "Quality" #~ msgstr "Qualità" #~ msgid "" #~ "No additional resampling will occur. The stream sample rate will be that " #~ "of the JACK sound server." #~ msgstr "" #~ "Nessun ulteriore campionamento verrà effettuato. La frequenza di " #~ "campionamento del flusso sarà quella del server JACK" #~ msgid "Use one of the standard mp3 sample rates for the stream." #~ msgstr "Usa una delle frequenze di campiomento standard per il flusso." #~ msgid "" #~ "Complete sample rate freedom. Note that only sample rates that appear in " #~ "the drop down box can be used with an mp3 stream." #~ msgstr "" #~ "Totale libertà. Notare che soltanto le frequenze di campionamento che " #~ "compaiono nel menù a tendina possono essere utilizzate con un flusso mp3." #~ msgid "" #~ "This selects the audio resampling method to be used, efficiency versus " #~ "quality. Highest mode offers the best sound quality but also uses the " #~ "most CPU (not recommended for systems built before 2006). Fastest mode " #~ "while it uses by far the least amount of CPU should be avoided if at all " #~ "possible." #~ msgstr "" #~ "Seleziona il metodo di ricampionamento da usare, efficenza contro " #~ "qualità. Valori più alti offrono la migliore qualità di suono ma " #~ "utilizzano più CPU (non consigliato per sistemi costruiti prima del " #~ "2006). Valori bassi utilizzano meno CPU ma dovrebbero essere evitati se " #~ "possibile." #~ msgid "" #~ "Clicking this tab selects the mp3 file format for streaming and contains " #~ "settings for configuring the mp3 encoder." #~ msgstr "" #~ "Questa linguetta seleziona il formato del file mp3 per il flusso e " #~ "contiene le impostazioni per la configurazione del codificatore mp3." #~ msgid "Use one of the standard mp3 bit rates." #~ msgstr "Usa uno dei bitrate standard per mp3." #~ msgid "" #~ "Freedom to choose a non standard bitrate. Note however that the use of a " #~ "non-standard bit rate will result in a 'free-format' stream that cannot " #~ "be handled by a great many media players." #~ msgstr "" #~ "Siete liberi di usare un bitrate non standard. Notate che l'utilizzo " #~ "porterà ad un flusso a 'formato-libero' che non potrà essere gestito da " #~ "parecchi lettori di media." #~ msgid "The bit-rate in kilobits per second." #~ msgstr "Il bitrate espresso in kilobit per secondo." #~ msgid "Quality (0=best)" #~ msgstr "Qualità (0=migliore)" #~ msgid "" #~ "This trades off sound quality against CPU efficiency. The more streams " #~ "you want to run concurrently the more you might want to consider using a " #~ "lower quality setting." #~ msgstr "" #~ "Il compromesso tra qualità audio e efficenza CPU. Più flussi in " #~ "concorrenza vorrete lanciare più dovrete prendere in considerazione di " #~ "diminuirne la qualità." #~ msgid "" #~ "Mono is self explanatory. Joint Stereo is recommended below 160kb/s where " #~ "regular Stereo might result in metallic sounding distortion. At higher " #~ "bitrates regular stereo sounds better due to superior channel separation." #~ msgstr "" #~ "Mono è autoesplicativo. Joint Stereo è raccomandato sotto i 160Kb/s " #~ "laddove uno Stereo potrebbe produrre un suono metallico e distorto. A " #~ "bitrate più elevati Stereo produce un suono migliore grazie alla migliore " #~ "separazione dei canali." #~ msgid "" #~ "The type of mpeg header used in the mp3 stream or either s-rate or " #~ "freeformat. Freeformat indicates that the bitrate is not specified in the " #~ "header since it is non-standard, rather the listener client has to figure " #~ "out what the bitrate is by itself and not all of them are capable of " #~ "doing that. In short you'll be streaming something many listeners may not " #~ "be able to listen to. S-rate indicates the sample rate you have selected " #~ "is not compatible with mp3 and you'll need to change it if you want to " #~ "stream." #~ msgstr "" #~ "Il tipo di intestazione mpeg utilizzata nel flusso mp3 o s-rate o " #~ "freeformat. Freeformat indica che il bitrate non è specificato " #~ "nell'intestazione perché è non standard, è il client dell'ascoltatore " #~ "deve capire qual'è il bitrate e non tutti sono in grado di farlo. In " #~ "breve, trasmetterete qualcosa che non tutti potrebbero essere in grado di " #~ "ascoltare. S-rate indica che la frequenza di campionamento selezionata " #~ "non è compatibile con mp3 e che dovrete cambiarla se volete trasmettere." #~ msgid "" #~ "To enable MP3 streaming\n" #~ "install the package named\n" #~ "'libmp3lame'\n" #~ " and restart IDJC." #~ msgstr "" #~ "Per abilitare il flusso MP3\n" #~ "installare il pacchetto 'libmp3lame'\n" #~ " riavviate IDJC." #~ msgid "" #~ "Installing libmp3lame will allow you to stream the MP3 format to " #~ "Shoutcast servers. Currently only Ogg streaming to Icecast servers is " #~ "possible." #~ msgstr "" #~ "Installare libmp3lame vi consentirà di utilizzare flussi mp3 sui server " #~ "Shoutcast. Attualmente sono possibili soltato flussi Ogg sui server " #~ "Icecast." #~ msgid "Clicking this tab selects the Ogg family of file formats." #~ msgstr "Seleziona la famiglia dei formati file Ogg." #~ msgid "This chooses the Ogg/vorbis format for streaming and recording." #~ msgstr "Sceglie il formato Ogg/Vorbis per il flusso e la registrazione." #~ msgid "This chooses the OggFLAC format for streaming and recording." #~ msgstr "Sceglie il formato OggFlac per il flusso e la registrazione." #, fuzzy #~ msgid "This chooses the Speex format for streaming and recording." #~ msgstr "Sceglie il formato Speex per il flusso e la registrazione." #~ msgid "Stereo" #~ msgstr "Stereo" #~ msgid "Mono" #~ msgstr "Mono" #~ msgid "Upper %" #~ msgstr "Superiore %" #~ msgid "The nominal Ogg/Vorbis bitrate in kilobits per second." #~ msgstr "Il bitrate nominale Ogg/Vorbis in kilobit per secondo." #~ msgid "" #~ "The upper bitrate limit relative to the nominal bitrate. This is an " #~ "advisory limit and it may be exceeded. Normally it is safe to leave the " #~ "upper limit uncapped since the bitrate will be averaged and the listeners " #~ "have buffers that extend for many seconds. The checkbox enables/disables " #~ "this feature." #~ msgstr "" #~ "Il limite superiore del bitrate relativo al bitrate nominale. E' un " #~ "limite di avvertimento e può essere superato. Normalmente può essere " #~ "lasciato andare visto che il bitrate sarà medio e gli ascoltatori hanno " #~ "dei buffer che durano parecchi secondi. La casella di spunta abilita/" #~ "disabilita questa opzione." #~ msgid "" #~ "The minimum bitrate in relative percentage terms. For streaming it is " #~ "recommended that you set a minimum bitrate to ensure correct listener " #~ "client behaviour however setting any upper or lower limit will result in " #~ "a significantly higher CPU usage by a factor of at least three, and " #~ "slightly degraded sound quality. The checkbox enables/disables this " #~ "feature." #~ msgstr "" #~ "Il bitrate minimo in termini percentuali. Per il flusso è raccomandabile " #~ "che lo impostiate in modo da assicurare un comportamento corretto del " #~ "client dell'ascoltatore, comunque impostare un limite superiore o " #~ "inferiore comporterà un significativo aumento nell'utilizzo della CPU, " #~ "almeno a tre volte tanto, ed un suono leggermente peggiore. La casella " #~ "di spunta abilita/disabilita questa opzione." #~ msgid "" #~ "You can prevent the sending of metadata by turning this feature off. This " #~ "will prevent certain players from dropping the stream or inserting an " #~ "audible gap every time the song title changes." #~ msgstr "" #~ "Potete evitare l'invio dei metadati. Questo impedirà a certi lettori di " #~ "interrompere il flusso o di inserire un vuoto ogni volta che il titolo " #~ "della canzone cambia." #~ msgid "%d Bit" #~ msgstr "%d bit" #~ msgid "" #~ "Useful for streaming but for recording choose a higher bitrate option." #~ msgstr "" #~ "Utile per il flusso ma per la registrazione sceglie un bitrate più " #~ "elevato." #~ msgid "" #~ "Ideal for very high quality streaming or recording although not as " #~ "compatible as 16 bit." #~ msgstr "" #~ "Ideale per flussi o registrazioni di alta qualità sebbene non sia " #~ "compatibile come i 16bit." #~ msgid "" #~ "The highest quality audio format available within IDJC. Recommended for " #~ "pre-recording." #~ msgstr "" #~ "Il formato qualitativamente migliore disponibile in IDJC. Consigliato per " #~ "le pre-registrazioni." #~ msgid "Feature Disabled" #~ msgstr "Configurazione disabilitata" #~ msgid "Ultra Wide Band" #~ msgstr "Banda ultra larga" #~ msgid "Wide Band" #~ msgstr "Banda larga" #~ msgid "Narrow Band" #~ msgstr "Banda stretta" #~ msgid "" #~ "Apply intensity stereo to the audio stream. This is a very efficient " #~ "implementation of stereo but is only suited to voice." #~ msgstr "" #~ "Applica lo stereo al flusso. E' una implementazione molto efficente ma " #~ "adatta soltanto alla voce." #~ msgid "" #~ "Sending metadata may cause listener clients to misbehave when the " #~ "metadata changes. By keeping this feature turned off you can avoid that." #~ msgstr "" #~ "L'invio dei metadati può essere fuorviante per l'ascoltatore durante il " #~ "cambio. Disattivando questa opzione potete evitarlo." #~ msgid "Mode" #~ msgstr "Modo" #~ msgid "" #~ "This is the audio bandwidth selector. Ultra Wide Band has a bandwidth of " #~ "16kHz; Wide Band, 8kHz; Narrow Band, 4kHz. The samplerate is twice the " #~ "value of the selected bandwidth consequently all settings in the " #~ "samplerate pane to the left will be disregarded apart from the resample " #~ "quality setting." #~ msgstr "" #~ "Questo è il selettore dell'ampiezza. La Banda Ultra Larga ha una ampiezza " #~ "di 16Khz; la Banda Larga di 8Khz; la Banda Stretta di 4Khz. La frequenza " #~ "di campionamento è il doppio della banda selezionata, conseguentemente " #~ "tutte le impostazioni nel pannello alla sinistra verranno ignorate fatta " #~ "eccezione per la qualità di ri-campionamento." #~ msgid "" #~ "This picks an appropriate bitrate for the selected bandwidth on a quality " #~ "metric. Q8 is a good choice for artifact-free speech and Q10 would be the " #~ "ideal choice for music." #~ msgstr "" #~ "Sceglie un bitrate appropriato per l'ampiezza di banda selezionata in " #~ "base alla qualità. Q8 è un buon compromesso per il parlato e Q10 " #~ "rappresenta la scelta migliore per la musica." #~ msgid "CPU" #~ msgstr "CPU" #~ msgid "" #~ "This sets the level of complexity in the encoder. Higher values use more " #~ "CPU but result in better sounding audio though not as great an " #~ "improvement as you would get by increasing the quality setting to the " #~ "left." #~ msgstr "" #~ "Imposta il livello di complessità per il codificatore. Valori elevati " #~ "utilizzano più CPU producono un suono migliore, sebbene non così migliore " #~ "come quello che otterreste aumentando l'impostazione di qualità alla " #~ "sinistra." #~ msgid " Test / Monitor " #~ msgstr " Test / Monitor " #~ msgid "" #~ "Use this to change the encoder settings while streaming or recording.\n" #~ " \n" #~ "If this button is greyed out it means that the encoder is not running, or " #~ "the bitrate/samplerate combination is not supported by the encoder, or " #~ "you are trying to switch between Ogg and mp3, which is not permitted." #~ msgstr "" #~ "Utilizzatelo per modificare le impostazioni del codificatore durante la " #~ "registrazione o la messa in onda.\n" #~ "\n" #~ "Se questo pulsante è grigio vuol dire che il codificatore non è in " #~ "esecuzione o che la combinazione bitrate/frequenza non è supportata dal " #~ "codificatore, oppure che state cercando di passare da Ogg a mp3, il che " #~ "non è consentito." #, fuzzy #~ msgid "" #~ "Information about how the encoder iscurrently configured is displayed " #~ "here." #~ msgstr "" #~ "Le informazioni su come è configurato il codificatore sono riportate qui." #~ msgid "" #~ "Start recording.\n" #~ "\n" #~ "If this button is greyed out it could mean the encoder settings are not " #~ "valid. This can be fixed by using one of the approved sample rates for " #~ "mp3 or by choosing a sensible samplerate and bitrate combination for " #~ "Ogg.\n" #~ "\n" #~ "Also check that you have write permission on the folder you have selected " #~ "to record to." #~ msgstr "" #~ "Inizia la registrazione.\n" #~ "\n" #~ "Se questo pulsante è grigio può voler dire che le impostazioni del " #~ "codificatore non sono valide, Potete sistemarle usando uno dei formati " #~ "validi per mp3 o scegliendo una combinazione valida tra frequenza e " #~ "bitrate per il formato Ogg.\n" #~ "\n" #~ "Inoltre verificate di avere i permessi di scrittura sulla cartella che " #~ "avete scelto come destinazione della registrazione." #~ msgid "Set" #~ msgstr "Imposta" #~ msgid "Auto" #~ msgstr "Auto" #~ msgid "Use default JACK audio routing" #~ msgstr "Usa il sistema base di JACK per il routing audio" #~ msgid "Reroute the audio to/from the specified port" #~ msgstr "Reindirizza l'audio verso/da la porta specificata" #~ msgid "" #~ "Save the audio routing so that it persists across application restarts" #~ msgstr "" #~ "Salva il routing audio in modo che persista tra un avvio e l'altro " #~ "dell'applicazione." #~ msgid "" #~ "Enter the name of the JACK audio port with which to bind and then click " #~ "the set button to the right.\n" #~ "Typing 'jack_lsp -p' in a console will give you a list of valid JACK " #~ "audio ports. Note that inputs will only bind to output ports and outputs " #~ "will only bind to input ports." #~ msgstr "" #~ "Inserire il nome della porta audio JACK alla quale collegarsi e poi " #~ "cliccare sul pulsante a destra.\n" #~ "Il comando 'jack_lsp -p' lanciato in un terminale vi fornirà una lista di " #~ "porte JACK valide. Gli ingressi si collegheranno soltanto a porte in " #~ "uscita e le uscite soltanto a porte in entrata." #~ msgid "The mixer module crashed during initialisation." #~ msgstr "Il modulo del mixer è collassato durante l'inizializzazione." #~ msgid "IDJC Launch Failed" #~ msgstr "L'avvio di IDJC è fallito" #~ msgid "" #~ "The JACK sound server needs to be running in order to run IDJC.\n" #~ "In order to manually start it try something like:\n" #~ "\n" #~ " $ jackd -d alsa -r 44100 -p 2048\n" #~ "\n" #~ "If you would like JACK to start automatically with your user specified " #~ "parameters try something like this, which will create a file called ." #~ "jackdrc in your home directory:\n" #~ "\n" #~ " $ echo \"/usr/bin/jackd -d alsa -r 44100\" > ~/.jackdrc\n" #~ "\n" #~ "If you have already done this it is possible another application or non-" #~ "JACK sound server is using the sound card.\n" #~ "\n" #~ "Possible remedies would be to close the other audio app or configure the " #~ "sound server to go into suspend mode after a brief amount of idle time.\n" #~ "\n" #~ "If you are trying to connect to a named jack server, either set the " #~ "environment variable JACK_DEFAULT_SERVER to that name or launch IDJC with " #~ "the -j jackservername option. For example:\n" #~ "\n" #~ " $ jackd -n xyzzy -d alsa -r 44100 -p 2048 &\n" #~ " $ idjc -p profilename -j xyzzy\n" #~ "\n" #~ "If you are trying to open multiple instances of IDJC use the -e command " #~ "line switch." #~ msgstr "" #~ "Il server audio JACK deve essere in esecuzione per avviare IDJC.\n" #~ "Per avviarlo manualmente provate qualcosa del genere:\n" #~ " $ jackd -d alsa -r 44100 -p 2048\n" #~ "\n" #~ "Se volete eseguire JACK automaticamente con i vostri parametri specifici " #~ "provate qualcosa del genere, che creerà il file .jackdrc nella vostra " #~ "cartella Home.\n" #~ "\n" #~ " $ echo \"/usr/bin/jackd -d alsa -r 44100\" > ~/.jackdrc\n" #~ "\n" #~ "Se già lo avete fatto è possibile che un'altra applicazione o un'altro " #~ "server audio stia utilizzando la scheda audio.\n" #~ "\n" #~ "Potete chiudere l'altra applicazione audio o configurare il server audio " #~ "affinché si sospenda dopo un breve lasso di tempo di non utilizzo.\n" #~ "\n" #~ "Se state cercando di connettervi ad un server JACK con un nome specifico, " #~ "impostate la variabile di ambiente JACK_DEFAULT_SERVER su quel nome " #~ "oppure avviate IDJC con l'opzione -j nomeserver. Ad esempio:\n" #~ "\n" #~ " $ jackd -n xyzyx -d alsa -r 44100 -p 2048 &\n" #~ " $ idjc -p nomeprofilo -j xyzyx\n" #~ "\n" #~ "Se state cercando di avviare istanze multiple di IDJC usate il selettore -" #~ "e dalla riga di comando." #~ msgid "Stream Normaliser" #~ msgstr "Normalizzatore di flusso" #~ msgid "" #~ "This feature is provided to make the various pieces of music that are " #~ "played of a more uniform loudness level. The default settings are likely " #~ "to be sufficient however you may adjust them and you can compare the " #~ "effect by clicking the 'Monitor Mix' 'Stream' button in the main " #~ "application window which will allow you to compare the processed with the " #~ "non-processed audio." #~ msgstr "" #~ "Questa opzione serve per uniformare il livello del suono dei vari tipi di " #~ "musica che viene riprodotta. Le impostazioni di base dovrebbero essere " #~ "sufficenti ma potreste volerle regolare e paragonare cliccando sul " #~ "pulsante 'Monitora il mix' 'Flusso' nella finestra principale " #~ "dell'applicazione, che vi consentirà di confrontare il segnale non " #~ "elaborato con l'elaborato." #~ msgid "Boost" #~ msgstr "Boost" #~ msgid "" #~ "Adjust these settings carefully since they can have subtle but " #~ "undesireable effects on the sound quality." #~ msgstr "" #~ "Regolate queste impostazioni con attenzione poiché potrebbero avere lievi " #~ "ma indesiderabili effetti sulla qualità del suono" #~ msgid "Load the recommended settings." #~ msgstr "Carica le impostazioni consigliate" #~ msgid "Rise" #~ msgstr "Crescita" #~ msgid "Fall" #~ msgstr "Decadenza" #~ msgid "sub-option -h for more info" #~ msgstr "usare -h per più informazioni" #~ msgid "the default command" #~ msgstr "il comando di base" #~ msgid "Open various application windows." #~ msgstr "Apre varie applicazioni" #~ msgid "Str VU" #~ msgstr "Str VU" #~ msgid "Quit" #~ msgstr "Chiudi" #~ msgid "Stream audio levels, connections, and listener figures" #~ msgstr "Livelli del flusso audio, connessioni e ascoltatori" #~ msgid "Using named JACK server: %s" #~ msgstr "Sto usando il server JACK: %s." #~ msgid "Route audio through the DSP interface" #~ msgstr "Ruota l'audio attraverso l'interfaccia DSP" #~ msgid "New" #~ msgstr "Nuovo" #~ msgid "Edit" #~ msgstr "Modifica" #~ msgid "Update" #~ msgstr "Aggiorna" #~ msgid " %s " #~ msgstr "%s" #~ msgid "Compressor" #~ msgstr "Limiter" #~ msgid "" #~ "A lookahead brick wall limiter. Use the Ratio control to boost the " #~ "quieter sounds. The Limit control is used to set the absolute maximum " #~ "audio level." #~ msgstr "" #~ "Un limiter predittivo. Il controllo Limita è utilizzato per impostare il " #~ "livello massimo assoluto dell'audio." idjc-0.8.9/idjc.desktop.in.in0000644000175000017500000000153112122161144012672 00000000000000[Desktop Entry] Categories=GTK;Network; Comment=Create your live radio show or podcast Comment[en_GB]=Create your live radio show or podcast Comment[it]=Crea la tua live radio o podcast Comment[de]=Erstelle deine eigene Radiosendung oder Podcasts Comment[fr]=Créez votre spectacle radio en direct ou votre podcast Exec=@bindir@/@PACKAGE_NAME@ GenericName=Graphical shoutcast/icecast client GenericName[en_GB]=Graphical shoutcast/icecast client GenericName[it]=Client grafico shoutcast/icecast GenericName[de]=Grafischer Shoutcast/Icecast Client GenericName[fr]=Client graphique shoutcast/icecast Icon=${prefix}/share/pixmaps/@PACKAGE_NAME@.png MimeType= Name=Internet DJ Console Path= StartupNotify=true Terminal=false TerminalOptions= Type=Application Version=1.0 X-DCOP-ServiceType= X-KDE-SubstituteUID=false X-KDE-Username= X-Ubuntu-Gettext-Domain=idjc idjc-0.8.9/configure.ac0000644000175000017500000002222012142724602011646 00000000000000# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ(2.59) AC_INIT([idjc], [0.8.9], [http://idjc.sourceforge.net]) AC_SUBST(COPYRIGHT_YEAR, [2013]) AC_CONFIG_SRCDIR([config.h.in]) AM_INIT_AUTOMAKE AM_CONFIG_HEADER([config.h]) # Generate python installation stuff AM_PATH_PYTHON([2.7]) # idjc backend library stuff LT_INIT([disable-static,dlopen]) # Checks for programs. AM_PROG_CC_C_O # Cause autoconfiguration to look for an external libintl. AM_GNU_GETTEXT([external]) AM_GNU_GETTEXT_VERSION([0.18.1]) # We need libjack in order to compile. PKG_CHECK_MODULES(LIBJACK, [jack >= 0.98.0]) # Core dependencies. PKG_CHECK_MODULES([LIBVORBIS], [vorbis >= 1.0.0]) PKG_CHECK_MODULES([LIBVORBISENC], [vorbisenc >= 1.0.0]) PKG_CHECK_MODULES([LIBSAMPLERATE], [samplerate]) PKG_CHECK_MODULES([LIBSNDFILE], [sndfile]) PKG_CHECK_MODULES([GLIB], [glib-2.0]) AC_ARG_ENABLE([libav], AC_HELP_STRING([--disable-libav],[remove capability to decode m4a/wma/avi files]),[makelibav=$enableval],[makelibav="maybe"]) if test $makelibav != "no" ; then PKG_CHECK_MODULES([LIBAVCODEC], [libavcodec], [AC_DEFINE(HAVE_AVCODEC, 1, [Set if libavcodec was found]) AC_SUBST(HAVE_AVCODEC, 1) AC_CHECK_LIB([avcodec],[avcodec_decode_audio4], :, AC_MSG_ERROR("configure with --disable-libav or update ffmpeg/libav")) ], AC_SUBST(HAVE_AVCODEC, 0) if test $makelibav = "yes" ; then AC_MSG_ERROR([libavcodec not detected but specifically requested in configure options (libav)]) else AC_MSG_WARN([IDJC will be built without wma/mp4/ape support]) fi) PKG_CHECK_MODULES([LIBAVFORMAT], [libavformat], AC_DEFINE(HAVE_AVFORMAT, 1, [Set if libavformat was found]) AC_SUBST(HAVE_AVFORMAT, 1), AC_SUBST(HAVE_AVFORMAT, 0) if test $makelibav = "yes" ; then AC_MSG_ERROR([libavformat not detected but specifically requested in configure options (libav)]) else AC_MSG_WARN([IDJC will be built without wma/mp4/ape support]) fi) PKG_CHECK_MODULES([LIBAVUTIL], [libavutil], AC_DEFINE(HAVE_AVUTIL, 1, [Set if libavutil was found]) AC_SUBST(HAVE_AVUTIL, 1), AC_SUBST(HAVE_AVUTIL, 0) if test $makelibav = "yes" ; then AC_MSG_ERROR([libavutil not detected but specifically requested in configure options (libav)]) else AC_MSG_WARN([IDJC will be built without wma/mp4/ape support]) fi) else AC_SUBST(HAVE_AVCODEC, 0) AC_SUBST(HAVE_AVFORMAT, 0) AC_SUBST(HAVE_AVUTIL, 0) fi AC_ARG_ENABLE([speex], AC_HELP_STRING([--disable-speex],[remove the capability to play/stream speex]), [makespeex=$enableval],[makespeex="maybe"]) if test $makespeex != "no" ; then PKG_CHECK_MODULES([LIBSPEEX], [speex], [ AC_DEFINE(HAVE_SPEEX, 1, [Set if libspeex was found]) AC_SUBST(HAVE_SPEEX, 1)], [AC_SUBST(HAVE_SPEEX, 0), if test $makespeex = "yes" ; then AC_MSG_ERROR([libspeex not detected but specifically requested in configure options]) else AC_MSG_WARN([IDJC will be built without speex support]) fi]) else AC_SUBST([HAVE_SPEEX],[0]) fi # Used only to check the correct version is installed PKG_CHECK_MODULES([PYGTK], [pygtk-2.0 >= 2.6.0]) AC_MSG_CHECKING([for mutagen]) ${PYTHON}${PYTHON_VERSION} -c "import mutagen" >/dev/null 2>&1 if test $? -ne 0 ; then AC_MSG_RESULT([no]) AC_MSG_WARN([runtime dependency (mutagen / python-mutagen) is missing]) else AC_MSG_RESULT([yes]) fi AC_ARG_ENABLE([flac], AC_HELP_STRING([--disable-flac],[remove the capability to play/stream in FLAC]), [makeflac=$enableval],[makeflac="maybe"]) if test $makeflac != "no" ; then PKG_CHECK_MODULES([LIBFLAC],[flac >= 1.1.3], [AC_DEFINE([HAVE_FLAC],[1],[Set if libflac >= 1.1.3 was found]) AC_SUBST([HAVE_FLAC],[1]) AC_CHECK_LIB([FLAC], [FLAC__stream_decoder_init_ogg_stream], [AC_SUBST([HAVE_OGGFLAC],[1]) AC_DEFINE([HAVE_OGGFLAC],[1],[Set if libFLAC has oggflac support])], [AC_SUBST([HAVE_OGGFLAC],[0]) AC_MSG_WARN([your version of libFLAC lacks oggflac support])])], [AC_SUBST([HAVE_FLAC],[0]) AC_SUBST([HAVE_OGGFLAC],[0]) if test $makeflac = "yes" ; then AC_MSG_ERROR([libFLAC not detected but specifically requested in configure options]) else AC_MSG_WARN([IDJC will be built without flac support]) fi]) else AC_SUBST([HAVE_FLAC],[0]) AC_SUBST([HAVE_OGGFLAC],[0]) fi AC_CHECK_HEADERS([mpg123.h]) AC_ARG_ENABLE(mpg123, AC_HELP_STRING([--disable-mpg123],[remove capability to play mp3 format]),[makempg123=$enableval],[makempg123="maybe"]) if test $makempg123 != "no" ; then PKG_CHECK_MODULES([MPG123], [libmpg123], [AC_SUBST([MPG123], [-lmpg123]) AC_SUBST([DYN_MPG123], [0])], [AC_DEFINE([DYN_MPG123], [1], [MPG123 to be linked dynamically]) AC_SUBST([DYN_MPG123], [1]) DYNAMIC="1" if test $makempg123 = "yes" ; then AC_MSG_ERROR([libmpg123 not detected but specifically requested in configure options]) fi]) else AC_DEFINE([DYN_MPG123], [1], [MPG123 to be linked dynamically]) AC_SUBST([DYN_MPG123], [1]) DYNAMIC="1" fi AC_CHECK_HEADERS([lame/lame.h]) AC_ARG_ENABLE(lame, AC_HELP_STRING([--disable-lame],[remove capability to stream/record mp3 format]),[makelame=$enableval],[makelame="maybe"]) if test $makelame != "no" ; then AC_CHECK_LIB([mp3lame -lm], [lame_init], [AC_SUBST([LIBMP3LAME], [-lmp3lame]) AC_SUBST([DYN_LAME], [0])], AC_DEFINE([DYN_LAME], [1], [LAME to be linked dynamically]) AC_SUBST([DYN_LAME], [1]) DYNAMIC="1" if test $makelame = "yes" ; then AC_MSG_ERROR([libmp3lame not detected but specifically requested in configure options]) fi) else AC_DEFINE([DYN_LAME], [1], [LAME to be linked dynamically]) AC_SUBST([DYN_LAME], [1]) DYNAMIC="1" fi AC_ARG_ENABLE([twolame], AC_HELP_STRING([--disable-twolame],[remove the capability to stream in mp2]), [maketwolame=$enableval],[maketwolame="maybe"]) if test $maketwolame != "no" ; then PKG_CHECK_MODULES([TWOLAME], [twolame], [ AC_DEFINE(HAVE_TWOLAME, 1, [Set if libtwolame was found]) AC_SUBST(HAVE_TWOLAME, 1)], [AC_SUBST(HAVE_TWOLAME, 0), if test $maketwolame = "yes" ; then AC_MSG_ERROR([libtwolame not detected but specifically requested in configure options]) else AC_MSG_WARN([IDJC will be built without libtwolame mp2 streaming support]) fi]) else AC_SUBST([HAVE_TWOLAME],[0]) fi AC_ARG_ENABLE([opus], AC_HELP_STRING([--disable-opus],[remove capability to play/stream in opus format]), [makeopus=$enableval],[makeopus="maybe"]) if test $makeopus != "no" ; then PKG_CHECK_MODULES([OPUS], [opus], [ AC_DEFINE(HAVE_OPUS, 1, [Set if libopus was found]) AC_SUBST(HAVE_OPUS, 1)], [AC_SUBST(HAVE_OPUS, 0), if test $makeopus = "yes" ; then AC_MSG_ERROR([libopus not detected but specifically requested in configure options]) else AC_MSG_WARN([IDJC will be built without opus playback or streaming support]) fi]) else AC_SUBST([HAVE_OPUS],[0]) fi AC_CHECK_LIB([pthread], [pthread_create], :, AC_MSG_ERROR("libpthread not detected")) # Conditionally include libm. Some standard libraries could have inbuilt math stuff. AC_CHECK_FUNCS([sqrt pow], :, [AC_CHECK_LIB([m], [sqrt, pow], AC_SUBST(LIBM, "-lm"), AC_MSG_ERROR("math library is missing critical function"))]) # Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS([fcntl.h jack/jack.h jack/transport.h pthread.h], :, AC_MSG_ERROR("Critical header file missing")) # Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_C_INLINE AC_TYPE_PID_T AC_TYPE_SIZE_T # Checks for library functions. AC_FUNC_MALLOC AC_TYPE_SIGNAL AC_CHECK_FUNCS([memset strchr], :, AC_MSG_ERROR("Critical function missing")) AC_CHECK_FUNCS([getline strndup canonicalize_file_name], :, [AC_DEFINE([USE_BSD_COMPAT],[1], [Set if GNU extensions need to be replicated])]) # Use png or xpm for graphics AC_SUBST(EXT,[png]) PKG_CHECK_MODULES([SHOUTIDJC], [shout-idjc]) AC_CHECK_HEADERS([shoutidjc/shout.h]) if test x$DYNAMIC = "x1" ; then AC_CHECK_FUNCS([dlopen], :, AC_CHECK_LIB([dl], [dlopen], AC_SUBST([DYN_LIBS], [-ldl]), AC_MSG_ERROR([Runtime linking functions not found]))) AC_SUBST([DYN_LDFLAGS], [-rdynamic]) fi AC_CONFIG_FILES([Makefile po/Makefile.in c/Makefile python/Makefile python/prelims/Makefile artwork/Makefile man/Makefile doc/Makefile python/__init__.py.in idjc.in idjc.desktop.in]) AC_OUTPUT idjc-0.8.9/c/0000755000175000017500000000000012142736727007677 500000000000000idjc-0.8.9/c/ogg_flac_dec.c0000644000175000017500000002114312114637001012320 00000000000000/* # ogg_flac_dec.c: flac decoder for oggdec.c # Copyright (C) 2008 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "../config.h" #ifdef HAVE_OGGFLAC #include #include #include "oggdec.h" #include "ogg_flac_dec.h" #include "flacdecode.h" #define ACCEPTED 1 #define REJECTED 0 #define TRUE 1 #define FALSE 0 static void ogg_flacdec_cleanup(struct xlplayer *xlplayer) { struct oggdec_vars *od = xlplayer->dec_data; struct oggflacdec_vars *self = od->dec_data; fprintf(stderr, "ogg_flacdec_cleanup was called\n"); if (self->resample) { if (xlplayer->src_data.data_in) free(xlplayer->src_data.data_in); if (xlplayer->src_data.data_out) free(xlplayer->src_data.data_out); xlplayer->src_state = src_delete(xlplayer->src_state); } FLAC__stream_decoder_delete(self->dec); free(self); /* prevent double free */ od->dec_cleanup = NULL; od->dec_data = NULL; } /* write callback to output data with resample */ FLAC__StreamDecoderWriteStatus ogg_flacdec_write_resample_callback(const FLAC__StreamDecoder *dec, const FLAC__Frame *frame, const FLAC__int32 *const inputbuffer[], void *client_data) { struct oggdec_vars *od = client_data; struct oggflacdec_vars *self = od->dec_data; struct xlplayer *xlplayer = od->xlplayer; SRC_DATA *src_data = &xlplayer->src_data; int src_error; if (self->suppress_audio_output == FALSE) { if (frame->header.number_type == FLAC__FRAME_NUMBER_TYPE_FRAME_NUMBER && frame->header.number.frame_number == 0) { fprintf(stderr, "ogg_flacdec_write_resample_callback: performance warning -- can't determine if a block is the last one or not for this file\n"); } else { if (frame->header.number.sample_number + frame->header.blocksize == od->final_granulepos[od->ix]) src_data->end_of_input = TRUE; } src_data->input_frames = frame->header.blocksize; src_data->data_in = realloc(src_data->data_in, src_data->input_frames * frame->header.channels * sizeof (float)); src_data->output_frames = ((int)(src_data->input_frames * src_data->src_ratio)) + 512; src_data->data_out = realloc(src_data->data_out, src_data->output_frames * frame->header.channels * sizeof (float)); make_flac_audio_to_float(xlplayer, src_data->data_in, inputbuffer, frame->header.blocksize, frame->header.bits_per_sample, frame->header.channels); if ((src_error = src_process(xlplayer->src_state, src_data))) { fprintf(stderr, "flac_writer_callback: src_process reports %s\n", src_strerror(src_error)); return FLAC__STREAM_DECODER_WRITE_STATUS_ABORT; } xlplayer_demux_channel_data(xlplayer, src_data->data_out, src_data->output_frames_gen, frame->header.channels, 1.f); xlplayer_write_channel_data(xlplayer); } return FLAC__STREAM_DECODER_WRITE_STATUS_CONTINUE; } /* write callback to output data without resample */ FLAC__StreamDecoderWriteStatus ogg_flacdec_write_callback(const FLAC__StreamDecoder *decoder, const FLAC__Frame *frame, const FLAC__int32 * const inputbuffer[], void *client_data) { struct oggdec_vars *od = client_data; struct oggflacdec_vars *self = od->dec_data; struct xlplayer *xlplayer = od->xlplayer; if (self->suppress_audio_output == FALSE) { if ((self->flbuf = realloc(self->flbuf, sizeof (float) * frame->header.blocksize * frame->header.channels)) == NULL) { fprintf(stderr, "flac_writer_callback: malloc failure\n"); return FLAC__STREAM_DECODER_WRITE_STATUS_ABORT; } make_flac_audio_to_float(xlplayer, self->flbuf, inputbuffer, frame->header.blocksize, frame->header.bits_per_sample, frame->header.channels); xlplayer_demux_channel_data(xlplayer, self->flbuf, frame->header.blocksize, frame->header.channels, 1.f); xlplayer_write_channel_data(xlplayer); } return FLAC__STREAM_DECODER_WRITE_STATUS_CONTINUE; } static void ogg_flacdec_play(struct xlplayer *xlplayer) { struct oggdec_vars *od = xlplayer->dec_data; struct oggflacdec_vars *self = od->dec_data; if (!(FLAC__stream_decoder_process_single(self->dec))) { fprintf(stderr, "ogg_flacdec_play: fatal error occurred reading oggflac stream\n"); fprintf(stderr, "%s\n", FLAC__stream_decoder_get_resolved_state_string(self->dec)); oggdecode_playnext(xlplayer); } else if (FLAC__stream_decoder_get_state(self->dec) == FLAC__STREAM_DECODER_END_OF_STREAM) { oggdecode_playnext(xlplayer); } } int ogg_flacdec_init(struct xlplayer *xlplayer) { struct oggdec_vars *od = xlplayer->dec_data; struct oggflacdec_vars *self = od->dec_data; int src_error; FLAC__StreamDecoderInitStatus status; fprintf(stderr, "ogg_flacdec_init was called\n"); if (!(self = calloc(1, sizeof (struct oggflacdec_vars)))) { fprintf(stderr, "ogg_flacdec_init: malloc failure\n"); return REJECTED; } fseeko(od->fp, od->bos_offset[od->ix], SEEK_SET); if (!(self->dec = FLAC__stream_decoder_new())) { fprintf(stderr, "ogg_flacdec_init: call to FLAC__stream_decoder_new failed\n"); return REJECTED; } if (od->samplerate[od->ix] != xlplayer->samplerate) { self->resample = TRUE; status = FLAC__stream_decoder_init_ogg_stream(self->dec, oggflac_read_callback, oggflac_seek_callback, oggflac_tell_callback, oggflac_length_callback, oggflac_eof_callback, ogg_flacdec_write_resample_callback, NULL, oggflac_error_callback, od); } else { status = FLAC__stream_decoder_init_ogg_stream(self->dec, oggflac_read_callback, oggflac_seek_callback, oggflac_tell_callback, oggflac_length_callback, oggflac_eof_callback, ogg_flacdec_write_callback, NULL, oggflac_error_callback, od); } if (status != FLAC__STREAM_DECODER_INIT_STATUS_OK) { fprintf(stderr, "ogg_flacdec_init: failed to initialise OggFLAC decoder\n"); FLAC__stream_decoder_delete(self->dec); return REJECTED; } if ((self->resample)) { fprintf(stderr, "ogg_flacdec_init: configuring resampler\n"); xlplayer->src_state = src_new(xlplayer->rsqual, (od->channels[od->ix] > 1) ? 2 : 1, &src_error); if (src_error) { fprintf(stderr, "ogg_flacdec_init: src_new reports %s\n", src_strerror(src_error)); FLAC__stream_decoder_delete(self->dec); return REJECTED; } xlplayer->src_data.output_frames = 0; xlplayer->src_data.data_in = xlplayer->src_data.data_out = NULL; xlplayer->src_data.src_ratio = (double)xlplayer->samplerate / (double) od->samplerate[od->ix]; xlplayer->src_data.end_of_input = 0; } if (!(FLAC__stream_decoder_process_until_end_of_metadata(self->dec))) { if (self->resample) src_delete(xlplayer->src_state); FLAC__stream_decoder_delete(self->dec); return REJECTED; } od->dec_data = self; od->dec_cleanup = ogg_flacdec_cleanup; xlplayer->dec_play = ogg_flacdec_play; if (od->seek_s) { self->suppress_audio_output = TRUE; if (!(FLAC__stream_decoder_seek_absolute(self->dec, (FLAC__uint64)od->seek_s * od->samplerate[od->ix]))) fprintf(stderr, "ogg_flacdec_init: seek failed\n"); self->suppress_audio_output = FALSE; } fprintf(stderr, "ogg_flacdec_init: completed\n"); return ACCEPTED; } #endif /* HAVE_OGGFLAC */ idjc-0.8.9/c/bsdcompat.h0000644000175000017500000000264011717511070011733 00000000000000/* # bsdcompat.h: library functions that are missing from BSD # Copyright (C) 2005-2007 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #ifndef BSD_COMPAT_H #define BSD_COMPAT_H #include "gnusource.h" #ifdef USE_BSD_COMPAT #include #include float bsd_pow10f(float x); char *bsd_strndup(const char *s, size_t n); ssize_t bsd_getline(char **lineptr, size_t *n, FILE *stream); char *bsd_canonicalize_file_name(const char *path); #ifndef _GNU_SOURCE #define pow10f(x) bsd_pow10f(x) #define strndup(s, n) bsd_strndup(s, n) #define getline(l, n, s) bsd_getline(l, n, s) #define canonicalize_file_name(p) bsd_canonicalize_file_name(p) #endif /* _GNU_SOURCE */ #endif /* USE_BSD_COMPAT */ #endif /* BSD_COMPAT_H */ idjc-0.8.9/c/ogg_vorbis_dec.h0000644000175000017500000000205012113174301012716 00000000000000/* # ogg_vorbis_dec.h: vorbis decoder for oggdec.c # Copyright (C) 2008 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include #include "xlplayer.h" struct vorbisdec_vars { vorbis_info vi; vorbis_comment vc; vorbis_dsp_state v; vorbis_block vb; int resample; }; int ogg_vorbisdec_init(struct xlplayer *xlplayer); idjc-0.8.9/c/ogg_flac_dec.h0000644000175000017500000000213612113174301012324 00000000000000/* # ogg_flac_dec.h: flac decoder for oggdec.c # Copyright (C) 2008 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "../config.h" #ifdef HAVE_OGGFLAC #include #include "xlplayer.h" struct oggflacdec_vars { FLAC__StreamDecoder *dec; int resample; int suppress_audio_output; float *flbuf; }; int ogg_flacdec_init(struct xlplayer *xlplayer); #endif /* HAVE_OGGFLAC */ idjc-0.8.9/c/kvpparse.c0000644000175000017500000000414212113174301011575 00000000000000/* # kvpparse.c: the mixer and server command parsing mechanism used by IDJC. # Copyright (C) 2005-2012 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "gnusource.h" #include #include #include #include "kvpparse.h" #include "bsdcompat.h" static char *buffer; static void kvp_cleanup() { if (buffer) free(buffer); } int kvp_parse(struct kvpdict *kvpdict, FILE *fp) { static size_t n = 5000; char *value; ssize_t rv; if (!buffer) { if (!(buffer = malloc(n))) { fprintf(stderr, "malloc failure\n"); exit(5); } atexit(kvp_cleanup); } while (rv = getline(&buffer, &n, fp), rv > 0 && strcmp(buffer, "end\n")) { /* the following function is fed a key value pair e.g. key=value */ value = kvp_extract_value(buffer); /* key is truncated at the = */ /* value = a pointer to a copy of the value part after the '=' allocated on the heap */ if(!(kvp_apply_to_dict(kvpdict, buffer, value))) fprintf(stderr, "kvp_parse: %s=%s, key missing from dictionary\n", buffer, value); /* assuming the error message wasn't printed the associated pointer in the dictionary will have been updated */ } if (!buffer) fprintf(stderr, "getline failed to allocate a buffer in function kvp_parse\n"); return rv > 0; } idjc-0.8.9/c/oggdec.c0000644000175000017500000013156412115125037011207 00000000000000/* # oggdec.c: ogg file parser for xlplayer # Copyright (C) 2008-2013 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "../config.h" #include #include #include #include #include "xlplayer.h" #include "oggdec.h" #include "ogg_vorbis_dec.h" #include "ogg_opus_dec.h" #include "ogg_flac_dec.h" #include "ogg_speex_dec.h" #include "vorbistagparse.h" #define ACCEPTED 1 #define REJECTED 0 int oggdec_get_next_packet(struct oggdec_vars *self) { char *buffer; size_t bytes; int retval; while ((retval = ogg_stream_packetout(&self->os, &self->op)) == 0) { while (ogg_sync_pageout(&self->oy, &self->og) != 1) { buffer = ogg_sync_buffer(&self->oy, 8192); bytes = fread(buffer, 1, 8192, self->fp); ogg_sync_wrote(&self->oy, bytes); if (bytes == 0) { fprintf(stderr, "oggdec_get_next_packet: the end of the file appears to have been reached, unexpectedly\n"); return 0; } } if (ogg_stream_pagein(&self->os, &self->og)) { fprintf(stderr, "oggdec_get_next_packet: call to ogg_stream_pagein failed, most likely this stream is either multiplexed or improperly terminated\n"); return 0; } else if ((self->new_oggpage_callback)) self->new_oggpage_callback(self, self->new_oggpage_cb_userdata); } if (retval == -1) { fprintf(stderr, "get_next_packet: hole in data detected - possibly not serious\n"); } return 1; } static unsigned vorbis_get_samplerate(struct oggdec_vars *self) /* attempt to get ARTIST=, TITLE= also */ { vorbis_info vi; vorbis_comment vc; unsigned samplerate; vorbis_info_init(&vi); vorbis_comment_init(&vc); void obtain_tag_info(char *name, char **target, int multiple) { int tags = vorbis_comment_query_count(&vc, name); int size, i; if (tags == 0) { *target = strdup(""); return; } if (tags == 1) { *target = strdup(vorbis_comment_query(&vc, name, 0)); return; } if (multiple) { /* calculate the space needed */ size = tags; for (i = 0; i < tags; i++) size += strlen(vorbis_comment_query(&vc, name, i)); if (!(*target = malloc(size))) { *target = strdup(""); fprintf(stderr, "vorbis_get_samplerate: malloc failure\n"); return; } *target[0] = '\0'; /* collect a slash separated list of tags */ for (i = 0; i < tags; i++) { strcat(*target, vorbis_comment_query(&vc, name, i)); if (i < tags - 1) strcat(*target, "/"); } } else { /* grab the last comment when only a single will do */ *target = strdup(vorbis_comment_query(&vc, name, tags - 1)); } } /* enforce that first header yields the sample rate, that granule pos for the header is zero and */ /* that the third and final header finishes on a page boundary */ if (oggdec_get_next_packet(self) && vorbis_synthesis_headerin(&vi, &vc, &self->op) >= 0 && vi.rate && oggdec_get_next_packet(self) && vorbis_synthesis_headerin(&vi, &vc, &self->op) >= 0 && oggdec_get_next_packet(self) && vorbis_synthesis_headerin(&vi, &vc, &self->op) >= 0 && self->op.granulepos == 0 && ogg_stream_packetout(&self->os, &self->op) == 0 && oggdec_get_next_packet(self) && ogg_page_continued(&self->og) == 0) { samplerate = self->samplerate[self->ix] = vi.rate; self->channels[self->ix] = vi.channels; if (vorbis_comment_query_count(&vc, "trk-title")) { obtain_tag_info("trk-artist", &self->artist[self->ix], TRUE); obtain_tag_info("trk-title", &self->title[self->ix], TRUE); obtain_tag_info("trk-album", &self->album[self->ix], TRUE); } else { obtain_tag_info("artist", &self->artist[self->ix], TRUE); obtain_tag_info("title", &self->title[self->ix], TRUE); obtain_tag_info("album", &self->album[self->ix], TRUE); } obtain_tag_info("replaygain_track_gain", &self->replaygain[self->ix], FALSE); } else { fprintf(stderr, "vorbis_get_samplerate: non standard ogg/vorbis header found\n"); samplerate = 0; self->channels[self->ix] = 0; } vorbis_comment_clear(&vc); vorbis_info_clear(&vi); return samplerate; } #ifdef HAVE_OGGFLAC FLAC__StreamDecoderReadStatus oggflac_read_callback(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t *bytes, void *client_data) { struct oggdec_vars *self = client_data; off_t bytes_remaining; if (self->ix == self->n_streams - 1) bytes_remaining = self->eos_offset - ftello(self->fp); else bytes_remaining = self->bos_offset[self->ix + 1] - ftello(self->fp); if (bytes_remaining < 0 || *bytes <= 0) return FLAC__STREAM_DECODER_READ_STATUS_ABORT; if (*bytes > (size_t)bytes_remaining) *bytes = bytes_remaining; *bytes = fread(buffer, sizeof (FLAC__byte), *bytes, self->fp); if (ferror(self->fp)) return FLAC__STREAM_DECODER_READ_STATUS_ABORT; if (*bytes == 0) return FLAC__STREAM_DECODER_READ_STATUS_END_OF_STREAM; return FLAC__STREAM_DECODER_READ_STATUS_CONTINUE; } FLAC__StreamDecoderSeekStatus oggflac_seek_callback(const FLAC__StreamDecoder *decoder, FLAC__uint64 absolute_byte_offset, void *client_data) { struct oggdec_vars *self = client_data; off_t start_bound, end_bound; start_bound = self->bos_offset[self->ix]; if (self->ix == self->n_streams - 1) end_bound = self->eos_offset - start_bound; else end_bound = self->bos_offset[self->ix + 1] - start_bound; if (absolute_byte_offset > (FLAC__uint64)(end_bound - start_bound)) { fprintf(stderr, "oggflac_seek_callback: seek error1\n"); return FLAC__STREAM_DECODER_SEEK_STATUS_ERROR; } if (fseeko(self->fp, start_bound + (off_t)absolute_byte_offset, SEEK_SET) < 0) { fprintf(stderr, "oggflac_seek_callback: seek error2\n"); return FLAC__STREAM_DECODER_SEEK_STATUS_ERROR; } return FLAC__STREAM_DECODER_SEEK_STATUS_OK; } FLAC__StreamDecoderTellStatus oggflac_tell_callback(const FLAC__StreamDecoder *decoder, FLAC__uint64 *absolute_byte_offset, void *client_data) { struct oggdec_vars *self = client_data; off_t where; where = ftello(self->fp); if (where < self->bos_offset[self->ix]) return FLAC__STREAM_DECODER_TELL_STATUS_ERROR; if (self->ix != self->n_streams - 1) { if (where > self->bos_offset[self->ix + 1]) return FLAC__STREAM_DECODER_TELL_STATUS_ERROR; } else { if (where > self->eos_offset) return FLAC__STREAM_DECODER_TELL_STATUS_ERROR; } *absolute_byte_offset = (FLAC__uint64)(where - self->bos_offset[self->ix]); return FLAC__STREAM_DECODER_TELL_STATUS_OK; } FLAC__StreamDecoderLengthStatus oggflac_length_callback(const FLAC__StreamDecoder *decoder, FLAC__uint64 *stream_length, void *client_data) { struct oggdec_vars *self = client_data; if (self->ix == self->n_streams - 1) *stream_length = self->eos_offset - self->bos_offset[self->ix]; else *stream_length = self->bos_offset[self->ix + 1] - self->bos_offset[self->ix]; return FLAC__STREAM_DECODER_LENGTH_STATUS_OK; } FLAC__bool oggflac_eof_callback(const FLAC__StreamDecoder *decoder, void *client_data) { struct oggdec_vars *self = client_data; off_t offset; offset = ftello(self->fp) + self->bos_offset[self->ix]; if (self->ix == self->n_streams - 1) return offset >= self->eos_offset; else return offset >= self->bos_offset[self->ix + 1]; } static void oggflac_metadata_callback(const FLAC__StreamDecoder *decoder, const FLAC__StreamMetadata *metadata, void *client_data) { struct oggdec_vars *self = client_data; const FLAC__StreamMetadata_StreamInfo *si; const FLAC__StreamMetadata_VorbisComment *vc; int use_alt_tags; int match(char *t, char *comment) { return !strncasecmp(t, comment, strlen(t)); } char *end(char *t) { while (*t++ != '='); while (isspace(*t) && t != '\0') t++; return t; } void copy_tag(char *t, char **target, int multiple) { char *old, *new; for (unsigned j = 0; j < vc->num_comments; j++) { if (match(t, (char *)vc->comments[j].entry)) { old = strdup(*target); new = end((char *)vc->comments[j].entry); *target = realloc(*target, strlen(old) + strlen(new) + 2); if (old[0] && multiple) sprintf(*target, "%s/%s", old, new); else strcpy(*target, new); free(old); } } if (*target == NULL) *target = strdup(""); } if (metadata->type == FLAC__METADATA_TYPE_STREAMINFO) { fprintf(stderr, "oggflac_metadata_callback: got streaminfo metadata block\n"); si = &metadata->data.stream_info; fprintf(stderr, "Sample rate in comment block is %u\n", si->sample_rate); fprintf(stderr, "Number of channels in comment block is %u\n", si->channels); self->samplerate[self->ix] = si->sample_rate; self->channels[self->ix] = si->channels; } else if (metadata->type == FLAC__METADATA_TYPE_VORBIS_COMMENT) { fprintf(stderr, "oggflac_metadata_callback: got vorbis comment metadata block\n"); vc = &metadata->data.vorbis_comment; fprintf(stderr, "There are %u comment tags\n", (unsigned)vc->num_comments); use_alt_tags = FALSE; for (unsigned i = 0; i < vc->num_comments; i++) { if (match("trk-title", (char *)vc->comments[i].entry)) use_alt_tags = TRUE; fprintf(stderr, "%s\n", vc->comments[i].entry); } if (use_alt_tags) { copy_tag("trk-artist=", &self->artist[self->ix], TRUE); copy_tag("trk-title=", &self->title[self->ix], TRUE); copy_tag("trk-album=", &self->album[self->ix], TRUE); } else { copy_tag("artist=", &self->artist[self->ix], TRUE); copy_tag("title=", &self->title[self->ix], TRUE); copy_tag("album=", &self->album[self->ix], TRUE); } copy_tag("replaygain_track_gain=", &self->replaygain[self->ix], FALSE); } else fprintf(stderr, "oggflac_metadata_callback: unhandled FLAC metadata type\n"); fprintf(stderr, "oggflac_metadata_callback: finished\n"); } static FLAC__StreamDecoderWriteStatus oggflac_write_callback(const FLAC__StreamDecoder *decoder, const FLAC__Frame *frame, const FLAC__int32 *const buffer[], void *client_data) { return FLAC__STREAM_DECODER_WRITE_STATUS_CONTINUE; } void oggflac_error_callback(const FLAC__StreamDecoder *decoder, FLAC__StreamDecoderErrorStatus se, void *client_data) { switch (se) { case FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC: fprintf(stderr, "oggflac_error_callback: flac decoder error, lost sync\n"); break; case FLAC__STREAM_DECODER_ERROR_STATUS_BAD_HEADER: fprintf(stderr, "oggflac_error_callback: flac decoder error, bad header\n"); break; case FLAC__STREAM_DECODER_ERROR_STATUS_FRAME_CRC_MISMATCH: fprintf(stderr, "oggflac_error_callback: flac decoder error, frame crc mismatch\n"); break; default: fprintf(stderr, "oggflac_error_callback: flac decoder error, unknown error\n"); } } static int flac_get_samplerate(struct oggdec_vars *self) { FLAC__StreamDecoder *decoder; if (!(decoder = FLAC__stream_decoder_new())) { fprintf(stderr, "flac_get_samplerate: call to FLAC__stream_decoder_new failed\n"); return 0; } FLAC__stream_decoder_set_metadata_respond(decoder, FLAC__METADATA_TYPE_VORBIS_COMMENT); if (FLAC__stream_decoder_init_ogg_stream(decoder, oggflac_read_callback, oggflac_seek_callback, oggflac_tell_callback, oggflac_length_callback, oggflac_eof_callback, oggflac_write_callback, oggflac_metadata_callback, oggflac_error_callback, self) != FLAC__STREAM_DECODER_INIT_STATUS_OK) { fprintf(stderr, "flac_get_samplerate: call to FLAC__stream_decoder_init_stream failed\n"); FLAC__stream_decoder_delete(decoder); return 0; } FLAC__stream_decoder_process_until_end_of_metadata(decoder); FLAC__stream_decoder_delete(decoder); return self->samplerate[self->ix]; } #endif /* HAVE_OGGFLAC */ #ifdef HAVE_SPEEX static int speex_get_samplerate(struct oggdec_vars *self) { SpeexHeader *h; /* enforce that the speex header packet be in it's own ogg page */ if (oggdec_get_next_packet(self) && ogg_stream_packetout(&self->os, &self->op) == 0 && (h = speex_packet_to_header((char *)self->op.packet, self->op.bytes))) { switch (self->channels[self->ix] = h->nb_channels) { case 1: case 2: self->samplerate[self->ix] = h->rate; speex_header_free(h); if (oggdec_get_next_packet(self) && ogg_stream_packetout(&self->os, &self->op) == 0) { struct vtag *tag; int error; if ((tag = vtag_parse((char *)self->op.packet, self->op.bytes, &error))) { if (!(self->artist[self->ix] = vtag_lookup(tag, "trk-author", VLM_MERGE, "/"))) if (!(self->artist[self->ix] = vtag_lookup(tag, "trk-artist", VLM_MERGE, "/"))) if (!(self->artist[self->ix] = vtag_lookup(tag, "author", VLM_MERGE, "/"))) if (!(self->artist[self->ix] = vtag_lookup(tag, "artist", VLM_MERGE, "/"))) self->artist[self->ix] = strdup(""); if (!(self->title[self->ix] = vtag_lookup(tag, "trk-title", VLM_MERGE, "/"))) if (!(self->title[self->ix] = vtag_lookup(tag, "title", VLM_MERGE, "/"))) self->title[self->ix] = strdup(""); if (!(self->album[self->ix] = vtag_lookup(tag, "trk-album", VLM_MERGE, "/"))) if (!(self->album[self->ix] = vtag_lookup(tag, "album", VLM_MERGE, "/"))) self->album[self->ix] = strdup(""); vtag_cleanup(tag); } else { fprintf(stderr, "%s\n", vtag_strerror(error)); return 0; } } else return 0; return self->samplerate[self->ix]; default: speex_header_free(h); fprintf(stderr, "speex_get_samplerate: header indicates an unsupported number of audio channels\n"); return 0; } } else { fprintf(stderr, "speex_get_samplerate: failed to get speex header\n"); return 0; } } #endif /* HAVE_SPEEX */ #ifdef HAVE_OPUS static int opus_get_samplerate(struct oggdec_vars *self) { int channels, chanmap, streamcount, streamcount_2c, frames, samples, packetsamples; unsigned initial_granulepos, final_granulepos; uint16_t preskip; char const *reason; #define FAIL(x) do {reason = x; goto fail_point;} while(0) #define WARN(x) do {fprintf(stderr, "opus_get_samplerate: warning: %s\n", x);} while (0) if ((final_granulepos = self->final_granulepos[self->ix]) == 0) FAIL("stream final packet granule count is zero"); if (oggdec_get_next_packet(self) && ogg_stream_packetout(&self->os, &self->op) == 0) { if (ogg_page_granulepos(&self->og) != 0) FAIL("non zero granule position"); if (ogg_page_packets(&self->og) != 1 || ogg_page_continued(&self->og) || ogg_page_pageno(&self->og) != 0) FAIL("bad header page alignment"); if (self->op.bytes < 19) FAIL("packet too small to be version 1"); if (self->op.packet[8] > 15) FAIL("encapsulation version unsupported"); if ((channels = ((unsigned char *)self->op.packet)[9]) == 0) FAIL("number of channels is zero"); self->channels[self->ix] = (channels == 1) ? 1 : 2; chanmap = ((unsigned char *)self->op.packet)[18]; if (chanmap > 1) FAIL("unsupported channel map"); if ((chanmap == 0 && channels > 2) || (chanmap == 1 && channels > 8)) FAIL("too many channels for given channel mapping"); if (chanmap == 0 && self->op.bytes != 19) FAIL("OpusHead packet size wrong"); if (chanmap == 1) { if (self->op.bytes != 21 + channels) FAIL("OpusHead packet size wrong"); streamcount = ((unsigned char *)self->op.packet)[19]; streamcount_2c = ((unsigned char *)self->op.packet)[20]; if (streamcount == 0) FAIL("streamcount is zero"); if (streamcount_2c > streamcount) FAIL("two channel streamcount > total streamcount"); if (streamcount_2c + streamcount > 255) FAIL("combined streamcount quantity exceeds 255"); unsigned char *cm = self->op.packet + 21; int index; for (int i = 0; i < channels; ++i) { index = *cm++; if (index != 255 && index >= streamcount + streamcount_2c) FAIL("bad channel map"); } } preskip = self->op.packet[10] | (uint16_t)((unsigned char *)self->op.packet)[11] << 8; if (preskip >= final_granulepos) FAIL("no samples to decode after preskip"); if (oggdec_get_next_packet(self) && ogg_stream_packetout(&self->os, &self->op) == 0) { if (ogg_page_packets(&self->og) != 1 || ogg_page_continued(&self->og) || ogg_page_pageno(&self->og) < 1) FAIL("bad header page alignment"); if (ogg_page_granulepos(&self->og) != 0) FAIL("non zero granule position"); if (self->op.bytes >= 8 && !memcmp(self->op.packet, "OpusTags", 8)) { struct vtag *tag; int error; if ((tag = vtag_parse((char *)self->op.packet + 8, self->op.bytes - 8, &error))) { if (!(self->artist[self->ix] = vtag_lookup(tag, "trk-author", VLM_MERGE, "/"))) if (!(self->artist[self->ix] = vtag_lookup(tag, "trk-artist", VLM_MERGE, "/"))) if (!(self->artist[self->ix] = vtag_lookup(tag, "author", VLM_MERGE, "/"))) if (!(self->artist[self->ix] = vtag_lookup(tag, "artist", VLM_MERGE, "/"))) self->artist[self->ix] = strdup(""); if (!(self->title[self->ix] = vtag_lookup(tag, "trk-title", VLM_MERGE, "/"))) if (!(self->title[self->ix] = vtag_lookup(tag, "title", VLM_MERGE, "/"))) self->title[self->ix] = strdup(""); if (!(self->album[self->ix] = vtag_lookup(tag, "trk-album", VLM_MERGE, "/"))) if (!(self->album[self->ix] = vtag_lookup(tag, "album", VLM_MERGE, "/"))) self->album[self->ix] = strdup(""); if (!(self->artist || self->title || self->album)) FAIL("malloc failure"); int track_gain_tags = vtag_comment_count(tag, "R128_TRACK_GAIN"); char *track_gain_text = vtag_lookup(tag, "R128_TRACK_GAIN", VLM_FIRST, NULL); vtag_cleanup(tag); switch (track_gain_tags) { case 0: break; case 1: if (!track_gain_text) FAIL("vtag lookup failure"); if (isspace(track_gain_text[0])) FAIL("R128_TRACK_GAIN contains whitespace at start"); char *endp; long value = strtol(track_gain_text, &endp, 10); int endchar = *endp; free(track_gain_text); if (endchar) FAIL("R128_TRACK_GAIN contains non digit data"); if (endp - track_gain_text > 6 || value < -32768 || value > 32767) FAIL("R128_TRACK_GAIN value out of range"); break; default: free(track_gain_text); FAIL("too many R128_TRACK_GAIN tags"); } } else FAIL(vtag_strerror(error)); } else FAIL("bad or missing OpusTags packet"); } else FAIL("failed to get OpusTags packet"); if (oggdec_get_next_packet(self)) { if ((frames = opus_packet_get_nb_frames(self->op.packet, self->op.bytes)) < 1) FAIL("first packet has no frames"); samples = packetsamples = opus_packet_get_samples_per_frame(self->op.packet, 48000) * frames; while (self->op.granulepos == -1) { oggdec_get_next_packet(self); if ((frames = opus_packet_get_nb_frames(self->op.packet, self->op.bytes)) < 1) FAIL("packet with no frames detected"); samples += opus_packet_get_samples_per_frame(self->op.packet, 48000) * frames; } if (self->op.e_o_s) { if (samples - self->op.granulepos > packetsamples) WARN("end trimming > size of one packet"); } else { if (self->op.granulepos < samples) FAIL("first page granule position less than number of samples, end of stream not set"); if ((initial_granulepos = self->initial_granulepos[self->ix] = self->op.granulepos - samples)) { if (preskip >= final_granulepos - initial_granulepos) FAIL("no samples to decode after accounting for initial granulepos"); if (initial_granulepos % samples) WARN("can't assign initial granulepos to a specific page"); else { unsigned int pages_missing = initial_granulepos / samples; if (ogg_page_pageno(&self->og) - pages_missing != 2) WARN("opus_get_samplerate: ogg page numbering granulepos mismatch"); else fprintf(stderr, "there are %u ogg pages missing -- this is normal for a captured stream\n", pages_missing); } if (samples - (final_granulepos - initial_granulepos) % samples > packetsamples) WARN("end trimming > size of one packet"); } } } else FAIL("failed to get first data packet"); } else FAIL("failed to get OpusHead packet"); return self->samplerate[self->ix] = 48000; /* Opus always uses this rate */ #undef FAIL #undef WARN fail_point: fprintf(stderr, "opus_get_samplerate: opus header sanity check failed: %s\n", reason); return 0; } #endif /* HAVE_OPUS */ /* oggscan_eos: perform a binary search on the ogg file for the e_o_s page * and log details of the current logical stream when it is found */ static off_t oggscan_eos(struct oggdec_vars *self, off_t offset, off_t offset_end, int serial, int depth) { char *buffer; size_t bytes; off_t retval; off_t midpoint = (offset_end - offset) / 2 + offset; off_t stored_mid = midpoint; int eos = FALSE, terminate = FALSE; if (++depth >= 40) { fprintf(stderr, "maximum recursion depth %d reached on oggscan_eos\n", depth); return -1; } fseeko(self->fp, midpoint, SEEK_SET); ogg_sync_reset(&self->oy); while ((retval = ogg_sync_pageseek(&self->oy, &self->og)) <= 0) { if (retval < 0) { midpoint -= retval; if (midpoint >= offset_end) return oggscan_eos(self, offset, stored_mid, serial, depth); } else { buffer = ogg_sync_buffer(&self->oy, 8192); bytes = fread(buffer, 1, 8192, self->fp); ogg_sync_wrote(&self->oy, bytes); if (bytes == 0) { if (offset_end > midpoint) return oggscan_eos(self, offset, midpoint, serial, depth); fprintf(stderr, "oggscan_eos: unexpected file io error, the file is probably truncated\n"); terminate = TRUE; midpoint = offset_end; retval = 0; break; } } } if (terminate || ogg_page_serialno(&self->og) == serial) { if (terminate || (eos = ogg_page_eos(&self->og)) || offset + 1 >= offset_end) { /* we have found the last packet in the logical stream */ /* make space for data about this logical stream */ self->n_streams++; self->bos_offset = realloc(self->bos_offset, self->n_streams * sizeof (off_t)); self->initial_granulepos = realloc(self->initial_granulepos, self->n_streams * sizeof (unsigned)); self->final_granulepos = realloc(self->final_granulepos, self->n_streams * sizeof (unsigned)); self->samplerate = realloc(self->samplerate, self->n_streams * sizeof (int)); self->channels = realloc(self->channels, self->n_streams * sizeof (int)); self->serial = realloc(self->serial, self->n_streams * sizeof (int)); self->artist = realloc(self->artist, self->n_streams * sizeof (char *)); self->artist[self->n_streams - 1] = strdup(""); self->title = realloc(self->title, self->n_streams * sizeof (char *)); self->title[self->n_streams - 1] = strdup(""); self->album = realloc(self->album, self->n_streams * sizeof (char *)); self->album[self->n_streams - 1] = strdup(""); self->replaygain = realloc(self->replaygain, self->n_streams * sizeof (char *)); self->replaygain[self->n_streams - 1] = strdup(""); self->streamtype = realloc(self->streamtype, self->n_streams * sizeof (enum streamtype_t)); self->start_time = realloc(self->start_time, self->n_streams * sizeof (double)); self->duration = realloc(self->duration, self->n_streams * sizeof (double)); if (!(self->bos_offset && self->initial_granulepos && self->final_granulepos && self->serial)) { fprintf(stderr, "oggscan_eos: malloc failure\n"); self->n_streams = 0; return -1; } self->initial_granulepos[self->n_streams - 1] = 0; self->final_granulepos[self->n_streams - 1] = ogg_page_granulepos(&self->og); self->serial[self->n_streams - 1] = serial; if (!eos) fprintf(stderr, "oggscan_eos: an unterminated stream was detected\n"); return midpoint + retval; } /* seek to the right next time */ return oggscan_eos(self, midpoint, offset_end, serial, depth); } else { if (midpoint >= offset_end) { fprintf(stderr, "oggscan_eos: warning, end of stream page appears to be missing for ogg serial %d\n", serial); return -1; } /* seek to the left next time */ return oggscan_eos(self, offset, midpoint, serial, depth); } } /* oggscan: linear search looking for beginnings of logical ogg bitstreams */ static off_t oggscan(struct oggdec_vars *self, off_t *offset, off_t offset_end) { char *buffer; size_t bytes; int serial; off_t retval; fseeko(self->fp, *offset, SEEK_SET); ogg_sync_reset(&self->oy); while ((retval = ogg_sync_pageseek(&self->oy, &self->og)) <= 0 || ogg_page_bos(&self->og) == 0) { if (retval < 0) *offset -= retval; else if (retval == 0) { buffer = ogg_sync_buffer(&self->oy, 8192); bytes = fread(buffer, 1, 8192, self->fp); ogg_sync_wrote(&self->oy, bytes); if (bytes == 0) return -1; /* was offset_end */ } else *offset += retval; } serial = ogg_page_serialno(&self->og); return oggscan_eos(self, *offset, offset_end, serial, 0); } static struct oggdec_vars *oggdecode_get_metadata(char *pathname) { struct oggdec_vars *self; long id3size = 0; off_t offset = 0, offset_end, offset_new; size_t bytes; char *buffer; int i; unsigned samplerate = 0; double start_time = 0.0; /* allocate storage space */ if (!(self = calloc(1, sizeof (struct oggdec_vars)))) { fprintf(stderr, "oggdecode_reg: malloc failure\n"); return NULL; } self->magic = 4747; /* open the media file */ if (!(self->fp = fopen(pathname, "r"))) { fprintf(stderr, "oggdecode_reg: unable to open media file %s\n", pathname); free(self); return NULL; } /* jump past the ID3 version 2 tag if one is found */ if (fgetc(self->fp) == 'I' && fgetc(self->fp) == 'D' && fgetc(self->fp) == '3' && fgetc(self->fp) != '\xFF' && fgetc(self->fp) != '\xFF') { fprintf(stderr, "ID3 tag detected\n"); fgetc(self->fp); id3size = fgetc(self->fp); id3size <<= 7; id3size |= fgetc(self->fp); id3size <<= 7; id3size |= fgetc(self->fp); id3size <<= 7; id3size |= fgetc(self->fp); offset += id3size; } if (ogg_sync_init(&self->oy)) { fprintf(stderr, "oggdecode_reg: call to ogg_sync_init_failed\n"); fclose(self->fp); free(self); return NULL; } if (ogg_stream_init(&self->os, 0)) { fprintf(stderr, "oggdecode_reg: call to ogg_stream_init failed\n"); ogg_sync_clear(&self->oy); fclose(self->fp); free(self); return NULL; } fseek(self->fp, 0, SEEK_END); offset_end = self->eos_offset = ftello(self->fp); while (offset < offset_end) { offset_new = oggscan(self, &offset, offset_end); if (offset_new == -1) break; self->bos_offset[self->n_streams -1] = offset; offset = offset_new; } for (self->ix = i = 0; i < self->n_streams; i++, self->ix++) { ogg_stream_reset_serialno(&self->os, self->serial[i]); fseeko(self->fp, self->bos_offset[i], SEEK_SET); ogg_sync_reset(&self->oy); while (ogg_sync_pageout(&self->oy, &self->og) != 1) { buffer = ogg_sync_buffer(&self->oy, 8192); bytes = fread(buffer, 1, 8192, self->fp); ogg_sync_wrote(&self->oy, bytes); } ogg_stream_pagein(&self->os, &self->og); ogg_stream_packetpeek(&self->os, &self->op); do { if (self->op.bytes >= 7 && !memcmp(self->op.packet, "\x01vorbis", 7)) { self->streamtype[i] = ST_VORBIS; samplerate = vorbis_get_samplerate(self); break; } #ifdef HAVE_OGGFLAC if (self->op.bytes >= 5 && !memcmp(self->op.packet, "\x7F""FLAC", 5)) { self->streamtype[i] = ST_FLAC; fseeko(self->fp, self->bos_offset[i], SEEK_SET); samplerate = flac_get_samplerate(self); break; } #endif /* HAVE_OGGFLAC */ #ifdef HAVE_SPEEX if (self->op.bytes >= 5 && !memcmp(self->op.packet, "Speex", 5)) { self->streamtype[i] = ST_SPEEX; samplerate = speex_get_samplerate(self); break; } #endif /* HAVE_SPEEX */ #ifdef HAVE_OPUS if (self->op.bytes >= 8 && !memcmp(self->op.packet, "OpusHead", 8)) { self->streamtype[i] = ST_OPUS; samplerate = opus_get_samplerate(self); break; } #endif /* HAVE_OPUS */ self->streamtype[i] = ST_UNHANDLED; fprintf(stderr, "??? unhandled ogg stream type ???\n"); } while (0); self->start_time[i] = start_time; if (samplerate == 0) { self->streamtype[i] = ST_UNHANDLED; self->duration[i] = 0; } else { start_time += self->duration[i] = (self->final_granulepos[i] - self->initial_granulepos[i]) / (double)samplerate; self->total_duration += self->duration[i]; } #if 0 fprintf(stderr, "#####################\n" "beginning offset %d\n" "initial_granulepos %d\n" "final_granulepos %d\n" "serial number %d\n" "artist %s\n" "title %s\n" "album %s\n" "samplerate %d\n" "channels %d\n" "start time (s) %lf\n" "duration (s) %lf\n", (int)self->bos_offset[i], self->initial_granulepos[i], self->final_granulepos[i], self->serial[i], self->artist[i], self->title[i], self->album[i], samplerate, self->channels[i], self->start_time[i], self->duration[i]); #endif } fprintf(stderr, "total_duration %lf\n", self->total_duration); return self; } static void oggdecode_free_metadata(struct oggdec_vars *self) { int i; ogg_stream_clear(&self->os); ogg_sync_clear(&self->oy); fclose(self->fp); if (self->n_streams) { for (i = 0; i < self->n_streams; i++) { if (self->artist[i]) free(self->artist[i]); if (self->title[i]) free(self->title[i]); if (self->album[i]) free(self->album[i]); } free(self->bos_offset); free(self->initial_granulepos); free(self->final_granulepos); free(self->serial); free(self->artist); free(self->title); free(self->album); free(self->streamtype); free(self->start_time); free(self->duration); } free(self); } void oggdecode_seek_to_packet(struct oggdec_vars *self) { off_t start, end, mid; long retval; int target; ogg_int64_t granulepos = 0; char *buffer; size_t bytes; start = self->bos_offset[self->ix]; if (self->ix == self->n_streams - 1) end = self->eos_offset; else end = self->bos_offset[self->ix + 1]; target = self->seek_s * self->samplerate[self->ix]; while (start + 1 < end) { mid = (end - start) / 2 + start; fseeko(self->fp, mid, SEEK_SET); ogg_sync_reset(&self->oy); for (;;) { while ((retval = ogg_sync_pageseek(&self->oy, &self->og)) <= 0) { if (retval < 0) { if (mid > end) { fprintf(stderr, "ogg_vorbisdec_seek: mid > end ???\n"); return; } } else { buffer = ogg_sync_buffer(&self->oy, 8192); bytes = fread(buffer, 1, 8192, self->fp); ogg_sync_wrote(&self->oy, bytes); if (bytes == 0) { fprintf(stderr, "ogg_vorbisdec_seek: unexpected file io error\n"); return; } } } if ((granulepos = ogg_page_granulepos(&self->og) - self->initial_granulepos[self->ix]) >= 0) break; } if (granulepos < target) start = mid + retval; else end = mid; } ogg_stream_reset(&self->os); } void oggdecode_dynamic_dispatcher(struct xlplayer *xlplayer) { struct oggdec_vars *s = xlplayer->dec_data; int success = 0, delay; while (s->ix < s->n_streams) { /* skip over empty (read unplayable) streams */ while (s->duration[s->ix] == 0.0) if (++(s->ix) >= s->n_streams) goto bugout; /* choose our decoder */ switch (s->streamtype[s->ix]) { case ST_VORBIS: success = ogg_vorbisdec_init(xlplayer); break; case ST_FLAC: #ifdef HAVE_OGGFLAC success = ogg_flacdec_init(xlplayer); #endif break; case ST_SPEEX: #ifdef HAVE_SPEEX success = ogg_speexdec_init(xlplayer); #endif break; case ST_OPUS: #ifdef HAVE_OPUS success = ogg_opusdec_init(xlplayer); #endif break; case ST_UNHANDLED: default: break; } if (success) { if (xlplayer->usedelay) delay = xlplayer_calc_rbdelay(xlplayer); else delay = 0; if (s->artist[s->ix][0] || s->title[s->ix][0]) xlplayer_set_dynamic_metadata(xlplayer, DM_SPLIT_U8, s->artist[s->ix], s->title[s->ix], s->album[s->ix], delay); else { fprintf(stderr, "oggdecode_dynamic_dispatcher: insufficient metadata\n"); xlplayer_set_dynamic_metadata(xlplayer, DM_NOTAG, "", "", "", delay); } xlplayer->usedelay = TRUE; return; } else { xlplayer->play_progress_ms += 1000 * (int32_t)(s->duration[s->ix] - s->seek_s); s->seek_s = 0.0; s->ix++; } } bugout: xlplayer->playmode = PM_EJECTING; } static void oggdecode_eject(struct xlplayer *xlplayer) { struct oggdec_vars *self = xlplayer->dec_data; if (self->dec_cleanup) self->dec_cleanup(xlplayer); oggdecode_free_metadata(self); xlplayer->playmode = PM_STOPPED; } static void oggdecode_init(struct xlplayer *xlplayer) { struct oggdec_vars *self = xlplayer->dec_data; int i; /* calculate where we seek to */ for (i = 0; i < self->n_streams; i++) { if (self->start_time[i] <= xlplayer->seek_s && xlplayer->seek_s < self->start_time[i] + self->duration[i]) { /* note which stream to play first and the time offset within */ self->ix = i; self->seek_s = xlplayer->seek_s - self->start_time[i]; break; } if (i + 1 >= self->n_streams) xlplayer->playmode = PM_EJECTING; } } void oggdecode_set_new_oggpage_callback(struct oggdec_vars *self, void (*cb)(struct oggdec_vars *, void *), void *user_data) { self->new_oggpage_callback = cb; self->new_oggpage_cb_userdata = user_data; } void oggdecode_remove_new_oggpage_callback(struct oggdec_vars *self) { self->new_oggpage_callback = NULL; self->new_oggpage_cb_userdata = NULL; } void oggdecode_playnext(struct xlplayer *xlplayer) { struct oggdec_vars *od = xlplayer->dec_data; od->dec_cleanup(xlplayer); /* dispose of decoder */ /* proceed with decoding the next stream */ od->seek_s = 0.0; od->ix++; xlplayer->dec_play = oggdecode_dynamic_dispatcher; } int oggdecode_reg(struct xlplayer *xlplayer) { struct oggdec_vars *self; if (!(self = oggdecode_get_metadata(xlplayer->pathname))) return REJECTED; else { self->xlplayer = xlplayer; xlplayer->dec_data = self; xlplayer->dec_init = oggdecode_init; xlplayer->dec_play = oggdecode_dynamic_dispatcher; xlplayer->dec_eject = oggdecode_eject; return ACCEPTED; } } int oggdecode_get_metainfo(char *pathname, char **artist, char **title, char **album, double *length, char **replaygain) { struct oggdec_vars *self; int has_pbtime; if(!(self = oggdecode_get_metadata(pathname))) { fprintf(stderr, "call to oggdecode_get_metadata failed for %s\n", pathname); return REJECTED; } if ((has_pbtime = (*length = self->total_duration))) { if (self->n_streams > 1 && self->duration[0] > 0.1) { /* only read the initial tags of chained ogg streams when they * possess a metaheader */ *artist = realloc(*artist, 1); *title = realloc(*title, 1); *album = realloc(*album, 1); *replaygain = realloc(*replaygain, 1); *artist[0] = *title[0] = *album[0] = *replaygain[0] = '\0'; } else { if (self->artist[0]) { if (*artist) free(*artist); *artist = strdup(self->artist[0]); } else { *artist = realloc(*artist, 1); *artist[0] = '\0'; } if (self->title[0]) { if (*title) free(*title); *title = strdup(self->title[0]); } else { *title = realloc(*title, 1); *title[0] = '\0'; } if (self->album[0]) { if (*album) free(*album); *album = strdup(self->album[0]); } else { *album = realloc(*album, 1); *album[0] = '\0'; } if (self->replaygain[0]) { if (*replaygain) free(*replaygain); *replaygain = strdup(self->replaygain[0]); } else { *replaygain = realloc(*replaygain, 1); *replaygain[0] = '\0'; } } } oggdecode_free_metadata(self); return has_pbtime ? ACCEPTED : REJECTED; } idjc-0.8.9/c/live_mp2_encoder.h0000644000175000017500000000241012114637001013161 00000000000000/* # live_mp2_encoder.h: encode mp2 files from a live source # Copyright (C) 2012 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "../config.h" #ifdef HAVE_TWOLAME #include "twolame.h" #include "sourceclient.h" struct lm2e_data { twolame_options *gfp; TWOLAME_MPEG_version mpeg_version; TWOLAME_MPEG_mode mpeg_mode; char *metadata; int twolame_samples; unsigned char *mp2buf; size_t mp2bufsize; enum packet_flags packetflags; }; int live_mp2_encoder_init(struct encoder *encoder, struct encoder_vars *ev); #endif /* HAVE_TWOLAME */ idjc-0.8.9/c/avcodec_encoder.h0000644000175000017500000000245012113174301013052 00000000000000/* # avcodec_encoder.h: encode using libavcodec # Copyright (C) 2012 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "../config.h" #ifdef HAVE_AVCODEC #include #include "sourceclient.h" struct avenc_data { AVCodec *codec; AVCodecContext *c; AVPacket avpkt; AVFrame *decoded_frame; size_t inbufsize; uint8_t *inbuf; unsigned long samples_written; enum packet_flags pkt_flags; char *metadata; }; int live_avcodec_encoder_init(struct encoder *encoder, struct encoder_vars *ev); int live_avcodec_encoder_aac_functionality(); #endif /* HAVE_AVCODEC */ idjc-0.8.9/c/ogg_speex_dec.c0000644000175000017500000003063212113174301012540 00000000000000/* # ogg_speex_dec.c: speex decoder for oggdec.c # Copyright (C) 2008 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "../config.h" #ifdef HAVE_SPEEX #include #include #include #include "oggdec.h" #include "ogg_speex_dec.h" #define ACCEPTED 1 #define REJECTED 0 #define TRUE 1 #define FALSE 0 static void ogg_speexdec_cleanup(struct xlplayer *xlplayer) { struct oggdec_vars *od = xlplayer->dec_data; struct speexdec_vars *self = od->dec_data; fprintf(stderr, "ogg_speexdec_cleanup was called\n"); oggdecode_remove_new_oggpage_callback(od); src_delete(xlplayer->src_state); free(self->frame); free(xlplayer->src_data.data_out); speex_bits_destroy(&self->bits); speex_decoder_destroy(self->dec_state); free(self); /* prevent this being called again */ od->dec_cleanup = NULL; od->dec_data = NULL; } /* ogg_speexdec_new_oggpage: a callback routine from oggdec_get_next_packet */ static void ogg_speexdec_new_oggpage(struct oggdec_vars *od, void *user_data) { struct speexdec_vars *self = user_data; self->page_granule = ogg_page_granulepos(&od->og); if (self->last_granule == -1) self->last_granule = self->page_granule; self->page_nb_packets = ogg_page_packets(&od->og); if (self->page_granule > 0 && self->frame_size) { self->skip_samples = self->page_nb_packets * self->frame_size * self->nframes - (self->page_granule - self->last_granule); if (ogg_page_eos(&od->og)) self->skip_samples = -self->skip_samples; } else self->skip_samples = 0; self->last_granule = self->page_granule; self->packet_no = 0; } static void ogg_speexdec_play(struct xlplayer *xlplayer) { struct oggdec_vars *od = xlplayer->dec_data; struct speexdec_vars *self = od->dec_data; int src_error, i, frame_offset, new_frame_size, packet_length; if (oggdec_get_next_packet(od)) { self->packet_no++; speex_bits_read_from(&self->bits, (char *)od->op.packet, od->op.bytes); for (i = 0; i < self->nframes; i++) { switch (speex_decode(self->dec_state, &self->bits, self->frame)) { case 0: if (speex_bits_remaining(&self->bits) < 0) { fprintf(stderr, "ogg_speexdec_play: decoding overflow\n"); oggdecode_playnext(xlplayer); return; } if (self->stereo) speex_decode_stereo(self->frame, self->frame_size, &self->stereo_state); frame_offset = 0; new_frame_size = self->frame_size; if (self->packet_no == 1 && i == 0 && self->skip_samples > 0) { fprintf(stderr, "chopping first packet\n"); new_frame_size -= self->skip_samples + self->lookahead; frame_offset = self->skip_samples + self->lookahead; } if (self->packet_no == self->page_nb_packets && self->skip_samples < 0) { packet_length = self->nframes * self->frame_size + self->skip_samples + self->lookahead; new_frame_size = packet_length - i * self->frame_size; if (new_frame_size < 0) new_frame_size = 0; if (new_frame_size > self->frame_size) new_frame_size = self->frame_size; xlplayer->src_data.end_of_input = 1; fprintf(stderr, "chopping end: %d %d %d\n", new_frame_size, packet_length, self->packet_no); } if (new_frame_size > 0) { if (self->seek_dump_samples > 0) self->seek_dump_samples -= self->frame_size; else { xlplayer->src_data.data_in = self->frame + frame_offset * self->channels; xlplayer->src_data.input_frames = new_frame_size; if ((src_error = src_process(xlplayer->src_state, &xlplayer->src_data))) { fprintf(stderr, "ogg_speexdec_play: %s src_process reports - %s\n", xlplayer->playername, src_strerror(src_error)); oggdecode_playnext(xlplayer); return; } xlplayer_demux_channel_data(xlplayer, xlplayer->src_data.data_out, xlplayer->src_data.output_frames_gen, self->header->nb_channels, 3.051757813e-05); do { xlplayer_write_channel_data(xlplayer); } while (xlplayer->write_deferred && i + 1 < self->nframes); } } if (xlplayer->src_data.end_of_input) { oggdecode_playnext(xlplayer); return; } break; case -2: fprintf(stderr, "ogg_speexdec_play: stream corruption detected\n"); oggdecode_playnext(xlplayer); return; case -1: /* end of stream */ fprintf(stderr, "ogg_speexdec_play: end of stream detected\n"); oggdecode_playnext(xlplayer); return; default: fprintf(stderr, "ogg_speexdec_play: unhandled return code\n"); oggdecode_playnext(xlplayer); return; } } } else { fprintf(stderr, "no more packets available\n"); oggdecode_playnext(xlplayer); return; } } int ogg_speexdec_init(struct xlplayer *xlplayer) { struct oggdec_vars *od = xlplayer->dec_data; struct speexdec_vars *self; SpeexMode const *mode; int src_error, i, s_granule, e_granule, p_granule, t_granule; SpeexCallback callback; fprintf(stderr, "ogg_speexdec_init was called\n"); if (!(self = calloc(1, sizeof (struct speexdec_vars)))) { fprintf(stderr, "ogg_speexdec_init: malloc failure\n"); goto cleanup3; } ogg_stream_reset_serialno(&od->os, od->serial[od->ix]); fseeko(od->fp, od->bos_offset[od->ix], SEEK_SET); ogg_sync_reset(&od->oy); if (!(oggdec_get_next_packet(od) && ogg_stream_packetout(&od->os, &od->op) == 0 && (self->header = speex_packet_to_header((char *)od->op.packet, od->op.bytes)))) { fprintf(stderr, "ogg_speexdec_init: failed to get speex header\n"); goto cleanup2; } mode = speex_lib_get_mode(self->header->mode); if (self->header->speex_version_id > 1) { fprintf (stderr, "This file was encoded with Speex bit-stream version %d, which I don't know how to decode\n", self->header->speex_version_id); goto cleanup1; } if (mode->bitstream_version < self->header->mode_bitstream_version) { fprintf (stderr, "The file was encoded with a newer version of Speex. You need to upgrade in order to play it.\n"); goto cleanup1; } if (mode->bitstream_version > self->header->mode_bitstream_version) { fprintf (stderr, "The file was encoded with an older version of Speex. You would need to downgrade the version in order to play it.\n"); goto cleanup1; } for (i = 0; i < self->header->extra_headers + 1; i++) { oggdec_get_next_packet(od); if (i != 0) fprintf(stderr, "extra header dumped\n"); } if (!(self->dec_state = speex_decoder_init(mode))) { fprintf(stderr, "ogg_speexdec_init: failed to initialise speex decoder\n"); goto cleanup1; } if (speex_decoder_ctl(self->dec_state, SPEEX_GET_FRAME_SIZE, &self->frame_size)) { fprintf(stderr, "ogg_speexdec_init: unable to obtain frame size\n"); goto cleanup0; } else fprintf(stderr, "frame size is %d samples\n", self->frame_size); speex_decoder_ctl(self->dec_state, SPEEX_GET_LOOKAHEAD, &self->lookahead); if ((self->nframes = self->header->frames_per_packet) < 1) { fprintf(stderr, "ogg_speexdec_init: header frames_per_packet must be greater than zero\n"); goto cleanup0; } if (!(self->frame = malloc(self->frame_size * self->header->nb_channels * sizeof (float)))) { fprintf(stderr, "ogg_speexdec_init: malloc failure\n"); goto cleanup0; } if ((self->channels = self->header->nb_channels) == 2) { self->stereo = TRUE; self->stereo_state = (SpeexStereoState)SPEEX_STEREO_STATE_INIT; callback.callback_id = SPEEX_INBAND_STEREO; callback.func = speex_std_stereo_request_handler; callback.data = &self->stereo_state; speex_decoder_ctl(self->dec_state, SPEEX_SET_HANDLER, &callback); } else if (self->channels != 1) { fprintf(stderr, "ogg_speexdec_init: unsupported number of audio channels\n"); goto cleanupA; } xlplayer->src_state = src_new(xlplayer->rsqual, self->header->nb_channels, &src_error); if (src_error) { fprintf(stderr, "ogg_speexdec_init: src_new reports %s\n", src_strerror(src_error)); goto cleanupA; } xlplayer->src_data.end_of_input = 0; xlplayer->src_data.input_frames = self->frame_size; xlplayer->src_data.data_in = self->frame; xlplayer->src_data.src_ratio = (double)xlplayer->samplerate / (double)od->samplerate[od->ix]; xlplayer->src_data.output_frames = self->frame_size * self->header->nb_channels * xlplayer->src_data.src_ratio + 512; if (!(xlplayer->src_data.data_out = malloc(xlplayer->src_data.output_frames * sizeof (float)))) { fprintf(stderr, "ogg_speexdec_init: malloc failure\n"); goto cleanupB; } speex_bits_init(&self->bits); if (od->seek_s) { /* seeked streams with less than 0.1 seconds left to be skipped */ if (od->seek_s > (od->duration[od->ix] - 0.5)) { fprintf(stderr, "ogg_speexdec_init: seeked stream virtually over - skipping\n"); goto cleanupB; } oggdecode_seek_to_packet(od); /* calculate how many samples we need to drop for accurate seeking */ t_granule = od->seek_s * od->samplerate[od->ix]; e_granule = ogg_page_granulepos(&od->og); p_granule = self->frame_size * self->nframes; if ((s_granule = e_granule - (ogg_page_packets(&od->og) - ogg_page_continued(&od->og)) * p_granule) < 0) s_granule = 0; self->seek_dump_samples = t_granule - s_granule - self->frame_size * 26; self->last_granule = -1; } od->dec_data = self; od->dec_cleanup = ogg_speexdec_cleanup; xlplayer->dec_play = ogg_speexdec_play; oggdecode_set_new_oggpage_callback(od, ogg_speexdec_new_oggpage, self); return ACCEPTED; cleanupB: src_delete(xlplayer->src_state); cleanupA: free(self->frame); cleanup0: speex_decoder_destroy(self->dec_state); cleanup1: speex_header_free(self->header); cleanup2: free(self); cleanup3: return REJECTED; } #endif /* HAVE_SPEEX */ idjc-0.8.9/c/live_oggflac_encoder.c0000644000175000017500000002605512113174301014071 00000000000000/* # live_oggflac_encoder.c: encode oggflac from a live source # Copyright (C) 2008 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "../config.h" #ifdef HAVE_OGGFLAC #include #include #include #include #include "live_oggflac_encoder.h" #define TRUE 1 #define FALSE 0 #define SUCCEEDED 1 #define FAILED 0 static FLAC__int32 **live_oggflac_encoder_make_pcm(struct encoder_ip_data *id, struct lofe_data *s) { const float mul = (float)(1 << (s->bits_per_sample - 1)); const float scale = 1.0f / RAND_MAX; const FLAC__int32 ul = mul - 0.5; const FLAC__int32 ll = ~ul; FLAC__int32 val; FLAC__int32 **pcm; int i; unsigned j; if (!(pcm = malloc(sizeof (FLAC__int32 *) * id->channels))) { fprintf(stderr, "live_oggflac_encoder_make_pcm: malloc failure\n"); return NULL; } for (i = 0; i < id->channels; i++) { if (!(pcm[i] = malloc(sizeof (FLAC__int32) * id->qty_samples))) { fprintf(stderr, "live_oggflac_encoder_make_pcm: malloc failure\n"); free(pcm); return NULL; } for(j = 0; j < id->qty_samples; j++) { if (s->bits_per_sample <= 20) val = id->buffer[i][j] * mul + (float)rand_r(&s->seedp) * scale + (float)rand_r(&s->seedp) * scale - 1.0f; else val = id->buffer[i][j] * mul; if (val > ul) { pcm[i][j] = ul; s->uclip++; } else if (val < ll) { pcm[i][j] = ll; s->lclip++; } else pcm[i][j] = val; } } return pcm; } static void live_oggflac_encoder_free_pcm(FLAC__int32 *pcm[], int channels) { int i; for (i = 0; i < channels; i++) free(pcm[i]); free(pcm); } static FLAC__StreamEncoderWriteStatus live_oggflac_encoder_write_cb(const FLAC__StreamEncoder *enc, const FLAC__byte buffer[], size_t bytes, unsigned samples, unsigned current_frame, void *client_data) { struct encoder *encoder = client_data; struct lofe_data *s = encoder->encoder_private; struct encoder_op_packet packet; ogg_page og; int granulepos; if ((s->n_writes & 0x1) == 0) { /* writing ogg header */ s->pab_rqd = s->pab_head_size = bytes; if (s->pab_size < s->pab_rqd) if (!(s->pab = realloc(s->pab, s->pab_size = s->pab_rqd))) { fprintf(stderr, "live_oggflac_encoder_write_cb: malloc failure\n"); return FLAC__STREAM_ENCODER_WRITE_STATUS_FATAL_ERROR; } memcpy(s->pab, buffer, bytes); s->flags = PF_OGG; if (s->n_writes == 0) s->flags |= PF_INITIAL; if (buffer[5] & 0x4) s->flags |= PF_FINAL; og.header = (unsigned char *)buffer; og.header_len = bytes; og.body = NULL; og.body_len = 0; switch ((granulepos = ogg_page_granulepos(&og))) { case -1: break; case 0: s->flags |= PF_HEADER; break; default: s->samples = granulepos; } } else { /* writing ogg body */ if (s->pab_size < (s->pab_rqd += bytes)) if (!(s->pab = realloc(s->pab, s->pab_size = s->pab_rqd))) { fprintf(stderr, "live_oggflac_encoder_write_cb: malloc failure\n"); return FLAC__STREAM_ENCODER_WRITE_STATUS_FATAL_ERROR; } memcpy(s->pab + s->pab_head_size, buffer, bytes); packet.header.bit_rate = encoder->bitrate; packet.header.sample_rate = encoder->target_samplerate; packet.header.n_channels = encoder->n_channels; packet.header.flags = s->flags; packet.header.data_size = s->pab_rqd; packet.header.timestamp = encoder->timestamp = (double)s->samples / (double)encoder->samplerate; packet.data = s->pab; encoder_write_packet_all(encoder, &packet); } s->n_writes++; return FLAC__STREAM_ENCODER_WRITE_STATUS_OK; } static char *prepend(char *before, char *after) { char *new; if (!(new = malloc(strlen(before) + strlen(after) + 1))) { fprintf(stderr, "malloc failure\n"); return NULL; } strcpy(new, before); strcat(new, after); free(after); return new; } #define PREPEND(b, a) a = prepend(b, a); nmeta++; dlen += strlen(a); #define CPREPEND(b, a) if (a && a[0]) { PREPEND(b, a); } #define APPEND(a) if (a && a[0]) { vc->comments[i].length = strlen(a); vc->comments[i].entry = (FLAC__byte *)a; i++; } static void live_oggflac_encoder_main(struct encoder *encoder) { struct lofe_data * const s = encoder->encoder_private; struct ogg_tag_data *t = &s->tag_data; if (encoder->encoder_state == ES_STARTING) { if (!(s->enc = FLAC__stream_encoder_new())) { fprintf(stderr, "live_oggflac_encoder_main: failed to create new encoder\n"); goto bailout; } if (encoder->new_metadata) { int nmeta = 0, i = 0; size_t dlen = 0; FLAC__StreamMetadata_VorbisComment *vc; live_ogg_capture_metadata(encoder, t); if (t->custom && t->custom[0]) { PREPEND("title=", t->custom) CPREPEND("trk-artist=", t->artist) CPREPEND("trk-title=", t->title) CPREPEND("trk-album=", t->album) } else { CPREPEND("artist=", t->artist) CPREPEND("title=", t->title) CPREPEND("album=", t->album) } if (nmeta) { if (s->metadata[0] == NULL) if (!(s->metadata[0] = calloc(1, sizeof (FLAC__StreamMetadata)))) { fprintf(stderr, "live_oggflac_encoder_main: malloc failure\n"); goto bailout; } vc = &s->metadata[0]->data.vorbis_comment; vc->num_comments = nmeta; vc->vendor_string.entry = (FLAC__byte *)FLAC__VENDOR_STRING; dlen += vc->vendor_string.length = strlen(FLAC__VENDOR_STRING); s->metadata[0]->type = FLAC__METADATA_TYPE_VORBIS_COMMENT; s->metadata[0]->is_last = TRUE; s->metadata[0]->length = nmeta * 4 + dlen + 8; vc->comments = realloc(vc->comments, nmeta * sizeof (FLAC__StreamMetadata_VorbisComment_Entry)); APPEND(t->custom) APPEND(t->artist) APPEND(t->title) APPEND(t->album) } } encoder->bitrate = 0.00085034 * encoder->n_channels * s->bits_per_sample * encoder->target_samplerate; s->n_writes = 0; FLAC__stream_encoder_set_channels(s->enc, encoder->n_channels); FLAC__stream_encoder_set_bits_per_sample(s->enc, s->bits_per_sample); FLAC__stream_encoder_set_sample_rate(s->enc, encoder->target_samplerate); FLAC__stream_encoder_set_ogg_serial_number(s->enc, ++encoder->oggserial); if (encoder->use_metadata && s->metadata[0]) FLAC__stream_encoder_set_metadata(s->enc, s->metadata, 1); FLAC__stream_encoder_init_ogg_stream(s->enc, NULL, live_oggflac_encoder_write_cb, NULL, NULL, NULL, encoder); encoder->timestamp = 0.0; encoder->encoder_state = ES_RUNNING; return; } if (encoder->encoder_state == ES_RUNNING) { struct encoder_ip_data *id; if (encoder->new_metadata || !encoder->run_request_f || encoder->flush) { FLAC__stream_encoder_finish(s->enc); encoder->flush = FALSE; encoder->encoder_state = ES_STOPPING; } else { id = encoder_get_input_data(encoder, 1024, 8192, NULL); if (id) { FLAC__int32 **pcm; pcm = live_oggflac_encoder_make_pcm(id, s); FLAC__stream_encoder_process(s->enc, (const FLAC__int32 ** const)pcm, id->qty_samples); live_oggflac_encoder_free_pcm(pcm, id->channels); encoder_ip_data_free(id); } } return; } if (encoder->encoder_state == ES_STOPPING) { FLAC__stream_encoder_delete(s->enc); if (!encoder->run_request_f) goto bailout; else encoder->encoder_state = ES_STARTING; return; } fprintf(stderr, "live_oggflac_encoder_main: unhandled encoder state\n"); return; bailout: fprintf(stderr, "live_oggflac_encoder_main: performing cleanup\n"); encoder->run_request_f = FALSE; encoder->encoder_state = ES_STOPPED; encoder->run_encoder = NULL; encoder->flush = FALSE; encoder->new_metadata = FALSE; encoder->encoder_private = NULL; if (s) { fprintf(stderr, "Clipping detected on upper %d times and lower %d times.\n", s->uclip, s->lclip); if (s->metadata[0]) { if (s->metadata[0]->data.vorbis_comment.comments) free(s->metadata[0]->data.vorbis_comment.comments); free(s->metadata[0]); } live_ogg_free_metadata(t); free(s); } fprintf(stderr, "live_oggflac_encoder_main: finished cleanup\n"); return; } int live_oggflac_encoder_init(struct encoder *encoder, struct encoder_vars *ev) { struct lofe_data * const s = calloc(1, sizeof (struct lofe_data)); if (!s) { fprintf(stderr, "live_oggflac_encoder: malloc failure\n"); return FAILED; } s->bits_per_sample = atoi(ev->bitwidth); encoder->use_metadata = strcmp(ev->metadata_mode, "suppressed") ? 1 : 0; encoder->encoder_private = s; encoder->run_encoder = live_oggflac_encoder_main; return SUCCEEDED; } #endif /* HAVE_OGGFLAC */ idjc-0.8.9/c/live_oggopus_encoder.h0000644000175000017500000000173712114637001014161 00000000000000/* # live_oggopus_encoder.c: encode Ogg/Opus format streams # Copyright (C) 2013 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "../config.h" #include "encoder.h" #ifdef HAVE_OPUS int live_oggopus_encoder_init(struct encoder *, struct encoder_vars *); #endif /* HAVE_OPUS */ idjc-0.8.9/c/kvpparse.h0000644000175000017500000000163611717511070011616 00000000000000/* # kvpparse.h: the mixer and server command parsing mechanism used by IDJC. # Copyright (C) 2005-2007 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "kvpdict.h" int kvp_parse(struct kvpdict *kvpdict, FILE *fp); idjc-0.8.9/c/id3.c0000644000175000017500000002623512113174301010430 00000000000000/* # id3.c: generater of id3 tags for the recorder - emphasis on chapter tags # Copyright (C) 2007 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include #include #include #include #include "id3.h" #include "main.h" static void id3_frame_extra_cleanup(struct id3_frame *frame) { struct id3_text_frame_data *tdptr = frame->data; struct id3_chap_frame_data *cdptr = frame->data; if (!strcmp(frame->frame_header.frame_id, "TLEN")) return; if (frame->frame_header.frame_id[0] == 'T' && strcmp(frame->frame_header.frame_id, "TXXX")) { free(tdptr->text); return; } if (!strcmp(frame->frame_header.frame_id, "CHAP")) { free(cdptr->identifier); return; } } static void id3_frame_destroy_recursive(struct id3_frame *frame) { if (frame->first_embedded_frame) { id3_frame_destroy_recursive(frame->first_embedded_frame); if (frame->first_embedded_frame->data) { id3_frame_extra_cleanup(frame->first_embedded_frame); free(frame->first_embedded_frame->data); } free(frame->first_embedded_frame); } if (frame->next) { id3_frame_destroy_recursive(frame->next); if (frame->next->data) { id3_frame_extra_cleanup(frame->next); free(frame->next->data); } free(frame->next); } } void id3_tag_destroy(struct id3_tag *tag) { if (tag->first_frame) { id3_frame_destroy_recursive(tag->first_frame); if (tag->first_frame->data) free(tag->first_frame->data); free(tag->first_frame); } free(tag); } static int id3_syncsafe_int(uint32_t value, uint32_t *ssvalue) { unsigned char *ssint = (unsigned char *)ssvalue; ssint[0] = (value >> 21) & 0xFF; ssint[1] = (value >> 14) & 0xFF; ssint[2] = (value >> 7 ) & 0xFF; ssint[3] = (value >> 0 ) & 0xFF; return *ssvalue; } static void id3_make_be(unsigned char *byte, uint32_t value) { byte[3] = value & 0xFF; byte[2] = (value >> 8) & 0xFF; byte[1] = (value >> 16) & 0xFF; byte[0] = value >> 24; } static int id3_compile_text_frame(struct id3_frame *ptr, int embedded_size) { struct id3_text_frame_data *dptr; char *body; int body_size; uint32_t ssint; if (embedded_size != 0) { fprintf(stderr, "id3_compile_text_frame: WARNING: text frames do not support frame embedding\n"); } dptr = ptr->data; body = calloc(1, body_size = strlen(dptr->text) + 1 + dptr->null_terminator); body[0] = dptr->text_encoding; memcpy(body + 1, dptr->text, body_size - 1 - dptr->null_terminator); if (!(ptr->compiled_data = malloc(body_size + 10))) { fprintf(stderr, "id3_compile_text_frame: malloc failure\n"); return 0; } memcpy(ptr->compiled_data, ptr->frame_header.frame_id, 4); id3_syncsafe_int(body_size, &ssint); memcpy(ptr->compiled_data + 4, &ssint, 4); ptr->compiled_data[8] = ptr->frame_header.status_flags; ptr->compiled_data[9] = ptr->frame_header.format_flags; memcpy(ptr->compiled_data + 10, body, body_size); free(body); return ptr->compiled_data_size = ptr->compiled_non_embedded_data_size = body_size + 10; } static int id3_compile_numeric_frame(struct id3_frame *ptr, int embedded_size) { char *body; int body_size; uint32_t ssint; if (embedded_size != 0) { fprintf(stderr, "id3_compile_text_frame: WARNING: text frames do not support frame embedding\n"); } if (!(body = malloc(body_size = strlen(ptr->data)))) { fprintf(stderr, "id3_compile_text_frame: malloc failure\n"); return 0; } memcpy(body, ptr->data, body_size); if (!(ptr->compiled_data = malloc(body_size + 10))) { fprintf(stderr, "id3_compile_text_frame: malloc failure\n"); return 0; } memcpy(ptr->compiled_data, ptr->frame_header.frame_id, 4); id3_syncsafe_int(body_size, &ssint); memcpy(ptr->compiled_data + 4, &ssint, 4); ptr->compiled_data[8] = ptr->frame_header.status_flags; ptr->compiled_data[9] = ptr->frame_header.format_flags; memcpy(ptr->compiled_data + 10, body, body_size); free(body); return ptr->compiled_data_size = ptr->compiled_non_embedded_data_size = body_size + 10; } static int id3_compile_chap_frame(struct id3_frame *ptr, int embedded_size) { struct id3_chap_frame_data *dptr; char *body, *bptr; int body_size, text_size; uint32_t ssint; dptr = ptr->data; if (!(body = bptr = malloc(body_size = 17 + (text_size = strlen(dptr->identifier)) + embedded_size))) { fprintf(stderr, "id3_compile_chap_frame: malloc failure\n"); return 0; } strcpy(bptr, dptr->identifier); bptr += (text_size + 1); memcpy(bptr, dptr->start_ms, 16); if (!(ptr->compiled_data = malloc(body_size + 10))) { fprintf(stderr, "id3_compile_chap_frame: malloc failure\n"); return 0; } memcpy(ptr->compiled_data, ptr->frame_header.frame_id, 4); id3_syncsafe_int(body_size, &ssint); memcpy(ptr->compiled_data + 4, &ssint, 4); ptr->compiled_data[8] = ptr->frame_header.status_flags; ptr->compiled_data[9] = ptr->frame_header.format_flags; memcpy(ptr->compiled_data + 10, body, body_size); free(body); ptr->compiled_non_embedded_data_size = body_size + 10 - embedded_size; return ptr->compiled_data_size = body_size + 10; } static int id3_compile_frames(struct id3_frame *ptr) { int embedded_size = 0, chained_size = 0; if (ptr->first_embedded_frame) embedded_size = id3_compile_frames(ptr->first_embedded_frame); if (ptr->next) chained_size = id3_compile_frames(ptr->next); if (!strcmp(ptr->frame_header.frame_id, "TLEN")) return chained_size + id3_compile_numeric_frame(ptr, embedded_size); if (ptr->frame_header.frame_id[0] == 'T' && strcmp(ptr->frame_header.frame_id, "TXXX")) return chained_size + id3_compile_text_frame(ptr, embedded_size); if (!strcmp(ptr->frame_header.frame_id, "CHAP")) return chained_size + id3_compile_chap_frame(ptr, embedded_size); fprintf(stderr, "id3_compile_frames: this frame is unsupported: %s\n", ptr->frame_header.frame_id); return chained_size; } static void id3_collect_frame_data(struct id3_frame *frame, char **wp) { if (frame->next) id3_collect_frame_data(frame->next, wp); if (frame->compiled_data) { memcpy(*wp, frame->compiled_data, frame->compiled_data_size); *wp += frame->compiled_non_embedded_data_size; if (frame->first_embedded_frame) { id3_collect_frame_data(frame->first_embedded_frame, wp); } free(frame->compiled_data); } } void id3_compile(struct id3_tag *tag) { struct id3_frame *ptr; int chained_size; uint32_t ssint; char *wp; fflush(g.out); ptr = tag->first_frame; if (ptr) chained_size = id3_compile_frames(tag->first_frame); else return; if (!(tag->tag_data = calloc(1, tag->tag_data_size = chained_size + 10 + tag->padding))) { fprintf(stderr, "id3_compile: malloc failure\n"); tag->tag_data = NULL; tag->tag_data_size = 0; return; } memcpy(tag->tag_data, "ID3\x04\x00\x00", 6); id3_syncsafe_int(tag->tag_data_size - 10, &ssint); memcpy(tag->tag_data + 6, &ssint, 4); wp = tag->tag_data + 10; id3_collect_frame_data(tag->first_frame, &wp); } void id3_embed_frame(struct id3_frame *parent, struct id3_frame *child) { child->next = parent->first_embedded_frame; if (child->next) child->next->prev = parent; parent->first_embedded_frame = child; } void id3_add_frame(struct id3_tag *tag, struct id3_frame *frame) { frame->next = tag->first_frame; if (frame->next) frame->next->prev = frame; tag->first_frame = frame; } struct id3_frame *id3_numeric_string_frame_new(char *identifier, int value) { struct id3_frame *frame; char string[20]; if (!(frame = calloc(1, sizeof (struct id3_frame)))) { fprintf(stderr, "id3_text_frame_new: malloc failure\n"); return NULL; } strcpy(frame->frame_header.frame_id, identifier); snprintf(string, 20, "%d", value); frame->data = strdup(string); return frame; } struct id3_frame *id3_text_frame_new(char *identifier, char *text, unsigned char encoding, int null_terminator) { struct id3_frame *frame; struct id3_text_frame_data *tframe_data; if (!(frame = calloc(1, sizeof (struct id3_frame)))) { fprintf(stderr, "id3_text_frame_new: malloc failure\n"); return NULL; } strcpy(frame->frame_header.frame_id, identifier); if (!(tframe_data = calloc(1, sizeof (struct id3_text_frame_data)))) { fprintf(stderr, "id3_text_frame_new: malloc failure\n"); return NULL; } frame->data = tframe_data; tframe_data->text = strdup(text); tframe_data->text_encoding = encoding; tframe_data->null_terminator = null_terminator; return frame; } struct id3_frame *id3_chap_frame_new(char *unique_id, uint32_t start_ms, uint32_t end_ms, uint32_t start_byte, uint32_t end_byte) { struct id3_frame *frame; struct id3_chap_frame_data *cframe_data; if (!(frame = calloc(1, sizeof (struct id3_frame)))) { fprintf(stderr, "id3_chap_frame_new: malloc failure\n"); return NULL; } strcpy(frame->frame_header.frame_id, "CHAP"); if (!(cframe_data = calloc(1, sizeof (struct id3_chap_frame_data)))) { fprintf(stderr, "id3_chap_frame_new: malloc failure\n"); return NULL; } frame->data = cframe_data; cframe_data->identifier = strdup(unique_id); id3_make_be(cframe_data->start_ms, start_ms); id3_make_be(cframe_data->end_ms, end_ms); id3_make_be(cframe_data->start_byte, start_byte); id3_make_be(cframe_data->end_byte, end_byte); return frame; } struct id3_tag *id3_tag_new(int flags, int padding) { struct id3_tag *tag; if (!(tag = calloc(1, sizeof (struct id3_tag)))) { fprintf(stderr, "id3_tag_new: malloc failure\n"); return NULL; } tag->header.flags = flags; tag->padding = padding; return tag; } idjc-0.8.9/c/live_oggspeex_encoder.h0000644000175000017500000000176212114637001014315 00000000000000/* # live_oggspeex_encoder.h: encode speex from a live source into an ogg container # Copyright (C) 2008 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "../config.h" #ifdef HAVE_SPEEX #include "encoder.h" int live_oggspeex_encoder_init(struct encoder *encoder, struct encoder_vars *ev); #endif idjc-0.8.9/c/fade.c0000644000175000017500000000607312113174301010646 00000000000000/* # fade.c: fade in/out progressive gain adjustment # Copyright (C) 2011 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include #include #include #include #include "fade.h" struct fade *fade_init(int samplerate, float level) { struct fade *s; if (!(s = malloc(sizeof (struct fade)))) { fprintf(stderr, "fade_init: malloc failure\n"); exit(5); } s->samplerate = samplerate; s->baselevel = level; if (pthread_mutex_init(&s->mutex, NULL)) { fprintf(stderr, "fade_init: mutex creation failed\n"); exit(5); } fade_set(s, FADE_SET_HIGH, 0.0f, FADE_IN); return s; } void fade_destroy(struct fade *s) { pthread_mutex_destroy(&s->mutex); free(s); } void fade_set(struct fade *s, enum fade_startpos sp, float t, enum fade_direction d) { pthread_mutex_lock(&s->mutex); s->startpos = sp; if (t >= 0.0f) s->samples = floorf(s->samplerate * t); if (d != FADE_DIRECTION_UNCHANGED) s->newdirection = d; s->newdata = 1; pthread_mutex_unlock(&s->mutex); } float fade_get(struct fade *s) { if (s->newdata) { pthread_mutex_lock(&s->mutex); if (s->startpos == FADE_SET_HIGH) s->level = 1.0f; if (s->startpos == FADE_SET_LOW) s->level = 0.0f; if ((s->direction = s->newdirection) == FADE_IN) s->rate = powf(s->baselevel, -1.0f / s->samples); else s->rate = powf(s->baselevel, 1.0f / s->samples); s->moving = 1; s->newdata = 0; pthread_mutex_unlock(&s->mutex); } if (s->moving) { if (s->direction == FADE_IN) { if (s->level < s->baselevel) s->level = s->baselevel; else if ((s->level *= s->rate) >= 1.0f) { s->level = 1.0f; s->moving = 0; } } if (s->direction == FADE_OUT) { if (s->level > s->baselevel) s->level *= s->rate; else { s->level = 0.0f; s->moving = 0; } } } return s->level; } idjc-0.8.9/c/encoder.h0000644000175000017500000002077412114637001011401 00000000000000/* # encoder.h: the encoder for the streaming module of idjc # Copyright (C) 2007-2009 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #ifndef ENCODER_H #define ENCODER_H #include #include #include #include #include #include "sourceclient.h" enum jack_dataflow { JD_OFF, JD_ON, JD_FLUSH }; enum performance_warning { PW_OK, PW_AUDIO_DATA_DROPPED }; enum encoder_source {ENCODER_SOURCE_UNHANDLED, ENCODER_SOURCE_JACK, ENCODER_SOURCE_FILE}; enum encoder_family {ENCODER_FAMILY_UNHANDLED, ENCODER_FAMILY_MPEG, ENCODER_FAMILY_OGG}; enum encoder_codec {ENCODER_CODEC_UNHANDLED, ENCODER_CODEC_MP3, ENCODER_CODEC_VORBIS, ENCODER_CODEC_FLAC, ENCODER_CODEC_SPEEX, ENCODER_CODEC_OPUS, ENCODER_CODEC_MP2, ENCODER_CODEC_AAC, ENCODER_CODEC_AACPLUSV2}; enum encoder_state { ES_STOPPED, ES_STARTING, ES_RUNNING, ES_STOPPING, ES_PAUSED }; enum packet_flags { PF_UNSET = 0x00, PF_INITIAL = 0x01, PF_FINAL = 0x02, PF_OGG = 0x04, PF_MP3 = 0x08, PF_METADATA = 0x10, PF_HEADER = 0x20, PF_MP2 = 0x40, PF_AAC = 0x80, PF_AACP2 = 0x100 }; struct encoder_vars { char *encode_source; char *samplerate; char *resample_quality; char *family; char *codec; char *bitrate; char *variability; char *bitwidth; char *quality; char *complexity; char *framesize; char *mode; char *metadata_mode; char *standard; char *pregain; char *postgain; char *filename; /* for streaming a pre-recorded file */ char *offset; char *custom_meta; /* extra/replacement information to use for metadata */ char *artist; /* used for ogg metadata - always utf-8 */ char *title; char *album; }; struct encoder_data_format { enum encoder_source source; enum encoder_family family; enum encoder_codec codec; }; struct encoder_ip_data { int caller_supplied_buffer; /* indicator of self ownership of buffers */ int channels; size_t qty_samples; float *buffer[2]; }; struct encoder_op_packet_header { uint32_t magic; /* the magic number to check packet sync with */ struct encoder_data_format data_format; /* details of the format in use */ uint16_t bit_rate; /* bit rate in kb/s */ uint32_t sample_rate; /* sample rate - typically 44100 or 48000 */ uint16_t n_channels; /* number of audio channels 1 or 2 for mono/stereo */ enum packet_flags flags; /* first, last, metadata, mp3, ogg, etc */ int serial; /* the ogg serial number */ double timestamp; /* time in seconds for this serial */ size_t data_size; /* how much data follows in bytes */ }; struct encoder_op_packet { struct encoder_op_packet_header header; void *data; }; struct encoder_op /* encoder output object */ { struct encoder *encoder; /* parent encoder */ struct encoder_op *next; /* the next encoder output object */ jack_ringbuffer_t *packet_rb; /* ringbuffer containing ogg or mp3 packets */ enum performance_warning performance_warning_indicator; /* indicates ringbuffer overflow condition */ pthread_mutex_t mutex; /* this enables the encoder to expire old output packets safely */ }; struct encoder_header_buffer { char *data; size_t size; pthread_mutex_t mutex; }; struct encoder { struct threads_info *threads_info; /* link to the global data structure */ int numeric_id; /* identitity of this encoder from 0 */ pthread_t thread_h; /* this encoder's pthread handle */ int thread_terminate_f; /* signal the encoder thread to exit */ int run_request_f; /* to run or not to run... */ enum encoder_state encoder_state; /* indicate what the encoder should be doing */ enum jack_dataflow jack_dataflow_control; /* tells the jack callback routine what we want it to do */ jack_ringbuffer_t *input_rb[2]; /* circular buffer containing pcm audio data */ struct encoder_data_format data_format; int n_channels; /* stream parameters information... */ int bitrate; float pregain; /* gain value to apply to audio before encoding */ long samplerate; long target_samplerate; double sr_conv_ratio; SRC_STATE *src_state[2]; /* resampler variables */ float *rs_input[2]; /* buffer used by resampler input callback */ int rs_channel; /* resampler callback channel control */ int resample_f; /* true or false to resampling required */ int client_count; /* number of streamers/recorders connected */ pthread_mutex_t flush_mutex; /* to block encoder so it's in a known state before flush */ pthread_mutex_t mutex;/* for blocking encoder_unregister_client while the encoder is writing out data */ pthread_mutex_t metadata_mutex; /* used when metadata is read or written */ struct encoder_op *output_chain; /* one output buffer per client connection */ struct encoder_header_buffer *header_buffer; /* point to needed headers or NULL */ enum performance_warning performance_warning_indicator; /* indicates ringbuffer overflow condition */ char *custom_meta; /* when this is set it is used for stream metadata - in the title tag of ogg streams */ char *artist; /* used for recordings' metadata - always utf-8 */ char *title; char *album; int new_metadata; /* a trigger flag */ int use_metadata; /* false means encoder to compose a blank set of tags and ignore the new_metadata flag */ int flush; int oggserial; /* n.b. not restricted to ogg useage */ double timestamp; /* running counter in seconds for current serial */ void (*run_encoder)(struct encoder *); /* pointer to the encoder in use */ void *encoder_private; /* used by the specific encoder */ }; struct encoder *encoder_init(struct threads_info *ti, int numeric_id); int encoder_init_lame(struct threads_info *ti, struct universal_vars *uv, void *param); void encoder_destroy(struct encoder *self); struct encoder_op_packet *encoder_client_get_packet(struct encoder_op *op); void encoder_client_free_packet(struct encoder_op_packet *packet); int encoder_client_set_flush(struct encoder_op *op); size_t encoder_write_packet(struct encoder_op *op, struct encoder_op_packet *packet); void encoder_write_packet_all(struct encoder *enc, struct encoder_op_packet *packet); struct encoder_op *encoder_register_client(struct threads_info *ti, int numeric_id); void encoder_unregister_client(struct encoder_op *op); int encoder_start(struct threads_info *ti, struct universal_vars *uv, void *other); int encoder_stop(struct threads_info *ti, struct universal_vars *uv, void *other); int encoder_update(struct threads_info *ti, struct universal_vars *uv, void *other); int encoder_new_song_metadata(struct threads_info *ti, struct universal_vars *uv, void *other); int encoder_new_custom_metadata(struct threads_info *ti, struct universal_vars *uv, void *other); void encoder_src_data_cleanup(struct encoder *self); struct encoder_ip_data *encoder_get_input_data(struct encoder *encoder, size_t min_samples_needed, size_t max_samples, float **caller_supplied_buffer); void encoder_ip_data_free(struct encoder_ip_data *id); #endif idjc-0.8.9/c/sndfiledecode.c0000644000175000017500000001161312113174301012533 00000000000000/* # sndfiledecode.c: decodes wav file format for xlplayer # Copyright (C) 2007 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include #include #include #include "xlplayer.h" #include "sndfiledecode.h" #define TRUE 1 #define FALSE 0 #define ACCEPTED 1 #define REJECTED 0 static const sf_count_t sndfile_frameqty = 4096; static void sndfiledecode_init(struct xlplayer *xlplayer) { struct sndfiledecode_vars *self = xlplayer->dec_data; int src_error; if (!(self->flbuf = malloc(sizeof (float) * sndfile_frameqty * self->sf_info.channels))) { fprintf(stderr, "sndfiledecode_init: unable to allocate sndfile frames buffer\n"); sf_close(self->sndfile); xlplayer->playmode = PM_STOPPED; xlplayer->command = CMD_COMPLETE; return; } if (self->sf_info.samplerate != (int)xlplayer->samplerate) { fprintf(stderr, "sndfiledecode_init: configuring resampler\n"); xlplayer->src_state = src_new(xlplayer->rsqual, self->sf_info.channels, &src_error); if (src_error) { fprintf(stderr, "sndfiledecode_init: %s src_new reports - %s\n", xlplayer->playername, src_strerror(src_error)); sf_close(self->sndfile); xlplayer->playmode = PM_STOPPED; xlplayer->command = CMD_COMPLETE; return; } xlplayer->src_data.output_frames = 0; xlplayer->src_data.data_in = self->flbuf; xlplayer->src_data.data_out = NULL; xlplayer->src_data.src_ratio = (double)xlplayer->samplerate / (double)self->sf_info.samplerate; xlplayer->src_data.end_of_input = 0; self->resample = TRUE; } else self->resample = FALSE; sf_seek(self->sndfile, ((sf_count_t)xlplayer->seek_s) * ((sf_count_t)self->sf_info.samplerate), SEEK_SET); } static void sndfiledecode_play(struct xlplayer *xlplayer) { struct sndfiledecode_vars *self = xlplayer->dec_data; sf_count_t sf_count; int src_error; sf_count = sf_readf_float(self->sndfile, self->flbuf, sndfile_frameqty); if (self->resample) { xlplayer->src_data.end_of_input = (sf_count == 0); xlplayer->src_data.input_frames = sf_count; xlplayer->src_data.output_frames = (int)(xlplayer->src_data.input_frames * xlplayer->src_data.src_ratio) + 2 + (512 * xlplayer->src_data.end_of_input); xlplayer->src_data.data_out = realloc(xlplayer->src_data.data_out, xlplayer->src_data.output_frames * self->sf_info.channels * sizeof (float)); if ((src_error = src_process(xlplayer->src_state, &(xlplayer->src_data)))) { fprintf(stderr, "sndfiledecode_play: %s\n", src_strerror(src_error)); xlplayer->playmode = PM_EJECTING; return; } xlplayer_demux_channel_data(xlplayer, xlplayer->src_data.data_out, xlplayer->src_data.output_frames_gen, self->sf_info.channels, 1.f); } else xlplayer_demux_channel_data(xlplayer, self->flbuf, sf_count, self->sf_info.channels, 1.f); xlplayer_write_channel_data(xlplayer); if (sf_count == 0) { xlplayer->playmode = PM_EJECTING; return; } } static void sndfiledecode_eject(struct xlplayer *xlplayer) { struct sndfiledecode_vars *self = xlplayer->dec_data; sf_close(self->sndfile); if (self->resample) { if (xlplayer->src_data.data_out) free(xlplayer->src_data.data_out); xlplayer->src_state = src_delete(xlplayer->src_state); } free(self->flbuf); free(self); } int sndfiledecode_reg(struct xlplayer *xlplayer) { struct sndfiledecode_vars *self; if (!(self = xlplayer->dec_data = malloc(sizeof (struct sndfiledecode_vars)))) { fprintf(stderr, "sndfiledecode_reg: malloc failure\n"); return REJECTED; } self->sf_info.format = 0; if (!(self->sndfile = sf_open(xlplayer->pathname, SFM_READ, &(self->sf_info)))) { free(self); return REJECTED; } xlplayer->dec_init = sndfiledecode_init; xlplayer->dec_play = sndfiledecode_play; xlplayer->dec_eject = sndfiledecode_eject; return ACCEPTED; } idjc-0.8.9/c/ialloc.c0000644000175000017500000000272412113174301011211 00000000000000/* # ialloc.c: Heap memory allocation routines for IDJC. # Copyright (C) 2005-2012 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include #include #include #include #include typedef jack_default_audio_sample_t sample_t; sample_t *ialloc(jack_nframes_t size) { sample_t *buf; if (!(buf = malloc(sizeof (sample_t) * size))) { fprintf(stderr, "ialloc: malloc failure\n"); exit(5); } return buf; } void ifree(sample_t *buf) { if (buf) free(buf); } sample_t *irealloc(sample_t *data, jack_nframes_t newsize) { if (!data) return ialloc(newsize); else { free(data); return ialloc(newsize); } } idjc-0.8.9/c/mic.h0000644000175000017500000001066712113174301010530 00000000000000/* # mic.h: wrapper for microphone agc that provides mixing/muting # Copyright (C) 2010 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include #include "agc.h" struct mic { /* outputs */ float unp; /* barely processed audio without muting */ float unpm; /* barely processed audio with muting */ float unpmdj; /* barely processed audio for the dj mix */ float lrc; /* both audio channels without muting */ float lc; /* audio left channel without muting */ float rc; /* audio right channel without muting */ float lcm; /* audio left channel with muting */ float rcm; /* audio right channel with muting */ /* mic specific output */ float munp; /* barely processed audio without muting */ float munpm; /* barely processed audio with muting */ float munpmdj; /* barely processed audio for the dj mix */ float mlrc; /* both audio channels without muting */ float mlc; /* audio left channel without muting */ float mrc; /* audio right channel without muting */ float mlcm; /* audio left channel with muting */ float mrcm; /* audio right channel with muting */ /* aux specific output */ float aunp; /* barely processed audio without muting */ float aunpm; /* barely processed audio with muting */ float aunpmdj; /* barely processed audio for the dj mix */ float alrc; /* both audio channels without muting */ float alc; /* audio left channel without muting */ float arc; /* audio right channel without muting */ float alcm; /* audio left channel with muting */ float arcm; /* audio right channel with muting */ /* control inputs */ int open; /* mic open/close */ int invert; /* mic signal is inverted */ float gain; /* amount of signal boost in db */ int mode; /* 0 = off, 1 = simple, 2 = complex, 3 = subordinate */ int pan; /* stereo panning on a scale 1-100 */ int pan_active; /* whether to pan at all */ int mode_request;/* request to change mode */ /* state variables and resources */ int id; /* numeric identifier */ struct mic *host;/* the dominant mic in a pairing */ struct mic *partner; /* the partnerable mic */ struct agc *agc; /* automatic gain control and much more */ float sample; /* storage for the audio sample undergoing processing */ float sample_rate; /* used for smoothed mute timing */ float mgain; /* mono gain value (absolute gain) */ float lgain; /* left gain value (pan relative) */ float rgain; /* right gain value (pan relative) */ float igain; /* inversion gain value (inversion relative) */ float mute; /* gain applied by soft mute control */ float djmute; /* gain applied for muting from the dj mix */ float peak; /* highest signal level since last call to mic_getpeak */ float mic_g; /* mic gain for muting */ float aux_g; /* aux gain for muting */ float rel_igain; /* invert for paired mic */ float rel_gain; /* signal level trim for paired mic */ jack_port_t *jack_port; /* jack port handle */ jack_default_audio_sample_t *jadp; /* jack audio data pointer */ jack_nframes_t nframes; /* jack buffer size */ char *default_mapped_port_name; /* the natural partner port or NULL*/ }; void mic_process_start_all(struct mic **mics, jack_nframes_t nframes); float mic_process_all(struct mic **mics); void mic_stats_all(struct mic **mics); struct mic **mic_init_all(int n_mics, jack_client_t *client); void mic_free_all(struct mic **self); void mic_valueparse(struct mic *s, char *param); void mic_set_role_all(struct mic **s, const char *role); idjc-0.8.9/c/mic.c0000644000175000017500000002544712113174301010525 00000000000000/* # mic.c: wrapper for AGC and provides mixing to stereo # Copyright (C) 2010 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include #include #include #include #include "mic.h" #include "dbconvert.h" #include "main.h" #define FALSE 0 #define TRUE (!FALSE) static const float peak_init = 4.46e-7f; /* -127dB */ static void calculate_gain_values(struct mic *self) { self->mgain = powf(10.0f, self->gain / 20.0f); if (self->pan_active) { self->lgain = cosf((float)self->pan / 63.66197724f); self->rgain = sinf((float)self->pan / 63.66197724f); } else self->lgain = self->rgain = 1.0f; } static void mic_process_start(struct mic *self, jack_nframes_t nframes) { int mode_request = self->mode_request; /* mic mode changes are handled here */ if (mode_request != self->mode) { if (self->mode == 0) fprintf(stderr, "activated ch %d\n", self->id); if (self->mode == 2) { fprintf(stderr, "leaving fully processed mode, ch %d\n", self->id); agc_reset(self->agc); } if (mode_request == 3) { fprintf(stderr, "entering stereo mode, ch %d\n", self->id); self->host = self->partner; agc_set_partnered_mode(self->agc, TRUE); } if (self->mode == 3) { fprintf(stderr, "leaving stereo mode, ch %d\n", self->id); self->host = self; agc_set_partnered_mode(self->agc, FALSE); } if (mode_request == 0) { fprintf(stderr, "deactivated ch %d\n", self->id); self->open = 0; self->mute = 0.0f; self->unp = self->unpm = self->unpmdj = 0.0f; self->lc = self->rc = self->lrc = self->lcm = self->rcm = 0.0f; self->peak = peak_init; } self->mode = mode_request; } if (self->mode) { /* initialisation for later mic stages */ self->nframes = nframes; self->jadp = jack_port_get_buffer(self->jack_port, nframes); } } void mic_process_start_all(struct mic **mics, jack_nframes_t nframes) { while (*mics) mic_process_start(*mics++, nframes); } static void mic_process_stage1(struct mic *self) { float sample = *self->jadp++; if (isunordered(sample, sample)) sample = 0.0f; if (self->mode == 3) sample *= self->rel_igain * self->rel_gain; self->sample = sample; } static void mic_process_stage2(struct mic *self) { struct mic *host = self->host; float sample = self->sample * host->igain; /* mic open/close perform fade */ if (self->open && self->mute < 0.999999f) self->mute += (1.0f - self->mute) * 26.46f / self->sample_rate; else if (!self->open && self->mute > 0.0000004f) self->mute -= self->mute * 12.348f / self->sample_rate; else self->mute = self->open ? 1.0f : 0.0f; /* unprocessed audio */ self->unp = sample * host->mgain; /* unprocessed audio + mute */ self->unpm = self->unp * self->mute; /* unprocessed audio + mute for the DJ mix */ self->unpmdj = self->unpm * host->djmute; if (host->mode == 2) agc_process_stage1(self->agc, sample); } static void mic_process_stage3(struct mic *self) { /* agc side-channel stuff */ if (self->host->mode == 2) agc_process_stage2(self->agc, self->mute < 0.75f); } static void mic_process_stage4(struct mic *self) { float m = self->mic_g; float a = self->aux_g; struct mic *host = self->host; if (host->mode == 2) self->lrc = agc_process_stage3(self->agc); else self->lrc = self->unp; /* left and right channel audio no mute - could be procesesed or not */ self->lc = self->lrc * self->lgain; self->rc = self->lrc * self->rgain; /* the same but with muting */ self->lcm = self->lc * self->mute; self->rcm = self->rc * self->mute; /* record peak levels */ float l = fabsf(self->lrc); if (l > self->peak) self->peak = l; self->munp = self->unp * m; self->munpm = self->unpm * m; self->munpmdj = self->unpmdj * m; self->mlrc = self->lrc * m; self->mlc = self->lc * m; self->mrc = self->rc * m; self->mlcm = self->lcm * m; self->mrcm = self->rcm * m; self->aunp = self->unp * a; self->aunpm = self->unpm * a; self->aunpmdj = self->unpmdj * a; self->alrc = self->lrc * a; self->alc = self->lc * a; self->arc = self->rc * a; self->alcm = self->lcm * a; self->arcm = self->rcm * a; } float mic_process_all(struct mic **mics) { static void (*mic_process[])(struct mic *) = {mic_process_stage1, mic_process_stage2, mic_process_stage3, mic_process_stage4, NULL }; void (**mpp)(struct mic *); struct mic **mp; float df, agcdf; /* processing broken up into stages to allow state sharing between * stereo pairs of microphones */ for (mpp = mic_process; *mpp; mpp++) for (mp = mics; *mp; mp++) if ((*mp)->mode) (*mpp)(*mp); /* ducking factor tally - lowest wins */ for (df = 1.0f, mp = mics; *mp; mp++) df = (df > (agcdf = agc_get_ducking_factor((*mp)->agc))) ? agcdf : df; return df; } static int mic_getpeak(struct mic *self) { int peakdb; peakdb = (int)level2db(self->peak); self->peak = peak_init; return (peakdb < 0) ? peakdb : 0; } static void mic_stats(struct mic *self) { int red, yellow, green; agc_get_meter_levels(self->host->agc, &red, &yellow, &green); fprintf(g.out, "mic_%d_levels=%d,%d,%d,%d\n", self->id, mic_getpeak(self), red, yellow, green); } void mic_stats_all(struct mic **mics) { while (*mics) mic_stats(*mics++); } static void mic_set_role(struct mic *self, int role) { if (role == 'm') { self->mic_g = 1.0f; self->aux_g = 0.0f; } else // if role == 'a' { self->mic_g = 0.0f; self->aux_g = 1.0f; } } void mic_set_role_all(struct mic **mics, const char *role) { while (*mics) mic_set_role(*mics++, *role++); } static struct mic *mic_init(jack_client_t *client, int sample_rate, int id) { struct mic *self; char port_name[10]; if (!(self = calloc(1, sizeof (struct mic)))) { fprintf(stderr, "mic_init: malloc failure\n"); return NULL; } self->host = self; self->id = id; self->sample_rate = (float)sample_rate; self->pan = 50; self->aux_g = 1.0f; self->peak = peak_init; if (!(self->agc = agc_init(sample_rate, 0.01161f, id))) { fprintf(stderr, "mic_init: agc_init failed\n"); free(self); return NULL; } snprintf(port_name, 10, "ch_in_%d", id); self->jack_port = jack_port_register(client, port_name, JACK_DEFAULT_AUDIO_TYPE, JackPortIsInput, 0); calculate_gain_values(self); return self; } struct mic **mic_init_all(int n_mics, jack_client_t *client) { struct mic **mics; int i, sr; /* used to map suitable port names from the audio back-end as default connection targets */ const char **defaults, **dp; if (!(mics = calloc(n_mics + 1, sizeof (struct mic *)))) { fprintf(stderr, "malloc failure\n"); exit(5); } sr = jack_get_sample_rate(client); defaults = dp = jack_get_ports(client, NULL, NULL, JackPortIsPhysical | JackPortIsOutput); for (i = 0; i < n_mics; i++) { mics[i] = mic_init(client, sr, i + 1); if (!mics[i]) { fprintf(stderr, "mic_init failed\n"); exit(5); } mics[i]->default_mapped_port_name = (dp && *dp) ? strdup(*dp++) : NULL; } for (i = 0; i < n_mics; i += 2) { mics[i]->partner = mics[i + 1]; mics[i + 1]->partner = mics[i]; agc_set_as_partners(mics[i]->agc, mics[i + 1]->agc); } if (defaults) jack_free(defaults); return mics; } static void mic_free(struct mic *self) { agc_free(self->agc); self->agc = NULL; if (self->default_mapped_port_name) { free(self->default_mapped_port_name); self->default_mapped_port_name = NULL; } free(self); } void mic_free_all(struct mic **mics) { struct mic **mp = mics; while (*mp) { mic_free(*mp); *mp++ = NULL; } free(mics); } void mic_valueparse(struct mic *self, char *param) { char *save = NULL, *key, *value; key = strtok_r(param, "=", &save); value = strtok_r(NULL, "=", &save); if (!strcmp(key, "mode")) { self->mode_request = value[0] - '0'; } else if (!strcmp(key, "pan")) { self->pan = atoi(value); calculate_gain_values(self); } else if (!strcmp(key, "pan_active")) { self->pan_active = (value[0] == '1') ? 1 : 0; calculate_gain_values(self); } else if(!strcmp(key, "open")) { self->open = (value[0] == '1') ? 1 : 0; } else if(!strcmp(key, "invert")) { self->invert = (value[0] == '1') ? 1 : 0; self->igain = self->invert ? -1.0f : 1.0f; } else if(!strcmp(key, "indjmix")) { self->djmute = (value[0] == '1') ? 1.0f : 0.0f; } else if(!strcmp(key, "pairedinvert")) { self->rel_igain = (value[0] == '1') ? -1.0f : 1.0f; } else if(!strcmp(key, "pairedgain")) { self->rel_gain = powf(10.0f, atof(value) * 0.05); } else { if (!strcmp(key, "gain")) { self->gain = atof(value); calculate_gain_values(self); } agc_control(self->agc, key, value); } } idjc-0.8.9/c/avcodec_encoder.c0000644000175000017500000002774512113174301013063 00000000000000/* # avcodec_encoder.c: encode using libavcodec # Copyright (C) 2012 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "../config.h" #ifdef HAVE_AVCODEC #ifdef HAVE_AVUTIL #include #include "main.h" #include "avcodec_encoder.h" #define BYTE_ALIGNMENT (8) static const struct timespec time_delay = { .tv_nsec = 10 }; static void packetize_metadata(struct encoder *e, struct avenc_data * const s) { size_t l = 4; pthread_mutex_lock(&e->metadata_mutex); l += strlen(e->custom_meta); l += strlen(e->artist); l += strlen(e->title); l += strlen(e->album); if ((s->metadata = realloc(s->metadata, l))) snprintf(s->metadata, l, "%s\n%s\n%s\n%s", e->custom_meta, e->artist, e->title, e->album); else fprintf(stderr, "malloc failure\n"); e->new_metadata = FALSE; pthread_mutex_unlock(&e->metadata_mutex); } static int write_packet(struct encoder *encoder, struct avenc_data *s, unsigned char *buffer, size_t buffersize, int flags) { struct encoder_op_packet packet; packet.header.bit_rate = encoder->bitrate; packet.header.sample_rate = encoder->target_samplerate; packet.header.n_channels = encoder->n_channels; packet.header.flags = flags; packet.header.data_size = buffersize; packet.header.serial = encoder->oggserial; packet.header.timestamp = encoder->timestamp = s->samples_written / (double)encoder->target_samplerate; packet.data = buffer; encoder_write_packet_all(encoder, &packet); return 1; } static void live_avcodec_encoder_main(struct encoder *encoder) { struct avenc_data * const s = encoder->encoder_private; AVCodecContext *c; int final; struct encoder_ip_data *id; if (encoder->encoder_state == ES_STARTING) { av_init_packet(&s->avpkt); if (!(s->c = c = avcodec_alloc_context3(s->codec))) { fprintf(stderr, "avcodec_encoder_main: call to avcodec_alloc_context3 failed\n"); goto bailout; } // assign codec parameters c->bit_rate = encoder->bitrate; c->sample_rate = encoder->target_samplerate; c->channels = encoder->n_channels; c->sample_fmt = AV_SAMPLE_FMT_FLT; if (s->pkt_flags & (PF_AAC | PF_AACP2)) c->profile = FF_PROFILE_AAC_LOW; // start the codec preferably with float inputs else signed 16 bit integer inputs while (pthread_mutex_trylock(&g.avc_mutex)) nanosleep(&time_delay, NULL); if (avcodec_open2(c, s->codec, NULL) < 0) { fprintf(stderr, "live_avcodec_encoder_main: will retry with signed 16 bit: %s\n", s->codec->name); c->sample_fmt = AV_SAMPLE_FMT_S16; if (avcodec_open2(c, s->codec, NULL) < 0) { fprintf(stderr, "live_avcodec_encoder_main: could not open codec: %s\n", s->codec->name); pthread_mutex_unlock(&g.avc_mutex); goto bailout; } } pthread_mutex_unlock(&g.avc_mutex); // allocate the input buffer s->inbufsize = c->frame_size * c->channels * av_get_bytes_per_sample(c->sample_fmt); if (posix_memalign((void *)&s->inbuf, BYTE_ALIGNMENT, s->inbufsize + FF_INPUT_BUFFER_PADDING_SIZE)) { fprintf(stderr, "live_avcodec_encoder_main: malloc failure\n"); goto bailout; } memset(s->inbuf + s->inbufsize, '\0', FF_INPUT_BUFFER_PADDING_SIZE); // allocate the output buffer if (posix_memalign((void *)&s->avpkt.data, BYTE_ALIGNMENT, FF_MIN_BUFFER_SIZE)) { fprintf(stderr, "live_avcodec_encoder_main: malloc failure\n"); goto bailout; } s->pkt_flags = (s->pkt_flags | PF_INITIAL) & ~PF_FINAL; ++encoder->oggserial; encoder->encoder_state = ES_RUNNING; return; bailout: encoder->encoder_state = ES_STOPPING; encoder->run_request_f = FALSE; return; } if (encoder->encoder_state == ES_RUNNING) { final = encoder->flush || !encoder->run_request_f; c = s->c; size_t out_samples = c->frame_size; size_t in_samples = final ? 0 : out_samples; int got_packet; while ((id = encoder_get_input_data(encoder, in_samples, in_samples, NULL)) || final) { // id now has exactly one frame's worth of input data or is NULL // prepare an AVFrame to put that data if (!s->decoded_frame) { if (!(s->decoded_frame = avcodec_alloc_frame())) { fprintf(stderr, "avcodec_encoder_main: failed to allocate frame\n"); encoder->encoder_state = ES_STOPPING; } } else avcodec_get_frame_defaults(s->decoded_frame); s->decoded_frame->nb_samples = in_samples; if (id) { // audio data is interwoven switch (s->c->sample_fmt) { case AV_SAMPLE_FMT_S16: // todo: add dither { float *lp = id->buffer[0], *rp = id->buffer[1]; int16_t *op = (int16_t *)s->inbuf; for (int i = 0; i < in_samples; ++i) { *op++ = (int16_t)(*lp++ * 32767.0); if (id->channels == 2) *op++ = (int16_t)(*rp++ * 32767.0); } } break; case AV_SAMPLE_FMT_FLT: { float *lp = id->buffer[0], *rp = id->buffer[1]; float *op = (float *)s->inbuf; for (int i = 0; i < in_samples; ++i) { *op++ = (float)*lp++; if (id->channels == 2) *op++ = (float)*rp++; } } break; default: fprintf(stderr, "avcodec_encoder_main: unhandled sample format\n"); encoder->encoder_state = ES_STOPPING; return; } encoder_ip_data_free(id); } else { memset(s->inbuf, '\0', FF_INPUT_BUFFER_PADDING_SIZE); s->pkt_flags |= PF_FINAL; } if (final && (s->codec->capabilities | CODEC_CAP_DELAY)) { av_free(s->decoded_frame); s->decoded_frame = NULL; } else { // audio data is fed into an AVFrame if (avcodec_fill_audio_frame(s->decoded_frame, s->c->channels, s->c->sample_fmt, s->inbuf, s->inbufsize, BYTE_ALIGNMENT) < 0) { fprintf(stderr, "avcodec_encoder_main: encoding failed\n"); encoder->encoder_state = ES_STOPPING; return; } } if (!final || s->codec->capabilities & (CODEC_CAP_DELAY | CODEC_CAP_VARIABLE_FRAME_SIZE | CODEC_CAP_SMALL_LAST_FRAME)) { // decode as much data is this encoder wants to s->avpkt.size = FF_MIN_BUFFER_SIZE; if (avcodec_encode_audio2(c, &s->avpkt, s->decoded_frame, &got_packet) < 0) { fprintf(stderr, "avcodec_encoder_main: encoding failed\n"); encoder->encoder_state = ES_STOPPING; return; } if (got_packet) { s->samples_written += out_samples; write_packet(encoder, s, s->avpkt.data, s->avpkt.size, s->pkt_flags); av_free_packet(&s->avpkt); s->pkt_flags &= ~PF_INITIAL; } } else { // write out an empty last packet rather than flush the codec with digital silence write_packet(encoder, s, (unsigned char *)"", 0, s->pkt_flags); } if (encoder->new_metadata && encoder->use_metadata && !(s->pkt_flags & (PF_INITIAL | PF_FINAL))) { packetize_metadata(encoder, s); if (s->metadata) write_packet(encoder, s, (unsigned char *)s->metadata, strlen(s->metadata) + 1, PF_METADATA); } // perform flush action cleanup if (final) { encoder->encoder_state = ES_STOPPING; return; } } return; } if (encoder->encoder_state == ES_STOPPING) { if (s->c) { if (avcodec_is_open(s->c)) avcodec_close(s->c); av_free(s->c); s->c = NULL; } if (s->decoded_frame) { av_free(s->decoded_frame); s->decoded_frame = NULL; } if (s->avpkt.data) { free(s->avpkt.data); s->avpkt.data = NULL; } if (s->inbuf) { free(s->inbuf); s->inbuf = NULL; } encoder->flush = FALSE; s->samples_written = 0; if (encoder->run_request_f) encoder->encoder_state = ES_STARTING; else { if (s->metadata) free(s->metadata); encoder->encoder_state = ES_STOPPED; encoder->run_encoder = NULL; encoder->encoder_private = NULL; free(s); } } } static AVCodec *aac_codec() { AVCodec *codec; char *names[] = {"libfaac", "adts", NULL }; for (char **name = names; *name; ++name) if ((codec = avcodec_find_encoder_by_name(*name))) return codec; return avcodec_find_encoder(CODEC_ID_AAC); } static AVCodec *aacplus_codec() { return avcodec_find_encoder_by_name("libaacplus"); } int live_avcodec_encoder_init(struct encoder *encoder, struct encoder_vars *ev) { struct avenc_data * const s = calloc(1, sizeof (struct avenc_data)); if (!s) { fprintf(stderr, "avcodec_encoder: malloc failure\n"); return FAILED; } if (!strcmp(ev->codec, "aac")) { s->codec = aac_codec(); s->pkt_flags = PF_AAC; } else { if (!strcmp(ev->codec, "aacpv2")) { s->codec = aacplus_codec(); s->pkt_flags = PF_AACP2; } else { fprintf(stderr, "avcodec_encoder: unsupported codec\n"); goto clean1; } } if (!s->codec) { fprintf(stderr, "live_avcodec_encoder_init: codec not found\n"); goto clean1; } encoder->bitrate = atoi(ev->bitrate); encoder->target_samplerate = atoi(ev->samplerate); encoder->n_channels = strcmp(ev->mode, "mono") ? 2 : 1; encoder->encoder_private = s; encoder->run_encoder = live_avcodec_encoder_main; return SUCCEEDED; clean1: free(s); return FAILED; } int live_avcodec_encoder_aac_functionality() { int aac_f = aac_codec() ? 1 : 0; int aacpv2_f = aacplus_codec() ? 1 : 0; fprintf(g.out, "idjcsc: aac_functionality=%d:%d\n", aac_f, aacpv2_f); fflush(g.out); if (ferror(g.out)) return FAILED; return SUCCEEDED; } #endif /* HAVE_AVUTIL */ #endif /* HAVE_AVCODEC */ idjc-0.8.9/c/peakfilter.c0000644000175000017500000000426312113174301012074 00000000000000/* # peakfilter.c: finds a peak level from a filtered signal source # Copyright (C) 2010 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #define _GNU_SOURCE #include #include #include #include #include "peakfilter.h" #include "dbconvert.h" struct peakfilter *peakfilter_create(float window, int sample_rate) { struct peakfilter *self; int n_stages; if (!(self = malloc(sizeof (struct peakfilter)))) { fprintf(stderr, "malloc failure\n"); exit(-5); } if ((n_stages = (int)(window * sample_rate)) < 1) n_stages = 1; if (!(self->ptr = self->start = calloc(n_stages, sizeof (float)))) { fprintf(stderr, "malloc failure\n"); exit(-5); } self->end = self->start + n_stages; self->peak = 0.0f; return self; } void peakfilter_destroy(struct peakfilter *self) { free(self->start); free(self); } void peakfilter_process(struct peakfilter *self, float sample) { float least; float *p; *self->ptr++ = fabsf(sample); if (self->ptr == self->end) self->ptr = self->start; for (p = self->start, least = HUGE_VALF; p < self->end; p++) if (*p < least) least = *p; if (least > self->peak) self->peak = least; } float peakfilter_read(struct peakfilter *self) { float ret; ret = self->peak; self->peak = 0.0f; return ret; } idjc-0.8.9/c/kvpdict.h0000644000175000017500000000265312113174301011420 00000000000000/* # kvpdict.h: key-value pair header file for kvpdict.c, part of the IDJC project # Copyright (C) 2005-2007 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #ifndef KVPDICT_H #define KVPDICT_H #include struct kvpdict { char *key; /* the key from a key value pair to match against */ char **target; /* the aim here is to set another pointer to the new value rather than to make the new value a member of the dictionary */ pthread_mutex_t *pm; /* if a lock is supplied here it will be used */ }; char *kvp_extract_value(char *keyvaluepair); int kvp_apply_to_dict(struct kvpdict *kvpdict, char *key, char *newtarget); void kvp_free_dict(struct kvpdict *dp); #endif idjc-0.8.9/c/smoothing.c0000644000175000017500000000446212113174301011756 00000000000000/* # smoothing.c: Volume smoothing routines for IDJC. # Copyright (C) 2012 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include #include "smoothing.h" extern unsigned long sr; /* jack sample rate */ void smoothing_mute_init(struct smoothing_mute *self, int *control) { self->level = 0.0f; self->control = control; } void smoothing_mute_process(struct smoothing_mute *self) { if (!self->control || *self->control) { if (self->level < 0.99f) /* switching on */ { self->level += (1.0f - self->level) * 0.09f * 44100.0f / sr; if (self->level >= 0.99f) self->level = 1.0f; } } else { if (self->level > 0.0F) /* switching off */ { self->level -= self->level * 0.075f * (2.0f - self->level) * (2.0f - self->level) * 44100.0f / sr; if (self->level < 0.00002f) self->level = 0.0f; } } } void smoothing_volume_init(struct smoothing_volume *self, int *control, float scale) { static int nullcontrol = 0; /* default values */ self->control = control ? control : &nullcontrol; self->scale = scale ? scale : 0.01775f; /* initial state */ self->tracking = 127; self->level = 1.0f; } void smoothing_volume_process(struct smoothing_volume *self) { if (*self->control != self->tracking) { self->tracking += (*self->control > self->tracking) ? 1 : -1; self->level = powf(10.0f, (self->tracking - 127) * self->scale); } } idjc-0.8.9/c/kvpdict.c0000644000175000017500000001021312113174301011402 00000000000000/* # kvpdict.c: key-value pair functions to aid parsing and setting of values # Copyright (C) 2005-2007 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "gnusource.h" #include #include #include #include #include "kvpdict.h" #include "bsdcompat.h" /* kvp_extract_value: extract the value of a key value pair from a string. The value is a copy of the orignial and is allocated on the heap. The returned "value" should be destroyed with free() when no longer needed. The string supplied is truncated at the = sign */ char *kvp_extract_value(char *pair) { char *part2, *value; if (!(part2 = strchr(pair, '='))) /* calling program must supply a Key Value Pair */ { fprintf(stderr, "kvp_extract_value: not a key=value pair: %s\n", pair); return strdup(""); } *part2++ = '\0'; /* point to the second half of the KVP and terminate the 1st also removing the \n character */ *strchr(part2, '\n') = '\0'; if (!(value = strdup(part2))) /* make a separate copy of the value */ { fprintf(stderr, "kvp_extract_value: malloc failure\n"); exit(-5); } return value; } /* dict_apply_to_target: sets a pointers object listed in a kvpdict to point to target when its key matches the one supplied to the function. Target is not made a member of the dictionary, but rather one of the dictionary members, which is itself a pointer is set to point to target. The memory used by the old target is freed */ int kvp_apply_to_dict(struct kvpdict *dp, char *key, char *target) { int append; size_t origtext_siz, newtext_siz; if ((append = (key[0] == '+'))) /* If key starts with a plus we will not replace -- we will append */ ++key; for (; dp->target; dp++) /* Iterate over NULL terminated dictionary */ { if (!strcmp(key, dp->key)) /* If the key matches */ { if (dp->pm) /* If a pthread mutex is supplied then use it */ pthread_mutex_lock(dp->pm); if (!append) { if (*(dp->target)) /* Conditionally free the old target buffer */ free(*(dp->target)); *(dp->target) = target; /* Dictionary member's pointer gets a new target */ } else { /* append mode -- multiple appends separated by a newline character */ *(dp->target) = realloc(*(dp->target), (origtext_siz = strlen(*(dp->target))) + (newtext_siz = strlen(target)) + 2); if (!(*(dp->target))) { fprintf(stderr, "malloc failure\n"); exit(5); } memcpy(*(dp->target) + origtext_siz, target, newtext_siz); memcpy(*(dp->target) + origtext_siz + newtext_siz, "\n", 2); free(target); } if (dp->pm) /* Unlock the pthread mutex if one was specified */ pthread_mutex_unlock(dp->pm); return 1; /* We have a match so return 1 */ } } return 0; /* No matches */ } void kvp_free_dict(struct kvpdict *dp) { while (dp->key) { if (*(dp->target)) free(*(dp->target)); *dp->target = NULL; dp++; } } idjc-0.8.9/c/ogg_vorbis_dec.c0000644000175000017500000002117112113174301012716 00000000000000/* # ogg_vorbis_dec.c: vorbis decoder for oggdec.c # Copyright (C) 2008 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include #include #include #include "oggdec.h" #include "ogg_vorbis_dec.h" #define ACCEPTED 1 #define REJECTED 0 #define TRUE 1 #define FALSE 0 static void ogg_vorbisdec_cleanup(struct xlplayer *xlplayer) { struct oggdec_vars *od = xlplayer->dec_data; struct vorbisdec_vars *self = od->dec_data; fprintf(stderr, "ogg_vorbisdec_cleanup was called\n"); if (self->resample) { if (xlplayer->src_data.data_in) free(xlplayer->src_data.data_in); if (xlplayer->src_data.data_out) free(xlplayer->src_data.data_out); xlplayer->src_state = src_delete(xlplayer->src_state); } vorbis_block_clear(&self->vb); vorbis_dsp_clear(&self->v); vorbis_comment_clear(&self->vc); vorbis_info_clear(&self->vi); free(self); /* prevent double free or continued codec use */ od->dec_cleanup = NULL; od->dec_data = NULL; } static void ogg_vorbisdec_play(struct xlplayer *xlplayer) { struct oggdec_vars *od = xlplayer->dec_data; struct vorbisdec_vars *self = od->dec_data; int samples, i, wi = 0; size_t bsiz = 8192, block = 4096, bytes = 0; float **pcm, *li, *lo, *ri, *ro, *out, gain; int vorbis_retcode, src_error; int channels = (od->channels[od->ix] > 1) ? 2 : 1; if (!(oggdec_get_next_packet(od))) { fprintf(stderr, "oggdec_get_next_packet says no more packets\n"); oggdecode_playnext(xlplayer); return; } if ((vorbis_retcode = vorbis_synthesis(&self->vb, &od->op))) { fprintf(stderr, "vorbis synthesis reports problem %d\n", vorbis_retcode); } vorbis_synthesis_blockin(&self->v, &self->vb); if ((self->resample)) { xlplayer->src_data.data_in = out = realloc(xlplayer->src_data.data_in, bsiz *= channels); while ((samples = vorbis_synthesis_pcmout(&self->v, &pcm)) > 0) { bytes += samples * sizeof (float) * channels; if (bytes > bsiz) { bsiz += ((bytes - bsiz) / (block * channels) + 1) * block * channels; xlplayer->src_data.data_in = realloc(xlplayer->src_data.data_in, bsiz); out = xlplayer->src_data.data_in + wi * channels; } li = pcm[0]; if (channels > 1) for (i = 0, ri = pcm[1]; i < samples; i++) { *out++ = *li++; *out++ = *ri++; } else for (i = 0; i < samples; i++) *out++ = *li++; wi += samples; vorbis_synthesis_read(&self->v, samples); } xlplayer->src_data.input_frames = wi; xlplayer->src_data.output_frames = wi * xlplayer->src_data.src_ratio + 512; xlplayer->src_data.data_out = realloc(xlplayer->src_data.data_out, xlplayer->src_data.output_frames * channels * sizeof (float)); xlplayer->src_data.end_of_input = od->op.e_o_s; if ((src_error = src_process(xlplayer->src_state, &xlplayer->src_data))) { fprintf(stderr, "ogg_vorbisdec_play: %s src_process reports - %s\n", xlplayer->playername, src_strerror(src_error)); oggdecode_playnext(xlplayer); return; } xlplayer_demux_channel_data(xlplayer, xlplayer->src_data.data_out, xlplayer->src_data.output_frames_gen, channels, 1.f); } else { xlplayer->leftbuffer = lo = realloc(xlplayer->leftbuffer, bsiz); xlplayer->rightbuffer = ro = realloc(xlplayer->rightbuffer, bsiz); while ((samples = vorbis_synthesis_pcmout(&self->v, &pcm)) > 0) { bytes += samples * sizeof (float); if (bytes > bsiz) { bsiz += ((bytes - bsiz) / block + 1) * block; xlplayer->leftbuffer = realloc(xlplayer->leftbuffer, bsiz); lo = xlplayer->leftbuffer + wi; xlplayer->rightbuffer = realloc(xlplayer->rightbuffer, bsiz); ro = xlplayer->rightbuffer + wi; } li = pcm[0]; if (od->channels[od->ix] > 1) ri = pcm[1]; else ri = pcm[0]; for (i = 0; i < samples; i++) { gain = xlplayer_get_next_gain(xlplayer); *lo++ = *li++ * gain; *ro++ = *ri++ * gain; } wi += samples; vorbis_synthesis_read(&self->v, samples); } xlplayer->op_buffersize = bytes; if (od->channels[od->ix] == 1) memcpy(xlplayer->rightbuffer, xlplayer->leftbuffer, bytes); } xlplayer_write_channel_data(xlplayer); if (od->op.e_o_s) { fprintf(stderr, "end of stream\n"); oggdecode_playnext(xlplayer); } } int ogg_vorbisdec_init(struct xlplayer *xlplayer) { struct oggdec_vars *od = xlplayer->dec_data; struct vorbisdec_vars *self; int src_error; fprintf(stderr, "ogg_vorbisdec_init was called\n"); if (!(self = calloc(1, sizeof (struct vorbisdec_vars)))) { fprintf(stderr, "ogg_vorbisdec_init: malloc failure\n"); return REJECTED; } ogg_stream_reset_serialno(&od->os, od->serial[od->ix]); fseeko(od->fp, od->bos_offset[od->ix], SEEK_SET); ogg_sync_reset(&od->oy); vorbis_info_init(&self->vi); vorbis_comment_init(&self->vc); if (!(oggdec_get_next_packet(od) && vorbis_synthesis_headerin(&self->vi, &self->vc, &od->op) >= 0 && oggdec_get_next_packet(od) && vorbis_synthesis_headerin(&self->vi, &self->vc, &od->op) >= 0 && oggdec_get_next_packet(od) && vorbis_synthesis_headerin(&self->vi, &self->vc, &od->op) >= 0 && ogg_stream_packetout(&od->os, &od->op) == 0)) { fprintf(stderr, "ogg_vorbisdec_init: failed vorbis header read\n"); goto cleanup2; } if (vorbis_synthesis_init(&self->v, &self->vi)) { fprintf(stderr, "ogg_vorbisdec_init: call to vorbis_synthesis_init failed\n"); goto cleanup2; } if (vorbis_block_init(&self->v, &self->vb)) { fprintf(stderr, "ogg_vorbisdec_init: call to vorbis_block_init failed\n"); goto cleanup1; } if (od->seek_s) { /* seeked streams with less than 0.1 seconds left to be skipped */ if (od->seek_s > (od->duration[od->ix] - 0.5)) { fprintf(stderr, "ogg_vorbisdec_init: seeked stream virtually over - skipping\n"); goto cleanup0; } oggdecode_seek_to_packet(od); } if (od->samplerate[od->ix] != xlplayer->samplerate) { fprintf(stderr, "ogg_vorbisdec_init: configuring resampler\n"); xlplayer->src_state = src_new(xlplayer->rsqual, (od->channels[od->ix] > 1) ? 2 : 1, &src_error); if (src_error) { fprintf(stderr, "ogg_vorbisdec_init: src_new reports %s\n", src_strerror(src_error)); goto cleanup0; } xlplayer->src_data.output_frames = 0; xlplayer->src_data.data_in = xlplayer->src_data.data_out = NULL; xlplayer->src_data.src_ratio = (double)xlplayer->samplerate / (double)od->samplerate[od->ix]; xlplayer->src_data.end_of_input = 0; self->resample = TRUE; } od->dec_data = self; od->dec_cleanup = ogg_vorbisdec_cleanup; xlplayer->dec_play = ogg_vorbisdec_play; return ACCEPTED; cleanup0: vorbis_block_clear(&self->vb); cleanup1: vorbis_dsp_clear(&self->v); cleanup2: vorbis_comment_clear(&self->vc); vorbis_info_clear(&self->vi); free(self); return REJECTED; } idjc-0.8.9/c/smoothing.h0000644000175000017500000000247712113174301011767 00000000000000/* # smoothing.h: Volume smoothing routines for IDJC. # Copyright (C) 2012 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #ifndef SMOOTHING_H #define SMOOTHING_H struct smoothing_mute { int *control; float level; }; void smoothing_mute_init(struct smoothing_mute *, int *control); void smoothing_mute_process(struct smoothing_mute *); struct smoothing_volume { int *control; int tracking; float scale; float level; }; void smoothing_volume_init(struct smoothing_volume *self, int *control, float scale); void smoothing_volume_process(struct smoothing_volume *self); #endif /* SMOOTHING_H */ idjc-0.8.9/c/sourceclient.h0000644000175000017500000000330512113174301012446 00000000000000/* # sourceclient.h: the streaming module of idjc # Copyright (C) 2007 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #ifndef SOURCECLIENT_H #define SOURCECLIENT_H enum { FAILED, SUCCEEDED }; /* use for return values to commandmap(pped) functions */ enum { FALSE, TRUE }; struct encoder; struct streamer; struct recorder; struct audio_feed; struct threads_info { int n_encoders; int n_streamers; int n_recorders; struct encoder **encoder; struct streamer **streamer; struct recorder **recorder; struct audio_feed *audio_feed; }; struct universal_vars { char *command; char *dev_type; char *tab_id; int tab; }; struct commandmap { char *key; int (*function)(struct threads_info *ti, struct universal_vars *uv, void *other_parameter); void *other_parameter; }; #include "encoder.h" #include "streamer.h" #include "recorder.h" #include "audio_feed.h" void sourceclient_init(); int sourceclient_main(); void comms_send(char *message); #endif idjc-0.8.9/c/live_mp2_encoder.c0000644000175000017500000001525712114637001013171 00000000000000/* # live_mp2_encoder.c: encode mp2 files from a live source # Copyright (C) 2012 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "../config.h" #ifdef HAVE_TWOLAME #include #include #include #include #include #include "sourceclient.h" #include "live_mp2_encoder.h" #define READSIZE 1024 typedef jack_default_audio_sample_t sample_t; static void packetize_metadata(struct encoder *e, struct lm2e_data * const s) { size_t l = 4; pthread_mutex_lock(&e->metadata_mutex); l += strlen(e->custom_meta); l += strlen(e->artist); l += strlen(e->title); l += strlen(e->album); if ((s->metadata = realloc(s->metadata, l))) snprintf(s->metadata, l, "%s\n%s\n%s\n%s", e->custom_meta, e->artist, e->title, e->album); else fprintf(stderr, "malloc failure\n"); e->new_metadata = FALSE; pthread_mutex_unlock(&e->metadata_mutex); } static int write_packet(struct encoder *encoder, struct lm2e_data *s, unsigned char *buffer, size_t buffersize, int flags) { struct encoder_op_packet packet; packet.header.bit_rate = encoder->bitrate; packet.header.sample_rate = encoder->target_samplerate; packet.header.n_channels = encoder->n_channels; packet.header.flags = flags; packet.header.data_size = buffersize; packet.header.serial = encoder->oggserial; packet.header.timestamp = encoder->timestamp = s->twolame_samples / (double)encoder->target_samplerate; packet.data = buffer; encoder_write_packet_all(encoder, &packet); return 1; } static void encoder_main(struct encoder *encoder) { struct lm2e_data * const s = encoder->encoder_private; struct encoder_ip_data *id; int mp2bytes = 0; if (encoder->encoder_state == ES_STARTING) { if (!(s->mp2buf = malloc(s->mp2bufsize = (int)(1.25 * 8192.0 + 7200.0)))) { fprintf(stderr, "live_mp2_encoder_main: malloc failure\n"); goto bailout; } if (!(s->gfp = twolame_init())) { fprintf(stderr, "live_mp2_encoder_main: failed to initialise twolame\n"); free(s->mp2buf); goto bailout; } twolame_set_num_channels(s->gfp, encoder->n_channels); twolame_set_brate(s->gfp, encoder->bitrate); twolame_set_in_samplerate(s->gfp, encoder->target_samplerate); twolame_set_out_samplerate(s->gfp, encoder->target_samplerate); twolame_set_mode(s->gfp, s->mpeg_mode); twolame_set_version(s->gfp, s->mpeg_version); if (twolame_init_params(s->gfp)) { fprintf(stderr, "live_mp2_encoder_main: twolame rejected the parameters given\n"); twolame_close(&s->gfp); free(s->mp2buf); goto bailout; } ++encoder->oggserial; s->packetflags = PF_INITIAL; s->twolame_samples = 0; if (encoder->run_request_f) encoder->encoder_state = ES_RUNNING; else encoder->encoder_state = ES_STOPPING; return; } if (encoder->encoder_state == ES_RUNNING) { if (encoder->flush || !encoder->run_request_f) { encoder->flush = FALSE; mp2bytes = twolame_encode_flush(s->gfp, s->mp2buf, s->mp2bufsize); fprintf(stderr, "live_mp2_encoder_main: flushing %d bytes\n", mp2bytes); write_packet(encoder, s, s->mp2buf, mp2bytes, PF_MP2 | PF_FINAL); encoder->encoder_state = ES_STOPPING; } else { if ((id = encoder_get_input_data(encoder, 1024, 8192, NULL))) { mp2bytes = twolame_encode_buffer_float32(s->gfp, id->buffer[0], id->buffer[1], id->qty_samples, s->mp2buf, s->mp2bufsize); encoder_ip_data_free(id); s->twolame_samples += id->qty_samples; write_packet(encoder, s, s->mp2buf, mp2bytes, PF_MP2 | s->packetflags); s->packetflags = PF_UNSET; } if (encoder->new_metadata && encoder->use_metadata) { packetize_metadata(encoder, s); if (s->metadata) write_packet(encoder, s, (unsigned char *)s->metadata, strlen(s->metadata) + 1, PF_METADATA | s->packetflags); s->packetflags = PF_UNSET; } } return; } if (encoder->encoder_state == ES_STOPPING) { twolame_close(&s->gfp); free(s->mp2buf); if (encoder->run_request_f) { encoder->encoder_state = ES_STARTING; return; } } bailout: fprintf(stderr, "live_mp2_encoder_main: performing cleanup\n"); encoder->run_request_f = FALSE; encoder->encoder_state = ES_STOPPED; encoder->run_encoder = NULL; encoder->flush = FALSE; encoder->encoder_private = NULL; if (s->metadata) free(s->metadata); free(s); fprintf(stderr, "live_mp2_encoder_main: finished cleanup\n"); } int live_mp2_encoder_init(struct encoder *encoder, struct encoder_vars *ev) { struct lm2e_data * const s = calloc(1, sizeof (struct lm2e_data)); if (!s) { fprintf(stderr, "live_mp2_encoder: malloc failure\n"); return FAILED; } if (!(strcmp("stereo", ev->mode))) s->mpeg_mode = TWOLAME_STEREO; else if (!(strcmp("jointstereo", ev->mode))) s->mpeg_mode = TWOLAME_JOINT_STEREO; else if (!(strcmp("mono", ev->mode))) s->mpeg_mode = TWOLAME_MONO; switch (atoi(ev->standard)) { case 1: s->mpeg_version = TWOLAME_MPEG1; break; case 2: s->mpeg_version = TWOLAME_MPEG2; break; default: fprintf(stderr, "bad mpeg version\n"); return FAILED; } encoder->encoder_private = s; encoder->run_encoder = encoder_main; return SUCCEEDED; } #endif /* HAVE_TWOLAME */ idjc-0.8.9/c/oggdec.h0000644000175000017500000000772312114637001011211 00000000000000/* # oggdec.h: ogg file parser/decoder for xlplayer # Copyright (C) 2008-2009 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "../config.h" #include #include "xlplayer.h" enum streamtype_t { ST_UNHANDLED, ST_VORBIS, ST_FLAC, ST_SPEEX, ST_OPUS }; struct oggdec_vars { int magic; /* 4545 */ FILE *fp; /* file handle */ double seek_s; /* time offset for first stream to be played */ void *dec_data; /* decoder state variables live here */ void (*dec_cleanup)(struct xlplayer *xlplayer); /* decoder cleanup function */ struct xlplayer *xlplayer; ogg_sync_state oy; /* various ogg decoding variables */ ogg_page og; ogg_stream_state os; ogg_packet op; /* a callback routine for when a new ogg page is obtained */ void (*new_oggpage_callback)(struct oggdec_vars *self, void *cb_userdata); void *new_oggpage_cb_userdata; /* stream info */ off_t *bos_offset; /* file position where each stream starts */ unsigned *initial_granulepos; unsigned *final_granulepos; int *serial; /* the ogg serial numbers */ unsigned *samplerate; /* sample rate per channel */ int *channels; /* number of audio channels */ char **artist; /* artist and title metadata */ char **title; char **album; char **replaygain; /* specifically replaygain_track_gain */ enum streamtype_t *streamtype; /* indicate which type ie vorbis, flac */ double *start_time; /* the time when each stream starts */ double *duration; /* playback time */ int n_streams; /* number of logical streams found */ int ix; /* index of the stream of interest */ off_t eos_offset; /* offset to the end of file */ double total_duration; /* sum total playback time */ }; int oggdecode_reg(struct xlplayer *xlplayer); int oggdecode_get_metainfo(char *pathname, char **artist, char **title, char **album, double *length, char **replaygain); int oggdec_get_next_packet(struct oggdec_vars *self); void oggdecode_dynamic_dispatcher(struct xlplayer *xlplayer); void oggdecode_playnext(struct xlplayer *xlplayer); void oggdecode_seek_to_packet(struct oggdec_vars *self); void oggdecode_set_new_oggpage_callback(struct oggdec_vars *self, void (*cb)(struct oggdec_vars *, void *), void *user_data); void oggdecode_remove_new_oggpage_callback(struct oggdec_vars *self); #ifdef HAVE_OGGFLAC FLAC__StreamDecoderReadStatus oggflac_read_callback(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t *bytes, void *client_data); FLAC__StreamDecoderSeekStatus oggflac_seek_callback(const FLAC__StreamDecoder *decoder, FLAC__uint64 absolute_byte_offset, void *client_data); FLAC__StreamDecoderTellStatus oggflac_tell_callback(const FLAC__StreamDecoder *decoder, FLAC__uint64 *absolute_byte_offset, void *client_data); FLAC__StreamDecoderLengthStatus oggflac_length_callback(const FLAC__StreamDecoder *decoder, FLAC__uint64 *stream_length, void *client_data); FLAC__bool oggflac_eof_callback(const FLAC__StreamDecoder *decoder, void *client_data); void oggflac_error_callback(const FLAC__StreamDecoder *decoder, FLAC__StreamDecoderErrorStatus se, void *client_data); #endif /* HAVE_OGGFLAC */ idjc-0.8.9/c/dyn_lame.h0000644000175000017500000000160211717511070011544 00000000000000/* # dyn_lame.h: dynamic linking for LAME # Copyright (C) 2009 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "../config.h" #ifdef DYN_LAME int dyn_lame_init(); #endif /* DYN_LAME */ idjc-0.8.9/c/vorbistagparse.h0000644000175000017500000000674212114637001013014 00000000000000/* # vorbistagparse.h: parse vorbis tags # Copyright (C) 2013 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include struct vtag; struct vtag_block_private; struct vtag_block { char *data; size_t length; struct vtag_block_private *private; }; enum vtag_error {VE_OK, VE_ALLOCATION, VE_CROPPED, VE_TRAILING, VE_SHORT_COMMENT, VE_MISSING_SEPARATOR, VE_MISSING_VALUE, VE_INVALID_KEY}; enum vtag_lookup_mode {VLM_FIRST, /* the first tag of given key */ VLM_LAST, /* last tag of a given key */ VLM_MERGE /* combine like key data into one string */ }; /* vtag_new: a new empty vorbis tag * vendor_string: the vendor string of course * error: optional, can point to NULL */ struct vtag *vtag_new(const char *vendor_string, int *error); /* vtag_parse: parse a vorbis tag data chunk * the data chunk must be framed exactly to not be rejected * all tags within must be of key=value form and keys * must only contain legal characters * error: optional, can point to NULL */ struct vtag *vtag_parse(void *data, size_t bytes, int *error); /* vtag_comment_count: * return value: the number of comments attached to a given key, key */ int vtag_comment_count(struct vtag *s, char const *key); /* vtag_lookup: look up a tag by its key * key: this is case independent * mode: how to handle multiple keys * sep: separator string in VLM_MERGE mode or NULL * return value: the tag data requested or NULL -- the caller is * responsible for freeing the returned data */ char *vtag_lookup(struct vtag *s, char const *key, enum vtag_lookup_mode mode, char *sep); /* vtag_append: append a new key=value comment * key: must consist of the printable ASCII characters 0x20 to 0x7D inclusive * value: a string that must not have zero length */ int vtag_append(struct vtag *s, char const *key, char const *value); /* vtag_block_init: initialise output data structure for vtag_serialize * return value: 0 if failure, otherwise success */ int vtag_block_init(struct vtag_block *block); /* vtag_block_cleanup: frees memory */ void vtag_block_cleanup(struct vtag_block *block); /* vtag_serialize: constructs a new vorbis comment block * * block: the output data structure initialised with vtag_block_init * prefix: optional prefix string for the data block e.g. OpusTags or NULL * return value: VE_OK or VE_ALLOCATION */ int vtag_serialize(struct vtag *s, struct vtag_block *block, char const *prefix); /* vtag_encoder: returns the vendor string of the vorbis tag */ char const *vtag_vendor_string(struct vtag *); /* vtag_cleanup: dispose of data structure returned by vtag_parse */ void vtag_cleanup(struct vtag *); /* vtag_strerror: * return value: human readable form of the error code */ char const *vtag_strerror(int error); idjc-0.8.9/c/Makefile.in0000644000175000017500000020676312142730017011664 00000000000000# Makefile.in generated by automake 1.12.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2012 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__make_dryrun = \ { \ am__dry=no; \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ *) \ for am__flg in $$MAKEFLAGS; do \ case $$am__flg in \ *=*|--*) ;; \ *n*) am__dry=yes; break;; \ esac; \ done;; \ esac; \ test $$am__dry = yes; \ } pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = c DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(top_srcdir)/depcomp ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(libdir)" LTLIBRARIES = $(lib_LTLIBRARIES) am__DEPENDENCIES_1 = idjc_la_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) am_idjc_la_OBJECTS = idjc_la-agc.lo idjc_la-audio_feed.lo \ idjc_la-avcodecdecode.lo idjc_la-bsdcompat.lo \ idjc_la-compressor.lo idjc_la-dbconvert.lo idjc_la-dyn_lame.lo \ idjc_la-encoder.lo idjc_la-fade.lo idjc_la-flacdecode.lo \ idjc_la-ialloc.lo idjc_la-id3.lo idjc_la-kvpdict.lo \ idjc_la-kvpparse.lo idjc_la-live_mp3_encoder.lo \ idjc_la-live_ogg_encoder.lo idjc_la-live_oggflac_encoder.lo \ idjc_la-live_oggspeex_encoder.lo idjc_la-main.lo \ idjc_la-mic.lo idjc_la-mixer.lo idjc_la-mp3dec.lo \ idjc_la-mp3tagread.lo idjc_la-ogg_flac_dec.lo \ idjc_la-ogg_speex_dec.lo idjc_la-ogg_vorbis_dec.lo \ idjc_la-oggdec.lo idjc_la-peakfilter.lo idjc_la-recorder.lo \ idjc_la-sig.lo idjc_la-sndfiledecode.lo idjc_la-sndfileinfo.lo \ idjc_la-sourceclient.lo idjc_la-speextag.lo \ idjc_la-streamer.lo idjc_la-xlplayer.lo \ idjc_la-live_mp2_encoder.lo idjc_la-avcodec_encoder.lo \ idjc_la-smoothing.lo idjc_la-dyn_mpg123.lo \ idjc_la-ogg_opus_dec.lo idjc_la-vorbistagparse.lo \ idjc_la-live_oggopus_encoder.lo idjc_la_OBJECTS = $(am_idjc_la_OBJECTS) idjc_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(idjc_la_CFLAGS) $(CFLAGS) \ $(idjc_la_LDFLAGS) $(LDFLAGS) -o $@ DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ SOURCES = $(idjc_la_SOURCES) DIST_SOURCES = $(idjc_la_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ COPYRIGHT_YEAR = @COPYRIGHT_YEAR@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ DYN_LAME = @DYN_LAME@ DYN_LDFLAGS = @DYN_LDFLAGS@ DYN_LIBS = @DYN_LIBS@ DYN_MPG123 = @DYN_MPG123@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ EXT = @EXT@ FGREP = @FGREP@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ HAVE_AVCODEC = @HAVE_AVCODEC@ HAVE_AVFORMAT = @HAVE_AVFORMAT@ HAVE_AVUTIL = @HAVE_AVUTIL@ HAVE_FLAC = @HAVE_FLAC@ HAVE_OGGFLAC = @HAVE_OGGFLAC@ HAVE_OPUS = @HAVE_OPUS@ HAVE_SPEEX = @HAVE_SPEEX@ HAVE_TWOLAME = @HAVE_TWOLAME@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBAVCODEC_CFLAGS = @LIBAVCODEC_CFLAGS@ LIBAVCODEC_LIBS = @LIBAVCODEC_LIBS@ LIBAVFORMAT_CFLAGS = @LIBAVFORMAT_CFLAGS@ LIBAVFORMAT_LIBS = @LIBAVFORMAT_LIBS@ LIBAVUTIL_CFLAGS = @LIBAVUTIL_CFLAGS@ LIBAVUTIL_LIBS = @LIBAVUTIL_LIBS@ LIBFLAC_CFLAGS = @LIBFLAC_CFLAGS@ LIBFLAC_LIBS = @LIBFLAC_LIBS@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBJACK_CFLAGS = @LIBJACK_CFLAGS@ LIBJACK_LIBS = @LIBJACK_LIBS@ LIBM = @LIBM@ LIBMP3LAME = @LIBMP3LAME@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSAMPLERATE_CFLAGS = @LIBSAMPLERATE_CFLAGS@ LIBSAMPLERATE_LIBS = @LIBSAMPLERATE_LIBS@ LIBSNDFILE_CFLAGS = @LIBSNDFILE_CFLAGS@ LIBSNDFILE_LIBS = @LIBSNDFILE_LIBS@ LIBSPEEX_CFLAGS = @LIBSPEEX_CFLAGS@ LIBSPEEX_LIBS = @LIBSPEEX_LIBS@ LIBTOOL = @LIBTOOL@ LIBVORBISENC_CFLAGS = @LIBVORBISENC_CFLAGS@ LIBVORBISENC_LIBS = @LIBVORBISENC_LIBS@ LIBVORBIS_CFLAGS = @LIBVORBIS_CFLAGS@ LIBVORBIS_LIBS = @LIBVORBIS_LIBS@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MPG123 = @MPG123@ MPG123_CFLAGS = @MPG123_CFLAGS@ MPG123_LIBS = @MPG123_LIBS@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OPUS_CFLAGS = @OPUS_CFLAGS@ OPUS_LIBS = @OPUS_LIBS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ PYGTK_CFLAGS = @PYGTK_CFLAGS@ PYGTK_LIBS = @PYGTK_LIBS@ PYTHON = @PYTHON@ PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ PYTHON_PLATFORM = @PYTHON_PLATFORM@ PYTHON_PREFIX = @PYTHON_PREFIX@ PYTHON_VERSION = @PYTHON_VERSION@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SHOUTIDJC_CFLAGS = @SHOUTIDJC_CFLAGS@ SHOUTIDJC_LIBS = @SHOUTIDJC_LIBS@ STRIP = @STRIP@ TWOLAME_CFLAGS = @TWOLAME_CFLAGS@ TWOLAME_LIBS = @TWOLAME_LIBS@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ pkgpyexecdir = @pkgpyexecdir@ pkgpythondir = @pkgpythondir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ pyexecdir = @pyexecdir@ pythondir = @pythondir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ lib_LTLIBRARIES = idjc.la idjc_la_SOURCES = agc.c agc.h audio_feed.c audio_feed.h avcodecdecode.c avcodecdecode.h bsdcompat.c bsdcompat.h \ \ compressor.c compressor.h dbconvert.c dbconvert.h dyn_lame.c dyn_lame.h encoder.c \ \ encoder.h fade.c fade.h flacdecode.c flacdecode.h gnusource.h ialloc.c ialloc.h id3.c id3.h kvpdict.c \ \ kvpdict.h kvpparse.c kvpparse.h lame.h live_mp3_encoder.c live_mp3_encoder.h live_ogg_encoder.c \ \ live_ogg_encoder.h live_oggflac_encoder.c live_oggflac_encoder.h live_oggspeex_encoder.c \ \ live_oggspeex_encoder.h main.c main.h mic.c mic.h mixer.c mixer.h mp3dec.c mp3dec.h mp3tagread.c \ \ mp3tagread.h ogg_flac_dec.c ogg_flac_dec.h ogg_speex_dec.c ogg_speex_dec.h ogg_vorbis_dec.c \ \ ogg_vorbis_dec.h oggdec.c oggdec.h peakfilter.c peakfilter.h recorder.c recorder.h sig.c sig.h \ \ sndfiledecode.c sndfiledecode.h sndfileinfo.c sndfileinfo.h sourceclient.c sourceclient.h speextag.c \ \ speextag.h streamer.c streamer.h xlplayer.c xlplayer.h live_mp2_encoder.c live_mp2_encoder.h \ \ avcodec_encoder.c avcodec_encoder.h smoothing.c smoothing.h dyn_mpg123.c dyn_mpg123.h mpg123.h \ \ ogg_opus_dec.c ogg_opus_dec.h vorbistagparse.c vorbistagparse.h live_oggopus_encoder.c \ \ live_oggopus_encoder.h idjc_la_CFLAGS = ${GLIB_CFLAGS} ${LIBAVCODEC_CFLAGS} ${LIBAVFORMAT_CFLAGS} ${LIBAVUTIL_CFLAGS} ${LIBFLAC_CFLAGS} \ \ ${LIBJACK_CFLAGS} ${MPG123_CFLAGS} ${LIBSAMPLERATE_CFLAGS} ${SHOUTIDJC_CFLAGS} ${LIBSNDFILE_CFLAGS} \ \ ${LIBSPEEX_CFLAGS} ${LIBVORBISENC_CFLAGS} ${LIBVORBIS_CFLAGS} ${TWOLAME_CFLAGS} ${OPUS_CFLAGS} \ \ -O2 -Wall -std=gnu99 idjc_la_LIBADD = ${DYN_LIBS} ${GLIB_LIBS} ${LIBAVCODEC_LIBS} ${LIBAVFORMAT_LIBS} ${LIBAVUTIL_LIBS} ${LIBFLAC_LIBS} \ \ ${LIBJACK_LIBS} ${MPG123_LIBS} ${LIBMP3LAME} ${LIBM} ${LIBSAMPLERATE_LIBS} ${SHOUTIDJC_LIBS} \ \ ${LIBSNDFILE_LIBS} ${LIBSPEEX_LIBS} ${LIBVORBISENC_LIBS} ${LIBVORBIS_LIBS} ${TWOLAME_LIBS} \ \ ${OPUS_LIBS} -lpthread idjc_la_LDFLAGS = ${DYN_LDFLAGS} -module all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu c/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu c/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-libLTLIBRARIES: $(lib_LTLIBRARIES) @$(NORMAL_INSTALL) @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ list2=; for p in $$list; do \ if test -f $$p; then \ list2="$$list2 $$p"; \ else :; fi; \ done; \ test -z "$$list2" || { \ echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ } uninstall-libLTLIBRARIES: @$(NORMAL_UNINSTALL) @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ for p in $$list; do \ $(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ done clean-libLTLIBRARIES: -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) @list='$(lib_LTLIBRARIES)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } idjc.la: $(idjc_la_OBJECTS) $(idjc_la_DEPENDENCIES) $(EXTRA_idjc_la_DEPENDENCIES) $(idjc_la_LINK) -rpath $(libdir) $(idjc_la_OBJECTS) $(idjc_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-agc.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-audio_feed.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-avcodec_encoder.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-avcodecdecode.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-bsdcompat.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-compressor.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-dbconvert.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-dyn_lame.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-dyn_mpg123.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-encoder.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-fade.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-flacdecode.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-ialloc.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-id3.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-kvpdict.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-kvpparse.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-live_mp2_encoder.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-live_mp3_encoder.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-live_ogg_encoder.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-live_oggflac_encoder.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-live_oggopus_encoder.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-live_oggspeex_encoder.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-main.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-mic.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-mixer.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-mp3dec.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-mp3tagread.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-ogg_flac_dec.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-ogg_opus_dec.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-ogg_speex_dec.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-ogg_vorbis_dec.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-oggdec.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-peakfilter.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-recorder.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-sig.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-smoothing.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-sndfiledecode.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-sndfileinfo.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-sourceclient.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-speextag.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-streamer.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-vorbistagparse.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/idjc_la-xlplayer.Plo@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< idjc_la-agc.lo: agc.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-agc.lo -MD -MP -MF $(DEPDIR)/idjc_la-agc.Tpo -c -o idjc_la-agc.lo `test -f 'agc.c' || echo '$(srcdir)/'`agc.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-agc.Tpo $(DEPDIR)/idjc_la-agc.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='agc.c' object='idjc_la-agc.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-agc.lo `test -f 'agc.c' || echo '$(srcdir)/'`agc.c idjc_la-audio_feed.lo: audio_feed.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-audio_feed.lo -MD -MP -MF $(DEPDIR)/idjc_la-audio_feed.Tpo -c -o idjc_la-audio_feed.lo `test -f 'audio_feed.c' || echo '$(srcdir)/'`audio_feed.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-audio_feed.Tpo $(DEPDIR)/idjc_la-audio_feed.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='audio_feed.c' object='idjc_la-audio_feed.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-audio_feed.lo `test -f 'audio_feed.c' || echo '$(srcdir)/'`audio_feed.c idjc_la-avcodecdecode.lo: avcodecdecode.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-avcodecdecode.lo -MD -MP -MF $(DEPDIR)/idjc_la-avcodecdecode.Tpo -c -o idjc_la-avcodecdecode.lo `test -f 'avcodecdecode.c' || echo '$(srcdir)/'`avcodecdecode.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-avcodecdecode.Tpo $(DEPDIR)/idjc_la-avcodecdecode.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='avcodecdecode.c' object='idjc_la-avcodecdecode.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-avcodecdecode.lo `test -f 'avcodecdecode.c' || echo '$(srcdir)/'`avcodecdecode.c idjc_la-bsdcompat.lo: bsdcompat.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-bsdcompat.lo -MD -MP -MF $(DEPDIR)/idjc_la-bsdcompat.Tpo -c -o idjc_la-bsdcompat.lo `test -f 'bsdcompat.c' || echo '$(srcdir)/'`bsdcompat.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-bsdcompat.Tpo $(DEPDIR)/idjc_la-bsdcompat.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bsdcompat.c' object='idjc_la-bsdcompat.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-bsdcompat.lo `test -f 'bsdcompat.c' || echo '$(srcdir)/'`bsdcompat.c idjc_la-compressor.lo: compressor.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-compressor.lo -MD -MP -MF $(DEPDIR)/idjc_la-compressor.Tpo -c -o idjc_la-compressor.lo `test -f 'compressor.c' || echo '$(srcdir)/'`compressor.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-compressor.Tpo $(DEPDIR)/idjc_la-compressor.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='compressor.c' object='idjc_la-compressor.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-compressor.lo `test -f 'compressor.c' || echo '$(srcdir)/'`compressor.c idjc_la-dbconvert.lo: dbconvert.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-dbconvert.lo -MD -MP -MF $(DEPDIR)/idjc_la-dbconvert.Tpo -c -o idjc_la-dbconvert.lo `test -f 'dbconvert.c' || echo '$(srcdir)/'`dbconvert.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-dbconvert.Tpo $(DEPDIR)/idjc_la-dbconvert.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='dbconvert.c' object='idjc_la-dbconvert.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-dbconvert.lo `test -f 'dbconvert.c' || echo '$(srcdir)/'`dbconvert.c idjc_la-dyn_lame.lo: dyn_lame.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-dyn_lame.lo -MD -MP -MF $(DEPDIR)/idjc_la-dyn_lame.Tpo -c -o idjc_la-dyn_lame.lo `test -f 'dyn_lame.c' || echo '$(srcdir)/'`dyn_lame.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-dyn_lame.Tpo $(DEPDIR)/idjc_la-dyn_lame.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='dyn_lame.c' object='idjc_la-dyn_lame.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-dyn_lame.lo `test -f 'dyn_lame.c' || echo '$(srcdir)/'`dyn_lame.c idjc_la-encoder.lo: encoder.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-encoder.lo -MD -MP -MF $(DEPDIR)/idjc_la-encoder.Tpo -c -o idjc_la-encoder.lo `test -f 'encoder.c' || echo '$(srcdir)/'`encoder.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-encoder.Tpo $(DEPDIR)/idjc_la-encoder.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='encoder.c' object='idjc_la-encoder.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-encoder.lo `test -f 'encoder.c' || echo '$(srcdir)/'`encoder.c idjc_la-fade.lo: fade.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-fade.lo -MD -MP -MF $(DEPDIR)/idjc_la-fade.Tpo -c -o idjc_la-fade.lo `test -f 'fade.c' || echo '$(srcdir)/'`fade.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-fade.Tpo $(DEPDIR)/idjc_la-fade.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fade.c' object='idjc_la-fade.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-fade.lo `test -f 'fade.c' || echo '$(srcdir)/'`fade.c idjc_la-flacdecode.lo: flacdecode.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-flacdecode.lo -MD -MP -MF $(DEPDIR)/idjc_la-flacdecode.Tpo -c -o idjc_la-flacdecode.lo `test -f 'flacdecode.c' || echo '$(srcdir)/'`flacdecode.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-flacdecode.Tpo $(DEPDIR)/idjc_la-flacdecode.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='flacdecode.c' object='idjc_la-flacdecode.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-flacdecode.lo `test -f 'flacdecode.c' || echo '$(srcdir)/'`flacdecode.c idjc_la-ialloc.lo: ialloc.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-ialloc.lo -MD -MP -MF $(DEPDIR)/idjc_la-ialloc.Tpo -c -o idjc_la-ialloc.lo `test -f 'ialloc.c' || echo '$(srcdir)/'`ialloc.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-ialloc.Tpo $(DEPDIR)/idjc_la-ialloc.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ialloc.c' object='idjc_la-ialloc.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-ialloc.lo `test -f 'ialloc.c' || echo '$(srcdir)/'`ialloc.c idjc_la-id3.lo: id3.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-id3.lo -MD -MP -MF $(DEPDIR)/idjc_la-id3.Tpo -c -o idjc_la-id3.lo `test -f 'id3.c' || echo '$(srcdir)/'`id3.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-id3.Tpo $(DEPDIR)/idjc_la-id3.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='id3.c' object='idjc_la-id3.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-id3.lo `test -f 'id3.c' || echo '$(srcdir)/'`id3.c idjc_la-kvpdict.lo: kvpdict.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-kvpdict.lo -MD -MP -MF $(DEPDIR)/idjc_la-kvpdict.Tpo -c -o idjc_la-kvpdict.lo `test -f 'kvpdict.c' || echo '$(srcdir)/'`kvpdict.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-kvpdict.Tpo $(DEPDIR)/idjc_la-kvpdict.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kvpdict.c' object='idjc_la-kvpdict.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-kvpdict.lo `test -f 'kvpdict.c' || echo '$(srcdir)/'`kvpdict.c idjc_la-kvpparse.lo: kvpparse.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-kvpparse.lo -MD -MP -MF $(DEPDIR)/idjc_la-kvpparse.Tpo -c -o idjc_la-kvpparse.lo `test -f 'kvpparse.c' || echo '$(srcdir)/'`kvpparse.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-kvpparse.Tpo $(DEPDIR)/idjc_la-kvpparse.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kvpparse.c' object='idjc_la-kvpparse.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-kvpparse.lo `test -f 'kvpparse.c' || echo '$(srcdir)/'`kvpparse.c idjc_la-live_mp3_encoder.lo: live_mp3_encoder.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-live_mp3_encoder.lo -MD -MP -MF $(DEPDIR)/idjc_la-live_mp3_encoder.Tpo -c -o idjc_la-live_mp3_encoder.lo `test -f 'live_mp3_encoder.c' || echo '$(srcdir)/'`live_mp3_encoder.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-live_mp3_encoder.Tpo $(DEPDIR)/idjc_la-live_mp3_encoder.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='live_mp3_encoder.c' object='idjc_la-live_mp3_encoder.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-live_mp3_encoder.lo `test -f 'live_mp3_encoder.c' || echo '$(srcdir)/'`live_mp3_encoder.c idjc_la-live_ogg_encoder.lo: live_ogg_encoder.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-live_ogg_encoder.lo -MD -MP -MF $(DEPDIR)/idjc_la-live_ogg_encoder.Tpo -c -o idjc_la-live_ogg_encoder.lo `test -f 'live_ogg_encoder.c' || echo '$(srcdir)/'`live_ogg_encoder.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-live_ogg_encoder.Tpo $(DEPDIR)/idjc_la-live_ogg_encoder.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='live_ogg_encoder.c' object='idjc_la-live_ogg_encoder.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-live_ogg_encoder.lo `test -f 'live_ogg_encoder.c' || echo '$(srcdir)/'`live_ogg_encoder.c idjc_la-live_oggflac_encoder.lo: live_oggflac_encoder.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-live_oggflac_encoder.lo -MD -MP -MF $(DEPDIR)/idjc_la-live_oggflac_encoder.Tpo -c -o idjc_la-live_oggflac_encoder.lo `test -f 'live_oggflac_encoder.c' || echo '$(srcdir)/'`live_oggflac_encoder.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-live_oggflac_encoder.Tpo $(DEPDIR)/idjc_la-live_oggflac_encoder.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='live_oggflac_encoder.c' object='idjc_la-live_oggflac_encoder.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-live_oggflac_encoder.lo `test -f 'live_oggflac_encoder.c' || echo '$(srcdir)/'`live_oggflac_encoder.c idjc_la-live_oggspeex_encoder.lo: live_oggspeex_encoder.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-live_oggspeex_encoder.lo -MD -MP -MF $(DEPDIR)/idjc_la-live_oggspeex_encoder.Tpo -c -o idjc_la-live_oggspeex_encoder.lo `test -f 'live_oggspeex_encoder.c' || echo '$(srcdir)/'`live_oggspeex_encoder.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-live_oggspeex_encoder.Tpo $(DEPDIR)/idjc_la-live_oggspeex_encoder.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='live_oggspeex_encoder.c' object='idjc_la-live_oggspeex_encoder.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-live_oggspeex_encoder.lo `test -f 'live_oggspeex_encoder.c' || echo '$(srcdir)/'`live_oggspeex_encoder.c idjc_la-main.lo: main.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-main.lo -MD -MP -MF $(DEPDIR)/idjc_la-main.Tpo -c -o idjc_la-main.lo `test -f 'main.c' || echo '$(srcdir)/'`main.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-main.Tpo $(DEPDIR)/idjc_la-main.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='main.c' object='idjc_la-main.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-main.lo `test -f 'main.c' || echo '$(srcdir)/'`main.c idjc_la-mic.lo: mic.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-mic.lo -MD -MP -MF $(DEPDIR)/idjc_la-mic.Tpo -c -o idjc_la-mic.lo `test -f 'mic.c' || echo '$(srcdir)/'`mic.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-mic.Tpo $(DEPDIR)/idjc_la-mic.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mic.c' object='idjc_la-mic.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-mic.lo `test -f 'mic.c' || echo '$(srcdir)/'`mic.c idjc_la-mixer.lo: mixer.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-mixer.lo -MD -MP -MF $(DEPDIR)/idjc_la-mixer.Tpo -c -o idjc_la-mixer.lo `test -f 'mixer.c' || echo '$(srcdir)/'`mixer.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-mixer.Tpo $(DEPDIR)/idjc_la-mixer.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mixer.c' object='idjc_la-mixer.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-mixer.lo `test -f 'mixer.c' || echo '$(srcdir)/'`mixer.c idjc_la-mp3dec.lo: mp3dec.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-mp3dec.lo -MD -MP -MF $(DEPDIR)/idjc_la-mp3dec.Tpo -c -o idjc_la-mp3dec.lo `test -f 'mp3dec.c' || echo '$(srcdir)/'`mp3dec.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-mp3dec.Tpo $(DEPDIR)/idjc_la-mp3dec.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mp3dec.c' object='idjc_la-mp3dec.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-mp3dec.lo `test -f 'mp3dec.c' || echo '$(srcdir)/'`mp3dec.c idjc_la-mp3tagread.lo: mp3tagread.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-mp3tagread.lo -MD -MP -MF $(DEPDIR)/idjc_la-mp3tagread.Tpo -c -o idjc_la-mp3tagread.lo `test -f 'mp3tagread.c' || echo '$(srcdir)/'`mp3tagread.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-mp3tagread.Tpo $(DEPDIR)/idjc_la-mp3tagread.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mp3tagread.c' object='idjc_la-mp3tagread.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-mp3tagread.lo `test -f 'mp3tagread.c' || echo '$(srcdir)/'`mp3tagread.c idjc_la-ogg_flac_dec.lo: ogg_flac_dec.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-ogg_flac_dec.lo -MD -MP -MF $(DEPDIR)/idjc_la-ogg_flac_dec.Tpo -c -o idjc_la-ogg_flac_dec.lo `test -f 'ogg_flac_dec.c' || echo '$(srcdir)/'`ogg_flac_dec.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-ogg_flac_dec.Tpo $(DEPDIR)/idjc_la-ogg_flac_dec.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ogg_flac_dec.c' object='idjc_la-ogg_flac_dec.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-ogg_flac_dec.lo `test -f 'ogg_flac_dec.c' || echo '$(srcdir)/'`ogg_flac_dec.c idjc_la-ogg_speex_dec.lo: ogg_speex_dec.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-ogg_speex_dec.lo -MD -MP -MF $(DEPDIR)/idjc_la-ogg_speex_dec.Tpo -c -o idjc_la-ogg_speex_dec.lo `test -f 'ogg_speex_dec.c' || echo '$(srcdir)/'`ogg_speex_dec.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-ogg_speex_dec.Tpo $(DEPDIR)/idjc_la-ogg_speex_dec.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ogg_speex_dec.c' object='idjc_la-ogg_speex_dec.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-ogg_speex_dec.lo `test -f 'ogg_speex_dec.c' || echo '$(srcdir)/'`ogg_speex_dec.c idjc_la-ogg_vorbis_dec.lo: ogg_vorbis_dec.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-ogg_vorbis_dec.lo -MD -MP -MF $(DEPDIR)/idjc_la-ogg_vorbis_dec.Tpo -c -o idjc_la-ogg_vorbis_dec.lo `test -f 'ogg_vorbis_dec.c' || echo '$(srcdir)/'`ogg_vorbis_dec.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-ogg_vorbis_dec.Tpo $(DEPDIR)/idjc_la-ogg_vorbis_dec.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ogg_vorbis_dec.c' object='idjc_la-ogg_vorbis_dec.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-ogg_vorbis_dec.lo `test -f 'ogg_vorbis_dec.c' || echo '$(srcdir)/'`ogg_vorbis_dec.c idjc_la-oggdec.lo: oggdec.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-oggdec.lo -MD -MP -MF $(DEPDIR)/idjc_la-oggdec.Tpo -c -o idjc_la-oggdec.lo `test -f 'oggdec.c' || echo '$(srcdir)/'`oggdec.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-oggdec.Tpo $(DEPDIR)/idjc_la-oggdec.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='oggdec.c' object='idjc_la-oggdec.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-oggdec.lo `test -f 'oggdec.c' || echo '$(srcdir)/'`oggdec.c idjc_la-peakfilter.lo: peakfilter.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-peakfilter.lo -MD -MP -MF $(DEPDIR)/idjc_la-peakfilter.Tpo -c -o idjc_la-peakfilter.lo `test -f 'peakfilter.c' || echo '$(srcdir)/'`peakfilter.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-peakfilter.Tpo $(DEPDIR)/idjc_la-peakfilter.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='peakfilter.c' object='idjc_la-peakfilter.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-peakfilter.lo `test -f 'peakfilter.c' || echo '$(srcdir)/'`peakfilter.c idjc_la-recorder.lo: recorder.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-recorder.lo -MD -MP -MF $(DEPDIR)/idjc_la-recorder.Tpo -c -o idjc_la-recorder.lo `test -f 'recorder.c' || echo '$(srcdir)/'`recorder.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-recorder.Tpo $(DEPDIR)/idjc_la-recorder.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='recorder.c' object='idjc_la-recorder.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-recorder.lo `test -f 'recorder.c' || echo '$(srcdir)/'`recorder.c idjc_la-sig.lo: sig.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-sig.lo -MD -MP -MF $(DEPDIR)/idjc_la-sig.Tpo -c -o idjc_la-sig.lo `test -f 'sig.c' || echo '$(srcdir)/'`sig.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-sig.Tpo $(DEPDIR)/idjc_la-sig.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='sig.c' object='idjc_la-sig.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-sig.lo `test -f 'sig.c' || echo '$(srcdir)/'`sig.c idjc_la-sndfiledecode.lo: sndfiledecode.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-sndfiledecode.lo -MD -MP -MF $(DEPDIR)/idjc_la-sndfiledecode.Tpo -c -o idjc_la-sndfiledecode.lo `test -f 'sndfiledecode.c' || echo '$(srcdir)/'`sndfiledecode.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-sndfiledecode.Tpo $(DEPDIR)/idjc_la-sndfiledecode.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='sndfiledecode.c' object='idjc_la-sndfiledecode.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-sndfiledecode.lo `test -f 'sndfiledecode.c' || echo '$(srcdir)/'`sndfiledecode.c idjc_la-sndfileinfo.lo: sndfileinfo.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-sndfileinfo.lo -MD -MP -MF $(DEPDIR)/idjc_la-sndfileinfo.Tpo -c -o idjc_la-sndfileinfo.lo `test -f 'sndfileinfo.c' || echo '$(srcdir)/'`sndfileinfo.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-sndfileinfo.Tpo $(DEPDIR)/idjc_la-sndfileinfo.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='sndfileinfo.c' object='idjc_la-sndfileinfo.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-sndfileinfo.lo `test -f 'sndfileinfo.c' || echo '$(srcdir)/'`sndfileinfo.c idjc_la-sourceclient.lo: sourceclient.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-sourceclient.lo -MD -MP -MF $(DEPDIR)/idjc_la-sourceclient.Tpo -c -o idjc_la-sourceclient.lo `test -f 'sourceclient.c' || echo '$(srcdir)/'`sourceclient.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-sourceclient.Tpo $(DEPDIR)/idjc_la-sourceclient.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='sourceclient.c' object='idjc_la-sourceclient.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-sourceclient.lo `test -f 'sourceclient.c' || echo '$(srcdir)/'`sourceclient.c idjc_la-speextag.lo: speextag.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-speextag.lo -MD -MP -MF $(DEPDIR)/idjc_la-speextag.Tpo -c -o idjc_la-speextag.lo `test -f 'speextag.c' || echo '$(srcdir)/'`speextag.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-speextag.Tpo $(DEPDIR)/idjc_la-speextag.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='speextag.c' object='idjc_la-speextag.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-speextag.lo `test -f 'speextag.c' || echo '$(srcdir)/'`speextag.c idjc_la-streamer.lo: streamer.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-streamer.lo -MD -MP -MF $(DEPDIR)/idjc_la-streamer.Tpo -c -o idjc_la-streamer.lo `test -f 'streamer.c' || echo '$(srcdir)/'`streamer.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-streamer.Tpo $(DEPDIR)/idjc_la-streamer.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='streamer.c' object='idjc_la-streamer.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-streamer.lo `test -f 'streamer.c' || echo '$(srcdir)/'`streamer.c idjc_la-xlplayer.lo: xlplayer.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-xlplayer.lo -MD -MP -MF $(DEPDIR)/idjc_la-xlplayer.Tpo -c -o idjc_la-xlplayer.lo `test -f 'xlplayer.c' || echo '$(srcdir)/'`xlplayer.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-xlplayer.Tpo $(DEPDIR)/idjc_la-xlplayer.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='xlplayer.c' object='idjc_la-xlplayer.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-xlplayer.lo `test -f 'xlplayer.c' || echo '$(srcdir)/'`xlplayer.c idjc_la-live_mp2_encoder.lo: live_mp2_encoder.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-live_mp2_encoder.lo -MD -MP -MF $(DEPDIR)/idjc_la-live_mp2_encoder.Tpo -c -o idjc_la-live_mp2_encoder.lo `test -f 'live_mp2_encoder.c' || echo '$(srcdir)/'`live_mp2_encoder.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-live_mp2_encoder.Tpo $(DEPDIR)/idjc_la-live_mp2_encoder.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='live_mp2_encoder.c' object='idjc_la-live_mp2_encoder.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-live_mp2_encoder.lo `test -f 'live_mp2_encoder.c' || echo '$(srcdir)/'`live_mp2_encoder.c idjc_la-avcodec_encoder.lo: avcodec_encoder.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-avcodec_encoder.lo -MD -MP -MF $(DEPDIR)/idjc_la-avcodec_encoder.Tpo -c -o idjc_la-avcodec_encoder.lo `test -f 'avcodec_encoder.c' || echo '$(srcdir)/'`avcodec_encoder.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-avcodec_encoder.Tpo $(DEPDIR)/idjc_la-avcodec_encoder.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='avcodec_encoder.c' object='idjc_la-avcodec_encoder.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-avcodec_encoder.lo `test -f 'avcodec_encoder.c' || echo '$(srcdir)/'`avcodec_encoder.c idjc_la-smoothing.lo: smoothing.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-smoothing.lo -MD -MP -MF $(DEPDIR)/idjc_la-smoothing.Tpo -c -o idjc_la-smoothing.lo `test -f 'smoothing.c' || echo '$(srcdir)/'`smoothing.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-smoothing.Tpo $(DEPDIR)/idjc_la-smoothing.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='smoothing.c' object='idjc_la-smoothing.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-smoothing.lo `test -f 'smoothing.c' || echo '$(srcdir)/'`smoothing.c idjc_la-dyn_mpg123.lo: dyn_mpg123.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-dyn_mpg123.lo -MD -MP -MF $(DEPDIR)/idjc_la-dyn_mpg123.Tpo -c -o idjc_la-dyn_mpg123.lo `test -f 'dyn_mpg123.c' || echo '$(srcdir)/'`dyn_mpg123.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-dyn_mpg123.Tpo $(DEPDIR)/idjc_la-dyn_mpg123.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='dyn_mpg123.c' object='idjc_la-dyn_mpg123.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-dyn_mpg123.lo `test -f 'dyn_mpg123.c' || echo '$(srcdir)/'`dyn_mpg123.c idjc_la-ogg_opus_dec.lo: ogg_opus_dec.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-ogg_opus_dec.lo -MD -MP -MF $(DEPDIR)/idjc_la-ogg_opus_dec.Tpo -c -o idjc_la-ogg_opus_dec.lo `test -f 'ogg_opus_dec.c' || echo '$(srcdir)/'`ogg_opus_dec.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-ogg_opus_dec.Tpo $(DEPDIR)/idjc_la-ogg_opus_dec.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ogg_opus_dec.c' object='idjc_la-ogg_opus_dec.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-ogg_opus_dec.lo `test -f 'ogg_opus_dec.c' || echo '$(srcdir)/'`ogg_opus_dec.c idjc_la-vorbistagparse.lo: vorbistagparse.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-vorbistagparse.lo -MD -MP -MF $(DEPDIR)/idjc_la-vorbistagparse.Tpo -c -o idjc_la-vorbistagparse.lo `test -f 'vorbistagparse.c' || echo '$(srcdir)/'`vorbistagparse.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-vorbistagparse.Tpo $(DEPDIR)/idjc_la-vorbistagparse.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='vorbistagparse.c' object='idjc_la-vorbistagparse.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-vorbistagparse.lo `test -f 'vorbistagparse.c' || echo '$(srcdir)/'`vorbistagparse.c idjc_la-live_oggopus_encoder.lo: live_oggopus_encoder.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -MT idjc_la-live_oggopus_encoder.lo -MD -MP -MF $(DEPDIR)/idjc_la-live_oggopus_encoder.Tpo -c -o idjc_la-live_oggopus_encoder.lo `test -f 'live_oggopus_encoder.c' || echo '$(srcdir)/'`live_oggopus_encoder.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/idjc_la-live_oggopus_encoder.Tpo $(DEPDIR)/idjc_la-live_oggopus_encoder.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='live_oggopus_encoder.c' object='idjc_la-live_oggopus_encoder.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(idjc_la_CFLAGS) $(CFLAGS) -c -o idjc_la-live_oggopus_encoder.lo `test -f 'live_oggopus_encoder.c' || echo '$(srcdir)/'`live_oggopus_encoder.c mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) set x; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: $(HEADERS) $(SOURCES) $(LISP) list='$(SOURCES) $(HEADERS) $(LISP)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LTLIBRARIES) installdirs: for dir in "$(DESTDIR)$(libdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-libLTLIBRARIES install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-libLTLIBRARIES .MAKE: install-am install-strip .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libLTLIBRARIES clean-libtool cscopelist ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am \ install-libLTLIBRARIES install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags uninstall uninstall-am uninstall-libLTLIBRARIES # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: idjc-0.8.9/c/sndfileinfo.h0000644000175000017500000000153111717511070012255 00000000000000/* # sndfileinfo.h: Provide information on wav files # Copyright (C) 2006 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ int sndfileinfo(char *pathname); idjc-0.8.9/c/live_ogg_encoder.c0000644000175000017500000002441012114637001013236 00000000000000/* # live_ogg_encoder.c: encode ogg files from a live source # Copyright (C) 2007 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include #include #include #include #include #include #include #include "sourceclient.h" #include "live_ogg_encoder.h" #define READSIZE 1024 typedef jack_default_audio_sample_t sample_t; struct loe_data { struct ogg_tag_data tag_data; long max_bitrate; /* ogg upper and lower bitrate settings */ long min_bitrate; vorbis_info vi; vorbis_block vb; vorbis_dsp_state vd; vorbis_comment vc; ogg_stream_state os; ogg_page og; ogg_packet op; int pagesamples; int (*owf)(ogg_stream_state *os, ogg_page *og); }; void live_ogg_capture_metadata(struct encoder *e, struct ogg_tag_data *t) { live_ogg_free_metadata(t); pthread_mutex_lock(&e->metadata_mutex); t->custom = strdup(e->custom_meta); t->artist = strdup(e->artist); t->title = strdup(e->title); t->album = strdup(e->album); e->new_metadata = FALSE; pthread_mutex_unlock(&e->metadata_mutex); } void live_ogg_free_metadata(struct ogg_tag_data *t) { if (t->custom) free(t->custom); if (t->artist) free(t->artist); if (t->title) free(t->title); if (t->album) free(t->album); memset(t, '\0', sizeof (struct ogg_tag_data)); } int live_ogg_write_packet(struct encoder *encoder, ogg_page *op, int flags) { struct encoder_op_packet packet; char *buffer; if (!(buffer = malloc(op->header_len + op->body_len))) { fprintf(stderr, "live_ogg_write_packet: malloc failure\n"); return 0; } memcpy(buffer, op->header, op->header_len); memcpy(buffer + op->header_len, op->body, op->body_len); packet.header.bit_rate = encoder->bitrate; packet.header.sample_rate = encoder->target_samplerate; packet.header.n_channels = encoder->n_channels; packet.header.flags = flags; packet.header.data_size = op->header_len + op->body_len; packet.header.timestamp = encoder->timestamp = (double)ogg_page_granulepos(op) / (double)encoder->samplerate; packet.data = buffer; encoder_write_packet_all(encoder, &packet); free(buffer); return 1; } static void live_ogg_encoder_main(struct encoder *encoder) { struct loe_data * const s = encoder->encoder_private; struct ovectl_ratemanage2_arg ai; struct encoder_ip_data *input_data; ogg_packet header_main; ogg_packet header_comments; ogg_packet header_codebooks; int cycle_restart = FALSE, cycle_restart2 = FALSE, packet_flags = PF_INITIAL | PF_OGG | PF_HEADER; float **buffer; ogg_int64_t oldgranulepos; struct ogg_tag_data *t = &s->tag_data; if (encoder->encoder_state == ES_STARTING) { fprintf(stderr, "live_ogg_encoder_main: first pass of the encoder\n"); vorbis_info_init(&s->vi); if (vorbis_encode_setup_managed(&s->vi, encoder->n_channels, encoder->target_samplerate, s->max_bitrate, encoder->bitrate, s->min_bitrate)) { fprintf(stderr, "live_ogg_encoder_main: mode initialisation failed\n"); vorbis_info_clear(&s->vi); goto bailout; } vorbis_encode_ctl(&s->vi, OV_ECTL_RATEMANAGE2_GET, &ai); ai.bitrate_limit_min_kbps = s->min_bitrate / 1000; if (vorbis_encode_ctl(&s->vi, OV_ECTL_RATEMANAGE2_SET, &ai)) fprintf(stderr, "live_ogg_encoder_main: failed to set hard bitrate floor\n"); vorbis_encode_setup_init(&s->vi); vorbis_analysis_init(&s->vd, &s->vi); vorbis_block_init(&s->vd, &s->vb); ogg_stream_init(&s->os, ++encoder->oggserial); encoder->timestamp = 0.0; vorbis_comment_init(&s->vc); /* this function takes raw metadata and does something type specific with it */ if (encoder->new_metadata) live_ogg_capture_metadata(encoder, t); if (t->custom && t->custom[0]) { vorbis_comment_add_tag(&s->vc, "TITLE", t->custom); if (t->artist && t->artist[0]) vorbis_comment_add_tag(&s->vc, "TRK-ARTIST", t->artist); if (t->title && t->title[0]) vorbis_comment_add_tag(&s->vc, "TRK-TITLE", t->title); if (t->album && t->album[0]) vorbis_comment_add_tag(&s->vc, "TRK-ALBUM", t->album); } else { if (t->artist && t->artist[0]) vorbis_comment_add_tag(&s->vc, "ARTIST", t->artist); if (t->title && t->title[0]) vorbis_comment_add_tag(&s->vc, "TITLE", t->title); if (t->album && t->album[0]) vorbis_comment_add_tag(&s->vc, "ALBUM", t->album); } vorbis_analysis_headerout(&s->vd, &s->vc, &header_main, &header_comments, &header_codebooks); ogg_stream_packetin(&s->os, &header_main); ogg_stream_packetin(&s->os, &header_comments); ogg_stream_packetin(&s->os, &header_codebooks); while (ogg_stream_flush(&s->os, &s->og)) { if (!(live_ogg_write_packet(encoder, &s->og, packet_flags))) { fprintf(stderr, "live_ogg_encoder_main: failed writing header to stream\n"); encoder->run_request_f = FALSE; encoder->encoder_state = ES_STOPPING; return; } packet_flags = PF_OGG | PF_HEADER; } s->pagesamples = 0; s->owf = ogg_stream_pageout; encoder->encoder_state = ES_RUNNING; return; } if (encoder->encoder_state == ES_RUNNING) { if (encoder->flush) { cycle_restart = TRUE; encoder->flush = FALSE; } cycle_restart |= encoder->new_metadata | !encoder->run_request_f; if (cycle_restart) { fprintf(stderr, "live_ogg_encoder_main: cycle restart\n"); buffer = vorbis_analysis_buffer(&s->vd, 0); vorbis_analysis_wrote(&s->vd, 0); } else { buffer = vorbis_analysis_buffer(&s->vd, 8192); input_data = encoder_get_input_data(encoder, 1024, 8192, buffer); if (input_data) { vorbis_analysis_wrote(&s->vd, input_data->qty_samples); encoder_ip_data_free(input_data); } else return; } while (vorbis_analysis_blockout(&s->vd, &s->vb) == 1) { vorbis_analysis(&s->vb, NULL); vorbis_bitrate_addblock(&s->vb); while (vorbis_bitrate_flushpacket(&s->vd, &s->op)) { oldgranulepos = s->os.granulepos; ogg_stream_packetin(&s->os, &s->op); s->pagesamples += s->os.granulepos - oldgranulepos; /* write out a new ogg page at least 10 times a second */ if (s->pagesamples > encoder->samplerate / 10) s->owf = ogg_stream_flush; while (s->owf(&s->os, &s->og)) { s->owf = ogg_stream_pageout; s->pagesamples = 0; if (ogg_page_eos(&s->og)) { fprintf(stderr, "live_ogg_encoder_main: writing final packet\n"); live_ogg_write_packet(encoder, &s->og, PF_OGG | PF_FINAL); cycle_restart2 = TRUE; break; } else live_ogg_write_packet(encoder, &s->og, PF_OGG); } } } if (cycle_restart2) encoder->encoder_state = ES_STOPPING; return; } if (encoder->encoder_state == ES_STOPPING) { fprintf(stderr, "live_ogg_encoder_main: last pass of the encoder, freeing libvorbis structures\n"); ogg_stream_clear(&s->os); vorbis_block_clear(&s->vb); vorbis_dsp_clear(&s->vd); vorbis_comment_clear(&s->vc); vorbis_info_clear(&s->vi); fprintf(stderr, "live_ogg_encoder_main: libvorbis structures freed\n"); if (!encoder->run_request_f) goto bailout; else encoder->encoder_state = ES_STARTING; return; } fprintf(stderr, "live_ogg_encoder_main: unhandled encoder state\n"); return; bailout: fprintf(stderr, "live_ogg_encoder_main: performing cleanup\n"); encoder->run_request_f = FALSE; encoder->encoder_state = ES_STOPPED; encoder->run_encoder = NULL; encoder->flush = FALSE; encoder->encoder_private = NULL; live_ogg_free_metadata(&s->tag_data); free(s); fprintf(stderr, "live_ogg_encoder_main: finished cleanup\n"); return; } int live_ogg_encoder_init(struct encoder *encoder, struct encoder_vars *ev) { struct loe_data * const s = calloc(1, sizeof (struct loe_data)); if (!s) { fprintf(stderr, "live_ogg_encoder: malloc failure\n"); return FAILED; } if (!strcmp(ev->variability, "constant")) s->max_bitrate = s->min_bitrate = encoder->bitrate; else { long var = encoder->bitrate * atol(ev->variability) / 100; s->max_bitrate = encoder->bitrate + var; s->min_bitrate = encoder->bitrate - var; } encoder->encoder_private = s; encoder->run_encoder = live_ogg_encoder_main; return SUCCEEDED; } idjc-0.8.9/c/mixer.h0000644000175000017500000000206412114637001011076 00000000000000/* # mixer.h: the audio mix happens in here. # Copyright (C) 2012 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include void mixer_init(); int mixer_main(); int mixer_control(char *command); int mixer_healthcheck(); int mixer_process_audio(jack_nframes_t n_frames, void *arg); void mixer_stop_players(); int mixer_new_buffer_size(jack_nframes_t n_frames); idjc-0.8.9/c/speextag.c0000644000175000017500000003636712113174301011600 00000000000000/* # speextag.c: reads/writes speex metadata tags # Copyright (C) 2008 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "../config.h" #ifdef HAVE_SPEEX #include "gnusource.h" #include #include #include #include #include #include #include #include "speextag.h" #include "bsdcompat.h" #include "main.h" #define TRUE 1 #define FALSE 0 #define readint(buf, base) (((buf[base+3]<<24)&0xff000000)| \ ((buf[base+2]<<16)&0xff0000)| \ ((buf[base+1]<<8)&0xff00)| \ (buf[base]&0xff)) #define writeint(buf, base, val) buf[base+3] = ((val) >> 24) & 0xff; \ buf[base+2] = ((val) >> 16) & 0xff; \ buf[base+1] = ((val) >> 8 ) & 0xff; \ buf[base] = (val) & 0xff #define INIT_PATHLENGTH 256 enum packet_t { INITIAL_PACKET, TAG_PACKET, SUBSEQUENT_PACKETS }; /* nlcount: return a count of the number of new lines in a string */ static int nlcount(char *s) { int n; for (n = 0; *s; s++) if (*s == '\n') n++; return n; } static int build_tag_packet(ogg_packet *op, char *createdby, char *taglist) { size_t cb_len, tl_len; int newlines; char *s, *t = taglist, *e; int o = 0; cb_len = strlen(createdby); tl_len = strlen(taglist); newlines = nlcount(taglist); op->bytes = cb_len + 3 * newlines + tl_len + 8; if (!(s = (char *)(op->packet = malloc(op->bytes)))) { fprintf(stderr, "build_tag_packet: malloc failure\n"); return FALSE; } writeint(s, o, cb_len); o += 4; memcpy(s + o, createdby, cb_len); o += cb_len; writeint(s, o, newlines); o += 4; while (newlines--) { e = strchr(t, '\n'); writeint(s, o, (int)(e - t)); o += 4; memcpy(s + o, t, e - t); o += e - t; t = e + 1; } if (o != op->bytes) { fprintf(stderr, "build_tag_packet: warning, offset is %d and available buffer is size %d\n", o, (int)op->bytes); } return TRUE; } /* get_id3_size: returns the size of the id3v2 tag if present */ static int get_id3_size(FILE *fp) { int id3size = 0; if (fgetc(fp) == 'I' && fgetc(fp) == 'D' && fgetc(fp) == '3' && fgetc(fp) != '\xFF' && fgetc(fp) != '\xFF') { fprintf(stderr, "ID3 tag detected\n"); fgetc(fp); id3size = fgetc(fp); id3size <<= 7; id3size |= fgetc(fp); id3size <<= 7; id3size |= fgetc(fp); id3size <<= 7; id3size |= fgetc(fp); id3size += 10; } rewind(fp); return id3size; } void speex_tag_read(char *pathname) { FILE *fp; char *buffer, *s, *e; int bytes; int first = TRUE; int packet_no = 0; int id3size; int offset = 0; int size; int tags; ogg_sync_state oy; ogg_page og; ogg_stream_state os; ogg_packet op; //memset(&og, 0, sizeof (ogg_page)); //memset(&op, 0, sizeof (ogg_packet)); if (!(fp = fopen(pathname, "r"))) { fprintf(stderr, "speex_tag_read: could not open media file for tag reading\n"); goto fail0; } if ((id3size = get_id3_size(fp))) fseek(fp, id3size, SEEK_CUR); ogg_sync_init(&oy); for (;;) { while (ogg_sync_pageout(&oy, &og) != 1) { buffer = ogg_sync_buffer(&oy, 4096); bytes = fread(buffer, 1, 4096, fp); ogg_sync_wrote(&oy, bytes); if (bytes == 0) { fprintf(stderr, "speex_tag_read: file came to an unexpected end\n"); if (!first) goto fail3; goto fail2; } } fprintf(stderr, "got an ogg page\n"); if (first && ogg_page_pageno(&og) == 0) { if (ogg_stream_init(&os, ogg_page_serialno(&og))) { fprintf(stderr, "speex_tag_read: call to ogg_stream_init failed\n"); goto fail2; } fprintf(stderr, "initialised stream\n"); first = FALSE; } if (first || ogg_stream_pagein(&os, &og) == -1) continue; while (ogg_stream_packetout(&os, &op) != 0) { ++packet_no; if (packet_no == 1) { fprintf(stderr, "packet 1\n"); if (ogg_page_pageno(&og) != 0) { fprintf(stderr, "speex_tag_read: first packet has incorrect ogg page number\n"); goto fail3; } if (op.granulepos != 0 || op.bytes < 8 || memcmp("Speex ", op.packet, 5)) { fprintf(stderr, "speex_tag_read: header mismatch - does not appear to be a speex file\n"); goto fail3; } else fprintf(stderr, "found speex header\n"); } if (packet_no == 2) { fprintf(stderr, "packet 2\n"); if (ogg_page_pageno(&og) <= 0) { fprintf(stderr, "speex_tag_read: second packet has incorrect ogg page number\n"); goto fail3; } if (op.granulepos != 0) { fprintf(stderr, "speex_tag_read: second packet has incorrect granule pos\n"); goto fail3; } if (op.bytes < 8) { fprintf(stderr, "speex_tag_read: second packet is too small to be a valid metadata packet\n"); goto fail3; } s = (char *)op.packet; e = s + op.bytes; offset = 0; size = readint(s, offset); offset += 4; if (s + offset + size + 4 > e) { fprintf(stderr, "speex_tag_read: corrupt tag\n"); goto fail3; } else { fprintf(g.out, "idjcmixer: speexcreatedread "); if (!(fwrite(s + offset, size, 1, stdout))) goto fail3; fputc('\n', g.out); offset += size; } tags = readint(s, offset); offset += 4; fprintf(stderr, "there are %d tags on this file\n", tags); if (s + offset + tags * sizeof (int) > e) { fprintf(stderr, "speex_tag_read: corrupt tag\n"); goto fail3; } while (tags--) { size = readint(s, offset); offset += 4; if (s + offset + size > e) { fprintf(stderr, "speex_tag_read: corrupt tag\n"); goto fail3; } else { fprintf(g.out, "idjcmixer: speextagread "); if (!(fwrite(s + offset, size, 1, stdout))) goto fail3; fputc('\n', g.out); offset += size; } } if (s + offset != e) { fprintf(stderr, "did not finish at end of packet!\n"); goto fail3; } fprintf(stderr, "packet appears to be totally correct\n"); fprintf(g.out, "idjcmixer: speextagread end\n"); fflush(g.out); ogg_stream_clear(&os); ogg_sync_clear(&oy); return; } } fprintf(stderr, "going around for another packet\n"); } fail3: ogg_stream_clear(&os); fail2: ogg_sync_clear(&oy); //fail1: fclose(fp); fail0: fprintf(g.out, "idjcmixer: speexfileinfo Not Valid\n"); fflush(g.out); } void speex_tag_write(char *suppliedpathname, char *createdby, char *taglist) { char *pathname; char *tmpname; char *buffer; FILE *fpr, *fpw; int id3size; char *copybuf; int first = TRUE; size_t bytes; enum packet_t packet_type = INITIAL_PACKET; ogg_sync_state oy; ogg_page ogr; ogg_page ogw; ogg_stream_state osr; ogg_stream_state osw; ogg_packet op; void flush_and_write() { while (ogg_stream_flush(&osw, &ogw)) { if (fwrite(ogw.header, ogw.header_len, 1, fpw) == 0 || fwrite(ogw.body, ogw.body_len, 1, fpw) == 0) break; } } if (!(pathname = canonicalize_file_name(suppliedpathname))) { fprintf(stderr, "speex_tag_write: supplied pathname did not resolve\n"); goto failA; } fprintf(stderr, "%s\n%s\n", suppliedpathname, pathname); if (!(tmpname = malloc(strlen(pathname) + 5))) { fprintf(stderr, "speex_tag_write: malloc failure\n"); goto failB; } sprintf(tmpname, "%s%s", pathname, ".TMP"); fpr = fopen(pathname, "r"); fpw = fopen(tmpname, "w"); if (!fpr || !fpw) { fprintf(stderr, "speex_tag_write: file io error\n"); goto fail0; } if (!(copybuf = malloc(id3size = get_id3_size(fpr)))) { fprintf(stderr, "speex_tag_write: malloc failure\n"); goto fail0; } if (id3size) { if (!fread(copybuf, id3size, 1, fpr)) { fprintf(stderr, "speex_tag_write: file io error\n"); goto fail1; } if (!fwrite(copybuf, id3size, 1, fpw)) { fprintf(stderr, "speex_tag_write: file io error\n"); goto fail1; } } ogg_sync_init(&oy); for (;;) { while (ogg_sync_pageout(&oy, &ogr) != 1) { buffer = ogg_sync_buffer(&oy, 4); bytes = fread(buffer, 1, 1, fpr); ogg_sync_wrote(&oy, bytes); if (bytes == 0) { fprintf(stderr, "speex_tag_read: file came to an unexpected end\n"); if (!first) goto fail4; goto fail2; } } fprintf(stderr, "got an ogg page\n"); if (first) { if (ogg_page_bos(&ogr)) { if (ogg_stream_init(&osr, ogg_page_serialno(&ogr))) { fprintf(stderr, "speex_tag_write: call to ogg_stream_init failed\n"); goto fail2; } if (ogg_stream_init(&osw, ogg_page_serialno(&ogr))) { fprintf(stderr, "speex_tag_write: call to ogg_stream_init failed\n"); goto fail3; } fprintf(stderr, "initialised stream\n"); first = FALSE; } else { fprintf(stderr, "speex_tag_write: unexpected non bos packet\n"); goto fail2; } } if (ogg_stream_pagein(&osr, &ogr) == -1) { fprintf(stderr, "speex_tag_write: got bad ogg page\n"); goto fail4; } while (ogg_stream_packetout(&osr, &op) != 0) { switch (packet_type) { case INITIAL_PACKET: //fprintf(stderr, "header packet\n"); if (ogg_page_pageno(&ogr) != 0) { fprintf(stderr, "speex_tag_read: first packet has incorrect ogg page number\n"); goto fail4; } ogg_stream_packetin(&osw, &op); flush_and_write(); packet_type = TAG_PACKET; break; case TAG_PACKET: //fprintf(stderr, "metadata packet\n"); if (!build_tag_packet(&op, createdby, taglist)) { fprintf(stderr, "speex_tag_read: failed to build tagging metadata packet\n"); goto fail4; } ogg_stream_packetin(&osw, &op); flush_and_write(); ogg_packet_clear(&op); packet_type = SUBSEQUENT_PACKETS; break; case SUBSEQUENT_PACKETS: //fprintf(stderr, "subsequent packet\n"); ogg_stream_packetin(&osw, &op); if (op.granulepos != -1) flush_and_write(); break; } } if (op.e_o_s) { fprintf(stderr, "last packet processed\n"); ogg_stream_clear(&osw); ogg_stream_clear(&osr); ogg_sync_clear(&oy); /* copy all remaining bytes in the file, e.g. an id3 version 1 tag */ if (!(copybuf = realloc(copybuf, 4096))) { fprintf(stderr, "speex_tag_read: malloc failure\n"); goto fail4; } do { bytes = fread(copybuf, 1, 4096, fpr); if (fwrite(copybuf, 1, bytes, fpw) != bytes) break; } while (bytes == 4096); free(copybuf); fclose(fpw); fclose(fpr); rename(tmpname, pathname); free(tmpname); free(pathname); return; } } fail4: ogg_stream_clear(&osw); fail3: ogg_stream_clear(&osr); fail2: ogg_sync_clear(&oy); fail1: if (copybuf) free(copybuf); fail0: if (fpr) fclose(fpr); if (fpw) fclose(fpw); free(tmpname); failB: free(pathname); failA: fprintf(stderr, "speex_tag_write failed\n"); } #endif /* HAVE_SPEEX */ idjc-0.8.9/c/sig.c0000644000175000017500000000404112113174301010522 00000000000000/* # sig.c: signal masking for pthreads + general handling # Copyright (C) 2011-2012 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include #include #include #include static sigset_t mask; static int working; static volatile sig_atomic_t sigusr1count, sigusr1oldcount; static void do_exit(int sig) { exit(5); } static void usr1_handler(int sig) { ++sigusr1count; signal(sig, usr1_handler); } #define A(s) && sigaddset(&mask, s) void sig_init() { if (sigemptyset(&mask) A(SIGINT) A(SIGTERM) A(SIGHUP) A(SIGALRM) A(SIGSEGV) A(SIGUSR1) A(SIGUSR2)) fprintf(stderr, "sigmask_init: mask creation failed\n"); else { working = 1; signal(SIGINT, do_exit); signal(SIGTERM, do_exit); signal(SIGHUP, do_exit); if (!strcmp(getenv("session_type"), "L1")) signal(SIGUSR1, usr1_handler); else signal(SIGUSR1, SIG_IGN); signal(SIGUSR2, SIG_IGN); } } #undef A void sig_mask_thread() { if (working && pthread_sigmask(SIG_BLOCK, &mask, NULL)) fprintf(stderr, "sig_mask_thread: pthread_sigmask() failed\n"); } int sig_recent_usr1() { if (sigusr1count != sigusr1oldcount) { sigusr1oldcount = sigusr1count; return 1; } return 0; } idjc-0.8.9/c/peakfilter.h0000644000175000017500000000222112113174301012071 00000000000000/* # peakfilter.h: finds a peak level from a filtered signal source # Copyright (C) 2010 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ struct peakfilter { float *start; float *end; float *ptr; float peak; }; struct peakfilter *peakfilter_create(float window, int sample_rate); void peakfilter_destroy(struct peakfilter *self); void peakfilter_process(struct peakfilter *self, float sample); float peakfilter_read(struct peakfilter *self); idjc-0.8.9/c/streamer.h0000644000175000017500000000460512114637001011577 00000000000000/* # streamer.h: the streaming module of idjc # Copyright (C) 2007 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #ifndef STREAMER_H #define STREAMER_H #include "sourceclient.h" struct streamer_vars { char *stream_source; char *server_type; char *host; char *port; char *mount; char *login; char *password; char *useragent; char *dj_name; char *listen_url; char *description; char *genre; char *irc; char *aim; char *icq; char *make_public; }; enum stream_mode { SM_DISCONNECTED, SM_CONNECTING, SM_CONNECTED, SM_DISCONNECTING }; struct shout; struct _util_dict; struct streamer { struct threads_info *threads_info; int numeric_id; pthread_t thread_h; int thread_terminate_f; int disconnect_request; int disconnect_pending; struct encoder_op *encoder_op; struct shout *shout; struct _util_dict *shout_meta; enum stream_mode stream_mode; int brand_new_connection; /* used for triggering actions in the gui */ long shout_status; int initial_serial; /* the enocoder serial number we commence streaming from */ int final_serial; /* the serial number to cease streaming at the end of */ ssize_t max_shout_queue; /* how much audio data we are willing to stockpile */ pthread_mutex_t mode_mutex; pthread_cond_t mode_cv; }; struct streamer *streamer_init(struct threads_info *ti, int numeric_id); void streamer_destroy(struct streamer *self); int streamer_connect(struct threads_info *ti, struct universal_vars *uv, void *other); int streamer_disconnect(struct threads_info *ti, struct universal_vars *uv, void *other); int streamer_make_report(struct streamer *self); #endif idjc-0.8.9/c/speextag.h0000644000175000017500000000163311717511070011600 00000000000000/* # speextag.h: reads/writes speex metadata # Copyright (C) 2008 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ void speex_tag_read(char *pathname); void speex_tag_write(char *pathname, char *createdby, char *taglist); idjc-0.8.9/c/dbconvert.c0000644000175000017500000000723212114637001011735 00000000000000/* # dbconvert.c: fast table based conversion for db to sig level and vice-versa from IDJC. # Copyright (C) 2005-2006 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include #include #include #include "dbconvert.h" #define TRUE 1 #define FALSE 0 /* Comment this out to avoid using the lookup table */ #define USING_LOOKUP #ifdef USING_LOOKUP static float *dblookup; static float *signallookup; int init_dblookup_table() { int i; /* build a decibel lookup table to save on cpu usage */ if (!(dblookup = malloc(sizeof (float) * 131072))) { fprintf(stderr, "Failed to allocate space for signal to db lookup table\n"); return FALSE; } else { for (i = 0 ; i < 131072 ; i++) dblookup[i] = log10f((i+1) / 131072.0F) * 20.0F; } return TRUE; } int init_signallookup_table() { int i; /* the opposite of the decibel lookup table */ if (!(signallookup = malloc(sizeof (float) * 65536))) { fprintf(stderr, "Failed to allocate space for db to signal table\n"); return FALSE; } else { for (i=0; i < 65536; i++) signallookup[i] = 1.0F / powf(10.0F, (float)i / 10240.0F); } return TRUE; } void free_dblookup_table() { free(dblookup); } void free_signallookup_table() { free(signallookup); } /* a table based db lookup function - considerably faster than using the maths co-processor */ inline float level2db(float signal) { int index; float adjustment = 0.0F; if (signal > 1.0F) return ((index = (int)(131072.0005F / signal) - 1) >= 0) ? -dblookup[index] : 102.3501985F; else { if (signal < 3.16227766e-3F) /* use a more accurate part of the lookup table for low values */ { signal *= 316.227766; adjustment = -50.0F; /* compensate for the 50dB boost in signal level */ } return (((index = (int)(signal * 131072.0005F) - 1) >= 0) ? dblookup[index] : -102.3501985F) + adjustment; } } /* table based level lookup function taking a db level as input */ inline float db2level(float signal) { int index; if (signal < 0.0F) return ((index = signal * (-512.0F)) < 65536) ? signallookup[index] : signallookup[65535]; else return ((index = signal * 512.0F) < 65536) ? 1.0F / signallookup[index] : 1.0F / signallookup[65535]; } #else /* These cause the maths co-processor to be used */ int init_dblookup_table() { return TRUE; } int init_signallookup_table() { return TRUE; } void free_dblookup_table() {}; void free_signallookup_table() {}; /* the more accurate but more cpu intensive method */ float level2db(float signal) { return log10f(signal) * 20.0f; } float db2level(float signal) { return powf(10.0f, signal * 0.05f); } #endif idjc-0.8.9/c/live_oggopus_encoder.c0000644000175000017500000003537312115135561014164 00000000000000/* # live_oggopus_encoder.c: encode Ogg/Opus format streams # Copyright (C) 2013 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "../config.h" #ifdef HAVE_OPUS #include #include #include #include #include #include #include "sourceclient.h" #include "live_ogg_encoder.h" #include "live_oggopus_encoder.h" #include "vorbistagparse.h" struct local_data { OpusEncoder *enc_st; int complexity; int postgain; int framesamples; int lookahead; int vbr; int vbr_constraint; opus_int32 pagepackets; opus_int32 pagepackets_max; ogg_int64_t granulepos; ogg_int64_t packetno; ogg_stream_state os; int pflags; float *inbuf; size_t outbuf_siz; unsigned char *outbuf; struct vtag_block metadata_block; int fillbytes; }; /* create a multiplexed pcm stream */ static void stereomix(float *l, float *r, float *m, size_t n) { while (n--) { *m++ = *l++; *m++ = *r++; } } static void live_oggopus_encoder_main(struct encoder *encoder) { struct local_data * const s = encoder->encoder_private; ogg_page og, og2; ogg_packet op; if (encoder->encoder_state == ES_STARTING) { const opus_int32 la_fallback = 196; int error; fprintf(stderr, "live_ogg_encoder_main: info: writing headers\n"); encoder->timestamp = 0.0; ogg_stream_init(&s->os, ++encoder->oggserial); if (!(s->enc_st = opus_encoder_create(48000, encoder->n_channels, OPUS_APPLICATION_AUDIO, &error))) { fprintf(stderr, "live_oggopus_encoder_main: failure: encoder_create: %s\n", opus_strerror(error)); goto bailout; } if (opus_encoder_ctl(s->enc_st, OPUS_SET_BITRATE(encoder->bitrate * 1000)) != OPUS_OK) { fprintf(stderr, "live_oggopus_encoder_main: failure: failed to set bitrate\n"); goto bailout; } if (opus_encoder_ctl(s->enc_st, OPUS_SET_VBR(s->vbr)) != OPUS_OK) { fprintf(stderr, "live_oggopus_encoder_main: failure: failed to set cbr/vbr\n"); goto bailout; } if (opus_encoder_ctl(s->enc_st, OPUS_SET_VBR_CONSTRAINT(s->vbr_constraint)) != OPUS_OK) { fprintf(stderr, "live_oggopus_encoder_main: failure: failed to set vbr constraint\n"); goto bailout; } if (opus_encoder_ctl(s->enc_st, OPUS_SET_COMPLEXITY(s->complexity)) != OPUS_OK) fprintf(stderr, "live_oggopus_encoder_main: warning: failed to set complexity\n"); if (opus_encoder_ctl(s->enc_st, OPUS_GET_LOOKAHEAD(&s->lookahead)) != OPUS_OK) { fprintf(stderr, "live_oggopus_encoder_main: warning: failed to get lookahead value -- using %d\n", la_fallback); s->lookahead = la_fallback; } char header_packet_data[20]; size_t header_packet_size = snprintf(header_packet_data, sizeof header_packet_data, "OpusHead\x1%c%c%c\x80\xbb%c%c%c%c%c", encoder->n_channels, s->lookahead & 0xFF, (s->lookahead >> 8) & 0xFF, '\0', '\0', s->postgain & 0xFF, (s->postgain >> 8) & 0xFF, '\0'); op.packet = (unsigned char *)header_packet_data; op.bytes = header_packet_size; op.b_o_s = 1; op.e_o_s = 0; op.granulepos = 0; op.packetno = s->packetno++; ogg_stream_packetin(&s->os, &op); s->pflags = PF_INITIAL | PF_OGG | PF_HEADER; if (ogg_stream_flush(&s->os, &og)) { if (ogg_stream_flush(&s->os, &og2)) { fprintf(stderr, "live_oggopus_encoder_main: error: initial header spans page boundary\n"); goto bailout; } if (!(live_ogg_write_packet(encoder, &og, s->pflags))) { fprintf(stderr, "live_oggopus_encoder_main: error: failed to write header\n"); goto bailout; } s->pflags = PF_OGG | PF_HEADER; } if (encoder->new_metadata || !s->metadata_block.data) { struct vtag *tag; if (!(tag = vtag_new(opus_get_version_string(), &error))) { fprintf(stderr, "live_oggopus_encoder_main: error: failed to initialise empty vtag: %s\n", vtag_strerror(error)); goto bailout; } vtag_append(tag, "encoder", getenv("app_name")); if (encoder->use_metadata) { struct ogg_tag_data t = {}; fprintf(stderr, "live_oggopus_encoder_main: info: making metadata\n"); live_ogg_capture_metadata(encoder, &t); if (t.custom && t.custom[0]) { vtag_append(tag, "title", t.custom); vtag_append(tag, "trk-artist", t.artist); vtag_append(tag, "trk-title", t.title); vtag_append(tag, "trk-album", t.album); } else { vtag_append(tag, "artist", t.artist); vtag_append(tag, "title", t.title); vtag_append(tag, "album", t.album); } live_ogg_free_metadata(&t); } else fprintf(stderr, "live_oggopus_encoder_main: info: making bare-bones metadata\n"); if ((error = vtag_serialize(tag, &s->metadata_block, "OpusTags"))) { fprintf(stderr, "live_oggopus_encoder_main: vtag_serialize failed: %s\n", vtag_strerror(error)); goto bailout; } vtag_cleanup(tag); encoder->new_metadata = FALSE; } else fprintf(stderr, "live_oggopus_encoder_main: info: using previous metadata\n"); op.packet = (unsigned char *)s->metadata_block.data; op.bytes = s->metadata_block.length; op.b_o_s = 0; op.e_o_s = 0; op.granulepos = 0; op.packetno = s->packetno++; ogg_stream_packetin(&s->os, &op); while (ogg_stream_flush(&s->os, &og)) { if (!(live_ogg_write_packet(encoder, &og, s->pflags))) { fprintf(stderr, "live_oggopus_encoder_main: error: failed to write header\n"); goto bailout; } s->pflags = PF_OGG; } encoder->encoder_state = ES_RUNNING; fprintf(stderr, "live_ogg_encoder_main: info: encoding\n"); return; } if (encoder->encoder_state == ES_RUNNING) { struct encoder_ip_data *id; opus_int32 enc_bytes; float *inbuf; if (encoder->new_metadata || !encoder->run_request_f || encoder->flush) { encoder->flush = FALSE; encoder->encoder_state = ES_STOPPING; return; } if((id = encoder_get_input_data(encoder, s->framesamples, s->framesamples, NULL))) { if (encoder->n_channels == 2) stereomix(id->buffer[0], id->buffer[1], inbuf = s->inbuf, s->framesamples); else inbuf = id->buffer[0]; enc_bytes = opus_encode_float(s->enc_st, inbuf, s->framesamples, s->outbuf, s->outbuf_siz); encoder_ip_data_free(id); if (enc_bytes > 0) { op.packet = s->outbuf; op.bytes = enc_bytes; op.b_o_s = 0; op.e_o_s = 0; op.granulepos = (s->granulepos += s->framesamples); op.packetno = s->packetno++; ogg_stream_packetin(&s->os, &op); s->fillbytes += enc_bytes; if (++s->pagepackets == s->pagepackets_max) { s->pagepackets = 0; if (ogg_stream_flush_fill(&s->os, &og, s->fillbytes)) { if (!live_ogg_write_packet(encoder, &og, s->pflags)) { fprintf(stderr, "live_oggopus_encoder_main: failed to write packet\n"); goto bailout; } if ((s->fillbytes -= og.body_len)) fprintf(stderr, "!!! packet size limit exceeded\n"); } else fprintf(stderr, "live_oggopus_encoder_main: failed to flush page\n"); } } else { fprintf(stderr, "live_oggopus_encoder_main: failed to encode packet: %s\n", opus_strerror(enc_bytes)); goto bailout; } } return; } if (encoder->encoder_state == ES_STOPPING) { opus_int32 enc_bytes; fprintf(stderr, "live_oggopus_encoder_main: flushing\n"); /* fill input buffer with silence */ memset(s->inbuf, '\0', sizeof (float) * s->framesamples * encoder->n_channels); do { enc_bytes = opus_encode_float(s->enc_st, s->inbuf, s->framesamples, s->outbuf, s->outbuf_siz); if (enc_bytes > 0) { if (s->framesamples < s->lookahead) { op.granulepos += s->framesamples; op.e_o_s = 0; s->lookahead -= s->framesamples; } else { op.granulepos += s->lookahead; op.e_o_s = 1; s->lookahead = 0; s->pflags |= PF_FINAL; } op.packet = s->outbuf; op.bytes = enc_bytes; op.b_o_s = 0; op.packetno = s->packetno++; ogg_stream_packetin(&s->os, &op); s->fillbytes += enc_bytes; if (++s->pagepackets == s->pagepackets_max || op.e_o_s) { s->pagepackets = 0; if (ogg_stream_flush_fill(&s->os, &og, s->fillbytes)) { if (!live_ogg_write_packet(encoder, &og, s->pflags)) { fprintf(stderr, "live_oggopus_encoder_main: failed to write packet\n"); goto bailout; } if ((s->fillbytes -= og.body_len)) fprintf(stderr, "!!! packet size limit exceeded\n"); } else fprintf(stderr, "live_oggopus_encoder_main: failed to flush page\n"); } } else { fprintf(stderr, "live_oggopus_encoder_main: failed to encode packet: %s\n", opus_strerror(enc_bytes)); goto bailout; } } while (!op.e_o_s); if (!encoder->run_request_f) goto bailout; else { opus_encoder_destroy(s->enc_st); ogg_stream_clear(&s->os); s->granulepos = s->packetno = s->pagepackets = s->fillbytes = 0; fprintf(stderr, "live_oggopus_encoder_main: minimal clean up\n"); encoder->encoder_state = ES_STARTING; } return; } fprintf(stderr, "live_oggopus_encoder_main: unhandled encoder state\n"); return; bailout: fprintf(stderr, "live_oggopus_encoder_main: cleanup\n"); encoder->run_request_f = FALSE; encoder->encoder_state = ES_STOPPED; encoder->run_encoder = NULL; encoder->flush = FALSE; encoder->encoder_private = NULL; vtag_block_cleanup(&s->metadata_block); if (s->enc_st) opus_encoder_destroy(s->enc_st); ogg_stream_clear(&s->os); free(s->inbuf); free(s->outbuf); free(s); fprintf(stderr, "live_oggopus_encoder_main: finished cleanup\n"); return; } int live_oggopus_encoder_init(struct encoder *encoder, struct encoder_vars *ev) { struct local_data * const s = calloc(1, sizeof (struct local_data)); if (!s) { fprintf(stderr, "live_oggopus_encoder: malloc failure\n"); return FAILED; } s->complexity = atoi(ev->complexity); s->postgain = atoi(ev->postgain); s->framesamples = atoi(ev->framesize) * 48; s->pagepackets_max = 48000 / s->framesamples / 5; if (!strcmp(ev->variability, "cbr")) s->vbr = 0; else { s->vbr = 1; if (!strcmp(ev->variability, "cvbr")) s->vbr_constraint = 1; else { s->vbr_constraint = 0; if (strcmp(ev->variability, "vbr")) { fprintf(stderr, "live_gggopus_encoder: bad variability setting\n"); free(s); return FAILED; } } } if (!(s->inbuf = malloc(sizeof (float) * encoder->n_channels * s->framesamples))) { fprintf(stderr, "live_oggopus_encoder: malloc failure\n"); free(s); return FAILED; } s->outbuf_siz = encoder->bitrate * s->framesamples / 174; if (!(s->outbuf = malloc(s->outbuf_siz))) { fprintf(stderr, "live_oggopus_encoder: malloc failure\n"); free(s->inbuf); free(s); return FAILED; } if (!vtag_block_init(&s->metadata_block)) { fprintf(stderr, "live_oggopus_encoder: malloc failure\n"); free(s->outbuf); free(s->inbuf); free(s); return FAILED; } encoder->encoder_private = s; encoder->run_encoder = live_oggopus_encoder_main; return SUCCEEDED; } #endif /* HAVE_OPUS */ idjc-0.8.9/c/flacdecode.h0000644000175000017500000000252612113174301012024 00000000000000/* # flacdecode.h: decodes flac file format for xlplayer # Copyright (C) 2007 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "../config.h" #ifdef HAVE_FLAC #include "xlplayer.h" struct flacdecode_vars { FLAC__StreamDecoder *decoder; FLAC__StreamMetadata metainfo; int decoderstate; int resample_f; int suppress_audio_output; FLAC__uint64 totalsamples; float *flbuf; }; int flacdecode_reg(struct xlplayer *xlplayer); void make_flac_audio_to_float(struct xlplayer *self, float *flbuf, const FLAC__int32 * const inputbuffer[], unsigned int numsamples, unsigned int bits_per_sample, unsigned int numchannels); #endif idjc-0.8.9/c/agc.h0000644000175000017500000000371611717511070010516 00000000000000/* # agc.h: a fast lookahead microphone AGC # Copyright (C) 2008 Stefan Fendt (stefan@sfendt.de) # Copyright (C) 2008 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ /* opaque pointer */ struct agc; /* initialisation */ struct agc *agc_init(int sample_rate, float lookahead, int id); /* declare another agc to be pairable for stereo */ void agc_set_as_partners(struct agc *agc1, struct agc *agc2); /* initiate or cancel stereo mode - called on subordinate */ void agc_set_partnered_mode(struct agc *self, int boolean); /* run each of these in turn, intersperse paired mics * parameter mic_is_mute toggles ducker operation */ void agc_process_stage1(struct agc *self, float input); void agc_process_stage2(struct agc *self, int mic_is_mute); float agc_process_stage3(struct agc *self); /* the amount of attenuation broken down into three parts */ void agc_get_meter_levels(struct agc *self, int *signal_cap, int *de_ess, int *noise_gate); /* the amount of ducking to apply */ float agc_get_ducking_factor(struct agc *self); /* call this when going idle for a while - accumulated data is flushed */ void agc_reset(struct agc *self); /* take down */ void agc_free(struct agc *self); /* configuration from control strings */ void agc_control(struct agc *s, char *key, char *value); idjc-0.8.9/c/dbconvert.h0000644000175000017500000000204111717511070011740 00000000000000/* # dbconvert.h: table based conversion for db to sig level and vice-versa from IDJC. # Copyright (C) 2005-2006 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ int init_dblookup_table(void); int init_signallookup_table(void); void free_dblookup_table(void); void free_signallookup_table(void); float level2db(float signal); float db2level(float signal); idjc-0.8.9/c/mp3tagread.c0000644000175000017500000004512212113174301011774 00000000000000/* # mp3tagread.c: reads id3 tag including any chapter info + Xing header # Copyright (C) 2007 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "../config.h" #include "gnusource.h" #include #include #include #include "mp3tagread.h" #include "bsdcompat.h" #define TRUE 1 #define FALSE 0 #if 0 static void unsynchronise(struct mp3decode_id3data *us) { unsigned char *ptr, *end, *op; int count = 0; struct mp3decode_id3data out; for (ptr = us->data, end = ptr + us->size - 1; ptr < end; ptr++) if (ptr[0] == 0xFF && (ptr[1] == 0x00 || (ptr[1] & 0xE0) == 0xE0)) count++; out.size = us->size + count; if (!(out.data = malloc(out.size))) { fprintf(stderr, "unsync: malloc failure\n"); return; } for (ptr = us->data, op = out.data; ptr < end; ptr++) { *op++ = *ptr; if (ptr[0] == 0xFF && (ptr[1] == 0x00 || (ptr[1] & 0xE0) == 0xE0)) *op++ = 0x00; } free(us->data); *us = out; } #endif static void resynchronise(struct id3data *us) { unsigned char *ptr, *end, *op; int count = 0; struct id3data out; for (ptr = us->data, end = ptr + us->size -1; ptr < end; ptr++) if (ptr[0] == 0xFF && ptr[1] == 0x00) count++; out.size = us->size - count; if (!(out.data = malloc(out.size))) { fprintf(stderr, "resynchronise: malloc failure\n"); return; } for (ptr = us->data, op = out.data; ptr <= end; ptr++) { *op++ = *ptr; if (ptr[0] == 0xFF) ptr++; } free(us->data); *us = out; fprintf(stderr, "resynchronise: finished\n"); } static int get_frame_size(unsigned char *start, int id3version) { int size; switch (id3version) { case 3: size = start[4]; size <<= 8; size |= start[5]; size <<= 8; size |= start[6]; size <<= 8; size |= start[7]; break; case 4: size = start[4] & 0x7F; size <<= 7; size |= start[5] & 0x7F; size <<= 7; size |= start[6] & 0x7F; size <<= 7; size |= start[7] & 0x7F; break; default: fprintf(stderr, "get_frame_size: unhandled id3v2 version %d\n", id3version); size = 0x7FFFFFFF; } return size; } static void set_id3_data(struct id3data *us, unsigned char *start, int id3version) { us->size = get_frame_size(start, id3version); if (!(us->data = malloc(us->size))) { fprintf(stderr, "set_id3_data: malloc failure\n"); return; } memcpy(us->data, start + 10, us->size); } static unsigned int bigendianint(unsigned char *ptr) { unsigned int a; a = *ptr++; a = (a << 8) | *ptr++; a = (a << 8) | *ptr++; return (a << 8) | *ptr; } #if 0 static int decode_tit2(struct mp3taginfo *ti, unsigned char *start, struct chapter *chap) { struct id3data us; set_id3_data(&us, start, ti->version); if (ti->version == 4 && (start[9] & 0x2)) resynchronise(&us); if (((chap->encoding = us.data[0]) > 1 && ti->version == 3) || chap->encoding > 3) { fprintf(stderr, "decode_tit2: unsupported character encoding\n"); goto bailout; } if (us.data[us.size - 1]) /* handle potential null termination */ { chap->length = us.size - 1; fprintf(stderr, "not null terminated\n"); } else { chap->length = us.size - 2; fprintf(stderr, "null terminated\n"); } if (!(chap->text = calloc(1, chap->length + 1))) goto bailout; memcpy(chap->text, us.data + 1, chap->length); free(us.data); return 1; bailout: free(us.data); return 0; } #endif static int decode_text_tag(struct mp3taginfo *ti, unsigned char *start, struct chapter_text *ct) { struct id3data us; size_t l; char *src, *dest; if (ct->text) /* start over if there is a duplicate tag */ { free(ct->text); memset(ct, '\0', sizeof (struct chapter_text)); } set_id3_data(&us, start, ti->version); if (ti->version == 4 && (start[9] & 0x2)) resynchronise(&us); if (((ct->encoding = us.data[0]) > 1 && ti->version == 3) || ct->encoding > 3) { fprintf(stderr, "decode_tit2: unsupported character encoding\n"); goto bailout; } if (us.data[us.size - 1]) /* handle potential null termination */ { ct->length = us.size - 1; fprintf(stderr, "not null terminated\n"); } else { ct->length = us.size - 2; fprintf(stderr, "null terminated\n"); } if (!(ct->text = malloc(ct->length + 1))) { fprintf(stderr, "malloc failure\n"); goto bailout; } /* copy, substituting separating nulls with / characters */ for (src = (char *)us.data + 1, dest = ct->text, l = ct->length; l; --l, ++src, ++dest) if (*src != '\0') *dest = *src; else *dest = '/'; *dest = '\0'; free(us.data); return 1; bailout: free(us.data); return 0; } static void decode_chap(struct mp3taginfo *ti, unsigned char *start) { struct id3data us; unsigned char *ptr, *end; struct chapter *chapdata; struct chapter_text *chaptext; int adv; if (!(chapdata = calloc(1, sizeof (struct chapter)))) { fprintf(stderr, "decode_chap: malloc failure\n"); return; } set_id3_data(&us, start, ti->version); if (ti->version == 4 && ((ti->flags & 0x80) || (start[9] & 0x2))) resynchronise(&us); for (ptr = us.data, end = us.data + us.size; ptr < end && *ptr++;); if (ptr + 16 > end) { fprintf(stderr, "decode_chap: chapter tag is too small\n"); free(us.data); return; } chapdata->time_begin = bigendianint(ptr); chapdata->time_end = bigendianint(ptr += 4); chapdata->byte_begin = bigendianint(ptr += 4); chapdata->byte_end = bigendianint(ptr += 4); ptr += 4; for (; (ptr + 10 < end) && (ptr + (adv = 10 + get_frame_size(ptr, ti->version)) <= end); ptr += adv) { if (!memcmp(ptr, "TPE1", 4)) chaptext = &chapdata->artist; else if (!memcmp(ptr, "TIT2", 4)) chaptext = &chapdata->title; else if (!memcmp(ptr, "TALB", 4)) chaptext = &chapdata->album; else continue; if (!(decode_text_tag(ti, ptr, chaptext))) { free(us.data); return; } } if (!chapdata->artist.text) chapdata->artist.text = strdup(""); if (!chapdata->title.text) chapdata->title.text = strdup(""); if (!chapdata->album.text) chapdata->album.text = strdup(""); if (!(ti->first_chapter)) ti->first_chapter = ti->last_chapter = chapdata; else { ti->last_chapter->next = chapdata; ti->last_chapter = chapdata; } fprintf(stderr, "Chapter info\ntime begin %d\ntime end %d\nbyte begin %d\nbyte end %d\n", chapdata->time_begin, chapdata->time_end, chapdata->byte_begin, chapdata->byte_end); fprintf(stderr, "Artist: %s\nTitle : %s\nAlbum : %s\n", chapdata->artist.text, chapdata->title.text, chapdata->album.text); free(us.data); } static void decode_tlen(struct mp3taginfo *ti, unsigned char *start) { struct id3data us; char *buffer; set_id3_data(&us, start, ti->version); if (ti->version == 4 && ((ti->flags & 0x80) || (start[9] & 0x2))) resynchronise(&us); if (us.size == 0) ti->tlen = 0; else { if (!(buffer = strndup((char *)us.data, us.size + 1))) { fprintf(stderr, "decode_tlen: malloc failure\n"); ti->tlen = 0; return; } ti->tlen = atoi(buffer); free(buffer); } free(us.data); fprintf(stderr, "Track length according to TLEN: %dms\n\n", ti->tlen); } static void decode_id3_frames(struct mp3taginfo *ti, struct id3data *d) { unsigned char *start, *end; unsigned int adv; struct tag_lookup *lup; static struct tag_lookup lu[] = {{ "TLEN", decode_tlen }, { "CHAP", decode_chap }, { NULL, NULL }}; for (start = d->data, end = d->data + d->size; start < end && *start; start += adv) { if (start + 10 > end || start + (adv = 10 + get_frame_size(start, ti->version)) > end) { fprintf(stderr, "decode_id3_frames: defective frame size discovered in tag\n"); mp3_tag_cleanup(ti); return; } for (lup = lu; lup->id; lup++) if (!(memcmp(lup->id, start, 4))) lup->fn(ti, start); } } static int id3_tag_read(struct mp3taginfo *ti, FILE *fp, int skip) { long start = ftell(fp); long tagsize, ehsize, frames_end; int minor, flags; struct id3data id; if (fgetc(fp) == 'I' && fgetc(fp) == 'D' && fgetc(fp) == '3') /* check for ID3 signature */ { ti->version = fgetc(fp); minor = fgetc(fp); ti->flags = flags = fgetc(fp); tagsize = fgetc(fp) & 0x7F; /* 28 bits of tag size info packed into 4 bytes - big endian */ tagsize <<= 7; /* most significant bit discarded - should be zero */ tagsize |= fgetc(fp) & 0x7F; tagsize <<= 7; tagsize |= fgetc(fp) & 0x7F; tagsize <<= 7; tagsize |= fgetc(fp) & 0x7F; switch (minor != 0xFF ? ti->version : -1) { case 4: if (flags & 0x40) { ehsize = fgetc(fp) & 0x7F; /* skip over the extended header */ ehsize <<= 7; ehsize |= fgetc(fp) & 0x7F; ehsize <<= 7; ehsize |= fgetc(fp) & 0x7F; ehsize <<= 7; ehsize |= fgetc(fp) & 0x7F; if (ehsize < tagsize) fseek(fp, ehsize - 4, SEEK_CUR); else { fprintf(stderr, "read_id3v2_tag: error, tag size not large enough for extended header\n"); fseek(fp, start + 10 + tagsize, SEEK_SET); return TRUE; } } case 3: frames_end = start + 10 + tagsize; if (!skip) break; default: fseek(fp, tagsize, SEEK_CUR); /* skip over the tag */ return TRUE; } if ((id.data = malloc(id.size = frames_end - ftell(fp))) == NULL || (!fread(id.data, id.size, 1, fp))) { fprintf(stderr, "read_id3_v2_tag: failed to read tag data\n"); fseek(fp, start + 10 + tagsize, SEEK_SET); return TRUE; } if (ti->version == 3) { if (flags & 0x80) resynchronise(&id); if (flags & 0x40) /* lose the extended header */ { ehsize = bigendianint(id.data); if (ehsize <= id.size) memcpy(id.data, id.data + ehsize, id.size -= ehsize); else { fprintf(stderr, "read_id3_tag: error, tag size not large enough for extended header\n"); fseek(fp, start + 10 + tagsize, SEEK_SET); return TRUE; } } } decode_id3_frames(ti, &id); free(id.data); if (flags & 0x10) /* skip over the footer if present */ fseek(fp, 10, SEEK_CUR); return TRUE; } fseek(fp, start, SEEK_SET); /* not ID3 so restore the file pointer */ return FALSE; } /********************************************************************************/ static int be32bitread(FILE *fp) { int rv; rv = fgetc(fp); rv <<= 8; rv |= fgetc(fp); rv <<= 8; rv |= fgetc(fp); rv <<= 8; rv |= fgetc(fp); return rv; } static void xing_tag_read(struct mp3taginfo *ti, FILE *fp) { unsigned char a, b, c; int mpeg1_f, mpeg_ix, mono_f, br_ix, sr_ix; int xing_offset, initial_offset, save_point = 0; int i, samples_per_frame, frame_length, padding; int bit_rate, sample_rate; int flags, b1, b2, b3; char xing_intro[4]; char lame_intro[4]; static int side_info_table[2][2] = { { 17, 9 } , { 32, 17 } }; static int bitrate_table[2][15] = { { 0, 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160 }, { 0, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320 } }; static int samplerate_table[4][4] = { { 11025, 12000, 8000, 0 }, { 0, 0, 0, 0 }, { 22050, 24000, 16000, 0 }, { 44100, 48000, 32000, 0 } }; initial_offset = ftell(fp); for (i = 0; i < 1024; i++) { while ((a = fgetc(fp)) != 0xFF) { if (feof(fp) || ferror(fp)) goto no_tag; } if (((b = fgetc(fp)) & 0xE0) == 0xE0) { c = fgetc(fp); fgetc(fp); if ((br_ix = (c >> 4)) == 0xF || (b & 0x18) == 0x08 || (b & 0x6) != 0x2) goto no_tag; if ((mpeg_ix = (b & 0x18) >> 3) == 1) goto no_tag; mpeg1_f = mpeg_ix == 0x3; br_ix = c >> 4; sr_ix = (c >> 2) & 0x3; padding = (c & 0x2) ? 1 : 0; mono_f = ((c & 0xC0) == 0xC0) ? 1 : 0; samples_per_frame = mpeg1_f ? 1152 : 576; xing_offset = side_info_table[mpeg1_f][mono_f]; bit_rate = bitrate_table[mpeg1_f][br_ix]; sample_rate = samplerate_table[mpeg_ix][sr_ix]; if (bit_rate == 0 || sample_rate == 0) frame_length = 0; else frame_length = samples_per_frame / 8 * bit_rate * 1000 / sample_rate + padding; while (xing_offset--) /* check side info is 100% blank */ if (fgetc(fp) || feof(fp) || ferror(fp)) goto no_tag; if (!fread(xing_intro, 4, 1, fp)) goto no_tag; if (memcmp(xing_intro, "Info", 4) && memcmp(xing_intro, "Xing", 4)) goto no_tag; fgetc(fp); fgetc(fp); fgetc(fp); flags = fgetc(fp); if (flags & 0x1) { ti->have_frames = 1; ti->frames = be32bitread(fp); if (!(ti->tlen) && sample_rate) ti->tlen = ti->frames / sample_rate; fprintf(stderr, "frames %d\n", ti->frames); } if (flags & 0x2) { ti->have_bytes = 1; ti->bytes = be32bitread(fp); fprintf(stderr, "bytes %d\n", ti->bytes); } if (flags & 0x4) { ti->have_toc = fread(ti->toc, 100, 1, fp); fprintf(stderr, "toc has been read\n"); } if (flags & 0x8) be32bitread(fp); if (!fread(lame_intro, 4, 1, fp)) goto no_tag; if (!memcmp(lame_intro, "LAME", 4)) { fprintf(stderr, "lame tag found\n"); fseek(fp, 17, SEEK_CUR); b1 = fgetc(fp); b2 = fgetc(fp); b3 = fgetc(fp); ti->start_frames_drop = ((b1 << 4) | (b2 >> 4)) + 528; ti->end_frames_drop = (((b2 & 0xF) << 8) | b3); fprintf(stderr, "frames to drop %d and %d\n", ti->start_frames_drop, ti->end_frames_drop); fseek(fp, 12, SEEK_CUR); } else fseek(fp, -4, SEEK_CUR); if (!frame_length) save_point = ftell(fp); if (!(ti->have_bytes)) { fprintf(stderr, "deriving number of bytes manually\n"); fseek(fp, 0, SEEK_END); ti->bytes = ftell(fp) - initial_offset + frame_length; ti->have_bytes = 1; } if (frame_length) fseek(fp, initial_offset + frame_length, SEEK_SET); else { fprintf(stderr, "manually skipping to the next frame\n"); fseek(fp, initial_offset + save_point, SEEK_SET); while (fgetc(fp) == '\0'); fseek(fp, -1, SEEK_CUR); } ti->first_byte = ftell(fp); return; } } no_tag: fseek(fp, initial_offset, SEEK_SET); } /********************************************************************************/ void mp3_tag_read(struct mp3taginfo *ti, FILE *fp) { if (id3_tag_read(ti, fp, FALSE)) while(id3_tag_read(ti, fp, TRUE)) fprintf(stderr, "Surplus ID3 tag skipped\n"); xing_tag_read(ti, fp); } void mp3_tag_cleanup(struct mp3taginfo *ti) { struct chapter *c = ti->first_chapter, *oldc; while ((oldc = c)) { free(c->artist.text); free(c->title.text); free(c->album.text); c = c->next; free(oldc); } memset(ti, 0, sizeof (struct mp3taginfo)); } struct chapter *mp3_tag_chapter_scan(struct mp3taginfo *ti, unsigned time_ms) { struct chapter *c; for (c = ti->first_chapter; c; c = c->next) if (time_ms >= c->time_begin && (time_ms < c->time_end || c->next == NULL)) return c; return NULL; } idjc-0.8.9/c/compressor.c0000644000175000017500000000512312113174301012136 00000000000000/* # compressor.c: Audio dynamic range compression code from IDJC. # Copyright (C) 2005-2007 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "gnusource.h" #include #include #include #include "dbconvert.h" #include "compressor.h" #include "bsdcompat.h" /* limiter: a basic hard knee compressor - called limiter because that is the mode */ /* in which IDJC uses it */ compaudio_t limiter(struct compressor *self, compaudio_t left, compaudio_t right) { compaudio_t gots, gain_target_db, diff; gots = level2db(fabs((fabs(left) > fabs(right)) ? left : right)); if (!isfinite(gots)) gots = -100.0; if (gots <= self->k1) gain_target_db = 0.0F; else gain_target_db = (gots - self->k1) / self->ratio + self->k1 - gots; if (fabs(diff = gain_target_db - self->gain_db) > 0.0000004) { if (self->gain_db > gain_target_db) self->gain_db += diff * self->attack; else self->gain_db += diff * self->release; } return self->gain_db; } /* the variable maxlevel dictates the amount by which the volume can be turned up */ /* when the ceiling level is breached the volume level is reduced */ compaudio_t normalizer(struct normalizer *self, compaudio_t left, compaudio_t right) { compaudio_t gots; gots = level2db(fabs((fabs(left) > fabs(right)) ? left : right)); if (!isfinite(gots)) gots = -90.3089987F; if (gots + self->level > self->ceiling && self->active != 0) { self->level -= (self->level - self->ceiling) * self->fall; } else { if (self->active) self->level += (self->maxlevel - self->level) * self->rise; else self->level += (0.0F - self->level) * self->rise; if (self->level > self->maxlevel) self->level = self->maxlevel; } return self->level; } idjc-0.8.9/c/live_oggflac_encoder.h0000644000175000017500000000263412113174301014073 00000000000000/* # live_oggflac_encoder.h: encode oggflac from a live source # Copyright (C) 2008 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "../config.h" #ifdef HAVE_OGGFLAC #include "sourceclient.h" #include #include "live_ogg_encoder.h" struct lofe_data { struct ogg_tag_data tag_data; FLAC__StreamEncoder *enc; int bits_per_sample; FLAC__StreamMetadata *metadata[1]; FLAC__byte *pab; size_t pab_rqd; size_t pab_size; size_t pab_head_size; int n_writes; unsigned samples; enum packet_flags flags; unsigned int seedp; int uclip; int lclip; }; int live_oggflac_encoder_init(struct encoder *encoder, struct encoder_vars *ev); #endif /* HAVE_OGGFLAC */ idjc-0.8.9/c/recorder.h0000644000175000017500000001134212127351571011567 00000000000000/* # recorder.h: the recording part of the streaming module of idjc # Copyright (C) 2007-2009 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #ifndef RECORDER_H #define RECORDER_H #include #include #include "sourceclient.h" enum record_mode { RM_STOPPED, RM_RECORDING, RM_PAUSED, RM_STOPPING }; struct recorder_vars { char *record_source; char *record_folder; char *record_filename; char *pause_button; char *auto_pause_button; }; /* metadata logging (mp3 only): while the first structure logs title changes for * creating a table of contents in the id3 tag, the second logs changes to the * compression ratio to provide for the creation of a seek table in the Xing tag */ struct metadata_item { char *artist; char *title; char *album; int time_offset; int byte_offset; int time_offset_end; int byte_offset_end; struct metadata_item *next; }; struct metadata_item2 { int start_offset_ms; int byte_offset; int finish_offset_ms; int size_bytes; int bit_rate; int sample_rate; struct metadata_item2 *next; }; struct recorder { struct threads_info *threads_info; int numeric_id; /* the identity of this recorder */ pthread_t thread_h; /* pthread handle for the recorder */ int thread_terminate_f; /* set this to cause the thread to exit */ int stop_request; /* control variables for various obvious things */ int stop_pending; int pause_request; int pause_pending; int unpause_request; int unpause_pending; int initial_serial; /* for syncing with the encoder */ int final_serial; int recording_length_s; /* time in whole seconds that are recorded */ int recording_length_ms; double accumulated_time; /* prior stream lengths are accumulated here */ int bytes_written; /* logs the current file size */ struct encoder_op *encoder_op; /* handle for getting input data */ FILE *fp; char *pathname; /* /path/to/filebeingsaved.[ogg/mp3] */ char *cuepathname; /* pathname of cue file */ char *timestamp; /* just the timestamp from the filename */ enum record_mode record_mode; struct metadata_item *mi_first; /* log mp3 song title changes */ struct metadata_item *mi_last; struct metadata_item2 *mi2_first; /* log mp3 block sizes and durations */ struct metadata_item2 *mi2_last; int id3_mode; /* when set applies an id3 tag */ int include_xing_tag; /* if true a xing/info tag is to be written */ int is_vbr; /* frame length changed */ unsigned oldbitrate; unsigned oldsamplerate; char first_mp3_header[4]; SNDFILE *sf; /* support for recording with libsndfile */ SF_INFO sfinfo; enum jack_dataflow jack_dataflow_control; /* tells the jack callback routine what we want it to do */ jack_ringbuffer_t *input_rb[2]; /* circular buffer containing pcm audio data */ enum performance_warning performance_warning_indicator; /* indicates ringbuffer overflow condition */ char *left; char *right; char *combined; size_t sf_samples; FILE *fpcue; char *artist; char *title; char *album; int artist_title_writes; pthread_mutex_t artist_title_mutex; int new_artist_title; pthread_mutex_t mode_mutex; pthread_cond_t mode_cv; }; struct recorder *recorder_init(struct threads_info *ti, int numeric_id); void recorder_destroy(struct recorder *self); int recorder_start(struct threads_info *ti, struct universal_vars *uv, void *other); int recorder_stop(struct threads_info *ti, struct universal_vars *uv, void *other); int recorder_pause(struct threads_info *ti, struct universal_vars *uv, void *other); int recorder_unpause(struct threads_info *ti, struct universal_vars *uv, void *other); int recorder_make_report(struct recorder *self); int recorder_new_metadata(struct recorder *self, char *artist, char *title, char *album); #endif idjc-0.8.9/c/ialloc.h0000644000175000017500000000203311717511070011216 00000000000000/* # ialloc.h: Heap memory allocation routines for IDJC # Copyright (C) 2005-2006 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include jack_default_audio_sample_t *ialloc(jack_nframes_t size); void ifree(jack_default_audio_sample_t *memblock); jack_default_audio_sample_t *irealloc(jack_default_audio_sample_t *, jack_nframes_t); idjc-0.8.9/c/main.h0000644000175000017500000000474212114637001010703 00000000000000/* # main.h: backend unification module # Copyright (C) 2011-2012 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include #include #include #include struct jack_ports { /* mixer ports */ jack_port_t *dj_out_l; jack_port_t *dj_out_r; jack_port_t *dsp_out_l; jack_port_t *dsp_out_r; jack_port_t *dsp_in_l; jack_port_t *dsp_in_r; jack_port_t *str_out_l; jack_port_t *str_out_r; jack_port_t *voip_out_l; jack_port_t *voip_out_r; jack_port_t *voip_in_l; jack_port_t *voip_in_r; jack_port_t *alarm_out; /* player breakout ports */ jack_port_t *pl_out_l; jack_port_t *pl_out_r; jack_port_t *pr_out_l; jack_port_t *pr_out_r; jack_port_t *pi_out_l; jack_port_t *pi_out_r; jack_port_t *pe1_out_l; jack_port_t *pe1_out_r; jack_port_t *pe2_out_l; jack_port_t *pe2_out_r; jack_port_t *pl_in_l; jack_port_t *pl_in_r; jack_port_t *pr_in_l; jack_port_t *pr_in_r; jack_port_t *pi_in_l; jack_port_t *pi_in_r; jack_port_t *pe_in_l; jack_port_t *pe_in_r; jack_port_t *midi_port; /* streamer/recorder capture ports */ jack_port_t *output_in_l; jack_port_t *output_in_r; }; struct globs { sig_atomic_t app_shutdown; int main_timeout; /* Inactive when negative. */ int jack_timeout; int has_head; int mixer_up; jack_client_t *client; /* Client handle to JACK. */ struct jack_ports port; /* JACK port handles. */ jack_ringbuffer_t *session_event_rb; /* Session event buffer */ pthread_mutex_t avc_mutex; /* lock for avcodec */ FILE *in; /* comms stream with user interface */ FILE *out; int freewheel; }; extern struct globs g; idjc-0.8.9/c/live_oggspeex_encoder.c0000644000175000017500000003021512114637001014303 00000000000000/* # live_oggspeex_encoder.c: encode speex from a live source into an ogg container # Copyright (C) 2008 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "../config.h" #ifdef HAVE_SPEEX #include #include #include #include #include #include #include "sourceclient.h" #include "live_ogg_encoder.h" #include "live_oggspeex_encoder.h" #include "vorbistagparse.h" #define SUCCEEDED 1 #define FAILED 0 #define MAX_FRAME_BYTES 2000 enum speex_mode { SM_UWB, SM_WB, SM_NB }; struct lose_data { struct ogg_tag_data tag_data; void *enc_state; SpeexBits bits; int fsamples; /* number of samples in a frame */ float *inbuf; ogg_stream_state os; int pflags; int packetno; int frame; int frames_encoded; int total_samples; int samples_encoded; int lookahead; int eos; char vendor_string[64]; size_t vs_len; struct SpeexMode const *mode; int quality; int complexity; struct vtag_block metadata_block; enum packet_flags flags; }; static void live_oggspeex_encoder_monomix(float *in, float *out, size_t n) { while (n--) *out++ = *in++ * 32768; } static void live_oggspeex_encoder_stereomix(float *l, float *r, float *m, size_t n) { while (n--) { *m++ = *l++ * 32768; *m++ = *r++ * 32768; } } static void live_oggspeex_encoder_main(struct encoder *encoder) { struct lose_data * const s = encoder->encoder_private; ogg_page og; ogg_packet op; if (encoder->encoder_state == ES_STARTING) { SpeexHeader header; char *packet; int packet_size; int error; speex_bits_init(&s->bits); if (!(s->enc_state = speex_encoder_init(s->mode))) { fprintf(stderr, "live_oggspeex_encoder_main: failed to initialise speex encoder\n"); goto bailout; } speex_encoder_ctl(s->enc_state, SPEEX_GET_FRAME_SIZE, &s->fsamples); speex_encoder_ctl(s->enc_state, SPEEX_SET_QUALITY, &s->quality); speex_encoder_ctl(s->enc_state, SPEEX_SET_COMPLEXITY, &s->complexity); speex_encoder_ctl(s->enc_state, SPEEX_GET_LOOKAHEAD, &s->lookahead); if (!(s->inbuf = realloc(s->inbuf, s->fsamples * encoder->n_channels * sizeof (float)))) { fprintf(stderr, "live_oggspeex_encoder_main: malloc failure\n"); goto bailout; } speex_init_header(&header, encoder->target_samplerate, encoder->n_channels, s->mode); header.frames_per_packet = 1; if (!(packet = speex_header_to_packet(&header, &packet_size))) { fprintf(stderr, "live_oggspeex_encoder_main: failed to make header packet\n"); goto bailout; } ogg_stream_init(&s->os, ++encoder->oggserial); op.packet = (unsigned char *)packet; op.bytes = packet_size; op.b_o_s = 1; op.e_o_s = 0; op.granulepos = 0; op.packetno = 0; ogg_stream_packetin(&s->os, &op); speex_header_free(packet); s->pflags = PF_INITIAL | PF_OGG | PF_HEADER; while (ogg_stream_flush(&s->os, &og)) { if (!(live_ogg_write_packet(encoder, &og, s->pflags))) { fprintf(stderr, "live_ogg_write_packet: failed to write header\n"); goto bailout; } s->pflags = PF_OGG | PF_HEADER; } if (encoder->new_metadata || !s->metadata_block.data) { struct vtag *tag; if (!(tag = vtag_new(s->vendor_string, &error))) { fprintf(stderr, "live_oggspeex_encoder_main: error: failed to initialise empty vtag: %s\n", vtag_strerror(error)); goto bailout; } vtag_append(tag, "encoder", getenv("app_name")); if (encoder->use_metadata) { struct ogg_tag_data t = {}; fprintf(stderr, "live_oggspeex_encoder_main: info: making metadata\n"); live_ogg_capture_metadata(encoder, &t); if (t.custom && t.custom[0]) { vtag_append(tag, "title", t.custom); vtag_append(tag, "trk-author", t.artist); vtag_append(tag, "trk-title", t.title); vtag_append(tag, "trk-album", t.album); } else { vtag_append(tag, "author", t.artist); vtag_append(tag, "title", t.title); vtag_append(tag, "album", t.album); } live_ogg_free_metadata(&t); } else fprintf(stderr, "live_oggspeex_encoder_main: info: making bare-bones metadata\n"); if ((error = vtag_serialize(tag, &s->metadata_block, NULL))) { fprintf(stderr, "live_oggspeex_encoder_main: vtag_serialize failed: %s\n", vtag_strerror(error)); goto bailout; } vtag_cleanup(tag); encoder->new_metadata = FALSE; } else fprintf(stderr, "live_oggspeex_encoder_main: info: using previous metadata\n"); op.packet = (unsigned char *)s->metadata_block.data; op.bytes = s->metadata_block.length; op.b_o_s = 0; op.e_o_s = 0; op.granulepos = 0; op.packetno = 1; ogg_stream_packetin(&s->os, &op); while (ogg_stream_flush(&s->os, &og)) { if (!(live_ogg_write_packet(encoder, &og, s->pflags))) { fprintf(stderr, "live_ogg_write_packet: failed to write header\n"); goto bailout; } } s->pflags = PF_OGG; s->packetno = 2; s->frame = 0; s->total_samples = 0; s->samples_encoded = -s->lookahead; s->eos = FALSE; encoder->timestamp = 0.0; encoder->encoder_state = ES_RUNNING; return; } if (encoder->encoder_state == ES_RUNNING) { struct encoder_ip_data *id; char wb[MAX_FRAME_BYTES]; int ws; int (*ogg_paging_function)(ogg_stream_state *, ogg_page *); if (s->eos == FALSE) { if (encoder->new_metadata || !encoder->run_request_f || encoder->flush) { s->eos = TRUE; memset(s->inbuf, '\0', s->fsamples * encoder->n_channels * sizeof (float)); return; } else { if((id = encoder_get_input_data(encoder, s->fsamples, s->fsamples, NULL))) { if (encoder->n_channels == 2) { live_oggspeex_encoder_stereomix(id->buffer[0], id->buffer[1], s->inbuf, s->fsamples); speex_encode_stereo(s->inbuf, s->fsamples, &s->bits); } else live_oggspeex_encoder_monomix(id->buffer[0], s->inbuf, s->fsamples); encoder_ip_data_free(id); s->total_samples += s->fsamples; } else return; /* no new audio data available */ } } else if (encoder->n_channels == 2) speex_encode_stereo(s->inbuf, s->fsamples, &s->bits); speex_encode(s->enc_state, s->inbuf, &s->bits); speex_bits_insert_terminator(&s->bits); ws = speex_bits_write(&s->bits, wb, MAX_FRAME_BYTES); speex_bits_reset(&s->bits); s->samples_encoded += s->fsamples; op.packet = (unsigned char *)wb; op.bytes = ws; op.b_o_s = 0; op.packetno = s->packetno++; if (s->samples_encoded >= s->total_samples) { op.e_o_s = 1; op.granulepos = s->total_samples; } else { op.e_o_s = 0; op.granulepos = s->samples_encoded; } if (op.e_o_s || ++s->frame == 10) ogg_paging_function = ogg_stream_flush; else ogg_paging_function = ogg_stream_pageout; ogg_stream_packetin(&s->os, &op); while (ogg_paging_function(&s->os, &og)) { s->frame = 0; if (ogg_page_eos(&og)) { s->pflags |= PF_FINAL; encoder->flush = FALSE; encoder->encoder_state = ES_STOPPING; } if (!live_ogg_write_packet(encoder, &og, s->pflags)) { fprintf(stderr, "live_oggspeex_encoder_main: failed to write packet\n"); goto bailout; } } return; } if (encoder->encoder_state == ES_STOPPING) { speex_bits_destroy(&s->bits); speex_encoder_destroy(s->enc_state); s->enc_state = NULL; ogg_stream_clear(&s->os); if (!encoder->run_request_f) goto bailout; else encoder->encoder_state = ES_STARTING; return; } fprintf(stderr, "live_oggspeex_encoder_main: unhandled encoder state\n"); return; bailout: fprintf(stderr, "live_oggspeex_encoder_main: performing cleanup\n"); encoder->run_request_f = FALSE; encoder->encoder_state = ES_STOPPED; encoder->run_encoder = NULL; encoder->flush = FALSE; encoder->new_metadata = FALSE; encoder->encoder_private = NULL; if (s->enc_state) { speex_bits_destroy(&s->bits); speex_encoder_destroy(s->enc_state); } if (s->inbuf) free(s->inbuf); vtag_block_cleanup(&s->metadata_block); free(s); fprintf(stderr, "live_oggspeex_encoder_main: finished cleanup\n"); return; } int live_oggspeex_encoder_init(struct encoder *encoder, struct encoder_vars *ev) { struct lose_data * const s = calloc(1, sizeof (struct lose_data)); char *speex_version; if (!s) { fprintf(stderr, "live_oggspeex_encoder: malloc failure\n"); return FAILED; } if (!vtag_block_init(&s->metadata_block)) { fprintf(stderr, "live_oggspeex_encoder: malloc failure\n"); free(s); return FAILED; } speex_lib_ctl(SPEEX_LIB_GET_VERSION_STRING, (void *)&speex_version); snprintf(s->vendor_string, sizeof(s->vendor_string), "Encoded with Speex %s", speex_version); s->vs_len = strlen(s->vendor_string); s->quality = atoi(ev->quality); s->complexity = atoi(ev->complexity); switch (encoder->target_samplerate) { case 32000: s->mode = &speex_uwb_mode; break; case 16000: s->mode = &speex_wb_mode; break; case 8000: s->mode = &speex_nb_mode; break; default: fprintf(stderr, "unsupported sample rate\n"); vtag_block_cleanup(&s->metadata_block); free(s); return FAILED; } encoder->encoder_private = s; encoder->run_encoder = live_oggspeex_encoder_main; return SUCCEEDED; } #endif idjc-0.8.9/c/main.c0000644000175000017500000002416012114637001010672 00000000000000/* # main.c: backend unificaction module. # Copyright (C) 2012 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "../config.h" #include #include #include #include #include #include #include #include #include #ifdef HAVE_AVCODEC #ifdef HAVE_AVFORMAT #ifdef FFMPEG_AVCODEC #include #include #else #include #include #endif /* FFMPEG_AVCODEC */ #endif /* HAVE_AVFORMAT */ #endif /* HAVE_AVCODEC */ #include "sig.h" #include "mixer.h" #include "sourceclient.h" #include "main.h" #define FALSE 0 #define TRUE (!FALSE) struct globs g; static void alarm_handler(int sig) { if (g.app_shutdown) exit(5); if (g.mixer_up && !mixer_healthcheck()) g.app_shutdown = TRUE; if (g.jack_timeout++ > 9) g.app_shutdown = TRUE; if (g.has_head && g.main_timeout++ > 9) g.app_shutdown = TRUE; /* One second grace to shut down naturally. */ alarm(1); } static void custom_jack_error_callback(const char *message) { fprintf(stderr, "jack error: %s\n", message); } static void custom_jack_info_callback(const char *message) { fprintf(stderr, "jack info: %s\n", message); } static void custom_jack_on_shutdown_callback() { g.app_shutdown = TRUE; } static void session_callback(jack_session_event_t *event, void *arg) { /* Store the address of the event so the data can be retrieved later by * user interface polling. This is done in mixer.c. */ if (jack_ringbuffer_write(g.session_event_rb, (char *)&event, sizeof event) < sizeof event) { /* The ringbuffer is good for 512 writes in 1/20th second. (32 bit) */ fprintf(stderr, "main.c: session event ringbuffer is stuffed -- exiting\n"); exit(5); } } static int buffer_size_callback(jack_nframes_t n_frames, void *arg) { return mixer_new_buffer_size(n_frames); } static void freewheel_callback(int starting, void *arg) { g.freewheel = starting; } static void cleanup_jack() { if (g.client) { jack_deactivate(g.client); jack_client_close(g.client); } } static int main_process_audio(jack_nframes_t n_frames, void *arg) { int rv; rv = mixer_process_audio(n_frames, arg) || audio_feed_process_audio(n_frames, arg); if (rv == 0) g.jack_timeout = 0; return rv; } static int backend_main() { char *buffer = NULL; size_t n = 10; int keep_running = TRUE; jack_options_t options = 0; /* Without these being set the backend will segfault. */ { int o = FALSE; /* Overwrite flag */ if (setenv("session_type", "L0", o) || setenv("client_id", "idjc_nofrontend", o) || setenv("mic_qty", "4", o) || setenv("num_streamers", "6", o) || setenv("num_encoders", "6", o) || setenv("num_recorders", "2", o) || setenv("num_effects", "24", o) || setenv("jack_parameter", "default", o) || setenv("has_head", "0", o) || /* C locale required for . as radix character. */ setenv("LC_ALL", "C", 1)) { perror("main: failed to set environment variable"); exit(5); } } setlocale(LC_ALL, getenv("LC_ALL")); g.has_head = atoi(getenv("has_head")); signal(SIGALRM, alarm_handler); /* Signal handling. */ sig_init(); if (!(strcmp(getenv("session_type"), "JACK"))) { options = JackSessionID; g.session_event_rb = jack_ringbuffer_create(2048); } else options = JackUseExactName | JackServerName; if ((g.client = jack_client_open(getenv("client_id"), options, NULL, getenv("jack_parameter"))) == 0) { fprintf(stderr, "main.c: jack_client_open failed"); exit(5); } #ifdef HAVE_AVCODEC #ifdef HAVE_AVFORMAT if (pthread_mutex_init(&g.avc_mutex, NULL)) { fprintf(stderr, "pthread_mutex_init failed\n"); exit(5); } avcodec_register_all(); av_register_all(); #endif /* HAVE_AVFORMAT */ #endif /* HAVE_AVCODEC */ alarm(3); jack_set_error_function(custom_jack_error_callback); jack_set_info_function(custom_jack_info_callback); jack_on_shutdown(g.client, custom_jack_on_shutdown_callback, NULL); jack_set_freewheel_callback(g.client, freewheel_callback, NULL); jack_set_session_callback(g.client, session_callback, NULL); jack_set_process_callback(g.client, main_process_audio, NULL); jack_set_buffer_size_callback(g.client, buffer_size_callback, NULL); /* Registration of JACK ports. */ #define MK_AUDIO_INPUT(var, name) var = jack_port_register(g.client, name, JACK_DEFAULT_AUDIO_TYPE, JackPortIsInput, 0); #define MK_AUDIO_OUTPUT(var, name) var = jack_port_register(g.client, name, JACK_DEFAULT_AUDIO_TYPE, JackPortIsOutput, 0); { struct jack_ports *p = &g.port; /* Mixer ports. */ MK_AUDIO_OUTPUT(p->dj_out_l, "dj_out_l"); MK_AUDIO_OUTPUT(p->dj_out_r, "dj_out_r"); MK_AUDIO_OUTPUT(p->dsp_out_l, "dsp_out_l"); MK_AUDIO_OUTPUT(p->dsp_out_r, "dsp_out_r"); MK_AUDIO_INPUT(p->dsp_in_l, "dsp_in_l"); MK_AUDIO_INPUT(p->dsp_in_r, "dsp_in_r"); MK_AUDIO_OUTPUT(p->str_out_l, "str_out_l"); MK_AUDIO_OUTPUT(p->str_out_r, "str_out_r"); MK_AUDIO_OUTPUT(p->voip_out_l, "voip_out_l"); MK_AUDIO_OUTPUT(p->voip_out_r, "voip_out_r"); MK_AUDIO_INPUT(p->voip_in_l, "voip_in_l"); MK_AUDIO_INPUT(p->voip_in_r, "voip_in_r"); MK_AUDIO_OUTPUT(p->alarm_out, "alarm_out"); /* Player related ports. */ MK_AUDIO_OUTPUT(p->pl_out_l, "pl_out_l"); MK_AUDIO_OUTPUT(p->pl_out_r, "pl_out_r"); MK_AUDIO_OUTPUT(p->pr_out_l, "pr_out_l"); MK_AUDIO_OUTPUT(p->pr_out_r, "pr_out_r"); MK_AUDIO_OUTPUT(p->pi_out_l, "pi_out_l"); MK_AUDIO_OUTPUT(p->pi_out_r, "pi_out_r"); MK_AUDIO_OUTPUT(p->pe1_out_l, "pe01-12_out_l"); MK_AUDIO_OUTPUT(p->pe1_out_r, "pe01-12_out_r"); MK_AUDIO_OUTPUT(p->pe2_out_l, "pe13-24_out_l"); MK_AUDIO_OUTPUT(p->pe2_out_r, "pe13-24_out_r"); MK_AUDIO_INPUT(p->pl_in_l, "pl_in_l"); MK_AUDIO_INPUT(p->pl_in_r, "pl_in_r"); MK_AUDIO_INPUT(p->pr_in_l, "pr_in_l"); MK_AUDIO_INPUT(p->pr_in_r, "pr_in_r"); MK_AUDIO_INPUT(p->pi_in_l, "pi_in_l"); MK_AUDIO_INPUT(p->pi_in_r, "pi_in_r"); MK_AUDIO_INPUT(p->pe_in_l, "pe_in_l"); MK_AUDIO_INPUT(p->pe_in_r, "pe_in_r"); /* Not really a mixer port but handled in the mixer code. */ p->midi_port = jack_port_register(g.client, "midi_control", JACK_DEFAULT_MIDI_TYPE, JackPortIsInput, 0); /* Sourceclient ports. */ MK_AUDIO_INPUT(p->output_in_l, "output_in_l"); MK_AUDIO_INPUT(p->output_in_r, "output_in_r"); } #undef MK_AUDIO_INPUT #undef MK_AUDIO_OUTPUT /* Submodule initialization. */ mixer_init(); sourceclient_init(); if (jack_activate(g.client)) { fprintf(stderr, "main.c: failed to activate JACK client.\n"); jack_client_close(g.client); g.client = NULL; exit(5); } atexit(cleanup_jack); fprintf(g.out, "idjc backend ready\n"); fflush(g.out); alarm(1); while (keep_running && getline(&buffer, &n, g.in) > 0 && !g.app_shutdown) { /* Filter commands to submodules. */ if (!strcmp(buffer, "mx\n")) keep_running = mixer_main(); else { if (!strcmp(buffer, "sc\n")) keep_running = sourceclient_main(); else { fprintf(stderr, "main.c: expected module name, got: %s", buffer); exit(5); } } g.main_timeout = 0; } jack_deactivate(g.client); jack_client_close(g.client); g.client = NULL; alarm(0); if (buffer) free(buffer); if (g.session_event_rb) jack_ringbuffer_free(g.session_event_rb); return 0; } int init_backend(int *read_pipe, int *write_pipe) { char *ui2be = getenv("ui2be"); char *be2ui = getenv("be2ui"); pid_t pid; unlink(ui2be); unlink(be2ui); if (mkfifo(ui2be, S_IWUSR | S_IRUSR) || mkfifo(be2ui, S_IWUSR | S_IRUSR)) { fprintf(stderr, "init_backend: failed to make fifo\n"); return -1; } if (!(pid = fork())) { int maxfd = sysconf(_SC_OPEN_MAX); for (int fd = 3; fd < maxfd; ++fd) close(fd); if ((g.in = fopen(ui2be, "r")) && (g.out = fopen(be2ui, "w"))) { fputc('#', g.out); int ret = backend_main(); fclose(g.in); fclose(g.out); exit(ret); } else fprintf(stderr, "init_backend: in fork: failed to open fifo\n"); } *write_pipe = open(ui2be, O_WRONLY); *read_pipe = open(be2ui, O_RDONLY); char buffer; if (read(*read_pipe, &buffer, 1) != 1) { fprintf(stderr, "init_backend: pipe failed\n"); return -1; } return (int)pid; } idjc-0.8.9/c/dyn_mpg123.h0000644000175000017500000000161712114637001011640 00000000000000/* # dyn_mpg123.h: dynamic linking for libmpg123 # Copyright (C) 2012 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "../config.h" #ifdef DYN_MPG123 int dyn_mpg123_init(); #endif /* DYN_MPG123 */ idjc-0.8.9/c/compressor.h0000644000175000017500000000322112113174301012140 00000000000000/* # compressor.h: Audio dynamic range compression code from IDJC. # Copyright (C) 2005-2007 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include typedef jack_default_audio_sample_t compaudio_t; struct compressor { compaudio_t gain_db; compaudio_t k1; compaudio_t k2; compaudio_t ratio; compaudio_t attack; compaudio_t release; compaudio_t opgain; compaudio_t ducking; compaudio_t curve; int ducking_hold; int ducking_hold_count; compaudio_t ducking_db; compaudio_t de_ess_db; }; struct normalizer { int active; compaudio_t level; compaudio_t ceiling; compaudio_t rise; compaudio_t fall; compaudio_t maxlevel; }; compaudio_t compressor(struct compressor *self, compaudio_t signal, int skip_rms); compaudio_t limiter(struct compressor *self, compaudio_t left, compaudio_t right); compaudio_t normalizer(struct normalizer *self, compaudio_t left, compaudio_t right); idjc-0.8.9/c/streamer.c0000644000175000017500000004440312114637001011572 00000000000000/* # streamer.c: the streaming part of the streaming module of idjc # Copyright (C) 2007 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "../config.h" #define _POSIX_C_SOURCE 200112L #include #include #include #include #include #include "sourceclient.h" #include "sig.h" #include "main.h" /* other versions of libshout define SHOUT_FORMAT_VORBIS instead */ #ifndef SHOUT_FORMAT_OGG #define SHOUT_FORMAT_OGG SHOUT_FORMAT_VORBIS #endif /*SHOUT_FORMAT_OGG*/ /* the number of seconds of audio to stockpile before packet dumping takes place */ static const int shout_buffer_seconds = 9; static void *streamer_main(void *args) { struct streamer *self = args; struct timespec ms10 = { 0, 10000000 }; struct encoder_op_packet *packet; char buffer[10]; size_t data_size; char *s_conv(unsigned long value) { snprintf(buffer, 10, "%lu", value); return buffer; } sig_mask_thread(); while (!self->thread_terminate_f) { nanosleep(&ms10, NULL); switch (self->stream_mode) { case SM_DISCONNECTED: pthread_mutex_lock(&self->mode_mutex); while (self->stream_mode == SM_DISCONNECTED && !self->thread_terminate_f) pthread_cond_wait(&self->mode_cv, &self->mode_mutex); pthread_mutex_unlock(&self->mode_mutex); continue; case SM_CONNECTING: switch(self->shout_status) { case SHOUTERR_BUSY: self->shout_status = shout_get_connected(self->shout); if (self->disconnect_request) self->stream_mode = SM_DISCONNECTING; break; case SHOUTERR_CONNECTED: /* lock the encoder, grab the serial number and issue encoder flush */ /* this makes the encoder contemporaneous with the stream */ self->initial_serial = encoder_client_set_flush(self->encoder_op) + 1; fprintf(stderr, "streamer_main: connected to server - awaiting serial %d\n", self->initial_serial); self->brand_new_connection = TRUE; self->stream_mode = SM_CONNECTED; break; default: fprintf(stderr, "streamer_main: connection failed, shout_get_error reports %ld %s\n", self->shout_status, shout_get_error(self->shout)); self->stream_mode = SM_DISCONNECTING; } break; case SM_CONNECTED: /* check the connection is still on */ if ((self->shout_status = shout_get_connected(self->shout)) != SHOUTERR_CONNECTED) { fprintf(stderr, "streamer_main: shout_get_error reports %ld %s\n", self->shout_status, shout_get_error(self->shout)); self->stream_mode = SM_DISCONNECTING; } if (self->disconnect_request && (!self->disconnect_pending)) { self->disconnect_pending = TRUE; fprintf(stderr, "streamer_main: disconnect_pending is set\n"); self->final_serial = encoder_client_set_flush(self->encoder_op); fprintf(stderr, "streamer_main: issued flush to mixer, disconnecting from server when final packet of serial=%d arrives\n", self->final_serial); } if ((packet = encoder_client_get_packet(self->encoder_op))) { if (packet->header.serial >= self->initial_serial) { if (packet->header.flags & PF_INITIAL) { int br = packet->header.bit_rate; /* determine how much audio to hold in the send buffer */ self->max_shout_queue = (shout_buffer_seconds * ((br > 1000) ? br / 1000 : br)) << 7; } if (packet->header.flags & (PF_OGG | PF_MP3 | PF_MP2 | PF_AAC | PF_AACP2)) { if ((packet->header.flags & (PF_HEADER | PF_FINAL)) || shout_queuelen(self->shout) < self->max_shout_queue) data_size = packet->header.data_size; else { data_size = 0; fprintf(stderr, "streamer_main: **** packet dumped due to buffer being full ****\n"); } #if 1 switch(shout_send(self->shout, packet->data, data_size)) { case SHOUTERR_SUCCESS: case SHOUTERR_BUSY: break; default: fprintf(stderr, "streamer_main: failed writing to stream, shout_get_error reports: %s\n", shout_get_error(self->shout)); self->stream_mode = SM_DISCONNECTING; } #else if (shout_send_raw(self->shout, packet->data, data_size) != data_size) { fprintf(stderr, "streamer_main: failed writing to stream, shout_get_error reports: %s\n", shout_get_error(self->shout)); self->stream_mode = SM_DISCONNECTING; } #endif } if (packet->header.flags & PF_FINAL) fprintf(stderr, "streamer_main: final packet with serial %d\n", packet->header.serial); if (self->disconnect_pending && (packet->header.serial > self->final_serial || ((packet->header.flags & PF_FINAL) && self->final_serial == packet->header.serial))) { fprintf(stderr, "streamer_main: last packet wrote, disconnecting\n"); self->stream_mode = SM_DISCONNECTING; } } if (packet->header.flags & PF_METADATA) /* tell server about new metadata */ { *strpbrk(packet->data, "\n") = '\0'; fprintf(stderr, "streamer_main: packet is metadata: %s\n", (char *)packet->data); shout_metadata_add(self->shout_meta, "song", packet->data); switch (shout_set_metadata(self->shout, self->shout_meta)) { case SHOUTERR_SUCCESS: case SHOUTERR_BUSY: break; default: fprintf(stderr, "streamer_main: failed writing metadata to stream, shout_get_error reports: %s\n", shout_get_error(self->shout)); self->stream_mode = SM_DISCONNECTING; } } encoder_client_free_packet(packet); } break; case SM_DISCONNECTING: fprintf(stderr, "streamer_main: disconencting from server\n"); shout_close(self->shout); shout_free(self->shout); shout_metadata_free(self->shout_meta); encoder_unregister_client(self->encoder_op); self->shout = NULL; self->shout_meta = NULL; self->encoder_op = NULL; self->max_shout_queue = 0; self->disconnect_request = FALSE; self->disconnect_pending = FALSE; self->stream_mode = SM_DISCONNECTED; fprintf(stderr, "streamer_main: disconnection complete\n"); break; } } return NULL; } int streamer_make_report(struct streamer *self) { int buffer_fill_pc = 0; int new_connection = self->brand_new_connection; /* for thread safety */ int max_shout_queue = self->max_shout_queue; if (self->stream_mode == SM_CONNECTED && max_shout_queue) buffer_fill_pc = (int)(shout_queuelen(self->shout) * 100 / max_shout_queue); fprintf(g.out, "idjcsc: streamer%dreport=%d:%d:%d\n", self->numeric_id, (int)self->stream_mode, buffer_fill_pc, new_connection); if (new_connection) self->brand_new_connection = FALSE; fflush(g.out); return SUCCEEDED; } int streamer_connect(struct threads_info *ti, struct universal_vars *uv, void *other) { struct streamer_vars *sv = other; struct streamer *self = ti->streamer[uv->tab]; int protocol, data_format = -1; char channels[2]; char bitrate[4]; char samplerate[6]; void sce(char *parameter) /* stream connect error */ { fprintf(stderr, "streamer_connect: failed to set parameter %s\n", parameter); } if (!(self->encoder_op = encoder_register_client(ti, atoi(sv->stream_source)))) { fprintf(stderr, "streamer_start: failed to register with encoder\n"); return FAILED; } if (!self->encoder_op->encoder->run_request_f) { fprintf(stderr, "streamer_start: encoder is not running\n"); encoder_unregister_client(self->encoder_op); return FAILED; } else { const struct encoder_data_format *df = &self->encoder_op->encoder->data_format; int failed = FALSE; switch (df->family) { case ENCODER_FAMILY_OGG: data_format = SHOUT_FORMAT_OGG; break; case ENCODER_FAMILY_MPEG: switch (df->codec) { case ENCODER_CODEC_MP3: case ENCODER_CODEC_MP2: data_format = SHOUT_FORMAT_MP3; break; case ENCODER_CODEC_AAC: data_format = SHOUT_FORMAT_AAC; break; case ENCODER_CODEC_AACPLUSV2: data_format = SHOUT_FORMAT_AACPLUS; break; case ENCODER_CODEC_UNHANDLED: default: failed = TRUE; } break; case ENCODER_FAMILY_UNHANDLED: failed = TRUE; } if (failed) { fprintf(stderr, "streamer_start: unhandled encoder data format\n"); encoder_unregister_client(self->encoder_op); return FAILED; } } if (!strcmp(sv->server_type, "Shoutcast")) protocol = SHOUT_PROTOCOL_ICY; else if (!strcmp(sv->server_type, "Icecast 2")) protocol = SHOUT_PROTOCOL_HTTP; else if (!strcmp(sv->server_type, "Icecast")) protocol = SHOUT_PROTOCOL_XAUDIOCAST; else { fprintf(stderr, "streamer_connect: server_type unhandled value %s\n", sv->server_type); encoder_unregister_client(self->encoder_op); return FAILED; } if (!(self->shout_meta = shout_metadata_new())) { fprintf(stderr, "streamer_connect: failed to allocate a shout metadata object\n"); encoder_unregister_client(self->encoder_op); } if (!(self->shout = shout_new())) { fprintf(stderr, "streamer_connect: call to shout_new failed\n"); encoder_unregister_client(self->encoder_op); return FAILED; } if (shout_set_protocol(self->shout, protocol) != SHOUTERR_SUCCESS) { sce("protocol"); goto error; } if (shout_set_format(self->shout, data_format) != SHOUTERR_SUCCESS) { sce("format"); goto error; } if (shout_set_host(self->shout, sv->host) != SHOUTERR_SUCCESS) { sce("host"); goto error; } if (shout_set_port(self->shout, atoi(sv->port)) != SHOUTERR_SUCCESS) { sce("port"); goto error; } if (shout_set_mount(self->shout, sv->mount) != SHOUTERR_SUCCESS) { sce("mount"); goto error; } if (shout_set_user(self->shout, sv->login) != SHOUTERR_SUCCESS) { sce("login"); goto error; } if (shout_set_password(self->shout, sv->password) != SHOUTERR_SUCCESS) { sce("password"); goto error; } if (sv->useragent[0]) { if (shout_set_agent(self->shout, sv->useragent) != SHOUTERR_SUCCESS) { sce("useragent"); goto error; } else fprintf(stderr, "user agent is set\n"); } if (shout_set_name(self->shout, sv->dj_name) != SHOUTERR_SUCCESS) { sce("stream/dj name"); goto error; } if (shout_set_url(self->shout, sv->listen_url) != SHOUTERR_SUCCESS) { sce("url"); goto error; } if (shout_set_description(self->shout, sv->description) != SHOUTERR_SUCCESS) { sce("description"); goto error; } if (shout_set_genre(self->shout, sv->genre) != SHOUTERR_SUCCESS) { sce("genre"); goto error; } if (shout_set_irc(self->shout, sv->irc) != SHOUTERR_SUCCESS) { sce("irc"); goto error; } if (shout_set_aim(self->shout, sv->aim) != SHOUTERR_SUCCESS) { sce("aim"); goto error; } if (shout_set_icq(self->shout, sv->icq) != SHOUTERR_SUCCESS) { sce("icq"); goto error; } if (shout_set_public(self->shout, !strcmp(sv->make_public, "True")) != SHOUTERR_SUCCESS) { sce("make public"); goto error; } snprintf(channels, sizeof channels , "%d", self->encoder_op->encoder->n_channels); { int br = self->encoder_op->encoder->bitrate; snprintf(bitrate, sizeof bitrate , "%d", ((br < 1000) ? br : br/1000)); } snprintf(samplerate, sizeof samplerate, "%ld", self->encoder_op->encoder->target_samplerate); if (shout_set_audio_info(self->shout, SHOUT_AI_BITRATE, bitrate) != SHOUTERR_SUCCESS) { sce("set_audio_info bitrate"); goto error; } if (shout_set_audio_info(self->shout, SHOUT_AI_SAMPLERATE, samplerate) != SHOUTERR_SUCCESS) { sce("set_audio_info samplerate"); goto error; } if (shout_set_audio_info(self->shout, SHOUT_AI_CHANNELS, channels) != SHOUTERR_SUCCESS) { sce("set_audio_info channels"); goto error; } if (shout_set_nonblocking(self->shout, 1) != SHOUTERR_SUCCESS) { sce("non-blocking"); goto error; } switch(self->shout_status = shout_open(self->shout)) { case SHOUTERR_SUCCESS: self->shout_status = SHOUTERR_CONNECTED; case SHOUTERR_BUSY: case SHOUTERR_CONNECTED: pthread_mutex_lock(&self->mode_mutex); self->stream_mode = SM_CONNECTING; pthread_cond_signal(&self->mode_cv); pthread_mutex_unlock(&self->mode_mutex); fprintf(stderr, "streamer_connect: established connection to the server\n"); return SUCCEEDED; } error: fprintf(stderr, "streamer_connect: shout_get_error reports: %s\n", shout_get_error(self->shout)); shout_free(self->shout); shout_metadata_free(self->shout_meta); encoder_unregister_client(self->encoder_op); return FAILED; } int streamer_disconnect(struct threads_info *ti, struct universal_vars *uv, void *other) { struct streamer *self = ti->streamer[uv->tab]; struct timespec ms10 = { 0, 10000000 }; if (!self->shout) { fprintf(stderr, "streamer_disconnect: function called while not streaming\n"); return FAILED; } self->disconnect_request = TRUE; fprintf(stderr, "streamer_disconnect: disconnection_request is set\n"); while(self->stream_mode != SM_DISCONNECTED) nanosleep(&ms10, NULL); fprintf(stderr, "streamer_disconnect: disconnection complete\n"); return SUCCEEDED; } void shout_initialiser() { shout_init(); } struct streamer *streamer_init(struct threads_info *ti, int numeric_id) { struct streamer *self; static pthread_once_t once_control = PTHREAD_ONCE_INIT; pthread_once(&once_control, shout_initialiser); if (!(self = calloc(1, sizeof (struct streamer)))) { fprintf(stderr, "streamer_init: malloc failure\n"); exit(-5); } self->threads_info = ti; self->numeric_id = numeric_id; pthread_mutex_init(&self->mode_mutex, NULL); pthread_cond_init(&self->mode_cv, NULL); pthread_create(&self->thread_h, NULL, streamer_main, self); return self; } void streamer_destroy(struct streamer *self) { static pthread_once_t once_control = PTHREAD_ONCE_INIT; void *thread_ret; pthread_once(&once_control, shout_shutdown); pthread_mutex_lock(&self->mode_mutex); self->thread_terminate_f = TRUE; pthread_cond_signal(&self->mode_cv); pthread_mutex_unlock(&self->mode_mutex); pthread_join(self->thread_h, &thread_ret); pthread_cond_destroy(&self->mode_cv); pthread_mutex_destroy(&self->mode_mutex); free(self); } idjc-0.8.9/c/xlplayer.h0000644000175000017500000003144212114637001011614 00000000000000/* # xlplayer.h: player decoder module for idjc # Copyright (C) 2006-2009 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #ifndef XLPLAYER_H #define XLPLAYER_H #include "../config.h" #include #include #include #include #include #include #include #ifdef HAVE_FLAC #include #endif #include "fade.h" #include "smoothing.h" enum command_t {CMD_COMPLETE, CMD_PLAY, CMD_EJECT, CMD_CLEANUP, CMD_THREADEXIT, CMD_PLAYMANY}; enum playmode_t {PM_STOPPED, PM_INITIATE, PM_PLAYING, PM_EJECTING }; enum metadata_t {DM_NONE_NEW, DM_SPLIT_U8, DM_JOINED_U8, DM_SPLIT_L1, DM_JOINED_L1, DM_JOINED_UC, DM_JOINED_UCBE, DM_NOTAG}; struct xlp_dynamic_metadata /* song titles can change mid-file */ { /* this structure facilitates transmission */ pthread_mutex_t meta_mutex; /* back to the user interface */ char *artist; char *title; char *album; int current_audio_context; int rbdelay; enum metadata_t data_type; }; struct xlplayer { struct fade *fadein; /* fade level computation */ struct fade *fadeout; jack_ringbuffer_t *left_ch; /* main playback buffer */ jack_ringbuffer_t *right_ch; jack_ringbuffer_t *left_fade; /* buffers used for fade - swapped with above when needed */ jack_ringbuffer_t *right_fade; size_t rbsize; /* the size of the jack ringbuffers in bytes */ int rbdelay; /* rough time lag of the ringbuffers in ms */ size_t op_buffersize; /* the current size of the player output buffers */ char *pathname; /* the pathname of the music file being played */ char **playlist; /* the playlist as an array of pointers */ float gain; /* amount of gain to apply to the playback */ int loop; /* flag indicating if we loop or come to a stop */ int seek_s; /* the initial seek time of the song in seconds */ int size; /* size of the file in seconds */ int playlistmode; /* set when we are using a local playlist */ int playlistindex; /* current track number we are playing */ int playlistsize; /* the number of tracks in the playlist */ jack_default_audio_sample_t *leftbuffer; /* the output buffers */ jack_default_audio_sample_t *rightbuffer; int fade_mode; /* deferred fade mode */ int fadeout_f; /* flag indicated if fade is applied upon stopping */ int jack_flush; /* tells the jack callback to flush the ringbuffers */ int jack_is_flushed; /* indicates true when jack callback has done the flush */ unsigned samplerate; /* the audio sample rate in use by jack */ int pause; /* flag controlling the player paused state */ int write_deferred; /* suppress further generation of audio data */ u_int64_t samples_written; /* number of samples written to the ringbuffer */ int32_t play_progress_ms; /* the playback progress in milliseconds */ char *playername; /* the name of this player e.g. "left", "right" etc. */ enum playmode_t playmode; /* indicates the player mode or state */ enum command_t command; /* the command mode */ size_t avail; /* the number of samples available in the ringbuffer */ int have_data_f; /* indicates the presence of audio data */ int current_audio_context; /* bumps when started, bumps when stopped. Odd=playing */ int initial_audio_context; /* return code placeholder variable for above */ int dither; /* whether to add dither to player output FLAC, MP4, WAV only */ unsigned int seed; /* used for dither */ pthread_t thread; /* thread pointer for the player main loop */ u_int32_t sleep_samples; /* used to count off when it is appropriate to call sleep */ SRC_STATE *src_state; /* used by resampler */ SRC_DATA src_data; int rsqual; /* resample quality */ int noflush; /* suppresses ringbuffer flushes for gapless playback */ int *jack_shutdown_f; /* inidcator that jack has shut down */ volatile sig_atomic_t watchdog_timer; int up; /* set to true when the player is fully initialised */ double pbspeed; /* the playback speed as a factor */ float newpbspeed; /* the value the above is updated with */ SRC_STATE *pbspeed_conv_l; /* libsamplerate handle for playback speed control - left channel */ SRC_STATE *pbspeed_conv_r; SRC_STATE *pbspeed_conv_lf; /* as above but for fade buffer */ SRC_STATE *pbspeed_conv_rf; float *pbsrb_l; /* input buffers for the playback speed converter */ float *pbsrb_r; float *pbsrb_lf; float *pbsrb_rf; long pbs_norm_read_qty; /* the number of normal samples which will be read from left and right channels */ long pbs_fade_read_qty; /* the number of fadeout samples which will be read */ int pbs_exchange; /* keeps correct association for input buffers after a buffer swap occurs */ void *dec_data; /* points to audio decoder data */ void (*dec_init)(struct xlplayer *);/* audio decoder init function */ void (*dec_play)(struct xlplayer *);/* function that decodes one frame of audio data */ void (*dec_eject)(struct xlplayer *);/* function that cleans up after the decoder */ struct xlp_dynamic_metadata dynamic_metadata; int usedelay; /* client to delay dynamic metadata display */ float silence; /* the number of seconds of silence */ int samples_cutoff; /* audio cutoff imminent when fewer than this value samples remain */ int use_sv; /* speed variance version of read function will be used */ float *lcb; /* left channel buffer */ float *rcb; /* right channel buffer */ float *lcfb; /* left channel fade buffer */ float *rcfb; /* right channel fade buffer */ float *lcp, *rcp, *lcfp, *rcfp; /* pointers into the above buffers */ float ls, rs; /* the current audio sample stereo pair -- prior to gain adjustment */ float peak; /* peak = MAX(peak, MAX(ABS(ls), ABS(rs))) */ struct smoothing_mute mute_aud; struct smoothing_mute mute_str; struct smoothing_volume volume; float cf_l_gain, cf_r_gain; /* per channel gain adjustment -- e.g. for apply crossfade */ int cf_aud; /* apply crossfade on dj audio */ float ls_aud, ls_str; /* the gain adjusted audio samples */ float rs_aud, rs_str; uint32_t id; /* player identity e.g. player 3 = 1 << 3 */ pthread_mutex_t command_mutex; /* lock for command varaible change */ pthread_cond_t command_cv; /* used to wake up idle worker thread */ }; /* xlplayer_create: create an instance of the player */ struct xlplayer *xlplayer_create(int samplerate, double duration, char *playername, sig_atomic_t *shutdown_f, int *vol_c, float vol_scale, int *strmute_c, int *audmute_c, float cutoff_s); /* xlplayer_destroy: the opposite of xlplayer_create */ void xlplayer_destroy(struct xlplayer *); /* xlplayer_play: starts the player on a particular track immediately * if a track is currently playing eject is called * return value: a context-id for this track */ int xlplayer_play(struct xlplayer *self, char *pathname, int seek_s, int size, float gain_db, int id); /* xlplayer_playmany: starts the player on a playlist * if a track is currently playing eject is called, also can set looping with this function * return value: a context-id for this playlist */ int xlplayer_playmany(struct xlplayer *self, char *playlist, int loop_f); /* xlplayer_play_noflush: starts the player without flushing out old data from the ringbuffer */ int xlplayer_play_noflush(struct xlplayer *self, char *pathname, int seek_s, int size, float gain_db, int id); /* xlplayer_cancelplaynext: cancels the automatic playing of the next track * the current track is allowed to continue playing */ void xlplayer_cancelplaynext(struct xlplayer *self); /* xlplayer_pause: pauses the current track */ void xlplayer_pause(struct xlplayer *self); /* xlplayer_unpause: unpause the current track */ void xlplayer_unpause(struct xlplayer *self); /* xlplayer_dither: turns on/off dither on players */ void xlplayer_dither(struct xlplayer *self, int dither_f); /* xlplayer_eject: stops the current track with a fadeout unless the track is paused */ /* this call will also cancel any track cued with playnext command */ /* to suppress fadeout call pause beforehand */ void xlplayer_eject(struct xlplayer *self); /* read_from_player: reads out the audio data from the buffers */ /* this is meant to be run inside the jack callback */ size_t read_from_player(struct xlplayer *self, jack_default_audio_sample_t *left_buf, jack_default_audio_sample_t *right_buf, jack_default_audio_sample_t *left_fbuf, jack_default_audio_sample_t *right_fbuf, jack_nframes_t nframes); /* read_from_player_sv: reads out the audio data from the buffers but provides speed variance (pitch control) */ /* this is meant to be run inside the jack callback */ size_t read_from_player_sv(struct xlplayer *self, jack_default_audio_sample_t *left_buf, jack_default_audio_sample_t *right_buf, jack_default_audio_sample_t *left_fbuf, jack_default_audio_sample_t *right_fbuf, jack_nframes_t nframes); /* calculate the gain for fading in - used when seeking to prevent clicks */ jack_default_audio_sample_t xlplayer_get_next_gain(struct xlplayer *self); /* put audio data in format recognised by jack and libsamplerate */ float *xlplayer_make_audio_to_float(struct xlplayer *self, float *buffer, uint8_t *data, int num_samples, int bits_per_sample, int num_channels); /* splits audio data into separate audio streams, ready for writing */ void xlplayer_demux_channel_data(struct xlplayer *self, jack_default_audio_sample_t *buffer, int num_samples, int num_channels, float scale); /* cause the cached pcm data to be written out to the jack ringbuffer */ void xlplayer_write_channel_data(struct xlplayer *self); /* provide data for sending back to the user interface */ void xlplayer_set_dynamic_metadata(struct xlplayer *xlplayer, enum metadata_t type, char *artist, char *title, char *album, int delay); /* return the delay caused by the ringbuffer */ int xlplayer_calc_rbdelay(struct xlplayer *xlplayer); /* this sets the speed of fading for a particular mode */ void xlplayer_set_fadesteps(struct xlplayer *self, int fade_step); /* pull player audio from the ringbuffer into the readout buffers */ size_t xlplayer_read_start(struct xlplayer *self, jack_nframes_t nframes); /* compute the next sample */ void xlplayer_read_next(struct xlplayer *self); /* volume control and mute toggle smoothing single iteration */ void xlplayer_smoothing_process(struct xlplayer *self); void xlplayer_stats(struct xlplayer *self); /* group process all players from the list */ void xlplayer_read_start_all(struct xlplayer **list, jack_nframes_t nframes, struct xlplayer **roster); void xlplayer_read_next_all(struct xlplayer **list); void xlplayer_levels_all(struct xlplayer **list); void xlplayer_buffer_alloc_all(struct xlplayer **list, jack_nframes_t nframes); void xlplayer_smoothing_process_all(struct xlplayer **list); void xlplayer_stats_all(struct xlplayer **list); /* initialise mpg123 runtime linking (if falling back to runtime linking) and report the operational status */ void xlplayer_mpg123_status(); #endif /* XLPLAYER_H */ idjc-0.8.9/c/flacdecode.c0000644000175000017500000002271712113174301012023 00000000000000/* # flacdecode.c: decodes flac file format for xlplayer # Copyright (C) 2007 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "../config.h" #ifdef HAVE_FLAC #include #include #include #include #include "flacdecode.h" #include "xlplayer.h" #define TRUE 1 #define FALSE 0 #define ACCEPTED 1 #define REJECTED 0 void make_flac_audio_to_float(struct xlplayer *self, float *flbuf, const FLAC__int32 * const inputbuffer[], unsigned int numsamples, unsigned int bits_per_sample, unsigned int numchannels) { int shiftvalue = 32 - bits_per_sample; unsigned sample, channel; const float half_randmax = (float)(RAND_MAX >> 1); float dither; float dscale; if (!self->dither || bits_per_sample >= 20) { for (sample = 0; sample < numsamples; sample++) for (channel = 0; channel < numchannels; channel++) *flbuf++ = ((float)(inputbuffer[channel][sample] << shiftvalue)) / 2147483648.0F; } else { dscale = 0.25F / (half_randmax * powf(2.0F, (float)bits_per_sample)); for (sample = 0; sample < numsamples; sample++) for (channel = 0; channel < numchannels; channel++) { dither = ((((float)rand_r(&self->seed)) - half_randmax) + (((float)rand_r(&self->seed)) - half_randmax)) * dscale; *flbuf++ = ((float)(inputbuffer[channel][sample] << shiftvalue)) / 2147483648.0F + dither; } } } static FLAC__StreamDecoderWriteStatus flac_writer_callback(const FLAC__StreamDecoder *decoder, const FLAC__Frame *frame, const FLAC__int32 * const inputbuffer[], void *client_data) { struct xlplayer *xlplayer = client_data; struct flacdecode_vars *self = xlplayer->dec_data; SRC_DATA *src_data = &(xlplayer->src_data); int src_error; if (self->suppress_audio_output == FALSE) { if (xlplayer->src_state) { if (frame->header.number_type == FLAC__FRAME_NUMBER_TYPE_FRAME_NUMBER && frame->header.number.frame_number == 0) { fprintf(stderr, "flac_writer_callback: performance warning -- can't determine if a block is the last one or not for this file\n"); } else { if (frame->header.number.sample_number + frame->header.blocksize == self->totalsamples) src_data->end_of_input = TRUE; } src_data->input_frames = frame->header.blocksize; src_data->data_in = realloc(src_data->data_in, src_data->input_frames * frame->header.channels * sizeof (float)); src_data->output_frames = (int)(src_data->input_frames * src_data->src_ratio) + 2 + (512 * src_data->end_of_input); src_data->data_out = realloc(src_data->data_out, src_data->output_frames * frame->header.channels * sizeof (float)); make_flac_audio_to_float(xlplayer, src_data->data_in, inputbuffer, frame->header.blocksize, frame->header.bits_per_sample, frame->header.channels); if ((src_error = src_process(xlplayer->src_state, src_data))) { fprintf(stderr, "flac_writer_callback: src_process reports %s\n", src_strerror(src_error)); xlplayer->playmode = PM_EJECTING; return FLAC__STREAM_DECODER_WRITE_STATUS_ABORT; } xlplayer_demux_channel_data(xlplayer, src_data->data_out, src_data->output_frames_gen, frame->header.channels, 1.f); } else { if ((self->flbuf = realloc(self->flbuf, sizeof (float) * frame->header.blocksize * frame->header.channels)) == NULL) { fprintf(stderr, "flac_writer_callback: malloc failure\n"); xlplayer->playmode = PM_EJECTING; return FLAC__STREAM_DECODER_WRITE_STATUS_ABORT; } make_flac_audio_to_float(xlplayer, self->flbuf, inputbuffer, frame->header.blocksize, frame->header.bits_per_sample, frame->header.channels); xlplayer_demux_channel_data(xlplayer, self->flbuf, frame->header.blocksize, frame->header.channels, 1.f); } xlplayer_write_channel_data(xlplayer); } return FLAC__STREAM_DECODER_WRITE_STATUS_CONTINUE; } static void flac_error_callback(const FLAC__StreamDecoder *decoder,FLAC__StreamDecoderErrorStatus se, void *client_data) { struct xlplayer *xlplayer = client_data; switch (se) { case FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC: fprintf(stderr, "xlplayer: %s: flac decoder error: lost sync\n%s\n", xlplayer->playername, xlplayer->pathname); break; case FLAC__STREAM_DECODER_ERROR_STATUS_BAD_HEADER: fprintf(stderr, "xlplayer: %s: flac decoder error: bad header\n%s\n", xlplayer->playername, xlplayer->pathname); break; case FLAC__STREAM_DECODER_ERROR_STATUS_FRAME_CRC_MISMATCH: fprintf(stderr, "xlplayer: %s: flac decoder error: frame crc mismatch\n%s\n", xlplayer->playername, xlplayer->pathname); break; default: fprintf(stderr, "xlplayer: %s: flac decoder error: unknown error\n%s\n", xlplayer->playername, xlplayer->pathname); } } static void flacdecode_init(struct xlplayer *xlplayer) { struct flacdecode_vars *self = xlplayer->dec_data; int src_error; if (!(self->decoder = FLAC__stream_decoder_new())) { fprintf(stderr, "flacdecode_init: %s could not initialise flac decoder\n", xlplayer->playername); goto cleanup; } if (FLAC__stream_decoder_init_file(self->decoder, xlplayer->pathname, flac_writer_callback, NULL, flac_error_callback, xlplayer) != FLAC__STREAM_DECODER_INIT_STATUS_OK) { fprintf(stderr, "flacdecode_init: %s error during flac player initialisation\n", xlplayer->playername); FLAC__stream_decoder_delete(self->decoder); goto cleanup; } if (xlplayer->seek_s) { self->suppress_audio_output = TRUE; /* prevent seek noise */ FLAC__stream_decoder_seek_absolute(self->decoder, ((FLAC__uint64)xlplayer->seek_s) * ((FLAC__uint64)self->metainfo.data.stream_info.sample_rate)); self->suppress_audio_output = FALSE; } if ((self->resample_f = (self->metainfo.data.stream_info.sample_rate != xlplayer->samplerate))) { fprintf(stderr, "flacdecode_init: %s configuring resampler\n", xlplayer->playername); xlplayer->src_state = src_new(xlplayer->rsqual, self->metainfo.data.stream_info.channels, &src_error); if (src_error) { fprintf(stderr, "flacdecode_init: %s src_new reports - %s\n", xlplayer->playername, src_strerror(src_error)); FLAC__stream_decoder_delete(self->decoder); goto cleanup; } xlplayer->src_data.output_frames = 0; xlplayer->src_data.data_in = xlplayer->src_data.data_out = NULL; xlplayer->src_data.src_ratio = (double)xlplayer->samplerate / (double)self->metainfo.data.stream_info.sample_rate; xlplayer->src_data.end_of_input = 0; self->totalsamples = self->metainfo.data.stream_info.total_samples; } else xlplayer->src_state = NULL; self->suppress_audio_output = FALSE; self->flbuf = NULL; return; cleanup: free(self); xlplayer->playmode = PM_STOPPED; xlplayer->command = CMD_COMPLETE; } static void flacdecode_play(struct xlplayer *xlplayer) { struct flacdecode_vars *self = xlplayer->dec_data; FLAC__stream_decoder_process_single(self->decoder); if (FLAC__stream_decoder_get_state(self->decoder) == FLAC__STREAM_DECODER_END_OF_STREAM) xlplayer->playmode = PM_EJECTING; } static void flacdecode_eject(struct xlplayer *xlplayer) { struct flacdecode_vars *self = xlplayer->dec_data; FLAC__stream_decoder_finish(self->decoder); FLAC__stream_decoder_delete(self->decoder); if (self->flbuf) free(self->flbuf); if (self->resample_f) { free(xlplayer->src_data.data_in); free(xlplayer->src_data.data_out); xlplayer->src_state = src_delete(xlplayer->src_state); } free(self); } int flacdecode_reg(struct xlplayer *xlplayer) { struct flacdecode_vars *self; if (!(self = xlplayer->dec_data = malloc(sizeof (struct flacdecode_vars)))) { fprintf(stderr, "flacdecode_reg: malloc failure\n"); return REJECTED; } if (FLAC__metadata_get_streaminfo(xlplayer->pathname, &(self->metainfo))) { xlplayer->dec_init = flacdecode_init; xlplayer->dec_play = flacdecode_play; xlplayer->dec_eject = flacdecode_eject; return ACCEPTED; } return REJECTED; } #endif idjc-0.8.9/c/audio_feed.h0000644000175000017500000000255012113174301012034 00000000000000/* # audiofeed.h: jack connectivity for the streaming module of idjc # Copyright (C) 2007-2010 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #ifndef AUDIO_FEED_H #define AUDIO_FEED_H #include #include "sourceclient.h" struct audio_feed { struct threads_info *threads_info; jack_nframes_t sample_rate; }; struct audio_feed *audio_feed_init(struct threads_info *ti); void audio_feed_deactivate(struct audio_feed *self); void audio_feed_destroy(struct audio_feed *self); int audio_feed_jack_samplerate_request(struct threads_info *ti, struct universal_vars *uv, void *param); int audio_feed_process_audio(jack_nframes_t n_frames, void *arg); #endif idjc-0.8.9/c/dyn_lame.c0000644000175000017500000001237212113174301011536 00000000000000/* # dyn_lame.c: dynamic linking for LAME # Copyright (C) 2009 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "../config.h" #ifdef DYN_LAME #include #include #include #ifdef HAVE_LAME_LAME_H #include #else #include "lame.h" #endif #include "dyn_lame.h" static void *handle; static lame_global_flags *(*init)(); static int (*encode_flush_nogap)(lame_global_flags *, unsigned char *, int); static int (*set_num_channels)(lame_global_flags *, int); static int (*set_brate)(lame_global_flags *, int); static int (*set_scale)(lame_global_flags *, float); static int (*set_in_samplerate)(lame_global_flags *, int); static int (*set_out_samplerate)(lame_global_flags *, int); static int (*set_mode)(lame_global_flags *, MPEG_mode); static int (*set_quality)(lame_global_flags *, int); static int (*set_bWriteVbrTag)(lame_global_flags *, int); static int (*init_params)(lame_global_flags *); static int (*close)(lame_global_flags *); static int (*encode_buffer_float)(lame_global_flags *, const float [], const float [], const int, unsigned char *, const int); static void dyn_lame_close() { dlclose(handle); } int dyn_lame_init() { char *libname = getenv("libmp3lame_filename"); fprintf(stderr, "dyn_lame_init: using library '%s'\n", libname); if (libname == NULL || libname[0] == '\0' || !(handle = dlopen(libname, RTLD_LAZY))) { fprintf(stderr, "dyn_lame_init: failed to open library\n"); return 0; } if (!( (init = dlsym(handle, "lame_init")) && (encode_flush_nogap = dlsym(handle, "lame_encode_flush_nogap")) && (set_num_channels = dlsym(handle, "lame_set_num_channels")) && (set_brate = dlsym(handle, "lame_set_brate")) && (set_scale = dlsym(handle, "lame_set_scale")) && (set_in_samplerate = dlsym(handle, "lame_set_in_samplerate")) && (set_out_samplerate = dlsym(handle, "lame_set_out_samplerate")) && (set_mode = dlsym(handle, "lame_set_mode")) && (set_quality = dlsym(handle, "lame_set_quality")) && (set_bWriteVbrTag = dlsym(handle, "lame_set_bWriteVbrTag")) && (init_params = dlsym(handle, "lame_init_params")) && (close = dlsym(handle, "lame_close")) && (encode_buffer_float = dlsym(handle, "lame_encode_buffer_float")))) { fprintf(stderr, "dyn_lame_init: missing symbol in %s: %s\n", libname, dlerror()); return 0; } atexit(dyn_lame_close); return 1; } lame_global_flags *lame_init() { if (init) return init(); return NULL; } int lame_encode_flush_nogap(lame_global_flags *gfp, unsigned char *mp3buf, int size) { return encode_flush_nogap(gfp, mp3buf, size); } int lame_set_num_channels(lame_global_flags *gfp, int channels) { return set_num_channels(gfp, channels); } int lame_set_brate(lame_global_flags *lgf, int brate) { return set_brate(lgf, brate); } int lame_set_scale(lame_global_flags *lgf, float scale) { return set_scale(lgf, scale); } int lame_set_in_samplerate(lame_global_flags *lgf, int inrate) { return set_in_samplerate(lgf, inrate); } int lame_set_out_samplerate(lame_global_flags *lgf, int outrate) { return set_out_samplerate(lgf, outrate); } int lame_set_mode(lame_global_flags *lgf, MPEG_mode mode) { return set_mode(lgf, mode); } int lame_set_quality(lame_global_flags *lgf, int quality) { return set_quality(lgf, quality); } int lame_set_bWriteVbrTag(lame_global_flags *lgf, int tag) { return set_bWriteVbrTag(lgf, tag); } int lame_init_params(lame_global_flags *lgf) { return init_params(lgf); } int lame_close(lame_global_flags *lgf) { return close(lgf); } int lame_encode_buffer_float(lame_global_flags *lgf, const float buffer_l[], const float buffer_r[], const int nsamples, unsigned char *mp3buf, const int mp3buf_size) { return encode_buffer_float(lgf, buffer_l, buffer_r, nsamples, mp3buf, mp3buf_size); } #endif /* DYN_LAME */ idjc-0.8.9/c/live_mp3_encoder.h0000644000175000017500000000244212113174301013165 00000000000000/* # live_mp3_encoder.h: encode mp3 files from a live source # Copyright (C) 2007 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "../config.h" #ifdef HAVE_LAME_LAME_H #include #else #include "lame.h" #endif /* HAVE_LAME_LAME_H */ #include "sourceclient.h" struct lm3e_data { lame_global_flags *gfp; int lame_mode; int lame_channels; int lame_quality; char *metadata; int lame_samples; unsigned char *mp3buf; size_t mp3bufsize; enum packet_flags packetflags; }; int live_mp3_encoder_init(struct encoder *encoder, struct encoder_vars *ev); idjc-0.8.9/c/mixer.c0000644000175000017500000017133012127351571011105 00000000000000/* # mixer.c: the audio mix happens in here. # Copyright (C) 2005-2012 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "gnusource.h" #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "kvpparse.h" #include "dbconvert.h" #include "compressor.h" #include "xlplayer.h" #include "mp3dec.h" #include "speextag.h" #include "sndfileinfo.h" #include "avcodecdecode.h" #include "oggdec.h" #include "mic.h" #include "bsdcompat.h" #include "peakfilter.h" #include "sig.h" #include "main.h" #define TRUE 1 #define FALSE 0 /* playlength of ring buffer contents in seconds */ #define MAIN_RB_SIZE 10.0 /* number of bytes in the MIDI queue buffer */ #define MIDI_QUEUE_SIZE 1024 /* the different VOIP modes */ #define NO_PHONE 0 #define PHONE_PUBLIC 1 #define PHONE_PRIVATE 2 typedef jack_default_audio_sample_t sample_t; /* the sample rate reported by JACK -- initial value to prevent divide by 0 */ unsigned long sr = 44100; /* values of the volume sliders in the GUI */ static int volume, volume2, crossfade, jinglesvolume1, jinglesheadroom1; static int jinglesvolume2, jinglesheadroom2, interludevol, mixbackvol, voipvol, crosspattern; /* back and forth status indicators re. jingles */ static int jingles_playing; /* the player audio feed buttons */ static int left_stream = 1, left_audio = 1, right_stream = 1, right_audio = 1; static int inter_stream = 1, inter_audio = 0, inter_force = 1; /* status variables for the button cluster in lower right of main window */ static int mic_on, mixermode = NO_PHONE; /* simple mixer mode: uses less space on the screen and less cpu as well */ static int simple_mixer; /* currentvolumes are used to implement volume smoothing */ static int current_crossfade, currentmixbackvol, currentvoipvol, current_crosspattern; /* value of the stream mon. button */ static int stream_monitor = 0; /* when this is set the end of track alarm is started */ static int eot_alarm_set = 0; /* set when end of track alarm is active */ static int eot_alarm_f = 0; /* threshold values for a premature indicator that a player is about to finish */ static unsigned jingles_samples_cutoff; static unsigned player_samples_cutoff; /* used to implement interlude player fade in/out: true when playing a track */ static int main_play; /* flag to indicate whether to use the player reading function which supports speed variance */ static int speed_variance; /* flags indicating play status of effects players lsb = first effect player */ static int effects_active; /* flag to indicate if audio is routed via dsp interface */ static int using_dsp; /* handles for microphone */ static struct mic **mics; /* peakfilter handles for stream peak */ static struct peakfilter *str_pf_l, *str_pf_r; /* counts the number of times port connections have changed */ static unsigned int port_connection_count; /* counts the number of times port connection counts have been reported */ static unsigned int port_reports; static jack_nframes_t alarm_size; static float headroom_db; /* player muting level when mic is open */ static float str_l_tally, str_r_tally; /* used to calculate rms value */ static int rms_tally_count; static float str_l_meansqrd, str_r_meansqrd; static int reset_vu_stats_f; /* when set the mixer will reset the above */ static float dfmod; /* used to reduce the ducking factor */ static float dj_audio_level; /* used to reduce the level of dj audio */ static float dj_audio_gain = 1.0; /* same as above but not in dB */ static float alarm_audio_level; /* used to reduce the level of alarm audio */ static float alarm_audio_gain = 1.0; /* same as above but not in dB */ static float current_dj_audio_level = 0.0; static float current_alarm_audio_level = 0.0; static struct compressor stream_limiter = { 0.0, -0.05, -0.2, INFINITY, 1, 1.0F/4000.0F, 0.0, 0.0, 1, 1, 0.0, 0.0, 0.0 }, audio_limiter = { 0.0, -0.05, -0.2, INFINITY, 1, 1.0F/4000.0F, 0.0, 0.0, 1, 1, 0.0, 0.0, 0.0 }, phone_limiter = { 0.0, -0.05, -0.2, INFINITY, 1, 1.0F/4000.0F, 0.0, 0.0, 1, 1, 0.0, 0.0, 0.0 }, incoming_phone_limiter = { 0.0, -0.05, -0.2, INFINITY, 1, 1.0F/4000.0F, 0.0, 0.0, 1, 1, 0.0, 0.0, 0.0 }; /* media player mixback level for when in RedPhone mode */ static sample_t mb_lc_aud = 1.0, mb_rc_aud = 1.0; static sample_t voip_lc_aud = 1.0, voip_rc_aud = 1.0; static sample_t current_headroom; /* the amount of mic headroom being applied */ static sample_t *eot_alarm_table; /* the wave table for the DJ alarm */ static char midi_queue[MIDI_QUEUE_SIZE]; static size_t midi_nqueued= 0; static pthread_mutex_t midi_mutex; static struct xlplayer *plr_l, *plr_r, *plr_i; /* player instance stuctures */ static struct xlplayer **plr_j; static struct xlplayer **plr_j_roster; static struct xlplayer *players[4]; static struct xlplayer *players_roster[4]; /* these are set in the parse routine - the contents coming from the GUI */ static char *mixer_string, *compressor_string, *gate_string, *microphone_string, *item_index; static char *new_mic_string; static char *midi, *audl, *audr, *strl, *strr, *action; static char *target_port_name; static char *dol, *dor, *dil, *dir; static char *oggpathname, *sndfilepathname, *avformatpathname, *speexpathname, *speextaglist, *speexcreatedby; static char *playerpathname, *seek_s, *size, *playerplaylist, *loop, *resamplequality; static char *mic_param, *fade_mode; static char *rg_db, *headroom; static char *flag; static char *channel_mode_string; static char *use_jingles_vol_2; static char *jackport, *jackport2, *jackfilter; static char *effect_ix; static char *session_event_string, *session_commandline; static struct smoothing_volume jingles_headroom_smoothing; static int jingles_headroom_control; /* dictionary look-up type thing used by the parse routine */ static struct kvpdict kvpdict[] = { { "PLRP", &playerpathname, NULL }, /* The media-file pathname for playback */ { "RGDB", &rg_db, NULL }, /* ReplayGain volume level controlled at the player end */ { "SEEK", &seek_s, NULL }, /* Playback initial seek time in seconds */ { "SIZE", &size, NULL }, /* Size of the file in seconds */ { "PLPL", &playerplaylist, NULL }, /* A playlist for the media players */ { "LOOP", &loop, NULL }, /* play in a loop */ { "MIXR", &mixer_string, NULL }, /* Control strings */ { "COMP", &compressor_string, NULL },/* packed full of data */ { "GATE", &gate_string, NULL }, { "MICS", µphone_string, NULL }, { "INDX", &item_index, NULL }, { "NMIC", &new_mic_string, NULL }, { "MIC", &target_port_name, NULL }, { "MIDI", &midi, NULL }, { "AUDL", &audl, NULL }, { "AUDR", &audr, NULL }, { "STRL", &strl, NULL }, { "STRR", &strr, NULL }, { "DOL", &dol, NULL }, { "DOR", &dor, NULL }, { "DIL", &dil, NULL }, { "DIR", &dir, NULL }, { "VOL2", &use_jingles_vol_2, NULL }, { "FADE", &fade_mode, NULL }, { "OGGP", &oggpathname, NULL }, { "SPXP", &speexpathname, NULL }, { "SNDP", &sndfilepathname, NULL }, { "AVFP", &avformatpathname, NULL }, { "SPXT", &speextaglist, NULL }, { "SPXC", &speexcreatedby, NULL }, { "RSQT", &resamplequality, NULL }, { "AGCP", &mic_param, NULL }, { "HEAD", &headroom, NULL }, { "FLAG", &flag, NULL }, { "CMOD", &channel_mode_string, NULL }, { "JFIL", &jackfilter, NULL }, { "JPRT", &jackport, NULL }, { "JPT2", &jackport2, NULL }, { "EFCT", &effect_ix, NULL }, { "ACTN", &action, NULL }, /* Action to take */ { "session_event", &session_event_string, NULL }, { "session_command", &session_commandline, NULL }, { "", NULL, NULL }}; static void custom_jack_port_connect_callback(jack_port_id_t a, jack_port_id_t b, int connect, void *arg) { ++port_connection_count; } void mixer_stop_players() { plr_l->command = CMD_COMPLETE; plr_r->command = CMD_COMPLETE; for (struct xlplayer **p = plr_j; *p; ++p) (*p)->command = CMD_COMPLETE; plr_i->command = CMD_COMPLETE; } /* update_smoothed_volumes: stuff that gets run once every 32 samples */ static void update_smoothed_volumes() { static sample_t cross_left = 1.0F, cross_right = 0.0F; sample_t mic_target, diff; static float interlude_autovol = -128.0F; float xprop, yprop; const float bias = 0.35386f; const float pat3 = 0.9504953575f; int hr[2] = {127, 127}; xlplayer_smoothing_process_all(players); xlplayer_smoothing_process_all(plr_j); for (struct xlplayer **p = plr_j; *p; ++p) { if ((*p)->have_data_f) { int i = (p - plr_j) / 12; hr[i] = i ? jinglesheadroom2 : jinglesheadroom1; } } jingles_headroom_control = (hr[0] < hr[1]) ? hr[0] : hr[1]; smoothing_volume_process(&jingles_headroom_smoothing); if (dj_audio_level != current_dj_audio_level) { current_dj_audio_level = dj_audio_level; dj_audio_gain = db2level(dj_audio_level); } if (alarm_audio_level != current_alarm_audio_level) { current_alarm_audio_level = alarm_audio_level; alarm_audio_gain = db2level(alarm_audio_level); } if (crossfade != current_crossfade || crosspattern != current_crosspattern) { current_crosspattern = crosspattern; if (crossfade > current_crossfade) current_crossfade++; else current_crossfade--; if (current_crosspattern == 0) { xprop = current_crossfade * 0.01F; yprop = -xprop + 1.0F; cross_left = yprop / ((xprop * bias) / (xprop + bias) + yprop); cross_right = xprop / ((yprop * bias) / (yprop + bias) + xprop); /* Okay, but now for stage 2 to add a steep slope. */ if (xprop >= 0.5F) cross_left /= 1 + (xprop - 0.5) * 8.0F; else cross_right /= 1 + (yprop - 0.5) * 8.0F; } else if (current_crosspattern == 1) { if (current_crossfade > 55) { if (current_crossfade < 100) { yprop = -current_crossfade + 55; cross_left = db2level(0.8f * yprop); } else cross_left = 0.0f; cross_right = 1.0; } else if (current_crossfade < 45) { if (current_crossfade > 0) { yprop = current_crossfade - 45; cross_right = db2level(0.8f * yprop); } else cross_right = 0.0f; cross_left = 1.0; } else cross_left = cross_right = 1.0; } else if (current_crosspattern == 2) { if (current_crossfade == 100) cross_left = 0.0f; else cross_left = powf(pat3, current_crossfade); if (current_crossfade == 0) cross_right = 0.0f; else cross_right = powf(pat3, 100 - current_crossfade); } } plr_l->cf_l_gain = cross_left; plr_l->cf_r_gain = cross_left; plr_r->cf_l_gain = cross_right; plr_r->cf_r_gain = cross_right; /* interlude_autovol rises and falls as and when no media players are playing */ /* it indicates the playback volume in dB in addition to the one specified by the user */ if (main_play && !inter_force) { if (interlude_autovol > -128.0F) interlude_autovol -= 0.05F; } else { if (interlude_autovol < -20.0F) interlude_autovol = -20.0F; if (interludevol > -20.0F && interlude_autovol < -10.0F) interlude_autovol += 0.5F; if (interlude_autovol < 0.0F) interlude_autovol += 0.3F; if (interlude_autovol > 0.0f) interlude_autovol = 0.0f; } plr_i->cf_l_gain = plr_i->cf_r_gain = powf(10.0f, interlude_autovol * 0.05f); if (mixbackvol != currentmixbackvol) { if (mixbackvol > currentmixbackvol) currentmixbackvol++; else currentmixbackvol--; mb_lc_aud = mb_rc_aud = powf(10.0F, (currentmixbackvol - 127) * 0.0141F); } if (voipvol != currentvoipvol) { if (voipvol > currentvoipvol) currentvoipvol++; else currentvoipvol--; voip_lc_aud = voip_rc_aud = powf(10.0F, (currentvoipvol - 64) * 0.05F); } /* mic headroom application */ mic_target = -headroom_db; if ((diff = mic_target - current_headroom)) { current_headroom += diff * 1600.0f / (sr * powf(headroom_db + 10.0f, 0.93f)); if (fabsf(diff) < 0.000001F) current_headroom = mic_target; } /* ducking effect reduces as the player volume is backed off */ { float lev = 1.0f; float lev1 = 0.0, lev2 = 0.0, lev3 = 0.0; if (effects_active) { if (effects_active & ((0x1 << 12) - 1)) lev1 = plr_j[0]->volume.level; if (effects_active & (((0x1 << 12) - 1) << 12)) lev2 = plr_j[12]->volume.level; lev = (lev2 > lev1) ? lev2 : lev1; } else { if (plr_l->current_audio_context & 0x1) lev1 = plr_l->volume.level; if (plr_r->current_audio_context & 0x1) lev2 = plr_r->volume.level; if ((plr_i->current_audio_context & 0x1) && inter_force) lev3 = plr_i->volume.level; lev = (lev2 > lev1) ? lev2 : lev1; lev = (lev > lev3) ? lev : lev3; } if (dfmod < lev) dfmod += 0.01; else dfmod -= 0.01; } } /* process_audio: the JACK callback routine */ int mixer_process_audio(jack_nframes_t nframes, void *arg) { int samples_todo; /* The samples remaining counter in the main loop */ float df; /* main player ducking factor */ float idf; /* interlude player ducking factor */ /* the following are used to calculate the microphone mix */ sample_t lc_s_micmix = 0.0f, rc_s_micmix = 0.0f, d_micmix = 0.0f; sample_t lc_s_auxmix = 0.0f, rc_s_auxmix = 0.0f; /* the following are used to apply the output of the compressor code to the audio levels */ sample_t compressor_gain = 1.0; /* a counter variable used to trigger the volume smoothing on a regular basis */ static unsigned vol_smooth_count = 0; /* index values for reading from a table of fade gain values */ static jack_nframes_t alarm_index = 0; /* pointers to buffers provided by JACK */ sample_t *aap, *lap, *rap, *lsp, *rsp, *lpsp, *rpsp, *lprp, *rprp; sample_t *al_buffer, *la_buffer, *ra_buffer, *ls_buffer, *rs_buffer, *lps_buffer, *rps_buffer; sample_t *dolp, *dorp, *dilp, *dirp; sample_t *plolp, *plorp, *prolp, *prorp, *piolp, *piorp, *pe1olp, *pe1orp, *pe2olp, *pe2orp; sample_t *plilp, *plirp, *prilp, *prirp, *piilp, *piirp, *peilp, *peirp; /* midi_control */ void *midi_buffer; jack_midi_event_t midi_event; jack_nframes_t midi_nevents, midi_eventi; int midi_command_type, midi_channel_id; int pitch_wheel; struct mic **micp; float * const jh = &jingles_headroom_smoothing.level; float * const jhi = inter_force ? jh : &((struct {float a;}){1.0f}).a; float e_ls, e_rs, e1_ls, e1_rs, e2_ls, e2_rs; /* midi_control. read incoming commands forward to gui */ midi_buffer = jack_port_get_buffer(g.port.midi_port, nframes); midi_nevents = jack_midi_get_event_count(midi_buffer); if (midi_nevents!=0) { pthread_mutex_lock(&midi_mutex); for (midi_eventi = 0; midi_eventi < midi_nevents; midi_eventi++) { if (jack_midi_event_get(&midi_event, midi_buffer, midi_eventi) != 0) { fprintf(stderr, "Error reading MIDI event from JACK\n"); continue; } if (midi_nqueued+12 > MIDI_QUEUE_SIZE) /* max length of command */ { fprintf(stderr, "MIDI queue overflow, event lost\n"); continue; } midi_command_type= midi_event.buffer[0] & 0xF0; midi_channel_id= midi_event.buffer[0] & 0x0F; switch (midi_command_type) { case 0xB0: /* MIDI_COMMAND_CHANGE */ midi_nqueued+= snprintf( midi_queue+midi_nqueued, MIDI_QUEUE_SIZE-midi_nqueued, ",c%x.%x:%x", midi_channel_id, midi_event.buffer[1], midi_event.buffer[2] ); break; case 0x80: /* MIDI_NOTE_OFF */ midi_nqueued+= snprintf( midi_queue+midi_nqueued, MIDI_QUEUE_SIZE-midi_nqueued, ",n%x.%x:0", midi_channel_id, midi_event.buffer[1] ); break; case 0x90: /* MIDI_NOTE_ON */ midi_nqueued+= snprintf( midi_queue+midi_nqueued, MIDI_QUEUE_SIZE-midi_nqueued, ",n%x.%x:7F", midi_channel_id, midi_event.buffer[1] ); break; case 0xFE: /* MIDI_PITCH_WHEEL_CHANGE */ pitch_wheel= 0x2040 - midi_event.buffer[2] - midi_event.buffer[1]*128; if (pitch_wheel < 0) pitch_wheel = 0; if (pitch_wheel > 0x7F) pitch_wheel = 0x7F; midi_nqueued+= snprintf( midi_queue+midi_nqueued, MIDI_QUEUE_SIZE-midi_nqueued, ",p%x.0:%x", midi_channel_id, pitch_wheel ); break; } } pthread_mutex_unlock(&midi_mutex); } /* get the data for the jack ports */ { struct jack_ports *p = &g.port; al_buffer = aap = (sample_t *) jack_port_get_buffer(p->alarm_out, nframes); la_buffer = lap = (sample_t *) jack_port_get_buffer(p->dj_out_l, nframes); ra_buffer = rap = (sample_t *) jack_port_get_buffer(p->dj_out_r, nframes); ls_buffer = lsp = (sample_t *) jack_port_get_buffer(p->str_out_l, nframes); rs_buffer = rsp = (sample_t *) jack_port_get_buffer(p->str_out_r, nframes); lps_buffer = lpsp = (sample_t *) jack_port_get_buffer(p->voip_out_l, nframes); rps_buffer = rpsp = (sample_t *) jack_port_get_buffer(p->voip_out_r, nframes); lprp = (sample_t *) jack_port_get_buffer(p->voip_in_l, nframes); rprp = (sample_t *) jack_port_get_buffer(p->voip_in_r, nframes); dolp = (sample_t *) jack_port_get_buffer(p->dsp_out_l, nframes); dorp = (sample_t *) jack_port_get_buffer(p->dsp_out_r, nframes); dilp = (sample_t *) jack_port_get_buffer(p->dsp_in_l, nframes); dirp = (sample_t *) jack_port_get_buffer(p->dsp_in_r, nframes); plolp = (sample_t *) jack_port_get_buffer(p->pl_out_l, nframes); plorp = (sample_t *) jack_port_get_buffer(p->pl_out_r, nframes); prolp = (sample_t *) jack_port_get_buffer(p->pr_out_l, nframes); prorp = (sample_t *) jack_port_get_buffer(p->pr_out_r, nframes); piolp = (sample_t *) jack_port_get_buffer(p->pi_out_l, nframes); piorp = (sample_t *) jack_port_get_buffer(p->pi_out_r, nframes); pe1olp = (sample_t *) jack_port_get_buffer(p->pe1_out_l, nframes); pe1orp = (sample_t *) jack_port_get_buffer(p->pe1_out_r, nframes); pe2olp = (sample_t *) jack_port_get_buffer(p->pe2_out_l, nframes); pe2orp = (sample_t *) jack_port_get_buffer(p->pe2_out_r, nframes); plilp = (sample_t *) jack_port_get_buffer(p->pl_in_l, nframes); plirp = (sample_t *) jack_port_get_buffer(p->pl_in_r, nframes); prilp = (sample_t *) jack_port_get_buffer(p->pr_in_l, nframes); prirp = (sample_t *) jack_port_get_buffer(p->pr_in_r, nframes); piilp = (sample_t *) jack_port_get_buffer(p->pi_in_l, nframes); piirp = (sample_t *) jack_port_get_buffer(p->pi_in_r, nframes); peilp = (sample_t *) jack_port_get_buffer(p->pe_in_l, nframes); peirp = (sample_t *) jack_port_get_buffer(p->pe_in_r, nframes); } /* resets the running totals for the vu meter stats */ if (reset_vu_stats_f) { str_l_tally = str_r_tally = 0.0; rms_tally_count = 0; reset_vu_stats_f = FALSE; } mic_process_start_all(mics, nframes); xlplayer_read_start_all(players, nframes, players_roster); xlplayer_read_start_all(plr_j, nframes, plr_j_roster); /* there are four mixer modes and the only seemingly efficient way to do them is */ /* to basically copy a lot of code four times over hence the huge size */ if (simple_mixer == FALSE && mixermode == NO_PHONE) /* Fully featured mixer code */ { memset(lps_buffer, 0, nframes * sizeof (sample_t)); /* send silence to VOIP */ memset(rps_buffer, 0, nframes * sizeof (sample_t)); for(samples_todo = nframes; samples_todo--; lap++, rap++, lsp++, rsp++, dilp++, dirp++, dolp++, dorp++, aap++, plolp++, plorp++, prolp++, prorp++, piolp++, piorp++, pe1olp++, pe1orp++, pe2olp++, pe2orp++, plilp++, plirp++, prilp++, prirp++, piilp++, piirp++, peilp++, peirp++) { if (vol_smooth_count++ % 100 == 0) /* Can change volume level every so many samples */ update_smoothed_volumes(); df = powf(mic_process_all(mics), dfmod); for (micp = mics, lc_s_micmix = rc_s_micmix = lc_s_auxmix = rc_s_auxmix = d_micmix = 0.0f; *micp; micp++) { lc_s_micmix += (*micp)->mlcm; rc_s_micmix += (*micp)->mrcm; lc_s_auxmix += (*micp)->alcm; rc_s_auxmix += (*micp)->arcm; d_micmix += (*micp)->munpmdj; } /* ducking calculation */ { float hr = db2level(current_headroom); df = (df < hr) ? df : hr; } idf = inter_force ? df : 1.0; #define COMMON_MIX() \ do { \ xlplayer_read_next_all(players); \ xlplayer_read_next_all(plr_j_roster); \ \ /* player audio routing through jack ports */ \ *plolp = plr_l->ls; \ *plorp = plr_l->rs; \ *prolp = plr_r->ls; \ *prorp = plr_r->rs; \ *piolp = plr_i->ls; \ *piorp = plr_i->rs; \ plr_l->ls = *plilp; \ plr_l->rs = *plirp; \ plr_r->ls = *prilp; \ plr_r->rs = *prirp; \ plr_i->ls = *piilp; \ plr_i->rs = *piirp; \ xlplayer_levels_all(players); \ xlplayer_levels_all(plr_j); \ e1_ls = e1_rs = e2_ls = e2_rs = 0.0f; \ for (struct xlplayer **p = plr_j_roster; *p; ++p) { \ if ((*p)->id < (1 << 12)) \ { \ e1_ls += (*p)->ls_str; \ e1_rs += (*p)->rs_str; \ } \ else \ { \ e2_ls += (*p)->ls_str; \ e2_rs += (*p)->rs_str; \ } \ } \ /* effects audio from multiple players goes out on one port */ \ /* a stream-audio-only effect */ \ *pe1olp = e1_ls; \ *pe1orp = e1_rs; \ *pe2olp = e2_ls; \ *pe2orp = e2_rs; \ e_ls = *peilp; \ e_rs = *peirp; \ } while(0) COMMON_MIX(); /* the stream mix */ *dolp = ((plr_l->ls_str + plr_r->ls_str) * *jh + e_ls) * df + lc_s_micmix + lc_s_auxmix + plr_i->ls_str * idf * *jhi; *dorp = ((plr_l->rs_str + plr_r->rs_str) * *jh + e_rs) * df + rc_s_micmix + rc_s_auxmix + plr_i->rs_str * idf * *jhi; /* hard limit the levels if they go outside permitted limits */ /* note this is not the same as clipping */ compressor_gain = db2level(limiter(&stream_limiter, *dolp, *dorp)); *dolp *= compressor_gain; *dorp *= compressor_gain; #define COMMON_MIX2() \ do { \ if (using_dsp) \ { \ *lsp = *dilp; \ *rsp = *dirp; \ } \ else \ { \ *lsp = *dolp; \ *rsp = *dorp; \ } \ } while(0) COMMON_MIX2(); if (stream_monitor == FALSE) { *lap = ((plr_l->ls_aud + plr_r->ls_aud) * *jh + e_ls) * df + d_micmix + lc_s_auxmix + plr_i->ls_aud * idf * *jhi; *rap = ((plr_l->rs_aud + plr_r->rs_aud) * *jh + e_rs) * df + d_micmix + rc_s_auxmix + plr_i->rs_aud * idf * *jhi; compressor_gain = db2level(limiter(&audio_limiter, *lap, *rap)); *lap *= compressor_gain; *rap *= compressor_gain; } else { *lap = *lsp; /* allow the DJ to hear the mix that the listeners are hearing */ *rap = *rsp; } #define COMMON_MIX3() \ do { \ /* apply dj audio sound level */ \ *lap *= dj_audio_gain; \ *rap *= dj_audio_gain; \ \ /* make note of the peak volume levels */ \ peakfilter_process(str_pf_l, *lsp); \ peakfilter_process(str_pf_r, *rsp); \ \ /* used for rms calculation */ \ str_l_tally += *lsp * *lsp; \ str_r_tally += *rsp * *rsp; \ rms_tally_count++; \ \ if (eot_alarm_f) /* end-of-track alarm tone */ \ { \ if (alarm_index >= alarm_size) \ { \ alarm_index = 0; \ eot_alarm_f = 0; \ } \ else \ { \ *aap = eot_alarm_table[alarm_index] * alarm_audio_gain; \ alarm_index++; \ } \ } \ else \ *aap = 0.0f; \ \ } while(0) COMMON_MIX3(); } str_l_meansqrd = str_l_tally/rms_tally_count; str_r_meansqrd = str_r_tally/rms_tally_count; } else if (simple_mixer == FALSE && mixermode == PHONE_PUBLIC) { for(samples_todo = nframes; samples_todo--; lap++, rap++, lsp++, rsp++, aap++, lpsp++, rpsp++, lprp++, rprp++, dilp++, dirp++, dolp++, dorp++, plolp++, plorp++, prolp++, prorp++, piolp++, piorp++, pe1olp++, pe1orp++, pe2olp++, pe2orp++, plilp++, plirp++, prilp++, prirp++, piilp++, piirp++, peilp++, peirp++) { if (vol_smooth_count++ % 100 == 0) /* Can change volume level every so many samples */ update_smoothed_volumes(); mic_process_all(mics); for (micp = mics, lc_s_micmix = rc_s_micmix = lc_s_auxmix = rc_s_auxmix = d_micmix = 0.0f; *micp; micp++) { lc_s_micmix += (*micp)->mlcm; rc_s_micmix += (*micp)->mrcm; lc_s_auxmix += (*micp)->alcm; rc_s_auxmix += (*micp)->arcm; d_micmix += (*micp)->munpmdj; } /* No ducking but headroom still must apply */ df = db2level(current_headroom); idf = inter_force ? df : 1.0; COMMON_MIX(); /* do the phone mix */ *lpsp = lc_s_micmix + e_ls; *rpsp = rc_s_micmix + e_rs; compressor_gain = db2level(limiter(&phone_limiter, *lpsp, *rpsp)); *lpsp *= compressor_gain; *rpsp *= compressor_gain; compressor_gain = db2level(limiter(&incoming_phone_limiter, *lprp *= voip_lc_aud, *rprp *= voip_rc_aud)); *lprp *= compressor_gain; *rprp *= compressor_gain; /* The main mix */ *dolp = (plr_l->ls_str + plr_r->ls_str) * *jh * df + *lprp + *lpsp + lc_s_auxmix + plr_i->ls_str * idf * *jhi; *dorp = (plr_l->rs_str + plr_r->rs_str) * *jh * df + *rprp + *rpsp + rc_s_auxmix + plr_i->rs_str * idf * *jhi; /* hard limit the levels if they go outside permitted limits */ /* note this is not the same as clipping */ compressor_gain = db2level(limiter(&stream_limiter, *dolp, *dorp)); *dolp *= compressor_gain; *dorp *= compressor_gain; COMMON_MIX2(); if (stream_monitor == FALSE) { *lap = (plr_l->ls_aud + plr_r->ls_aud) * *jh * df + *lprp + lc_s_auxmix + plr_i->ls_aud * idf * *jhi + d_micmix + e_ls; *rap = (plr_l->rs_aud + plr_r->rs_aud) * *jh * df + *rprp + rc_s_auxmix + plr_i->rs_aud * idf * *jhi + d_micmix + e_rs; compressor_gain = db2level(limiter(&audio_limiter, *lap, *rap)); *lap *= compressor_gain; *rap *= compressor_gain; } else { *lap = *lsp; /* allow the DJ to hear the mix that the listeners are hearing */ *rap = *rsp; } COMMON_MIX3(); } str_l_meansqrd = str_l_tally/rms_tally_count; str_r_meansqrd = str_r_tally/rms_tally_count; } else if (simple_mixer == FALSE && mixermode == PHONE_PRIVATE && mic_on == 0) { for(samples_todo = nframes; samples_todo--; lap++, rap++, lsp++, rsp++, lpsp++, rpsp++, lprp++, rprp++, dilp++, dirp++, dolp++, dorp++, aap++, plolp++, plorp++, prolp++, prorp++, piolp++, piorp++, pe1olp++, pe1orp++, pe2olp++, pe2orp++, plilp++, plirp++, prilp++, prirp++, piilp++, piirp++, peilp++, peirp++) { if (vol_smooth_count++ % 100 == 0) /* Can change volume level every so many samples */ update_smoothed_volumes(); mic_process_all(mics); for (micp = mics, lc_s_micmix = rc_s_micmix = lc_s_auxmix = rc_s_auxmix = d_micmix = 0.0f; *micp; micp++) { lc_s_micmix += (*micp)->mlc; rc_s_micmix += (*micp)->mrc; lc_s_auxmix += (*micp)->alcm; rc_s_auxmix += (*micp)->arcm; d_micmix += (*micp)->munpm; } /* No ducking */ COMMON_MIX(); /* the main mix */ *dolp = plr_l->ls_str + plr_r->ls_str + lc_s_auxmix + plr_i->ls_str; *dorp = plr_l->rs_str + plr_r->rs_str + rc_s_auxmix + plr_i->rs_str; /* hard limit the levels if they go outside permitted limits */ /* note this is not the same as clipping */ compressor_gain = db2level(limiter(&stream_limiter, *dolp, *dorp)); *dolp *= compressor_gain; *dorp *= compressor_gain; /* the mix the voip listeners receive */ *lpsp = (*dolp * mb_lc_aud) + e_ls + lc_s_micmix; *rpsp = (*dorp * mb_lc_aud) + e_rs + rc_s_micmix; compressor_gain = db2level(limiter(&phone_limiter, *lpsp, *rpsp)); *lpsp *= compressor_gain; *rpsp *= compressor_gain; compressor_gain = db2level(limiter(&incoming_phone_limiter, *lprp *= voip_lc_aud, *rprp *= voip_rc_aud)); *lprp *= compressor_gain; *rprp *= compressor_gain; COMMON_MIX2(); if (stream_monitor == FALSE) /* the DJ can hear the VOIP phone call */ { *lap = (*lsp * mb_lc_aud) + e_ls + d_micmix + (lc_s_auxmix *mb_lc_aud) + *lprp; *rap = (*rsp * mb_lc_aud) + e_rs + d_micmix + (rc_s_auxmix *mb_rc_aud) + *rprp; compressor_gain = db2level(limiter(&audio_limiter, *lap, *rap)); *lap *= compressor_gain; *rap *= compressor_gain; } else { *lap = *lsp; /* allow the DJ to hear the mix that the listeners are hearing */ *rap = *rsp; } COMMON_MIX3(); } str_l_meansqrd = str_l_tally/rms_tally_count; str_r_meansqrd = str_r_tally/rms_tally_count; } else if (simple_mixer == FALSE && mixermode == PHONE_PRIVATE) /* note: mic is on */ { for(samples_todo = nframes; samples_todo--; lap++, rap++, lsp++, rsp++, lpsp++, rpsp++, dilp++, dirp++, dolp++, dorp++, aap++, plolp++, plorp++, prolp++, prorp++, piolp++, piorp++, pe1olp++, pe1orp++, pe2olp++, pe2orp++, plilp++, plirp++, prilp++, prirp++, piilp++, piirp++, peilp++, peirp++) { if (vol_smooth_count++ % 100 == 0) /* Can change volume level every so many samples */ update_smoothed_volumes(); df = powf(mic_process_all(mics), dfmod); for (micp = mics, lc_s_micmix = rc_s_micmix = lc_s_auxmix = rc_s_auxmix = d_micmix = 0.0f; *micp; micp++) { lc_s_micmix += (*micp)->mlcm; rc_s_micmix += (*micp)->mrcm; lc_s_auxmix += (*micp)->alcm; rc_s_auxmix += (*micp)->arcm; d_micmix += (*micp)->munpmdj; } /* ducking calculation */ { float hr = db2level(current_headroom); df = (df < hr) ? df : hr; } idf = inter_force ? df : 1.0; COMMON_MIX(); /* the main mix */ *dolp = ((plr_l->ls_str + plr_r->ls_str) * *jh + e_ls) * df + lc_s_micmix + lc_s_auxmix + plr_i->ls_str * idf * *jhi; *dorp = ((plr_l->rs_str + plr_r->rs_str) * *jh + e_rs) * df + rc_s_micmix + rc_s_auxmix + plr_i->rs_str * idf * *jhi; /* hard limit the levels if they go outside permitted limits */ /* note this is not the same as clipping */ compressor_gain = db2level(limiter(&stream_limiter, *dolp, *dorp)); *dolp *= compressor_gain; *dorp *= compressor_gain; *lpsp = *dolp * mb_lc_aud; /* voip callers get stream mix at a certain volume */ *rpsp = *dorp * mb_rc_aud; COMMON_MIX2(); if (stream_monitor == FALSE) { *lap = ((plr_l->ls_aud + plr_r->ls_aud) * *jh + e_ls) * df + d_micmix + lc_s_auxmix + plr_i->ls_aud * idf * *jhi; *rap = ((plr_l->rs_aud + plr_r->rs_aud) * *jh + e_ls) * df + d_micmix + rc_s_auxmix + plr_i->rs_aud * idf * *jhi; compressor_gain = db2level(limiter(&audio_limiter, *lap, *rap)); *lap *= compressor_gain; *rap *= compressor_gain; } else { *lap = *lsp; /* allow the DJ to hear the mix that the listeners are hearing */ *rap = *rsp; } COMMON_MIX3(); } str_l_meansqrd = str_l_tally/rms_tally_count; str_r_meansqrd = str_r_tally/rms_tally_count; } else if (simple_mixer == TRUE) { int la = left_audio; int ls = left_stream; if (dj_audio_level != current_dj_audio_level) { current_dj_audio_level = dj_audio_level; dj_audio_gain = db2level(dj_audio_level); } if (la || ls) { samples_todo = nframes; while (samples_todo--) { xlplayer_read_next(plr_l); if (la) { *lap++ = plr_l->ls * dj_audio_gain; *rap++ = plr_l->rs * dj_audio_gain; } if (ls) { *lsp++ = plr_l->ls; *rsp++ = plr_l->rs; } } } memset(al_buffer, 0, nframes * sizeof (sample_t)); if (!la) { memset(la_buffer, 0, nframes * sizeof (sample_t)); memset(ra_buffer, 0, nframes * sizeof (sample_t)); } if (!ls) { memset(ls_buffer, 0, nframes * sizeof (sample_t)); memset(rs_buffer, 0, nframes * sizeof (sample_t)); } } else fprintf(stderr,"Error: no mixer mode was chosen\n"); return 0; } static int peak_to_log(float peak) { if (peak <= 0.0) return -127; if (peak >= 1.0) return 0; return (int)level2db(peak); } int mixer_healthcheck() { const int limit = 15; for (struct xlplayer **p = plr_j_roster; *p; ++p) { if (++(*p)->watchdog_timer >= limit) return FALSE; } for (struct xlplayer **p = players_roster; *p; ++p) { if (++(*p)->watchdog_timer >= limit) return FALSE; } return TRUE; } static void jackportread(const char *portname, const char *filter) { unsigned long flags = 0; const char *type = JACK_DEFAULT_AUDIO_TYPE; const char **ports, **cons; const jack_port_t *port = jack_port_by_name(g.client, portname); int i, j; if (!strcmp(filter, "inputs")) flags = JackPortIsInput; else { if (!strcmp(filter, "outputs")) flags = JackPortIsOutput; else if (!strcmp(filter, "midioutputs")) { flags = JackPortIsOutput; type = JACK_DEFAULT_MIDI_TYPE; } } cons = jack_port_get_all_connections(g.client, port); ports = jack_get_ports(g.client, NULL, type, flags); fputs("jackports=", g.out); if (ports) for (i = 0; ports[i]; ++i) { if (i) fputs(" ", g.out); /* connected ports are prefaced with an @ character */ if (cons) for (j = 0; cons[j]; ++j) if (!(strcmp(cons[j], ports[i]))) { fputc('@', g.out); break; } fputs(ports[i], g.out); } fputc('\n', g.out); fflush(g.out); if (cons) jack_free(cons); if (ports) jack_free(ports); } static struct mixer { const char **outport; int str_l_peak_db, str_r_peak_db; int str_l_rms_db, str_r_rms_db; float normrise, normfall; int fadeout_f; int flush_left, flush_right, flush_jingles, flush_interlude; int new_left_pause, new_right_pause, new_inter_pause; char *artist, *title, *album, *replaygain; double length; int use_dsp; char midi_output[MIDI_QUEUE_SIZE]; char *our_sc_str_in_l; char *our_sc_str_in_r; int l; char *session_command; char *sc_client_name; } s; static void mixer_cleanup() { free(eot_alarm_table); free_signallookup_table(); free_dblookup_table(); if (s.outport) jack_free(s.outport); free(s.our_sc_str_in_l); free(s.our_sc_str_in_r); mic_free_all(mics); peakfilter_destroy(str_pf_l); peakfilter_destroy(str_pf_r); xlplayer_destroy(plr_l); xlplayer_destroy(plr_r); xlplayer_destroy(plr_i); for (struct xlplayer **p = plr_j; *p; ++p) xlplayer_destroy(*p); free(plr_j); free(plr_j_roster); } int mixer_new_buffer_size(jack_nframes_t n_frames) { fprintf(stderr, "player read buffer allocated for %ld frames\n", (long)n_frames); xlplayer_buffer_alloc_all(players, n_frames); xlplayer_buffer_alloc_all(plr_j, n_frames); return 0; } void mixer_init(void) { sr = jack_get_sample_rate(g.client); jingles_samples_cutoff = sr / 12; /* A twelfth of a second early */ player_samples_cutoff = sr * 0.25; /* for gapless playback */ int n = 0; int ne = atoi(getenv("num_effects")); if(! ((players[n++] = plr_l = xlplayer_create(sr, MAIN_RB_SIZE, "left", &g.app_shutdown, &volume, 0, &left_stream, &left_audio, 0.1f)) && (players[n++] = plr_r = xlplayer_create(sr, MAIN_RB_SIZE, "right", &g.app_shutdown, &volume2, 0, &right_stream, &right_audio, 0.1f)))) { fprintf(stderr, "failed to create main player modules\n"); exit(5); } if (!(plr_j = (struct xlplayer **)calloc(ne + 1, sizeof (struct xlplayer *)))) { fprintf(stderr, "malloc failure\n"); exit(5); } if (!(plr_j_roster = (struct xlplayer **)calloc(ne + 1, sizeof (struct xlplayer *)))) { fprintf(stderr, "malloc failure\n"); exit(5); } for (int i = 0; i < ne; ++i) { int *volct = (i < 12) ? &jinglesvolume1 : &jinglesvolume2; if (!(plr_j[i] = xlplayer_create(sr, 0.15f, "jingles", &g.app_shutdown, volct, 0, NULL, NULL, 0.0f))) { fprintf(stderr, "failed to create jingles player module\n"); exit(5); } plr_j[i]->fade_mode = 3; } if (!(players[n++] = plr_i = xlplayer_create(sr, MAIN_RB_SIZE, "interlude", &g.app_shutdown, &interludevol, 0, &inter_stream, &inter_audio, 0.25f))) { fprintf(stderr, "failed to create interlude player module\n"); exit(5); } plr_i->cf_aud = 1; /* crossfader values to apply in dj audio -- the crossfader interface is used to implement the soft fade in/out */ players[n++] = NULL; if (n != sizeof players / sizeof players[0]) { fprintf(stderr, "players array is the wrong size\n"); exit(5); } smoothing_volume_init(&jingles_headroom_smoothing, &jingles_headroom_control, 0.0f); if (!init_dblookup_table()) { fprintf(stderr, "failed to allocate space for signal to db lookup table\n"); exit(5); } if (!init_signallookup_table()) { fprintf(stderr, "failed to allocate space for db to signal lookup table\n"); exit(5); } /* generate the wave table for the DJ alarm */ if (!(eot_alarm_table = calloc(sizeof (sample_t), sr))) { fprintf(stderr, "failed to allocate space for end of track alarm wave table\n"); exit(5); } else { alarm_size = (sr / 900) * 900; /* builds the alarm tone wave table */ for (unsigned i = 0; i < alarm_size ; i++) { eot_alarm_table[i] = 0.83F * sinf((i % (sr/900)) * 6.283185307F / (sr/900)); eot_alarm_table[i] += 0.024F * sinf((i % (sr/900)) * 12.56637061F / (sr/900) + 3.141592654F / 4.0F); } } str_pf_l = peakfilter_create(115e-6f, sr); str_pf_r = peakfilter_create(115e-6f, sr); /* allocate microphone resources */ mics = mic_init_all(atoi(getenv("mic_qty")), g.client); jack_set_port_connect_callback(g.client, custom_jack_port_connect_callback, NULL); atexit(mixer_cleanup); g.mixer_up = TRUE; } int mixer_main() { unsigned int lead, ports_diff; jack_session_event_t *session_event; if (!(kvp_parse(kvpdict, g.in))) { fprintf(stderr, "kvp_parse returned false\n"); return FALSE; } if (!strcmp(action, "ping")) { fprintf(g.out, "pong\n"); fflush(g.out); } if (!strcmp(action, "mp3_getstatus")) xlplayer_mpg123_status(); if (!strcmp(action, "jackportread")) jackportread(jackport, jackfilter); if (!strcmp(action, "freewheel_toggle")) jack_set_freewheel(g.client, !g.freewheel); if (!strcmp(action, "freewheel_on")) jack_set_freewheel(g.client, 1); if (!strcmp(action, "freewheel_off")) jack_set_freewheel(g.client, 0); void dis_connect(char *str, int (*fn)(jack_client_t *, const char *, const char *)) { const char **jackports, **jp; jack_port_t *port; if (!strcmp(action, str)) { if (strlen(jackport2)) { if ((port = jack_port_by_name(g.client, jackport))) { if (jack_port_flags(port) & JackPortIsOutput) fn(g.client, jackport, jackport2); else fn(g.client, jackport2, jackport); } else fprintf(stderr, "port %s does not exist\n", jackport); } else { /* do regular expression lookup of ports then disconnect them */ if (!strcmp(str, "jackdisconnect")) { if ((jackports = jack_get_ports(g.client, jackport, NULL, 0L))) { for (jp = jackports; *jp; ++jp) { if ((port = jack_port_by_name(g.client, *jp))) jack_port_disconnect(g.client, port); else fprintf(stderr, "port %s does not exist\n", jackport); } jack_free(jackports); } } } } } dis_connect("jackconnect", jack_connect); dis_connect("jackdisconnect", jack_disconnect); if (!strcmp(action, "session_reply")) { sscanf(session_event_string, "%p", &session_event); session_event->command_line = session_commandline; /* Transfer of ownership of heap allocated string. */ session_commandline = NULL; jack_session_reply(g.client, session_event); jack_session_event_free(session_event); /* Unblock the user interface which is waiting on a reply. */ fprintf(g.out, "session event handled\n"); fflush(g.out); } if (!strcmp(action, "playeffect")) { int i = atoi(effect_ix); xlplayer_play(plr_j[i], playerpathname, 0, 0, atoi(rg_db), i); } if (!strcmp(action, "stopeffect")) { int i = atoi(effect_ix); if (1 << i == plr_j[i]->id) xlplayer_eject(plr_j[i]); } if (!strcmp(action, "mic_control")) { mic_valueparse(mics[atoi(item_index)], mic_param); } if (!strcmp(action, "new_channel_mode_string")) { mic_set_role_all(mics, channel_mode_string); } if (!strcmp(action, "headroom")) { headroom_db = strtof(headroom, NULL); } if (!strcmp(action, "anymic")) { mic_on = (flag[0] == '1') ? 1 : 0; } if (!strcmp(action, "fademode_left")) plr_l->fade_mode = atoi(fade_mode); if (!strcmp(action, "fademode_right")) plr_r->fade_mode = atoi(fade_mode); if (!strcmp(action, "fademode_interlude")) plr_i->fade_mode = atoi(fade_mode); if (!strcmp(action, "playleft")) { fprintf(g.out, "context_id=%d\n", xlplayer_play(plr_l, playerpathname, atoi(seek_s), atoi(size), atof(rg_db), 0)); fflush(g.out); } if (!strcmp(action, "playright")) { fprintf(g.out, "context_id=%d\n", xlplayer_play(plr_r, playerpathname, atoi(seek_s), atoi(size), atof(rg_db), 0)); fflush(g.out); } if (!strcmp(action, "playinterlude")) { fprintf(g.out, "context_id=%d\n", xlplayer_play(plr_i, playerpathname, atoi(seek_s), atoi(size), atof(rg_db), 0)); fflush(g.out); } if (!strcmp(action, "playnoflushleft")) { fprintf(g.out, "context_id=%d\n", xlplayer_play_noflush(plr_l, playerpathname, atoi(seek_s), atoi(size), atof(rg_db), 0)); fflush(g.out); } if (!strcmp(action, "playnoflushright")) { fprintf(g.out, "context_id=%d\n", xlplayer_play_noflush(plr_r, playerpathname, atoi(seek_s), atoi(size), atof(rg_db), 0)); fflush(g.out); } if (!strcmp(action, "playnoflushinterlude")) { fprintf(g.out, "context_id=%d\n", xlplayer_play_noflush(plr_i, playerpathname, atoi(seek_s), atoi(size), atof(rg_db), 0)); fflush(g.out); } #if 0 if (!strcmp(action, "playmanyjingles")) { fprintf(g.out, "context_id=%d\n", xlplayer_playmany(plr_j, playerplaylist, loop[0]=='1')); fflush(g.out); } #endif if (!strcmp(action, "stopleft")) xlplayer_eject(plr_l); if (!strcmp(action, "stopright")) xlplayer_eject(plr_r); if (!strcmp(action, "stopjingles")) xlplayer_eject(plr_j[atoi(effect_ix)]); if (!strcmp(action, "stopinterlude")) xlplayer_eject(plr_i); if (!strcmp(action, "dither")) { xlplayer_dither(plr_l, TRUE); xlplayer_dither(plr_r, TRUE); for (struct xlplayer **p = plr_j; *p; ++p) xlplayer_dither(*p, TRUE); xlplayer_dither(plr_i, TRUE); } if (!strcmp(action, "dontdither")) { xlplayer_dither(plr_l, FALSE); xlplayer_dither(plr_r, FALSE); for (struct xlplayer **p = plr_j; *p; ++p) xlplayer_dither(*p, FALSE); xlplayer_dither(plr_i, FALSE); } if (!strcmp(action, "resamplequality")) { for (struct xlplayer **p = players; *p; ++p) (*p)->rsqual = resamplequality[0] - '0'; for (struct xlplayer **p = plr_j; *p; ++p) (*p)->rsqual = resamplequality[0] - '0'; } if (!strcmp(action, "ogginforequest")) { if (oggdecode_get_metainfo(oggpathname, &s.artist, &s.title, &s.album, &s.length, &s.replaygain)) { fprintf(g.out, "OIR:ARTIST=%s\nOIR:TITLE=%s\nOIR:ALBUM=%s\nOIR:LENGTH=%f\nOIR:REPLAYGAIN_TRACK_GAIN=%s\nOIR:end\n", s.artist, s.title, s.album, s.length, s.replaygain); fflush(g.out); } else { fprintf(g.out, "OIR:NOT VALID\n"); fflush(g.out); } } if (!strcmp(action, "sndfileinforequest")) sndfileinfo(sndfilepathname); #ifdef HAVE_SPEEX if (!(strcmp(action, "speexreadtagrequest"))) speex_tag_read(speexpathname); if (!(strcmp(action, "speexwritetagrequest"))) speex_tag_write(speexpathname, speexcreatedby, speextaglist); #endif if (!strcmp(action, "mixstats")) { if(sscanf(mixer_string, ":%03d:%03d:%03d:%03d:%03d:%03d:%03d:%03d:%03d:%d:%1d%1d%1d" "%1d%1d:%1d%1d:%1d%1d%1d%1d:%1d:%1d:%1d:%1d:%1d:%f:%f:%1d:%f" ":%d:%d:%d:%1d:%1d:%1d:%f:%03d:%f:", &volume, &volume2, &crossfade, &jinglesvolume1, &jinglesheadroom1, &jinglesvolume2, &jinglesheadroom2 ,&interludevol, &mixbackvol, &jingles_playing, &left_stream, &left_audio, &right_stream, &right_audio, &stream_monitor, &s.new_left_pause, &s.new_right_pause, &s.flush_left, &s.flush_right, &s.flush_jingles, &s.flush_interlude, &simple_mixer, &eot_alarm_set, &mixermode, &s.fadeout_f, &main_play, &(plr_l->newpbspeed), &(plr_r->newpbspeed), &speed_variance, &dj_audio_level, &crosspattern, &s.use_dsp, &s.new_inter_pause, &inter_stream, &inter_audio, &inter_force, &alarm_audio_level, &voipvol, &(plr_i->newpbspeed)) !=39) { fprintf(stderr, "mixer got bad mixer string\n"); return TRUE; } eot_alarm_f |= eot_alarm_set; plr_l->fadeout_f = plr_r->fadeout_f = plr_i->fadeout_f = s.fadeout_f; for (struct xlplayer **p = plr_j; *p; ++p) (*p)->fadeout_f = s.fadeout_f; plr_l->use_sv = plr_r->use_sv = plr_i->use_sv = speed_variance; if (s.use_dsp != using_dsp) using_dsp = s.use_dsp; if (s.new_left_pause != plr_l->pause) { if (s.new_left_pause) xlplayer_pause(plr_l); else xlplayer_unpause(plr_l); } if (s.new_right_pause != plr_r->pause) { if (s.new_right_pause) xlplayer_pause(plr_r); else xlplayer_unpause(plr_r); } if (s.new_inter_pause != plr_i->pause) { if (s.new_inter_pause) xlplayer_pause(plr_i); else xlplayer_unpause(plr_i); } } if (!strcmp(action, "requestlevels")) { /* make logarithmic values for the peak levels */ s.str_l_peak_db = peak_to_log(peakfilter_read(str_pf_l)); s.str_r_peak_db = peak_to_log(peakfilter_read(str_pf_r)); /* set reply values for a totally blank signal */ s.str_l_rms_db = s.str_r_rms_db = 120; /* compute the rms values */ if (str_l_meansqrd) s.str_l_rms_db = (int) fabs(level2db(sqrt(str_l_meansqrd))); if (str_r_meansqrd) s.str_r_rms_db = (int) fabs(level2db(sqrt(str_r_meansqrd))); /* send the meter and other stats to the main app */ mic_stats_all(mics); /* forward any MIDI commands that have been queued since last time */ pthread_mutex_lock(&midi_mutex); s.midi_output[0]= '\0'; if (midi_nqueued>0) /* exclude leading `,`, include trailing `\0` */ memcpy(s.midi_output, midi_queue+1, midi_nqueued*sizeof(char)); midi_queue[0]= '\0'; midi_nqueued= 0; pthread_mutex_unlock(&midi_mutex); if (sig_recent_usr1()) s.session_command = "save_L1"; else { if (g.session_event_rb && jack_ringbuffer_read_space(g.session_event_rb) >= sizeof session_event) { jack_ringbuffer_read(g.session_event_rb, (char *)&session_event, sizeof session_event); switch (session_event->type) { case JackSessionSave: s.session_command = "save_JACK"; break; case JackSessionSaveAndQuit: s.session_command = "saveandquit_JACK"; break; case JackSessionSaveTemplate: s.session_command = "savetemplate_JACK"; } fprintf(g.out, "session_event=%p\n" "session_directory=%s\n" "session_uuid=%s\n", session_event, session_event->session_dir, session_event->client_uuid); } else s.session_command = ""; } lead = port_connection_count; if (lead - port_reports > UINT_MAX << 1) ports_diff = UINT_MAX - lead + port_reports + 1; /* handle wrap */ else ports_diff = lead - port_reports; xlplayer_stats_all(players); xlplayer_stats_all(plr_j); int effects = 0; for (struct xlplayer **p = plr_j_roster; *p; ++p) effects |= (*p)->id; if (effects == effects_active) effects = -1; // -1 for no change, UI can skip updating indicators else effects_active = effects; fprintf(g.out, "str_l_peak=%d\nstr_r_peak=%d\n" "str_l_rms=%d\nstr_r_rms=%d\n" "midi=%s\n" "session_command=%s\n" "ports_connections_changed=%d\n" "effects_playing=%d\n" "freewheel_mode=%d\n" "end\n", s.str_l_peak_db, s.str_r_peak_db, s.str_l_rms_db, s.str_r_rms_db, s.midi_output, s.session_command, ports_diff, effects, g.freewheel ); if (ports_diff) { port_reports += ports_diff; fprintf(stderr, "%d JACK port connection(s) changed\n", ports_diff); } /* tell the jack mixer it can reset its vu stats now */ reset_vu_stats_f = TRUE; fflush(g.out); } return TRUE; } idjc-0.8.9/c/xlplayer.c0000644000175000017500000011365212114637001011613 00000000000000/* # xlplayer.c: player decoder module for idjc # Copyright (C) 2006-2012 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "../config.h" #include "gnusource.h" #include #include #include #include #include #include #include #include "ialloc.h" #include "xlplayer.h" #include "mp3dec.h" #include "dyn_mpg123.h" #include "oggdec.h" #include "flacdecode.h" #include "sndfiledecode.h" #include "avcodecdecode.h" #include "bsdcompat.h" #include "sig.h" #include "main.h" #define TRUE 1 #define FALSE 0 #define PBSPEED_INPUT_SAMPLE_SIZE 256 #define PBSPEED_INPUT_BUFFER_SIZE (PBSPEED_INPUT_SAMPLE_SIZE * sizeof (float)) typedef jack_default_audio_sample_t sample_t; int mpg123ok = FALSE; void xlplayer_mpg123_status() { #ifdef DYN_MPG123 mpg123ok = dyn_mpg123_init(); #else mpg123ok = TRUE; #endif fprintf(g.out, "%d\n", mpg123ok); fflush(g.out); } /* make_audio_to_float: convert the audio to the format used by jack and libsamplerate */ float *xlplayer_make_audio_to_float(struct xlplayer *self, float *buffer, uint8_t *data, int num_samples, int bits_per_sample, int num_channels) { int num_bytes; int i; uint32_t msb_mask; uint32_t neg_mask; uint32_t holder; uint32_t mult; float *fptr = buffer; float fscale; const float half_randmax = (float)(RAND_MAX >> 1); float dscale; msb_mask = 1UL << (bits_per_sample - 1); /* negative number detector */ neg_mask = (uint32_t)((~0UL) << (bits_per_sample)); /* negative number maker */ fscale = 1.0F/(float)msb_mask; /* multiplier to make the floating point range -1 to +1 */ dscale = 0.25F / half_randmax * fscale; if (bits_per_sample > 32) { memset(buffer, 0, sizeof (sample_t) * num_samples * num_channels); } else { while (num_samples--) { for (i = 0; i < num_channels; i++) { for (num_bytes = (bits_per_sample + 7) >> 3, mult = 1, holder = 0; num_bytes--; mult <<=8) { holder |= ((uint32_t)*data++) * mult; } if (holder & msb_mask) holder |= neg_mask; if (self->dither && bits_per_sample < 20) /* adds triangular dither */ *fptr++ = (((float)(int32_t)holder) * fscale) + (((((float)rand_r(&self->seed)) - half_randmax) + (((float)rand_r(&self->seed)) - half_randmax)) * dscale); else *fptr++ = ((float)((int32_t)holder)) * fscale; } } } return buffer; } /* get_next_gain: compute the gain of the next sample */ /* used to fade in the audio when not starting from the beginning */ sample_t xlplayer_get_next_gain(struct xlplayer *self) { return fade_get(self->fadein) * self->gain; } /* xlplayer_demux_channel_data: this is where down/upmixing is performed - audio split to 2 channels */ void xlplayer_demux_channel_data(struct xlplayer *self, sample_t *buffer, int num_samples, int num_channels, float scale) { int i; sample_t *lc, *rc, *src, gain; self->op_buffersize = num_samples * sizeof (sample_t); if ((!(self->leftbuffer = realloc(self->leftbuffer, self->op_buffersize))) && num_samples) { fprintf(stderr, "xlplayer: malloc failure"); exit(5); } if ((!(self->rightbuffer = realloc(self->rightbuffer, self->op_buffersize))) && num_samples) { fprintf(stderr, "xlplayer: malloc failure"); exit(5); } switch (num_channels) { case 0: break; /* this is a wtf case */ case 1: for (lc = self->leftbuffer, src = buffer, i = 0; i < num_samples; i++) { gain = xlplayer_get_next_gain(self); /* used for fade-in */ *lc++ = *src++ * gain * scale; } memcpy(self->rightbuffer, self->leftbuffer, self->op_buffersize); break; case 2: for (lc = self->leftbuffer, rc = self->rightbuffer, src = buffer, i = 0; i < num_samples; i++) { gain = xlplayer_get_next_gain(self); *lc++ = *src++ * gain * scale; /* stereo mix is a simple demultiplex job */ *rc++ = *src++ * gain * scale; } break; case 3: for (lc = self->leftbuffer, rc = self->rightbuffer, src = buffer, i = 0; i < num_samples; i++) { gain = xlplayer_get_next_gain(self) * 0.5F; *lc = (*src++) * gain * scale; /* do the left and right channels */ *rc = (*src++) * gain * scale; *(lc++) += (*src) *gain * scale; /* downmix the middle channel to the left and right one */ *(rc++) += (*src++) *gain * scale; } break; case 4: for (lc = self->leftbuffer, rc = self->rightbuffer, src = buffer, i = 0; i < num_samples; i++, src += 4) { gain = xlplayer_get_next_gain(self) * 0.5F; *lc++ = (src[0] + src[3]) * gain * scale; *rc++ = (src[2] + src[4]) * gain * scale; } break; case 5: for (lc = self->leftbuffer, rc = self->rightbuffer, src = buffer, i = 0; i < num_samples; i++, src += 5) { gain = xlplayer_get_next_gain(self) * 0.5F; *lc++ = (src[0] + src[3]) * gain * scale; /* this is for 4.1 channels with sub discarded */ *rc++ = (src[2] + src[4]) * gain * scale; } break; case 6: for (lc = self->leftbuffer, rc = self->rightbuffer, src = buffer, i = 0; i < num_samples; i++, src += 6) { gain = xlplayer_get_next_gain(self) * 0.33333333F; *lc++ = (src[0] + src[3] + src[4]) * gain * scale; /* this is for 5.1 channels */ *rc++ = (src[2] + src[4] + src[5]) * gain * scale; /* sub discarded */ } break; } } void xlplayer_write_channel_data(struct xlplayer *self) { u_int32_t samplecount; const float threshold = 0.003; float *lp, *rp; int sc; if (self->op_buffersize > jack_ringbuffer_write_space(self->right_ch)) { self->write_deferred = TRUE; /* prevent further accumulation of data that would clobber */ usleep(20000); } else { if (self->op_buffersize) { jack_ringbuffer_write(self->left_ch, (char *)self->leftbuffer, self->op_buffersize); jack_ringbuffer_write(self->right_ch, (char *)self->rightbuffer, self->op_buffersize); samplecount = self->op_buffersize / sizeof (sample_t); self->samples_written += samplecount; self->sleep_samples += samplecount; /* count cumulative silent samples */ for (sc = 0, lp = self->leftbuffer, rp = self->rightbuffer; samplecount--; ++lp, ++rp) { if (*lp > threshold || *rp > threshold) { sc = 0; self->silence = 0.0f; } else ++sc; } self->silence += (float)sc / self->samplerate; } self->write_deferred = FALSE; if (self->sleep_samples > 6000) { if (self->sleep_samples > 12000) usleep(20000); else usleep(10000); self->sleep_samples = 0; } } } /* xlplayer_update_progress_time_ms: a rather ugly calculator of where the play progress is up to */ static u_int32_t xlplayer_update_progress_time_ms(struct xlplayer *self) { int32_t rb_time_ms; /* the amount of time it would take to play all the samples in the buffer */ int32_t progress; rb_time_ms = (float)jack_ringbuffer_read_space(self->right_ch) / sizeof (sample_t) * 1000.0f / self->samplerate; progress = self->samples_written * 1000.0f / self->samplerate - rb_time_ms + self->seek_s * 1000.0f; if (progress >= 0) return self->play_progress_ms = progress; else return self->play_progress_ms = 0; } static char *get_extension(char *pathname) { char *p, *extension; if (!(p = strrchr(pathname, '.'))) { fprintf(stderr, "get_extension: failed to find a file extension delineator '.'\n"); return strdup(""); } extension = p = strdup(p + 1); while (*p) { char c = tolower(*p); *p++ = c; } return extension; } static void xlplayer_command(struct xlplayer *self, enum command_t new_command) { pthread_mutex_lock(&self->command_mutex); self->command = new_command; pthread_cond_signal(&self->command_cv); pthread_mutex_unlock(&self->command_mutex); while (self->command) usleep(10000); } static void *xlplayer_main(struct xlplayer *self) { char *extension; sig_mask_thread(); for(self->up = TRUE; self->command != CMD_THREADEXIT; self->watchdog_timer = 0) { switch (self->command) { case CMD_COMPLETE: break; case CMD_PLAY: self->playmode = PM_INITIATE; break; case CMD_PLAYMANY: self->pathname = self->playlist[self->playlistindex = 0]; self->playmode = PM_INITIATE; break; case CMD_EJECT: if (self->playmode != PM_STOPPED) self->playmode = PM_EJECTING; else { xlplayer_set_fadesteps(self, self->fade_mode); self->jack_flush = TRUE; while (self->jack_is_flushed == 0 && *(self->jack_shutdown_f) == FALSE) usleep(10000); self->jack_is_flushed = 0; self->command = CMD_COMPLETE; } break; case CMD_CLEANUP: if (self->playlist) free(self->playlist); self->command = CMD_THREADEXIT; case CMD_THREADEXIT: continue; } switch (self->playmode) { case PM_STOPPED: pthread_mutex_lock(&self->command_mutex); while (self->command == CMD_COMPLETE) pthread_cond_wait(&self->command_cv, &self->command_mutex); pthread_mutex_unlock(&self->command_mutex); continue; case PM_INITIATE: self->initial_audio_context = -1; /* pre-select failure return code */ xlplayer_set_fadesteps(self, self->fade_mode); extension = get_extension(self->pathname); if ( ((!strcmp(extension, "ogg") || !strcmp(extension, "oga")) && oggdecode_reg(self)) #ifdef HAVE_SPEEX || (!strcmp(extension, "spx") && oggdecode_reg(self)) #endif #ifdef HAVE_OPUS || (!strcmp(extension, "opus") && oggdecode_reg(self)) #endif #ifdef HAVE_FLAC || (!strcmp(extension, "flac") && flacdecode_reg(self)) #endif || ((!strcmp(extension, "wav") || !strcmp(extension, "au") || !strcmp(extension, "aiff")) && sndfiledecode_reg(self)) #ifdef HAVE_AVCODEC #ifdef HAVE_AVFORMAT || ((!strcmp(extension, "aac") || !strcmp(extension, "m4a") || !strcmp(extension, "mp4") || !strcmp(extension, "m4b") || !strcmp(extension, "m4p") || !strcmp(extension, "wma") || !strcmp(extension, "avi") || !strcmp(extension, "mpc") || !strcmp(extension, "ape")) && avcodecdecode_reg(self)) #endif /* HAVE_AVFORMAT */ #endif /* HAVE_AVCODEC */ || ((!strcmp(extension, "mp3") || (!strcmp(extension, "mp2"))) && mpg123ok && mp3decode_reg(self)) ) { self->playmode = PM_PLAYING; self->play_progress_ms = 0; self->write_deferred = 0; self->pause = 0; self->samples_written = 0; self->sleep_samples = 0; fade_set(self->fadein, (self->seek_s || self->fade_mode) ? FADE_SET_LOW : FADE_SET_HIGH, -1.0f, FADE_IN); self->silence = 0.0f; self->dec_init(self); if (self->command != CMD_COMPLETE) ++self->current_audio_context; self->initial_audio_context = self->current_audio_context; } else self->playmode = PM_STOPPED; self->command = CMD_COMPLETE; free(extension); break; case PM_PLAYING: if (self->write_deferred) xlplayer_write_channel_data(self); else self->dec_play(self); break; case PM_EJECTING: xlplayer_set_fadesteps(self, self->fade_mode); self->dec_eject(self); if (self->playlistmode) { if (self->command != CMD_EJECT) { /* implements the internal playlist here */ if (++self->playlistindex == self->playlistsize && self->loop) self->playlistindex = 0; /* perform looparound if relevant */ if (self->playlistindex < self->playlistsize) /* check for non end of playlist */ { self->pathname = self->playlist[self->playlistindex]; self->playmode = PM_INITIATE; continue; } } else while (self->playlistsize--) free(self->playlist[self->playlistsize]); } ++self->current_audio_context; self->playmode = PM_STOPPED; break; } } self->command = CMD_COMPLETE; return 0; } /* callback functions for feeding the playback speed resampler */ static long conv_l_read(void *cb_data, float **audiodata) { struct xlplayer *self = (struct xlplayer *)cb_data; if (self->pbs_exchange == 0) /* used to maintain mapping of input buffers after a swap */ { /* try and get at least PBSPEED_INPUT_SAMPLE_SIZE samples */ self->pbs_norm_read_qty = jack_ringbuffer_read_space(self->right_ch) / sizeof (sample_t); if (self->pbs_norm_read_qty > PBSPEED_INPUT_SAMPLE_SIZE) self->pbs_norm_read_qty = PBSPEED_INPUT_SAMPLE_SIZE; jack_ringbuffer_read(self->left_ch, (char *)self->pbsrb_l, self->pbs_norm_read_qty * sizeof (sample_t)); *audiodata = self->pbsrb_l; return self->pbs_norm_read_qty; } else { self->pbs_fade_read_qty = jack_ringbuffer_read_space(self->left_fade) / sizeof (sample_t); if (self->pbs_fade_read_qty > PBSPEED_INPUT_SAMPLE_SIZE) self->pbs_fade_read_qty = PBSPEED_INPUT_SAMPLE_SIZE; jack_ringbuffer_read(self->left_fade, (char *)self->pbsrb_lf, self->pbs_fade_read_qty * sizeof (sample_t)); *audiodata = self->pbsrb_lf; return self->pbs_fade_read_qty; } } static long conv_r_read(void *cb_data, float **audiodata) { struct xlplayer *self = (struct xlplayer *)cb_data; if (self->pbs_exchange == 0) { jack_ringbuffer_read(self->right_ch, (char *)self->pbsrb_r, self->pbs_norm_read_qty * sizeof (sample_t)); *audiodata = self->pbsrb_r; return self->pbs_norm_read_qty; } else { jack_ringbuffer_read(self->right_fade, (char *)self->pbsrb_rf, self->pbs_fade_read_qty * sizeof (sample_t)); *audiodata = self->pbsrb_rf; return self->pbs_fade_read_qty; } } static long conv_lf_read(void *cb_data, float **audiodata) { struct xlplayer *self = (struct xlplayer *)cb_data; if (self->pbs_exchange == 0) { self->pbs_fade_read_qty = jack_ringbuffer_read_space(self->left_fade) / sizeof (sample_t); if (self->pbs_fade_read_qty > PBSPEED_INPUT_SAMPLE_SIZE) self->pbs_fade_read_qty = PBSPEED_INPUT_SAMPLE_SIZE; jack_ringbuffer_read(self->left_fade, (char *)self->pbsrb_lf, self->pbs_fade_read_qty * sizeof (sample_t)); *audiodata = self->pbsrb_lf; return self->pbs_fade_read_qty; } else { self->pbs_norm_read_qty = jack_ringbuffer_read_space(self->right_ch) / sizeof (sample_t); if (self->pbs_norm_read_qty > PBSPEED_INPUT_SAMPLE_SIZE) self->pbs_norm_read_qty = PBSPEED_INPUT_SAMPLE_SIZE; jack_ringbuffer_read(self->left_ch, (char *)self->pbsrb_l, self->pbs_norm_read_qty * sizeof (sample_t)); *audiodata = self->pbsrb_l; return self->pbs_norm_read_qty; } } static long conv_rf_read(void *cb_data, float **audiodata) { struct xlplayer *self = (struct xlplayer *)cb_data; if (self->pbs_exchange == 0) { jack_ringbuffer_read(self->right_fade, (char *)self->pbsrb_rf, self->pbs_fade_read_qty * sizeof (sample_t)); *audiodata = self->pbsrb_rf; return self->pbs_fade_read_qty; } else { jack_ringbuffer_read(self->right_ch, (char *)self->pbsrb_r, self->pbs_norm_read_qty * sizeof (sample_t)); *audiodata = self->pbsrb_r; return self->pbs_norm_read_qty; } } struct xlplayer *xlplayer_create(int samplerate, double duration, char *playername, sig_atomic_t *shutdown_f, int *vol_c, float vol_scale, int *strmute_c, int *audmute_c, float cutoff_s) { struct xlplayer *self; int error; const float minlevel = 1.0f/10000.0f; if (!(self = calloc(1, sizeof (struct xlplayer)))) { fprintf(stderr, "xlplayer: malloc failure"); exit(5); } self->rbsize = (int)(duration * samplerate) << 2; self->rbdelay = (int)(duration * 1000); self->samples_cutoff = samplerate * cutoff_s; if (!(self->left_ch = jack_ringbuffer_create(self->rbsize))) { fprintf(stderr, "xlplayer: ringbuffer creation failure"); exit(5); } if (!(self->right_ch = jack_ringbuffer_create(self->rbsize))) { fprintf(stderr, "xlplayer: ringbuffer creation failure"); exit(5); } if (!(self->left_fade = jack_ringbuffer_create(self->rbsize))) { fprintf(stderr, "xlplayer: ringbuffer creation failure"); exit(5); } if (!(self->right_fade = jack_ringbuffer_create(self->rbsize))) { fprintf(stderr, "xlplayer: ringbuffer creation failure"); exit(5); } if (!(self->pbspeed_conv_l = src_callback_new(conv_l_read, SRC_LINEAR, 1, &error, self))) { fprintf(stderr, "xlplayer: playback speed converter initialisation failure"); exit(5); } if (!(self->pbspeed_conv_r = src_callback_new(conv_r_read, SRC_LINEAR, 1, &error, self))) { fprintf(stderr, "xlplayer: playback speed converter initialisation failure"); exit(5); } if (!(self->pbspeed_conv_lf = src_callback_new(conv_lf_read, SRC_LINEAR, 1, &error, self))) { fprintf(stderr, "xlplayer: playback speed converter initialisation failure"); exit(5); } if (!(self->pbspeed_conv_rf = src_callback_new(conv_rf_read, SRC_LINEAR, 1, &error, self))) { fprintf(stderr, "xlplayer: playback speed converter initialisation failure"); exit(5); } if (pthread_mutex_init(&(self->dynamic_metadata.meta_mutex), NULL)) { fprintf(stderr, "xlplayer: failed initialising metadata_mutex\n"); exit(5); } self->fadein = fade_init(samplerate, minlevel); self->fadeout = fade_init(samplerate, minlevel); self->pbsrb_l = malloc(PBSPEED_INPUT_BUFFER_SIZE); self->pbsrb_r = malloc(PBSPEED_INPUT_BUFFER_SIZE); self->pbsrb_lf = malloc(PBSPEED_INPUT_BUFFER_SIZE); self->pbsrb_rf = malloc(PBSPEED_INPUT_BUFFER_SIZE); if (!(self->pbsrb_l && self->pbsrb_r && self->pbsrb_lf && self->pbsrb_rf)) { fprintf(stderr, "xlplayer: playback speed converter input buffer initialisation failure\n"); exit(5); } self->playername = playername; self->cf_l_gain = self->cf_r_gain = 1.0f; self->seed = 17234; self->samplerate = samplerate; self->jack_shutdown_f = shutdown_f; self->command = CMD_COMPLETE; self->playmode = PM_STOPPED; self->dynamic_metadata.data_type = DM_NONE_NEW; smoothing_volume_init(&self->volume, vol_c, vol_scale); smoothing_mute_init(&self->mute_str, strmute_c); smoothing_mute_init(&self->mute_aud, audmute_c); pthread_mutex_init(&self->command_mutex, NULL); pthread_cond_init(&self->command_cv, NULL); pthread_create(&self->thread, NULL, (void *(*)(void *)) xlplayer_main, self); while (self->up == FALSE) usleep(10000); return self; } void xlplayer_destroy(struct xlplayer *self) { if (self) { xlplayer_command(self, CMD_CLEANUP); pthread_join(self->thread, NULL); pthread_cond_destroy(&self->command_cv); pthread_mutex_destroy(&self->command_mutex); pthread_mutex_destroy(&(self->dynamic_metadata.meta_mutex)); ifree(self->lcb); ifree(self->rcb); ifree(self->lcfb); ifree(self->rcfb); free(self->pbsrb_l); free(self->pbsrb_r); free(self->pbsrb_lf); free(self->pbsrb_rf); fade_destroy(self->fadein); fade_destroy(self->fadeout); src_delete(self->pbspeed_conv_l); src_delete(self->pbspeed_conv_r); src_delete(self->pbspeed_conv_lf); src_delete(self->pbspeed_conv_rf); jack_ringbuffer_free(self->left_ch); jack_ringbuffer_free(self->right_ch); jack_ringbuffer_free(self->left_fade); jack_ringbuffer_free(self->right_fade); free(self); } } int xlplayer_play(struct xlplayer *self, char *pathname, int seek_s, int size, float gain_db, int id) { xlplayer_eject(self); self->pathname = pathname; self->gain = pow(10.0, gain_db / 20.0); self->seek_s = seek_s; self->size = size; self->id = 1 << id; self->loop = FALSE; self->usedelay = FALSE; self->playlistmode = FALSE; xlplayer_command(self, CMD_PLAY); return self->initial_audio_context; } int xlplayer_playmany(struct xlplayer *self, char *playlist, int loop_f) { char *start = playlist, *end; int payloadlen, i; xlplayer_eject(self); /* this is where we parse the playlist starting with getting the number of entries */ while (*start++ != '#'); start[-1] = '\0'; self->playlistsize = atoi(playlist); /* generate an array of pointers to point to the playlist entries which must be a copy */ if (!(self->playlist = realloc(self->playlist, self->playlistsize * sizeof (char *)))) { fprintf(stderr, "xlplayer: malloc failure\n"); exit(5); } /* now we parse the playlist entries */ for (i = 0; *start++ == 'd'; i++) { for (end = start; *end != ':'; end++); *end = '\0'; payloadlen = atoi(start); start = end + 1; end = start + payloadlen; if ((self->playlist[i] = malloc(payloadlen + 1))) { memcpy(self->playlist[i], start, payloadlen); self->playlist[i][payloadlen] = '\0'; } else { fprintf(stderr, "xlplayer: malloc failure\n"); exit(5); } start = end; } self->gain = 1.0; self->seek_s = 0; self->loop = loop_f; self->playlistmode = TRUE; xlplayer_command(self, CMD_PLAYMANY); return self->initial_audio_context; } int xlplayer_play_noflush(struct xlplayer *self, char *pathname, int seek_s, int size, float gain_db, int id) { self->noflush = TRUE; xlplayer_eject(self); self->pathname = pathname; self->gain = pow(10.0, gain_db / 20.0); self->seek_s = seek_s; self->size = size; self->id = 1 << id; self->loop = FALSE; self->playlistmode = FALSE; xlplayer_command(self, CMD_PLAY); self->noflush = FALSE; return self->initial_audio_context; } void xlplayer_pause(struct xlplayer *self) { self->pause = TRUE; } void xlplayer_unpause(struct xlplayer *self) { self->pause = FALSE; } void xlplayer_dither(struct xlplayer *self, int dither_f) { self->dither = dither_f; } void xlplayer_eject(struct xlplayer *self) { if (!self->fadeout_f) xlplayer_pause(self); xlplayer_command(self, CMD_EJECT); } void xlplayer_set_fadesteps(struct xlplayer *self, int fade_mode) { static float a[] = {1.0f, 5.0f, 10.0f, 0.1f, 0.05f}; static float b[] = {0.05f, 5.0f, 10.0f, 0.0f, 0.05f}; fade_set(self->fadeout, FADE_SET_SAME, a[fade_mode], FADE_DIRECTION_UNCHANGED); fade_set(self->fadein, FADE_SET_SAME, b[fade_mode], FADE_DIRECTION_UNCHANGED); } /* version supporting playback speed variance */ size_t read_from_player_sv(struct xlplayer *self, sample_t *left_buf, sample_t *right_buf, sample_t *left_fbuf, sample_t *right_fbuf, jack_nframes_t nframes) { jack_ringbuffer_t *swap; SRC_STATE *pbs_swap; float *pbsrb_swap; size_t todo = 0, ftodo = 0; if (self->jack_flush) { if (self->noflush == FALSE) { if (self->pause == 0) { /* perform the exchange of handles for the purpose of fading out the remaining buffer contents */ /* exchange speed converter handles */ pbs_swap = self->pbspeed_conv_l; self->pbspeed_conv_l = self->pbspeed_conv_lf; self->pbspeed_conv_lf = pbs_swap; pbs_swap = self->pbspeed_conv_r; self->pbspeed_conv_r = self->pbspeed_conv_rf; self->pbspeed_conv_rf = pbs_swap; /* exchange speed converter input buffers */ pbsrb_swap = self->pbsrb_l; self->pbsrb_l = self->pbsrb_lf; self->pbsrb_lf = pbsrb_swap; pbsrb_swap = self->pbsrb_r; self->pbsrb_r = self->pbsrb_rf; self->pbsrb_rf = pbsrb_swap; self->pbs_exchange = !self->pbs_exchange; /* exchange ring buffers */ swap = self->left_ch; self->left_ch = self->left_fade; self->left_fade = swap; swap = self->right_ch; self->right_ch = self->right_fade; self->right_fade = swap; /* initialisations for fade */ fade_set(self->fadeout, FADE_SET_HIGH, -1.0f, FADE_OUT); } /* buffer flushing */ src_reset(self->pbspeed_conv_l); src_reset(self->pbspeed_conv_r); jack_ringbuffer_reset(self->left_ch); jack_ringbuffer_reset(self->right_ch); } self->jack_is_flushed = 1; self->jack_flush = 0; self->pause = 0; } if (self->pause == 0) { if (self->pbspeed != self->newpbspeed) { self->pbspeed = self->newpbspeed; src_set_ratio(self->pbspeed_conv_l, self->pbspeed); /* bug workaround for libsamplerate 0.1.2 */ src_set_ratio(self->pbspeed_conv_r, self->pbspeed); src_set_ratio(self->pbspeed_conv_lf, self->pbspeed); src_set_ratio(self->pbspeed_conv_rf, self->pbspeed); } /* the number of samples in the ring buffer used when calculating play progress */ /* samples stored in the resampler are not worth the bother of accounting for */ self->avail = jack_ringbuffer_read_space(self->right_ch) / sizeof (sample_t); /* read data from playback speed resampler */ todo = src_callback_read(self->pbspeed_conv_l, self->pbspeed, nframes, left_buf); src_callback_read(self->pbspeed_conv_r, self->pbspeed, todo, right_buf); memset(left_buf + self->avail, 0, (nframes - todo) * sizeof (sample_t)); memset(right_buf + self->avail, 0, (nframes - todo) * sizeof (sample_t)); /* read fade data from playback speed resampler */ if (left_fbuf && right_fbuf) { ftodo = src_callback_read(self->pbspeed_conv_lf, self->pbspeed, nframes, left_fbuf); src_callback_read(self->pbspeed_conv_rf, self->pbspeed, ftodo, right_fbuf); memset(left_fbuf + ftodo, 0, (nframes - ftodo) * sizeof (sample_t)); memset(right_fbuf + ftodo, 0, (nframes - ftodo) * sizeof (sample_t)); } self->have_data_f = todo > 0; } else { memset(left_buf, 0, nframes * sizeof (sample_t)); memset(right_buf, 0, nframes * sizeof (sample_t)); if (left_fbuf && right_fbuf) { memset(left_fbuf, 0, nframes * sizeof (sample_t)); memset(right_fbuf, 0, nframes * sizeof (sample_t)); } } xlplayer_update_progress_time_ms(self); return todo; } /* version not supporting playback speed variance but uses less CPU */ size_t read_from_player(struct xlplayer *self, sample_t *left_buf, sample_t *right_buf, sample_t *left_fbuf, sample_t *right_fbuf, jack_nframes_t nframes) { jack_ringbuffer_t *swap; size_t todo, favail, ftodo; if (self->jack_flush) { if (self->noflush == FALSE) { if (self->pause == 0) { swap = self->left_ch; self->left_ch = self->left_fade; self->left_fade = swap; swap = self->right_ch; self->right_ch = self->right_fade; self->right_fade = swap; fade_set(self->fadeout, FADE_SET_HIGH, -1.0f, FADE_OUT); } jack_ringbuffer_reset(self->left_ch); jack_ringbuffer_reset(self->right_ch); } self->jack_is_flushed = 1; self->jack_flush = 0; self->pause = 0; } self->avail = jack_ringbuffer_read_space(self->right_ch) / sizeof (sample_t); todo = (self->avail > nframes ? nframes : self->avail); favail = jack_ringbuffer_read_space(self->right_fade) / sizeof (sample_t); ftodo = (favail > nframes ? nframes : favail); if (self->pause == 0) { /* fill the frame with whatever data is available, then pad as needed with zeroes */ jack_ringbuffer_read(self->left_ch, (char *)left_buf, todo * sizeof (sample_t)); memset(left_buf + todo, 0, (nframes - todo) * sizeof (sample_t)); jack_ringbuffer_read(self->right_ch, (char *)right_buf, todo * sizeof (sample_t)); memset(right_buf + todo, 0, (nframes - todo) * sizeof (sample_t)); if (left_fbuf && right_fbuf) { jack_ringbuffer_read(self->left_fade, (char *)left_fbuf, ftodo * sizeof (sample_t)); memset(left_fbuf + ftodo, 0, (nframes - ftodo) * sizeof (sample_t)); jack_ringbuffer_read(self->right_fade, (char *)right_fbuf, ftodo * sizeof (sample_t)); memset(right_fbuf + ftodo, 0, (nframes - ftodo) * sizeof (sample_t)); } if (!(self->have_data_f = todo > 0) && self->command == CMD_COMPLETE && self->playmode == PM_STOPPED) self->id = 0; } else { memset(left_buf, 0, nframes * sizeof (sample_t)); memset(right_buf, 0, nframes * sizeof (sample_t)); if (left_fbuf && right_fbuf) { memset(left_fbuf, 0, nframes * sizeof (sample_t)); memset(right_fbuf, 0, nframes * sizeof (sample_t)); } } xlplayer_update_progress_time_ms(self); return (todo > ftodo) ? todo : ftodo; } int xlplayer_calc_rbdelay(struct xlplayer *xlplayer) { return jack_ringbuffer_read_space(xlplayer->left_ch) * 1000 / (sizeof (sample_t) * xlplayer->samplerate); } void xlplayer_set_dynamic_metadata(struct xlplayer *xlplayer, enum metadata_t type, char *artist, char *title, char *album, int delay) { struct xlp_dynamic_metadata *dm = &(xlplayer->dynamic_metadata); pthread_mutex_lock(&(dm->meta_mutex)); dm->data_type = type; if (dm->artist) free(dm->artist); if (dm->title) free(dm->title); if (dm->album) free(dm->album); dm->artist = strdup(artist); dm->title = strdup(title); dm->album = strdup(album); dm->current_audio_context = xlplayer->current_audio_context; dm->rbdelay = delay; pthread_mutex_unlock(&(dm->meta_mutex)); } void xlplayer_buffer_alloc(struct xlplayer *self, jack_nframes_t nframes) { self->lcb = irealloc(self->lcb, nframes); self->rcb = irealloc(self->rcb, nframes); self->lcfb = irealloc(self->lcfb, nframes); self->rcfb = irealloc(self->rcfb, nframes); } void xlplayer_buffer_alloc_all(struct xlplayer **list, jack_nframes_t nframes) { while (*list) xlplayer_buffer_alloc(*list++, nframes); } size_t xlplayer_read_start(struct xlplayer *self, jack_nframes_t nframes) { size_t samples_read; self->lcp = self->lcb; self->rcp = self->rcb; self->lcfp = self->lcfb; self->rcfp = self->rcfb; if (self->use_sv) samples_read = read_from_player_sv(self, self->lcb, self->rcb, self->lcfb, self->rcfb, nframes); else samples_read = read_from_player(self, self->lcb, self->rcb, self->lcfb, self->rcfb, nframes); return samples_read; } void xlplayer_read_start_all(struct xlplayer **list, jack_nframes_t nframes, struct xlplayer **roster) { while (*list) if (xlplayer_read_start(*list++, nframes)) *roster++ = list[-1]; *roster = NULL; } void xlplayer_read_next(struct xlplayer *self) { float fade_level = fade_get(self->fadeout); float abs; if ((abs = fabsf(*self->lcp)) > self->peak) self->peak = abs; if ((abs = fabsf(*self->rcp)) > self->peak) self->peak = abs; self->ls = *self->lcp++ + *self->lcfp++ * fade_level; self->rs = *self->rcp++ + *self->rcfp++ * fade_level; } void xlplayer_read_next_all(struct xlplayer **list) { while (*list) xlplayer_read_next(*list++); } void xlplayer_levels(struct xlplayer *self) { self->ls_aud = self->ls * self->volume.level * self->mute_aud.level * (self->cf_aud ? self->cf_l_gain : 1.0f); self->rs_aud = self->rs * self->volume.level * self->mute_aud.level * (self->cf_aud ? self->cf_r_gain : 1.0f); self->ls_str = self->ls * self->volume.level * self->mute_str.level * self->cf_l_gain; self->rs_str = self->rs * self->volume.level * self->mute_str.level * self->cf_r_gain; } void xlplayer_levels_all(struct xlplayer **list) { while (*list) xlplayer_levels(*list++); } void xlplayer_smoothing_process(struct xlplayer *self) { smoothing_volume_process(&self->volume); smoothing_mute_process(&self->mute_str); smoothing_mute_process(&self->mute_aud); } void xlplayer_smoothing_process_all(struct xlplayer **list) { while (*list) xlplayer_smoothing_process(*list++); } void xlplayer_stats(struct xlplayer *self) { char prefix[20]; struct xlp_dynamic_metadata *dm = &self->dynamic_metadata; snprintf(prefix, 20, "%s_", self->playername); #define PREFIX() fputs(prefix, g.out) PREFIX(); fprintf(g.out, "elapsed=%d\n", self->play_progress_ms / 1000); PREFIX(); fprintf(g.out, "playing=%d\n", self->have_data_f | (self->current_audio_context & 0x1)); PREFIX(); fprintf(g.out, "signal=%d\n", self->peak > 0.001F || self->peak < 0.0F || self->pause); PREFIX(); fprintf(g.out, "cid=%d\n", self->current_audio_context); PREFIX(); fprintf(g.out, "audio_runout=%d\n", self->avail < self->samples_cutoff && (!(self->current_audio_context & 0x1))); PREFIX(); fprintf(g.out, "silence=%f\n", self->silence); self->peak = 0.0f; if (dm->data_type) { pthread_mutex_lock(&(dm->meta_mutex)); fprintf(stderr, "new dynamic metadata\n"); if (dm->data_type != DM_JOINED_UC) { PREFIX(); fprintf(g.out, "new_metadata=d%d:%dd%d:%sd%d:%sd%d:%sd9:%09dd9:%09dx\n", (int)log10(dm->data_type) + 1, dm->data_type, (int)strlen(dm->artist), dm->artist, (int)strlen(dm->title), dm->title, (int)strlen(dm->album), dm->album, dm->current_audio_context, dm->rbdelay); } else { fprintf(stderr, "send_metadata_update: utf16 chapter info not supported\n"); } dm->data_type = DM_NONE_NEW; pthread_mutex_unlock(&(dm->meta_mutex)); } #undef PREFIX } void xlplayer_stats_all(struct xlplayer **list) { while (*list) xlplayer_stats(*list++); } idjc-0.8.9/c/sndfileinfo.c0000644000175000017500000000345512121624763012263 00000000000000/* # sndfileinfo.c: Provide information on wav files # Copyright (C) 2006 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include #include #include "sndfileinfo.h" #include "main.h" int sndfileinfo(char *pathname) { SF_INFO sfinfo; SNDFILE *handle; const char *artist, *title, *album; if (!(handle = sf_open(pathname, SFM_READ, &sfinfo))) { fprintf(stderr, "sndfileinfo failed to open file %s\n", pathname); return 0; } artist = sf_get_string(handle, SF_STR_ARTIST); title = sf_get_string(handle, SF_STR_TITLE); album = sf_get_string(handle, SF_STR_ALBUM); fprintf(g.out, "idjcmixer: sndfileinfo length=%f\n", (float)sfinfo.frames / sfinfo.samplerate); if (artist && title) { fprintf(g.out, "idjcmixer: sndfileinfo artist=%s\n", artist); fprintf(g.out, "idjcmixer: sndfileinfo title=%s\n", title); if (album) fprintf(g.out, "idjcmixer: sndfileinfo album=%s\n", album); } fprintf(g.out, "idjcmixer: sndfileinfo end\n"); sf_close(handle); fflush(g.out); return 1; } idjc-0.8.9/c/sndfiledecode.h0000644000175000017500000000177712113174301012552 00000000000000/* # sndfiledecode.h: decodes wav file format for xlplayer # Copyright (C) 2007 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "xlplayer.h" struct sndfiledecode_vars { float *flbuf; int resample; SNDFILE *sndfile; SF_INFO sf_info; }; int sndfiledecode_reg(struct xlplayer *xlplayer); idjc-0.8.9/c/sourceclient.c0000644000175000017500000002112312127351571012452 00000000000000/* # sourceclient.c: the streaming module of idjc # Copyright (C) 2007 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "../config.h" #include #include #include #include #include #include #include #include "sourceclient.h" #include "kvpparse.h" #include "live_ogg_encoder.h" #include "avcodec_encoder.h" #include "sig.h" #include "main.h" static int threads_up; static void threads_init(struct threads_info *ti) { int i; ti->n_encoders = atoi(getenv("num_encoders")); ti->n_streamers = atoi(getenv("num_streamers")); ti->n_recorders = atoi(getenv("num_recorders")); ti->encoder = calloc(ti->n_encoders, sizeof (struct encoder *)); ti->streamer = calloc(ti->n_streamers, sizeof (struct streamer *)); ti->recorder = calloc(ti->n_recorders, sizeof (struct recorder *)); if (!(ti->encoder && ti->streamer && ti->recorder)) { fprintf(stderr, "threads_init: malloc failure\n"); exit(5); } for (i = 0; i < ti->n_encoders; i++) if (!(ti->encoder[i] = encoder_init(ti, i))) { fprintf(stderr, "threads_init: encoder initialisation failed\n"); exit(5); } for (i = 0; i < ti->n_streamers; i++) if (!(ti->streamer[i] = streamer_init(ti, i))) { fprintf(stderr, "threads_init: streamer initialisation failed\n"); exit(5); } for (i = 0; i < ti->n_recorders; i++) if (!(ti->recorder[i] = recorder_init(ti, i))) { fprintf(stderr, "threads_init: recorder initialisation failed\n"); exit(5); } if (!(ti->audio_feed = audio_feed_init(ti))) { fprintf(stderr, "threads_init: audio feed initialisation failed\n"); exit(5); } fprintf(stderr, "started %d encoders, %d streamers, %d recorders\n", ti->n_encoders, ti->n_streamers, ti->n_recorders); threads_up = TRUE; } static void threads_shutdown(struct threads_info *ti) { int i; if (threads_up) { for (i = 0; i < ti->n_recorders; i++) recorder_destroy(ti->recorder[i]); for (i = 0; i < ti->n_streamers; i++) streamer_destroy(ti->streamer[i]); for (i = 0; i < ti->n_encoders; i++) encoder_destroy(ti->encoder[i]); free(ti->recorder); free(ti->streamer); free(ti->encoder); audio_feed_destroy(ti->audio_feed); } } static int get_report(struct threads_info *ti, struct universal_vars *uv, void *other) { if (!strcmp(uv->dev_type, "streamer")) { if (uv->tab >= 0 && uv->tab < ti->n_streamers) return streamer_make_report(ti->streamer[uv->tab]); fprintf(stderr, "get_report: streamer %s does not exist\n", uv->tab_id); return FAILED; } if (!strcmp(uv->dev_type, "recorder")) { if (uv->tab >= 0 && uv->tab < ti->n_recorders) return recorder_make_report(ti->recorder[uv->tab]); fprintf(stderr, "get_report: recorder %s does not exist\n", uv->tab_id); return FAILED; } if (!strcmp(uv->dev_type, "encoder")) return FAILED; fprintf(stderr, "get_report: unhandled dev_type %s\n", uv->dev_type); return FAILED; } static int command_parse(struct commandmap *map, struct threads_info *ti, struct universal_vars *uv) { for (; map->key; map++) if (!(strcmp(uv->command, map->key))) { if (uv->tab_id) uv->tab = atoi(uv->tab_id); return map->function(ti, uv, map->other_parameter); } fprintf(stderr, "command_parse: unhandled command %s\n", uv->command); return FAILED; } void comms_send(char *message) { fprintf(g.out, "idjcsc: %s\n", message); fflush(g.out); } static struct threads_info ti; static struct encoder_vars ev; static struct streamer_vars sv; static struct recorder_vars rv; static struct universal_vars uv; static struct kvpdict kvpdict[] = { { "encode_source", &ev.encode_source, NULL }, /* encoder_vars */ { "samplerate", &ev.samplerate, NULL }, { "resample_quality", &ev.resample_quality, NULL }, { "family", &ev.family, NULL }, { "codec", &ev.codec, NULL }, { "bitrate", &ev.bitrate, NULL }, { "variability", &ev.variability, NULL }, { "bitwidth", &ev.bitwidth, NULL }, { "mode", &ev.mode, NULL }, { "metadata_mode", &ev.metadata_mode, NULL }, { "standard", &ev.standard, NULL }, { "pregain", &ev.pregain, NULL }, { "postgain", &ev.postgain, NULL }, { "quality", &ev.quality, NULL }, { "complexity", &ev.complexity, NULL }, { "framesize", &ev.framesize, NULL }, { "filename", &ev.filename, NULL }, { "offset", &ev.offset, NULL }, { "custom_meta", &ev.custom_meta, NULL }, { "artist", &ev.artist, NULL }, { "title", &ev.title, NULL }, { "album", &ev.album, NULL }, { "stream_source", &sv.stream_source, NULL }, /* streamer_vars */ { "server_type", &sv.server_type, NULL }, { "host", &sv.host, NULL }, { "port", &sv.port, NULL }, { "mount", &sv.mount, NULL }, { "login", &sv.login, NULL }, { "password", &sv.password, NULL }, { "useragent", &sv.useragent, NULL }, { "dj_name", &sv.dj_name, NULL }, { "listen_url", &sv.listen_url, NULL }, { "description", &sv.description, NULL }, { "genre", &sv.genre, NULL }, { "irc", &sv.irc, NULL }, { "aim", &sv.aim, NULL }, { "icq", &sv.icq, NULL }, { "make_public", &sv.make_public, NULL }, { "record_source", &rv.record_source, NULL }, /* recorder_vars */ { "record_filename", &rv.record_filename, NULL }, { "record_folder", &rv.record_folder, NULL }, { "pause_button", &rv.pause_button, NULL }, { "command", &uv.command, NULL}, { "dev_type", &uv.dev_type, NULL}, { "tab_id", &uv.tab_id, NULL}, { NULL, NULL, NULL } }; static struct commandmap commandmap[] = { { "jack_samplerate_request", audio_feed_jack_samplerate_request, NULL }, { "encoder_lame_availability", encoder_init_lame, NULL}, #ifdef HAVE_AVCODEC #ifdef HAVE_AVUTIL { "encoder_aac_availability", live_avcodec_encoder_aac_functionality, NULL}, #endif #endif { "get_report", get_report, NULL }, { "encoder_start", encoder_start, &ev }, { "encoder_stop", encoder_stop, NULL }, { "encoder_update", encoder_update, &ev }, { "new_song_metadata", encoder_new_song_metadata, &ev }, { "new_custom_metadata", encoder_new_custom_metadata, &ev }, { "recorder_start", recorder_start, &rv }, { "recorder_stop", recorder_stop, NULL }, { "recorder_pause", recorder_pause, &rv }, { "recorder_unpause", recorder_unpause, &rv }, { "server_connect", streamer_connect, &sv }, { "server_disconnect", streamer_disconnect, NULL }, { NULL, NULL, NULL } }; static void sourceclient_cleanup() { threads_shutdown(&ti); kvp_free_dict(kvpdict); } void sourceclient_init() { sig_init(); setenv("LC_ALL", "C", 1); setlocale(LC_ALL, "C"); srand(time(NULL)); threads_init(&ti); atexit(sourceclient_cleanup); } int sourceclient_main() { if (!kvp_parse(kvpdict, g.in)) return FALSE; if (uv.command && command_parse(commandmap, &ti, &uv)) comms_send("succeeded"); else { fprintf(stderr, "command failed for command: %s\n", uv.command); comms_send("failed"); } if (uv.command) { free(uv.command); uv.command = NULL; } return TRUE; } idjc-0.8.9/c/avcodecdecode.h0000644000175000017500000000316512114637001012525 00000000000000/* # avcodecdecode.h: decodes wma file format for xlplayer # Copyright (C) 2007, 2011 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "../config.h" #ifdef HAVE_AVCODEC #ifdef HAVE_AVFORMAT #ifdef HAVE_AVUTIL #ifdef FFMPEG_AVCODEC #include #include #else #include #include #include #endif #include "xlplayer.h" #include "mp3tagread.h" struct avcodecdecode_vars { AVCodec *codec; AVPacket pkt; AVPacket pktcopy; AVCodecContext *c; AVFormatContext *ic; int size; int resample; unsigned int stream; AVFrame *frame; float *floatsamples; float drop; struct mp3taginfo taginfo; struct chapter *current_chapter; }; int avcodecdecode_reg(struct xlplayer *xlplayer); void avformatinfo(char *pathname); #endif /* HAVE_AVUTIL */ #endif /* HAVE_AVFORMAT */ #endif /* HAVE_AVCODEC */ idjc-0.8.9/c/avcodecdecode.c0000644000175000017500000002677012114637001012527 00000000000000/* # avcodecdecode.c: decodes wma file format for xlplayer # Copyright (C) 2007, 2011 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "../config.h" #ifdef HAVE_AVCODEC #ifdef HAVE_AVFORMAT #ifdef HAVE_AVUTIL #include #include #include #include "main.h" #include "xlplayer.h" #include "avcodecdecode.h" #define TRUE 1 #define FALSE 0 #define ACCEPTED 1 #define REJECTED 0 extern int dynamic_metadata_form[]; static const struct timespec time_delay = { .tv_nsec = 10 }; static void avcodecdecode_eject(struct xlplayer *xlplayer) { struct avcodecdecode_vars *self = xlplayer->dec_data; if (self->resample) { xlplayer->src_state = src_delete(xlplayer->src_state); free(xlplayer->src_data.data_out); } if (self->floatsamples) free(self->floatsamples); while (pthread_mutex_trylock(&g.avc_mutex)) nanosleep(&time_delay, NULL); avcodec_close(self->c); pthread_mutex_unlock(&g.avc_mutex); avformat_close_input(&self->ic); if (self->frame) av_free(self->frame); free(self); fprintf(stderr, "finished eject\n"); } static void avcodecdecode_init(struct xlplayer *xlplayer) { struct avcodecdecode_vars *self = xlplayer->dec_data; int src_error; if (xlplayer->seek_s) { av_seek_frame(self->ic, -1, (int64_t)xlplayer->seek_s * AV_TIME_BASE, 0); switch (self->c->codec_id) { case CODEC_ID_MUSEPACK7: /* add formats here that glitch when seeked */ case CODEC_ID_MUSEPACK8: self->drop = 1.6; fprintf(stderr, "dropping %0.2f seconds of audio\n", self->drop); default: break; } } if ((self->resample = (self->c->sample_rate != (int)xlplayer->samplerate))) { fprintf(stderr, "configuring resampler\n"); xlplayer->src_data.src_ratio = (double)xlplayer->samplerate / (double)self->c->sample_rate; xlplayer->src_data.end_of_input = 0; xlplayer->src_data.data_in = self->floatsamples; xlplayer->src_data.output_frames = (AVCODEC_MAX_AUDIO_FRAME_SIZE / 2 * xlplayer->src_data.src_ratio + 512) / self->c->channels; if (!(xlplayer->src_data.data_out = malloc(AVCODEC_MAX_AUDIO_FRAME_SIZE * 2 * xlplayer->src_data.src_ratio + 512))) { fprintf(stderr, "avcodecdecode_init: malloc failure\n"); self->resample = FALSE; avcodecdecode_eject(xlplayer); xlplayer->playmode = PM_STOPPED; xlplayer->command = CMD_COMPLETE; return; } if ((xlplayer->src_state = src_new(xlplayer->rsqual, self->c->channels, &src_error)), src_error) { fprintf(stderr, "avcodecdecode_init: src_new reports %s\n", src_strerror(src_error)); free(xlplayer->src_data.data_out); self->resample = FALSE; avcodecdecode_eject(xlplayer); xlplayer->playmode = PM_STOPPED; xlplayer->command = CMD_COMPLETE; return; } } fprintf(stderr, "avcodecdecode_init: completed\n"); } static void avcodecdecode_play(struct xlplayer *xlplayer) { struct avcodecdecode_vars *self = xlplayer->dec_data; int channels = self->c->channels; SRC_DATA *src_data = &xlplayer->src_data; if (xlplayer->write_deferred) { xlplayer_write_channel_data(xlplayer); return; } if (self->size <= 0) { if (av_read_frame(self->ic, &self->pkt) < 0 || (self->size = self->pkt.size) == 0) { if (self->pkt.data) av_free_packet(&self->pkt); if (self->resample) /* flush the resampler */ { src_data->end_of_input = TRUE; src_data->input_frames = 0; if (src_process(xlplayer->src_state, src_data)) { fprintf(stderr, "avcodecdecode_play: error occured during resampling\n"); xlplayer->playmode = PM_EJECTING; return; } xlplayer_demux_channel_data(xlplayer, src_data->data_out, src_data->output_frames_gen, channels, 1.f); xlplayer_write_channel_data(xlplayer); } xlplayer->playmode = PM_EJECTING; return; } self->pktcopy = self->pkt; } if (self->pkt.stream_index != (int)self->stream) { if (self->pkt.data) av_free_packet(&self->pkt); self->size = 0; return; } do { int len, frames, got_frame = 0; if (!self->frame) { if (!(self->frame = avcodec_alloc_frame())) { fprintf(stderr, "avcodecdecode_play: malloc failure\n"); exit(1); } else avcodec_get_frame_defaults(self->frame); } while (pthread_mutex_trylock(&g.avc_mutex)) nanosleep(&time_delay, NULL); len = avcodec_decode_audio4(self->c, self->frame, &got_frame, &self->pktcopy); pthread_mutex_unlock(&g.avc_mutex); if (len < 0) { fprintf(stderr, "avcodecdecode_play: error during decode\n"); break; } self->pktcopy.data += len; self->pktcopy.size -= len; self->size -= len; if (!got_frame) { continue; } int buffer_size = av_samples_get_buffer_size(NULL, channels, self->frame->nb_samples, self->c->sample_fmt, 1); switch (self->c->sample_fmt) { case AV_SAMPLE_FMT_FLT: frames = (buffer_size >> 2) / channels; memcpy(self->floatsamples, self->frame->data[0], buffer_size); break; case AV_SAMPLE_FMT_S16: frames = (buffer_size >> 1) / channels; xlplayer_make_audio_to_float(xlplayer, self->floatsamples, self->frame->data[0], frames, 16, channels); break; case AV_SAMPLE_FMT_NONE: default: fprintf(stderr, "avcodecdecode_play: unexpected data format\n"); xlplayer->playmode = PM_EJECTING; return; } if (self->resample) { src_data->input_frames = frames; if (src_process(xlplayer->src_state, src_data)) { fprintf(stderr, "avcodecdecode_play: error occured during resampling\n"); xlplayer->playmode = PM_EJECTING; return; } xlplayer_demux_channel_data(xlplayer, src_data->data_out, frames = src_data->output_frames_gen, channels, 1.f); } else xlplayer_demux_channel_data(xlplayer, self->floatsamples, frames, channels, 1.f); if (self->drop > 0) self->drop -= frames / (float)xlplayer->samplerate; else xlplayer_write_channel_data(xlplayer); } while (!xlplayer->write_deferred && self->size > 0); if (self->size <= 0) { if (self->pkt.data) av_free_packet(&self->pkt); int delay = xlplayer_calc_rbdelay(xlplayer); struct chapter *chapter = mp3_tag_chapter_scan(&self->taginfo, xlplayer->play_progress_ms + delay); if (chapter && chapter != self->current_chapter) { self->current_chapter = chapter; xlplayer_set_dynamic_metadata(xlplayer, dynamic_metadata_form[chapter->title.encoding], chapter->artist.text, chapter->title.text, chapter->album.text, delay); } } } int avcodecdecode_reg(struct xlplayer *xlplayer) { struct avcodecdecode_vars *self; FILE *fp; struct chapter *chapter; if (!(xlplayer->dec_data = self = calloc(1, sizeof (struct avcodecdecode_vars)))) { fprintf(stderr, "avcodecdecode_reg: malloc failure\n"); return REJECTED; } else xlplayer->dec_data = self; if ((fp = fopen(xlplayer->pathname, "r"))) { mp3_tag_read(&self->taginfo, fp); if ((chapter = mp3_tag_chapter_scan(&self->taginfo, xlplayer->play_progress_ms + 70))) { self->current_chapter = chapter; xlplayer_set_dynamic_metadata(xlplayer, dynamic_metadata_form[chapter->title.encoding], chapter->artist.text, chapter->title.text, chapter->album.text, 70); } fclose(fp); } if (avformat_open_input(&self->ic, xlplayer->pathname, NULL, NULL) < 0) { fprintf(stderr, "avcodecdecode_reg: failed to open input file %s\n", xlplayer->pathname); free(self); return REJECTED; } for(self->stream = 0; self->stream < self->ic->nb_streams; self->stream++) { self->c = self->ic->streams[self->stream]->codec; if(self->c->codec_type == AVMEDIA_TYPE_AUDIO) break; } self->c->request_sample_fmt = AV_SAMPLE_FMT_FLT; if (self->stream == self->ic->nb_streams) { fprintf(stderr, "avcodecdecode_reg: codec not found 1\n"); avformat_close_input(&self->ic); free(self); return REJECTED; } if (avformat_find_stream_info(self->ic, NULL) < 0) { fprintf(stderr, "avcodecdecode_reg: call to avformat_find_stream_info failed\n"); avformat_close_input(&self->ic); free(self); return REJECTED; } while (pthread_mutex_trylock(&g.avc_mutex)) nanosleep(&time_delay, NULL); self->codec = avcodec_find_decoder(self->c->codec_id); pthread_mutex_unlock(&g.avc_mutex); if (!self->codec) { fprintf(stderr, "avcodecdecode_reg: codec not found 2\n"); avformat_close_input(&self->ic); free(self); return REJECTED; } while (pthread_mutex_trylock(&g.avc_mutex)) nanosleep(&time_delay, NULL); if (avcodec_open2(self->c, self->codec, NULL) < 0) { pthread_mutex_unlock(&g.avc_mutex); fprintf(stderr, "avcodecdecode_reg: could not open codec\n"); avformat_close_input(&self->ic); free(self); return REJECTED; } pthread_mutex_unlock(&g.avc_mutex); if (!(self->floatsamples = malloc(AVCODEC_MAX_AUDIO_FRAME_SIZE * 2))) { fprintf(stderr, "avcodecdecode_reg: malloc failure\n"); avcodecdecode_eject(xlplayer); return REJECTED; } xlplayer->dec_init = avcodecdecode_init; xlplayer->dec_play = avcodecdecode_play; xlplayer->dec_eject = avcodecdecode_eject; return ACCEPTED; } #endif /* HAVE_AVUTIL */ #endif /* HAVE_AVFORMAT */ #endif /* HAVE_AVCODEC */ idjc-0.8.9/c/audio_feed.c0000644000175000017500000001053712113174301012033 00000000000000/* # audiofeed.c: jack connectivity for the streaming module of idjc # Copyright (C) 2007-2012 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "../config.h" #include #include #include #include #include #include "sourceclient.h" #include "main.h" typedef jack_default_audio_sample_t sample_t; static struct audio_feed *audio_feed; int audio_feed_process_audio(jack_nframes_t n_frames, void *arg) { struct audio_feed *self = audio_feed; struct threads_info *ti = self->threads_info; struct encoder *e; struct recorder *r; sample_t *input_port_buffer[2]; int i; input_port_buffer[0] = jack_port_get_buffer(g.port.output_in_l, n_frames); input_port_buffer[1] = jack_port_get_buffer(g.port.output_in_r, n_frames); /* feed pcm audio data to all encoders that request it */ for (i = 0; i < ti->n_encoders; i++) { e = ti->encoder[i]; switch (e->jack_dataflow_control) { case JD_OFF: break; case JD_ON: while (jack_ringbuffer_write_space(e->input_rb[1]) < n_frames * sizeof (sample_t)) nanosleep(&(struct timespec){0, 10000000}, NULL); jack_ringbuffer_write(e->input_rb[0], (char *)input_port_buffer[0], n_frames * sizeof (sample_t)); jack_ringbuffer_write(e->input_rb[1], (char *)input_port_buffer[1], n_frames * sizeof (sample_t)); break; case JD_FLUSH: jack_ringbuffer_reset(e->input_rb[0]); jack_ringbuffer_reset(e->input_rb[1]); e->jack_dataflow_control = JD_OFF; break; default: fprintf(stderr, "jack_process_callback: unhandled jack_dataflow_control parameter\n"); } } for (i = 0; i < ti->n_recorders; i++) { r = ti->recorder[i]; switch (r->jack_dataflow_control) { case JD_OFF: break; case JD_ON: while (jack_ringbuffer_write_space(r->input_rb[1]) < n_frames * sizeof (sample_t)) nanosleep(&(struct timespec){0, 10000000}, NULL); jack_ringbuffer_write(r->input_rb[0], (char *)input_port_buffer[0], n_frames * sizeof (sample_t)); jack_ringbuffer_write(r->input_rb[1], (char *)input_port_buffer[1], n_frames * sizeof (sample_t)); break; case JD_FLUSH: jack_ringbuffer_reset(r->input_rb[0]); jack_ringbuffer_reset(r->input_rb[1]); r->jack_dataflow_control = JD_OFF; break; default: fprintf(stderr, "jack_process_callback: unhandled jack_dataflow_control parameter\n"); } } return 0; } int audio_feed_jack_samplerate_request(struct threads_info *ti, struct universal_vars *uv, void *param) { fprintf(g.out, "idjcsc: sample_rate=%ld\n", (long)ti->audio_feed->sample_rate); fflush(g.out); if (ferror(g.out)) return FAILED; return SUCCEEDED; } struct audio_feed *audio_feed_init(struct threads_info *ti) { struct audio_feed *self; if (!(self = audio_feed = calloc(1, sizeof (struct audio_feed)))) { fprintf(stderr, "audio_feed_init: malloc failure\n"); return NULL; } self->threads_info = ti; self->sample_rate = jack_get_sample_rate(g.client); return self; } void audio_feed_destroy(struct audio_feed *self) { self->threads_info->audio_feed = NULL; free(self); } idjc-0.8.9/c/ogg_opus_dec.h0000644000175000017500000000343312114637001012410 00000000000000/* # ogg_opus_dec.h: opus decoder for oggdec.c # Copyright (C) 2012 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "../config.h" #ifdef HAVE_OPUS #include #include #include "xlplayer.h" struct opusdec_vars { int resample; /* do we need to resample? */ int do_down; /* do we need to downmix? */ float *pcm; /* decoder reads to here */ float *down; /* downmix buffer -- possible alias of pcm */ uint16_t preskip; /* dump this many samples from stream start */ float opgain; /* apply this much gain to all samples */ int channel_count; /* number of stream channels */ int channelmap_family; int stream_count; /* total stream count */ int stream_count_2c; /* qty stereo streams */ unsigned char channel_map[8]; OpusMSDecoder *odms; /* decoder handle */ int64_t gf_gp; /* granule position values */ int64_t f_gp; int64_t gp; int64_t dec_samples; }; int ogg_opusdec_init(struct xlplayer *xlplayer); #endif /* HAVE_OPUS */ idjc-0.8.9/c/recorder.c0000644000175000017500000011441612127351571011570 00000000000000/* # recorder.c: the recording part of the streaming module of idjc # Copyright (C) 2007-2009 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include #include #include #include #include "live_ogg_encoder.h" #include "sourceclient.h" #include "id3.h" #include "sig.h" #include "main.h" #define TIMESTAMP_SIZ 23 typedef jack_default_audio_sample_t sample_t; static const size_t rb_n_samples = 10000; /* maximum number of samples to hold in the ring buffer */ static const size_t audio_buffer_elements = 256; #if 0 static void recorder_write_ogg_metaheader(struct recorder *self) { struct encoder *encoder = self->encoder_op->encoder; struct loe_data *s = encoder->encoder_private; vorbis_info vi; vorbis_dsp_state vd; vorbis_block vb; vorbis_comment vc; ogg_stream_state os; ogg_page og; ogg_packet op; ogg_packet header_main; ogg_packet header_comments; ogg_packet header_codebooks; void write_out(ogg_page *ogp) /* output the ogg page */ { fwrite(ogp->header, ogp->header_len, 1, self->fp); fwrite(ogp->body, ogp->body_len, 1, self->fp); if (ferror(self->fp)) { fprintf(stderr, "recorder_write_ogg_metaheader: error writing the header\n"); } } void encode_silent_samples(int n_samples) { float **buffer; int i; /* generate a silent buffer */ buffer = vorbis_analysis_buffer(&vd, n_samples); for (i = 0; i < vi.channels; i++) memset(buffer[i], 0, n_samples * sizeof (float)); vorbis_analysis_wrote(&vd, n_samples); /* encode it */ while (vorbis_analysis_blockout(&vd, &vb) == 1) { vorbis_analysis(&vb, NULL); vorbis_bitrate_addblock(&vb); while (vorbis_bitrate_flushpacket(&vd, &op)) { ogg_stream_packetin(&os, &op); while (ogg_stream_pageout(&os, &og)) { write_out(&og); if (ogg_page_eos(&og)) break; } } } } vorbis_info_init(&vi); if (vorbis_encode_setup_managed(&vi, encoder->n_channels, encoder->target_samplerate, s->max_bitrate * 1000, encoder->bitrate * 1000, s->min_bitrate * 1000)) { fprintf(stderr, "recorder_write_ogg_metaheader: mode initialisation failed\n"); vorbis_info_clear(&vi); return; } vorbis_encode_setup_init(&vi); vorbis_analysis_init(&vd, &vi); vorbis_block_init(&vd, &vb); ogg_stream_init(&os, self->initial_serial - 1); vorbis_comment_init(&vc); /* write vorbis header */ vorbis_analysis_headerout(&vd, &vc, &header_main, &header_comments, &header_codebooks); ogg_stream_packetin(&os, &header_main); ogg_stream_packetin(&os, &header_comments); ogg_stream_packetin(&os, &header_codebooks); while (ogg_stream_flush(&os, &og)) write_out(&og); encode_silent_samples(1); /* one sample is all we need */ encode_silent_samples(0); ogg_stream_clear(&os); /* cleanup */ vorbis_block_clear(&vb); vorbis_dsp_clear(&vd); vorbis_comment_clear(&vc); vorbis_info_clear(&vi); } #endif /* recorder_write_ogg_metaheader */ static int recorder_write_id3_tag(struct recorder *self, FILE *fp) { struct metadata_item *mi; struct id3_tag *tag; struct id3_frame *chap; tag = id3_tag_new(0, 512); id3_add_frame(tag, id3_numeric_string_frame_new("TLEN", self->recording_length_ms)); for (mi = self->mi_first; mi; mi = mi->next) { chap = id3_chap_frame_new("", mi->time_offset, mi->time_offset_end, mi->byte_offset, mi->byte_offset_end); id3_embed_frame(chap, id3_text_frame_new("TIT2", mi->title, 3, 1)); if (mi->album[0]) id3_embed_frame(chap, id3_text_frame_new("TALB", mi->album, 3, 1)); if (mi->artist[0]) id3_embed_frame(chap, id3_text_frame_new("TPE1", mi->artist, 3, 1)); id3_add_frame(tag, chap); } id3_compile(tag); if (fwrite(tag->tag_data, 1, tag->tag_data_size, fp) != tag->tag_data_size) { fprintf(stderr, "recorder_write_id3_tag: error writing to file\n"); id3_tag_destroy(tag); return FAILED; } id3_tag_destroy(tag); return SUCCEEDED; } static int recorder_create_mp3_cuesheet(struct recorder *self) { struct metadata_item *mi; FILE *fp; int i, mm, ss, ff; if (!(fp = fopen(self->cuepathname, "wb"))) { fprintf(stderr, "recorder_write_mp3_cue_sheet: failed to open cue sheet file for writing\n"); return FAILED; } fprintf(fp, "TITLE \"%s\"\r\n", self->timestamp); fprintf(fp, "PERFORMER \"Recorded with IDJC\"\r\n"); fprintf(fp, "FILE \"%s\" MP3\r\n", strrchr(self->pathname, '/') + 1); for (i = 1, mi = self->mi_first; mi; i++, mi = mi->next) { fprintf(fp, " TRACK %02d AUDIO\r\n", i); if (mi->title[0]) fprintf(fp, " TITLE \"%s\"\r\n", mi->title); if (mi->artist[0]) fprintf(fp, " PERFORMER \"%s\"\r\n", mi->artist); /* the first index must be zero - it's in the cue file standard */ if (i > 1) { mm = mi->time_offset / 60000; ss = mi->time_offset / 1000 % 60; ff = mi->time_offset % 1000 * 75 / 1000; } else mm = ss =ff = 0; fprintf(fp, " INDEX 01 %02d:%02d:%02d\r\n", mm, ss, ff); } fclose(fp); return SUCCEEDED; } static int recorder_write_xing_tag(struct recorder *self, FILE *fp) { int mpeg1_f, mono_f; int xing_offset, initial_offset; int side_info_table[2][2] = { { 17, 9 } , { 32, 17 } }; int i, total_frames, samples_per_frame, framelength, padding, frame_fill; double seek, look_ms, seg_prop; unsigned char seek_table[100], *ptr; struct metadata_item2 *mi2; if (!self->include_xing_tag) return SUCCEEDED; if (self->mi2_first == NULL) { fprintf(stderr, "recorder_write_xing_tag: no metadata collected, skipping vbr tag\n"); return SUCCEEDED; } fprintf(stderr, "recorder_write_xing_tag: commencing\n"); initial_offset = ftell(fp); padding = (self->first_mp3_header[2] & 0x2) ? 1 : 0; mpeg1_f = ((self->first_mp3_header[1] & 0x18) == 0x18) ? 1 : 0; mono_f = ((self->first_mp3_header[3] & 0xC0) == 0xC0) ? 1 : 0; samples_per_frame = mpeg1_f ? 1152 : 576; framelength = samples_per_frame / 8 * self->mi2_first->bit_rate * 1000 / self->mi2_first->sample_rate + padding; xing_offset = side_info_table[mpeg1_f][mono_f]; if (!fwrite(self->first_mp3_header, 4, 1, fp)) return FAILED; for (i = 0; i < xing_offset; i++) { fputc(0x00, fp); if (ferror(fp)) return FAILED; } if (self->is_vbr) { if (!(fwrite("Xing\x00\x00\x00\x07", 8, 1, fp))) return FAILED; } else if (!(fwrite("Info\x00\x00\x00\x03", 8, 1, fp))) return FAILED; /* the following calculation is fake for files with varying sample rates * however the players which use this value will probably only use it * for calclulating the play duration which will yield the intended result */ total_frames = (int)(self->mi2_first->sample_rate * (double)self->recording_length_ms / (samples_per_frame * 1000.0) + 0.5); fputc((total_frames >> 24) & 0xFF, fp); fputc((total_frames >> 16) & 0xFF, fp); fputc((total_frames >> 8 ) & 0xFF, fp); fputc( total_frames & 0xFF, fp); fputc((self->bytes_written >> 24) & 0xFF, fp); fputc((self->bytes_written >> 16) & 0xFF, fp); fputc((self->bytes_written >> 8 ) & 0xFF, fp); fputc( self->bytes_written & 0xFF, fp); if (self->is_vbr) { fprintf(stderr, "recorder_write_xing_tag: creating a seek table\n"); /* generate a vbr seek table with 100 entries in it */ for (seek = 0.0, ptr = seek_table, mi2 = self->mi2_first; seek < 1.0; seek += 0.01, ptr++) { look_ms = seek * self->recording_length_ms; while (look_ms > mi2->finish_offset_ms) { mi2 = mi2->next; if (mi2 == NULL) /* this should never ever happen */ { fprintf(stderr, "recorder_write_xing_tag: WARNING: bad metadata, failed creation of seek table\n"); return FAILED; } } seg_prop = (look_ms - mi2->start_offset_ms) / (double)(mi2->finish_offset_ms - mi2->start_offset_ms); *ptr = (((seg_prop * mi2->size_bytes) + mi2->byte_offset) / self->bytes_written * 255); } if (!(fwrite(seek_table, 100, 1, fp))) return FAILED; if (seek_table[99] == 0xFF) fputc('\0', fp); } frame_fill = framelength - ftell(fp) + initial_offset; while (frame_fill-- > 0) /* this frame is allowed to overrun its bounds */ fputc('\0', fp); /* and can do so with very low bitrate, high sample rate */ if (ferror(fp)) return FAILED; return SUCCEEDED; } static void recorder_apply_mp3_tags(struct recorder *self) { char *tmpname; FILE *fpr, *fpw; char buffer[2048]; int bytes; if (!(tmpname = malloc(strlen(self->pathname) + 5))) { fprintf(stderr, "recorder_apply_mp3_tags: malloc failure\n"); return; } strcpy(tmpname, self->pathname); strcat(tmpname, ".tmp"); if (!(fpw = fopen(tmpname, "w+"))) { fprintf(stderr, "recorder_apply_mp3_tags: failed to open temporary file\n"); free(tmpname); return; } if (!(fpr = fopen(self->pathname, "r"))) { fprintf(stderr, "recorder_apply_mp3_tags: failed to open the mp3 file\n"); fclose(fpw); unlink(tmpname); free(tmpname); return; } if (!fread(self->first_mp3_header, 4, 1, fpr)) { fprintf(stderr, "failed to obtain the first four bytes of the recording\n"); fclose(fpr); fclose(fpw); unlink(tmpname); free(tmpname); return; } rewind(fpr); if (!(recorder_write_id3_tag(self, fpw) && recorder_write_xing_tag(self, fpw))) { fprintf(stderr, "recorder_apply_mp3_tags: failed to tag the mp3 file\n"); fclose(fpr); fclose(fpw); unlink(tmpname); free(tmpname); return; } for (;;) /* copy the mp3 file's data onto the end of the tagged file */ { bytes = fread(buffer, 1, 2048, fpr); if (bytes == 0) break; if (!(fwrite(buffer, bytes, 1, fpw))) { fprintf(stderr, "recorder_apply_mp3_tags: error copying the mp3 file\n"); fclose(fpr); fclose(fpw); unlink(tmpname); free(tmpname); return; } } fclose(fpr); fclose(fpw); if (rename(tmpname, self->pathname)) { fprintf(stderr, "recorder_apply_mp3_tags: failed to rename the temporary file\n"); free(tmpname); return; } free(tmpname); fprintf(stderr, "recorder_apply_mp3_tags: successfully tagged the mp3 file\n"); } static void recorder_append_metadata2(struct recorder *self, struct encoder_op_packet *packet) { struct metadata_item2 *mi2; if (!(mi2 = calloc(1, sizeof (struct metadata_item2)))) { fprintf(stderr, "recorder_append_metadata2: malloc failure\n"); return; } if (!(self->mi2_first)) { mi2->start_offset_ms = 0; mi2->byte_offset = 0; if (packet) { mi2->bit_rate = packet->header.bit_rate; mi2->sample_rate = packet->header.sample_rate; } self->mi2_first = mi2; self->mi2_last = mi2; } else { mi2->start_offset_ms = self->recording_length_ms; mi2->byte_offset = self->bytes_written; if (packet) { mi2->bit_rate = packet->header.bit_rate; mi2->sample_rate = packet->header.sample_rate; } self->mi2_last->finish_offset_ms = mi2->start_offset_ms; self->mi2_last->size_bytes = mi2->byte_offset - self->mi2_last->byte_offset; if (packet) { self->mi2_last->next = mi2; self->mi2_last = mi2; } else free(mi2); } if (packet && (packet->header.bit_rate != self->oldbitrate || packet->header.sample_rate != self->oldsamplerate) && (packet->header.flags & (PF_MP3 | PF_MP2 | PF_AAC | PF_AACP2))) { if (self->oldbitrate && self->oldsamplerate) { self->is_vbr = TRUE; fprintf(stderr, "recorder_append_metadata2: the mp3 frame length altered\n"); } self->oldbitrate = packet->header.bit_rate; self->oldsamplerate = packet->header.sample_rate; } } static void recorder_free_metadata2(struct recorder *self) { struct metadata_item2 *mi2, *oldmi2; for (mi2 = self->mi2_first; mi2;) { oldmi2 = mi2; mi2 = mi2->next; free(oldmi2); } self->mi2_first = NULL; self->mi2_last = NULL; } static void recorder_display_logged_metadata2(struct metadata_item2 *mi2) { if (mi2) { fprintf(stderr, "The following metadata was also logged.\n"); do { fprintf(stderr, "Start(ms): %06d Finish(ms): %06d Byte offset: %06d Size(bytes): %06d\n", mi2->start_offset_ms, mi2->finish_offset_ms, mi2->byte_offset, mi2->size_bytes); } while ((mi2 = mi2->next)); } else fprintf(stderr, "No start position for the stream was logged!\n"); } static void recorder_append_metadata(struct recorder *self, struct encoder_op_packet *packet) { struct metadata_item *mi; char *artist, *title, *album, *stringp; if (packet) { stringp = packet->data; strsep(&stringp, "\n"); /* we discard the first value */ artist = strsep(&stringp, "\n"); title = strsep(&stringp, "\n"); album = strsep(&stringp, ""); } else artist = title = album = ""; if (packet && self->mi_last && !strcmp(self->mi_last->artist, artist) && !strcmp(self->mi_last->title, title) && !strcmp(self->mi_last->album, album)) { fprintf(stderr, "recorder_append_metadata: duplicate artist-title, skipping\n"); return; } if (!(mi = calloc(1, sizeof (struct metadata_item)))) { fprintf(stderr, "recorder_append_metadata: malloc failure\n"); return; } mi->artist = strdup(artist); mi->title = strdup(title); mi->album = strdup(album); mi->time_offset = self->recording_length_ms; mi->byte_offset = self->bytes_written; if (!(self->mi_first)) { self->mi_first = mi; self->mi_last = mi; } else { self->mi_last->time_offset_end = mi->time_offset; self->mi_last->byte_offset_end = mi->byte_offset; if (packet) { self->mi_last->next = mi; self->mi_last = mi; } else { free(mi->artist); free(mi->title); free(mi->album); free(mi); } } } static void recorder_free_metadata(struct recorder *self) { struct metadata_item *mi, *oldmi; for (mi = self->mi_first; mi;) { oldmi = mi; mi = mi->next; free(oldmi->artist); free(oldmi->title); free(oldmi->album); free(oldmi); } self->mi_first = NULL; self->mi_last = NULL; } static void recorder_display_logged_metadata(struct metadata_item *mi) { if (mi) { fprintf(stderr, "The following metadata was logged.\n"); do { fprintf(stderr, "Start(ms): %06d Byte: %08d Finish(ms): %06d Finish byte %08d\n", mi->time_offset, mi->byte_offset, mi->time_offset_end, mi->byte_offset_end); fprintf(stderr, "Artist: %s\nTitle: %s\nAlbum: %s\n---\n", mi->artist, mi->title, mi->album); } while ((mi = mi->next)); } else fprintf(stderr, "No metadata was logged for the recording.\n"); } static void *recorder_main(void *args) { struct recorder *self = args; struct timespec ms10 = { 0, 10000000 }; struct encoder_op_packet *packet; char *rl, *rr, *w, *endp; size_t nbytes; int m, s, f; sig_mask_thread(); while (!self->thread_terminate_f) { nanosleep(&ms10, NULL); switch (self->record_mode) { case RM_STOPPED: pthread_mutex_lock(&self->mode_mutex); while (self->record_mode == RM_STOPPED && !self->thread_terminate_f) pthread_cond_wait(&self->mode_cv, &self->mode_mutex); pthread_mutex_unlock(&self->mode_mutex); continue; case RM_RECORDING: if (self->initial_serial == -1) { while ((nbytes = jack_ringbuffer_read(self->input_rb[1], self->right, audio_buffer_elements * sizeof (sample_t)))) { jack_ringbuffer_read(self->input_rb[0], self->left, nbytes); rl = self->left; rr = self->right; endp = rl + nbytes; w = self->combined; while (rl != endp) { for (unsigned i = 0; i < sizeof (sample_t); i++) *w++ = *rl++; for (unsigned i = 0; i < sizeof (sample_t); i++) *w++ = *rr++; } sf_writef_float(self->sf, (float *)self->combined, nbytes / sizeof (sample_t)); self->sf_samples += nbytes / sizeof (sample_t); if (self->stop_request || self->pause_request) break; } self->recording_length_s = self->sf_samples / self->sfinfo.samplerate; self->recording_length_ms = self->sf_samples * 1000 / self->sfinfo.samplerate; if (self->stop_request) { self->stop_request = FALSE; self->record_mode = RM_STOPPING; } if (self->pause_request) { self->pause_request = FALSE; self->record_mode = RM_PAUSED; } if (self->new_artist_title) { fprintf(self->fpcue, " TRACK %02d AUDIO\r\n", ++self->artist_title_writes); pthread_mutex_lock(&self->artist_title_mutex); self->new_artist_title = FALSE; fprintf(self->fpcue, " TITLE \"%s\"\r\n", self->title); fprintf(self->fpcue, " PERFORMER \"%s\"\r\n", self->artist); pthread_mutex_unlock(&self->artist_title_mutex); s = self->recording_length_s % 60; m = self->recording_length_s / 60; f = self->recording_length_ms % 1000 * 75 / 1000; fprintf(self->fpcue, " INDEX 01 %02d:%02d:%02d\r\n", m, s, f); } } else { if ((packet = encoder_client_get_packet(self->encoder_op))) { if (packet->header.serial >= self->initial_serial) { if ((packet->header.flags & PF_INITIAL) && self->id3_mode) recorder_append_metadata2(self, packet); if (packet->header.flags & (PF_OGG | PF_MP3 | PF_MP2 | PF_AAC | PF_AACP2)) { if (packet->header.data_size != fwrite(packet->data, 1, packet->header.data_size, self->fp)) { fprintf(stderr, "recorder_main: failed writing to file %s\n", self->pathname); self->record_mode = RM_STOPPING; } else { self->recording_length_s = (int)(self->accumulated_time + packet->header.timestamp); self->recording_length_ms = (int)((self->accumulated_time + packet->header.timestamp) * 1000.0); self->bytes_written = ftell(self->fp); } } if (packet->header.flags & PF_FINAL) { self->accumulated_time += packet->header.timestamp; if (self->pause_pending && packet->header.serial >= self->final_serial) { self->record_mode = RM_PAUSED; self->pause_pending = FALSE; fprintf(stderr, "recorder_main: entering pause mode\n"); } } } if (packet->header.flags & PF_METADATA) recorder_append_metadata(self, packet); encoder_client_free_packet(packet); } if (self->stop_request) { self->stop_pending = TRUE; self->pause_request = TRUE; self->stop_request = FALSE; } if (self->pause_request) { self->pause_pending = TRUE; self->final_serial = encoder_client_set_flush(self->encoder_op); self->pause_request = FALSE; } } break; case RM_PAUSED: if (self->stop_request || self->stop_pending) self->record_mode = RM_STOPPING; else { while ((nbytes = jack_ringbuffer_read(self->input_rb[1], self->right, audio_buffer_elements * sizeof (sample_t)))) { jack_ringbuffer_read(self->input_rb[0], self->left, nbytes); } if (self->unpause_request) { self->unpause_request = FALSE; if (self->initial_serial != -1) self->initial_serial = encoder_client_set_flush(self->encoder_op) + 1; self->record_mode = RM_RECORDING; } } break; case RM_STOPPING: if (self->initial_serial == -1) { sf_close(self->sf); fclose(self->fpcue); self->jack_dataflow_control = JD_FLUSH; while (self->jack_dataflow_control != JD_OFF) nanosleep(&ms10, NULL); jack_ringbuffer_free(self->input_rb[0]); jack_ringbuffer_free(self->input_rb[1]); free(self->left); free(self->right); free(self->combined); self->left = self->right = self->combined = NULL; self->sf_samples = 0; } else { if (self->id3_mode) { recorder_append_metadata(self, NULL); recorder_append_metadata2(self, NULL); recorder_display_logged_metadata(self->mi_first); recorder_display_logged_metadata2(self->mi2_first); recorder_apply_mp3_tags(self); recorder_create_mp3_cuesheet(self); recorder_free_metadata(self); recorder_free_metadata2(self); } encoder_unregister_client(self->encoder_op); } fclose(self->fp); free(self->pathname); free(self->cuepathname); free(self->timestamp); memset(self->first_mp3_header, 0x00, 4); self->oldbitrate = 0; self->oldsamplerate = 0; self->id3_mode = FALSE; self->include_xing_tag = FALSE; self->is_vbr = FALSE; self->recording_length_s = 0; self->recording_length_ms = 0; self->accumulated_time = 0.0; self->bytes_written = 0; self->fp = NULL; self->pathname = NULL; self->cuepathname = NULL; self->encoder_op = NULL; self->stop_request = FALSE; self->stop_pending = FALSE; self->pause_request = FALSE; self->pause_pending = FALSE; self->record_mode = RM_STOPPED; break; default: fprintf(stderr, "recorder_main: unhandled record mode\n"); } } return NULL; } int recorder_make_report(struct recorder *self) { fprintf(g.out, "idjcsc: recorder%dreport=%d:%d\n", self->numeric_id, self->record_mode, self->recording_length_s); fflush(g.out); return SUCCEEDED; } int recorder_new_metadata(struct recorder *self, char *artist, char *title, char *album) { char *new_artist, *new_title, *new_album; char *old_artist, *old_title, *old_album; new_artist = strdup(artist); new_title = strdup(title); new_album = strdup(album); if (!new_artist || !new_title || !new_album) { fprintf(stderr, "recorder_new_metadata: malloc failure\n"); return FAILED; } old_artist = self->artist; old_title = self->title; old_album = self->album; pthread_mutex_lock(&self->artist_title_mutex); self->artist = new_artist; self->title = new_title; self->album = new_album; self->new_artist_title = TRUE; pthread_mutex_unlock(&self->artist_title_mutex); free(old_artist); free(old_title); free(old_album); return SUCCEEDED; } int recorder_start(struct threads_info *ti, struct universal_vars *uv, void *other) { struct recorder_vars *rv = other; struct recorder *self = ti->recorder[uv->tab]; time_t t; struct tm *tm; char *file_extension = NULL; size_t pathname_size; char timestamp[TIMESTAMP_SIZ]; size_t base; if (!strcmp(rv->record_source, "-1")) { file_extension = ".flac"; self->encoder_op = NULL; self->left = malloc(audio_buffer_elements * sizeof (sample_t)); self->right = malloc(audio_buffer_elements * sizeof (sample_t)); self->combined = malloc(audio_buffer_elements * sizeof (sample_t) * 2); if (!self->left || !self->right || !self->combined) { fprintf(stderr, "recorder_start: malloc failure\n"); return FAILED; } } else { if (!(self->encoder_op = encoder_register_client(ti, atoi(rv->record_source)))) { fprintf(stderr, "recorder_start: failed to register with encoder\n"); return FAILED; } if (!self->encoder_op->encoder->run_request_f) { fprintf(stderr, "recorder_start: encoder is not running\n"); encoder_unregister_client(self->encoder_op); return FAILED; } { struct encoder_data_format *df = &self->encoder_op->encoder->data_format; switch (df->family) { case ENCODER_FAMILY_OGG: switch (df->codec) { case ENCODER_CODEC_VORBIS: case ENCODER_CODEC_FLAC: case ENCODER_CODEC_SPEEX: case ENCODER_CODEC_OPUS: file_extension = ".oga"; case ENCODER_CODEC_UNHANDLED: default: break; } break; case ENCODER_FAMILY_MPEG: switch (df->codec) { case ENCODER_CODEC_MP3: file_extension = ".mp3"; self->id3_mode = TRUE; self->include_xing_tag = TRUE; break; case ENCODER_CODEC_MP2: file_extension = ".mp2"; self->id3_mode = TRUE; break; case ENCODER_CODEC_AAC: case ENCODER_CODEC_AACPLUSV2: file_extension = ".aac"; self->id3_mode = TRUE; break; case ENCODER_CODEC_UNHANDLED: default: break; } break; case ENCODER_FAMILY_UNHANDLED: default: break; } if (file_extension == NULL) { fprintf(stderr, "recorder_start: data_format is not set to a handled value\n"); encoder_unregister_client(self->encoder_op); return FAILED; } } } if (!(self->pathname = malloc(pathname_size = strlen(rv->record_folder) + 1 + strlen(rv->record_filename) + strlen(file_extension) + 1))) { fprintf(stderr, "recorder_start: malloc failure\n"); if (self->encoder_op) encoder_unregister_client(self->encoder_op); return FAILED; } /* generate a timestamp filename */ t = time(NULL); tm = localtime(&t); strftime(timestamp, TIMESTAMP_SIZ, "[%Y-%m-%d][%H:%M:%S]", tm); self->timestamp = strdup(timestamp); snprintf(self->pathname, pathname_size, "%s/%s%s", rv->record_folder, rv->record_filename, file_extension); fprintf(stderr, "%s\n", self->pathname); base = strlen(self->pathname) - strlen(file_extension); self->cuepathname = malloc(base + 5); memcpy(self->cuepathname, self->pathname, base); memcpy(self->cuepathname + base, ".cue", 5); if (!(self->fp = fopen(self->pathname, "w"))) { fprintf(stderr, "recorder_start: failed to open file %s\nuser should check file permissions on the particular directory\n", rv->record_folder); free(self->pathname); free(self->timestamp); if (self->encoder_op) encoder_unregister_client(self->encoder_op); return FAILED; } if (self->encoder_op) { self->initial_serial = encoder_client_set_flush(self->encoder_op) + 1; fprintf(stderr, "recorder_start: awaiting serial %d to commence\n", self->initial_serial); } else { /* no encoder implies we are encoding in this module */ if (!(self->fpcue = fopen(self->cuepathname, "w"))) { fprintf(stderr, "recorder_start: failed to open cue file for writing\n"); free(self->pathname); free(self->timestamp); fclose(self->fp); return FAILED; } else { fprintf(self->fpcue, "TITLE \"%s\"\r\n", self->timestamp); fprintf(self->fpcue, "PERFORMER \"Recorded with IDJC\"\r\n"); fprintf(self->fpcue, "FILE \"%s\" WAVE\r\n", strrchr(self->pathname, '/') + 1); } self->sfinfo.samplerate = ti->audio_feed->sample_rate; self->sfinfo.channels = 2; self->sfinfo.format = SF_FORMAT_FLAC | SF_FORMAT_PCM_24; if (!(self->sf = sf_open_fd(fileno(self->fp), SFM_WRITE, &self->sfinfo, 0))) { free(self->pathname); free(self->timestamp); fclose(self->fp); fclose(self->fpcue); fprintf(stderr, "recorder_start: unable to initialise FLAC encoder\n"); return FAILED; } self->input_rb[0] = jack_ringbuffer_create(rb_n_samples * sizeof (sample_t)); self->input_rb[1] = jack_ringbuffer_create(rb_n_samples * sizeof (sample_t)); if (!(self->input_rb[0] && self->input_rb[1])) { fprintf(stderr, "encoder_start: jack ringbuffer creation failure\n"); free(self->pathname); free(self->timestamp); fclose(self->fp); fclose(self->fpcue); fprintf(stderr, "recorder_start: failed to create ringbuffers\n"); return FAILED; } self->jack_dataflow_control = JD_ON; self->initial_serial = -1; self->new_artist_title = TRUE; /* risk inheriting old metadata rather than start with empty */ fprintf(stderr, "recorder_start: in FLAC mode\n"); } //if (file_extension == ".oga") // recorder_write_ogg_metaheader(self); pthread_mutex_lock(&self->mode_mutex); if (self->pause_request == TRUE) self->record_mode = RM_PAUSED; else self->record_mode = RM_RECORDING; pthread_cond_signal(&self->mode_cv); pthread_mutex_unlock(&self->mode_mutex); fprintf(stderr, "recorder_start: device %d activated\n", self->numeric_id); return SUCCEEDED; } int recorder_stop(struct threads_info *ti, struct universal_vars *uv, void *other) { struct recorder *self = ti->recorder[uv->tab]; struct timespec ms10 = { 0, 10000000 }; if (self->record_mode == RM_STOPPED) { fprintf(stderr, "recorder_stop: device %d is already stopped\n", self->numeric_id); return FAILED; } self->stop_request = TRUE; while (self->record_mode != RM_STOPPED) nanosleep(&ms10, NULL); fprintf(stderr, "recorder_stop: device %d stopped\n", self->numeric_id); return SUCCEEDED; } int recorder_pause(struct threads_info *ti, struct universal_vars *uv, void *other) { struct recorder *self = ti->recorder[uv->tab]; struct timespec ms10 = { 0, 10000000 }; self->unpause_request = FALSE; self->pause_request = TRUE; if (self->record_mode == RM_RECORDING) { fprintf(stderr, "recorder_pause: waiting for pause mode to be entered\n"); while (self->record_mode != RM_PAUSED) nanosleep(&ms10, NULL); fprintf(stderr, "recorder_pause: in pause mode\n"); } else { if (self->record_mode == RM_PAUSED) { fprintf(stderr, "recorder_pause: recorder is already paused\n"); return FAILED; } else fprintf(stderr, "recorder_pause: not currenly recording\n"); } return SUCCEEDED; } int recorder_unpause(struct threads_info *ti, struct universal_vars *uv, void *other) { struct recorder *self = ti->recorder[uv->tab]; struct timespec ms10 = { 0, 10000000 }; self->pause_request = FALSE; self->unpause_request = TRUE; if (self->record_mode == RM_PAUSED) { fprintf(stderr, "recorder_unpause: waiting for pause mode to finish\n"); while (self->record_mode == RM_PAUSED) nanosleep(&ms10, NULL); fprintf(stderr, "recorder_unpause: left pause mode\n"); } else { fprintf(stderr, "recorder_unpause: wasn't paused in the first place\n"); return FAILED; } return SUCCEEDED; } struct recorder *recorder_init(struct threads_info *ti, int numeric_id) { struct recorder *self; if (!(self = calloc(1, sizeof (struct recorder)))) { fprintf(stderr, "recorder_init: malloc failure\n"); return NULL; } self->threads_info = ti; self->numeric_id = numeric_id; self->artist = strdup(""); self->title = strdup(""); self->album = strdup(""); pthread_mutex_init(&self->artist_title_mutex, NULL); pthread_mutex_init(&self->mode_mutex, NULL); pthread_cond_init(&self->mode_cv, NULL); pthread_create(&self->thread_h, NULL, recorder_main, self); return self; } void recorder_destroy(struct recorder *self) { pthread_mutex_lock(&self->mode_mutex); self->thread_terminate_f = TRUE; pthread_cond_signal(&self->mode_cv); pthread_mutex_unlock(&self->mode_mutex); pthread_join(self->thread_h, NULL); pthread_cond_destroy(&self->mode_cv); pthread_mutex_destroy(&self->mode_mutex); pthread_mutex_destroy(&self->artist_title_mutex); free(self->artist); free(self->title); free(self->album); free(self); } idjc-0.8.9/c/Makefile.am0000644000175000017500000000412212114637001011632 00000000000000lib_LTLIBRARIES = idjc.la idjc_la_SOURCES = agc.c agc.h audio_feed.c audio_feed.h avcodecdecode.c avcodecdecode.h bsdcompat.c bsdcompat.h \ \ compressor.c compressor.h dbconvert.c dbconvert.h dyn_lame.c dyn_lame.h encoder.c \ \ encoder.h fade.c fade.h flacdecode.c flacdecode.h gnusource.h ialloc.c ialloc.h id3.c id3.h kvpdict.c \ \ kvpdict.h kvpparse.c kvpparse.h lame.h live_mp3_encoder.c live_mp3_encoder.h live_ogg_encoder.c \ \ live_ogg_encoder.h live_oggflac_encoder.c live_oggflac_encoder.h live_oggspeex_encoder.c \ \ live_oggspeex_encoder.h main.c main.h mic.c mic.h mixer.c mixer.h mp3dec.c mp3dec.h mp3tagread.c \ \ mp3tagread.h ogg_flac_dec.c ogg_flac_dec.h ogg_speex_dec.c ogg_speex_dec.h ogg_vorbis_dec.c \ \ ogg_vorbis_dec.h oggdec.c oggdec.h peakfilter.c peakfilter.h recorder.c recorder.h sig.c sig.h \ \ sndfiledecode.c sndfiledecode.h sndfileinfo.c sndfileinfo.h sourceclient.c sourceclient.h speextag.c \ \ speextag.h streamer.c streamer.h xlplayer.c xlplayer.h live_mp2_encoder.c live_mp2_encoder.h \ \ avcodec_encoder.c avcodec_encoder.h smoothing.c smoothing.h dyn_mpg123.c dyn_mpg123.h mpg123.h \ \ ogg_opus_dec.c ogg_opus_dec.h vorbistagparse.c vorbistagparse.h live_oggopus_encoder.c \ \ live_oggopus_encoder.h idjc_la_CFLAGS = ${GLIB_CFLAGS} ${LIBAVCODEC_CFLAGS} ${LIBAVFORMAT_CFLAGS} ${LIBAVUTIL_CFLAGS} ${LIBFLAC_CFLAGS} \ \ ${LIBJACK_CFLAGS} ${MPG123_CFLAGS} ${LIBSAMPLERATE_CFLAGS} ${SHOUTIDJC_CFLAGS} ${LIBSNDFILE_CFLAGS} \ \ ${LIBSPEEX_CFLAGS} ${LIBVORBISENC_CFLAGS} ${LIBVORBIS_CFLAGS} ${TWOLAME_CFLAGS} ${OPUS_CFLAGS} \ \ -O2 -Wall -std=gnu99 idjc_la_LIBADD = ${DYN_LIBS} ${GLIB_LIBS} ${LIBAVCODEC_LIBS} ${LIBAVFORMAT_LIBS} ${LIBAVUTIL_LIBS} ${LIBFLAC_LIBS} \ \ ${LIBJACK_LIBS} ${MPG123_LIBS} ${LIBMP3LAME} ${LIBM} ${LIBSAMPLERATE_LIBS} ${SHOUTIDJC_LIBS} \ \ ${LIBSNDFILE_LIBS} ${LIBSPEEX_LIBS} ${LIBVORBISENC_LIBS} ${LIBVORBIS_LIBS} ${TWOLAME_LIBS} \ \ ${OPUS_LIBS} -lpthread idjc_la_LDFLAGS = ${DYN_LDFLAGS} -module idjc-0.8.9/c/gnusource.h0000644000175000017500000000162711717511070011775 00000000000000/* # gnusource.h: determine if native glibc gnu extensions are to be used # Copyright (C) 2007 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "../config.h" #ifndef USE_BSD_COMPAT #define _GNU_SOURCE #endif idjc-0.8.9/c/dyn_mpg123.c0000644000175000017500000001047412114637001011634 00000000000000/* # dyn_mpg123.c: dynamic linking for MPG123 # Copyright (C) 2009 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "../config.h" #ifdef DYN_MPG123 #include #include #include #ifdef HAVE_MPG123_H #include #else #include "mpg123.h" #endif #include "dyn_mpg123.h" static void *handle; static int (*open)(mpg123_handle *, const char *); static mpg123_handle *(*new)(const char *, int *); static void (*exit_)(); static int (*getformat)(mpg123_handle *, long *, int *, int *); static void (*delete)(mpg123_handle *); static int (*close)(mpg123_handle *); static int (*format)(mpg123_handle *, long, int, int); static off_t (*seek)(mpg123_handle *, off_t, int); static int (*open_fd)(mpg123_handle *, int); static int (*format_none)(mpg123_handle *); static int (*param)(mpg123_handle *, enum mpg123_parms, long, double); static int (*init)(); static int (*decode_frame)(mpg123_handle *, off_t *, unsigned char **, size_t *); static void dyn_mpg123_close() { dlclose(handle); } int dyn_mpg123_init() { char *libname = getenv("libmpg123_filename"); fprintf(stderr, "dyn_mpg123_init: using library '%s'\n", libname); if (libname == NULL || libname[0] == '\0' || !(handle = dlopen(libname, RTLD_LAZY))) { fprintf(stderr, "dyn_mpg123_init: failed to open library\n"); return 0; } if (!( (open = dlsym(handle, "mpg123_open")) && (new = dlsym(handle, "mpg123_new")) && (exit_ = dlsym(handle, "mpg123_exit")) && (getformat = dlsym(handle, "mpg123_getformat")) && (delete = dlsym(handle, "mpg123_delete")) && (close = dlsym(handle, "mpg123_close")) && (format = dlsym(handle, "mpg123_format")) && (seek = dlsym(handle, "mpg123_seek")) && (open_fd = dlsym(handle, "mpg123_open_fd")) && (format_none = dlsym(handle, "mpg123_format_none")) && (param = dlsym(handle, "mpg123_param")) && (init = dlsym(handle, "mpg123_init")) && (decode_frame = dlsym(handle, "mpg123_decode_frame")))) { fprintf(stderr, "dyn_mpg123_init: missing symbol in %s: %s\n", libname, dlerror()); return 0; } atexit(dyn_mpg123_close); return 1; } int mpg123_open(mpg123_handle *mh, const char *path) { return open(mh, path); } mpg123_handle *mpg123_new(const char* decoder, int *error) { return new(decoder, error); } void mpg123_exit() { exit_(); } int mpg123_getformat(mpg123_handle *mh, long *rate, int *channels, int *encoding) { return getformat(mh, rate, channels, encoding); } void mpg123_delete(mpg123_handle *mh) { delete(mh); } int mpg123_close(mpg123_handle *mh) { return close(mh); } int mpg123_format(mpg123_handle *mh, long rate, int channels, int encodings) { return format(mh, rate, channels, encodings); } off_t mpg123_seek(mpg123_handle *mh, off_t sampleoff, int whence) { return seek(mh, sampleoff, whence); } int mpg123_open_fd(mpg123_handle *mh, int fd) { return open_fd(mh, fd); } int mpg123_format_none(mpg123_handle *mh) { return format_none(mh); } int mpg123_param(mpg123_handle *mh, enum mpg123_parms type, long value, double fvalue) { return param(mh, type, value, fvalue); } int mpg123_init() { return init(); } int mpg123_decode_frame(mpg123_handle *mh, off_t *num, unsigned char **audio, size_t *bytes) { return decode_frame(mh, num, audio, bytes); } #endif /* DYN_MPG123 */ idjc-0.8.9/c/ogg_speex_dec.h0000644000175000017500000000267312113174301012551 00000000000000/* # ogg_speex_dec.h: speex decoder for oggdec.c # Copyright (C) 2008 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "../config.h" #ifdef HAVE_SPEEX #include #include #include #include #include "xlplayer.h" struct speexdec_vars { SpeexHeader *header; int stereo; int channels; void *dec_state; SpeexBits bits; float *frame; int frame_size; int nframes; SpeexStereoState stereo_state; int page_granule; int last_granule; int page_nb_packets; int skip_samples; int packet_no; int lookahead; int seek_dump_samples; }; int ogg_speexdec_init(struct xlplayer *xlplayer); #endif /* HAVE_SPEEX */ idjc-0.8.9/c/sig.h0000644000175000017500000000160312113174301010530 00000000000000/* # sig.h: signal masking for pthreads + general handling # Copyright (C) 2011-2012 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ void sig_init(); void sig_mask_thread(); int sig_recent_usr1(); idjc-0.8.9/c/mp3tagread.h0000644000175000017500000000375712113174301012011 00000000000000/* # mp3tagread.h: reads id3 tag + chapter info + Xing header # Copyright (C) 2007 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #ifndef MP3TAGREAD_H #define MP3TAGREAD_H #include "../config.h" #include struct id3data { unsigned char *data; int size; }; struct chapter_text { char *text; int encoding; size_t length; }; struct chapter { struct chapter *next; unsigned int time_begin; unsigned int time_end; unsigned int byte_begin; unsigned int byte_end; struct chapter_text artist; struct chapter_text title; struct chapter_text album; }; struct mp3taginfo { /* from the ID3 tag */ int version; int flags; int tlen; struct chapter *first_chapter; struct chapter *last_chapter; /* from the Xing tag */ int have_frames; int frames; int have_bytes; int bytes; int have_toc; unsigned char toc[100]; int first_byte; int start_frames_drop; int end_frames_drop; }; struct tag_lookup { char *id; void (*fn)(struct mp3taginfo *, unsigned char *); }; void mp3_tag_read(struct mp3taginfo *ti, FILE *fp); void mp3_tag_cleanup(struct mp3taginfo *ti); struct chapter *mp3_tag_chapter_scan(struct mp3taginfo *ti, unsigned time_ms); #endif /* MP3TAGREAD_H */ idjc-0.8.9/c/id3.h0000644000175000017500000000543712113174301010436 00000000000000/* # id3.h: the id3 tag reading/writing part of idjc # Copyright (C) 2007 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ enum { ID3_LATIN1=0x00, ID3_UTF_8=0x3 }; struct id3_frame_header { char frame_id[5]; unsigned int size; unsigned char status_flags; unsigned char format_flags; }; struct id3_frame { char *compiled_data; int compiled_data_size; int compiled_non_embedded_data_size; struct id3_frame_header frame_header; struct id3_frame *first_embedded_frame; struct id3_frame *next; struct id3_frame *prev; struct id3_tag *tag; void *data; /* eg. points to struct id3_text_frame_data */ }; struct id3_chap_frame_data { char *identifier; unsigned char start_ms[4]; unsigned char end_ms[4]; unsigned char start_byte[4]; unsigned char end_byte[4]; }; struct id3_text_frame_data { unsigned char text_encoding; char *text; int null_terminator; }; struct id3_extended_header { unsigned int size; int n_flagbytes; unsigned char data[1]; }; struct id3_header { unsigned short int version; unsigned int size; unsigned char flags; }; struct id3_tag { void *tag_data; size_t tag_data_size; struct id3_header header; struct id3_extended_header *extended_header; struct id3_frame *first_frame; int padding; }; struct id3_tag *id3_tag_new(int flags, int padding); struct id3_frame *id3_text_frame_new(char *identifier, char *text, unsigned char encoding, int null_terminator); struct id3_frame *id3_numeric_string_frame_new(char *identifier, int value); void id3_add_frame(struct id3_tag *tag, struct id3_frame *frame); void id3_embed_frame(struct id3_frame *parent, struct id3_frame *child); struct id3_frame *id3_chap_frame_new(char *unique_id, uint32_t start_ms, uint32_t end_ms, uint32_t start_byte, uint32_t end_byte); void id3_compile(struct id3_tag *tag); void id3_decompile(struct id3_tag *tag); void id3_remove_frame(struct id3_frame *frame); void id3_frame_destroy(struct id3_frame *frame); void id3_tag_destroy(struct id3_tag *tag); idjc-0.8.9/c/lame.h0000644000175000017500000013776012113174301010702 00000000000000/* * Interface to MP3 LAME encoding engine * * Copyright (c) 1999 Mark Taylor * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public * License along with this library; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ /* $Id: lame.h,v 1.189 2011/10/02 14:52:20 robert Exp $ */ #ifndef LAME_LAME_H #define LAME_LAME_H /* for size_t typedef */ #include /* for va_list typedef */ #include /* for FILE typedef, TODO: remove when removing lame_mp3_tags_fid */ #include #if defined(__cplusplus) extern "C" { #endif typedef void (*lame_report_function)(const char *format, va_list ap); #if defined(WIN32) || defined(_WIN32) #undef CDECL #define CDECL __cdecl #else #define CDECL #endif #define DEPRECATED_OR_OBSOLETE_CODE_REMOVED 1 typedef enum vbr_mode_e { vbr_off=0, vbr_mt, /* obsolete, same as vbr_mtrh */ vbr_rh, vbr_abr, vbr_mtrh, vbr_max_indicator, /* Don't use this! It's used for sanity checks. */ vbr_default=vbr_mtrh /* change this to change the default VBR mode of LAME */ } vbr_mode; /* MPEG modes */ typedef enum MPEG_mode_e { STEREO = 0, JOINT_STEREO, DUAL_CHANNEL, /* LAME doesn't supports this! */ MONO, NOT_SET, MAX_INDICATOR /* Don't use this! It's used for sanity checks. */ } MPEG_mode; /* Padding types */ typedef enum Padding_type_e { PAD_NO = 0, PAD_ALL, PAD_ADJUST, PAD_MAX_INDICATOR /* Don't use this! It's used for sanity checks. */ } Padding_type; /*presets*/ typedef enum preset_mode_e { /*values from 8 to 320 should be reserved for abr bitrates*/ /*for abr I'd suggest to directly use the targeted bitrate as a value*/ ABR_8 = 8, ABR_320 = 320, V9 = 410, /*Vx to match Lame and VBR_xx to match FhG*/ VBR_10 = 410, V8 = 420, VBR_20 = 420, V7 = 430, VBR_30 = 430, V6 = 440, VBR_40 = 440, V5 = 450, VBR_50 = 450, V4 = 460, VBR_60 = 460, V3 = 470, VBR_70 = 470, V2 = 480, VBR_80 = 480, V1 = 490, VBR_90 = 490, V0 = 500, VBR_100 = 500, /*still there for compatibility*/ R3MIX = 1000, STANDARD = 1001, EXTREME = 1002, INSANE = 1003, STANDARD_FAST = 1004, EXTREME_FAST = 1005, MEDIUM = 1006, MEDIUM_FAST = 1007 } preset_mode; /*asm optimizations*/ typedef enum asm_optimizations_e { MMX = 1, AMD_3DNOW = 2, SSE = 3 } asm_optimizations; /* psychoacoustic model */ typedef enum Psy_model_e { PSY_GPSYCHO = 1, PSY_NSPSYTUNE = 2 } Psy_model; /* buffer considerations */ typedef enum buffer_constraint_e { MDB_DEFAULT=0, MDB_STRICT_ISO=1, MDB_MAXIMUM=2 } buffer_constraint; struct lame_global_struct; typedef struct lame_global_struct lame_global_flags; typedef lame_global_flags *lame_t; /*********************************************************************** * * The LAME API * These functions should be called, in this order, for each * MP3 file to be encoded. See the file "API" for more documentation * ***********************************************************************/ /* * REQUIRED: * initialize the encoder. sets default for all encoder parameters, * returns NULL if some malloc()'s failed * otherwise returns pointer to structure needed for all future * API calls. */ lame_global_flags * CDECL lame_init(void); #if DEPRECATED_OR_OBSOLETE_CODE_REMOVED #else /* obsolete version */ int CDECL lame_init_old(lame_global_flags *); #endif /* * OPTIONAL: * set as needed to override defaults */ /******************************************************************** * input stream description ***********************************************************************/ /* number of samples. default = 2^32-1 */ int CDECL lame_set_num_samples(lame_global_flags *, unsigned long); unsigned long CDECL lame_get_num_samples(const lame_global_flags *); /* input sample rate in Hz. default = 44100hz */ int CDECL lame_set_in_samplerate(lame_global_flags *, int); int CDECL lame_get_in_samplerate(const lame_global_flags *); /* number of channels in input stream. default=2 */ int CDECL lame_set_num_channels(lame_global_flags *, int); int CDECL lame_get_num_channels(const lame_global_flags *); /* scale the input by this amount before encoding. default=1 (not used by decoding routines) */ int CDECL lame_set_scale(lame_global_flags *, float); float CDECL lame_get_scale(const lame_global_flags *); /* scale the channel 0 (left) input by this amount before encoding. default=1 (not used by decoding routines) */ int CDECL lame_set_scale_left(lame_global_flags *, float); float CDECL lame_get_scale_left(const lame_global_flags *); /* scale the channel 1 (right) input by this amount before encoding. default=1 (not used by decoding routines) */ int CDECL lame_set_scale_right(lame_global_flags *, float); float CDECL lame_get_scale_right(const lame_global_flags *); /* output sample rate in Hz. default = 0, which means LAME picks best value based on the amount of compression. MPEG only allows: MPEG1 32, 44.1, 48khz MPEG2 16, 22.05, 24 MPEG2.5 8, 11.025, 12 (not used by decoding routines) */ int CDECL lame_set_out_samplerate(lame_global_flags *, int); int CDECL lame_get_out_samplerate(const lame_global_flags *); /******************************************************************** * general control parameters ***********************************************************************/ /* 1=cause LAME to collect data for an MP3 frame analyzer. default=0 */ int CDECL lame_set_analysis(lame_global_flags *, int); int CDECL lame_get_analysis(const lame_global_flags *); /* 1 = write a Xing VBR header frame. default = 1 this variable must have been added by a Hungarian notation Windows programmer :-) */ int CDECL lame_set_bWriteVbrTag(lame_global_flags *, int); int CDECL lame_get_bWriteVbrTag(const lame_global_flags *); /* 1=decode only. use lame/mpglib to convert mp3/ogg to wav. default=0 */ int CDECL lame_set_decode_only(lame_global_flags *, int); int CDECL lame_get_decode_only(const lame_global_flags *); #if DEPRECATED_OR_OBSOLETE_CODE_REMOVED #else /* 1=encode a Vorbis .ogg file. default=0 */ /* DEPRECATED */ int CDECL lame_set_ogg(lame_global_flags *, int); int CDECL lame_get_ogg(const lame_global_flags *); #endif /* internal algorithm selection. True quality is determined by the bitrate but this variable will effect quality by selecting expensive or cheap algorithms. quality=0..9. 0=best (very slow). 9=worst. recommended: 2 near-best quality, not too slow 5 good quality, fast 7 ok quality, really fast */ int CDECL lame_set_quality(lame_global_flags *, int); int CDECL lame_get_quality(const lame_global_flags *); /* mode = 0,1,2,3 = stereo, jstereo, dual channel (not supported), mono default: lame picks based on compression ration and input channels */ int CDECL lame_set_mode(lame_global_flags *, MPEG_mode); MPEG_mode CDECL lame_get_mode(const lame_global_flags *); #if DEPRECATED_OR_OBSOLETE_CODE_REMOVED #else /* mode_automs. Use a M/S mode with a switching threshold based on compression ratio DEPRECATED */ int CDECL lame_set_mode_automs(lame_global_flags *, int); int CDECL lame_get_mode_automs(const lame_global_flags *); #endif /* force_ms. Force M/S for all frames. For testing only. default = 0 (disabled) */ int CDECL lame_set_force_ms(lame_global_flags *, int); int CDECL lame_get_force_ms(const lame_global_flags *); /* use free_format? default = 0 (disabled) */ int CDECL lame_set_free_format(lame_global_flags *, int); int CDECL lame_get_free_format(const lame_global_flags *); /* perform ReplayGain analysis? default = 0 (disabled) */ int CDECL lame_set_findReplayGain(lame_global_flags *, int); int CDECL lame_get_findReplayGain(const lame_global_flags *); /* decode on the fly. Search for the peak sample. If the ReplayGain * analysis is enabled then perform the analysis on the decoded data * stream. default = 0 (disabled) * NOTE: if this option is set the build-in decoder should not be used */ int CDECL lame_set_decode_on_the_fly(lame_global_flags *, int); int CDECL lame_get_decode_on_the_fly(const lame_global_flags *); #if DEPRECATED_OR_OBSOLETE_CODE_REMOVED #else /* DEPRECATED: now does the same as lame_set_findReplayGain() default = 0 (disabled) */ int CDECL lame_set_ReplayGain_input(lame_global_flags *, int); int CDECL lame_get_ReplayGain_input(const lame_global_flags *); /* DEPRECATED: now does the same as lame_set_decode_on_the_fly() && lame_set_findReplayGain() default = 0 (disabled) */ int CDECL lame_set_ReplayGain_decode(lame_global_flags *, int); int CDECL lame_get_ReplayGain_decode(const lame_global_flags *); /* DEPRECATED: now does the same as lame_set_decode_on_the_fly() default = 0 (disabled) */ int CDECL lame_set_findPeakSample(lame_global_flags *, int); int CDECL lame_get_findPeakSample(const lame_global_flags *); #endif /* counters for gapless encoding */ int CDECL lame_set_nogap_total(lame_global_flags*, int); int CDECL lame_get_nogap_total(const lame_global_flags*); int CDECL lame_set_nogap_currentindex(lame_global_flags* , int); int CDECL lame_get_nogap_currentindex(const lame_global_flags*); /* * OPTIONAL: * Set printf like error/debug/message reporting functions. * The second argument has to be a pointer to a function which looks like * void my_debugf(const char *format, va_list ap) * { * (void) vfprintf(stdout, format, ap); * } * If you use NULL as the value of the pointer in the set function, the * lame buildin function will be used (prints to stderr). * To quiet any output you have to replace the body of the example function * with just "return;" and use it in the set function. */ int CDECL lame_set_errorf(lame_global_flags *, lame_report_function); int CDECL lame_set_debugf(lame_global_flags *, lame_report_function); int CDECL lame_set_msgf (lame_global_flags *, lame_report_function); /* set one of brate compression ratio. default is compression ratio of 11. */ int CDECL lame_set_brate(lame_global_flags *, int); int CDECL lame_get_brate(const lame_global_flags *); int CDECL lame_set_compression_ratio(lame_global_flags *, float); float CDECL lame_get_compression_ratio(const lame_global_flags *); int CDECL lame_set_preset( lame_global_flags* gfp, int ); int CDECL lame_set_asm_optimizations( lame_global_flags* gfp, int, int ); /******************************************************************** * frame params ***********************************************************************/ /* mark as copyright. default=0 */ int CDECL lame_set_copyright(lame_global_flags *, int); int CDECL lame_get_copyright(const lame_global_flags *); /* mark as original. default=1 */ int CDECL lame_set_original(lame_global_flags *, int); int CDECL lame_get_original(const lame_global_flags *); /* error_protection. Use 2 bytes from each frame for CRC checksum. default=0 */ int CDECL lame_set_error_protection(lame_global_flags *, int); int CDECL lame_get_error_protection(const lame_global_flags *); #if DEPRECATED_OR_OBSOLETE_CODE_REMOVED #else /* padding_type. 0=pad no frames 1=pad all frames 2=adjust padding(default) */ int CDECL lame_set_padding_type(lame_global_flags *, Padding_type); Padding_type CDECL lame_get_padding_type(const lame_global_flags *); #endif /* MP3 'private extension' bit Meaningless. default=0 */ int CDECL lame_set_extension(lame_global_flags *, int); int CDECL lame_get_extension(const lame_global_flags *); /* enforce strict ISO compliance. default=0 */ int CDECL lame_set_strict_ISO(lame_global_flags *, int); int CDECL lame_get_strict_ISO(const lame_global_flags *); /******************************************************************** * quantization/noise shaping ***********************************************************************/ /* disable the bit reservoir. For testing only. default=0 */ int CDECL lame_set_disable_reservoir(lame_global_flags *, int); int CDECL lame_get_disable_reservoir(const lame_global_flags *); /* select a different "best quantization" function. default=0 */ int CDECL lame_set_quant_comp(lame_global_flags *, int); int CDECL lame_get_quant_comp(const lame_global_flags *); int CDECL lame_set_quant_comp_short(lame_global_flags *, int); int CDECL lame_get_quant_comp_short(const lame_global_flags *); int CDECL lame_set_experimentalX(lame_global_flags *, int); /* compatibility*/ int CDECL lame_get_experimentalX(const lame_global_flags *); /* another experimental option. for testing only */ int CDECL lame_set_experimentalY(lame_global_flags *, int); int CDECL lame_get_experimentalY(const lame_global_flags *); /* another experimental option. for testing only */ int CDECL lame_set_experimentalZ(lame_global_flags *, int); int CDECL lame_get_experimentalZ(const lame_global_flags *); /* Naoki's psycho acoustic model. default=0 */ int CDECL lame_set_exp_nspsytune(lame_global_flags *, int); int CDECL lame_get_exp_nspsytune(const lame_global_flags *); void CDECL lame_set_msfix(lame_global_flags *, double); float CDECL lame_get_msfix(const lame_global_flags *); /******************************************************************** * VBR control ***********************************************************************/ /* Types of VBR. default = vbr_off = CBR */ int CDECL lame_set_VBR(lame_global_flags *, vbr_mode); vbr_mode CDECL lame_get_VBR(const lame_global_flags *); /* VBR quality level. 0=highest 9=lowest */ int CDECL lame_set_VBR_q(lame_global_flags *, int); int CDECL lame_get_VBR_q(const lame_global_flags *); /* VBR quality level. 0=highest 9=lowest, Range [0,...,10[ */ int CDECL lame_set_VBR_quality(lame_global_flags *, float); float CDECL lame_get_VBR_quality(const lame_global_flags *); /* Ignored except for VBR=vbr_abr (ABR mode) */ int CDECL lame_set_VBR_mean_bitrate_kbps(lame_global_flags *, int); int CDECL lame_get_VBR_mean_bitrate_kbps(const lame_global_flags *); int CDECL lame_set_VBR_min_bitrate_kbps(lame_global_flags *, int); int CDECL lame_get_VBR_min_bitrate_kbps(const lame_global_flags *); int CDECL lame_set_VBR_max_bitrate_kbps(lame_global_flags *, int); int CDECL lame_get_VBR_max_bitrate_kbps(const lame_global_flags *); /* 1=strictly enforce VBR_min_bitrate. Normally it will be violated for analog silence */ int CDECL lame_set_VBR_hard_min(lame_global_flags *, int); int CDECL lame_get_VBR_hard_min(const lame_global_flags *); /* for preset */ #if DEPRECATED_OR_OBSOLETE_CODE_REMOVED #else int CDECL lame_set_preset_expopts(lame_global_flags *, int); #endif /******************************************************************** * Filtering control ***********************************************************************/ /* freq in Hz to apply lowpass. Default = 0 = lame chooses. -1 = disabled */ int CDECL lame_set_lowpassfreq(lame_global_flags *, int); int CDECL lame_get_lowpassfreq(const lame_global_flags *); /* width of transition band, in Hz. Default = one polyphase filter band */ int CDECL lame_set_lowpasswidth(lame_global_flags *, int); int CDECL lame_get_lowpasswidth(const lame_global_flags *); /* freq in Hz to apply highpass. Default = 0 = lame chooses. -1 = disabled */ int CDECL lame_set_highpassfreq(lame_global_flags *, int); int CDECL lame_get_highpassfreq(const lame_global_flags *); /* width of transition band, in Hz. Default = one polyphase filter band */ int CDECL lame_set_highpasswidth(lame_global_flags *, int); int CDECL lame_get_highpasswidth(const lame_global_flags *); /******************************************************************** * psycho acoustics and other arguments which you should not change * unless you know what you are doing ***********************************************************************/ /* only use ATH for masking */ int CDECL lame_set_ATHonly(lame_global_flags *, int); int CDECL lame_get_ATHonly(const lame_global_flags *); /* only use ATH for short blocks */ int CDECL lame_set_ATHshort(lame_global_flags *, int); int CDECL lame_get_ATHshort(const lame_global_flags *); /* disable ATH */ int CDECL lame_set_noATH(lame_global_flags *, int); int CDECL lame_get_noATH(const lame_global_flags *); /* select ATH formula */ int CDECL lame_set_ATHtype(lame_global_flags *, int); int CDECL lame_get_ATHtype(const lame_global_flags *); /* lower ATH by this many db */ int CDECL lame_set_ATHlower(lame_global_flags *, float); float CDECL lame_get_ATHlower(const lame_global_flags *); /* select ATH adaptive adjustment type */ int CDECL lame_set_athaa_type( lame_global_flags *, int); int CDECL lame_get_athaa_type( const lame_global_flags *); #if DEPRECATED_OR_OBSOLETE_CODE_REMOVED #else /* select the loudness approximation used by the ATH adaptive auto-leveling */ int CDECL lame_set_athaa_loudapprox( lame_global_flags *, int); int CDECL lame_get_athaa_loudapprox( const lame_global_flags *); #endif /* adjust (in dB) the point below which adaptive ATH level adjustment occurs */ int CDECL lame_set_athaa_sensitivity( lame_global_flags *, float); float CDECL lame_get_athaa_sensitivity( const lame_global_flags* ); #if DEPRECATED_OR_OBSOLETE_CODE_REMOVED #else /* OBSOLETE: predictability limit (ISO tonality formula) */ int CDECL lame_set_cwlimit(lame_global_flags *, int); int CDECL lame_get_cwlimit(const lame_global_flags *); #endif /* allow blocktypes to differ between channels? default: 0 for jstereo, 1 for stereo */ int CDECL lame_set_allow_diff_short(lame_global_flags *, int); int CDECL lame_get_allow_diff_short(const lame_global_flags *); /* use temporal masking effect (default = 1) */ int CDECL lame_set_useTemporal(lame_global_flags *, int); int CDECL lame_get_useTemporal(const lame_global_flags *); /* use temporal masking effect (default = 1) */ int CDECL lame_set_interChRatio(lame_global_flags *, float); float CDECL lame_get_interChRatio(const lame_global_flags *); /* disable short blocks */ int CDECL lame_set_no_short_blocks(lame_global_flags *, int); int CDECL lame_get_no_short_blocks(const lame_global_flags *); /* force short blocks */ int CDECL lame_set_force_short_blocks(lame_global_flags *, int); int CDECL lame_get_force_short_blocks(const lame_global_flags *); /* Input PCM is emphased PCM (for instance from one of the rarely emphased CDs), it is STRONGLY not recommended to use this, because psycho does not take it into account, and last but not least many decoders ignore these bits */ int CDECL lame_set_emphasis(lame_global_flags *, int); int CDECL lame_get_emphasis(const lame_global_flags *); /************************************************************************/ /* internal variables, cannot be set... */ /* provided because they may be of use to calling application */ /************************************************************************/ /* version 0=MPEG-2 1=MPEG-1 (2=MPEG-2.5) */ int CDECL lame_get_version(const lame_global_flags *); /* encoder delay */ int CDECL lame_get_encoder_delay(const lame_global_flags *); /* padding appended to the input to make sure decoder can fully decode all input. Note that this value can only be calculated during the call to lame_encoder_flush(). Before lame_encoder_flush() has been called, the value of encoder_padding = 0. */ int CDECL lame_get_encoder_padding(const lame_global_flags *); /* size of MPEG frame */ int CDECL lame_get_framesize(const lame_global_flags *); /* number of PCM samples buffered, but not yet encoded to mp3 data. */ int CDECL lame_get_mf_samples_to_encode( const lame_global_flags* gfp ); /* size (bytes) of mp3 data buffered, but not yet encoded. this is the number of bytes which would be output by a call to lame_encode_flush_nogap. NOTE: lame_encode_flush() will return more bytes than this because it will encode the reamining buffered PCM samples before flushing the mp3 buffers. */ int CDECL lame_get_size_mp3buffer( const lame_global_flags* gfp ); /* number of frames encoded so far */ int CDECL lame_get_frameNum(const lame_global_flags *); /* lame's estimate of the total number of frames to be encoded only valid if calling program set num_samples */ int CDECL lame_get_totalframes(const lame_global_flags *); /* RadioGain value. Multiplied by 10 and rounded to the nearest. */ int CDECL lame_get_RadioGain(const lame_global_flags *); /* AudiophileGain value. Multipled by 10 and rounded to the nearest. */ int CDECL lame_get_AudiophileGain(const lame_global_flags *); /* the peak sample */ float CDECL lame_get_PeakSample(const lame_global_flags *); /* Gain change required for preventing clipping. The value is correct only if peak sample searching was enabled. If negative then the waveform already does not clip. The value is multiplied by 10 and rounded up. */ int CDECL lame_get_noclipGainChange(const lame_global_flags *); /* user-specified scale factor required for preventing clipping. Value is correct only if peak sample searching was enabled and no user-specified scaling was performed. If negative then either the waveform already does not clip or the value cannot be determined */ float CDECL lame_get_noclipScale(const lame_global_flags *); /* * REQUIRED: * sets more internal configuration based on data provided above. * returns -1 if something failed. */ int CDECL lame_init_params(lame_global_flags *); /* * OPTIONAL: * get the version number, in a string. of the form: * "3.63 (beta)" or just "3.63". */ const char* CDECL get_lame_version ( void ); const char* CDECL get_lame_short_version ( void ); const char* CDECL get_lame_very_short_version ( void ); const char* CDECL get_psy_version ( void ); const char* CDECL get_lame_url ( void ); const char* CDECL get_lame_os_bitness ( void ); /* * OPTIONAL: * get the version numbers in numerical form. */ typedef struct { /* generic LAME version */ int major; int minor; int alpha; /* 0 if not an alpha version */ int beta; /* 0 if not a beta version */ /* version of the psy model */ int psy_major; int psy_minor; int psy_alpha; /* 0 if not an alpha version */ int psy_beta; /* 0 if not a beta version */ /* compile time features */ const char *features; /* Don't make assumptions about the contents! */ } lame_version_t; void CDECL get_lame_version_numerical(lame_version_t *); /* * OPTIONAL: * print internal lame configuration to message handler */ void CDECL lame_print_config(const lame_global_flags* gfp); void CDECL lame_print_internals( const lame_global_flags *gfp); /* * input pcm data, output (maybe) mp3 frames. * This routine handles all buffering, resampling and filtering for you. * * return code number of bytes output in mp3buf. Can be 0 * -1: mp3buf was too small * -2: malloc() problem * -3: lame_init_params() not called * -4: psycho acoustic problems * * The required mp3buf_size can be computed from num_samples, * samplerate and encoding rate, but here is a worst case estimate: * * mp3buf_size in bytes = 1.25*num_samples + 7200 * * I think a tighter bound could be: (mt, March 2000) * MPEG1: * num_samples*(bitrate/8)/samplerate + 4*1152*(bitrate/8)/samplerate + 512 * MPEG2: * num_samples*(bitrate/8)/samplerate + 4*576*(bitrate/8)/samplerate + 256 * * but test first if you use that! * * set mp3buf_size = 0 and LAME will not check if mp3buf_size is * large enough. * * NOTE: * if gfp->num_channels=2, but gfp->mode = 3 (mono), the L & R channels * will be averaged into the L channel before encoding only the L channel * This will overwrite the data in buffer_l[] and buffer_r[]. * */ int CDECL lame_encode_buffer ( lame_global_flags* gfp, /* global context handle */ const short int buffer_l [], /* PCM data for left channel */ const short int buffer_r [], /* PCM data for right channel */ const int nsamples, /* number of samples per channel */ unsigned char* mp3buf, /* pointer to encoded MP3 stream */ const int mp3buf_size ); /* number of valid octets in this stream */ /* * as above, but input has L & R channel data interleaved. * NOTE: * num_samples = number of samples in the L (or R) * channel, not the total number of samples in pcm[] */ int CDECL lame_encode_buffer_interleaved( lame_global_flags* gfp, /* global context handlei */ short int pcm[], /* PCM data for left and right channel, interleaved */ int num_samples, /* number of samples per channel, _not_ number of samples in pcm[] */ unsigned char* mp3buf, /* pointer to encoded MP3 stream */ int mp3buf_size ); /* number of valid octets in this stream */ /* as lame_encode_buffer, but for 'float's. * !! NOTE: !! data must still be scaled to be in the same range as * short int, +/- 32768 */ int CDECL lame_encode_buffer_float( lame_global_flags* gfp, /* global context handle */ const float pcm_l [], /* PCM data for left channel */ const float pcm_r [], /* PCM data for right channel */ const int nsamples, /* number of samples per channel */ unsigned char* mp3buf, /* pointer to encoded MP3 stream */ const int mp3buf_size ); /* number of valid octets in this stream */ /* as lame_encode_buffer, but for 'float's. * !! NOTE: !! data must be scaled to +/- 1 full scale */ int CDECL lame_encode_buffer_ieee_float( lame_t gfp, const float pcm_l [], /* PCM data for left channel */ const float pcm_r [], /* PCM data for right channel */ const int nsamples, unsigned char * mp3buf, const int mp3buf_size); int CDECL lame_encode_buffer_interleaved_ieee_float( lame_t gfp, const float pcm[], /* PCM data for left and right channel, interleaved */ const int nsamples, unsigned char * mp3buf, const int mp3buf_size); /* as lame_encode_buffer, but for 'double's. * !! NOTE: !! data must be scaled to +/- 1 full scale */ int CDECL lame_encode_buffer_ieee_double( lame_t gfp, const double pcm_l [], /* PCM data for left channel */ const double pcm_r [], /* PCM data for right channel */ const int nsamples, unsigned char * mp3buf, const int mp3buf_size); int CDECL lame_encode_buffer_interleaved_ieee_double( lame_t gfp, const double pcm[], /* PCM data for left and right channel, interleaved */ const int nsamples, unsigned char * mp3buf, const int mp3buf_size); /* as lame_encode_buffer, but for long's * !! NOTE: !! data must still be scaled to be in the same range as * short int, +/- 32768 * * This scaling was a mistake (doesn't allow one to exploit full * precision of type 'long'. Use lame_encode_buffer_long2() instead. * */ int CDECL lame_encode_buffer_long( lame_global_flags* gfp, /* global context handle */ const long buffer_l [], /* PCM data for left channel */ const long buffer_r [], /* PCM data for right channel */ const int nsamples, /* number of samples per channel */ unsigned char* mp3buf, /* pointer to encoded MP3 stream */ const int mp3buf_size ); /* number of valid octets in this stream */ /* Same as lame_encode_buffer_long(), but with correct scaling. * !! NOTE: !! data must still be scaled to be in the same range as * type 'long'. Data should be in the range: +/- 2^(8*size(long)-1) * */ int CDECL lame_encode_buffer_long2( lame_global_flags* gfp, /* global context handle */ const long buffer_l [], /* PCM data for left channel */ const long buffer_r [], /* PCM data for right channel */ const int nsamples, /* number of samples per channel */ unsigned char* mp3buf, /* pointer to encoded MP3 stream */ const int mp3buf_size ); /* number of valid octets in this stream */ /* as lame_encode_buffer, but for int's * !! NOTE: !! input should be scaled to the maximum range of 'int' * If int is 4 bytes, then the values should range from * +/- 2147483648. * * This routine does not (and cannot, without loosing precision) use * the same scaling as the rest of the lame_encode_buffer() routines. * */ int CDECL lame_encode_buffer_int( lame_global_flags* gfp, /* global context handle */ const int buffer_l [], /* PCM data for left channel */ const int buffer_r [], /* PCM data for right channel */ const int nsamples, /* number of samples per channel */ unsigned char* mp3buf, /* pointer to encoded MP3 stream */ const int mp3buf_size ); /* number of valid octets in this stream */ /* * REQUIRED: * lame_encode_flush will flush the intenal PCM buffers, padding with * 0's to make sure the final frame is complete, and then flush * the internal MP3 buffers, and thus may return a * final few mp3 frames. 'mp3buf' should be at least 7200 bytes long * to hold all possible emitted data. * * will also write id3v1 tags (if any) into the bitstream * * return code = number of bytes output to mp3buf. Can be 0 */ int CDECL lame_encode_flush( lame_global_flags * gfp, /* global context handle */ unsigned char* mp3buf, /* pointer to encoded MP3 stream */ int size); /* number of valid octets in this stream */ /* * OPTIONAL: * lame_encode_flush_nogap will flush the internal mp3 buffers and pad * the last frame with ancillary data so it is a complete mp3 frame. * * 'mp3buf' should be at least 7200 bytes long * to hold all possible emitted data. * * After a call to this routine, the outputed mp3 data is complete, but * you may continue to encode new PCM samples and write future mp3 data * to a different file. The two mp3 files will play back with no gaps * if they are concatenated together. * * This routine will NOT write id3v1 tags into the bitstream. * * return code = number of bytes output to mp3buf. Can be 0 */ int CDECL lame_encode_flush_nogap( lame_global_flags * gfp, /* global context handle */ unsigned char* mp3buf, /* pointer to encoded MP3 stream */ int size); /* number of valid octets in this stream */ /* * OPTIONAL: * Normally, this is called by lame_init_params(). It writes id3v2 and * Xing headers into the front of the bitstream, and sets frame counters * and bitrate histogram data to 0. You can also call this after * lame_encode_flush_nogap(). */ int CDECL lame_init_bitstream( lame_global_flags * gfp); /* global context handle */ /* * OPTIONAL: some simple statistics * a bitrate histogram to visualize the distribution of used frame sizes * a stereo mode histogram to visualize the distribution of used stereo * modes, useful in joint-stereo mode only * 0: LR left-right encoded * 1: LR-I left-right and intensity encoded (currently not supported) * 2: MS mid-side encoded * 3: MS-I mid-side and intensity encoded (currently not supported) * * attention: don't call them after lame_encode_finish * suggested: lame_encode_flush -> lame_*_hist -> lame_close */ void CDECL lame_bitrate_hist( const lame_global_flags * gfp, int bitrate_count[14] ); void CDECL lame_bitrate_kbps( const lame_global_flags * gfp, int bitrate_kbps [14] ); void CDECL lame_stereo_mode_hist( const lame_global_flags * gfp, int stereo_mode_count[4] ); void CDECL lame_bitrate_stereo_mode_hist ( const lame_global_flags * gfp, int bitrate_stmode_count[14][4] ); void CDECL lame_block_type_hist ( const lame_global_flags * gfp, int btype_count[6] ); void CDECL lame_bitrate_block_type_hist ( const lame_global_flags * gfp, int bitrate_btype_count[14][6] ); #if (DEPRECATED_OR_OBSOLETE_CODE_REMOVED && 0) #else /* * OPTIONAL: * lame_mp3_tags_fid will rewrite a Xing VBR tag to the mp3 file with file * pointer fid. These calls perform forward and backwards seeks, so make * sure fid is a real file. Make sure lame_encode_flush has been called, * and all mp3 data has been written to the file before calling this * function. * NOTE: * if VBR tags are turned off by the user, or turned off by LAME because * the output is not a regular file, this call does nothing * NOTE: * LAME wants to read from the file to skip an optional ID3v2 tag, so * make sure you opened the file for writing and reading. * NOTE: * You can call lame_get_lametag_frame instead, if you want to insert * the lametag yourself. */ void CDECL lame_mp3_tags_fid(lame_global_flags *, FILE* fid); #endif /* * OPTIONAL: * lame_get_lametag_frame copies the final LAME-tag into 'buffer'. * The function returns the number of bytes copied into buffer, or * the required buffer size, if the provided buffer is too small. * Function failed, if the return value is larger than 'size'! * Make sure lame_encode flush has been called before calling this function. * NOTE: * if VBR tags are turned off by the user, or turned off by LAME, * this call does nothing and returns 0. * NOTE: * LAME inserted an empty frame in the beginning of mp3 audio data, * which you have to replace by the final LAME-tag frame after encoding. * In case there is no ID3v2 tag, usually this frame will be the very first * data in your mp3 file. If you put some other leading data into your * file, you'll have to do some bookkeeping about where to write this buffer. */ size_t CDECL lame_get_lametag_frame( const lame_global_flags *, unsigned char* buffer, size_t size); /* * REQUIRED: * final call to free all remaining buffers */ int CDECL lame_close (lame_global_flags *); #if DEPRECATED_OR_OBSOLETE_CODE_REMOVED #else /* * OBSOLETE: * lame_encode_finish combines lame_encode_flush() and lame_close() in * one call. However, once this call is made, the statistics routines * will no longer work because the data will have been cleared, and * lame_mp3_tags_fid() cannot be called to add data to the VBR header */ int CDECL lame_encode_finish( lame_global_flags* gfp, unsigned char* mp3buf, int size ); #endif /********************************************************************* * * decoding * * a simple interface to mpglib, part of mpg123, is also included if * libmp3lame is compiled with HAVE_MPGLIB * *********************************************************************/ struct hip_global_struct; typedef struct hip_global_struct hip_global_flags; typedef hip_global_flags *hip_t; typedef struct { int header_parsed; /* 1 if header was parsed and following data was computed */ int stereo; /* number of channels */ int samplerate; /* sample rate */ int bitrate; /* bitrate */ int mode; /* mp3 frame type */ int mode_ext; /* mp3 frame type */ int framesize; /* number of samples per mp3 frame */ /* this data is only computed if mpglib detects a Xing VBR header */ unsigned long nsamp; /* number of samples in mp3 file. */ int totalframes; /* total number of frames in mp3 file */ /* this data is not currently computed by the mpglib routines */ int framenum; /* frames decoded counter */ } mp3data_struct; /* required call to initialize decoder */ hip_t CDECL hip_decode_init(void); /* cleanup call to exit decoder */ int CDECL hip_decode_exit(hip_t gfp); /* HIP reporting functions */ void CDECL hip_set_errorf(hip_t gfp, lame_report_function f); void CDECL hip_set_debugf(hip_t gfp, lame_report_function f); void CDECL hip_set_msgf (hip_t gfp, lame_report_function f); /********************************************************************* * input 1 mp3 frame, output (maybe) pcm data. * * nout = hip_decode(hip, mp3buf,len,pcm_l,pcm_r); * * input: * len : number of bytes of mp3 data in mp3buf * mp3buf[len] : mp3 data to be decoded * * output: * nout: -1 : decoding error * 0 : need more data before we can complete the decode * >0 : returned 'nout' samples worth of data in pcm_l,pcm_r * pcm_l[nout] : left channel data * pcm_r[nout] : right channel data * *********************************************************************/ int CDECL hip_decode( hip_t gfp , unsigned char * mp3buf , size_t len , short pcm_l[] , short pcm_r[] ); /* same as hip_decode, and also returns mp3 header data */ int CDECL hip_decode_headers( hip_t gfp , unsigned char* mp3buf , size_t len , short pcm_l[] , short pcm_r[] , mp3data_struct* mp3data ); /* same as hip_decode, but returns at most one frame */ int CDECL hip_decode1( hip_t gfp , unsigned char* mp3buf , size_t len , short pcm_l[] , short pcm_r[] ); /* same as hip_decode1, but returns at most one frame and mp3 header data */ int CDECL hip_decode1_headers( hip_t gfp , unsigned char* mp3buf , size_t len , short pcm_l[] , short pcm_r[] , mp3data_struct* mp3data ); /* same as hip_decode1_headers, but also returns enc_delay and enc_padding from VBR Info tag, (-1 if no info tag was found) */ int CDECL hip_decode1_headersB( hip_t gfp , unsigned char* mp3buf , size_t len , short pcm_l[] , short pcm_r[] , mp3data_struct* mp3data , int *enc_delay , int *enc_padding ); /* OBSOLETE: * lame_decode... functions are there to keep old code working * but it is strongly recommended to replace calls by hip_decode... * function calls, see above. */ #if DEPRECATED_OR_OBSOLETE_CODE_REMOVED #else int CDECL lame_decode_init(void); int CDECL lame_decode( unsigned char * mp3buf, int len, short pcm_l[], short pcm_r[] ); int CDECL lame_decode_headers( unsigned char* mp3buf, int len, short pcm_l[], short pcm_r[], mp3data_struct* mp3data ); int CDECL lame_decode1( unsigned char* mp3buf, int len, short pcm_l[], short pcm_r[] ); int CDECL lame_decode1_headers( unsigned char* mp3buf, int len, short pcm_l[], short pcm_r[], mp3data_struct* mp3data ); int CDECL lame_decode1_headersB( unsigned char* mp3buf, int len, short pcm_l[], short pcm_r[], mp3data_struct* mp3data, int *enc_delay, int *enc_padding ); int CDECL lame_decode_exit(void); #endif /* obsolete lame_decode API calls */ /********************************************************************* * * id3tag stuff * *********************************************************************/ /* * id3tag.h -- Interface to write ID3 version 1 and 2 tags. * * Copyright (C) 2000 Don Melton. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. */ /* utility to obtain alphabetically sorted list of genre names with numbers */ void CDECL id3tag_genre_list( void (*handler)(int, const char *, void *), void* cookie); void CDECL id3tag_init (lame_t gfp); /* force addition of version 2 tag */ void CDECL id3tag_add_v2 (lame_t gfp); /* add only a version 1 tag */ void CDECL id3tag_v1_only (lame_t gfp); /* add only a version 2 tag */ void CDECL id3tag_v2_only (lame_t gfp); /* pad version 1 tag with spaces instead of nulls */ void CDECL id3tag_space_v1 (lame_t gfp); /* pad version 2 tag with extra 128 bytes */ void CDECL id3tag_pad_v2 (lame_t gfp); /* pad version 2 tag with extra n bytes */ void CDECL id3tag_set_pad (lame_t gfp, size_t n); void CDECL id3tag_set_title(lame_t gfp, const char* title); void CDECL id3tag_set_artist(lame_t gfp, const char* artist); void CDECL id3tag_set_album(lame_t gfp, const char* album); void CDECL id3tag_set_year(lame_t gfp, const char* year); void CDECL id3tag_set_comment(lame_t gfp, const char* comment); /* return -1 result if track number is out of ID3v1 range and ignored for ID3v1 */ int CDECL id3tag_set_track(lame_t gfp, const char* track); /* return non-zero result if genre name or number is invalid result 0: OK result -1: genre number out of range result -2: no valid ID3v1 genre name, mapped to ID3v1 'Other' but taken as-is for ID3v2 genre tag */ int CDECL id3tag_set_genre(lame_t gfp, const char* genre); /* return non-zero result if field name is invalid */ int CDECL id3tag_set_fieldvalue(lame_t gfp, const char* fieldvalue); /* return non-zero result if image type is invalid */ int CDECL id3tag_set_albumart(lame_t gfp, const char* image, size_t size); /* lame_get_id3v1_tag copies ID3v1 tag into buffer. * Function returns number of bytes copied into buffer, or number * of bytes rquired if buffer 'size' is too small. * Function fails, if returned value is larger than 'size'. * NOTE: * This functions does nothing, if user/LAME disabled ID3v1 tag. */ size_t CDECL lame_get_id3v1_tag(lame_t gfp, unsigned char* buffer, size_t size); /* lame_get_id3v2_tag copies ID3v2 tag into buffer. * Function returns number of bytes copied into buffer, or number * of bytes rquired if buffer 'size' is too small. * Function fails, if returned value is larger than 'size'. * NOTE: * This functions does nothing, if user/LAME disabled ID3v2 tag. */ size_t CDECL lame_get_id3v2_tag(lame_t gfp, unsigned char* buffer, size_t size); /* normaly lame_init_param writes ID3v2 tags into the audio stream * Call lame_set_write_id3tag_automatic(gfp, 0) before lame_init_param * to turn off this behaviour and get ID3v2 tag with above function * write it yourself into your file. */ void CDECL lame_set_write_id3tag_automatic(lame_global_flags * gfp, int); int CDECL lame_get_write_id3tag_automatic(lame_global_flags const* gfp); /* experimental */ int CDECL id3tag_set_textinfo_latin1(lame_global_flags * gfp, char const *id, char const *text); /* experimental */ int CDECL id3tag_set_comment_latin1(lame_global_flags * gfp, char const *lang, char const *desc, char const *text); #if DEPRECATED_OR_OBSOLETE_CODE_REMOVED #else /* experimental */ int CDECL id3tag_set_textinfo_ucs2(lame_global_flags * gfp, char const *id, unsigned short const *text); /* experimental */ int CDECL id3tag_set_comment_ucs2(lame_global_flags * gfp, char const *lang, unsigned short const *desc, unsigned short const *text); /* experimental */ int CDECL id3tag_set_fieldvalue_ucs2(lame_t gfp, const unsigned short *fieldvalue); #endif /* experimental */ int CDECL id3tag_set_fieldvalue_utf16(lame_t gfp, const unsigned short *fieldvalue); /* experimental */ int CDECL id3tag_set_textinfo_utf16(lame_global_flags * gfp, char const *id, unsigned short const *text); /* experimental */ int CDECL id3tag_set_comment_utf16(lame_global_flags * gfp, char const *lang, unsigned short const *desc, unsigned short const *text); /*********************************************************************** * * list of valid bitrates [kbps] & sample frequencies [Hz]. * first index: 0: MPEG-2 values (sample frequencies 16...24 kHz) * 1: MPEG-1 values (sample frequencies 32...48 kHz) * 2: MPEG-2.5 values (sample frequencies 8...12 kHz) ***********************************************************************/ extern const int bitrate_table [3][16]; extern const int samplerate_table [3][ 4]; /* access functions for use in DLL, global vars are not exported */ int CDECL lame_get_bitrate(int mpeg_version, int table_index); int CDECL lame_get_samplerate(int mpeg_version, int table_index); /* maximum size of albumart image (128KB), which affects LAME_MAXMP3BUFFER as well since lame_encode_buffer() also returns ID3v2 tag data */ #define LAME_MAXALBUMART (128 * 1024) /* maximum size of mp3buffer needed if you encode at most 1152 samples for each call to lame_encode_buffer. see lame_encode_buffer() below (LAME_MAXMP3BUFFER is now obsolete) */ #define LAME_MAXMP3BUFFER (16384 + LAME_MAXALBUMART) typedef enum { LAME_OKAY = 0, LAME_NOERROR = 0, LAME_GENERICERROR = -1, LAME_NOMEM = -10, LAME_BADBITRATE = -11, LAME_BADSAMPFREQ = -12, LAME_INTERNALERROR = -13, FRONTEND_READERROR = -80, FRONTEND_WRITEERROR = -81, FRONTEND_FILETOOLARGE = -82 } lame_errorcodes_t; #if defined(__cplusplus) } #endif #endif /* LAME_LAME_H */ idjc-0.8.9/c/live_mp3_encoder.c0000644000175000017500000001462412113174301013165 00000000000000/* # live_mp3_encoder.c: encode mp3 files from a live source # Copyright (C) 2007 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "../config.h" #include #include #include #include #include #include "sourceclient.h" #include "live_mp3_encoder.h" #define READSIZE 1024 typedef jack_default_audio_sample_t sample_t; static void live_mp3_packetize_metadata(struct encoder *e, struct lm3e_data * const s) { size_t l = 4; pthread_mutex_lock(&e->metadata_mutex); l += strlen(e->custom_meta); l += strlen(e->artist); l += strlen(e->title); l += strlen(e->album); if ((s->metadata = realloc(s->metadata, l))) snprintf(s->metadata, l, "%s\n%s\n%s\n%s", e->custom_meta, e->artist, e->title, e->album); else fprintf(stderr, "malloc failure\n"); e->new_metadata = FALSE; pthread_mutex_unlock(&e->metadata_mutex); } static int live_mp3_write_packet(struct encoder *encoder, struct lm3e_data *s, unsigned char *buffer, size_t buffersize, int flags) { struct encoder_op_packet packet; packet.header.bit_rate = encoder->bitrate; packet.header.sample_rate = encoder->target_samplerate; packet.header.n_channels = encoder->n_channels; packet.header.flags = flags; packet.header.data_size = buffersize; packet.header.serial = encoder->oggserial; packet.header.timestamp = encoder->timestamp = s->lame_samples / (double)encoder->target_samplerate; packet.data = buffer; encoder_write_packet_all(encoder, &packet); return 1; } static void live_mp3_encoder_main(struct encoder *encoder) { struct lm3e_data * const s = encoder->encoder_private; struct encoder_ip_data *id; int mp3bytes = 0; if (encoder->encoder_state == ES_STARTING) { if (!(s->mp3buf = malloc(s->mp3bufsize = (int)(1.25 * 8192.0 + 7200.0)))) { fprintf(stderr, "live_mp3_encoder_main: malloc failure\n"); goto bailout; } if (!(s->gfp = lame_init())) { fprintf(stderr, "live_mp3_encoder_main: failed to initialise LAME\n"); free(s->mp3buf); goto bailout; } lame_set_num_channels(s->gfp, encoder->n_channels); lame_set_brate(s->gfp, encoder->bitrate); lame_set_in_samplerate(s->gfp, encoder->target_samplerate); lame_set_out_samplerate(s->gfp, encoder->target_samplerate); lame_set_mode(s->gfp, s->lame_mode); lame_set_quality(s->gfp, s->lame_quality); lame_set_bWriteVbrTag(s->gfp, 0); lame_set_scale(s->gfp, 32767.0f); if (lame_init_params(s->gfp) < 0) { fprintf(stderr, "live_mp3_encoder_main: LAME rejected the parameters given\n"); lame_close(s->gfp); free(s->mp3buf); goto bailout; } ++encoder->oggserial; s->packetflags = PF_INITIAL; s->lame_samples = 0; if (encoder->run_request_f) encoder->encoder_state = ES_RUNNING; else encoder->encoder_state = ES_STOPPING; return; } if (encoder->encoder_state == ES_RUNNING) { if (encoder->flush || !encoder->run_request_f) { encoder->flush = FALSE; mp3bytes = lame_encode_flush_nogap(s->gfp, s->mp3buf, s->mp3bufsize); fprintf(stderr, "live_mp3_encoder_main: flushing %d bytes\n", mp3bytes); live_mp3_write_packet(encoder, s, s->mp3buf, mp3bytes, PF_MP3 | PF_FINAL); encoder->encoder_state = ES_STOPPING; } else { if ((id = encoder_get_input_data(encoder, 1024, 8192, NULL))) { mp3bytes = lame_encode_buffer_float(s->gfp, id->buffer[0], id->buffer[1], id->qty_samples, s->mp3buf, s->mp3bufsize); s->lame_samples += id->qty_samples; encoder_ip_data_free(id); live_mp3_write_packet(encoder, s, s->mp3buf, mp3bytes, PF_MP3 | s->packetflags); s->packetflags = PF_UNSET; } if (encoder->new_metadata && encoder->use_metadata) { live_mp3_packetize_metadata(encoder, s); if (s->metadata) live_mp3_write_packet(encoder, s, (unsigned char *)s->metadata, strlen(s->metadata) + 1, PF_METADATA); } } return; } if (encoder->encoder_state == ES_STOPPING) { lame_close(s->gfp); free(s->mp3buf); if (encoder->run_request_f) { encoder->encoder_state = ES_STARTING; return; } } bailout: fprintf(stderr, "live_mp3_encoder_main: performing cleanup\n"); encoder->run_request_f = FALSE; encoder->encoder_state = ES_STOPPED; encoder->run_encoder = NULL; encoder->flush = FALSE; encoder->encoder_private = NULL; if (s->metadata) free(s->metadata); free(s); fprintf(stderr, "live_mp3_encoder_main: finished cleanup\n"); } int live_mp3_encoder_init(struct encoder *encoder, struct encoder_vars *ev) { struct lm3e_data * const s = calloc(1, sizeof (struct lm3e_data)); if (!s) { fprintf(stderr, "live_mp3_encoder: malloc failure\n"); return FAILED; } if (!(strcmp("stereo", ev->mode))) s->lame_mode = 0; else if (!(strcmp("jointstereo", ev->mode))) s->lame_mode = 1; else if (!(strcmp("mono", ev->mode))) s->lame_mode = 3; s->lame_quality = atoi(ev->quality); encoder->encoder_private = s; encoder->run_encoder = live_mp3_encoder_main; return SUCCEEDED; } idjc-0.8.9/c/live_ogg_encoder.h0000644000175000017500000000244512114637001013247 00000000000000/* # live_ogg_encoder.h: encode ogg files from a live source # Copyright (C) 2007 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #ifndef HAVE_OGGENC #define HAVE_OGGENC #include #include "sourceclient.h" struct ogg_tag_data { char *custom; char *artist; char *title; char *album; }; int live_ogg_encoder_init(struct encoder *encoder, struct encoder_vars *ev); int live_ogg_write_packet(struct encoder *encoder, ogg_page *op, int flags); void live_ogg_capture_metadata(struct encoder *e, struct ogg_tag_data *td); void live_ogg_free_metadata(struct ogg_tag_data *td); #endif idjc-0.8.9/c/vorbistagparse.c0000644000175000017500000002647612114637001013015 00000000000000/* # vorbistagparse.c: parse vorbis tags # Copyright (C) 2013 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include #include #include #include #include #include "vorbistagparse.h" /* READINT: read little endian uint32_t value pointed to by p and advance p */ #define GET(p, ind, shift) ((uint32_t)((unsigned const char *)p)[ind] << shift) #define READINT(p) (p += 4, GET(p, -1, 24) | GET(p, -2, 16) | \ GET(p, -3, 8) | GET(p, -4, 0)) #define SET(p, ind, shift, v) do {((unsigned char *)p)[ind] = v >> shift;} while (0) #define WRITEINT(p, v) do {p += 4; SET(p, -1, 24, v); SET(p, -2, 16, v); \ SET(p, -3, 8, v); SET(p, -4, 0, v);} while (0) struct vtag { GHashTable *hash_table; /* table of g_slists of key=value pairs */ char *vendor_string; }; struct vtag_block_private { size_t blocklen; }; static int key_valid(char const *key, size_t n) { if (n == 0) return 0; while (n--) { if (*key < 0x20 || *key > 0x7D || *key == '=') return 0; ++key; } return !0; } static char * strlwr(char *s) { if (s == NULL) return NULL; for (char *p = s; *p; ++p) *p = tolower(*p); return s; } /* key and value must be dedicated copies and heap allocated */ static void insert_value(GHashTable *hash_table, char *key, char *value) { GSList *slist = NULL; gpointer orig_key = NULL; if (g_hash_table_lookup_extended(hash_table, key, &orig_key, (gpointer *)&slist)) { g_hash_table_steal(hash_table, key); free(orig_key); } slist = g_slist_append(slist, (gpointer)value); g_hash_table_insert(hash_table, key, (gpointer)slist); } static enum vtag_error parse(struct vtag *s, char const * const data, size_t bytes) { char const *p = data, *end = p + bytes; uint32_t len, to_do; int const min_vorbis_tag_size = 8; if (bytes < min_vorbis_tag_size) return VE_CROPPED; len = READINT(p); if (p + len + 4 > end) return VE_CROPPED; if (!(s->vendor_string = strndup(p, len))) return VE_ALLOCATION; p += len; to_do = READINT(p); while (to_do--) { if (p + 4 > end) return VE_CROPPED; len = READINT(p); if (p + len > end) return VE_CROPPED; switch (len) { case 0: case 1: case 2: return VE_SHORT_COMMENT; default: { char const * const sep = memchr(p + 1, '=', len - 1); if (!sep) return VE_MISSING_SEPARATOR; if (sep + 1 - p == len) return VE_MISSING_VALUE; if (!key_valid(p, sep - p)) return VE_INVALID_KEY; char *key = strlwr(strndup(p, sep - p)); if (!key) return VE_ALLOCATION; char *value = strndup(sep + 1, len - (sep + 1 - p)); if (!value) { free(key); return VE_ALLOCATION; } insert_value(s->hash_table, key, value); } } p += len; } return VE_OK; } static void free_slist_value(GSList *slist) { g_slist_free_full(slist, free); } static struct vtag * vtag_create(int *error) { struct vtag *s; if (!(s = calloc(1, sizeof (struct vtag)))) { *error = VE_ALLOCATION; return NULL; } if (!(s->hash_table = g_hash_table_new_full(g_str_hash, g_str_equal, free, (GDestroyNotify)free_slist_value))) { free(s); *error = VE_ALLOCATION; return NULL; } return s; } struct vtag * vtag_parse(void *data, size_t bytes, int *error) { struct vtag *s; int error_; if (!error) error = &error_; if (!(s = vtag_create(error))) return NULL; *error = parse(s, data, bytes); if (*error != VE_OK) { vtag_cleanup(s); return NULL; } return s; } struct vtag * vtag_new(const char *vendor_string, int *error) { struct vtag *s; int error_; if (!error) error = &error_; if (!(s = vtag_create(error))) return NULL; if (!(s->vendor_string = strdup(vendor_string))) { vtag_cleanup(s); *error = VE_ALLOCATION; return NULL; } return s; } struct valuestore { size_t length; int count; }; static void slist_storage_calc(gpointer data, gpointer user_data) { struct valuestore *vs = user_data; vs->length += strlen(data); ++vs->count; } static void ht_storage_calc(gpointer key, gpointer value, gpointer user_data) { struct valuestore *vs = user_data; int count = vs->count; GSList *slist = value; g_slist_foreach(slist, slist_storage_calc, vs); vs->length += (vs->count - count) * (5 + strlen(key)); } struct valuestore2 { char **p; char *key; }; static void slist_dump(gpointer data, gpointer user_data) { struct valuestore2 *vs = user_data; char **p = vs->p; size_t len1, len2; len1 = strlen(vs->key); len2 = strlen(data); WRITEINT((*p), (len1 + 1 + len2)); memcpy(*p, vs->key, len1); *p += len1; *(*p)++ = '='; memcpy(*p, data, len2); *p += len2; } static void ht_dump(gpointer key, gpointer value, gpointer user_data) { GSList *slist = value; struct valuestore2 vs = {user_data, key}; g_slist_foreach(slist, slist_dump, &vs); } int vtag_block_init(struct vtag_block *block) { block->data = NULL; block->length = 0; if (!(block->private = malloc(sizeof (struct vtag_block_private)))) { fprintf(stderr, "malloc failure\n"); return 0; } block->private->blocklen = 0; return 1; } void vtag_block_cleanup(struct vtag_block *block) { if (block->data) free(block->data); free(block->private); }; int vtag_serialize(struct vtag *s, struct vtag_block *block, char const *prefix) { size_t len; char *p; struct valuestore vs = {0, 0}; if (!prefix) prefix = ""; /* determine how much space to allocate */ g_hash_table_foreach(s->hash_table, ht_storage_calc, &vs); len = vs.length + 8 + strlen(s->vendor_string) + strlen(prefix); if (len > block->private->blocklen) { if (!(block->data = realloc(block->data, len))) return VE_ALLOCATION; block->private->blocklen = len; } block->length = len; p = block->data; strncpy(p, prefix, len = strlen(prefix)); p += len; len = strlen(s->vendor_string); WRITEINT(p, len); strncpy(p, s->vendor_string, len); p += len; WRITEINT(p, vs.count); g_hash_table_foreach(s->hash_table, ht_dump, &p); return VE_OK; } static void slist_data_length(gpointer data1, gpointer data2) { struct valuestore *vs = (struct valuestore *)data2; vs->length += strlen(data1); ++vs->count; } static GSList * slist_lookup(struct vtag *s, char const *key) { GSList *slist; char *lcase_key; if (!(lcase_key = strlwr(strdup(key)))) { fprintf(stderr, "slist_lookup: malloc failure\n"); return NULL; } slist = g_hash_table_lookup(s->hash_table, lcase_key); free(lcase_key); return slist; } int vtag_comment_count(struct vtag *s, char const *key) { GSList *slist; struct valuestore vs = {0, 0}; if (!(slist = slist_lookup(s, key))) return 0; g_slist_foreach(slist, slist_data_length, &vs); return vs.count; } char * vtag_lookup(struct vtag *s, char const *key, enum vtag_lookup_mode mode, char *sep) { char *value; GSList *slist; size_t length = 0; struct valuestore vs = {0, 0}; if (!(slist = slist_lookup(s, key))) return NULL; switch (mode) { case VLM_FIRST: return strdup(slist->data); case VLM_LAST: return strdup(g_slist_last(slist)->data); case VLM_MERGE: if (!sep) sep = ""; g_slist_foreach(slist, slist_data_length, &vs); length = vs.length + (vs.count - 1) * strlen(sep) + 1; if (!(value = malloc(length))) { fprintf(stderr, "vtag_lookup: malloc failure\n"); return NULL; } strcpy(value, slist->data); while (slist->next) { strcat(value, sep); slist = slist->next; strcat(value, slist->data); } return value; default: fprintf(stderr, "vtag_lookup: unknown lookup mode\n"); } return NULL; } int vtag_append(struct vtag *s, char const *key, char const *value) { char *lcase_key, *value_copy; if (!key_valid(key, strlen(key))) return VE_INVALID_KEY; if (strlen(value) == 0) return VE_MISSING_VALUE; if (!(lcase_key = strlwr(strdup(key)))) return VE_ALLOCATION; if (!(value_copy = strdup(value))) return VE_ALLOCATION; insert_value(s->hash_table, lcase_key, value_copy); return VE_OK; } char const * vtag_vendor_string(struct vtag *s) { return s->vendor_string; } void vtag_cleanup(struct vtag *s) { if (s->vendor_string) free(s->vendor_string); g_hash_table_destroy(s->hash_table); free(s); } char const * vtag_strerror(int error) { switch ((enum vtag_error) error) { case VE_OK: return "no error"; case VE_ALLOCATION: return "malloc failure"; case VE_CROPPED: return "vorbis comment block larger than supplied data"; case VE_TRAILING: return "vorbis comment block finished before end of data"; case VE_SHORT_COMMENT: return "vorbis comment too short to express key=value"; case VE_MISSING_SEPARATOR: return "vorbis comment separator missing"; case VE_MISSING_VALUE: return "vorbis comment value missing"; case VE_INVALID_KEY: return "vorbis comment key contains illegal characters"; default: return "unknown error code"; } } idjc-0.8.9/c/fade.h0000644000175000017500000000321212113174301010643 00000000000000/* # fade.h: fade in/out progressive gain adjustment # Copyright (C) 2011 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #ifndef FADE_H #define FADE_H enum fade_startpos { FADE_SET_LOW, FADE_SET_SAME, FADE_SET_HIGH }; enum fade_direction { FADE_IN, FADE_OUT, FADE_DIRECTION_UNCHANGED }; struct fade { float level; enum fade_direction direction; float rate; float baselevel; int samplerate; int moving; int newdata; enum fade_startpos startpos; int samples; enum fade_direction newdirection; pthread_mutex_t mutex; }; /* fade level l stands before -infinity dB */ struct fade *fade_init(int samplerate, float l); void fade_destroy(struct fade *s); /* initiate a fade that would take t seconds to complete from one end of the range to the other */ void fade_set(struct fade *s, enum fade_startpos, float t, enum fade_direction); /* obtain the next fade value */ float fade_get(struct fade *s); #endif /* FADE_H */ idjc-0.8.9/c/bsdcompat.c0000644000175000017500000000457612113174301011731 00000000000000/* # bsdcompat.c: library functions that are missing from BSD # Copyright (C) 2005-2007 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "bsdcompat.h" #ifdef USE_BSD_COMPAT #include #include #include #include #include float bsd_pow10f(float x) { return powf(10.f, x); } char *bsd_strndup(const char *s, size_t n) { size_t l; char *r, *p; if ((l = strlen(s)) < n) n = l; if ((p = r = malloc(n + 1)) == NULL) errno = ENOMEM; else { while (n--) *p++ = *s++; *p = '\0'; } return r; } ssize_t bsd_getline(char **lineptr, size_t *n, FILE *stream) { const size_t growby = 64; ssize_t i = 0; int eol = 0, c; if (lineptr == NULL || n == NULL || fileno(stream) == -1) { errno = EINVAL; return -1; } if (*lineptr == NULL) *n = 0; for (;;) { if (i == *n) if ((*lineptr = realloc(*lineptr, *n += growby + i / 8)) == NULL) { perror("getline: malloc failure\n"); *n = 0; return -1; } if (eol) break; c = fgetc(stream); if (feof(stream) || ferror(stream)) eol = 1; else { (*lineptr)[i++] = c; if (c == '\n') eol = 1; } } (*lineptr)[i] = '\0'; if (i == 0) fprintf(stderr, "line length was zero\n"); return i; } char *bsd_canonicalize_file_name(const char *path) { return realpath(path, NULL); } #endif /* USE_BSD_COMPAT */ idjc-0.8.9/c/mp3dec.c0000644000175000017500000002323012114637001011116 00000000000000/* # mp3dec.c: decodes mp3 file format for xlplayer # Copyright (C) 2012 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "../config.h" #include "gnusource.h" #include #include #include #include #include #include #include "xlplayer.h" #include "mp3dec.h" #include "bsdcompat.h" #define TRUE 1 #define FALSE 0 #define ACCEPTED 1 #define REJECTED 0 static int decoder_library_ok; int dynamic_metadata_form[4] = { DM_SPLIT_L1, DM_NOTAG, DM_NOTAG, DM_SPLIT_U8 }; static void mp3decode_eject(struct xlplayer *xlplayer) { struct mp3decode_vars *self = xlplayer->dec_data; if (self->resample) { if (xlplayer->src_data.data_out) free(xlplayer->src_data.data_out); xlplayer->src_state = src_delete(xlplayer->src_state); } mp3_tag_cleanup(&self->taginfo); mpg123_close(self->mh); mpg123_delete(self->mh); fclose(self->fp); free(self); fprintf(stderr, "finished eject\n"); } static void mp3decode_init(struct xlplayer *xlplayer) { } static void mp3decode_play(struct xlplayer *xlplayer) { struct mp3decode_vars *self = xlplayer->dec_data; struct chapter *chapter; long rate; int channels, encoding, samples, rv, delay; off_t num; float *fppcm; size_t len; int src_error; switch(rv = mpg123_decode_frame(self->mh, &num, (unsigned char **)&fppcm, &len)) { case MPG123_DONE: if (self->resample) { xlplayer->src_data.input_frames = 0; xlplayer->src_data.end_of_input = 1; if ((src_error = src_process(xlplayer->src_state, &xlplayer->src_data))) fprintf(stderr, "mp3decode_play: %s src_process reports - %s\n", xlplayer->playername, src_strerror(src_error)); xlplayer_demux_channel_data(xlplayer, xlplayer->src_data.data_out, xlplayer->src_data.output_frames_gen, 2, 1.f); xlplayer_write_channel_data(xlplayer); } break; case MPG123_NEW_FORMAT: if (mpg123_getformat(self->mh, &rate, &channels, &encoding) != MPG123_OK) { fprintf(stderr, "mp3decode_play: mpg123_getformat failed\n"); break; } if (channels != MPG123_STEREO || encoding != MPG123_ENC_FLOAT_32) { fprintf(stderr, "mp3decode_play: unusable data format\n"); break; } case MPG123_OK: if ((samples = len / (2 * sizeof (float))) > 0) { if (self->resample) { xlplayer->src_data.data_in = fppcm; xlplayer->src_data.input_frames = samples; if ((src_error = src_process(xlplayer->src_state, &xlplayer->src_data))) { fprintf(stderr, "mp3decode_play: %s src_process reports - %s\n", xlplayer->playername, src_strerror(src_error)); break; } xlplayer_demux_channel_data(xlplayer, xlplayer->src_data.data_out, xlplayer->src_data.output_frames_gen, 2, 1.f); } else xlplayer_demux_channel_data(xlplayer, fppcm, samples, 2, 1.f); delay = xlplayer_calc_rbdelay(xlplayer); chapter = mp3_tag_chapter_scan(&self->taginfo, xlplayer->play_progress_ms + delay); if (chapter && chapter != self->current_chapter) { self->current_chapter = chapter; xlplayer_set_dynamic_metadata(xlplayer, dynamic_metadata_form[chapter->title.encoding], chapter->artist.text, chapter->title.text, chapter->album.text, delay); } xlplayer_write_channel_data(xlplayer); } return; default: fprintf(stderr, "mp3decode_play: mpg123_decode_frame unexpected return code %d\n", rv); break; } xlplayer->playmode = PM_EJECTING; } static void decoder_library_init() { if((decoder_library_ok = (mpg123_init() == MPG123_OK))) atexit(mpg123_exit); } int mp3decode_reg(struct xlplayer *xlplayer) { static pthread_once_t once_control = PTHREAD_ONCE_INIT; struct mp3decode_vars *self; struct chapter *chapter; int fd, rv; long rate; int channels, encoding; int src_error; pthread_once(&once_control, decoder_library_init); if (!decoder_library_ok) { fprintf(stderr, "mp3decode_reg: decoder library is not ok\n"); goto rej; } if (!(self = xlplayer->dec_data = calloc(1, sizeof (struct mp3decode_vars)))) { fprintf(stderr, "mp3decode_reg: malloc failure\n"); goto rej; } if (!(self->mh = mpg123_new(NULL, NULL))) { fprintf(stderr, "mp3decode_reg: handle not okay"); goto rej_; } #ifdef MPG123_AUTO_RESAMPLE if (mpg123_param(self->mh, MPG123_REMOVE_FLAGS, MPG123_AUTO_RESAMPLE, 0.0) != MPG123_OK) { fprintf(stderr, "mpgdecode_reg: failed to turn off auto resampling\n"); goto rej_; } #endif if (mpg123_param(self->mh, MPG123_ADD_FLAGS, MPG123_FORCE_STEREO, 0.0) != MPG123_OK) { fprintf(stderr, "mpgdecode_reg: failed to set flags"); goto rej_; } if (mpg123_format_none(self->mh) != MPG123_OK) { fprintf(stderr, "mp3decode_reg: failed to clear output formats"); goto rej_; } /* all the permitted mp3 sample rates are enabled * forced stereo is in effect so no need to add mono formats */ mpg123_format(self->mh, 48000, MPG123_STEREO, MPG123_ENC_FLOAT_32); mpg123_format(self->mh, 44100, MPG123_STEREO, MPG123_ENC_FLOAT_32); mpg123_format(self->mh, 32000, MPG123_STEREO, MPG123_ENC_FLOAT_32); mpg123_format(self->mh, 24000, MPG123_STEREO, MPG123_ENC_FLOAT_32); mpg123_format(self->mh, 22050, MPG123_STEREO, MPG123_ENC_FLOAT_32); mpg123_format(self->mh, 16000, MPG123_STEREO, MPG123_ENC_FLOAT_32); mpg123_format(self->mh, 12000, MPG123_STEREO, MPG123_ENC_FLOAT_32); mpg123_format(self->mh, 11025, MPG123_STEREO, MPG123_ENC_FLOAT_32); mpg123_format(self->mh, 8000, MPG123_STEREO, MPG123_ENC_FLOAT_32); if (!(self->fp = fopen(xlplayer->pathname, "r"))) { fprintf(stderr, "mp3decode_reg: failed to open %s\n", xlplayer->pathname); goto rej_; } mp3_tag_read(&self->taginfo, self->fp); lseek(fd = fileno(self->fp), 0, SEEK_SET); if ((rv = mpg123_open_fd(self->mh, fd)) != MPG123_OK) { fprintf(stderr, "mp3decode_reg: mpg123_open_fd failed with return value %d\n", rv); goto rej__; } if (mpg123_getformat(self->mh, &rate, &channels, &encoding) != MPG123_OK || channels != 2) { fprintf(stderr, "mp3decode_reg: mpg123_getformat returned unexpected value\n"); goto rej___; } if (rate != xlplayer->samplerate) { fprintf(stderr, "mp3decode_reg: configuring resampler\n"); xlplayer->src_state = src_new(xlplayer->rsqual, channels, &src_error); if (src_error) { fprintf(stderr, "mp3decode_reg: src_new reports %s\n", src_strerror(src_error)); goto rej___; } xlplayer->src_data.src_ratio = (double)xlplayer->samplerate / (double)rate; xlplayer->src_data.end_of_input = 0; size_t output_frames = (size_t)(xlplayer->src_data.src_ratio * 1.1 * 1152); xlplayer->src_data.output_frames = (long)output_frames; if (!(xlplayer->src_data.data_out = malloc(output_frames * 2 * sizeof (float)))) { fprintf(stderr, "mp3decode_reg: malloc failure\n"); goto rej____; } self->resample = TRUE; } xlplayer->dec_init = mp3decode_init; xlplayer->dec_play = mp3decode_play; xlplayer->dec_eject = mp3decode_eject; if ((chapter = mp3_tag_chapter_scan(&self->taginfo, xlplayer->play_progress_ms + 70))) { self->current_chapter = chapter; xlplayer_set_dynamic_metadata(xlplayer, dynamic_metadata_form[chapter->title.encoding], chapter->artist.text, chapter->title.text, chapter->album.text, 0); } if (xlplayer->seek_s) if (mpg123_seek(self->mh, (off_t)rate * xlplayer->seek_s, SEEK_SET) < 0) { fprintf(stderr, "mp3decode_init: seek failed\n"); mp3decode_eject(xlplayer); xlplayer->playmode = PM_STOPPED; xlplayer->command = CMD_COMPLETE; } return ACCEPTED; rej____: xlplayer->src_state = src_delete(xlplayer->src_state); rej___: mpg123_delete(self->mh); rej__: mp3_tag_cleanup(&self->taginfo); fclose(self->fp); rej_: free(self); rej: return REJECTED; } idjc-0.8.9/c/mp3dec.h0000644000175000017500000000227012114637001011124 00000000000000/* # mp3dec.h: decodes mp3 file format for xlplayer # Copyright (C) 2012 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "../config.h" #include #ifdef HAVE_MPG123_H #include #else #include "mpg123.h" #endif /* HAVE_MPG123_H */ #include "xlplayer.h" #include "mp3tagread.h" struct mp3decode_vars { FILE *fp; mpg123_handle *mh; struct mp3taginfo taginfo; struct chapter *current_chapter; int resample; }; int mp3decode_reg(struct xlplayer *xlplayer); idjc-0.8.9/c/agc.c0000644000175000017500000004664612114637001010515 00000000000000/* # agc.c: a fast lookahead microphone AGC # Copyright (C) 2008 Stefan Fendt (stefan@sfendt.de) # Copyright (C) 2008-2010 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include #include #include #include #include #include #include "agc.h" /* coefficients of agc_RC_Filter */ struct agc_RC_Coe { float a; float b; float c; float f; float q; }; /* variables of agc_RC_Filter */ struct agc_RC_Var { float last_in; float lp; float bp; float hp; }; /* structure for an RC filter */ struct agc_RC_Filter { struct agc_RC_Coe coe; struct agc_RC_Var var; }; struct agc_RC_FilterGroup { struct agc_RC_Filter RC_HPF_initial[4]; struct agc_RC_Filter RC_HPF_detail; struct agc_RC_Filter RC_LPF_detail; struct agc_RC_Filter RC_PHR[4]; struct agc_RC_Filter RC_F_DS; }; struct agc { int id; struct agc *host; /* points to self or partner for stereo implementation */ struct agc *partner; float input; float ratio; float limit; float nr_gain; float nr_onthres; float nr_offthres; float gain_interval_amount; /* agc gain can move by this amount each interval */ int nr_state; float *buffer; /* eventual buffer size depends on sample rate */ int buffer_len; int sRate; /* the sample rate in use by JACK */ int in_pos; int out_pos; float gain; float DC; float ds_bias; float ds_gain; int ds_state; int RR_reset_point[4]; /* reset intervals used by all the envelope followers */ float RR_signal[4]; float RR_DS_high[4]; float RR_DS_low[4]; int use_ducker; float df; float ducker_attack; float ducker_release; int ducker_hold_timer; int ducker_hold_timer_resetval; float meter_signal_cap, meter_de_ess, meter_noise_gate; int hpstages; float hf_detail; float lf_detail; int use_phaserotator; struct agc_RC_FilterGroup filters; }; static GHashTable *control_ht; /* used for looking up control functions */ static float agc_12db_hpfilter(struct agc_RC_Coe *c, struct agc_RC_Var *v, float input) { input += c->q * v->bp; v->hp = c->c * (v->hp + input - v->last_in); v->bp = v->bp * c->a + v->hp * c->b; v->last_in = input; return v->hp; } static float agc_6db_hpfilter(float detail, struct agc_RC_Coe *c, struct agc_RC_Var *v, float input) { v->hp = c->c * (v->hp + input - v->last_in); v->last_in = input; return input + v->hp * detail; } static float agc_6db_lpfilter(float detail, struct agc_RC_Coe *c, struct agc_RC_Var *v, float input) { v->lp = v->lp * c->a + input * c->b; return input + v->lp * detail; } static float agc_phaserotate(struct agc_RC_Filter *f, float input) { struct agc_RC_Coe *c = &f->coe; struct agc_RC_Var *v = &f->var; v->hp = c->c * (v->hp + input - v->last_in); v->lp = v->lp * c->a + input * c->b; v->last_in = input; return v->lp - v->hp; } void agc_process_stage1(struct agc *s, float input) { /* An analog active RC-Highpassfilter network to remove DC and subsonic sounds * each stage has 12dB/octave of attenuation. */ for (int i = 0, q = s->host->hpstages; i < q; ++i) input = agc_12db_hpfilter(&s->host->filters.RC_HPF_initial[i].coe, &s->filters.RC_HPF_initial[i].var, input); /* RC-Network (but with only one stage and without resonance/feedback (->6dB/octave)) * used as HF-Detail-Filter */ input = agc_6db_hpfilter(s->host->hf_detail, &s->host->filters.RC_HPF_detail.coe, &s->filters.RC_HPF_detail.var, input); /* RC-Network (but with only one stage and without resonance/feedback) * used as LF-Detail-Filter */ input = agc_6db_lpfilter(s->host->lf_detail, &s->host->filters.RC_LPF_detail.coe, &s->filters.RC_LPF_detail.var, input); /* Phase-rotator done with RC-simulation * for good reasons doesn't use Q/resonance either... */ if (s->host->use_phaserotator) for (int i = 0; i < 4; ++i) input = agc_phaserotate(s->filters.RC_PHR + i, input); /* feed input into ring-buffer, store input */ s->buffer[s->in_pos % s->buffer_len] = s->input = input; /* update pointers of the ring-buffer */ s->in_pos++; s->out_pos++; } static float agc_quad_rr(float *storage, int *reset_point, int phase, float input) { float highest = 0.0f; input = fabsf(input); for (int i = 0; i < 4; ++i, ++storage, ++reset_point) { if (*reset_point == phase) *storage = 0.0f; if (input > *storage) *storage = input; if (*storage > highest) highest = *storage; } return highest; } void agc_process_stage2(struct agc *s, int mic_is_mute) { /* audio signal for sidechain use - possibly combined */ float input; /* phase for use by all of the envelope-followers */ float phase; /* de-esser values */ float ds_amph, ds_ampl; /* the input signal level as computed by the envelope follower */ float amp; /* the amplification factor */ float factor, orig_factor; /* the computed ducker amplification factor - used externally */ float duck_amp; if (s == s->host) { input = (s->partner->host == s) ? (s->input + s->partner->input) * 0.5 : s->input; phase = s->in_pos % (2 * s->buffer_len); /* De-Esser sidechain-filter - does high and low pass filtering */ { float ds_input; struct agc_RC_Coe *c = &s->filters.RC_F_DS.coe; struct agc_RC_Var *v = &s->filters.RC_F_DS.var; ds_input = input; ds_input += c->q * v->bp; v->lp = v->lp * c->a + ds_input * c->b; v->hp = c->c * (v->hp + input - v->last_in ); v->bp = v->bp * c->a + v->hp * c->b; v->last_in = ds_input; } /* follow the envelope of the de-esser high and low pass filtered signal */ ds_amph = agc_quad_rr(s->RR_DS_high, s->RR_reset_point, phase, s->filters.RC_F_DS.var.hp); ds_ampl = agc_quad_rr(s->RR_DS_low, s->RR_reset_point, phase, s->filters.RC_F_DS.var.lp); /* round-robin-4-peak-envelope-follower tracking the general signal level */ amp = agc_quad_rr(s->RR_signal, s->RR_reset_point, phase, input); /* raw-amplification-factor limited to maximum allowed ratio */ factor = s->limit / (amp + 0.0001f); if (factor > s->ratio) factor = s->ratio; /* so we can know how much attenuation was applied this is stored */ orig_factor = factor; /* if below noise-floor, attenuate signal */ if (amp < s->nr_onthres) s->nr_state = 1; if (amp > s->nr_offthres) s->nr_state = 0; if (s->nr_state==1) factor *= s->nr_gain; /* if de-esser says there are only high frequencies, attenuate signal */ if (ds_amph * s->ds_bias > ds_ampl * 1.3333333f) s->ds_state = 1; if (ds_amph * s->ds_bias < ds_ampl * 0.75f) s->ds_state = 0; if (s->ds_state == 1) factor *= s->ds_gain; /* modulate gain-factor */ if (s->gain < factor) s->gain += s->gain_interval_amount; if (s->gain > factor) s->gain -= s->gain_interval_amount; /* ducking is optional and must not work when the mic is closed */ if (mic_is_mute || s->use_ducker == 0) { if (s->df < 1.0f) s->df += s->ducker_release; else s->df = 1.0f; } else { /* calculate ducking factor */ duck_amp = 1.0f - factor * amp; /* if duck-amp is below the minimum-allowed level (limit enforces some headroom) * then limit duck-amp to that minimum-allowed level. This ensures, that if the * microphone-headroom is set to a sensible value (-2..-3dB) there still is some * music audiable in the background... */ if (duck_amp < 1.0f - s->limit) { duck_amp = 1.0f - s->limit; } /* ducker is "opened" fast (same rate as agc -> 10ms) * but closed more slowly... */ if (s->df < duck_amp) { if (s->ducker_hold_timer == 0) { s->df += s->ducker_release; if (s->df > 1.0f) s->df = 1.0f; } else s->ducker_hold_timer--; } if (s->df > duck_amp) { s->df -= s->ducker_attack; s->ducker_hold_timer = s->ducker_hold_timer_resetval; if (s->df < 0.00000001f) s->df = 0.00000001f; } } /* maintain a peak hold gain figure for the GUI compression meter * essentially this is metadata */ if ((s->out_pos & 0x7) == 0) { s->meter_signal_cap = orig_factor / s->ratio; s->meter_de_ess = s->ds_state ? s->ds_gain : 1.0f; s->meter_noise_gate = s->nr_state ? s->nr_gain : 1.0f; } } } float agc_process_stage3(struct agc *s) { /* modulate delayed signal with gain */ return s->buffer[s->out_pos % s->buffer_len] * s->host->gain; } void agc_get_meter_levels(struct agc *s, int *signal_cap, int *de_ess, int *noise_gate) { int level2db(float level) { return (int)(log10f(level) * -20.0f); } *signal_cap = (int)level2db(s->meter_signal_cap); *de_ess = (int)level2db(s->meter_de_ess); *noise_gate = (int)level2db(s->meter_noise_gate); } float agc_get_ducking_factor(struct agc *s) { return s->df; } void agc_reset(struct agc *s) { struct agc_RC_Filter *f, *end; /* wipe variables of all filters */ for (f = (struct agc_RC_Filter *)&s->filters, end = (struct agc_RC_Filter *)((&s->filters) + 1); f < end; ++f) { memset(&f->var, 0, sizeof f->var); } /* wipe audio buffer */ memset(s->buffer, 0, s->buffer_len); /* wipe indicator settings */ s->df = s->meter_signal_cap = s->meter_de_ess = s->meter_noise_gate = 1.0f; } static void setup_ratio(struct agc *s, float ratio_db) { s->ratio = powf(10.0f, ratio_db / 20.0f); s->gain_interval_amount = s->ratio / s->buffer_len; } static void setup_subsonic(struct agc *s, float fCutoff) { struct agc_RC_Coe *c; for (int i = 0; i < 4; ++i) { c = &s->filters.RC_HPF_initial[i].coe; c->f = fCutoff; c->q = 0.375f; c->a = 1.0f - (1.0f/s->sRate) / ((1.0f / (c->f * 2.0f * M_PI)) + (1.0f/s->sRate)); c->b = 1.0f - c->a; c->c = (1.0f/(c->f * 2.0f * M_PI)) / ((1.0f/(c->f * 2.0f * M_PI)) + (1.0f/s->sRate)); } } static void setup_lfdetail(struct agc *s, float multi, float fCutoff) { struct agc_RC_Coe *c = &s->filters.RC_LPF_detail.coe; s->lf_detail = multi; c->f = fCutoff; c->q = 0.375f; c->a = 1.0f - (1.0f/s->sRate) / ((1.0f / (c->f * 2.0f * M_PI)) + (1.0f/s->sRate)); c->b = 1.0f - c->a; c->c = (1.0f / (c->f * 2.0f * M_PI)) / ((1.0f / (c->f * 2.0f * M_PI)) + (1.0f / s->sRate)); } static void setup_hfdetail(struct agc *s, float multi, float fCutoff) { struct agc_RC_Coe *c = &s->filters.RC_HPF_detail.coe; s->hf_detail = multi; c->f = fCutoff; c->q = 0.375f; c->a = 1.0f - (1.0f / s->sRate) / ((1.0f / (c->f * 2.0f * M_PI)) + (1.0f / s->sRate)); c->b = 1.0f - c->a; c->c = (1.0f / (c->f * 2.0f * M_PI)) / ((1.0f / (c->f * 2.0f * M_PI)) + (1.0f / s->sRate)); } static void control_phaserotate(struct agc *s, char *value) { s->use_phaserotator = (value[0] == '1'); } static void control_gain(struct agc *s, char *value) { setup_ratio(s, strtof(value, NULL)); } static void control_limit(struct agc *s, char *value) { s->limit = powf(2.0f, strtof(value, NULL) / 6.0f); } static void control_ngthresh(struct agc *s, char *value) { s->nr_onthres = powf(2.0f, (strtof(value, NULL) - 1.0f) / 6.0f); s->nr_offthres = powf(2.0f, (strtof(value, NULL) + 1.0f) / 6.0f); } static void control_nggain(struct agc *s, char *value) { s->nr_gain = powf(2.0f, strtof(value, NULL) / 6.0f); } static void control_duckenable(struct agc *s, char *value) { s->use_ducker = (value[0] == '1'); } static void control_duckrelease(struct agc *s, char *value) { s->ducker_release = 1000.0f / (strtof(value, NULL) * s->sRate); } static void control_duckhold(struct agc *s, char *value) { s->ducker_hold_timer_resetval = atoi(value) * s->sRate / 1000; } static void control_deessbias(struct agc *s, char *value) { s->ds_bias = strtof(value, NULL); } static void control_deessgain(struct agc *s, char *value) { s->ds_gain = powf(2.0f, strtof(value, NULL) / 6.0f); } static void control_hpcutoff(struct agc *s, char *value) { setup_subsonic(s, strtof(value, NULL)); } static void control_hpstages(struct agc *s, char *value) { s->hpstages = (int)(strtof(value, NULL) + 0.5f); } static void control_hfmulti(struct agc *s, char *value) { setup_hfdetail(s, strtof(value, NULL), s->filters.RC_HPF_detail.coe.f); } static void control_hfcutoff(struct agc *s, char *value) { setup_hfdetail(s, s->hf_detail, strtof(value, NULL)); } static void control_lfmulti(struct agc *s, char *value) { setup_lfdetail(s, strtof(value, NULL), s->filters.RC_LPF_detail.coe.f); } static void control_lfcutoff(struct agc *s, char *value) { setup_lfdetail(s, s->lf_detail, strtof(value, NULL)); } static void free_control_hash_table() { g_hash_table_destroy(control_ht); } static void setup_control_hash_table() { struct { char *key; void (*value)(struct agc *, char *); } *htdp, htdata[] = { {"phaserotate", control_phaserotate}, {"gain", control_gain}, {"limit", control_limit}, {"ngthresh", control_ngthresh}, {"nggain", control_nggain}, {"duckenable", control_duckenable}, {"duckrelease", control_duckrelease}, {"duckhold", control_duckhold}, {"deessbias", control_deessbias}, {"deessgain", control_deessgain}, {"hpcutoff", control_hpcutoff}, {"hpstages", control_hpstages}, {"hfmulti", control_hfmulti}, {"hfcutoff", control_hfcutoff}, {"lfmulti", control_lfmulti}, {"lfcutoff", control_lfcutoff}, {NULL, NULL}}; if (!(control_ht = g_hash_table_new(g_str_hash, g_str_equal))) { fprintf(stderr, "agc setup_control_hash_table failed\n"); return; } for (htdp = htdata; htdp->key; ++htdp) g_hash_table_insert(control_ht, htdp->key, htdp->value); atexit(free_control_hash_table); } void agc_control(struct agc *s, char *key, char *value) { void (*fn)(struct agc *, char *); if (!(fn = g_hash_table_lookup(control_ht, key))) fprintf(stderr, "agc_control: lookup error for key %s\n", key); else fn(s, value); } void agc_set_as_partners(struct agc *agc1, struct agc *agc2) { agc1->partner = agc2; agc2->partner = agc1; } void agc_set_partnered_mode(struct agc *s, int boolean) { if (boolean) s->host = s->partner; else s->host = s; } struct agc *agc_init(int sRate, float lookahead, int id) { struct agc *s; struct agc_RC_Coe *c; static pthread_once_t control_hash_table_once = PTHREAD_ONCE_INIT; pthread_once(&control_hash_table_once, setup_control_hash_table); if (!(s = calloc(1, sizeof (struct agc)))) { fprintf(stderr, "agc_init: malloc failure\n"); return NULL; } if (!(s->buffer = calloc((s->buffer_len = (s->sRate = sRate) * lookahead), sizeof (float)))) { fprintf(stderr, "agc_init: malloc failure\n"); free(s); return NULL; } s->id = id; s->host = s->partner = s; { /* determine the phase points for the envelope followers */ int p4 = s->buffer_len * 2; s->RR_reset_point[0] = 0; s->RR_reset_point[1] = p4 * 1 / 4; s->RR_reset_point[2] = p4 * 2 / 4; s->RR_reset_point[3] = p4 * 3 / 4; } setup_ratio(s, 3.0f);/* 3:1 "compression" */ s->limit = 0.707f; /* signal level to top out at */ s->in_pos = s->buffer_len - 1; s->out_pos = 1; s->gain = 0.0f; s->nr_onthres = 0.1f; /* silence detection level */ s->nr_offthres = 0.1001f; /* non-silence detection level */ s->nr_gain = 0.5f; /* if silence detected reduce gain by 6dB */ s->ds_bias = 0.35f; /* lpf * bias / hpf exceeds 1 for de-esser to go active */ s->ds_gain = 0.5f; /* attenuate signal by this amount */ s->meter_signal_cap = s->meter_de_ess = s->meter_noise_gate = 1.0f; /* setup coefficients for the ducker */ s->ducker_release = 1.0f / (0.250f * s->sRate); /* 250ms */ s->ducker_attack = 1.0f / s->buffer_len; /* same as lookahead delay */ s->ducker_hold_timer_resetval = 0.500f * s->sRate; /* 500ms */ s->df = 1.0f; /* setup coefficients for the subsonic-and-DC-killer-RC-highpass */ setup_subsonic(s, 100.0f); s->hpstages = 4; /* setup coefficients for the HF-Detail highpass */ setup_hfdetail(s, 4.0f, 2000.0f); /* setup coefficients for the LF-Detail lowpass */ setup_lfdetail(s, 4.0f, 150.0f); /* setup coefficients for the phase rotator */ s->use_phaserotator = 1; for (int i = 0; i < 4; ++i) { c = &s->filters.RC_PHR[i].coe; c->f = 300.0f; c->q = 0.0f; c->a = 1.0f - (1.0f / s->sRate) / ((1.0f/(c->f * 2.0f * M_PI)) + (1.0f / s->sRate)); c->b = 1.0f - c->a; c->c = (1.0f / (c->f * 2.0f * M_PI)) / ((1.0f / (c->f * 2.0f * M_PI)) + (1.0f / s->sRate)); } /* setup coefficients for the de-esser-sidechain highpass/lowpass filter */ c = &s->filters.RC_F_DS.coe; c->f = 1000.0f; c->q = 1.000f; c->a = 1.0f - (1.0f / s->sRate) / ((1.0f / (c->f * 2.0f * M_PI)) + (1.0f / s->sRate)); c->b = 1.0f - c->a; c->c = (1.0f / (c->f * 2.0f * M_PI)) / ((1.0f / (c->f * 2.0f * M_PI)) + (1.0f / s->sRate)); return s; } void agc_free(struct agc *s) { free(s->buffer); free(s); } idjc-0.8.9/c/mpg123.h0000644000175000017500000016614212114637001010773 00000000000000/* libmpg123: MPEG Audio Decoder library (version 1.14.2) copyright 1995-2010 by the mpg123 project - free software under the terms of the LGPL 2.1 see COPYING and AUTHORS files in distribution or http://mpg123.org */ #ifndef MPG123_LIB_H #define MPG123_LIB_H /** \file mpg123.h The header file for the libmpg123 MPEG Audio decoder */ /* A macro to check at compile time which set of API functions to expect. This should be incremented at least each time a new symbol is added to the header. */ #define MPG123_API_VERSION 36 /* These aren't actually in use... seems to work without using libtool. */ #ifdef BUILD_MPG123_DLL /* The dll exports. */ #define EXPORT __declspec(dllexport) #else #ifdef LINK_MPG123_DLL /* The exe imports. */ #define EXPORT __declspec(dllimport) #else /* Nothing on normal/UNIX builds */ #define EXPORT #endif #endif #ifndef MPG123_NO_CONFIGURE /* Enable use of this file without configure. */ #include #include /* Simplified large file handling. I used to have a check here that prevents building for a library with conflicting large file setup (application that uses 32 bit offsets with library that uses 64 bits). While that was perfectly fine in an environment where there is one incarnation of the library, it hurt GNU/Linux and Solaris systems with multilib where the distribution fails to provide the correct header matching the 32 bit library (where large files need explicit support) or the 64 bit library (where there is no distinction). New approach: When the app defines _FILE_OFFSET_BITS, it wants non-default large file support, and thus functions with added suffix (mpg123_open_64). Any mismatch will be caught at link time because of the _FILE_OFFSET_BITS setting used when building libmpg123. Plus, there's dual mode large file support in mpg123 since 1.12 now. Link failure is not the expected outcome of any half-sane usage anymore. More complication: What about client code defining _LARGEFILE64_SOURCE? It might want direct access to the _64 functions, along with the ones without suffix. Well, that's possible now via defining MPG123_NO_LARGENAME and MPG123_LARGESUFFIX, respectively, for disabling or enforcing the suffix names. */ /* Now, the renaming of large file aware functions. By default, it appends underscore _FILE_OFFSET_BITS (so, mpg123_seek_64 for mpg123_seek), if _FILE_OFFSET_BITS is defined. You can force a different suffix via MPG123_LARGESUFFIX (that must include the underscore), or you can just disable the whole mess by defining MPG123_NO_LARGENAME. */ #if (!defined MPG123_NO_LARGENAME) && ((defined _FILE_OFFSET_BITS) || (defined MPG123_LARGESUFFIX)) /* Need some trickery to concatenate the value(s) of the given macro(s). */ #define MPG123_MACROCAT_REALLY(a, b) a ## b #define MPG123_MACROCAT(a, b) MPG123_MACROCAT_REALLY(a, b) #ifndef MPG123_LARGESUFFIX #define MPG123_LARGESUFFIX MPG123_MACROCAT(_, _FILE_OFFSET_BITS) #endif #define MPG123_LARGENAME(func) MPG123_MACROCAT(func, MPG123_LARGESUFFIX) #define mpg123_open MPG123_LARGENAME(mpg123_open) #define mpg123_open_fd MPG123_LARGENAME(mpg123_open_fd) #define mpg123_open_handle MPG123_LARGENAME(mpg123_open_handle) #define mpg123_framebyframe_decode MPG123_LARGENAME(mpg123_framebyframe_decode) #define mpg123_decode_frame MPG123_LARGENAME(mpg123_decode_frame) #define mpg123_tell MPG123_LARGENAME(mpg123_tell) #define mpg123_tellframe MPG123_LARGENAME(mpg123_tellframe) #define mpg123_tell_stream MPG123_LARGENAME(mpg123_tell_stream) #define mpg123_seek MPG123_LARGENAME(mpg123_seek) #define mpg123_feedseek MPG123_LARGENAME(mpg123_feedseek) #define mpg123_seek_frame MPG123_LARGENAME(mpg123_seek_frame) #define mpg123_timeframe MPG123_LARGENAME(mpg123_timeframe) #define mpg123_index MPG123_LARGENAME(mpg123_index) #define mpg123_set_index MPG123_LARGENAME(mpg123_set_index) #define mpg123_position MPG123_LARGENAME(mpg123_position) #define mpg123_length MPG123_LARGENAME(mpg123_length) #define mpg123_set_filesize MPG123_LARGENAME(mpg123_set_filesize) #define mpg123_replace_reader MPG123_LARGENAME(mpg123_replace_reader) #define mpg123_replace_reader_handle MPG123_LARGENAME(mpg123_replace_reader_handle) #define mpg123_framepos MPG123_LARGENAME(mpg123_framepos) #endif /* largefile hackery */ #endif /* MPG123_NO_CONFIGURE */ #ifdef __cplusplus extern "C" { #endif /** \defgroup mpg123_init mpg123 library and handle setup * * Functions to initialise and shutdown the mpg123 library and handles. * The parameters of handles have workable defaults, you only have to tune them when you want to tune something;-) * Tip: Use a RVA setting... * * @{ */ /** Opaque structure for the libmpg123 decoder handle. */ struct mpg123_handle_struct; /** Opaque structure for the libmpg123 decoder handle. * Most functions take a pointer to a mpg123_handle as first argument and operate on its data in an object-oriented manner. */ typedef struct mpg123_handle_struct mpg123_handle; /** Function to initialise the mpg123 library. * This function is not thread-safe. Call it exactly once per process, before any other (possibly threaded) work with the library. * * \return MPG123_OK if successful, otherwise an error number. */ EXPORT int mpg123_init(void); /** Function to close down the mpg123 library. * This function is not thread-safe. Call it exactly once per process, before any other (possibly threaded) work with the library. */ EXPORT void mpg123_exit(void); /** Create a handle with optional choice of decoder (named by a string, see mpg123_decoders() or mpg123_supported_decoders()). * and optional retrieval of an error code to feed to mpg123_plain_strerror(). * Optional means: Any of or both the parameters may be NULL. * * \return Non-NULL pointer when successful. */ EXPORT mpg123_handle *mpg123_new(const char* decoder, int *error); /** Delete handle, mh is either a valid mpg123 handle or NULL. */ EXPORT void mpg123_delete(mpg123_handle *mh); /** Enumeration of the parameters types that it is possible to set/get. */ enum mpg123_parms { MPG123_VERBOSE = 0, /**< set verbosity value for enabling messages to stderr, >= 0 makes sense (integer) */ MPG123_FLAGS, /**< set all flags, p.ex val = MPG123_GAPLESS|MPG123_MONO_MIX (integer) */ MPG123_ADD_FLAGS, /**< add some flags (integer) */ MPG123_FORCE_RATE, /**< when value > 0, force output rate to that value (integer) */ MPG123_DOWN_SAMPLE, /**< 0=native rate, 1=half rate, 2=quarter rate (integer) */ MPG123_RVA, /**< one of the RVA choices above (integer) */ MPG123_DOWNSPEED, /**< play a frame N times (integer) */ MPG123_UPSPEED, /**< play every Nth frame (integer) */ MPG123_START_FRAME, /**< start with this frame (skip frames before that, integer) */ MPG123_DECODE_FRAMES, /**< decode only this number of frames (integer) */ MPG123_ICY_INTERVAL, /**< stream contains ICY metadata with this interval (integer) */ MPG123_OUTSCALE, /**< the scale for output samples (amplitude - integer or float according to mpg123 output format, normally integer) */ MPG123_TIMEOUT, /**< timeout for reading from a stream (not supported on win32, integer) */ MPG123_REMOVE_FLAGS, /**< remove some flags (inverse of MPG123_ADD_FLAGS, integer) */ MPG123_RESYNC_LIMIT, /**< Try resync on frame parsing for that many bytes or until end of stream (<0 ... integer). This can enlarge the limit for skipping junk on beginning, too (but not reduce it). */ MPG123_INDEX_SIZE /**< Set the frame index size (if supported). Values <0 mean that the index is allowed to grow dynamically in these steps (in positive direction, of course) -- Use this when you really want a full index with every individual frame. */ ,MPG123_PREFRAMES /**< Decode/ignore that many frames in advance for layer 3. This is needed to fill bit reservoir after seeking, for example (but also at least one frame in advance is needed to have all "normal" data for layer 3). Give a positive integer value, please.*/ ,MPG123_FEEDPOOL /**< For feeder mode, keep that many buffers in a pool to avoid frequent malloc/free. The pool is allocated on mpg123_open_feed(). If you change this parameter afterwards, you can trigger growth and shrinkage during decoding. The default value could change any time. If you care about this, then set it. (integer) */ ,MPG123_FEEDBUFFER /**< Minimal size of one internal feeder buffer, again, the default value is subject to change. (integer) */ }; /** Flag bits for MPG123_FLAGS, use the usual binary or to combine. */ enum mpg123_param_flags { MPG123_FORCE_MONO = 0x7 /**< 0111 Force some mono mode: This is a test bitmask for seeing if any mono forcing is active. */ ,MPG123_MONO_LEFT = 0x1 /**< 0001 Force playback of left channel only. */ ,MPG123_MONO_RIGHT = 0x2 /**< 0010 Force playback of right channel only. */ ,MPG123_MONO_MIX = 0x4 /**< 0100 Force playback of mixed mono. */ ,MPG123_FORCE_STEREO = 0x8 /**< 1000 Force stereo output. */ ,MPG123_FORCE_8BIT = 0x10 /**< 00010000 Force 8bit formats. */ ,MPG123_QUIET = 0x20 /**< 00100000 Suppress any printouts (overrules verbose). */ ,MPG123_GAPLESS = 0x40 /**< 01000000 Enable gapless decoding (default on if libmpg123 has support). */ ,MPG123_NO_RESYNC = 0x80 /**< 10000000 Disable resync stream after error. */ ,MPG123_SEEKBUFFER = 0x100 /**< 000100000000 Enable small buffer on non-seekable streams to allow some peek-ahead (for better MPEG sync). */ ,MPG123_FUZZY = 0x200 /**< 001000000000 Enable fuzzy seeks (guessing byte offsets or using approximate seek points from Xing TOC) */ ,MPG123_FORCE_FLOAT = 0x400 /**< 010000000000 Force floating point output (32 or 64 bits depends on mpg123 internal precision). */ ,MPG123_PLAIN_ID3TEXT = 0x800 /**< 100000000000 Do not translate ID3 text data to UTF-8. ID3 strings will contain the raw text data, with the first byte containing the ID3 encoding code. */ ,MPG123_IGNORE_STREAMLENGTH = 0x1000 /**< 1000000000000 Ignore any stream length information contained in the stream, which can be contained in a 'TLEN' frame of an ID3v2 tag or a Xing tag */ ,MPG123_SKIP_ID3V2 = 0x2000 /**< 10 0000 0000 0000 Do not parse ID3v2 tags, just skip them. */ ,MPG123_IGNORE_INFOFRAME = 0x4000 /**< 100 0000 0000 0000 Do not parse the LAME/Xing info frame, treat it as normal MPEG data. */ ,MPG123_AUTO_RESAMPLE = 0x8000 /**< 1000 0000 0000 0000 Allow automatic internal resampling of any kind (default on if supported). Especially when going lowlevel with replacing output buffer, you might want to unset this flag. Setting MPG123_DOWNSAMPLE or MPG123_FORCE_RATE will override this. */ }; /** choices for MPG123_RVA */ enum mpg123_param_rva { MPG123_RVA_OFF = 0 /**< RVA disabled (default). */ ,MPG123_RVA_MIX = 1 /**< Use mix/track/radio gain. */ ,MPG123_RVA_ALBUM = 2 /**< Use album/audiophile gain */ ,MPG123_RVA_MAX = MPG123_RVA_ALBUM /**< The maximum RVA code, may increase in future. */ }; /* TODO: Assess the possibilities and troubles of changing parameters during playback. */ /** Set a specific parameter, for a specific mpg123_handle, using a parameter * type key chosen from the mpg123_parms enumeration, to the specified value. */ EXPORT int mpg123_param(mpg123_handle *mh, enum mpg123_parms type, long value, double fvalue); /** Get a specific parameter, for a specific mpg123_handle. * See the mpg123_parms enumeration for a list of available parameters. */ EXPORT int mpg123_getparam(mpg123_handle *mh, enum mpg123_parms type, long *val, double *fval); /** Feature set available for query with mpg123_feature. */ enum mpg123_feature_set { MPG123_FEATURE_ABI_UTF8OPEN = 0 /**< mpg123 expects path names to be given in UTF-8 encoding instead of plain native. */ ,MPG123_FEATURE_OUTPUT_8BIT /**< 8bit output */ ,MPG123_FEATURE_OUTPUT_16BIT /**< 16bit output */ ,MPG123_FEATURE_OUTPUT_32BIT /**< 32bit output */ ,MPG123_FEATURE_INDEX /**< support for building a frame index for accurate seeking */ ,MPG123_FEATURE_PARSE_ID3V2 /**< id3v2 parsing */ ,MPG123_FEATURE_DECODE_LAYER1 /**< mpeg layer-1 decoder enabled */ ,MPG123_FEATURE_DECODE_LAYER2 /**< mpeg layer-2 decoder enabled */ ,MPG123_FEATURE_DECODE_LAYER3 /**< mpeg layer-3 decoder enabled */ ,MPG123_FEATURE_DECODE_ACCURATE /**< accurate decoder rounding */ ,MPG123_FEATURE_DECODE_DOWNSAMPLE /**< downsample (sample omit) */ ,MPG123_FEATURE_DECODE_NTOM /**< flexible rate decoding */ ,MPG123_FEATURE_PARSE_ICY /**< ICY support */ ,MPG123_FEATURE_TIMEOUT_READ /**< Reader with timeout (network). */ }; /** Query libmpg123 feature, 1 for success, 0 for unimplemented functions. */ EXPORT int mpg123_feature(const enum mpg123_feature_set key); /* @} */ /** \defgroup mpg123_error mpg123 error handling * * Functions to get text version of the error numbers and an enumeration * of the error codes returned by libmpg123. * * Most functions operating on a mpg123_handle simply return MPG123_OK on success and MPG123_ERR on failure (setting the internal error variable of the handle to the specific error code). * Decoding/seek functions may also return message codes MPG123_DONE, MPG123_NEW_FORMAT and MPG123_NEED_MORE (please read up on these on how to react!). * The positive range of return values is used for "useful" values when appropriate. * * @{ */ /** Enumeration of the message and error codes and returned by libmpg123 functions. */ enum mpg123_errors { MPG123_DONE=-12, /**< Message: Track ended. Stop decoding. */ MPG123_NEW_FORMAT=-11, /**< Message: Output format will be different on next call. Note that some libmpg123 versions between 1.4.3 and 1.8.0 insist on you calling mpg123_getformat() after getting this message code. Newer verisons behave like advertised: You have the chance to call mpg123_getformat(), but you can also just continue decoding and get your data. */ MPG123_NEED_MORE=-10, /**< Message: For feed reader: "Feed me more!" (call mpg123_feed() or mpg123_decode() with some new input data). */ MPG123_ERR=-1, /**< Generic Error */ MPG123_OK=0, /**< Success */ MPG123_BAD_OUTFORMAT, /**< Unable to set up output format! */ MPG123_BAD_CHANNEL, /**< Invalid channel number specified. */ MPG123_BAD_RATE, /**< Invalid sample rate specified. */ MPG123_ERR_16TO8TABLE, /**< Unable to allocate memory for 16 to 8 converter table! */ MPG123_BAD_PARAM, /**< Bad parameter id! */ MPG123_BAD_BUFFER, /**< Bad buffer given -- invalid pointer or too small size. */ MPG123_OUT_OF_MEM, /**< Out of memory -- some malloc() failed. */ MPG123_NOT_INITIALIZED, /**< You didn't initialize the library! */ MPG123_BAD_DECODER, /**< Invalid decoder choice. */ MPG123_BAD_HANDLE, /**< Invalid mpg123 handle. */ MPG123_NO_BUFFERS, /**< Unable to initialize frame buffers (out of memory?). */ MPG123_BAD_RVA, /**< Invalid RVA mode. */ MPG123_NO_GAPLESS, /**< This build doesn't support gapless decoding. */ MPG123_NO_SPACE, /**< Not enough buffer space. */ MPG123_BAD_TYPES, /**< Incompatible numeric data types. */ MPG123_BAD_BAND, /**< Bad equalizer band. */ MPG123_ERR_NULL, /**< Null pointer given where valid storage address needed. */ MPG123_ERR_READER, /**< Error reading the stream. */ MPG123_NO_SEEK_FROM_END,/**< Cannot seek from end (end is not known). */ MPG123_BAD_WHENCE, /**< Invalid 'whence' for seek function.*/ MPG123_NO_TIMEOUT, /**< Build does not support stream timeouts. */ MPG123_BAD_FILE, /**< File access error. */ MPG123_NO_SEEK, /**< Seek not supported by stream. */ MPG123_NO_READER, /**< No stream opened. */ MPG123_BAD_PARS, /**< Bad parameter handle. */ MPG123_BAD_INDEX_PAR, /**< Bad parameters to mpg123_index() and mpg123_set_index() */ MPG123_OUT_OF_SYNC, /**< Lost track in bytestream and did not try to resync. */ MPG123_RESYNC_FAIL, /**< Resync failed to find valid MPEG data. */ MPG123_NO_8BIT, /**< No 8bit encoding possible. */ MPG123_BAD_ALIGN, /**< Stack aligmnent error */ MPG123_NULL_BUFFER, /**< NULL input buffer with non-zero size... */ MPG123_NO_RELSEEK, /**< Relative seek not possible (screwed up file offset) */ MPG123_NULL_POINTER, /**< You gave a null pointer somewhere where you shouldn't have. */ MPG123_BAD_KEY, /**< Bad key value given. */ MPG123_NO_INDEX, /**< No frame index in this build. */ MPG123_INDEX_FAIL, /**< Something with frame index went wrong. */ MPG123_BAD_DECODER_SETUP, /**< Something prevents a proper decoder setup */ MPG123_MISSING_FEATURE /**< This feature has not been built into libmpg123. */ ,MPG123_BAD_VALUE /**< A bad value has been given, somewhere. */ ,MPG123_LSEEK_FAILED /**< Low-level seek failed. */ ,MPG123_BAD_CUSTOM_IO /**< Custom I/O not prepared. */ ,MPG123_LFS_OVERFLOW /**< Offset value overflow during translation of large file API calls -- your client program cannot handle that large file. */ ,MPG123_INT_OVERFLOW /**< Some integer overflow. */ }; /** Return a string describing that error errcode means. */ EXPORT const char* mpg123_plain_strerror(int errcode); /** Give string describing what error has occured in the context of handle mh. * When a function operating on an mpg123 handle returns MPG123_ERR, you should check for the actual reason via * char *errmsg = mpg123_strerror(mh) * This function will catch mh == NULL and return the message for MPG123_BAD_HANDLE. */ EXPORT const char* mpg123_strerror(mpg123_handle *mh); /** Return the plain errcode intead of a string. */ EXPORT int mpg123_errcode(mpg123_handle *mh); /*@}*/ /** \defgroup mpg123_decoder mpg123 decoder selection * * Functions to list and select the available decoders. * Perhaps the most prominent feature of mpg123: You have several (optimized) decoders to choose from (on x86 and PPC (MacOS) systems, that is). * * @{ */ /** Return a NULL-terminated array of generally available decoder names (plain 8bit ASCII). */ EXPORT const char **mpg123_decoders(void); /** Return a NULL-terminated array of the decoders supported by the CPU (plain 8bit ASCII). */ EXPORT const char **mpg123_supported_decoders(void); /** Set the chosen decoder to 'decoder_name' */ EXPORT int mpg123_decoder(mpg123_handle *mh, const char* decoder_name); /** Get the currently active decoder engine name. The active decoder engine can vary depening on output constraints, mostly non-resampling, integer output is accelerated via 3DNow & Co. but for other modes a fallback engine kicks in. Note that this can return a decoder that is ony active in the hidden and not available as decoder choice from the outside. \return The decoder name or NULL on error. */ EXPORT const char* mpg123_current_decoder(mpg123_handle *mh); /*@}*/ /** \defgroup mpg123_output mpg123 output audio format * * Functions to get and select the format of the decoded audio. * * Before you dive in, please be warned that you might get confused by this. This seems to happen a lot, therefore I am trying to explain in advance. * * The mpg123 library decides what output format to use when encountering the first frame in a stream, or actually any frame that is still valid but differs from the frames before in the prompted output format. At such a deciding point, an internal table of allowed encodings, sampling rates and channel setups is consulted. According to this table, an output format is chosen and the decoding engine set up accordingly (including ptimized routines for different output formats). This might seem unusual but it just follows from the non-existence of "MPEG audio files" with defined overall properties. There are streams, streams are concatenations of (semi) independent frames. We store streams on disk and call them "MPEG audio files", but that does not change their nature as the decoder is concerned (the LAME/Xing header for gapless decoding makes things interesting again). * * To get to the point: What you do with mpg123_format() and friends is to fill the internal table of allowed formats before it is used. That includes removing support for some formats or adding your forced sample rate (see MPG123_FORCE_RATE) that will be used with the crude internal resampler. Also keep in mind that the sample encoding is just a question of choice -- the MPEG frames do only indicate their native sampling rate and channel count. If you want to decode to integer or float samples, 8 or 16 bit ... that is your decision. In a "clean" world, libmpg123 would always decode to 32 bit float and let you handle any sample conversion. But there are optimized routines that work faster by directly decoding to the desired encoding / accuracy. We prefer efficiency over conceptual tidyness. * * People often start out thinking that mpg123_format() should change the actual decoding format on the fly. That is wrong. It only has effect on the next natural change of output format, when libmpg123 will consult its format table again. To make life easier, you might want to call mpg123_format_none() before any thing else and then just allow one desired encoding and a limited set of sample rates / channel choices that you actually intend to deal with. You can force libmpg123 to decode everything to 44100 KHz, stereo, 16 bit integer ... it will duplicate mono channels and even do resampling if needed (unless that feature is disabled in the build, same with some encodings). But I have to stress that the resampling of libmpg123 is very crude and doesn't even contain any kind of "proper" interpolation. * * In any case, watch out for MPG123_NEW_FORMAT as return message from decoding routines and call mpg123_getformat() to get the currently active output format. * * @{ */ /** An enum over all sample types possibly known to mpg123. * The values are designed as bit flags to allow bitmasking for encoding families. * * Note that (your build of) libmpg123 does not necessarily support all these. * Usually, you can expect the 8bit encodings and signed 16 bit. * Also 32bit float will be usual beginning with mpg123-1.7.0 . * What you should bear in mind is that (SSE, etc) optimized routines may be absent * for some formats. We do have SSE for 16, 32 bit and float, though. * 24 bit integer is done via postprocessing of 32 bit output -- just cutting * the last byte, no rounding, even. If you want better, do it yourself. * * All formats are in native byte order. If you need different endinaness, you * can simply postprocess the output buffers (libmpg123 wouldn't do anything else). * mpg123_encsize() can be helpful there. */ enum mpg123_enc_enum { MPG123_ENC_8 = 0x00f /**< 0000 0000 1111 Some 8 bit integer encoding. */ ,MPG123_ENC_16 = 0x040 /**< 0000 0100 0000 Some 16 bit integer encoding. */ ,MPG123_ENC_24 = 0x4000 /**< 0100 0000 0000 0000 Some 24 bit integer encoding. */ ,MPG123_ENC_32 = 0x100 /**< 0001 0000 0000 Some 32 bit integer encoding. */ ,MPG123_ENC_SIGNED = 0x080 /**< 0000 1000 0000 Some signed integer encoding. */ ,MPG123_ENC_FLOAT = 0xe00 /**< 1110 0000 0000 Some float encoding. */ ,MPG123_ENC_SIGNED_16 = (MPG123_ENC_16|MPG123_ENC_SIGNED|0x10) /**< 1101 0000 signed 16 bit */ ,MPG123_ENC_UNSIGNED_16 = (MPG123_ENC_16|0x20) /**< 0110 0000 unsigned 16 bit */ ,MPG123_ENC_UNSIGNED_8 = 0x01 /**< 0000 0001 unsigned 8 bit */ ,MPG123_ENC_SIGNED_8 = (MPG123_ENC_SIGNED|0x02) /**< 1000 0010 signed 8 bit */ ,MPG123_ENC_ULAW_8 = 0x04 /**< 0000 0100 ulaw 8 bit */ ,MPG123_ENC_ALAW_8 = 0x08 /**< 0000 1000 alaw 8 bit */ ,MPG123_ENC_SIGNED_32 = MPG123_ENC_32|MPG123_ENC_SIGNED|0x1000 /**< 0001 0001 1000 0000 signed 32 bit */ ,MPG123_ENC_UNSIGNED_32 = MPG123_ENC_32|0x2000 /**< 0010 0001 0000 0000 unsigned 32 bit */ ,MPG123_ENC_SIGNED_24 = MPG123_ENC_24|MPG123_ENC_SIGNED|0x1000 /**< 0101 0000 1000 0000 signed 24 bit */ ,MPG123_ENC_UNSIGNED_24 = MPG123_ENC_24|0x2000 /**< 0110 0000 0000 0000 unsigned 24 bit */ ,MPG123_ENC_FLOAT_32 = 0x200 /**< 0010 0000 0000 32bit float */ ,MPG123_ENC_FLOAT_64 = 0x400 /**< 0100 0000 0000 64bit float */ ,MPG123_ENC_ANY = ( MPG123_ENC_SIGNED_16 | MPG123_ENC_UNSIGNED_16 | MPG123_ENC_UNSIGNED_8 | MPG123_ENC_SIGNED_8 | MPG123_ENC_ULAW_8 | MPG123_ENC_ALAW_8 | MPG123_ENC_SIGNED_32 | MPG123_ENC_UNSIGNED_32 | MPG123_ENC_SIGNED_24 | MPG123_ENC_UNSIGNED_24 | MPG123_ENC_FLOAT_32 | MPG123_ENC_FLOAT_64 ) /**< Any encoding on the list. */ }; /** They can be combined into one number (3) to indicate mono and stereo... */ enum mpg123_channelcount { MPG123_MONO = 1 ,MPG123_STEREO = 2 }; /** An array of supported standard sample rates * These are possible native sample rates of MPEG audio files. * You can still force mpg123 to resample to a different one, but by default you will only get audio in one of these samplings. * \param list Store a pointer to the sample rates array there. * \param number Store the number of sample rates there. */ EXPORT void mpg123_rates(const long **list, size_t *number); /** An array of supported audio encodings. * An audio encoding is one of the fully qualified members of mpg123_enc_enum (MPG123_ENC_SIGNED_16, not MPG123_SIGNED). * \param list Store a pointer to the encodings array there. * \param number Store the number of encodings there. */ EXPORT void mpg123_encodings(const int **list, size_t *number); /** Return the size (in bytes) of one mono sample of the named encoding. * \param encoding The encoding value to analyze. * \return positive size of encoding in bytes, 0 on invalid encoding. */ EXPORT int mpg123_encsize(int encoding); /** Configure a mpg123 handle to accept no output format at all, * use before specifying supported formats with mpg123_format */ EXPORT int mpg123_format_none(mpg123_handle *mh); /** Configure mpg123 handle to accept all formats * (also any custom rate you may set) -- this is default. */ EXPORT int mpg123_format_all(mpg123_handle *mh); /** Set the audio format support of a mpg123_handle in detail: * \param mh audio decoder handle * \param rate The sample rate value (in Hertz). * \param channels A combination of MPG123_STEREO and MPG123_MONO. * \param encodings A combination of accepted encodings for rate and channels, p.ex MPG123_ENC_SIGNED16 | MPG123_ENC_ULAW_8 (or 0 for no support). Please note that some encodings may not be supported in the library build and thus will be ignored here. * \return MPG123_OK on success, MPG123_ERR if there was an error. */ EXPORT int mpg123_format(mpg123_handle *mh, long rate, int channels, int encodings); /** Check to see if a specific format at a specific rate is supported * by mpg123_handle. * \return 0 for no support (that includes invalid parameters), MPG123_STEREO, * MPG123_MONO or MPG123_STEREO|MPG123_MONO. */ EXPORT int mpg123_format_support(mpg123_handle *mh, long rate, int encoding); /** Get the current output format written to the addresses givenr. */ EXPORT int mpg123_getformat(mpg123_handle *mh, long *rate, int *channels, int *encoding); /*@}*/ /** \defgroup mpg123_input mpg123 file input and decoding * * Functions for input bitstream and decoding operations. * Decoding/seek functions may also return message codes MPG123_DONE, MPG123_NEW_FORMAT and MPG123_NEED_MORE (please read up on these on how to react!). * @{ */ /* reading samples / triggering decoding, possible return values: */ /** Enumeration of the error codes returned by libmpg123 functions. */ /** Open and prepare to decode the specified file by filesystem path. * This does not open HTTP urls; libmpg123 contains no networking code. * If you want to decode internet streams, use mpg123_open_fd() or mpg123_open_feed(). */ EXPORT int mpg123_open(mpg123_handle *mh, const char *path); /** Use an already opened file descriptor as the bitstream input * mpg123_close() will _not_ close the file descriptor. */ EXPORT int mpg123_open_fd(mpg123_handle *mh, int fd); /** Use an opaque handle as bitstream input. This works only with the * replaced I/O from mpg123_replace_reader_handle()! * mpg123_close() will call the cleanup callback for your handle (if you gave one). */ EXPORT int mpg123_open_handle(mpg123_handle *mh, void *iohandle); /** Open a new bitstream and prepare for direct feeding * This works together with mpg123_decode(); you are responsible for reading and feeding the input bitstream. */ EXPORT int mpg123_open_feed(mpg123_handle *mh); /** Closes the source, if libmpg123 opened it. */ EXPORT int mpg123_close(mpg123_handle *mh); /** Read from stream and decode up to outmemsize bytes. * \param outmemory address of output buffer to write to * \param outmemsize maximum number of bytes to write * \param done address to store the number of actually decoded bytes to * \return error/message code (watch out for MPG123_DONE and friends!) */ EXPORT int mpg123_read(mpg123_handle *mh, unsigned char *outmemory, size_t outmemsize, size_t *done); /** Feed data for a stream that has been opened with mpg123_open_feed(). * It's give and take: You provide the bytestream, mpg123 gives you the decoded samples. * \param in input buffer * \param size number of input bytes * \return error/message code. */ EXPORT int mpg123_feed(mpg123_handle *mh, const unsigned char *in, size_t size); /** Decode MPEG Audio from inmemory to outmemory. * This is very close to a drop-in replacement for old mpglib. * When you give zero-sized output buffer the input will be parsed until * decoded data is available. This enables you to get MPG123_NEW_FORMAT (and query it) * without taking decoded data. * Think of this function being the union of mpg123_read() and mpg123_feed() (which it actually is, sort of;-). * You can actually always decide if you want those specialized functions in separate steps or one call this one here. * \param inmemory input buffer * \param inmemsize number of input bytes * \param outmemory output buffer * \param outmemsize maximum number of output bytes * \param done address to store the number of actually decoded bytes to * \return error/message code (watch out especially for MPG123_NEED_MORE) */ EXPORT int mpg123_decode(mpg123_handle *mh, const unsigned char *inmemory, size_t inmemsize, unsigned char *outmemory, size_t outmemsize, size_t *done); /** Decode next MPEG frame to internal buffer * or read a frame and return after setting a new format. * \param num current frame offset gets stored there * \param audio This pointer is set to the internal buffer to read the decoded audio from. * \param bytes number of output bytes ready in the buffer */ EXPORT int mpg123_decode_frame(mpg123_handle *mh, off_t *num, unsigned char **audio, size_t *bytes); /** Decode current MPEG frame to internal buffer. * Warning: This is experimental API that might change in future releases! * Please watch mpg123 development closely when using it. * \param num last frame offset gets stored there * \param audio this pointer is set to the internal buffer to read the decoded audio from. * \param bytes number of output bytes ready in the buffer */ EXPORT int mpg123_framebyframe_decode(mpg123_handle *mh, off_t *num, unsigned char **audio, size_t *bytes); /** Find, read and parse the next mp3 frame * Warning: This is experimental API that might change in future releases! * Please watch mpg123 development closely when using it. */ EXPORT int mpg123_framebyframe_next(mpg123_handle *mh); /** Get access to the raw input data for the last parsed frame. * This gives you a direct look (and write access) to the frame body data. * Together with the raw header, you can reconstruct the whole raw MPEG stream without junk and meta data, or play games by actually modifying the frame body data before decoding this frame (mpg123_framebyframe_decode()). * A more sane use would be to use this for CRC checking (see mpg123_info() and MPG123_CRC), the first two bytes of the body make up the CRC16 checksum, if present. * You can provide NULL for a parameter pointer when you are not interested in the value. * * \param header the 4-byte MPEG header * \param bodydata pointer to the frame body stored in the handle (without the header) * \param bodybytes size of frame body in bytes (without the header) * \return MPG123_OK if there was a yet un-decoded frame to get the data from, MPG123_ERR otherwise (without further explanation, the error state of the mpg123_handle is not modified by this function). */ EXPORT int mpg123_framedata(mpg123_handle *mh, unsigned long *header, unsigned char **bodydata, size_t *bodybytes); /** Get the input position (byte offset in stream) of the last parsed frame. * This can be used for external seek index building, for example. * It just returns the internally stored offset, regardless of validity -- you ensure that a valid frame has been parsed before! */ EXPORT off_t mpg123_framepos(mpg123_handle *mh); /*@}*/ /** \defgroup mpg123_seek mpg123 position and seeking * * Functions querying and manipulating position in the decoded audio bitstream. * The position is measured in decoded audio samples, or MPEG frame offset for the specific functions. * If gapless code is in effect, the positions are adjusted to compensate the skipped padding/delay - meaning, you should not care about that at all and just use the position defined for the samples you get out of the decoder;-) * The general usage is modelled after stdlib's ftell() and fseek(). * Especially, the whence parameter for the seek functions has the same meaning as the one for fseek() and needs the same constants from stdlib.h: * - SEEK_SET: set position to (or near to) specified offset * - SEEK_CUR: change position by offset from now * - SEEK_END: set position to offset from end * * Note that sample-accurate seek only works when gapless support has been enabled at compile time; seek is frame-accurate otherwise. * Also, really sample-accurate seeking (meaning that you get the identical sample value after seeking compared to plain decoding up to the position) is only guaranteed when you do not mess with the position code by using MPG123_UPSPEED, MPG123_DOWNSPEED or MPG123_START_FRAME. The first two mainly should cause trouble with NtoM resampling, but in any case with these options in effect, you have to keep in mind that the sample offset is not the same as counting the samples you get from decoding since mpg123 counts the skipped samples, too (or the samples played twice only once)! * Short: When you care about the sample position, don't mess with those parameters;-) * Also, seeking is not guaranteed to work for all streams (underlying stream may not support it). * * @{ */ /** Returns the current position in samples. * On the next read, you'd get that sample. */ EXPORT off_t mpg123_tell(mpg123_handle *mh); /** Returns the frame number that the next read will give you data from. */ EXPORT off_t mpg123_tellframe(mpg123_handle *mh); /** Returns the current byte offset in the input stream. */ EXPORT off_t mpg123_tell_stream(mpg123_handle *mh); /** Seek to a desired sample offset. * Set whence to SEEK_SET, SEEK_CUR or SEEK_END. * \return The resulting offset >= 0 or error/message code */ EXPORT off_t mpg123_seek(mpg123_handle *mh, off_t sampleoff, int whence); /** Seek to a desired sample offset in data feeding mode. * This just prepares things to be right only if you ensure that the next chunk of input data will be from input_offset byte position. * \param input_offset The position it expects to be at the * next time data is fed to mpg123_decode(). * \return The resulting offset >= 0 or error/message code */ EXPORT off_t mpg123_feedseek(mpg123_handle *mh, off_t sampleoff, int whence, off_t *input_offset); /** Seek to a desired MPEG frame index. * Set whence to SEEK_SET, SEEK_CUR or SEEK_END. * \return The resulting offset >= 0 or error/message code */ EXPORT off_t mpg123_seek_frame(mpg123_handle *mh, off_t frameoff, int whence); /** Return a MPEG frame offset corresponding to an offset in seconds. * This assumes that the samples per frame do not change in the file/stream, which is a good assumption for any sane file/stream only. * \return frame offset >= 0 or error/message code */ EXPORT off_t mpg123_timeframe(mpg123_handle *mh, double sec); /** Give access to the frame index table that is managed for seeking. * You are asked not to modify the values... Use mpg123_set_index to set the * seek index * \param offsets pointer to the index array * \param step one index byte offset advances this many MPEG frames * \param fill number of recorded index offsets; size of the array */ EXPORT int mpg123_index(mpg123_handle *mh, off_t **offsets, off_t *step, size_t *fill); /** Set the frame index table * Setting offsets to NULL and fill > 0 will allocate fill entries. Setting offsets * to NULL and fill to 0 will clear the index and free the allocated memory used by the index. * \param offsets pointer to the index array * \param step one index byte offset advances this many MPEG frames * \param fill number of recorded index offsets; size of the array */ EXPORT int mpg123_set_index(mpg123_handle *mh, off_t *offsets, off_t step, size_t fill); /** Get information about current and remaining frames/seconds. * WARNING: This function is there because of special usage by standalone mpg123 and may be removed in the final version of libmpg123! * You provide an offset (in frames) from now and a number of output bytes * served by libmpg123 but not yet played. You get the projected current frame * and seconds, as well as the remaining frames/seconds. This does _not_ care * about skipped samples due to gapless playback. */ EXPORT int mpg123_position( mpg123_handle *mh, off_t frame_offset, off_t buffered_bytes, off_t *current_frame, off_t *frames_left, double *current_seconds, double *seconds_left); /*@}*/ /** \defgroup mpg123_voleq mpg123 volume and equalizer * * @{ */ enum mpg123_channels { MPG123_LEFT=0x1 /**< The Left Channel. */ ,MPG123_RIGHT=0x2 /**< The Right Channel. */ ,MPG123_LR=0x3 /**< Both left and right channel; same as MPG123_LEFT|MPG123_RIGHT */ }; /** Set the 32 Band Audio Equalizer settings. * \param channel Can be MPG123_LEFT, MPG123_RIGHT or MPG123_LEFT|MPG123_RIGHT for both. * \param band The equaliser band to change (from 0 to 31) * \param val The (linear) adjustment factor. */ EXPORT int mpg123_eq(mpg123_handle *mh, enum mpg123_channels channel, int band, double val); /** Get the 32 Band Audio Equalizer settings. * \param channel Can be MPG123_LEFT, MPG123_RIGHT or MPG123_LEFT|MPG123_RIGHT for (arithmetic mean of) both. * \param band The equaliser band to change (from 0 to 31) * \return The (linear) adjustment factor. */ EXPORT double mpg123_geteq(mpg123_handle *mh, enum mpg123_channels channel, int band); /** Reset the 32 Band Audio Equalizer settings to flat */ EXPORT int mpg123_reset_eq(mpg123_handle *mh); /** Set the absolute output volume including the RVA setting, * vol<0 just applies (a possibly changed) RVA setting. */ EXPORT int mpg123_volume(mpg123_handle *mh, double vol); /** Adjust output volume including the RVA setting by chosen amount */ EXPORT int mpg123_volume_change(mpg123_handle *mh, double change); /** Return current volume setting, the actual value due to RVA, and the RVA * adjustment itself. It's all as double float value to abstract the sample * format. The volume values are linear factors / amplitudes (not percent) * and the RVA value is in decibels. */ EXPORT int mpg123_getvolume(mpg123_handle *mh, double *base, double *really, double *rva_db); /* TODO: Set some preamp in addition / to replace internal RVA handling? */ /*@}*/ /** \defgroup mpg123_status mpg123 status and information * * @{ */ /** Enumeration of the mode types of Variable Bitrate */ enum mpg123_vbr { MPG123_CBR=0, /**< Constant Bitrate Mode (default) */ MPG123_VBR, /**< Variable Bitrate Mode */ MPG123_ABR /**< Average Bitrate Mode */ }; /** Enumeration of the MPEG Versions */ enum mpg123_version { MPG123_1_0=0, /**< MPEG Version 1.0 */ MPG123_2_0, /**< MPEG Version 2.0 */ MPG123_2_5 /**< MPEG Version 2.5 */ }; /** Enumeration of the MPEG Audio mode. * Only the mono mode has 1 channel, the others have 2 channels. */ enum mpg123_mode { MPG123_M_STEREO=0, /**< Standard Stereo. */ MPG123_M_JOINT, /**< Joint Stereo. */ MPG123_M_DUAL, /**< Dual Channel. */ MPG123_M_MONO /**< Single Channel. */ }; /** Enumeration of the MPEG Audio flag bits */ enum mpg123_flags { MPG123_CRC=0x1, /**< The bitstream is error protected using 16-bit CRC. */ MPG123_COPYRIGHT=0x2, /**< The bitstream is copyrighted. */ MPG123_PRIVATE=0x4, /**< The private bit has been set. */ MPG123_ORIGINAL=0x8 /**< The bitstream is an original, not a copy. */ }; /** Data structure for storing information about a frame of MPEG Audio */ struct mpg123_frameinfo { enum mpg123_version version; /**< The MPEG version (1.0/2.0/2.5). */ int layer; /**< The MPEG Audio Layer (MP1/MP2/MP3). */ long rate; /**< The sampling rate in Hz. */ enum mpg123_mode mode; /**< The audio mode (Mono, Stereo, Joint-stero, Dual Channel). */ int mode_ext; /**< The mode extension bit flag. */ int framesize; /**< The size of the frame (in bytes, including header). */ enum mpg123_flags flags; /**< MPEG Audio flag bits. Just now I realize that it should be declared as int, not enum. It's a bitwise combination of the enum values. */ int emphasis; /**< The emphasis type. */ int bitrate; /**< Bitrate of the frame (kbps). */ int abr_rate; /**< The target average bitrate. */ enum mpg123_vbr vbr; /**< The VBR mode. */ }; /** Get frame information about the MPEG audio bitstream and store it in a mpg123_frameinfo structure. */ EXPORT int mpg123_info(mpg123_handle *mh, struct mpg123_frameinfo *mi); /** Get the safe output buffer size for all cases (when you want to replace the internal buffer) */ EXPORT size_t mpg123_safe_buffer(void); /** Make a full parsing scan of each frame in the file. ID3 tags are found. An accurate length * value is stored. Seek index will be filled. A seek back to current position * is performed. At all, this function refuses work when stream is * not seekable. * \return MPG123_OK or MPG123_ERR. */ EXPORT int mpg123_scan(mpg123_handle *mh); /** Return, if possible, the full (expected) length of current track in samples. * \return length >= 0 or MPG123_ERR if there is no length guess possible. */ EXPORT off_t mpg123_length(mpg123_handle *mh); /** Override the value for file size in bytes. * Useful for getting sensible track length values in feed mode or for HTTP streams. * \return MPG123_OK or MPG123_ERR */ EXPORT int mpg123_set_filesize(mpg123_handle *mh, off_t size); /** Returns the time (seconds) per frame; <0 is error. */ EXPORT double mpg123_tpf(mpg123_handle *mh); /** Returns the samples per frame for the most recently parsed frame; <0 is error. */ EXPORT int mpg123_spf(mpg123_handle *mh); /** Get and reset the clip count. */ EXPORT long mpg123_clip(mpg123_handle *mh); /** The key values for state information from mpg123_getstate(). */ enum mpg123_state { MPG123_ACCURATE = 1 /**< Query if positons are currently accurate (integer value, 0 if false, 1 if true) */ ,MPG123_BUFFERFILL /**< Get fill of internal (feed) input buffer as integer byte count returned as long and as double. An error is returned on integer overflow while converting to (signed) long, but the returned floating point value shold still be fine. */ ,MPG123_FRANKENSTEIN /**< Stream consists of carelessly stitched together files (the leading one featuring gapless info). */ }; /** Get various current decoder/stream state information. * \param key the key to identify the information to give. * \param val the address to return (long) integer values to * \param fval the address to return floating point values to * \return MPG123_OK or MPG123_ERR for success */ EXPORT int mpg123_getstate(mpg123_handle *mh, enum mpg123_state key, long *val, double *fval); /*@}*/ /** \defgroup mpg123_metadata mpg123 metadata handling * * Functions to retrieve the metadata from MPEG Audio files and streams. * Also includes string handling functions. * * @{ */ /** Data structure for storing strings in a safer way than a standard C-String. * Can also hold a number of null-terminated strings. */ typedef struct { char* p; /**< pointer to the string data */ size_t size; /**< raw number of bytes allocated */ size_t fill; /**< number of used bytes (including closing zero byte) */ } mpg123_string; /** Create and allocate memory for a new mpg123_string */ EXPORT void mpg123_init_string(mpg123_string* sb); /** Free-up mempory for an existing mpg123_string */ EXPORT void mpg123_free_string(mpg123_string* sb); /** Change the size of a mpg123_string * \return 0 on error, 1 on success */ EXPORT int mpg123_resize_string(mpg123_string* sb, size_t news); /** Increase size of a mpg123_string if necessary (it may stay larger). * Note that the functions for adding and setting in current libmpg123 use this instead of mpg123_resize_string(). * That way, you can preallocate memory and safely work afterwards with pieces. * \return 0 on error, 1 on success */ EXPORT int mpg123_grow_string(mpg123_string* sb, size_t news); /** Copy the contents of one mpg123_string string to another. * \return 0 on error, 1 on success */ EXPORT int mpg123_copy_string(mpg123_string* from, mpg123_string* to); /** Append a C-String to an mpg123_string * \return 0 on error, 1 on success */ EXPORT int mpg123_add_string(mpg123_string* sb, const char* stuff); /** Append a C-substring to an mpg123 string * \return 0 on error, 1 on success * \param from offset to copy from * \param count number of characters to copy (a null-byte is always appended) */ EXPORT int mpg123_add_substring(mpg123_string *sb, const char *stuff, size_t from, size_t count); /** Set the conents of a mpg123_string to a C-string * \return 0 on error, 1 on success */ EXPORT int mpg123_set_string(mpg123_string* sb, const char* stuff); /** Set the contents of a mpg123_string to a C-substring * \return 0 on error, 1 on success * \param from offset to copy from * \param count number of characters to copy (a null-byte is always appended) */ EXPORT int mpg123_set_substring(mpg123_string *sb, const char *stuff, size_t from, size_t count); /** Count characters in a mpg123 string (non-null bytes or UTF-8 characters). * \return character count * \param sb the string * \param utf8 a flag to tell if the string is in utf8 encoding * Even with the fill property, the character count is not obvious as there could be multiple trailing null bytes. */ EXPORT size_t mpg123_strlen(mpg123_string *sb, int utf8); /** The mpg123 text encodings. This contains encodings we encounter in ID3 tags or ICY meta info. */ enum mpg123_text_encoding { mpg123_text_unknown = 0 /**< Unkown encoding... mpg123_id3_encoding can return that on invalid codes. */ ,mpg123_text_utf8 = 1 /**< UTF-8 */ ,mpg123_text_latin1 = 2 /**< ISO-8859-1. Note that sometimes latin1 in ID3 is abused for totally different encodings. */ ,mpg123_text_icy = 3 /**< ICY metadata encoding, usually CP-1252 but we take it as UTF-8 if it qualifies as such. */ ,mpg123_text_cp1252 = 4 /**< Really CP-1252 without any guessing. */ ,mpg123_text_utf16 = 5 /**< Some UTF-16 encoding. The last of a set of leading BOMs (byte order mark) rules. * When there is no BOM, big endian ordering is used. Note that UCS-2 qualifies as UTF-8 when * you don't mess with the reserved code points. If you want to decode little endian data * without BOM you need to prepend 0xff 0xfe yourself. */ ,mpg123_text_utf16bom = 6 /**< Just an alias for UTF-16, ID3v2 has this as distinct code. */ ,mpg123_text_utf16be = 7 /**< Another alias for UTF16 from ID3v2. Note, that, because of the mess that is reality, * BOMs are used if encountered. There really is not much distinction between the UTF16 types for mpg123 * One exception: Since this is seen in ID3v2 tags, leading null bytes are skipped for all other UTF16 * types (we expect a BOM before real data there), not so for utf16be!*/ ,mpg123_text_max = 7 /**< Placeholder for the maximum encoding value. */ }; /** The encoding byte values from ID3v2. */ enum mpg123_id3_enc { mpg123_id3_latin1 = 0 /**< Note: This sometimes can mean anything in practice... */ ,mpg123_id3_utf16bom = 1 /**< UTF16, UCS-2 ... it's all the same for practical purposes. */ ,mpg123_id3_utf16be = 2 /**< Big-endian UTF-16, BOM see note for mpg123_text_utf16be. */ ,mpg123_id3_utf8 = 3 /**< Our lovely overly ASCII-compatible 8 byte encoding for the world. */ ,mpg123_id3_enc_max = 3 /**< Placeholder to check valid range of encoding byte. */ }; /** Convert ID3 encoding byte to mpg123 encoding index. */ EXPORT enum mpg123_text_encoding mpg123_enc_from_id3(unsigned char id3_enc_byte); /** Store text data in string, after converting to UTF-8 from indicated encoding * \return 0 on error, 1 on success (on error, mpg123_free_string is called on sb) * \param sb target string * \param enc mpg123 text encoding value * \param source source buffer with plain unsigned bytes (you might need to cast from char *) * \param source_size number of bytes in the source buffer * * A prominent error can be that you provided an unknown encoding value, or this build of libmpg123 lacks support for certain encodings (ID3 or ICY stuff missing). * Also, you might want to take a bit of care with preparing the data; for example, strip leading zeroes (I have seen that). */ EXPORT int mpg123_store_utf8(mpg123_string *sb, enum mpg123_text_encoding enc, const unsigned char *source, size_t source_size); /** Sub data structure for ID3v2, for storing various text fields (including comments). * This is for ID3v2 COMM, TXXX and all the other text fields. * Only COMM and TXXX have a description, only COMM and USLT have a language. * You should consult the ID3v2 specification for the use of the various text fields ("frames" in ID3v2 documentation, I use "fields" here to separate from MPEG frames). */ typedef struct { char lang[3]; /**< Three-letter language code (not terminated). */ char id[4]; /**< The ID3v2 text field id, like TALB, TPE2, ... (4 characters, no string termination). */ mpg123_string description; /**< Empty for the generic comment... */ mpg123_string text; /**< ... */ } mpg123_text; /** Data structure for storing IDV3v2 tags. * This structure is not a direct binary mapping with the file contents. * The ID3v2 text frames are allowed to contain multiple strings. * So check for null bytes until you reach the mpg123_string fill. * All text is encoded in UTF-8. */ typedef struct { unsigned char version; /**< 3 or 4 for ID3v2.3 or ID3v2.4. */ mpg123_string *title; /**< Title string (pointer into text_list). */ mpg123_string *artist; /**< Artist string (pointer into text_list). */ mpg123_string *album; /**< Album string (pointer into text_list). */ mpg123_string *year; /**< The year as a string (pointer into text_list). */ mpg123_string *genre; /**< Genre String (pointer into text_list). The genre string(s) may very well need postprocessing, esp. for ID3v2.3. */ mpg123_string *comment; /**< Pointer to last encountered comment text with empty description. */ /* Encountered ID3v2 fields are appended to these lists. There can be multiple occurences, the pointers above always point to the last encountered data. */ mpg123_text *comment_list; /**< Array of comments. */ size_t comments; /**< Number of comments. */ mpg123_text *text; /**< Array of ID3v2 text fields (including USLT) */ size_t texts; /**< Numer of text fields. */ mpg123_text *extra; /**< The array of extra (TXXX) fields. */ size_t extras; /**< Number of extra text (TXXX) fields. */ } mpg123_id3v2; /** Data structure for ID3v1 tags (the last 128 bytes of a file). * Don't take anything for granted (like string termination)! * Also note the change ID3v1.1 did: comment[28] = 0; comment[19] = track_number * It is your task to support ID3v1 only or ID3v1.1 ...*/ typedef struct { char tag[3]; /**< Always the string "TAG", the classic intro. */ char title[30]; /**< Title string. */ char artist[30]; /**< Artist string. */ char album[30]; /**< Album string. */ char year[4]; /**< Year string. */ char comment[30]; /**< Comment string. */ unsigned char genre; /**< Genre index. */ } mpg123_id3v1; #define MPG123_ID3 0x3 /**< 0011 There is some ID3 info. Also matches 0010 or NEW_ID3. */ #define MPG123_NEW_ID3 0x1 /**< 0001 There is ID3 info that changed since last call to mpg123_id3. */ #define MPG123_ICY 0xc /**< 1100 There is some ICY info. Also matches 0100 or NEW_ICY.*/ #define MPG123_NEW_ICY 0x4 /**< 0100 There is ICY info that changed since last call to mpg123_icy. */ /** Query if there is (new) meta info, be it ID3 or ICY (or something new in future). The check function returns a combination of flags. */ EXPORT int mpg123_meta_check(mpg123_handle *mh); /* On error (no valid handle) just 0 is returned. */ /** Clean up meta data storage (ID3v2 and ICY), freeing memory. */ EXPORT void mpg123_meta_free(mpg123_handle *mh); /** Point v1 and v2 to existing data structures wich may change on any next read/decode function call. * v1 and/or v2 can be set to NULL when there is no corresponding data. * \return Return value is MPG123_OK or MPG123_ERR, */ EXPORT int mpg123_id3(mpg123_handle *mh, mpg123_id3v1 **v1, mpg123_id3v2 **v2); /** Point icy_meta to existing data structure wich may change on any next read/decode function call. * \return Return value is MPG123_OK or MPG123_ERR, */ EXPORT int mpg123_icy(mpg123_handle *mh, char **icy_meta); /* same for ICY meta string */ /** Decode from windows-1252 (the encoding ICY metainfo used) to UTF-8. * Note that this is very similar to mpg123_store_utf8(&sb, mpg123_text_icy, icy_text, strlen(icy_text+1)) . * \param icy_text The input data in ICY encoding * \return pointer to newly allocated buffer with UTF-8 data (You free() it!) */ EXPORT char* mpg123_icy2utf8(const char* icy_text); /* @} */ /** \defgroup mpg123_advpar mpg123 advanced parameter API * * Direct access to a parameter set without full handle around it. * Possible uses: * - Influence behaviour of library _during_ initialization of handle (MPG123_VERBOSE). * - Use one set of parameters for multiple handles. * * The functions for handling mpg123_pars (mpg123_par() and mpg123_fmt() * family) directly return a fully qualified mpg123 error code, the ones * operating on full handles normally MPG123_OK or MPG123_ERR, storing the * specific error code itseld inside the handle. * * @{ */ /** Opaque structure for the libmpg123 decoder parameters. */ struct mpg123_pars_struct; /** Opaque structure for the libmpg123 decoder parameters. */ typedef struct mpg123_pars_struct mpg123_pars; /** Create a handle with preset parameters. */ EXPORT mpg123_handle *mpg123_parnew(mpg123_pars *mp, const char* decoder, int *error); /** Allocate memory for and return a pointer to a new mpg123_pars */ EXPORT mpg123_pars *mpg123_new_pars(int *error); /** Delete and free up memory used by a mpg123_pars data structure */ EXPORT void mpg123_delete_pars(mpg123_pars* mp); /** Configure mpg123 parameters to accept no output format at all, * use before specifying supported formats with mpg123_format */ EXPORT int mpg123_fmt_none(mpg123_pars *mp); /** Configure mpg123 parameters to accept all formats * (also any custom rate you may set) -- this is default. */ EXPORT int mpg123_fmt_all(mpg123_pars *mp); /** Set the audio format support of a mpg123_pars in detail: \param rate The sample rate value (in Hertz). \param channels A combination of MPG123_STEREO and MPG123_MONO. \param encodings A combination of accepted encodings for rate and channels, p.ex MPG123_ENC_SIGNED16|MPG123_ENC_ULAW_8 (or 0 for no support). \return 0 on success, -1 if there was an error. / */ EXPORT int mpg123_fmt(mpg123_pars *mh, long rate, int channels, int encodings); /* 0 is good, -1 is error */ /** Check to see if a specific format at a specific rate is supported * by mpg123_pars. * \return 0 for no support (that includes invalid parameters), MPG123_STEREO, * MPG123_MONO or MPG123_STEREO|MPG123_MONO. */ EXPORT int mpg123_fmt_support(mpg123_pars *mh, long rate, int encoding); /** Set a specific parameter, for a specific mpg123_pars, using a parameter * type key chosen from the mpg123_parms enumeration, to the specified value. */ EXPORT int mpg123_par(mpg123_pars *mp, enum mpg123_parms type, long value, double fvalue); /** Get a specific parameter, for a specific mpg123_pars. * See the mpg123_parms enumeration for a list of available parameters. */ EXPORT int mpg123_getpar(mpg123_pars *mp, enum mpg123_parms type, long *val, double *fval); /* @} */ /** \defgroup mpg123_lowio mpg123 low level I/O * You may want to do tricky stuff with I/O that does not work with mpg123's default file access or you want to make it decode into your own pocket... * * @{ */ /** Replace default internal buffer with user-supplied buffer. * Instead of working on it's own private buffer, mpg123 will directly use the one you provide for storing decoded audio. */ EXPORT int mpg123_replace_buffer(mpg123_handle *mh, unsigned char *data, size_t size); /** The max size of one frame's decoded output with current settings. * Use that to determine an appropriate minimum buffer size for decoding one frame. */ EXPORT size_t mpg123_outblock(mpg123_handle *mh); /** Replace low-level stream access functions; read and lseek as known in POSIX. * You can use this to make any fancy file opening/closing yourself, * using mpg123_open_fd() to set the file descriptor for your read/lseek (doesn't need to be a "real" file descriptor...). * Setting a function to NULL means that the default internal read is * used (active from next mpg123_open call on). * Note: As it would be troublesome to mess with this while having a file open, * this implies mpg123_close(). */ EXPORT int mpg123_replace_reader(mpg123_handle *mh, ssize_t (*r_read) (int, void *, size_t), off_t (*r_lseek)(int, off_t, int)); /** Replace I/O functions with your own ones operating on some kind of handle instead of integer descriptors. * The handle is a void pointer, so you can pass any data you want... * mpg123_open_handle() is the call you make to use the I/O defined here. * There is no fallback to internal read/seek here. * Note: As it would be troublesome to mess with this while having a file open, * this mpg123_close() is implied here. * \param r_read The callback for reading (behaviour like posix read). * \param r_lseek The callback for seeking (like posix lseek). * \param cleanup A callback to clean up an I/O handle on mpg123_close, can be NULL for none (you take care of cleaning your handles). */ EXPORT int mpg123_replace_reader_handle(mpg123_handle *mh, ssize_t (*r_read) (void *, void *, size_t), off_t (*r_lseek)(void *, off_t, int), void (*cleanup)(void*)); /* @} */ #ifdef __cplusplus } #endif #endif idjc-0.8.9/c/encoder.c0000644000175000017500000006754412115114272011403 00000000000000/* # encoder.c: the encoder framework for the streaming module of idjc # Copyright (C) 2007-2009 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "../config.h" #include "gnusource.h" #include #include #include #include #include #include #include "sourceclient.h" #include "sig.h" #include "live_ogg_encoder.h" #include "live_mp3_encoder.h" #include "live_mp2_encoder.h" #include "live_oggflac_encoder.h" #include "live_oggspeex_encoder.h" #include "live_oggopus_encoder.h" #include "avcodec_encoder.h" #include "bsdcompat.h" #include "main.h" #ifdef DYN_LAME #include "dyn_lame.h" #endif #define RS_INPUT_SAMPLES 512 typedef jack_default_audio_sample_t sample_t; static const size_t rb_n_samples = 53000; /* maximum number of samples to hold in the ring buffer */ static uint32_t encoder_packet_magic_number = 'I' << 24 | 'D' << 16 | 'J' << 8 | 'C'; int encoder_init_lame(struct threads_info *ti, struct universal_vars *uv, void *param) { int l = 1; #ifdef DYN_LAME l = dyn_lame_init(); #endif fprintf(g.out, "idjcsc: lame_available=%d\n", l); fflush(g.out); if (ferror(g.out)) return FAILED; return SUCCEEDED; } static struct encoder_data_format encoder_lex_format(char *source, char *family, char *codec) { struct encoder_data_format df = { .source = ENCODER_SOURCE_UNHANDLED, .family = ENCODER_FAMILY_UNHANDLED, .codec = ENCODER_CODEC_UNHANDLED }; void warning(char *msg, char *setting) { fprintf(stderr, "warning: %s: setting: %s\n", msg, setting); } if (!strcmp(source, "jack")) df.source = ENCODER_SOURCE_JACK; if (!strcmp(source, "file")) df.source = ENCODER_SOURCE_FILE; if (!strcmp(family, "mpeg")) df.family = ENCODER_FAMILY_MPEG; if (!strcmp(family, "ogg")) df.family = ENCODER_FAMILY_OGG; if (!strcmp(codec, "mp3")) df.codec = ENCODER_CODEC_MP3; if (!strcmp(codec, "mp2")) df.codec = ENCODER_CODEC_MP2; if (!strcmp(codec, "aac")) df.codec = ENCODER_CODEC_AAC; if (!strcmp(codec, "aacpv2")) df.codec = ENCODER_CODEC_AACPLUSV2; if (!strcmp(codec, "vorbis")) df.codec = ENCODER_CODEC_VORBIS; if (!strcmp(codec, "flac")) df.codec = ENCODER_CODEC_FLAC; if (!strcmp(codec, "speex")) df.codec = ENCODER_CODEC_SPEEX; if (!strcmp(codec, "opus")) df.codec = ENCODER_CODEC_OPUS; if (df.source == ENCODER_SOURCE_UNHANDLED) warning("encoder source is not recognised", source); if (df.family == ENCODER_FAMILY_UNHANDLED) warning("encoder family is not recognized", family); if (df.codec == ENCODER_CODEC_UNHANDLED) warning("encoder codec is not recognized", codec); return df; } static int encoder_get_resample_mode(char *rm_string) { if (!strcmp(rm_string, "lowest")) return SRC_SINC_FASTEST; if (!strcmp(rm_string, "medium")) return SRC_SINC_MEDIUM_QUALITY; if (!strcmp(rm_string, "highest")) return SRC_SINC_BEST_QUALITY; fprintf(stderr, "encoder_get_resample_mode: unknown resample mode %s\n", rm_string); return -1; } static void encoder_free_input_ringbuffers(struct encoder *self) { struct timespec ms10 = { 0, 10000000 }; if (self->jack_dataflow_control == JD_ON) self->jack_dataflow_control = JD_FLUSH; while (self->jack_dataflow_control != JD_OFF) nanosleep(&ms10, NULL); if (self->input_rb[0]) jack_ringbuffer_free(self->input_rb[0]); if (self->input_rb[1]) jack_ringbuffer_free(self->input_rb[1]); self->input_rb[0] = self->input_rb[1] = NULL; } static void encoder_free_resampler(struct encoder *self) { int i; for (i = 0; i < 2; i++) if (self->src_state[i]) { src_delete(self->src_state[i]); self->src_state[i] = NULL; } } static void encoder_plugin_terminate(struct encoder *self) { struct timespec ms10 = { 0, 10000000 }; self->run_request_f = FALSE; if (self->encoder_state != ES_STOPPED) fprintf(stderr, "encoder_plugin_terminate: waiting for encoder to finish\n"); while (self->encoder_state != ES_STOPPED) nanosleep(&ms10, NULL); } static void encoder_unlink(struct encoder *self) { encoder_plugin_terminate(self); encoder_free_input_ringbuffers(self); encoder_free_resampler(self); } static long encoder_input_rb_mono_downmix(jack_ringbuffer_t **rb, float *bptr, int max_samples) { jack_ringbuffer_data_t rbvec0[2], rbvec1[2]; sample_t *ch0, *ch1; int transition, i; long n_samples; jack_ringbuffer_get_read_vector(rb[0], rbvec0); jack_ringbuffer_get_read_vector(rb[1], rbvec1); n_samples = (rbvec1[0].len + rbvec1[1].len) / sizeof (sample_t); if (n_samples > max_samples) n_samples = max_samples; /* transition is the point at the end of the ringbuffer where we must wrap around */ if((transition = rbvec0[0].len / sizeof (sample_t)) > n_samples) transition = n_samples; ch0 = (sample_t *)rbvec0[0].buf; /* set channel 0 and 1 pointers */ ch1 = (sample_t *)rbvec1[0].buf; for (i = 0; i < transition; i++) *bptr++ = (*ch0++ + *ch1++) * 0.5F; /* copy up to the transition */ ch0 = (sample_t *)rbvec0[1].buf; /* set pointers for segment 2 */ ch1 = (sample_t *)rbvec1[1].buf; for (i = transition; i < n_samples; i++) /* do the second segment if relevant */ *bptr++ = (*ch0++ + *ch1++) * 0.5F; jack_ringbuffer_read_advance(rb[0], n_samples * sizeof (sample_t)); jack_ringbuffer_read_advance(rb[1], n_samples * sizeof (sample_t)); return n_samples; } static long encoder_input_rb_stereo(jack_ringbuffer_t **rb, float **dest, long max_samples) { long n_samples; int i; n_samples = jack_ringbuffer_read_space(rb[1]) / sizeof (sample_t); if (n_samples > max_samples) n_samples = max_samples; for (i = 0; i < 2; i++, rb++, dest++) jack_ringbuffer_read(*rb, (char *)*dest, n_samples * sizeof (sample_t)); return n_samples; } static long encoder_input_rb_one_channel(jack_ringbuffer_t **rb, float **dest, long max_samples, int c) { long n_samples; n_samples = jack_ringbuffer_read_space(rb[c]) / sizeof (sample_t); if (n_samples > max_samples) n_samples = max_samples; jack_ringbuffer_read(rb[c], (char *)dest[c], n_samples * sizeof (sample_t)); return n_samples; } static long encoder_resampler_get_data(void *cb_data, float **data) { struct encoder *encoder = cb_data; long n_samples; if (encoder->rs_channel >= 0) { n_samples = encoder_input_rb_one_channel(encoder->input_rb, encoder->rs_input, RS_INPUT_SAMPLES, encoder->rs_channel); *data = encoder->rs_input[encoder->rs_channel]; } else { n_samples = encoder_input_rb_mono_downmix(encoder->input_rb, encoder->rs_input[0], RS_INPUT_SAMPLES); *data = encoder->rs_input[0]; } return (long)n_samples; } static void encoder_apply_pregain(struct encoder_ip_data *id, float gain) { if (gain != 1.0f) for (int i = 0; i < id->channels; ++i) { float *bp = id->buffer[i]; for (size_t s = id->qty_samples; s; --s) *bp++ *= gain; } } struct encoder_ip_data *encoder_get_input_data(struct encoder *encoder, size_t min_samples_needed, size_t max_samples, float **caller_supplied_buffer) { struct encoder_ip_data *id; ssize_t n_samples; size_t samples_available; int i; if (max_samples == 0) return NULL; if (!(id = calloc(1, sizeof (struct encoder_ip_data)))) { fprintf(stderr, "encoder_get_input_data: malloc failure\n"); return NULL; } id->channels = encoder->n_channels; if (caller_supplied_buffer) { /* link callers own buffer into the encoder_input_data structure */ for (i = 0; i < encoder->n_channels; i++) id->buffer[i] = caller_supplied_buffer[i]; id->caller_supplied_buffer = TRUE; } else { /* make our own buffer */ for (i = 0; i < encoder->n_channels; i++) if (!(id->buffer[i] = malloc(max_samples * sizeof (sample_t)))) { fprintf(stderr, "encoder_get_input_data: malloc failure\n"); goto no_data; } } if (!encoder->resample_f) { if (jack_ringbuffer_read_space(encoder->input_rb[1]) / sizeof (sample_t) < min_samples_needed) goto no_data; if (encoder->n_channels == 2) id->qty_samples = encoder_input_rb_stereo(encoder->input_rb, id->buffer, max_samples); else id->qty_samples = encoder_input_rb_mono_downmix(encoder->input_rb, id->buffer[0], max_samples); } else { /* handle the resampling condition */ /* note 128 samples are held back to make sure the resampler gives the full number of samples on both reads */ n_samples = (ssize_t)(jack_ringbuffer_read_space(encoder->input_rb[1]) / sizeof (sample_t) * encoder->sr_conv_ratio) - 128; samples_available = (n_samples > 0) ? n_samples : 0; if (samples_available > max_samples) samples_available = max_samples; if (samples_available < min_samples_needed) goto no_data; if (encoder->n_channels == 2) { encoder->rs_channel = 0; id->qty_samples = (size_t)src_callback_read(encoder->src_state[0], encoder->sr_conv_ratio, samples_available, id->buffer[0]); encoder->rs_channel = 1; src_callback_read(encoder->src_state[1], encoder->sr_conv_ratio, id->qty_samples, id->buffer[1]); } else { encoder->rs_channel = -1; id->qty_samples = (size_t)src_callback_read(encoder->src_state[0], encoder->sr_conv_ratio, samples_available, id->buffer[0]); } if (id->qty_samples == 0) goto no_data; } encoder_apply_pregain(id, encoder->pregain); return id; no_data: encoder_ip_data_free(id); return NULL; } void encoder_ip_data_free(struct encoder_ip_data *id) { int i; if (!id->caller_supplied_buffer) for (i = 0; i < id->channels; i++) if (id->buffer[i]) free(id->buffer[i]); free(id); } /* note encoder.mutex must be locked before helper threads can safely traverse encoder.output_chain to find the op structure to pass to this function */ size_t encoder_write_packet(struct encoder_op *op, struct encoder_op_packet *packet) { size_t packet_size, written; packet->header.magic = encoder_packet_magic_number; packet->header.serial = op->encoder->oggserial; packet_size = sizeof packet->header + packet->header.data_size; while (packet_size > jack_ringbuffer_write_space(op->packet_rb)) { if (jack_ringbuffer_read_space(op->packet_rb) == 0) { fprintf(stderr, "encoder_write_packet: packet too big to fit in the ringbuffer\n"); return 0; } encoder_client_free_packet(encoder_client_get_packet(op)); /* flush stale packets */ op->performance_warning_indicator = PW_AUDIO_DATA_DROPPED; } pthread_mutex_lock(&op->mutex); written = jack_ringbuffer_write(op->packet_rb, (char *)&packet->header, sizeof packet->header); written += jack_ringbuffer_write(op->packet_rb, (char *)packet->data, packet->header.data_size); pthread_mutex_unlock(&op->mutex); return written; } void encoder_write_packet_all(struct encoder *encoder, struct encoder_op_packet *packet) { struct encoder_op *iter; struct timespec ms10 = { 0, 10000000 }; while (pthread_mutex_trylock(&encoder->mutex)) nanosleep(&ms10, NULL); for (iter = encoder->output_chain; iter; iter = iter->next) encoder_write_packet(iter, packet); pthread_mutex_unlock(&encoder->mutex); } struct encoder_op_packet *encoder_client_get_packet(struct encoder_op *op) { struct encoder_op_packet *packet; pthread_mutex_lock(&op->mutex); if (jack_ringbuffer_read_space(op->packet_rb) >= sizeof (struct encoder_op_packet_header)) { if (!(packet = calloc(1, sizeof (struct encoder_op_packet)))) { fprintf(stderr, "encoder_client_get_packet: malloc failure\n"); goto unlock; } jack_ringbuffer_read(op->packet_rb, (char *)packet, sizeof (struct encoder_op_packet_header)); if (packet->header.magic != encoder_packet_magic_number) { fprintf(stderr, "encoder_client_get_packet: magic number missing\n"); free(packet); goto unlock; } if (jack_ringbuffer_read_space(op->packet_rb) < packet->header.data_size) { fprintf(stderr, "encoder_client_get_packet: packet header specifying more data than can fit in the buffer\n"); free(packet); goto unlock; } if (packet->header.data_size) { if (!(packet->data = malloc(packet->header.data_size))) { fprintf(stderr, "encoder_client_get_packet: malloc failure for data buffer\n"); free(packet); goto unlock; } jack_ringbuffer_read(op->packet_rb, packet->data, packet->header.data_size); } pthread_mutex_unlock(&op->mutex); return packet; } unlock: pthread_mutex_unlock(&op->mutex); return NULL; } void encoder_client_free_packet(struct encoder_op_packet *packet) { if (packet->data) free(packet->data); free(packet); } int encoder_client_set_flush(struct encoder_op *op) { struct encoder *encoder = op->encoder; struct timespec ns1 = { 0, 1 }; int serial; while (pthread_mutex_trylock(&encoder->flush_mutex)) nanosleep(&ns1, NULL); serial = encoder->oggserial; encoder->flush = TRUE; pthread_mutex_unlock(&encoder->flush_mutex); return serial; } /* this is called from a recipient thread to obtain a handle for getting data */ /* the numeric_id is the encoder that is requested */ struct encoder_op *encoder_register_client(struct threads_info *ti, int numeric_id) { struct encoder *enc; struct encoder_op *op; struct timespec ms10 = { 0, 10000000 }; if (numeric_id >= ti->n_encoders || numeric_id < 0) { fprintf(stderr, "encoder_register_client: invalid encoder numeric_id %d\n", numeric_id); return NULL; } if (!(op = calloc(1, sizeof (struct encoder_op)))) { fprintf(stderr, "encoder_register_client: malloc failure\n"); return NULL; } if (!(op->packet_rb = jack_ringbuffer_create(65536))) { fprintf(stderr, "encoder_register_client: malloc failure\n"); free(op); return NULL; } enc = ti->encoder[numeric_id]; op->encoder = enc; pthread_mutex_init(&op->mutex, NULL); while (pthread_mutex_trylock(&op->encoder->mutex)) nanosleep(&ms10, NULL); op->next = enc->output_chain; enc->output_chain = op; enc->client_count++; pthread_mutex_unlock(&op->encoder->mutex); return op; } void encoder_unregister_client(struct encoder_op *op) { struct encoder_op *iter; struct timespec ms10 = { 0, 10000000 }; /* ten milliseconds */ fprintf(stderr, "encoder_unregister_client called\n"); while (pthread_mutex_trylock(&op->encoder->mutex)) nanosleep(&ms10, NULL); if ((iter = op->encoder->output_chain) == op) op->encoder->output_chain = op->next; else { while (iter->next != op) iter = iter->next; iter->next = op->next; } op->encoder->client_count--; pthread_mutex_unlock(&op->encoder->mutex); pthread_mutex_destroy(&op->mutex); jack_ringbuffer_free(op->packet_rb); free(op); fprintf(stderr, "encoder_unregister_client finished\n"); } void *encoder_main(void *args) { struct encoder *self = args; struct timespec ms10 = { 0, 10000000 }; /* ten milliseconds */ sig_mask_thread(); while(!self->thread_terminate_f) { pthread_mutex_lock(&self->flush_mutex); switch(self->encoder_state) { case ES_STOPPED: break; case ES_STARTING: case ES_PAUSED: case ES_RUNNING: case ES_STOPPING: self->run_encoder(self); break; } pthread_mutex_unlock(&self->flush_mutex); nanosleep(&ms10, NULL); } return NULL; } int encoder_start(struct threads_info *ti, struct universal_vars *uv, void *other) { struct encoder *self = ti->encoder[uv->tab]; struct encoder_vars *ev = other; struct timespec ms10 = { 0, 10000000 }; int (*encoder_init)(struct encoder *, struct encoder_vars *) = NULL; int i, resample_mode, error; if (self->encoder_state != ES_STOPPED) { fprintf(stderr, "encoder_start: encoder state out of control - shouldn't be marked as running\n"); goto failed; } self->data_format = encoder_lex_format(ev->encode_source, ev->family, ev->codec); switch (self->data_format.source) { case ENCODER_SOURCE_JACK: switch (self->data_format.family) { case ENCODER_FAMILY_MPEG: switch (self->data_format.codec) { case ENCODER_CODEC_MP3: encoder_init = live_mp3_encoder_init; break; case ENCODER_CODEC_MP2: #ifdef HAVE_TWOLAME encoder_init = live_mp2_encoder_init; #endif break; case ENCODER_CODEC_AAC: case ENCODER_CODEC_AACPLUSV2: #if defined(HAVE_AVCODEC) && defined(HAVE_AVFORMAT) && defined(HAVE_AVUTIL) encoder_init = live_avcodec_encoder_init; #endif break; case ENCODER_CODEC_UNHANDLED: default: goto failed; } break; case ENCODER_FAMILY_OGG: switch (self->data_format.codec) { case ENCODER_CODEC_VORBIS: encoder_init = live_ogg_encoder_init; break; case ENCODER_CODEC_FLAC: #ifdef HAVE_OGGFLAC encoder_init = live_oggflac_encoder_init; #endif break; case ENCODER_CODEC_SPEEX: #ifdef HAVE_SPEEX encoder_init = live_oggspeex_encoder_init; #endif break; case ENCODER_CODEC_OPUS: #ifdef HAVE_OPUS if ((ev->samplerate = realloc(ev->samplerate, 6))) { strcpy(ev->samplerate, "48000"); encoder_init = live_oggopus_encoder_init; } else goto failed; #endif break; case ENCODER_CODEC_UNHANDLED: default: goto failed; } break; case ENCODER_FAMILY_UNHANDLED: default: break; } break; case ENCODER_SOURCE_FILE: fprintf(stderr, "streaming direct from a file is not supported\n"); goto failed; case ENCODER_SOURCE_UNHANDLED: default: goto failed; } self->performance_warning_indicator = PW_OK; self->samplerate = (long)self->threads_info->audio_feed->sample_rate; self->target_samplerate = atol(ev->samplerate); self->resample_f = !(self->samplerate == self->target_samplerate); self->sr_conv_ratio = (double)self->target_samplerate / (double)self->samplerate; self->pregain = atof(ev->pregain); if (ev->bitrate) self->bitrate = atoi(ev->bitrate); self->n_channels = strcmp(ev->mode, "mono") ? 2 : 1; if ((self->use_metadata = (strcmp(ev->metadata_mode, "suppressed") ? 1 : 0))) self->new_metadata = TRUE; if (self->resample_f) { fprintf(stderr, "encoder_start: initiating resampler(s)\n"); resample_mode = encoder_get_resample_mode(ev->resample_quality); for (i = 0; i < self->n_channels; i++) { if (!(self->src_state[i] = src_callback_new(encoder_resampler_get_data, resample_mode, 1, &error, self))) goto failed; src_set_ratio(self->src_state[i], self->sr_conv_ratio); } } else fprintf(stderr, "encoder_start: resampler will not be used\n"); if (encoder_init && encoder_init(self, ev)) { if (self->data_format.source == ENCODER_SOURCE_JACK) { self->input_rb[0] = jack_ringbuffer_create(rb_n_samples * sizeof (sample_t)); self->input_rb[1] = jack_ringbuffer_create(rb_n_samples * sizeof (sample_t)); if (!(self->input_rb[0] && self->input_rb[1])) { fprintf(stderr, "encoder_start: jack ringbuffer creation failure\n"); goto failed; } self->jack_dataflow_control = JD_ON; } self->run_request_f = TRUE; self->encoder_state = ES_STARTING; while (self->encoder_state == ES_STARTING) nanosleep(&ms10, NULL); while (self->encoder_state == ES_STOPPING) nanosleep(&ms10, NULL); if (self->encoder_state == ES_STOPPED) { fprintf(stderr, "encoder_start: encoder failed during initialisation\n"); goto failed; } fprintf(stderr, "encoder_start: successfully started the encoder\n"); return SUCCEEDED; } failed: encoder_unlink(self); fprintf(stderr, "encoder_start: failed to start the encoder\n"); return FAILED; } int encoder_stop(struct threads_info *ti, struct universal_vars *uv, void *other) { struct encoder *self = ti->encoder[uv->tab]; encoder_unlink(self); if (self->output_chain) fprintf(stderr, "encoder_stop: function has been called with encoder_op objects still attached\n"); fprintf(stderr, "encoder_stop: encoder is stopped\n"); return SUCCEEDED; } int encoder_update(struct threads_info *ti, struct universal_vars *uv, void *other) { struct encoder *self = ti->encoder[uv->tab]; encoder_unlink(self); return encoder_start(ti, uv, other); } int encoder_new_song_metadata(struct threads_info *ti, struct universal_vars *uv, void *other) { struct encoder *self; struct encoder_vars *ev = other; if (uv->tab == -1) { for (uv->tab = 0; uv->tab < ti->n_encoders; uv->tab++) if (!(encoder_new_song_metadata(ti, uv, other))) return FAILED; for (int i = 0; i < ti->n_recorders; i++) if (!(recorder_new_metadata(ti->recorder[i], ev->artist, ev->title, ev->album))) return FAILED; } else { self = ti->encoder[uv->tab]; pthread_mutex_lock(&self->metadata_mutex); self->new_metadata = FALSE; if (self->artist) free(self->artist); if (self->title) free(self->title); if (self->album) free(self->album); if (ev->artist) self->artist = strdup(ev->artist); else self->artist = strdup(""); if (ev->album) self->album = strdup(ev->album); else self->album = strdup(""); if (ev->title) self->title = strdup(ev->title); else self->title = strdup(""); if (!(self->artist && self->title && self->album)) { pthread_mutex_unlock(&self->metadata_mutex); fprintf(stderr, "encoder_new_metadata: malloc failure\n"); return FAILED; } /* we won't set new_metadata to true here, but wait for custom (per stream) metadata to arrive first */ pthread_mutex_unlock(&self->metadata_mutex); return SUCCEEDED; } return SUCCEEDED; } int encoder_new_custom_metadata(struct threads_info *ti, struct universal_vars *uv, void *other) { struct encoder *self = ti->encoder[uv->tab]; struct encoder_vars *ev = other; pthread_mutex_lock(&self->metadata_mutex); self->new_metadata = FALSE; if (self->custom_meta) free(self->custom_meta); self->custom_meta = ev->custom_meta; ev->custom_meta = NULL; if (!self->custom_meta) self->custom_meta = strdup(""); if (self->use_metadata) self->new_metadata = TRUE; pthread_mutex_unlock(&self->metadata_mutex); return SUCCEEDED; } struct encoder *encoder_init(struct threads_info *ti, int numeric_id) { struct encoder *self; if (!(self = calloc(1, sizeof (struct encoder)))) { fprintf(stderr, "encoder_init: malloc failure\n"); return NULL; } self->rs_input[0] = malloc(RS_INPUT_SAMPLES * sizeof (sample_t)); self->rs_input[1] = malloc(RS_INPUT_SAMPLES * sizeof (sample_t)); if (!(self->rs_input[0] && self->rs_input[1])) { fprintf(stderr, "encoder_init: malloc failure\n"); free(self); return NULL; } self->threads_info = ti; self->numeric_id = numeric_id; self->artist = strdup(""); self->title = strdup(""); self->album = strdup(""); self->custom_meta = strdup(""); while ((self->oggserial = rand()) + 20000 < 0 || self->oggserial < 100); pthread_mutex_init(&self->mutex, NULL); pthread_mutex_init(&self->metadata_mutex, NULL); pthread_mutex_init(&self->flush_mutex, NULL); if (pthread_create(&self->thread_h, NULL, encoder_main, self)) { fprintf(stderr, "encoder_init: pthread_create call failed\n"); return NULL; } /* the input ringbuffer will be allocated when the encoder is started */ return self; } void encoder_destroy(struct encoder *self) { self->thread_terminate_f = TRUE; pthread_join(self->thread_h, NULL); pthread_mutex_destroy(&self->mutex); pthread_mutex_destroy(&self->metadata_mutex); pthread_mutex_destroy(&self->flush_mutex); if (self->rs_input[0]) free(self->rs_input[0]); if (self->rs_input[1]) free(self->rs_input[1]); if (self->custom_meta) free(self->custom_meta); if (self->artist) free(self->artist); if (self->title) free(self->title); if (self->album) free(self->album); free(self); } idjc-0.8.9/c/ogg_opus_dec.c0000644000175000017500000002426412114637001012410 00000000000000/* # ogg_opus_dec.c: opus decoder for oggdec.c # Copyright (C) 2012 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . */ #include "../config.h" #ifdef HAVE_OPUS #include #include #include #include #include "oggdec.h" #include "ogg_opus_dec.h" #define ACCEPTED 1 #define REJECTED 0 #define TRUE 1 #define FALSE 0 #define MAX_FRAME_SIZE 5760 static void ogg_opusdec_cleanup(struct xlplayer *xlplayer) { struct oggdec_vars *od = xlplayer->dec_data; struct opusdec_vars *self = od->dec_data; free(self->pcm); if (self->do_down) free(self->down); opus_multistream_decoder_destroy(self->odms); fprintf(stderr, "ogg_opusdec_cleanup was called\n"); if (self->resample) xlplayer->src_state = src_delete(xlplayer->src_state); free(self); /* prevent double free or continued codec use */ od->dec_cleanup = NULL; od->dec_data = NULL; } static void ogg_opusdec_play(struct xlplayer *xlplayer) { struct oggdec_vars *od = xlplayer->dec_data; struct opusdec_vars *self = od->dec_data; int error; int samples; int end_trim = 0; if (!(oggdec_get_next_packet(od))) { fprintf(stderr, "oggdec_get_next_packet says no more packets\n"); oggdecode_playnext(xlplayer); return; } samples = opus_multistream_decode_float(self->odms, od->op.packet, od->op.bytes, self->pcm, MAX_FRAME_SIZE, 0); self->dec_samples += samples; if (od->op.granulepos != -1) { self->gf_gp = self->f_gp; self->f_gp = self->gp; self->gp = od->op.granulepos; if (self->gp < self->f_gp) { fprintf(stderr, "ogg_opusdec_play: bad granule pos\n"); oggdecode_playnext(xlplayer); return; } if (od->op.e_o_s) { if (self->f_gp > self->gf_gp) end_trim = self->f_gp - self->gf_gp - (self->gp - self->f_gp); else end_trim = self->dec_samples - self->gp; if (end_trim < 0) end_trim = 0; } } samples -= end_trim; if (self->preskip) { if (samples > self->preskip) { samples -= self->preskip; memmove(self->pcm, self->pcm + self->preskip * self->channel_count, samples * sizeof (float) * self->channel_count); self->preskip = 0; } else { self->preskip -= samples; samples = 0; } } if (samples > 0) { if (self->do_down) { static const float table[6][8][2] = { {{0.7f, 0.0f}, {0.7f, 0.7f}, {0.0f, 0.7f}}, {{0.7f, 0.0f}, {0.0f, 0.7f}, {0.7f, 0.0f}, {0.0f, 0.7f}}, {{0.7f, 0.0f}, {0.7f, 0.7f}, {0.0f, 0.7f}, {0.7f, 0.0f}, {0.0f, 0.7f}}, {{0.7f, 0.0f}, {0.7f, 0.7f}, {0.0f, 0.7f}, {0.7f, 0.0f}, {0.0f, 0.7f}, {0.5f, 0.5f}}, {{0.7f, 0.0f}, {0.7f, 0.7f}, {0.0f, 0.7f}, {0.7f, 0.0f}, {0.0f, 0.7f}, {0.7f, 0.7f}, {0.5f, 0.5f}}, {{0.7f, 0.0f}, {0.7f, 0.7f}, {0.0f, 0.7f}, {0.7f, 0.0f}, {0.0f, 0.7f}, {0.7f, 0.0f}, {0.0f, 0.7f}, {0.5f, 0.5f}} }; int cc = self->channel_count; float *p = self->pcm; float *d = self->down; float sample, lc, rc; for (int i = 0; i < samples; ++i) { lc = rc = 0.0; for (int j = 0; j < cc; ++j) { sample = *p++; lc += sample * table[cc - 3][j][0]; rc += sample * table[cc - 3][j][1]; } *d++ = lc; *d++ = rc; } } if (self->resample) { xlplayer->src_data.input_frames = samples; xlplayer->src_data.end_of_input = od->op.e_o_s; if ((error = src_process(xlplayer->src_state, &xlplayer->src_data))) { fprintf(stderr, "ogg_opusdec_play: %s src_process reports - %s\n", xlplayer->playername, src_strerror(error)); oggdecode_playnext(xlplayer); return; } xlplayer_demux_channel_data(xlplayer, xlplayer->src_data.data_out, xlplayer->src_data.output_frames_gen, od->channels[od->ix], self->opgain); } else xlplayer_demux_channel_data(xlplayer, self->down, samples, od->channels[od->ix], self->opgain); xlplayer_write_channel_data(xlplayer); } if (od->op.e_o_s) { fprintf(stderr, "end of stream\n"); oggdecode_playnext(xlplayer); } } int ogg_opusdec_init(struct xlplayer *xlplayer) { struct oggdec_vars *od = xlplayer->dec_data; struct opusdec_vars *self; unsigned char *pkt; float opgain_db; int error; size_t down_siz = MAX_FRAME_SIZE * sizeof (float) * od->channels[od->ix]; fprintf(stderr, "ogg_opusdec_init was called\n"); ogg_stream_reset_serialno(&od->os, od->serial[od->ix]); fseeko(od->fp, od->bos_offset[od->ix], SEEK_SET); ogg_sync_reset(&od->oy); /* sanity checking was pre-done in opus_get_samplerate() */ if (!(oggdec_get_next_packet(od))) { fprintf(stderr, "ogg_opusdec_init: failed to get opus header\n"); goto cleanup1; } if (!(self = calloc(1, sizeof (struct opusdec_vars)))) { fprintf(stderr, "ogg_opusdec_init: malloc failure\n"); goto cleanup1; } pkt = od->op.packet; self->channel_count = pkt[9]; self->preskip = pkt[10] | (uint16_t)pkt[11] << 8; fprintf(stderr, "preskip %hu samples\n", self->preskip); opgain_db = (int16_t)((uint16_t)pkt[16] | ((uint16_t)((unsigned char *)pkt)[17] << 8)) / 256.0f; fprintf(stderr, "output gain %0.1lf (dB)\n", opgain_db); self->opgain = powf(10.0f, opgain_db / 20.0f); switch ((self->channelmap_family = pkt[18])) { case 0: self->stream_count = 1; self->stream_count_2c = self->channel_count - 1; self->channel_map[0] = 0; self->channel_map[1] = 1; break; case 1: self->stream_count = pkt[19]; self->stream_count_2c = pkt[20]; memcpy(self->channel_map, pkt + 21, self->channel_count); break; default: goto cleanup2; } if (!(oggdec_get_next_packet(od))) { fprintf(stderr, "ogg_opusdec_init: missing OpusTags packet\n"); goto cleanup2; } if (od->seek_s) { if (od->seek_s > (od->duration[od->ix] - 0.5)) { fprintf(stderr, "ogg_opusdec_init: seeked stream virtually over - skipping\n"); goto cleanup2; } oggdecode_seek_to_packet(od); } else self->gf_gp = self->f_gp = self->gp = od->initial_granulepos[od->ix]; if (!(self->odms = opus_multistream_decoder_create(48000, self->channel_count, self->stream_count, self->stream_count_2c, self->channel_map, &error))) { fprintf(stderr, "ogg_opusdec_init: failed to create multistream decoder: %s\n", opus_strerror(error)); goto cleanup2; } if (!(self->pcm = malloc(MAX_FRAME_SIZE * sizeof (float) * self->channel_count))) { fprintf(stderr, "ogg_opusdec_init: malloc failure -- pcm\n"); goto cleanup3; } if ((self->do_down = od->channels[od->ix] != self->channel_count)) { if (!(self->down = malloc(down_siz))) { fprintf(stderr, "ogg_opusdec_init: malloc failure -- down\n"); goto cleanup4; } } else self->down = self->pcm; /* no need to downmix for mono/stereo */ if (od->samplerate[od->ix] != xlplayer->samplerate) { fprintf(stderr, "ogg_opusdec_init: configuring resampler\n"); self->resample = TRUE; xlplayer->src_state = src_new(xlplayer->rsqual, od->channels[od->ix], &error); if (error) { fprintf(stderr, "ogg_opusdec_init: src_new reports %s\n", src_strerror(error)); goto cleanup5; } xlplayer->src_data.data_in = self->down; xlplayer->src_data.src_ratio = (double)xlplayer->samplerate / (double)od->samplerate[od->ix]; xlplayer->src_data.end_of_input = 0; size_t opframes = MAX_FRAME_SIZE * xlplayer->src_data.src_ratio + 4096; xlplayer->src_data.output_frames = opframes; if (!(xlplayer->src_data.data_out = malloc(opframes * sizeof (float) * od->channels[od->ix]))) { fprintf(stderr, "ogg_opusdec_init: malloc failure -- data_out\n"); goto cleanup6; } } od->dec_data = self; od->dec_cleanup = ogg_opusdec_cleanup; xlplayer->dec_play = ogg_opusdec_play; return ACCEPTED; cleanup6: if (self->resample) xlplayer->src_state = src_delete(xlplayer->src_state); cleanup5: if (self->do_down) free(self->down); cleanup4: free(self->pcm); cleanup3: opus_multistream_decoder_destroy(self->odms); cleanup2: free(self); cleanup1: return REJECTED; } #endif /* HAVE_OPUS */ idjc-0.8.9/config.rpath0000755000175000017500000004401212142730005011665 00000000000000#! /bin/sh # Output a system dependent set of variables, describing how to set the # run time search path of shared libraries in an executable. # # Copyright 1996-2010 Free Software Foundation, Inc. # Taken from GNU libtool, 2001 # Originally by Gordon Matzigkeit , 1996 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # # The first argument passed to this file is the canonical host specification, # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # or # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # The environment variables CC, GCC, LDFLAGS, LD, with_gnu_ld # should be set by the caller. # # The set of defined variables is at the end of this script. # Known limitations: # - On IRIX 6.5 with CC="cc", the run time search patch must not be longer # than 256 bytes, otherwise the compiler driver will dump core. The only # known workaround is to choose shorter directory names for the build # directory and/or the installation directory. # All known linkers require a `.a' archive for static linking (except MSVC, # which needs '.lib'). libext=a shrext=.so host="$1" host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` # Code taken from libtool.m4's _LT_CC_BASENAME. for cc_temp in $CC""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'` # Code taken from libtool.m4's _LT_COMPILER_PIC. wl= if test "$GCC" = yes; then wl='-Wl,' else case "$host_os" in aix*) wl='-Wl,' ;; darwin*) case $cc_basename in xlc*) wl='-Wl,' ;; esac ;; mingw* | cygwin* | pw32* | os2* | cegcc*) ;; hpux9* | hpux10* | hpux11*) wl='-Wl,' ;; irix5* | irix6* | nonstopux*) wl='-Wl,' ;; newsos6) ;; linux* | k*bsd*-gnu) case $cc_basename in ecc*) wl='-Wl,' ;; icc* | ifort*) wl='-Wl,' ;; lf95*) wl='-Wl,' ;; pgcc | pgf77 | pgf90) wl='-Wl,' ;; ccc*) wl='-Wl,' ;; como) wl='-lopt=' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) wl='-Wl,' ;; esac ;; esac ;; osf3* | osf4* | osf5*) wl='-Wl,' ;; rdos*) ;; solaris*) wl='-Wl,' ;; sunos4*) wl='-Qoption ld ' ;; sysv4 | sysv4.2uw2* | sysv4.3*) wl='-Wl,' ;; sysv4*MP*) ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) wl='-Wl,' ;; unicos*) wl='-Wl,' ;; uts4*) ;; esac fi # Code taken from libtool.m4's _LT_LINKER_SHLIBS. hardcode_libdir_flag_spec= hardcode_libdir_separator= hardcode_direct=no hardcode_minus_L=no case "$host_os" in cygwin* | mingw* | pw32* | cegcc*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd*) with_gnu_ld=no ;; esac ld_shlibs=yes if test "$with_gnu_ld" = yes; then # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. # Unlike libtool, we use -rpath here, not --rpath, since the documented # option of GNU ld is called -rpath, not --rpath. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' case "$host_os" in aix[3-9]*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then ld_shlibs=no fi ;; amigaos*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes # Samuel A. Falvo II reports # that the semantics of dynamic libraries on AmigaOS, at least up # to version 4, is to share data among multiple programs linked # with the same dynamic library. Since this doesn't match the # behavior of shared libraries on other platforms, we cannot use # them. ld_shlibs=no ;; beos*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then : else ld_shlibs=no fi ;; cygwin* | mingw* | pw32* | cegcc*) # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. hardcode_libdir_flag_spec='-L$libdir' if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then : else ld_shlibs=no fi ;; interix[3-9]*) hardcode_direct=no hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ;; gnu* | linux* | k*bsd*-gnu) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then : else ld_shlibs=no fi ;; netbsd*) ;; solaris*) if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then ld_shlibs=no elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then : else ld_shlibs=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) ld_shlibs=no ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' else ld_shlibs=no fi ;; esac ;; sunos4*) hardcode_direct=yes ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then : else ld_shlibs=no fi ;; esac if test "$ld_shlibs" = no; then hardcode_libdir_flag_spec= fi else case "$host_os" in aix3*) # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. hardcode_minus_L=yes if test "$GCC" = yes; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. hardcode_direct=unsupported fi ;; aix[4-9]*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no else aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done ;; esac fi hardcode_direct=yes hardcode_libdir_separator=':' if test "$GCC" = yes; then case $host_os in aix4.[012]|aix4.[012].*) collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 hardcode_direct=unsupported hardcode_minus_L=yes hardcode_libdir_flag_spec='-L$libdir' hardcode_libdir_separator= fi ;; esac fi # Begin _LT_AC_SYS_LIBPATH_AIX. echo 'int main () { return 0; }' > conftest.c ${CC} ${LDFLAGS} conftest.c -o conftest aix_libpath=`dump -H conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` fi if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib" fi rm -f conftest.c conftest # End _LT_AC_SYS_LIBPATH_AIX. if test "$aix_use_runtimelinking" = yes; then hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' else hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" fi fi ;; amigaos*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes # see comment about different semantics on the GNU ld section ld_shlibs=no ;; bsdi[45]*) ;; cygwin* | mingw* | pw32* | cegcc*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. hardcode_libdir_flag_spec=' ' libext=lib ;; darwin* | rhapsody*) hardcode_direct=no if test "$GCC" = yes ; then : else case $cc_basename in xlc*) ;; *) ld_shlibs=no ;; esac fi ;; dgux*) hardcode_libdir_flag_spec='-L$libdir' ;; freebsd1*) ld_shlibs=no ;; freebsd2.2*) hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes ;; freebsd2*) hardcode_direct=yes hardcode_minus_L=yes ;; freebsd* | dragonfly*) hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes ;; hpux9*) hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes ;; hpux10*) if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes fi ;; hpux11*) if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: case $host_cpu in hppa*64*|ia64*) hardcode_direct=no ;; *) hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: ;; netbsd*) hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes ;; newsos6) hardcode_direct=yes hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: ;; openbsd*) if test -f /usr/libexec/ld.so; then hardcode_direct=yes if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then hardcode_libdir_flag_spec='${wl}-rpath,$libdir' else case "$host_os" in openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) hardcode_libdir_flag_spec='-R$libdir' ;; *) hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ;; esac fi else ld_shlibs=no fi ;; os2*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; osf3*) hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: ;; osf4* | osf5*) if test "$GCC" = yes; then hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' else # Both cc and cxx compiler support -rpath directly hardcode_libdir_flag_spec='-rpath $libdir' fi hardcode_libdir_separator=: ;; solaris*) hardcode_libdir_flag_spec='-R$libdir' ;; sunos4*) hardcode_libdir_flag_spec='-L$libdir' hardcode_direct=yes hardcode_minus_L=yes ;; sysv4) case $host_vendor in sni) hardcode_direct=yes # is this really true??? ;; siemens) hardcode_direct=no ;; motorola) hardcode_direct=no #Motorola manual says yes, but my tests say they lie ;; esac ;; sysv4.3*) ;; sysv4*MP*) if test -d /usr/nec; then ld_shlibs=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) ;; sysv5* | sco3.2v5* | sco5v6*) hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' hardcode_libdir_separator=':' ;; uts4*) hardcode_libdir_flag_spec='-L$libdir' ;; *) ld_shlibs=no ;; esac fi # Check dynamic linker characteristics # Code taken from libtool.m4's _LT_SYS_DYNAMIC_LINKER. # Unlike libtool.m4, here we don't care about _all_ names of the library, but # only about the one the linker finds when passed -lNAME. This is the last # element of library_names_spec in libtool.m4, or possibly two of them if the # linker has special search rules. library_names_spec= # the last element of library_names_spec in libtool.m4 libname_spec='lib$name' case "$host_os" in aix3*) library_names_spec='$libname.a' ;; aix[4-9]*) library_names_spec='$libname$shrext' ;; amigaos*) library_names_spec='$libname.a' ;; beos*) library_names_spec='$libname$shrext' ;; bsdi[45]*) library_names_spec='$libname$shrext' ;; cygwin* | mingw* | pw32* | cegcc*) shrext=.dll library_names_spec='$libname.dll.a $libname.lib' ;; darwin* | rhapsody*) shrext=.dylib library_names_spec='$libname$shrext' ;; dgux*) library_names_spec='$libname$shrext' ;; freebsd1*) ;; freebsd* | dragonfly*) case "$host_os" in freebsd[123]*) library_names_spec='$libname$shrext$versuffix' ;; *) library_names_spec='$libname$shrext' ;; esac ;; gnu*) library_names_spec='$libname$shrext' ;; hpux9* | hpux10* | hpux11*) case $host_cpu in ia64*) shrext=.so ;; hppa*64*) shrext=.sl ;; *) shrext=.sl ;; esac library_names_spec='$libname$shrext' ;; interix[3-9]*) library_names_spec='$libname$shrext' ;; irix5* | irix6* | nonstopux*) library_names_spec='$libname$shrext' case "$host_os" in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;; *) libsuff= shlibsuff= ;; esac ;; esac ;; linux*oldld* | linux*aout* | linux*coff*) ;; linux* | k*bsd*-gnu) library_names_spec='$libname$shrext' ;; knetbsd*-gnu) library_names_spec='$libname$shrext' ;; netbsd*) library_names_spec='$libname$shrext' ;; newsos6) library_names_spec='$libname$shrext' ;; nto-qnx*) library_names_spec='$libname$shrext' ;; openbsd*) library_names_spec='$libname$shrext$versuffix' ;; os2*) libname_spec='$name' shrext=.dll library_names_spec='$libname.a' ;; osf3* | osf4* | osf5*) library_names_spec='$libname$shrext' ;; rdos*) ;; solaris*) library_names_spec='$libname$shrext' ;; sunos4*) library_names_spec='$libname$shrext$versuffix' ;; sysv4 | sysv4.3*) library_names_spec='$libname$shrext' ;; sysv4*MP*) library_names_spec='$libname$shrext' ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) library_names_spec='$libname$shrext' ;; uts4*) library_names_spec='$libname$shrext' ;; esac sed_quote_subst='s/\(["`$\\]\)/\\\1/g' escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"` shlibext=`echo "$shrext" | sed -e 's,^\.,,'` escaped_libname_spec=`echo "X$libname_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` escaped_library_names_spec=`echo "X$library_names_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <@], [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_shared=yes ;; no) enable_shared=no ;; *) enable_shared=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_shared=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_shared=]_LT_ENABLE_SHARED_DEFAULT) _LT_DECL([build_libtool_libs], [enable_shared], [0], [Whether or not to build shared libraries]) ])# _LT_ENABLE_SHARED LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])]) # Old names: AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared]) ]) AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared]) ]) AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AM_ENABLE_SHARED], []) dnl AC_DEFUN([AM_DISABLE_SHARED], []) # _LT_ENABLE_STATIC([DEFAULT]) # ---------------------------- # implement the --enable-static flag, and support the `static' and # `disable-static' LT_INIT options. # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. m4_define([_LT_ENABLE_STATIC], [m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([static], [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@], [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_static=yes ;; no) enable_static=no ;; *) enable_static=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_static=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_static=]_LT_ENABLE_STATIC_DEFAULT) _LT_DECL([build_old_libs], [enable_static], [0], [Whether or not to build static libraries]) ])# _LT_ENABLE_STATIC LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])]) # Old names: AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static]) ]) AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static]) ]) AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AM_ENABLE_STATIC], []) dnl AC_DEFUN([AM_DISABLE_STATIC], []) # _LT_ENABLE_FAST_INSTALL([DEFAULT]) # ---------------------------------- # implement the --enable-fast-install flag, and support the `fast-install' # and `disable-fast-install' LT_INIT options. # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. m4_define([_LT_ENABLE_FAST_INSTALL], [m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([fast-install], [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_fast_install=yes ;; no) enable_fast_install=no ;; *) enable_fast_install=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT) _LT_DECL([fast_install], [enable_fast_install], [0], [Whether or not to optimize for fast installation])dnl ])# _LT_ENABLE_FAST_INSTALL LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])]) # Old names: AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `fast-install' option into LT_INIT's first parameter.]) ]) AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `disable-fast-install' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], []) dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], []) # _LT_WITH_PIC([MODE]) # -------------------- # implement the --with-pic flag, and support the `pic-only' and `no-pic' # LT_INIT options. # MODE is either `yes' or `no'. If omitted, it defaults to `both'. m4_define([_LT_WITH_PIC], [AC_ARG_WITH([pic], [AS_HELP_STRING([--with-pic], [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], [pic_mode="$withval"], [pic_mode=default]) test -z "$pic_mode" && pic_mode=m4_default([$1], [default]) _LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl ])# _LT_WITH_PIC LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])]) LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])]) # Old name: AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `pic-only' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_PICMODE], []) ## ----------------- ## ## LTDL_INIT Options ## ## ----------------- ## m4_define([_LTDL_MODE], []) LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive], [m4_define([_LTDL_MODE], [nonrecursive])]) LT_OPTION_DEFINE([LTDL_INIT], [recursive], [m4_define([_LTDL_MODE], [recursive])]) LT_OPTION_DEFINE([LTDL_INIT], [subproject], [m4_define([_LTDL_MODE], [subproject])]) m4_define([_LTDL_TYPE], []) LT_OPTION_DEFINE([LTDL_INIT], [installable], [m4_define([_LTDL_TYPE], [installable])]) LT_OPTION_DEFINE([LTDL_INIT], [convenience], [m4_define([_LTDL_TYPE], [convenience])]) idjc-0.8.9/m4/lt~obsolete.m40000644000175000017500000001375612073312170012526 00000000000000# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- # # Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc. # Written by Scott James Remnant, 2004. # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # serial 5 lt~obsolete.m4 # These exist entirely to fool aclocal when bootstrapping libtool. # # In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN) # which have later been changed to m4_define as they aren't part of the # exported API, or moved to Autoconf or Automake where they belong. # # The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN # in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us # using a macro with the same name in our local m4/libtool.m4 it'll # pull the old libtool.m4 in (it doesn't see our shiny new m4_define # and doesn't know about Autoconf macros at all.) # # So we provide this file, which has a silly filename so it's always # included after everything else. This provides aclocal with the # AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything # because those macros already exist, or will be overwritten later. # We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. # # Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here. # Yes, that means every name once taken will need to remain here until # we give up compatibility with versions before 1.7, at which point # we need to keep only those names which we still refer to. # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])]) m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])]) m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])]) m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])]) m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])]) m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])]) m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])]) m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])]) m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])]) m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])]) m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])]) m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])]) m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])]) m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])]) m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])]) m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])]) m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])]) m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])]) m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])]) m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])]) m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])]) m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])]) m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])]) m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])]) m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])]) m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])]) m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])]) m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])]) m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])]) m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])]) m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])]) m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])]) m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])]) m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])]) m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])]) m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])]) m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])]) m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])]) m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])]) m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])]) m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])]) m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])]) m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])]) m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])]) m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])]) m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])]) m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])]) m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])]) m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])]) m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])]) m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])]) m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])]) m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])]) m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])]) m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])]) m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])]) m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])]) m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])]) idjc-0.8.9/m4/intlmacosx.m40000644000175000017500000000457512142730006012333 00000000000000# intlmacosx.m4 serial 3 (gettext-0.18) dnl Copyright (C) 2004-2010 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU dnl gettext package package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Checks for special options needed on MacOS X. dnl Defines INTL_MACOSX_LIBS. AC_DEFUN([gt_INTL_MACOSX], [ dnl Check for API introduced in MacOS X 10.2. AC_CACHE_CHECK([for CFPreferencesCopyAppValue], [gt_cv_func_CFPreferencesCopyAppValue], [gt_save_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" AC_TRY_LINK([#include ], [CFPreferencesCopyAppValue(NULL, NULL)], [gt_cv_func_CFPreferencesCopyAppValue=yes], [gt_cv_func_CFPreferencesCopyAppValue=no]) LIBS="$gt_save_LIBS"]) if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], [1], [Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework.]) fi dnl Check for API introduced in MacOS X 10.3. AC_CACHE_CHECK([for CFLocaleCopyCurrent], [gt_cv_func_CFLocaleCopyCurrent], [gt_save_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" AC_TRY_LINK([#include ], [CFLocaleCopyCurrent();], [gt_cv_func_CFLocaleCopyCurrent=yes], [gt_cv_func_CFLocaleCopyCurrent=no]) LIBS="$gt_save_LIBS"]) if test $gt_cv_func_CFLocaleCopyCurrent = yes; then AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], [1], [Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework.]) fi INTL_MACOSX_LIBS= if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" fi AC_SUBST([INTL_MACOSX_LIBS]) ]) idjc-0.8.9/m4/gettext.m40000644000175000017500000003513212142730006011627 00000000000000# gettext.m4 serial 63 (gettext-0.18) dnl Copyright (C) 1995-2010 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU dnl gettext package package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 1995-2000. dnl Bruno Haible , 2000-2006, 2008-2010. dnl Macro to add for using GNU gettext. dnl Usage: AM_GNU_GETTEXT([INTLSYMBOL], [NEEDSYMBOL], [INTLDIR]). dnl INTLSYMBOL can be one of 'external', 'no-libtool', 'use-libtool'. The dnl default (if it is not specified or empty) is 'no-libtool'. dnl INTLSYMBOL should be 'external' for packages with no intl directory, dnl and 'no-libtool' or 'use-libtool' for packages with an intl directory. dnl If INTLSYMBOL is 'use-libtool', then a libtool library dnl $(top_builddir)/intl/libintl.la will be created (shared and/or static, dnl depending on --{enable,disable}-{shared,static} and on the presence of dnl AM-DISABLE-SHARED). If INTLSYMBOL is 'no-libtool', a static library dnl $(top_builddir)/intl/libintl.a will be created. dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext dnl implementations (in libc or libintl) without the ngettext() function dnl will be ignored. If NEEDSYMBOL is specified and is dnl 'need-formatstring-macros', then GNU gettext implementations that don't dnl support the ISO C 99 formatstring macros will be ignored. dnl INTLDIR is used to find the intl libraries. If empty, dnl the value `$(top_builddir)/intl/' is used. dnl dnl The result of the configuration is one of three cases: dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled dnl and used. dnl Catalog format: GNU --> install in $(datadir) dnl Catalog extension: .mo after installation, .gmo in source tree dnl 2) GNU gettext has been found in the system's C library. dnl Catalog format: GNU --> install in $(datadir) dnl Catalog extension: .mo after installation, .gmo in source tree dnl 3) No internationalization, always use English msgid. dnl Catalog format: none dnl Catalog extension: none dnl If INTLSYMBOL is 'external', only cases 2 and 3 can occur. dnl The use of .gmo is historical (it was needed to avoid overwriting the dnl GNU format catalogs when building on a platform with an X/Open gettext), dnl but we keep it in order not to force irrelevant filename changes on the dnl maintainers. dnl AC_DEFUN([AM_GNU_GETTEXT], [ dnl Argument checking. ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], , [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT ])])])])]) ifelse(ifelse([$1], [], [old])[]ifelse([$1], [no-libtool], [old]), [old], [AC_DIAGNOSE([obsolete], [Use of AM_GNU_GETTEXT without [external] argument is deprecated.])]) ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], , [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT ])])])]) define([gt_included_intl], ifelse([$1], [external], ifdef([AM_GNU_GETTEXT_][INTL_SUBDIR], [yes], [no]), [yes])) define([gt_libtool_suffix_prefix], ifelse([$1], [use-libtool], [l], [])) gt_NEEDS_INIT AM_GNU_GETTEXT_NEED([$2]) AC_REQUIRE([AM_PO_SUBDIRS])dnl ifelse(gt_included_intl, yes, [ AC_REQUIRE([AM_INTL_SUBDIR])dnl ]) dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) AC_REQUIRE([AC_LIB_RPATH]) dnl Sometimes libintl requires libiconv, so first search for libiconv. dnl Ideally we would do this search only after the dnl if test "$USE_NLS" = "yes"; then dnl if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT dnl the configure script would need to contain the same shell code dnl again, outside any 'if'. There are two solutions: dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'. dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE. dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not dnl documented, we avoid it. ifelse(gt_included_intl, yes, , [ AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) ]) dnl Sometimes, on MacOS X, libintl requires linking with CoreFoundation. gt_INTL_MACOSX dnl Set USE_NLS. AC_REQUIRE([AM_NLS]) ifelse(gt_included_intl, yes, [ BUILD_INCLUDED_LIBINTL=no USE_INCLUDED_LIBINTL=no ]) LIBINTL= LTLIBINTL= POSUB= dnl Add a version number to the cache macros. case " $gt_needs " in *" need-formatstring-macros "*) gt_api_version=3 ;; *" need-ngettext "*) gt_api_version=2 ;; *) gt_api_version=1 ;; esac gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" dnl If we use NLS figure out what method if test "$USE_NLS" = "yes"; then gt_use_preinstalled_gnugettext=no ifelse(gt_included_intl, yes, [ AC_MSG_CHECKING([whether included gettext is requested]) AC_ARG_WITH([included-gettext], [ --with-included-gettext use the GNU gettext library included here], nls_cv_force_use_gnu_gettext=$withval, nls_cv_force_use_gnu_gettext=no) AC_MSG_RESULT([$nls_cv_force_use_gnu_gettext]) nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" if test "$nls_cv_force_use_gnu_gettext" != "yes"; then ]) dnl User does not insist on using GNU NLS library. Figure out what dnl to use. If GNU gettext is available we use this. Else we have dnl to fall back to GNU NLS library. if test $gt_api_version -ge 3; then gt_revision_test_code=' #ifndef __GNU_GETTEXT_SUPPORTED_REVISION #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) #endif changequote(,)dnl typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; changequote([,])dnl ' else gt_revision_test_code= fi if test $gt_api_version -ge 2; then gt_expression_test_code=' + * ngettext ("", "", 0)' else gt_expression_test_code= fi AC_CACHE_CHECK([for GNU gettext in libc], [$gt_func_gnugettext_libc], [AC_TRY_LINK([#include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern int *_nl_domain_bindings;], [bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings], [eval "$gt_func_gnugettext_libc=yes"], [eval "$gt_func_gnugettext_libc=no"])]) if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then dnl Sometimes libintl requires libiconv, so first search for libiconv. ifelse(gt_included_intl, yes, , [ AM_ICONV_LINK ]) dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv]) dnl because that would add "-liconv" to LIBINTL and LTLIBINTL dnl even if libiconv doesn't exist. AC_LIB_LINKFLAGS_BODY([intl]) AC_CACHE_CHECK([for GNU gettext in libintl], [$gt_func_gnugettext_libintl], [gt_save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $INCINTL" gt_save_LIBS="$LIBS" LIBS="$LIBS $LIBINTL" dnl Now see whether libintl exists and does not depend on libiconv. AC_TRY_LINK([#include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern #ifdef __cplusplus "C" #endif const char *_nl_expand_alias (const char *);], [bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")], [eval "$gt_func_gnugettext_libintl=yes"], [eval "$gt_func_gnugettext_libintl=no"]) dnl Now see whether libintl exists and depends on libiconv. if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then LIBS="$LIBS $LIBICONV" AC_TRY_LINK([#include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern #ifdef __cplusplus "C" #endif const char *_nl_expand_alias (const char *);], [bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")], [LIBINTL="$LIBINTL $LIBICONV" LTLIBINTL="$LTLIBINTL $LTLIBICONV" eval "$gt_func_gnugettext_libintl=yes" ]) fi CPPFLAGS="$gt_save_CPPFLAGS" LIBS="$gt_save_LIBS"]) fi dnl If an already present or preinstalled GNU gettext() is found, dnl use it. But if this macro is used in GNU gettext, and GNU dnl gettext is already preinstalled in libintl, we update this dnl libintl. (Cf. the install rule in intl/Makefile.in.) if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ && test "$PACKAGE" != gettext-runtime \ && test "$PACKAGE" != gettext-tools; }; then gt_use_preinstalled_gnugettext=yes else dnl Reset the values set by searching for libintl. LIBINTL= LTLIBINTL= INCINTL= fi ifelse(gt_included_intl, yes, [ if test "$gt_use_preinstalled_gnugettext" != "yes"; then dnl GNU gettext is not found in the C library. dnl Fall back on included GNU gettext library. nls_cv_use_gnu_gettext=yes fi fi if test "$nls_cv_use_gnu_gettext" = "yes"; then dnl Mark actions used to generate GNU NLS library. BUILD_INCLUDED_LIBINTL=yes USE_INCLUDED_LIBINTL=yes LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV $LIBTHREAD" LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV $LTLIBTHREAD" LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'` fi CATOBJEXT= if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then dnl Mark actions to use GNU gettext tools. CATOBJEXT=.gmo fi ]) if test -n "$INTL_MACOSX_LIBS"; then if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then dnl Some extra flags are needed during linking. LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" fi fi if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then AC_DEFINE([ENABLE_NLS], [1], [Define to 1 if translation of program messages to the user's native language is requested.]) else USE_NLS=no fi fi AC_MSG_CHECKING([whether to use NLS]) AC_MSG_RESULT([$USE_NLS]) if test "$USE_NLS" = "yes"; then AC_MSG_CHECKING([where the gettext function comes from]) if test "$gt_use_preinstalled_gnugettext" = "yes"; then if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then gt_source="external libintl" else gt_source="libc" fi else gt_source="included intl directory" fi AC_MSG_RESULT([$gt_source]) fi if test "$USE_NLS" = "yes"; then if test "$gt_use_preinstalled_gnugettext" = "yes"; then if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then AC_MSG_CHECKING([how to link with libintl]) AC_MSG_RESULT([$LIBINTL]) AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL]) fi dnl For backward compatibility. Some packages may be using this. AC_DEFINE([HAVE_GETTEXT], [1], [Define if the GNU gettext() function is already present or preinstalled.]) AC_DEFINE([HAVE_DCGETTEXT], [1], [Define if the GNU dcgettext() function is already present or preinstalled.]) fi dnl We need to process the po/ directory. POSUB=po fi ifelse(gt_included_intl, yes, [ dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL dnl to 'yes' because some of the testsuite requires it. if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then BUILD_INCLUDED_LIBINTL=yes fi dnl Make all variables we use known to autoconf. AC_SUBST([BUILD_INCLUDED_LIBINTL]) AC_SUBST([USE_INCLUDED_LIBINTL]) AC_SUBST([CATOBJEXT]) dnl For backward compatibility. Some configure.ins may be using this. nls_cv_header_intl= nls_cv_header_libgt= dnl For backward compatibility. Some Makefiles may be using this. DATADIRNAME=share AC_SUBST([DATADIRNAME]) dnl For backward compatibility. Some Makefiles may be using this. INSTOBJEXT=.mo AC_SUBST([INSTOBJEXT]) dnl For backward compatibility. Some Makefiles may be using this. GENCAT=gencat AC_SUBST([GENCAT]) dnl For backward compatibility. Some Makefiles may be using this. INTLOBJS= if test "$USE_INCLUDED_LIBINTL" = yes; then INTLOBJS="\$(GETTOBJS)" fi AC_SUBST([INTLOBJS]) dnl Enable libtool support if the surrounding package wishes it. INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix AC_SUBST([INTL_LIBTOOL_SUFFIX_PREFIX]) ]) dnl For backward compatibility. Some Makefiles may be using this. INTLLIBS="$LIBINTL" AC_SUBST([INTLLIBS]) dnl Make all documented variables known to autoconf. AC_SUBST([LIBINTL]) AC_SUBST([LTLIBINTL]) AC_SUBST([POSUB]) ]) dnl gt_NEEDS_INIT ensures that the gt_needs variable is initialized. m4_define([gt_NEEDS_INIT], [ m4_divert_text([DEFAULTS], [gt_needs=]) m4_define([gt_NEEDS_INIT], []) ]) dnl Usage: AM_GNU_GETTEXT_NEED([NEEDSYMBOL]) AC_DEFUN([AM_GNU_GETTEXT_NEED], [ m4_divert_text([INIT_PREPARE], [gt_needs="$gt_needs $1"]) ]) dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version]) AC_DEFUN([AM_GNU_GETTEXT_VERSION], []) idjc-0.8.9/m4/ChangeLog0000644000175000017500000000063511630251123011452 000000000000002011-08-07 gettextize * gettext.m4: New file, from gettext-0.18.1. * iconv.m4: New file, from gettext-0.18.1. * lib-ld.m4: New file, from gettext-0.18.1. * lib-link.m4: New file, from gettext-0.18.1. * lib-prefix.m4: New file, from gettext-0.18.1. * nls.m4: New file, from gettext-0.18.1. * po.m4: New file, from gettext-0.18.1. * progtest.m4: New file, from gettext-0.18.1. idjc-0.8.9/m4/lib-ld.m40000644000175000017500000000660312142730006011307 00000000000000# lib-ld.m4 serial 4 (gettext-0.18) dnl Copyright (C) 1996-2003, 2009-2010 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl Subroutines of libtool.m4, dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision dnl with libtool.m4. dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no. AC_DEFUN([AC_LIB_PROG_LD_GNU], [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], [acl_cv_prog_gnu_ld], [# I'd rather use --version here, but apparently some GNU ld's only accept -v. case `$LD -v 2>&1 conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. AC_MSG_CHECKING([for ld used by GCC]) case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [[\\/]* | [A-Za-z]:[\\/]*)] [re_direlt='/[^/][^/]*/\.\./'] # Canonicalize the path of ld ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then AC_MSG_CHECKING([for GNU ld]) else AC_MSG_CHECKING([for non-GNU ld]) fi AC_CACHE_VAL([acl_cv_path_LD], [if test -z "$LD"; then IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then acl_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some GNU ld's only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in *GNU* | *'with BFD'*) test "$with_gnu_ld" != no && break ;; *) test "$with_gnu_ld" != yes && break ;; esac fi done IFS="$ac_save_ifs" else acl_cv_path_LD="$LD" # Let the user override the test with a path. fi]) LD="$acl_cv_path_LD" if test -n "$LD"; then AC_MSG_RESULT([$LD]) else AC_MSG_RESULT([no]) fi test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) AC_LIB_PROG_LD_GNU ]) idjc-0.8.9/m4/iconv.m40000644000175000017500000001653712142730006011271 00000000000000# iconv.m4 serial 11 (gettext-0.18.1) dnl Copyright (C) 2000-2002, 2007-2010 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. AC_DEFUN([AM_ICONV_LINKFLAGS_BODY], [ dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) AC_REQUIRE([AC_LIB_RPATH]) dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV dnl accordingly. AC_LIB_LINKFLAGS_BODY([iconv]) ]) AC_DEFUN([AM_ICONV_LINK], [ dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and dnl those with the standalone portable GNU libiconv installed). AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV dnl accordingly. AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) dnl Add $INCICONV to CPPFLAGS before performing the following checks, dnl because if the user has installed libiconv and not disabled its use dnl via --without-libiconv-prefix, he wants to use it. The first dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed. am_save_CPPFLAGS="$CPPFLAGS" AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV]) AC_CACHE_CHECK([for iconv], [am_cv_func_iconv], [ am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_lib_iconv=no AC_TRY_LINK([#include #include ], [iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd);], [am_cv_func_iconv=yes]) if test "$am_cv_func_iconv" != yes; then am_save_LIBS="$LIBS" LIBS="$LIBS $LIBICONV" AC_TRY_LINK([#include #include ], [iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd);], [am_cv_lib_iconv=yes] [am_cv_func_iconv=yes]) LIBS="$am_save_LIBS" fi ]) if test "$am_cv_func_iconv" = yes; then AC_CACHE_CHECK([for working iconv], [am_cv_func_iconv_works], [ dnl This tests against bugs in AIX 5.1, HP-UX 11.11, Solaris 10. am_save_LIBS="$LIBS" if test $am_cv_lib_iconv = yes; then LIBS="$LIBS $LIBICONV" fi AC_TRY_RUN([ #include #include int main () { /* Test against AIX 5.1 bug: Failures are not distinguishable from successful returns. */ { iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); if (cd_utf8_to_88591 != (iconv_t)(-1)) { static const char input[] = "\342\202\254"; /* EURO SIGN */ char buf[10]; const char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_utf8_to_88591, (char **) &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == 0) return 1; } } /* Test against Solaris 10 bug: Failures are not distinguishable from successful returns. */ { iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); if (cd_ascii_to_88591 != (iconv_t)(-1)) { static const char input[] = "\263"; char buf[10]; const char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_ascii_to_88591, (char **) &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == 0) return 1; } } #if 0 /* This bug could be worked around by the caller. */ /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ { iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); if (cd_88591_to_utf8 != (iconv_t)(-1)) { static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; char buf[50]; const char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_88591_to_utf8, (char **) &inptr, &inbytesleft, &outptr, &outbytesleft); if ((int)res > 0) return 1; } } #endif /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is provided. */ if (/* Try standardized names. */ iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) /* Try IRIX, OSF/1 names. */ && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) /* Try AIX names. */ && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) /* Try HP-UX names. */ && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) return 1; return 0; }], [am_cv_func_iconv_works=yes], [am_cv_func_iconv_works=no], [case "$host_os" in aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; *) am_cv_func_iconv_works="guessing yes" ;; esac]) LIBS="$am_save_LIBS" ]) case "$am_cv_func_iconv_works" in *no) am_func_iconv=no am_cv_lib_iconv=no ;; *) am_func_iconv=yes ;; esac else am_func_iconv=no am_cv_lib_iconv=no fi if test "$am_func_iconv" = yes; then AC_DEFINE([HAVE_ICONV], [1], [Define if you have the iconv() function and it works.]) fi if test "$am_cv_lib_iconv" = yes; then AC_MSG_CHECKING([how to link with libiconv]) AC_MSG_RESULT([$LIBICONV]) else dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV dnl either. CPPFLAGS="$am_save_CPPFLAGS" LIBICONV= LTLIBICONV= fi AC_SUBST([LIBICONV]) AC_SUBST([LTLIBICONV]) ]) dnl Define AM_ICONV using AC_DEFUN_ONCE for Autoconf >= 2.64, in order to dnl avoid warnings like dnl "warning: AC_REQUIRE: `AM_ICONV' was expanded before it was required". dnl This is tricky because of the way 'aclocal' is implemented: dnl - It requires defining an auxiliary macro whose name ends in AC_DEFUN. dnl Otherwise aclocal's initial scan pass would miss the macro definition. dnl - It requires a line break inside the AC_DEFUN_ONCE and AC_DEFUN expansions. dnl Otherwise aclocal would emit many "Use of uninitialized value $1" dnl warnings. m4_define([gl_iconv_AC_DEFUN], m4_version_prereq([2.64], [[AC_DEFUN_ONCE( [$1], [$2])]], [[AC_DEFUN( [$1], [$2])]])) gl_iconv_AC_DEFUN([AM_ICONV], [ AM_ICONV_LINK if test "$am_cv_func_iconv" = yes; then AC_MSG_CHECKING([for iconv declaration]) AC_CACHE_VAL([am_cv_proto_iconv], [ AC_TRY_COMPILE([ #include #include extern #ifdef __cplusplus "C" #endif #if defined(__STDC__) || defined(__cplusplus) size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); #else size_t iconv(); #endif ], [], [am_cv_proto_iconv_arg1=""], [am_cv_proto_iconv_arg1="const"]) am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"]) am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` AC_MSG_RESULT([ $am_cv_proto_iconv]) AC_DEFINE_UNQUOTED([ICONV_CONST], [$am_cv_proto_iconv_arg1], [Define as const if the declaration of iconv() needs const.]) fi ]) idjc-0.8.9/m4/po.m40000644000175000017500000004461612142730006010570 00000000000000# po.m4 serial 17 (gettext-0.18) dnl Copyright (C) 1995-2010 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU dnl gettext package package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 1995-2000. dnl Bruno Haible , 2000-2003. AC_PREREQ([2.50]) dnl Checks for all prerequisites of the po subdirectory. AC_DEFUN([AM_PO_SUBDIRS], [ AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake AC_REQUIRE([AM_NLS])dnl dnl Release version of the gettext macros. This is used to ensure that dnl the gettext macros and po/Makefile.in.in are in sync. AC_SUBST([GETTEXT_MACRO_VERSION], [0.18]) dnl Perform the following tests also if --disable-nls has been given, dnl because they are needed for "make dist" to work. dnl Search for GNU msgfmt in the PATH. dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions. dnl The second test excludes FreeBSD msgfmt. AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, [$ac_dir/$ac_word --statistics /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], :) AC_PATH_PROG([GMSGFMT], [gmsgfmt], [$MSGFMT]) dnl Test whether it is GNU msgfmt >= 0.15. changequote(,)dnl case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; *) MSGFMT_015=$MSGFMT ;; esac changequote([,])dnl AC_SUBST([MSGFMT_015]) changequote(,)dnl case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; *) GMSGFMT_015=$GMSGFMT ;; esac changequote([,])dnl AC_SUBST([GMSGFMT_015]) dnl Search for GNU xgettext 0.12 or newer in the PATH. dnl The first test excludes Solaris xgettext and early GNU xgettext versions. dnl The second test excludes FreeBSD xgettext. AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], :) dnl Remove leftover from FreeBSD xgettext call. rm -f messages.po dnl Test whether it is GNU xgettext >= 0.15. changequote(,)dnl case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; *) XGETTEXT_015=$XGETTEXT ;; esac changequote([,])dnl AC_SUBST([XGETTEXT_015]) dnl Search for GNU msgmerge 0.11 or newer in the PATH. AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge, [$ac_dir/$ac_word --update -q /dev/null /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1], :) dnl Installation directories. dnl Autoconf >= 2.60 defines localedir. For older versions of autoconf, we dnl have to define it here, so that it can be used in po/Makefile. test -n "$localedir" || localedir='${datadir}/locale' AC_SUBST([localedir]) dnl Support for AM_XGETTEXT_OPTION. test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= AC_SUBST([XGETTEXT_EXTRA_OPTIONS]) AC_CONFIG_COMMANDS([po-directories], [[ for ac_file in $CONFIG_FILES; do # Support "outfile[:infile[:infile...]]" case "$ac_file" in *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; esac # PO directories have a Makefile.in generated from Makefile.in.in. case "$ac_file" in */Makefile.in) # Adjust a relative srcdir. ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` # In autoconf-2.13 it is called $ac_given_srcdir. # In autoconf-2.50 it is called $srcdir. test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" case "$ac_given_srcdir" in .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; /*) top_srcdir="$ac_given_srcdir" ;; *) top_srcdir="$ac_dots$ac_given_srcdir" ;; esac # Treat a directory as a PO directory if and only if it has a # POTFILES.in file. This allows packages to have multiple PO # directories under different names or in different locations. if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then rm -f "$ac_dir/POTFILES" test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" POMAKEFILEDEPS="POTFILES.in" # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend # on $ac_dir but don't depend on user-specified configuration # parameters. if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then # The LINGUAS file contains the set of available languages. if test -n "$OBSOLETE_ALL_LINGUAS"; then test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" fi ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` # Hide the ALL_LINGUAS assigment from automake < 1.5. eval 'ALL_LINGUAS''=$ALL_LINGUAS_' POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" else # The set of available languages was given in configure.in. # Hide the ALL_LINGUAS assigment from automake < 1.5. eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' fi # Compute POFILES # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) # Compute UPDATEPOFILES # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) # Compute DUMMYPOFILES # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) # Compute GMOFILES # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) case "$ac_given_srcdir" in .) srcdirpre= ;; *) srcdirpre='$(srcdir)/' ;; esac POFILES= UPDATEPOFILES= DUMMYPOFILES= GMOFILES= for lang in $ALL_LINGUAS; do POFILES="$POFILES $srcdirpre$lang.po" UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" DUMMYPOFILES="$DUMMYPOFILES $lang.nop" GMOFILES="$GMOFILES $srcdirpre$lang.gmo" done # CATALOGS depends on both $ac_dir and the user's LINGUAS # environment variable. INST_LINGUAS= if test -n "$ALL_LINGUAS"; then for presentlang in $ALL_LINGUAS; do useit=no if test "%UNSET%" != "$LINGUAS"; then desiredlanguages="$LINGUAS" else desiredlanguages="$ALL_LINGUAS" fi for desiredlang in $desiredlanguages; do # Use the presentlang catalog if desiredlang is # a. equal to presentlang, or # b. a variant of presentlang (because in this case, # presentlang can be used as a fallback for messages # which are not translated in the desiredlang catalog). case "$desiredlang" in "$presentlang"*) useit=yes;; esac done if test $useit = yes; then INST_LINGUAS="$INST_LINGUAS $presentlang" fi done fi CATALOGS= if test -n "$INST_LINGUAS"; then for lang in $INST_LINGUAS; do CATALOGS="$CATALOGS $lang.gmo" done fi test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do if test -f "$f"; then case "$f" in *.orig | *.bak | *~) ;; *) cat "$f" >> "$ac_dir/Makefile" ;; esac fi done fi ;; esac done]], [# Capture the value of obsolete ALL_LINGUAS because we need it to compute # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it # from automake < 1.5. eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' # Capture the value of LINGUAS because we need it to compute CATALOGS. LINGUAS="${LINGUAS-%UNSET%}" ]) ]) dnl Postprocesses a Makefile in a directory containing PO files. AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE], [ # When this code is run, in config.status, two variables have already been # set: # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in, # - LINGUAS is the value of the environment variable LINGUAS at configure # time. changequote(,)dnl # Adjust a relative srcdir. ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` # In autoconf-2.13 it is called $ac_given_srcdir. # In autoconf-2.50 it is called $srcdir. test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" case "$ac_given_srcdir" in .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; /*) top_srcdir="$ac_given_srcdir" ;; *) top_srcdir="$ac_dots$ac_given_srcdir" ;; esac # Find a way to echo strings without interpreting backslash. if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then gt_echo='echo' else if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then gt_echo='printf %s\n' else echo_func () { cat < "$ac_file.tmp" if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then # Add dependencies that cannot be formulated as a simple suffix rule. for lang in $ALL_LINGUAS; do frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` cat >> "$ac_file.tmp" < /dev/null; then # Add dependencies that cannot be formulated as a simple suffix rule. for lang in $ALL_LINGUAS; do frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'` cat >> "$ac_file.tmp" <> "$ac_file.tmp" <, 1995-2000. dnl Bruno Haible , 2000-2003. AC_PREREQ([2.50]) AC_DEFUN([AM_NLS], [ AC_MSG_CHECKING([whether NLS is requested]) dnl Default is enabled NLS AC_ARG_ENABLE([nls], [ --disable-nls do not use Native Language Support], USE_NLS=$enableval, USE_NLS=yes) AC_MSG_RESULT([$USE_NLS]) AC_SUBST([USE_NLS]) ]) idjc-0.8.9/m4/libtool.m40000644000175000017500000104554612073312170011623 00000000000000# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, # 2006, 2007, 2008, 2009, 2010 Free Software Foundation, # Inc. # Written by Gordon Matzigkeit, 1996 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. m4_define([_LT_COPYING], [dnl # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, # 2006, 2007, 2008, 2009, 2010 Free Software Foundation, # Inc. # Written by Gordon Matzigkeit, 1996 # # This file is part of GNU Libtool. # # GNU Libtool is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2 of # the License, or (at your option) any later version. # # As a special exception to the GNU General Public License, # if you distribute this file as part of a program or library that # is built using GNU Libtool, you may include this file under the # same distribution terms that you use for the rest of that program. # # GNU Libtool is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with GNU Libtool; see the file COPYING. If not, a copy # can be downloaded from http://www.gnu.org/licenses/gpl.html, or # obtained by writing to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ]) # serial 57 LT_INIT # LT_PREREQ(VERSION) # ------------------ # Complain and exit if this libtool version is less that VERSION. m4_defun([LT_PREREQ], [m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1, [m4_default([$3], [m4_fatal([Libtool version $1 or higher is required], 63)])], [$2])]) # _LT_CHECK_BUILDDIR # ------------------ # Complain if the absolute build directory name contains unusual characters m4_defun([_LT_CHECK_BUILDDIR], [case `pwd` in *\ * | *\ *) AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;; esac ]) # LT_INIT([OPTIONS]) # ------------------ AC_DEFUN([LT_INIT], [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl AC_BEFORE([$0], [LT_LANG])dnl AC_BEFORE([$0], [LT_OUTPUT])dnl AC_BEFORE([$0], [LTDL_INIT])dnl m4_require([_LT_CHECK_BUILDDIR])dnl dnl Autoconf doesn't catch unexpanded LT_ macros by default: m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4 dnl unless we require an AC_DEFUNed macro: AC_REQUIRE([LTOPTIONS_VERSION])dnl AC_REQUIRE([LTSUGAR_VERSION])dnl AC_REQUIRE([LTVERSION_VERSION])dnl AC_REQUIRE([LTOBSOLETE_VERSION])dnl m4_require([_LT_PROG_LTMAIN])dnl _LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}]) dnl Parse OPTIONS _LT_SET_OPTIONS([$0], [$1]) # This can be used to rebuild libtool when needed LIBTOOL_DEPS="$ltmain" # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' AC_SUBST(LIBTOOL)dnl _LT_SETUP # Only expand once: m4_define([LT_INIT]) ])# LT_INIT # Old names: AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT]) AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_PROG_LIBTOOL], []) dnl AC_DEFUN([AM_PROG_LIBTOOL], []) # _LT_CC_BASENAME(CC) # ------------------- # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. m4_defun([_LT_CC_BASENAME], [for cc_temp in $1""; do case $cc_temp in compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` ]) # _LT_FILEUTILS_DEFAULTS # ---------------------- # It is okay to use these file commands and assume they have been set # sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'. m4_defun([_LT_FILEUTILS_DEFAULTS], [: ${CP="cp -f"} : ${MV="mv -f"} : ${RM="rm -f"} ])# _LT_FILEUTILS_DEFAULTS # _LT_SETUP # --------- m4_defun([_LT_SETUP], [AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl _LT_DECL([], [host_alias], [0], [The host system])dnl _LT_DECL([], [host], [0])dnl _LT_DECL([], [host_os], [0])dnl dnl _LT_DECL([], [build_alias], [0], [The build system])dnl _LT_DECL([], [build], [0])dnl _LT_DECL([], [build_os], [0])dnl dnl AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([LT_PATH_LD])dnl AC_REQUIRE([LT_PATH_NM])dnl dnl AC_REQUIRE([AC_PROG_LN_S])dnl test -z "$LN_S" && LN_S="ln -s" _LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl dnl AC_REQUIRE([LT_CMD_MAX_LEN])dnl _LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl _LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_CHECK_SHELL_FEATURES])dnl m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl m4_require([_LT_CMD_RELOAD])dnl m4_require([_LT_CHECK_MAGIC_METHOD])dnl m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl m4_require([_LT_CMD_OLD_ARCHIVE])dnl m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl m4_require([_LT_WITH_SYSROOT])dnl _LT_CONFIG_LIBTOOL_INIT([ # See if we are running on zsh, and set the options which allow our # commands through without removal of \ escapes INIT. if test -n "\${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi ]) if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi _LT_CHECK_OBJDIR m4_require([_LT_TAG_COMPILER])dnl case $host_os in aix3*) # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi ;; esac # Global variables: ofile=libtool can_build_shared=yes # All known linkers require a `.a' archive for static linking (except MSVC, # which needs '.lib'). libext=a with_gnu_ld="$lt_cv_prog_gnu_ld" old_CC="$CC" old_CFLAGS="$CFLAGS" # Set sane defaults for various variables test -z "$CC" && CC=cc test -z "$LTCC" && LTCC=$CC test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS test -z "$LD" && LD=ld test -z "$ac_objext" && ac_objext=o _LT_CC_BASENAME([$compiler]) # Only perform the check for file, if the check method requires it test -z "$MAGIC_CMD" && MAGIC_CMD=file case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then _LT_PATH_MAGIC fi ;; esac # Use C for the default configuration in the libtool script LT_SUPPORTED_TAG([CC]) _LT_LANG_C_CONFIG _LT_LANG_DEFAULT_CONFIG _LT_CONFIG_COMMANDS ])# _LT_SETUP # _LT_PREPARE_SED_QUOTE_VARS # -------------------------- # Define a few sed substitution that help us do robust quoting. m4_defun([_LT_PREPARE_SED_QUOTE_VARS], [# Backslashify metacharacters that are still active within # double-quoted strings. sed_quote_subst='s/\([["`$\\]]\)/\\\1/g' # Same as above, but do not quote variable references. double_quote_subst='s/\([["`\\]]\)/\\\1/g' # Sed substitution to delay expansion of an escaped shell variable in a # double_quote_subst'ed string. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' # Sed substitution to delay expansion of an escaped single quote. delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' # Sed substitution to avoid accidental globbing in evaled expressions no_glob_subst='s/\*/\\\*/g' ]) # _LT_PROG_LTMAIN # --------------- # Note that this code is called both from `configure', and `config.status' # now that we use AC_CONFIG_COMMANDS to generate libtool. Notably, # `config.status' has no value for ac_aux_dir unless we are using Automake, # so we pass a copy along to make sure it has a sensible value anyway. m4_defun([_LT_PROG_LTMAIN], [m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl _LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir']) ltmain="$ac_aux_dir/ltmain.sh" ])# _LT_PROG_LTMAIN ## ------------------------------------- ## ## Accumulate code for creating libtool. ## ## ------------------------------------- ## # So that we can recreate a full libtool script including additional # tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS # in macros and then make a single call at the end using the `libtool' # label. # _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS]) # ---------------------------------------- # Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later. m4_define([_LT_CONFIG_LIBTOOL_INIT], [m4_ifval([$1], [m4_append([_LT_OUTPUT_LIBTOOL_INIT], [$1 ])])]) # Initialize. m4_define([_LT_OUTPUT_LIBTOOL_INIT]) # _LT_CONFIG_LIBTOOL([COMMANDS]) # ------------------------------ # Register COMMANDS to be passed to AC_CONFIG_COMMANDS later. m4_define([_LT_CONFIG_LIBTOOL], [m4_ifval([$1], [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS], [$1 ])])]) # Initialize. m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS]) # _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS]) # ----------------------------------------------------- m4_defun([_LT_CONFIG_SAVE_COMMANDS], [_LT_CONFIG_LIBTOOL([$1]) _LT_CONFIG_LIBTOOL_INIT([$2]) ]) # _LT_FORMAT_COMMENT([COMMENT]) # ----------------------------- # Add leading comment marks to the start of each line, and a trailing # full-stop to the whole comment if one is not present already. m4_define([_LT_FORMAT_COMMENT], [m4_ifval([$1], [ m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])], [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.]) )]) ## ------------------------ ## ## FIXME: Eliminate VARNAME ## ## ------------------------ ## # _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?]) # ------------------------------------------------------------------- # CONFIGNAME is the name given to the value in the libtool script. # VARNAME is the (base) name used in the configure script. # VALUE may be 0, 1 or 2 for a computed quote escaped value based on # VARNAME. Any other value will be used directly. m4_define([_LT_DECL], [lt_if_append_uniq([lt_decl_varnames], [$2], [, ], [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name], [m4_ifval([$1], [$1], [$2])]) lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3]) m4_ifval([$4], [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])]) lt_dict_add_subkey([lt_decl_dict], [$2], [tagged?], [m4_ifval([$5], [yes], [no])])]) ]) # _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION]) # -------------------------------------------------------- m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])]) # lt_decl_tag_varnames([SEPARATOR], [VARNAME1...]) # ------------------------------------------------ m4_define([lt_decl_tag_varnames], [_lt_decl_filter([tagged?], [yes], $@)]) # _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..]) # --------------------------------------------------------- m4_define([_lt_decl_filter], [m4_case([$#], [0], [m4_fatal([$0: too few arguments: $#])], [1], [m4_fatal([$0: too few arguments: $#: $1])], [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)], [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)], [lt_dict_filter([lt_decl_dict], $@)])[]dnl ]) # lt_decl_quote_varnames([SEPARATOR], [VARNAME1...]) # -------------------------------------------------- m4_define([lt_decl_quote_varnames], [_lt_decl_filter([value], [1], $@)]) # lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...]) # --------------------------------------------------- m4_define([lt_decl_dquote_varnames], [_lt_decl_filter([value], [2], $@)]) # lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...]) # --------------------------------------------------- m4_define([lt_decl_varnames_tagged], [m4_assert([$# <= 2])dnl _$0(m4_quote(m4_default([$1], [[, ]])), m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]), m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))]) m4_define([_lt_decl_varnames_tagged], [m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])]) # lt_decl_all_varnames([SEPARATOR], [VARNAME1...]) # ------------------------------------------------ m4_define([lt_decl_all_varnames], [_$0(m4_quote(m4_default([$1], [[, ]])), m4_if([$2], [], m4_quote(lt_decl_varnames), m4_quote(m4_shift($@))))[]dnl ]) m4_define([_lt_decl_all_varnames], [lt_join($@, lt_decl_varnames_tagged([$1], lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl ]) # _LT_CONFIG_STATUS_DECLARE([VARNAME]) # ------------------------------------ # Quote a variable value, and forward it to `config.status' so that its # declaration there will have the same value as in `configure'. VARNAME # must have a single quote delimited value for this to work. m4_define([_LT_CONFIG_STATUS_DECLARE], [$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`']) # _LT_CONFIG_STATUS_DECLARATIONS # ------------------------------ # We delimit libtool config variables with single quotes, so when # we write them to config.status, we have to be sure to quote all # embedded single quotes properly. In configure, this macro expands # each variable declared with _LT_DECL (and _LT_TAGDECL) into: # # ='`$ECHO "$" | $SED "$delay_single_quote_subst"`' m4_defun([_LT_CONFIG_STATUS_DECLARATIONS], [m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames), [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])]) # _LT_LIBTOOL_TAGS # ---------------- # Output comment and list of tags supported by the script m4_defun([_LT_LIBTOOL_TAGS], [_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl available_tags="_LT_TAGS"dnl ]) # _LT_LIBTOOL_DECLARE(VARNAME, [TAG]) # ----------------------------------- # Extract the dictionary values for VARNAME (optionally with TAG) and # expand to a commented shell variable setting: # # # Some comment about what VAR is for. # visible_name=$lt_internal_name m4_define([_LT_LIBTOOL_DECLARE], [_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [description])))[]dnl m4_pushdef([_libtool_name], m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])), [0], [_libtool_name=[$]$1], [1], [_libtool_name=$lt_[]$1], [2], [_libtool_name=$lt_[]$1], [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl ]) # _LT_LIBTOOL_CONFIG_VARS # ----------------------- # Produce commented declarations of non-tagged libtool config variables # suitable for insertion in the LIBTOOL CONFIG section of the `libtool' # script. Tagged libtool config variables (even for the LIBTOOL CONFIG # section) are produced by _LT_LIBTOOL_TAG_VARS. m4_defun([_LT_LIBTOOL_CONFIG_VARS], [m4_foreach([_lt_var], m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)), [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])]) # _LT_LIBTOOL_TAG_VARS(TAG) # ------------------------- m4_define([_LT_LIBTOOL_TAG_VARS], [m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames), [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])]) # _LT_TAGVAR(VARNAME, [TAGNAME]) # ------------------------------ m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])]) # _LT_CONFIG_COMMANDS # ------------------- # Send accumulated output to $CONFIG_STATUS. Thanks to the lists of # variables for single and double quote escaping we saved from calls # to _LT_DECL, we can put quote escaped variables declarations # into `config.status', and then the shell code to quote escape them in # for loops in `config.status'. Finally, any additional code accumulated # from calls to _LT_CONFIG_LIBTOOL_INIT is expanded. m4_defun([_LT_CONFIG_COMMANDS], [AC_PROVIDE_IFELSE([LT_OUTPUT], dnl If the libtool generation code has been placed in $CONFIG_LT, dnl instead of duplicating it all over again into config.status, dnl then we will have config.status run $CONFIG_LT later, so it dnl needs to know what name is stored there: [AC_CONFIG_COMMANDS([libtool], [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])], dnl If the libtool generation code is destined for config.status, dnl expand the accumulated commands and init code now: [AC_CONFIG_COMMANDS([libtool], [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])]) ])#_LT_CONFIG_COMMANDS # Initialize. m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT], [ # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH sed_quote_subst='$sed_quote_subst' double_quote_subst='$double_quote_subst' delay_variable_subst='$delay_variable_subst' _LT_CONFIG_STATUS_DECLARATIONS LTCC='$LTCC' LTCFLAGS='$LTCFLAGS' compiler='$compiler_DEFAULT' # A function that is used when there is no print builtin or printf. func_fallback_echo () { eval 'cat <<_LTECHO_EOF \$[]1 _LTECHO_EOF' } # Quote evaled strings. for var in lt_decl_all_varnames([[ \ ]], lt_decl_quote_varnames); do case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[[\\\\\\\`\\"\\\$]]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done # Double-quote double-evaled strings. for var in lt_decl_all_varnames([[ \ ]], lt_decl_dquote_varnames); do case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[[\\\\\\\`\\"\\\$]]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done _LT_OUTPUT_LIBTOOL_INIT ]) # _LT_GENERATED_FILE_INIT(FILE, [COMMENT]) # ------------------------------------ # Generate a child script FILE with all initialization necessary to # reuse the environment learned by the parent script, and make the # file executable. If COMMENT is supplied, it is inserted after the # `#!' sequence but before initialization text begins. After this # macro, additional text can be appended to FILE to form the body of # the child script. The macro ends with non-zero status if the # file could not be fully written (such as if the disk is full). m4_ifdef([AS_INIT_GENERATED], [m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])], [m4_defun([_LT_GENERATED_FILE_INIT], [m4_require([AS_PREPARE])]dnl [m4_pushdef([AS_MESSAGE_LOG_FD])]dnl [lt_write_fail=0 cat >$1 <<_ASEOF || lt_write_fail=1 #! $SHELL # Generated by $as_me. $2 SHELL=\${CONFIG_SHELL-$SHELL} export SHELL _ASEOF cat >>$1 <<\_ASEOF || lt_write_fail=1 AS_SHELL_SANITIZE _AS_PREPARE exec AS_MESSAGE_FD>&1 _ASEOF test $lt_write_fail = 0 && chmod +x $1[]dnl m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT # LT_OUTPUT # --------- # This macro allows early generation of the libtool script (before # AC_OUTPUT is called), incase it is used in configure for compilation # tests. AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt} AC_MSG_NOTICE([creating $CONFIG_LT]) _LT_GENERATED_FILE_INIT(["$CONFIG_LT"], [# Run this file to recreate a libtool stub with the current configuration.]) cat >>"$CONFIG_LT" <<\_LTEOF lt_cl_silent=false exec AS_MESSAGE_LOG_FD>>config.log { echo AS_BOX([Running $as_me.]) } >&AS_MESSAGE_LOG_FD lt_cl_help="\ \`$as_me' creates a local libtool stub from the current configuration, for use in further configure time tests before the real libtool is generated. Usage: $[0] [[OPTIONS]] -h, --help print this help, then exit -V, --version print version number, then exit -q, --quiet do not print progress messages -d, --debug don't remove temporary files Report bugs to ." lt_cl_version="\ m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) configured by $[0], generated by m4_PACKAGE_STRING. Copyright (C) 2010 Free Software Foundation, Inc. This config.lt script is free software; the Free Software Foundation gives unlimited permision to copy, distribute and modify it." while test $[#] != 0 do case $[1] in --version | --v* | -V ) echo "$lt_cl_version"; exit 0 ;; --help | --h* | -h ) echo "$lt_cl_help"; exit 0 ;; --debug | --d* | -d ) debug=: ;; --quiet | --q* | --silent | --s* | -q ) lt_cl_silent=: ;; -*) AC_MSG_ERROR([unrecognized option: $[1] Try \`$[0] --help' for more information.]) ;; *) AC_MSG_ERROR([unrecognized argument: $[1] Try \`$[0] --help' for more information.]) ;; esac shift done if $lt_cl_silent; then exec AS_MESSAGE_FD>/dev/null fi _LTEOF cat >>"$CONFIG_LT" <<_LTEOF _LT_OUTPUT_LIBTOOL_COMMANDS_INIT _LTEOF cat >>"$CONFIG_LT" <<\_LTEOF AC_MSG_NOTICE([creating $ofile]) _LT_OUTPUT_LIBTOOL_COMMANDS AS_EXIT(0) _LTEOF chmod +x "$CONFIG_LT" # configure is writing to config.log, but config.lt does its own redirection, # appending to config.log, which fails on DOS, as config.log is still kept # open by configure. Here we exec the FD to /dev/null, effectively closing # config.log, so it can be properly (re)opened and appended to by config.lt. lt_cl_success=: test "$silent" = yes && lt_config_lt_args="$lt_config_lt_args --quiet" exec AS_MESSAGE_LOG_FD>/dev/null $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false exec AS_MESSAGE_LOG_FD>>config.log $lt_cl_success || AS_EXIT(1) ])# LT_OUTPUT # _LT_CONFIG(TAG) # --------------- # If TAG is the built-in tag, create an initial libtool script with a # default configuration from the untagged config vars. Otherwise add code # to config.status for appending the configuration named by TAG from the # matching tagged config vars. m4_defun([_LT_CONFIG], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl _LT_CONFIG_SAVE_COMMANDS([ m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl m4_if(_LT_TAG, [C], [ # See if we are running on zsh, and set the options which allow our # commands through without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi cfgfile="${ofile}T" trap "$RM \"$cfgfile\"; exit 1" 1 2 15 $RM "$cfgfile" cat <<_LT_EOF >> "$cfgfile" #! $SHELL # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # NOTE: Changes made to this file will be lost: look at ltmain.sh. # _LT_COPYING _LT_LIBTOOL_TAGS # ### BEGIN LIBTOOL CONFIG _LT_LIBTOOL_CONFIG_VARS _LT_LIBTOOL_TAG_VARS # ### END LIBTOOL CONFIG _LT_EOF case $host_os in aix3*) cat <<\_LT_EOF >> "$cfgfile" # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi _LT_EOF ;; esac _LT_PROG_LTMAIN # We use sed instead of cat because bash on DJGPP gets confused if # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too? sed '$q' "$ltmain" >> "$cfgfile" \ || (rm -f "$cfgfile"; exit 1) _LT_PROG_REPLACE_SHELLFNS mv -f "$cfgfile" "$ofile" || (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" ], [cat <<_LT_EOF >> "$ofile" dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded dnl in a comment (ie after a #). # ### BEGIN LIBTOOL TAG CONFIG: $1 _LT_LIBTOOL_TAG_VARS(_LT_TAG) # ### END LIBTOOL TAG CONFIG: $1 _LT_EOF ])dnl /m4_if ], [m4_if([$1], [], [ PACKAGE='$PACKAGE' VERSION='$VERSION' TIMESTAMP='$TIMESTAMP' RM='$RM' ofile='$ofile'], []) ])dnl /_LT_CONFIG_SAVE_COMMANDS ])# _LT_CONFIG # LT_SUPPORTED_TAG(TAG) # --------------------- # Trace this macro to discover what tags are supported by the libtool # --tag option, using: # autoconf --trace 'LT_SUPPORTED_TAG:$1' AC_DEFUN([LT_SUPPORTED_TAG], []) # C support is built-in for now m4_define([_LT_LANG_C_enabled], []) m4_define([_LT_TAGS], []) # LT_LANG(LANG) # ------------- # Enable libtool support for the given language if not already enabled. AC_DEFUN([LT_LANG], [AC_BEFORE([$0], [LT_OUTPUT])dnl m4_case([$1], [C], [_LT_LANG(C)], [C++], [_LT_LANG(CXX)], [Java], [_LT_LANG(GCJ)], [Fortran 77], [_LT_LANG(F77)], [Fortran], [_LT_LANG(FC)], [Windows Resource], [_LT_LANG(RC)], [m4_ifdef([_LT_LANG_]$1[_CONFIG], [_LT_LANG($1)], [m4_fatal([$0: unsupported language: "$1"])])])dnl ])# LT_LANG # _LT_LANG(LANGNAME) # ------------------ m4_defun([_LT_LANG], [m4_ifdef([_LT_LANG_]$1[_enabled], [], [LT_SUPPORTED_TAG([$1])dnl m4_append([_LT_TAGS], [$1 ])dnl m4_define([_LT_LANG_]$1[_enabled], [])dnl _LT_LANG_$1_CONFIG($1)])dnl ])# _LT_LANG # _LT_LANG_DEFAULT_CONFIG # ----------------------- m4_defun([_LT_LANG_DEFAULT_CONFIG], [AC_PROVIDE_IFELSE([AC_PROG_CXX], [LT_LANG(CXX)], [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])]) AC_PROVIDE_IFELSE([AC_PROG_F77], [LT_LANG(F77)], [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])]) AC_PROVIDE_IFELSE([AC_PROG_FC], [LT_LANG(FC)], [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])]) dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal dnl pulling things in needlessly. AC_PROVIDE_IFELSE([AC_PROG_GCJ], [LT_LANG(GCJ)], [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], [LT_LANG(GCJ)], [AC_PROVIDE_IFELSE([LT_PROG_GCJ], [LT_LANG(GCJ)], [m4_ifdef([AC_PROG_GCJ], [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])]) m4_ifdef([A][M_PROG_GCJ], [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])]) m4_ifdef([LT_PROG_GCJ], [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])]) AC_PROVIDE_IFELSE([LT_PROG_RC], [LT_LANG(RC)], [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])]) ])# _LT_LANG_DEFAULT_CONFIG # Obsolete macros: AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)]) AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)]) AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)]) AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)]) AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_CXX], []) dnl AC_DEFUN([AC_LIBTOOL_F77], []) dnl AC_DEFUN([AC_LIBTOOL_FC], []) dnl AC_DEFUN([AC_LIBTOOL_GCJ], []) dnl AC_DEFUN([AC_LIBTOOL_RC], []) # _LT_TAG_COMPILER # ---------------- m4_defun([_LT_TAG_COMPILER], [AC_REQUIRE([AC_PROG_CC])dnl _LT_DECL([LTCC], [CC], [1], [A C compiler])dnl _LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl _LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl _LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC ])# _LT_TAG_COMPILER # _LT_COMPILER_BOILERPLATE # ------------------------ # Check for compiler boilerplate output or warnings with # the simple compiler test code. m4_defun([_LT_COMPILER_BOILERPLATE], [m4_require([_LT_DECL_SED])dnl ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $RM conftest* ])# _LT_COMPILER_BOILERPLATE # _LT_LINKER_BOILERPLATE # ---------------------- # Check for linker boilerplate output or warnings with # the simple link test code. m4_defun([_LT_LINKER_BOILERPLATE], [m4_require([_LT_DECL_SED])dnl ac_outfile=conftest.$ac_objext echo "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $RM -r conftest* ])# _LT_LINKER_BOILERPLATE # _LT_REQUIRED_DARWIN_CHECKS # ------------------------- m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[ case $host_os in rhapsody* | darwin*) AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:]) AC_CHECK_TOOL([NMEDIT], [nmedit], [:]) AC_CHECK_TOOL([LIPO], [lipo], [:]) AC_CHECK_TOOL([OTOOL], [otool], [:]) AC_CHECK_TOOL([OTOOL64], [otool64], [:]) _LT_DECL([], [DSYMUTIL], [1], [Tool to manipulate archived DWARF debug symbol files on Mac OS X]) _LT_DECL([], [NMEDIT], [1], [Tool to change global to local symbols on Mac OS X]) _LT_DECL([], [LIPO], [1], [Tool to manipulate fat objects and archives on Mac OS X]) _LT_DECL([], [OTOOL], [1], [ldd/readelf like tool for Mach-O binaries on Mac OS X]) _LT_DECL([], [OTOOL64], [1], [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4]) AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod], [lt_cv_apple_cc_single_mod=no if test -z "${LT_MULTI_MODULE}"; then # By default we will add the -single_module flag. You can override # by either setting the environment variable LT_MULTI_MODULE # non-empty at configure time, or by adding -multi_module to the # link flags. rm -rf libconftest.dylib* echo "int foo(void){return 1;}" > conftest.c echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err _lt_result=$? if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then lt_cv_apple_cc_single_mod=yes else cat conftest.err >&AS_MESSAGE_LOG_FD fi rm -rf libconftest.dylib* rm -f conftest.* fi]) AC_CACHE_CHECK([for -exported_symbols_list linker flag], [lt_cv_ld_exported_symbols_list], [lt_cv_ld_exported_symbols_list=no save_LDFLAGS=$LDFLAGS echo "_main" > conftest.sym LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], [lt_cv_ld_exported_symbols_list=yes], [lt_cv_ld_exported_symbols_list=no]) LDFLAGS="$save_LDFLAGS" ]) AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load], [lt_cv_ld_force_load=no cat > conftest.c << _LT_EOF int forced_loaded() { return 2;} _LT_EOF echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD cat > conftest.c << _LT_EOF int main() { return 0;} _LT_EOF echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err _lt_result=$? if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then lt_cv_ld_force_load=yes else cat conftest.err >&AS_MESSAGE_LOG_FD fi rm -f conftest.err libconftest.a conftest conftest.c rm -rf conftest.dSYM ]) case $host_os in rhapsody* | darwin1.[[012]]) _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; darwin1.*) _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; darwin*) # darwin 5.x on # if running on 10.5 or later, the deployment target defaults # to the OS version, if on x86, and 10.4, the deployment # target defaults to 10.4. Don't you love it? case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 10.[[012]]*) _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; esac ;; esac if test "$lt_cv_apple_cc_single_mod" = "yes"; then _lt_dar_single_mod='$single_module' fi if test "$lt_cv_ld_exported_symbols_list" = "yes"; then _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' else _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' fi if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then _lt_dsymutil='~$DSYMUTIL $lib || :' else _lt_dsymutil= fi ;; esac ]) # _LT_DARWIN_LINKER_FEATURES # -------------------------- # Checks for linker and compiler features on darwin m4_defun([_LT_DARWIN_LINKER_FEATURES], [ m4_require([_LT_REQUIRED_DARWIN_CHECKS]) _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_automatic, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported if test "$lt_cv_ld_force_load" = "yes"; then _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' else _LT_TAGVAR(whole_archive_flag_spec, $1)='' fi _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" case $cc_basename in ifort*) _lt_dar_can_shared=yes ;; *) _lt_dar_can_shared=$GCC ;; esac if test "$_lt_dar_can_shared" = "yes"; then output_verbose_link_cmd=func_echo_all _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" m4_if([$1], [CXX], [ if test "$lt_cv_apple_cc_single_mod" != "yes"; then _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" fi ],[]) else _LT_TAGVAR(ld_shlibs, $1)=no fi ]) # _LT_SYS_MODULE_PATH_AIX([TAGNAME]) # ---------------------------------- # Links a minimal program and checks the executable # for the system default hardcoded library path. In most cases, # this is /usr/lib:/lib, but when the MPI compilers are used # the location of the communication and MPI libs are included too. # If we don't find anything, use the default library path according # to the aix ld manual. # Store the results from the different compilers for each TAGNAME. # Allow to override them for all tags through lt_cv_aix_libpath. m4_defun([_LT_SYS_MODULE_PATH_AIX], [m4_require([_LT_DECL_SED])dnl if test "${lt_cv_aix_libpath+set}" = set; then aix_libpath=$lt_cv_aix_libpath else AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])], [AC_LINK_IFELSE([AC_LANG_PROGRAM],[ lt_aix_libpath_sed='[ /Import File Strings/,/^$/ { /^0/ { s/^0 *\([^ ]*\) *$/\1/ p } }]' _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi],[]) if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then _LT_TAGVAR([lt_cv_aix_libpath_], [$1])="/usr/lib:/lib" fi ]) aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1]) fi ])# _LT_SYS_MODULE_PATH_AIX # _LT_SHELL_INIT(ARG) # ------------------- m4_define([_LT_SHELL_INIT], [m4_divert_text([M4SH-INIT], [$1 ])])# _LT_SHELL_INIT # _LT_PROG_ECHO_BACKSLASH # ----------------------- # Find how we can fake an echo command that does not interpret backslash. # In particular, with Autoconf 2.60 or later we add some code to the start # of the generated configure script which will find a shell with a builtin # printf (which we can use as an echo command). m4_defun([_LT_PROG_ECHO_BACKSLASH], [ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO AC_MSG_CHECKING([how to print strings]) # Test print first, because it will be a builtin if present. if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='print -r --' elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='printf %s\n' else # Use this function as a fallback that always works. func_fallback_echo () { eval 'cat <<_LTECHO_EOF $[]1 _LTECHO_EOF' } ECHO='func_fallback_echo' fi # func_echo_all arg... # Invoke $ECHO with all args, space-separated. func_echo_all () { $ECHO "$*" } case "$ECHO" in printf*) AC_MSG_RESULT([printf]) ;; print*) AC_MSG_RESULT([print -r]) ;; *) AC_MSG_RESULT([cat]) ;; esac m4_ifdef([_AS_DETECT_SUGGESTED], [_AS_DETECT_SUGGESTED([ test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || ( ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO PATH=/empty FPATH=/empty; export PATH FPATH test "X`printf %s $ECHO`" = "X$ECHO" \ || test "X`print -r -- $ECHO`" = "X$ECHO" )])]) _LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts]) _LT_DECL([], [ECHO], [1], [An echo program that protects backslashes]) ])# _LT_PROG_ECHO_BACKSLASH # _LT_WITH_SYSROOT # ---------------- AC_DEFUN([_LT_WITH_SYSROOT], [AC_MSG_CHECKING([for sysroot]) AC_ARG_WITH([sysroot], [ --with-sysroot[=DIR] Search for dependent libraries within DIR (or the compiler's sysroot if not specified).], [], [with_sysroot=no]) dnl lt_sysroot will always be passed unquoted. We quote it here dnl in case the user passed a directory name. lt_sysroot= case ${with_sysroot} in #( yes) if test "$GCC" = yes; then lt_sysroot=`$CC --print-sysroot 2>/dev/null` fi ;; #( /*) lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` ;; #( no|'') ;; #( *) AC_MSG_RESULT([${with_sysroot}]) AC_MSG_ERROR([The sysroot must be an absolute path.]) ;; esac AC_MSG_RESULT([${lt_sysroot:-no}]) _LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl [dependent libraries, and in which our libraries should be installed.])]) # _LT_ENABLE_LOCK # --------------- m4_defun([_LT_ENABLE_LOCK], [AC_ARG_ENABLE([libtool-lock], [AS_HELP_STRING([--disable-libtool-lock], [avoid locking (might break parallel builds)])]) test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes # Some flags need to be propagated to the compiler or linker for good # libtool support. case $host in ia64-*-hpux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.$ac_objext` in *ELF-32*) HPUX_IA64_MODE="32" ;; *ELF-64*) HPUX_IA64_MODE="64" ;; esac fi rm -rf conftest* ;; *-*-irix6*) # Find out which ABI we are using. echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then if test "$lt_cv_prog_gnu_ld" = yes; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -melf32bsmip" ;; *N32*) LD="${LD-ld} -melf32bmipn32" ;; *64-bit*) LD="${LD-ld} -melf64bmip" ;; esac else case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" ;; *N32*) LD="${LD-ld} -n32" ;; *64-bit*) LD="${LD-ld} -64" ;; esac fi fi rm -rf conftest* ;; x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.o` in *32-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_i386_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; ppc64-*linux*|powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) LD="${LD-ld} -m elf_s390" ;; sparc64-*linux*) LD="${LD-ld} -m elf32_sparc" ;; esac ;; *64-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_x86_64_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; ppc*-*linux*|powerpc*-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*|s390*-*tpf*) LD="${LD-ld} -m elf64_s390" ;; sparc*-*linux*) LD="${LD-ld} -m elf64_sparc" ;; esac ;; esac fi rm -rf conftest* ;; *-*-sco3.2v5*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, [AC_LANG_PUSH(C) AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) AC_LANG_POP]) if test x"$lt_cv_cc_needs_belf" != x"yes"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS="$SAVE_CFLAGS" fi ;; sparc*-*solaris*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.o` in *64-bit*) case $lt_cv_prog_gnu_ld in yes*) LD="${LD-ld} -m elf64_sparc" ;; *) if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then LD="${LD-ld} -64" fi ;; esac ;; esac fi rm -rf conftest* ;; esac need_locks="$enable_libtool_lock" ])# _LT_ENABLE_LOCK # _LT_PROG_AR # ----------- m4_defun([_LT_PROG_AR], [AC_CHECK_TOOLS(AR, [ar], false) : ${AR=ar} : ${AR_FLAGS=cru} _LT_DECL([], [AR], [1], [The archiver]) _LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive]) AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file], [lt_cv_ar_at_file=no AC_COMPILE_IFELSE([AC_LANG_PROGRAM], [echo conftest.$ac_objext > conftest.lst lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD' AC_TRY_EVAL([lt_ar_try]) if test "$ac_status" -eq 0; then # Ensure the archiver fails upon bogus file names. rm -f conftest.$ac_objext libconftest.a AC_TRY_EVAL([lt_ar_try]) if test "$ac_status" -ne 0; then lt_cv_ar_at_file=@ fi fi rm -f conftest.* libconftest.a ]) ]) if test "x$lt_cv_ar_at_file" = xno; then archiver_list_spec= else archiver_list_spec=$lt_cv_ar_at_file fi _LT_DECL([], [archiver_list_spec], [1], [How to feed a file listing to the archiver]) ])# _LT_PROG_AR # _LT_CMD_OLD_ARCHIVE # ------------------- m4_defun([_LT_CMD_OLD_ARCHIVE], [_LT_PROG_AR AC_CHECK_TOOL(STRIP, strip, :) test -z "$STRIP" && STRIP=: _LT_DECL([], [STRIP], [1], [A symbol stripping program]) AC_CHECK_TOOL(RANLIB, ranlib, :) test -z "$RANLIB" && RANLIB=: _LT_DECL([], [RANLIB], [1], [Commands used to install an old-style archive]) # Determine commands to create old-style static archives. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' old_postinstall_cmds='chmod 644 $oldlib' old_postuninstall_cmds= if test -n "$RANLIB"; then case $host_os in openbsd*) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" ;; *) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" ;; esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" fi case $host_os in darwin*) lock_old_archive_extraction=yes ;; *) lock_old_archive_extraction=no ;; esac _LT_DECL([], [old_postinstall_cmds], [2]) _LT_DECL([], [old_postuninstall_cmds], [2]) _LT_TAGDECL([], [old_archive_cmds], [2], [Commands used to build an old-style archive]) _LT_DECL([], [lock_old_archive_extraction], [0], [Whether to use a lock for old archive extraction]) ])# _LT_CMD_OLD_ARCHIVE # _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) # ---------------------------------------------------------------- # Check whether the given compiler option works AC_DEFUN([_LT_COMPILER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_SED])dnl AC_CACHE_CHECK([$1], [$2], [$2=no m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$3" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&AS_MESSAGE_LOG_FD echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then $2=yes fi fi $RM conftest* ]) if test x"[$]$2" = xyes; then m4_if([$5], , :, [$5]) else m4_if([$6], , :, [$6]) fi ])# _LT_COMPILER_OPTION # Old name: AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], []) # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, # [ACTION-SUCCESS], [ACTION-FAILURE]) # ---------------------------------------------------- # Check whether the given linker option works AC_DEFUN([_LT_LINKER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_SED])dnl AC_CACHE_CHECK([$1], [$2], [$2=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $3" echo "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&AS_MESSAGE_LOG_FD $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then $2=yes fi else $2=yes fi fi $RM -r conftest* LDFLAGS="$save_LDFLAGS" ]) if test x"[$]$2" = xyes; then m4_if([$4], , :, [$4]) else m4_if([$5], , :, [$5]) fi ])# _LT_LINKER_OPTION # Old name: AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], []) # LT_CMD_MAX_LEN #--------------- AC_DEFUN([LT_CMD_MAX_LEN], [AC_REQUIRE([AC_CANONICAL_HOST])dnl # find the maximum length of command line arguments AC_MSG_CHECKING([the maximum length of command line arguments]) AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl i=0 teststring="ABCD" case $build_os in msdosdjgpp*) # On DJGPP, this test can blow up pretty badly due to problems in libc # (any single argument exceeding 2000 bytes causes a buffer overrun # during glob expansion). Even if it were fixed, the result of this # check would be larger than it should be. lt_cv_sys_max_cmd_len=12288; # 12K is about right ;; gnu*) # Under GNU Hurd, this test is not required because there is # no limit to the length of command line arguments. # Libtool will interpret -1 as no limit whatsoever lt_cv_sys_max_cmd_len=-1; ;; cygwin* | mingw* | cegcc*) # On Win9x/ME, this test blows up -- it succeeds, but takes # about 5 minutes as the teststring grows exponentially. # Worse, since 9x/ME are not pre-emptively multitasking, # you end up with a "frozen" computer, even though with patience # the test eventually succeeds (with a max line length of 256k). # Instead, let's just punt: use the minimum linelength reported by # all of the supported platforms: 8192 (on NT/2K/XP). lt_cv_sys_max_cmd_len=8192; ;; mint*) # On MiNT this can take a long time and run out of memory. lt_cv_sys_max_cmd_len=8192; ;; amigaos*) # On AmigaOS with pdksh, this test takes hours, literally. # So we just punt and use a minimum line length of 8192. lt_cv_sys_max_cmd_len=8192; ;; netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) # This has been around since 386BSD, at least. Likely further. if test -x /sbin/sysctl; then lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` elif test -x /usr/sbin/sysctl; then lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` else lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs fi # And add a safety zone lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` ;; interix*) # We know the value 262144 and hardcode it with a safety zone (like BSD) lt_cv_sys_max_cmd_len=196608 ;; osf*) # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not # nice to cause kernel panics so lets avoid the loop below. # First set a reasonable default. lt_cv_sys_max_cmd_len=16384 # if test -x /sbin/sysconfig; then case `/sbin/sysconfig -q proc exec_disable_arg_limit` in *1*) lt_cv_sys_max_cmd_len=-1 ;; esac fi ;; sco3.2v5*) lt_cv_sys_max_cmd_len=102400 ;; sysv5* | sco5v6* | sysv4.2uw2*) kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` if test -n "$kargmax"; then lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` else lt_cv_sys_max_cmd_len=32768 fi ;; *) lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` if test -n "$lt_cv_sys_max_cmd_len"; then lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` else # Make teststring a little bigger before we do anything with it. # a 1K string should be a reasonable start. for i in 1 2 3 4 5 6 7 8 ; do teststring=$teststring$teststring done SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} # If test is not a shell built-in, we'll probably end up computing a # maximum length that is only half of the actual maximum length, but # we can't tell. while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \ = "X$teststring$teststring"; } >/dev/null 2>&1 && test $i != 17 # 1/2 MB should be enough do i=`expr $i + 1` teststring=$teststring$teststring done # Only check the string length outside the loop. lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` teststring= # Add a significant safety factor because C++ compilers can tack on # massive amounts of additional arguments before passing them to the # linker. It appears as though 1/2 is a usable value. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` fi ;; esac ]) if test -n $lt_cv_sys_max_cmd_len ; then AC_MSG_RESULT($lt_cv_sys_max_cmd_len) else AC_MSG_RESULT(none) fi max_cmd_len=$lt_cv_sys_max_cmd_len _LT_DECL([], [max_cmd_len], [0], [What is the maximum length of a command?]) ])# LT_CMD_MAX_LEN # Old name: AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], []) # _LT_HEADER_DLFCN # ---------------- m4_defun([_LT_HEADER_DLFCN], [AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl ])# _LT_HEADER_DLFCN # _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) # ---------------------------------------------------------------- m4_defun([_LT_TRY_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl if test "$cross_compiling" = yes; then : [$4] else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF [#line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H #include #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif /* When -fvisbility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) int fnord () __attribute__((visibility("default"))); #endif int fnord () { return 42; } int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else { if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; else puts (dlerror ()); } /* dlclose (self); */ } else puts (dlerror ()); return status; }] _LT_EOF if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) $1 ;; x$lt_dlneed_uscore) $2 ;; x$lt_dlunknown|x*) $3 ;; esac else : # compilation failed $3 fi fi rm -fr conftest* ])# _LT_TRY_DLOPEN_SELF # LT_SYS_DLOPEN_SELF # ------------------ AC_DEFUN([LT_SYS_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl if test "x$enable_dlopen" != xyes; then enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown else lt_cv_dlopen=no lt_cv_dlopen_libs= case $host_os in beos*) lt_cv_dlopen="load_add_on" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ;; mingw* | pw32* | cegcc*) lt_cv_dlopen="LoadLibrary" lt_cv_dlopen_libs= ;; cygwin*) lt_cv_dlopen="dlopen" lt_cv_dlopen_libs= ;; darwin*) # if libdl is installed we need to link against it AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[ lt_cv_dlopen="dyld" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ]) ;; *) AC_CHECK_FUNC([shl_load], [lt_cv_dlopen="shl_load"], [AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"], [AC_CHECK_FUNC([dlopen], [lt_cv_dlopen="dlopen"], [AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], [AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"]) ]) ]) ]) ]) ]) ;; esac if test "x$lt_cv_dlopen" != xno; then enable_dlopen=yes else enable_dlopen=no fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS="$CPPFLAGS" test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS="$LDFLAGS" wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" save_LIBS="$LIBS" LIBS="$lt_cv_dlopen_libs $LIBS" AC_CACHE_CHECK([whether a program can dlopen itself], lt_cv_dlopen_self, [dnl _LT_TRY_DLOPEN_SELF( lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) ]) if test "x$lt_cv_dlopen_self" = xyes; then wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" AC_CACHE_CHECK([whether a statically linked program can dlopen itself], lt_cv_dlopen_self_static, [dnl _LT_TRY_DLOPEN_SELF( lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) ]) fi CPPFLAGS="$save_CPPFLAGS" LDFLAGS="$save_LDFLAGS" LIBS="$save_LIBS" ;; esac case $lt_cv_dlopen_self in yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; *) enable_dlopen_self=unknown ;; esac case $lt_cv_dlopen_self_static in yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; *) enable_dlopen_self_static=unknown ;; esac fi _LT_DECL([dlopen_support], [enable_dlopen], [0], [Whether dlopen is supported]) _LT_DECL([dlopen_self], [enable_dlopen_self], [0], [Whether dlopen of programs is supported]) _LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0], [Whether dlopen of statically linked programs is supported]) ])# LT_SYS_DLOPEN_SELF # Old name: AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], []) # _LT_COMPILER_C_O([TAGNAME]) # --------------------------- # Check to see if options -c and -o are simultaneously supported by compiler. # This macro does not hard code the compiler like AC_PROG_CC_C_O. m4_defun([_LT_COMPILER_C_O], [m4_require([_LT_DECL_SED])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_TAG_COMPILER])dnl AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)], [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no $RM -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&AS_MESSAGE_LOG_FD echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes fi fi chmod u+w . 2>&AS_MESSAGE_LOG_FD $RM conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files $RM out/* && rmdir out cd .. $RM -r conftest $RM conftest* ]) _LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1], [Does compiler simultaneously support -c and -o options?]) ])# _LT_COMPILER_C_O # _LT_COMPILER_FILE_LOCKS([TAGNAME]) # ---------------------------------- # Check to see if we can do hard links to lock some files if needed m4_defun([_LT_COMPILER_FILE_LOCKS], [m4_require([_LT_ENABLE_LOCK])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl _LT_COMPILER_C_O([$1]) hard_links="nottested" if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user AC_MSG_CHECKING([if we can lock with hard links]) hard_links=yes $RM conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no AC_MSG_RESULT([$hard_links]) if test "$hard_links" = no; then AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) need_locks=warn fi else need_locks=no fi _LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?]) ])# _LT_COMPILER_FILE_LOCKS # _LT_CHECK_OBJDIR # ---------------- m4_defun([_LT_CHECK_OBJDIR], [AC_CACHE_CHECK([for objdir], [lt_cv_objdir], [rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null if test -d .libs; then lt_cv_objdir=.libs else # MS-DOS does not allow filenames that begin with a dot. lt_cv_objdir=_libs fi rmdir .libs 2>/dev/null]) objdir=$lt_cv_objdir _LT_DECL([], [objdir], [0], [The name of the directory that contains temporary libtool files])dnl m4_pattern_allow([LT_OBJDIR])dnl AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/", [Define to the sub-directory in which libtool stores uninstalled libraries.]) ])# _LT_CHECK_OBJDIR # _LT_LINKER_HARDCODE_LIBPATH([TAGNAME]) # -------------------------------------- # Check hardcoding attributes. m4_defun([_LT_LINKER_HARDCODE_LIBPATH], [AC_MSG_CHECKING([how to hardcode library paths into programs]) _LT_TAGVAR(hardcode_action, $1)= if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" || test -n "$_LT_TAGVAR(runpath_var, $1)" || test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then # We can hardcode non-existent directories. if test "$_LT_TAGVAR(hardcode_direct, $1)" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no && test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then # Linking always hardcodes the temporary library directory. _LT_TAGVAR(hardcode_action, $1)=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. _LT_TAGVAR(hardcode_action, $1)=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. _LT_TAGVAR(hardcode_action, $1)=unsupported fi AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)]) if test "$_LT_TAGVAR(hardcode_action, $1)" = relink || test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi _LT_TAGDECL([], [hardcode_action], [0], [How to hardcode a shared library path into an executable]) ])# _LT_LINKER_HARDCODE_LIBPATH # _LT_CMD_STRIPLIB # ---------------- m4_defun([_LT_CMD_STRIPLIB], [m4_require([_LT_DECL_EGREP]) striplib= old_striplib= AC_MSG_CHECKING([whether stripping libraries is possible]) if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" AC_MSG_RESULT([yes]) else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in darwin*) if test -n "$STRIP" ; then striplib="$STRIP -x" old_striplib="$STRIP -S" AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) fi ;; *) AC_MSG_RESULT([no]) ;; esac fi _LT_DECL([], [old_striplib], [1], [Commands to strip libraries]) _LT_DECL([], [striplib], [1]) ])# _LT_CMD_STRIPLIB # _LT_SYS_DYNAMIC_LINKER([TAG]) # ----------------------------- # PORTME Fill in your ld.so characteristics m4_defun([_LT_SYS_DYNAMIC_LINKER], [AC_REQUIRE([AC_CANONICAL_HOST])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_OBJDUMP])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_CHECK_SHELL_FEATURES])dnl AC_MSG_CHECKING([dynamic linker characteristics]) m4_if([$1], [], [ if test "$GCC" = yes; then case $host_os in darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; *) lt_awk_arg="/^libraries:/" ;; esac case $host_os in mingw* | cegcc*) lt_sed_strip_eq="s,=\([[A-Za-z]]:\),\1,g" ;; *) lt_sed_strip_eq="s,=/,/,g" ;; esac lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` case $lt_search_path_spec in *\;*) # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` ;; *) lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` ;; esac # Ok, now we have the path, separated by spaces, we can step through it # and add multilib dir if necessary. lt_tmp_lt_search_path_spec= lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` for lt_sys_path in $lt_search_path_spec; do if test -d "$lt_sys_path/$lt_multi_os_dir"; then lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" else test -d "$lt_sys_path" && \ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" fi done lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' BEGIN {RS=" "; FS="/|\n";} { lt_foo=""; lt_count=0; for (lt_i = NF; lt_i > 0; lt_i--) { if ($lt_i != "" && $lt_i != ".") { if ($lt_i == "..") { lt_count++; } else { if (lt_count == 0) { lt_foo="/" $lt_i lt_foo; } else { lt_count--; } } } } if (lt_foo != "") { lt_freq[[lt_foo]]++; } if (lt_freq[[lt_foo]] == 1) { print lt_foo; } }'` # AWK program above erroneously prepends '/' to C:/dos/paths # for these hosts. case $host_os in mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ $SED 's,/\([[A-Za-z]]:\),\1,g'` ;; esac sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi]) library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix[[4-9]]*) version_type=linux need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[[01]] | aix4.[[01]].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) case $host_cpu in powerpc) # Since July 2007 AmigaOS4 officially supports .so libraries. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ;; m68k) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; esac ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[[45]]*) version_type=linux need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32* | cegcc*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$cc_basename in yes,*) # gcc library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname~ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; fi' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' m4_if([$1], [],[ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"]) ;; mingw* | cegcc*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' ;; esac dynamic_linker='Win32 ld.exe' ;; *,cl*) # Native MSVC libname_spec='$name' soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' library_names_spec='${libname}.dll.lib' case $build_os in mingw*) sys_lib_search_path_spec= lt_save_ifs=$IFS IFS=';' for lt_path in $LIB do IFS=$lt_save_ifs # Let DOS variable expansion print the short 8.3 style file name. lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" done IFS=$lt_save_ifs # Convert to MSYS style. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'` ;; cygwin*) # Convert to unix form, then to dos form, then back to unix form # but this time dos style (no spaces!) so that the unix form looks # like /cygdrive/c/PROGRA~1:/cygdr... sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` ;; *) sys_lib_search_path_spec="$LIB" if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then # It is most probably a Windows format PATH. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi # FIXME: find the short name or the path components, as spaces are # common. (e.g. "Program Files" -> "PROGRA~1") ;; esac # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' shlibpath_overrides_runpath=yes dynamic_linker='Win32 link.exe' ;; *) # Assume MSVC wrapper library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' dynamic_linker='Win32 ld.exe' ;; esac # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' m4_if([$1], [],[ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd1*) dynamic_linker=no ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[[123]]*) objformat=aout ;; *) objformat=elf ;; esac fi # Handle Gentoo/FreeBSD as it was Linux case $host_vendor in gentoo) version_type=linux ;; *) version_type=freebsd-$objformat ;; esac case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; linux) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' need_lib_prefix=no need_version=no ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2*) shlibpath_overrides_runpath=yes ;; freebsd3.[[01]]* | freebsdelf3.[[01]]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; *) # from 4.6 on, and DragonFly shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; haiku*) version_type=linux need_lib_prefix=no need_version=no dynamic_linker="$host_os runtime_loader" library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LIBRARY_PATH shlibpath_overrides_runpath=yes sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' if test "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555, ... postinstall_cmds='chmod 555 $lib' # or fails outright, so override atomically: install_override_mode=555 ;; interix[[3-9]]*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then version_type=linux else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be Linux ELF. linux* | k*bsd*-gnu | kopensolaris*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # Some binutils ld are patched to set DT_RUNPATH AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath], [lt_cv_shlibpath_overrides_runpath=no save_LDFLAGS=$LDFLAGS save_libdir=$libdir eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \ LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\"" AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null], [lt_cv_shlibpath_overrides_runpath=yes])]) LDFLAGS=$save_LDFLAGS libdir=$save_libdir ]) shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; *nto* | *qnx*) version_type=qnx need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='ldqnx.so' ;; openbsd*) version_type=sunos sys_lib_dlsearch_path_spec="/usr/lib" need_lib_prefix=no # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. case $host_os in openbsd3.3 | openbsd3.3.*) need_version=yes ;; *) need_version=no ;; esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[[89]] | openbsd2.[[89]].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; rdos*) dynamic_linker=no ;; solaris*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) version_type=freebsd-elf need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes if test "$with_gnu_ld" = yes; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; tpf*) # TPF is a cross-target only. Preferred cross-host = GNU/Linux. version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; uts4*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac AC_MSG_RESULT([$dynamic_linker]) test "$dynamic_linker" = no && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" fi if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" fi _LT_DECL([], [variables_saved_for_relink], [1], [Variables whose values should be saved in libtool wrapper scripts and restored at link time]) _LT_DECL([], [need_lib_prefix], [0], [Do we need the "lib" prefix for modules?]) _LT_DECL([], [need_version], [0], [Do we need a version for libraries?]) _LT_DECL([], [version_type], [0], [Library versioning type]) _LT_DECL([], [runpath_var], [0], [Shared library runtime path variable]) _LT_DECL([], [shlibpath_var], [0],[Shared library path variable]) _LT_DECL([], [shlibpath_overrides_runpath], [0], [Is shlibpath searched before the hard-coded library search path?]) _LT_DECL([], [libname_spec], [1], [Format of library name prefix]) _LT_DECL([], [library_names_spec], [1], [[List of archive names. First name is the real one, the rest are links. The last name is the one that the linker finds with -lNAME]]) _LT_DECL([], [soname_spec], [1], [[The coded name of the library, if different from the real name]]) _LT_DECL([], [install_override_mode], [1], [Permission mode override for installation of shared libraries]) _LT_DECL([], [postinstall_cmds], [2], [Command to use after installation of a shared archive]) _LT_DECL([], [postuninstall_cmds], [2], [Command to use after uninstallation of a shared archive]) _LT_DECL([], [finish_cmds], [2], [Commands used to finish a libtool library installation in a directory]) _LT_DECL([], [finish_eval], [1], [[As "finish_cmds", except a single script fragment to be evaled but not shown]]) _LT_DECL([], [hardcode_into_libs], [0], [Whether we should hardcode library paths into libraries]) _LT_DECL([], [sys_lib_search_path_spec], [2], [Compile-time system search path for libraries]) _LT_DECL([], [sys_lib_dlsearch_path_spec], [2], [Run-time system search path for libraries]) ])# _LT_SYS_DYNAMIC_LINKER # _LT_PATH_TOOL_PREFIX(TOOL) # -------------------------- # find a file program which can recognize shared library AC_DEFUN([_LT_PATH_TOOL_PREFIX], [m4_require([_LT_DECL_EGREP])dnl AC_MSG_CHECKING([for $1]) AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, [case $MAGIC_CMD in [[\\/*] | ?:[\\/]*]) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD="$MAGIC_CMD" lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR dnl $ac_dummy forces splitting on constant user-supplied paths. dnl POSIX.2 word splitting is done only on the output of word expansions, dnl not every word. This closes a longstanding sh security hole. ac_dummy="m4_if([$2], , $PATH, [$2])" for ac_dir in $ac_dummy; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$1; then lt_cv_path_MAGIC_CMD="$ac_dir/$1" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <<_LT_EOF 1>&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org _LT_EOF fi ;; esac fi break fi done IFS="$lt_save_ifs" MAGIC_CMD="$lt_save_MAGIC_CMD" ;; esac]) MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then AC_MSG_RESULT($MAGIC_CMD) else AC_MSG_RESULT(no) fi _LT_DECL([], [MAGIC_CMD], [0], [Used to examine libraries when file_magic_cmd begins with "file"])dnl ])# _LT_PATH_TOOL_PREFIX # Old name: AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], []) # _LT_PATH_MAGIC # -------------- # find a file program which can recognize a shared library m4_defun([_LT_PATH_MAGIC], [_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) else MAGIC_CMD=: fi fi ])# _LT_PATH_MAGIC # LT_PATH_LD # ---------- # find the pathname to the GNU or non-GNU linker AC_DEFUN([LT_PATH_LD], [AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_PROG_ECHO_BACKSLASH])dnl AC_ARG_WITH([gnu-ld], [AS_HELP_STRING([--with-gnu-ld], [assume the C compiler uses GNU ld @<:@default=no@:>@])], [test "$withval" = no || with_gnu_ld=yes], [with_gnu_ld=no])dnl ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. AC_MSG_CHECKING([for ld used by $CC]) case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [[\\/]]* | ?:[[\\/]]*) re_direlt='/[[^/]][[^/]]*/\.\./' # Canonicalize the pathname of ld ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then AC_MSG_CHECKING([for GNU ld]) else AC_MSG_CHECKING([for non-GNU ld]) fi AC_CACHE_VAL(lt_cv_path_LD, [if test -z "$LD"; then lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$lt_cv_path_LD" -v 2>&1 &1 /dev/null 2>&1; then lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' else # Keep this pattern in sync with the one in func_win32_libid. lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; cegcc*) # use the weaker test based on 'objdump'. See mingw*. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' lt_cv_file_magic_cmd='$OBJDUMP -f' ;; darwin* | rhapsody*) lt_cv_deplibs_check_method=pass_all ;; freebsd* | dragonfly*) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then case $host_cpu in i*86 ) # Not sure whether the presence of OpenBSD here was a mistake. # Let's accept both of them until this is cleared up. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ;; esac else lt_cv_deplibs_check_method=pass_all fi ;; gnu*) lt_cv_deplibs_check_method=pass_all ;; haiku*) lt_cv_deplibs_check_method=pass_all ;; hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file case $host_cpu in ia64*) lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so ;; hppa*64*) [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'] lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; *) lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library' lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; esac ;; interix[[3-9]]*) # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' ;; irix5* | irix6* | nonstopux*) case $LD in *-32|*"-32 ") libmagic=32-bit;; *-n32|*"-n32 ") libmagic=N32;; *-64|*"-64 ") libmagic=64-bit;; *) libmagic=never-match;; esac lt_cv_deplibs_check_method=pass_all ;; # This must be Linux ELF. linux* | k*bsd*-gnu | kopensolaris*-gnu) lt_cv_deplibs_check_method=pass_all ;; netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' fi ;; newos6*) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; *nto* | *qnx*) lt_cv_deplibs_check_method=pass_all ;; openbsd*) if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' fi ;; osf3* | osf4* | osf5*) lt_cv_deplibs_check_method=pass_all ;; rdos*) lt_cv_deplibs_check_method=pass_all ;; solaris*) lt_cv_deplibs_check_method=pass_all ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) lt_cv_deplibs_check_method=pass_all ;; sysv4 | sysv4.3*) case $host_vendor in motorola) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; ncr) lt_cv_deplibs_check_method=pass_all ;; sequent) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; sni) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" lt_cv_file_magic_test_file=/lib/libc.so ;; siemens) lt_cv_deplibs_check_method=pass_all ;; pc) lt_cv_deplibs_check_method=pass_all ;; esac ;; tpf*) lt_cv_deplibs_check_method=pass_all ;; esac ]) file_magic_glob= want_nocaseglob=no if test "$build" = "$host"; then case $host_os in mingw* | pw32*) if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then want_nocaseglob=yes else file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g"` fi ;; esac fi file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method test -z "$deplibs_check_method" && deplibs_check_method=unknown _LT_DECL([], [deplibs_check_method], [1], [Method to check whether dependent libraries are shared objects]) _LT_DECL([], [file_magic_cmd], [1], [Command to use when deplibs_check_method = "file_magic"]) _LT_DECL([], [file_magic_glob], [1], [How to find potential files when deplibs_check_method = "file_magic"]) _LT_DECL([], [want_nocaseglob], [1], [Find potential files using nocaseglob when deplibs_check_method = "file_magic"]) ])# _LT_CHECK_MAGIC_METHOD # LT_PATH_NM # ---------- # find the pathname to a BSD- or MS-compatible name lister AC_DEFUN([LT_PATH_NM], [AC_REQUIRE([AC_PROG_CC])dnl AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM, [if test -n "$NM"; then # Let the user override the test. lt_cv_path_NM="$NM" else lt_nm_to_check="${ac_tool_prefix}nm" if test -n "$ac_tool_prefix" && test "$build" = "$host"; then lt_nm_to_check="$lt_nm_to_check nm" fi for lt_tmp_nm in $lt_nm_to_check; do lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. tmp_nm="$ac_dir/$lt_tmp_nm" if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then # Check to see if the nm accepts a BSD-compat flag. # Adding the `sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in */dev/null* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break ;; *) case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in */dev/null*) lt_cv_path_NM="$tmp_nm -p" break ;; *) lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but continue # so that we can try to find one that supports BSD flags ;; esac ;; esac fi done IFS="$lt_save_ifs" done : ${lt_cv_path_NM=no} fi]) if test "$lt_cv_path_NM" != "no"; then NM="$lt_cv_path_NM" else # Didn't find any BSD compatible name lister, look for dumpbin. if test -n "$DUMPBIN"; then : # Let the user override the test. else AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :) case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in *COFF*) DUMPBIN="$DUMPBIN -symbols" ;; *) DUMPBIN=: ;; esac fi AC_SUBST([DUMPBIN]) if test "$DUMPBIN" != ":"; then NM="$DUMPBIN" fi fi test -z "$NM" && NM=nm AC_SUBST([NM]) _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface], [lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&AS_MESSAGE_LOG_FD (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&AS_MESSAGE_LOG_FD (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD) cat conftest.out >&AS_MESSAGE_LOG_FD if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" fi rm -f conftest*]) ])# LT_PATH_NM # Old names: AU_ALIAS([AM_PROG_NM], [LT_PATH_NM]) AU_ALIAS([AC_PROG_NM], [LT_PATH_NM]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AM_PROG_NM], []) dnl AC_DEFUN([AC_PROG_NM], []) # _LT_CHECK_SHAREDLIB_FROM_LINKLIB # -------------------------------- # how to determine the name of the shared library # associated with a specific link library. # -- PORTME fill in with the dynamic library characteristics m4_defun([_LT_CHECK_SHAREDLIB_FROM_LINKLIB], [m4_require([_LT_DECL_EGREP]) m4_require([_LT_DECL_OBJDUMP]) m4_require([_LT_DECL_DLLTOOL]) AC_CACHE_CHECK([how to associate runtime and link libraries], lt_cv_sharedlib_from_linklib_cmd, [lt_cv_sharedlib_from_linklib_cmd='unknown' case $host_os in cygwin* | mingw* | pw32* | cegcc*) # two different shell functions defined in ltmain.sh # decide which to use based on capabilities of $DLLTOOL case `$DLLTOOL --help 2>&1` in *--identify-strict*) lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib ;; *) lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback ;; esac ;; *) # fallback: assume linklib IS sharedlib lt_cv_sharedlib_from_linklib_cmd="$ECHO" ;; esac ]) sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO _LT_DECL([], [sharedlib_from_linklib_cmd], [1], [Command to associate shared and link libraries]) ])# _LT_CHECK_SHAREDLIB_FROM_LINKLIB # _LT_PATH_MANIFEST_TOOL # ---------------------- # locate the manifest tool m4_defun([_LT_PATH_MANIFEST_TOOL], [AC_CHECK_TOOL(MANIFEST_TOOL, mt, :) test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [lt_cv_path_mainfest_tool], [lt_cv_path_mainfest_tool=no echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out cat conftest.err >&AS_MESSAGE_LOG_FD if $GREP 'Manifest Tool' conftest.out > /dev/null; then lt_cv_path_mainfest_tool=yes fi rm -f conftest*]) if test "x$lt_cv_path_mainfest_tool" != xyes; then MANIFEST_TOOL=: fi _LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl ])# _LT_PATH_MANIFEST_TOOL # LT_LIB_M # -------- # check for math library AC_DEFUN([LT_LIB_M], [AC_REQUIRE([AC_CANONICAL_HOST])dnl LIBM= case $host in *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) # These system don't have libm, or don't need it ;; *-ncr-sysv4.3*) AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") ;; *) AC_CHECK_LIB(m, cos, LIBM="-lm") ;; esac AC_SUBST([LIBM]) ])# LT_LIB_M # Old name: AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_CHECK_LIBM], []) # _LT_COMPILER_NO_RTTI([TAGNAME]) # ------------------------------- m4_defun([_LT_COMPILER_NO_RTTI], [m4_require([_LT_TAG_COMPILER])dnl _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= if test "$GCC" = yes; then case $cc_basename in nvcc*) _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;; *) _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;; esac _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], lt_cv_prog_compiler_rtti_exceptions, [-fno-rtti -fno-exceptions], [], [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) fi _LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1], [Compiler flag to turn off builtin functions]) ])# _LT_COMPILER_NO_RTTI # _LT_CMD_GLOBAL_SYMBOLS # ---------------------- m4_defun([_LT_CMD_GLOBAL_SYMBOLS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([LT_PATH_NM])dnl AC_REQUIRE([LT_PATH_LD])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_TAG_COMPILER])dnl # Check for command to grab the raw symbol name followed by C symbol from nm. AC_MSG_CHECKING([command to parse $NM output from $compiler object]) AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [ # These are sane defaults that work on at least a few old systems. # [They come from Ultrix. What could be older than Ultrix?!! ;)] # Character class describing NM global symbol codes. symcode='[[BCDEGRST]]' # Regexp to match symbols that can be accessed directly from C. sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' # Define system-specific variables. case $host_os in aix*) symcode='[[BCDT]]' ;; cygwin* | mingw* | pw32* | cegcc*) symcode='[[ABCDGISTW]]' ;; hpux*) if test "$host_cpu" = ia64; then symcode='[[ABCDEGRST]]' fi ;; irix* | nonstopux*) symcode='[[BCDEGRST]]' ;; osf*) symcode='[[BCDEGQRST]]' ;; solaris*) symcode='[[BDRT]]' ;; sco3.2v5*) symcode='[[DT]]' ;; sysv4.2uw2*) symcode='[[DT]]' ;; sysv5* | sco5v6* | unixware* | OpenUNIX*) symcode='[[ABDT]]' ;; sysv4) symcode='[[DFNSTU]]' ;; esac # If we're using GNU nm, then use its standard symbol codes. case `$NM -V 2>&1` in *GNU* | *'with BFD'*) symcode='[[ABCDGIRSTW]]' ;; esac # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p'" lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"lib\2\", (void *) \&\2},/p'" # Handle CRLF in mingw tool chain opt_cr= case $build_os in mingw*) opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac # Try without a prefix underscore, then with it. for ac_symprfx in "" "_"; do # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. symxfrm="\\1 $ac_symprfx\\2 \\2" # Write the raw and C identifiers. if test "$lt_cv_nm_interface" = "MS dumpbin"; then # Fake it for dumpbin and say T for any non-static function # and D for any global variable. # Also find C++ and __fastcall symbols from MSVC++, # which start with @ or ?. lt_cv_sys_global_symbol_pipe="$AWK ['"\ " {last_section=section; section=\$ 3};"\ " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ " \$ 0!~/External *\|/{next};"\ " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ " {if(hide[section]) next};"\ " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ " s[1]~/^[@?]/{print s[1], s[1]; next};"\ " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ " ' prfx=^$ac_symprfx]" else lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" fi lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" # Check to see that the pipe works correctly. pipe_works=no rm -f conftest* cat > conftest.$ac_ext <<_LT_EOF #ifdef __cplusplus extern "C" { #endif char nm_test_var; void nm_test_func(void); void nm_test_func(void){} #ifdef __cplusplus } #endif int main(){nm_test_var='a';nm_test_func();return(0);} _LT_EOF if AC_TRY_EVAL(ac_compile); then # Now try to grab the symbols. nlist=conftest.nm if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" else rm -f "$nlist"T fi # Make sure that we snagged all the symbols we need. if $GREP ' nm_test_var$' "$nlist" >/dev/null; then if $GREP ' nm_test_func$' "$nlist" >/dev/null; then cat <<_LT_EOF > conftest.$ac_ext /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) /* DATA imports from DLLs on WIN32 con't be const, because runtime relocations are performed -- see ld's documentation on pseudo-relocs. */ # define LT@&t@_DLSYM_CONST #elif defined(__osf__) /* This system does not cope well with relocations in const data. */ # define LT@&t@_DLSYM_CONST #else # define LT@&t@_DLSYM_CONST const #endif #ifdef __cplusplus extern "C" { #endif _LT_EOF # Now generate the symbol file. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' cat <<_LT_EOF >> conftest.$ac_ext /* The mapping between symbol names and symbols. */ LT@&t@_DLSYM_CONST struct { const char *name; void *address; } lt__PROGRAM__LTX_preloaded_symbols[[]] = { { "@PROGRAM@", (void *) 0 }, _LT_EOF $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext cat <<\_LT_EOF >> conftest.$ac_ext {0, (void *) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt__PROGRAM__LTX_preloaded_symbols; } #endif #ifdef __cplusplus } #endif _LT_EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext lt_globsym_save_LIBS=$LIBS lt_globsym_save_CFLAGS=$CFLAGS LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then pipe_works=yes fi LIBS=$lt_globsym_save_LIBS CFLAGS=$lt_globsym_save_CFLAGS else echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD fi else echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD fi else echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD fi else echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD cat conftest.$ac_ext >&5 fi rm -rf conftest* conftst* # Do not use the global_symbol_pipe unless it works. if test "$pipe_works" = yes; then break else lt_cv_sys_global_symbol_pipe= fi done ]) if test -z "$lt_cv_sys_global_symbol_pipe"; then lt_cv_sys_global_symbol_to_cdecl= fi if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then AC_MSG_RESULT(failed) else AC_MSG_RESULT(ok) fi # Response file support. if test "$lt_cv_nm_interface" = "MS dumpbin"; then nm_file_list_spec='@' elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then nm_file_list_spec='@' fi _LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1], [Take the output of nm and produce a listing of raw symbols and C names]) _LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1], [Transform the output of nm in a proper C declaration]) _LT_DECL([global_symbol_to_c_name_address], [lt_cv_sys_global_symbol_to_c_name_address], [1], [Transform the output of nm in a C name address pair]) _LT_DECL([global_symbol_to_c_name_address_lib_prefix], [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1], [Transform the output of nm in a C name address pair when lib prefix is needed]) _LT_DECL([], [nm_file_list_spec], [1], [Specify filename containing input files for $NM]) ]) # _LT_CMD_GLOBAL_SYMBOLS # _LT_COMPILER_PIC([TAGNAME]) # --------------------------- m4_defun([_LT_COMPILER_PIC], [m4_require([_LT_TAG_COMPILER])dnl _LT_TAGVAR(lt_prog_compiler_wl, $1)= _LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_static, $1)= m4_if([$1], [CXX], [ # C++ specific cases for pic, static, wl, etc. if test "$GXX" = yes; then _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; m68k) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' ;; esac ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | os2* | pw32* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' ;; *djgpp*) # DJGPP does not support shared libraries at all _LT_TAGVAR(lt_prog_compiler_pic, $1)= ;; haiku*) # PIC is the default for Haiku. # The "-static" flag exists, but is broken. _LT_TAGVAR(lt_prog_compiler_static, $1)= ;; interix[[3-9]]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; sysv4*MP*) if test -d /usr/nec; then _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic fi ;; hpux*) # PIC is the default for 64-bit PA HP-UX, but not for 32-bit # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag # sets the default TLS model and affects inlining. case $host_cpu in hppa*64*) ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac ;; *qnx* | *nto*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac else case $host_os in aix[[4-9]]*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' else _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' fi ;; chorus*) case $cc_basename in cxch68*) # Green Hills C++ Compiler # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" ;; esac ;; mingw* | cygwin* | os2* | pw32* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) ;; dgux*) case $cc_basename in ec++*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' ;; ghcx*) # Green Hills C++ Compiler _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; *) ;; esac ;; freebsd* | dragonfly*) # FreeBSD uses GNU C++ ;; hpux9* | hpux10* | hpux11*) case $cc_basename in CC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' if test "$host_cpu" != ia64; then _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' fi ;; aCC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' ;; esac ;; *) ;; esac ;; interix*) # This is c89, which is MS Visual C++ (no shared libs) # Anyone wants to do a port? ;; irix5* | irix6* | nonstopux*) case $cc_basename in CC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' # CC pic flag -KPIC is the default. ;; *) ;; esac ;; linux* | k*bsd*-gnu | kopensolaris*-gnu) case $cc_basename in KCC*) # KAI C++ Compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; ecpc* ) # old Intel C++ for x86_64 which still supported -KPIC. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; icpc* ) # Intel C++, used to be incompatible with GCC. # ICC 10 doesn't accept -KPIC any more. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; pgCC* | pgcpp*) # Portland Group C++ compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; cxx*) # Compaq C++ # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. _LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL 8.0, 9.0 on PPC and BlueGene _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' ;; esac ;; esac ;; lynxos*) ;; m88k*) ;; mvs*) case $cc_basename in cxx*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' ;; *) ;; esac ;; netbsd*) ;; *qnx* | *nto*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' ;; osf3* | osf4* | osf5*) case $cc_basename in KCC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' ;; RCC*) # Rational C++ 2.4.1 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; cxx*) # Digital/Compaq C++ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. _LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; *) ;; esac ;; psos*) ;; solaris*) case $cc_basename in CC* | sunCC*) # Sun C++ 4.2, 5.x and Centerline C++ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' ;; gcx*) # Green Hills C++ Compiler _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' ;; *) ;; esac ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; lcc*) # Lucid _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; *) ;; esac ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) case $cc_basename in CC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' ;; *) ;; esac ;; vxworks*) ;; *) _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; esac fi ], [ if test "$GCC" = yes; then _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; m68k) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' ;; esac ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' ;; haiku*) # PIC is the default for Haiku. # The "-static" flag exists, but is broken. _LT_TAGVAR(lt_prog_compiler_static, $1)= ;; hpux*) # PIC is the default for 64-bit PA HP-UX, but not for 32-bit # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag # sets the default TLS model and affects inlining. case $host_cpu in hppa*64*) # +Z the default ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac ;; interix[[3-9]]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no enable_shared=no ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' ;; sysv4*MP*) if test -d /usr/nec; then _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic fi ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac case $cc_basename in nvcc*) # Cuda Compiler Driver 2.2 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker ' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Xcompiler -fPIC' ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' else _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' fi ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) ;; hpux9* | hpux10* | hpux11*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # PIC (with -KPIC) is the default. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; linux* | k*bsd*-gnu | kopensolaris*-gnu) case $cc_basename in # old Intel for x86_64 which still supported -KPIC. ecc*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; # icc used to be incompatible with GCC. # ICC 10 doesn't accept -KPIC any more. icc* | ifort*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; # Lahey Fortran 8.1. lf95*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared' _LT_TAGVAR(lt_prog_compiler_static, $1)='--static' ;; nagfor*) # NAG Fortran compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; ccc*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # All Alpha code is PIC. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; xl* | bgxl* | bgf* | mpixl*) # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ F* | *Sun*Fortran*) # Sun Fortran 8.3 passes all unrecognized flags to the linker _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='' ;; *Sun\ C*) # Sun C 5.9 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' ;; esac ;; esac ;; newsos6) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' ;; osf3* | osf4* | osf5*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # All OSF/1 code is PIC. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; rdos*) _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; solaris*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' case $cc_basename in f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; *) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; esac ;; sunos4*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; unicos*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; uts4*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; *) _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; esac fi ]) case $host_os in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) _LT_TAGVAR(lt_prog_compiler_pic, $1)= ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])" ;; esac AC_CACHE_CHECK([for $compiler option to produce PIC], [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)], [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_prog_compiler_pic, $1)]) _LT_TAGVAR(lt_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_cv_prog_compiler_pic, $1) # # Check to make sure the PIC flag actually works. # if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works], [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)], [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [], [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in "" | " "*) ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;; esac], [_LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) fi _LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1], [Additional compiler flags for building library objects]) _LT_TAGDECL([wl], [lt_prog_compiler_wl], [1], [How to pass a linker flag through the compiler]) # # Check to make sure the static flag actually works. # wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\" _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1), $lt_tmp_static_flag, [], [_LT_TAGVAR(lt_prog_compiler_static, $1)=]) _LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1], [Compiler flag to prevent dynamic linking]) ])# _LT_COMPILER_PIC # _LT_LINKER_SHLIBS([TAGNAME]) # ---------------------------- # See if the linker supports building shared libraries. m4_defun([_LT_LINKER_SHLIBS], [AC_REQUIRE([LT_PATH_LD])dnl AC_REQUIRE([LT_PATH_NM])dnl m4_require([_LT_PATH_MANIFEST_TOOL])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl m4_require([_LT_TAG_COMPILER])dnl AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) m4_if([$1], [CXX], [ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] case $host_os in aix[[4-9]]*) # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm # Also, AIX nm treats weak defined symbols like other global defined # symbols, whereas GNU nm marks them as "W". if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' else _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' fi ;; pw32*) _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" ;; cygwin* | mingw* | cegcc*) case $cc_basename in cl*) ;; *) _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] ;; esac ;; *) _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' ;; esac ], [ runpath_var= _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_cmds, $1)= _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(compiler_needs_object, $1)=no _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(old_archive_from_new_cmds, $1)= _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)= _LT_TAGVAR(thread_safe_flag_spec, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list _LT_TAGVAR(include_expsyms, $1)= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ` (' and `)$', so one must not match beginning or # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', # as well as any symbol that contains `d'. _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. # Exclude shared library initialization/finalization symbols. dnl Note also adjust exclude_expsyms for C++ above. extract_expsyms_cmds= case $host_os in cygwin* | mingw* | pw32* | cegcc*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd*) with_gnu_ld=no ;; esac _LT_TAGVAR(ld_shlibs, $1)=yes # On some targets, GNU ld is compatible enough with the native linker # that we're better off using the native interface for both. lt_use_gnu_ld_interface=no if test "$with_gnu_ld" = yes; then case $host_os in aix*) # The AIX port of GNU ld has always aspired to compatibility # with the native linker. However, as the warning in the GNU ld # block says, versions before 2.19.5* couldn't really create working # shared libraries, regardless of the interface used. case `$LD -v 2>&1` in *\ \(GNU\ Binutils\)\ 2.19.5*) ;; *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;; *\ \(GNU\ Binutils\)\ [[3-9]]*) ;; *) lt_use_gnu_ld_interface=yes ;; esac ;; *) lt_use_gnu_ld_interface=yes ;; esac fi if test "$lt_use_gnu_ld_interface" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else _LT_TAGVAR(whole_archive_flag_spec, $1)= fi supports_anon_versioning=no case `$LD -v 2>&1` in *GNU\ gold*) supports_anon_versioning=yes ;; *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac # See if GNU ld supports shared libraries. case $host_os in aix[[3-9]]*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then _LT_TAGVAR(ld_shlibs, $1)=no cat <<_LT_EOF 1>&2 *** Warning: the GNU linker, at least up to release 2.19, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to install binutils *** 2.20 or above, or modify your PATH so that a non-GNU linker is found. *** You will then need to restart the configuration process. _LT_EOF fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='' ;; m68k) _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes ;; esac ;; beos*) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(allow_undefined_flag, $1)=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; cygwin* | mingw* | pw32* | cegcc*) # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, # as there is no search path for DLLs. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; haiku*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(link_all_deplibs, $1)=yes ;; interix[[3-9]]*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) tmp_diet=no if test "$host_os" = linux-dietlibc; then case $cc_basename in diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) esac fi if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ && test "$tmp_diet" = no then tmp_addflag=' $pic_flag' tmp_sharedflag='-shared' case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag' ;; pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group f77 and f90 compilers _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; lf95*) # Lahey Fortran 8.1 _LT_TAGVAR(whole_archive_flag_spec, $1)= tmp_sharedflag='--shared' ;; xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below) tmp_sharedflag='-qmkshrobj' tmp_addflag= ;; nvcc*) # Cuda Compiler Driver 2.2 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' _LT_TAGVAR(compiler_needs_object, $1)=yes ;; esac case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' _LT_TAGVAR(compiler_needs_object, $1)=yes tmp_sharedflag='-G' ;; *Sun\ F*) # Sun Fortran 8.3 tmp_sharedflag='-G' ;; esac _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' if test "x$supports_anon_versioning" = xyes; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' fi case $cc_basename in xlf* | bgf* | bgxlf* | mpixlf*) # IBM XL Fortran 10.1 on PPC cannot create shared libs itself _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' if test "x$supports_anon_versioning" = xyes; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' fi ;; esac else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris*) if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then _LT_TAGVAR(ld_shlibs, $1)=no cat <<_LT_EOF 1>&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) _LT_TAGVAR(ld_shlibs, $1)=no cat <<_LT_EOF 1>&2 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not *** reliably create shared libraries on SCO systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.16.91.0.3 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF ;; *) # For security reasons, it is highly recommended that you always # use absolute paths for naming shared libraries, and exclude the # DT_RUNPATH tag from executables and libraries. But doing so # requires that you compile everything twice, which is a pain. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; sunos4*) _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then runpath_var= _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=yes _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. _LT_TAGVAR(hardcode_minus_L, $1)=yes if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. _LT_TAGVAR(hardcode_direct, $1)=unsupported fi ;; aix[[4-9]]*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm # Also, AIX nm treats weak defined symbols like other global # defined symbols, whereas GNU nm marks them as "W". if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' else _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. _LT_TAGVAR(archive_cmds, $1)='' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(file_list_spec, $1)='${wl}-f,' if test "$GCC" = yes; then case $host_os in aix4.[[012]]|aix4.[[012]].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && strings "$collect2name" | $GREP resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 _LT_TAGVAR(hardcode_direct, $1)=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)= fi ;; esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall' # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. _LT_TAGVAR(always_export_symbols, $1)=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. _LT_TAGVAR(allow_undefined_flag, $1)='-berok' # Determine the default libpath from the value encoded in an # empty executable. _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an # empty executable. _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' if test "$with_gnu_ld" = yes; then # We only use this code for GNU lds that support --whole-archive. _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' else # Exported symbols can be pulled into shared objects from archives _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' fi _LT_TAGVAR(archive_cmds_need_lc, $1)=yes # This is similar to how AIX traditionally builds its shared libraries. _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='' ;; m68k) _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes ;; esac ;; bsdi[[45]]*) _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic ;; cygwin* | mingw* | pw32* | cegcc*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. case $cc_basename in cl*) # Native MSVC _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=yes _LT_TAGVAR(file_list_spec, $1)='@' # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; else sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; fi~ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ linknames=' # The linker will not automatically build a static lib if we build a DLL. # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' # Don't use ranlib _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ lt_tool_outputfile="@TOOL_OUTPUT@"~ case $lt_outputfile in *.exe|*.EXE) ;; *) lt_outputfile="$lt_outputfile.exe" lt_tool_outputfile="$lt_tool_outputfile.exe" ;; esac~ if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; $RM "$lt_outputfile.manifest"; fi' ;; *) # Assume MSVC wrapper _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' # FIXME: Should let the user specify the lib program. _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes ;; esac ;; darwin* | rhapsody*) _LT_DARWIN_LINKER_FEATURES($1) ;; dgux*) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; freebsd1*) _LT_TAGVAR(ld_shlibs, $1)=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2*) _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; hpux9*) if test "$GCC" = yes; then _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(hardcode_direct, $1)=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' ;; hpux10*) if test "$GCC" = yes && test "$with_gnu_ld" = no; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test "$with_gnu_ld" = no; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_TAGVAR(hardcode_minus_L, $1)=yes fi ;; hpux11*) if test "$GCC" = yes && test "$with_gnu_ld" = no; then case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) m4_if($1, [], [ # Older versions of the 11.00 compiler do not understand -b yet # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) _LT_LINKER_OPTION([if $CC understands -b], _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b], [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'], [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])], [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags']) ;; esac fi if test "$with_gnu_ld" = no; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: case $host_cpu in hppa*64*|ia64*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_TAGVAR(hardcode_minus_L, $1)=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' # Try to use the -exported_symbol ld option, if it does not # work, assume that -exports_file does not work either and # implicitly export all symbols. # This should be the same for all languages, so no per-tag cache variable. AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol], [lt_cv_irix_exported_symbol], [save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" AC_LINK_IFELSE( [AC_LANG_SOURCE( [AC_LANG_CASE([C], [[int foo (void) { return 0; }]], [C++], [[int foo (void) { return 0; }]], [Fortran 77], [[ subroutine foo end]], [Fortran], [[ subroutine foo end]])])], [lt_cv_irix_exported_symbol=yes], [lt_cv_irix_exported_symbol=no]) LDFLAGS="$save_LDFLAGS"]) if test "$lt_cv_irix_exported_symbol" = yes; then _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' fi else _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' fi _LT_TAGVAR(archive_cmds_need_lc, $1)='no' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(inherit_rpath, $1)=yes _LT_TAGVAR(link_all_deplibs, $1)=yes ;; netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; newsos6) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *nto* | *qnx*) ;; openbsd*) if test -f /usr/libexec/ld.so; then _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=yes if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' else case $host_os in openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' ;; esac fi else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; os2*) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; then _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' fi _LT_TAGVAR(archive_cmds_need_lc, $1)='no' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' else _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' # Both c and cxx compiler support -rpath directly _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' fi _LT_TAGVAR(archive_cmds_need_lc, $1)='no' _LT_TAGVAR(hardcode_libdir_separator, $1)=: ;; solaris*) _LT_TAGVAR(no_undefined_flag, $1)=' -z defs' if test "$GCC" = yes; then wlarc='${wl}' _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' else case `$CC -V 2>&1` in *"Compilers 5.0"*) wlarc='' _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' ;; *) wlarc='${wl}' _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' ;; esac fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands `-z linker_flag'. GCC discards it without `$wl', # but is careful enough not to reorder. # Supported since Solaris 2.6 (maybe 2.5.1?) if test "$GCC" = yes; then _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' else _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' fi ;; esac _LT_TAGVAR(link_all_deplibs, $1)=yes ;; sunos4*) if test "x$host_vendor" = xsequent; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; sysv4) case $host_vendor in sni) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' _LT_TAGVAR(hardcode_direct, $1)=no ;; motorola) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; sysv4.3*) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes _LT_TAGVAR(ld_shlibs, $1)=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; uts4*) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_TAGVAR(ld_shlibs, $1)=no ;; esac if test x$host_vendor = xsni; then case $host in sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym' ;; esac fi fi ]) AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no _LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld _LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl _LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl _LT_DECL([], [extract_expsyms_cmds], [2], [The commands to extract the exported symbol list from a shared archive]) # # Do we need to explicitly link libc? # case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in x|xyes) # Assume -lc should be added _LT_TAGVAR(archive_cmds_need_lc, $1)=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $_LT_TAGVAR(archive_cmds, $1) in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. AC_CACHE_CHECK([whether -lc should be explicitly linked in], [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1), [$RM conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext if AC_TRY_EVAL(ac_compile) 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1) compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1) _LT_TAGVAR(allow_undefined_flag, $1)= if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) then lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no else lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes fi _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $RM conftest* ]) _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1) ;; esac fi ;; esac _LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0], [Whether or not to add -lc for building shared libraries]) _LT_TAGDECL([allow_libtool_libs_with_static_runtimes], [enable_shared_with_static_runtimes], [0], [Whether or not to disallow shared libs when runtime libs are static]) _LT_TAGDECL([], [export_dynamic_flag_spec], [1], [Compiler flag to allow reflexive dlopens]) _LT_TAGDECL([], [whole_archive_flag_spec], [1], [Compiler flag to generate shared objects directly from archives]) _LT_TAGDECL([], [compiler_needs_object], [1], [Whether the compiler copes with passing no objects directly]) _LT_TAGDECL([], [old_archive_from_new_cmds], [2], [Create an old-style archive from a shared archive]) _LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2], [Create a temporary old-style archive to link instead of a shared archive]) _LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive]) _LT_TAGDECL([], [archive_expsym_cmds], [2]) _LT_TAGDECL([], [module_cmds], [2], [Commands used to build a loadable module if different from building a shared archive.]) _LT_TAGDECL([], [module_expsym_cmds], [2]) _LT_TAGDECL([], [with_gnu_ld], [1], [Whether we are building with GNU ld or not]) _LT_TAGDECL([], [allow_undefined_flag], [1], [Flag that allows shared libraries with undefined symbols to be built]) _LT_TAGDECL([], [no_undefined_flag], [1], [Flag that enforces no undefined symbols]) _LT_TAGDECL([], [hardcode_libdir_flag_spec], [1], [Flag to hardcode $libdir into a binary during linking. This must work even if $libdir does not exist]) _LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1], [[If ld is used when linking, flag to hardcode $libdir into a binary during linking. This must work even if $libdir does not exist]]) _LT_TAGDECL([], [hardcode_libdir_separator], [1], [Whether we need a single "-rpath" flag with a separated argument]) _LT_TAGDECL([], [hardcode_direct], [0], [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the resulting binary]) _LT_TAGDECL([], [hardcode_direct_absolute], [0], [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the resulting binary and the resulting library dependency is "absolute", i.e impossible to change by setting ${shlibpath_var} if the library is relocated]) _LT_TAGDECL([], [hardcode_minus_L], [0], [Set to "yes" if using the -LDIR flag during linking hardcodes DIR into the resulting binary]) _LT_TAGDECL([], [hardcode_shlibpath_var], [0], [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into the resulting binary]) _LT_TAGDECL([], [hardcode_automatic], [0], [Set to "yes" if building a shared library automatically hardcodes DIR into the library and all subsequent libraries and executables linked against it]) _LT_TAGDECL([], [inherit_rpath], [0], [Set to yes if linker adds runtime paths of dependent libraries to runtime path list]) _LT_TAGDECL([], [link_all_deplibs], [0], [Whether libtool must link a program against all its dependency libraries]) _LT_TAGDECL([], [always_export_symbols], [0], [Set to "yes" if exported symbols are required]) _LT_TAGDECL([], [export_symbols_cmds], [2], [The commands to list exported symbols]) _LT_TAGDECL([], [exclude_expsyms], [1], [Symbols that should not be listed in the preloaded symbols]) _LT_TAGDECL([], [include_expsyms], [1], [Symbols that must always be exported]) _LT_TAGDECL([], [prelink_cmds], [2], [Commands necessary for linking programs (against libraries) with templates]) _LT_TAGDECL([], [postlink_cmds], [2], [Commands necessary for finishing linking programs]) _LT_TAGDECL([], [file_list_spec], [1], [Specify filename containing input files]) dnl FIXME: Not yet implemented dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1], dnl [Compiler flag to generate thread safe objects]) ])# _LT_LINKER_SHLIBS # _LT_LANG_C_CONFIG([TAG]) # ------------------------ # Ensure that the configuration variables for a C compiler are suitably # defined. These variables are subsequently used by _LT_CONFIG to write # the compiler configuration to `libtool'. m4_defun([_LT_LANG_C_CONFIG], [m4_require([_LT_DECL_EGREP])dnl lt_save_CC="$CC" AC_LANG_PUSH(C) # Source file extension for C test sources. ac_ext=c # Object file extension for compiled C test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests lt_simple_link_test_code='int main(){return(0);}' _LT_TAG_COMPILER # Save the default compiler, since it gets overwritten when the other # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. compiler_DEFAULT=$CC # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... if test -n "$compiler"; then _LT_COMPILER_NO_RTTI($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) LT_SYS_DLOPEN_SELF _LT_CMD_STRIPLIB # Report which library types will actually be built AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[[4-9]]*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes AC_MSG_RESULT([$enable_static]) _LT_CONFIG($1) fi AC_LANG_POP CC="$lt_save_CC" ])# _LT_LANG_C_CONFIG # _LT_LANG_CXX_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for a C++ compiler are suitably # defined. These variables are subsequently used by _LT_CONFIG to write # the compiler configuration to `libtool'. m4_defun([_LT_LANG_CXX_CONFIG], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_PATH_MANIFEST_TOOL])dnl if test -n "$CXX" && ( test "X$CXX" != "Xno" && ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || (test "X$CXX" != "Xg++"))) ; then AC_PROG_CXXCPP else _lt_caught_CXX_error=yes fi AC_LANG_PUSH(C++) _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(compiler_needs_object, $1)=no _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds _LT_TAGVAR(no_undefined_flag, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no # Source file extension for C++ test sources. ac_ext=cpp # Object file extension for compiled C++ test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # No sense in running all these tests if we already determined that # the CXX compiler isn't working. Some variables (like enable_shared) # are currently assumed to apply to all compilers on this platform, # and will be corrupted by setting them based on a non-working compiler. if test "$_lt_caught_CXX_error" != yes; then # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_CFLAGS=$CFLAGS lt_save_LD=$LD lt_save_GCC=$GCC GCC=$GXX lt_save_with_gnu_ld=$with_gnu_ld lt_save_path_LD=$lt_cv_path_LD if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx else $as_unset lt_cv_prog_gnu_ld fi if test -n "${lt_cv_path_LDCXX+set}"; then lt_cv_path_LD=$lt_cv_path_LDCXX else $as_unset lt_cv_path_LD fi test -z "${LDCXX+set}" || LD=$LDCXX CC=${CXX-"c++"} CFLAGS=$CXXFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) if test -n "$compiler"; then # We don't want -fno-exception when compiling C++ code, so set the # no_builtin_flag separately if test "$GXX" = yes; then _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' else _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= fi if test "$GXX" = yes; then # Set up default GNU C++ configuration LT_PATH_LD # Check if GNU C++ uses GNU ld as the underlying linker, since the # archiving commands below assume that GNU ld is being used. if test "$with_gnu_ld" = yes; then _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' # If archive_cmds runs LD, not CC, wlarc should be empty # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to # investigate it a little bit more. (MM) wlarc='${wl}' # ancient GNU ld didn't support --whole-archive et. al. if eval "`$CC -print-prog-name=ld` --help 2>&1" | $GREP 'no-whole-archive' > /dev/null; then _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else _LT_TAGVAR(whole_archive_flag_spec, $1)= fi else with_gnu_ld=no wlarc= # A generic and very simple default shared library creation # command for GNU C++ for the case where it uses the native # linker, instead of GNU ld. If possible, this setting should # overridden to take advantage of the native linker features on # the platform it is being used on. _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' fi # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' else GXX=no with_gnu_ld=no wlarc= fi # PORTME: fill in a description of your system's C++ link characteristics AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) _LT_TAGVAR(ld_shlibs, $1)=yes case $host_os in aix3*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; aix[[4-9]]*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) for ld_flag in $LDFLAGS; do case $ld_flag in *-brtl*) aix_use_runtimelinking=yes break ;; esac done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. _LT_TAGVAR(archive_cmds, $1)='' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(file_list_spec, $1)='${wl}-f,' if test "$GXX" = yes; then case $host_os in aix4.[[012]]|aix4.[[012]].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && strings "$collect2name" | $GREP resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 _LT_TAGVAR(hardcode_direct, $1)=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)= fi esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall' # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to # export. _LT_TAGVAR(always_export_symbols, $1)=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. _LT_TAGVAR(allow_undefined_flag, $1)='-berok' # Determine the default libpath from the value encoded in an empty # executable. _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an # empty executable. _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' if test "$with_gnu_ld" = yes; then # We only use this code for GNU lds that support --whole-archive. _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' else # Exported symbols can be pulled into shared objects from archives _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' fi _LT_TAGVAR(archive_cmds_need_lc, $1)=yes # This is similar to how AIX traditionally builds its shared # libraries. _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; beos*) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(allow_undefined_flag, $1)=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; chorus*) case $cc_basename in *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; cygwin* | mingw* | pw32* | cegcc*) case $GXX,$cc_basename in ,cl* | no,cl*) # Native MSVC # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=yes _LT_TAGVAR(file_list_spec, $1)='@' # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; else $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; fi~ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ linknames=' # The linker will not automatically build a static lib if we build a DLL. # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes # Don't use ranlib _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ lt_tool_outputfile="@TOOL_OUTPUT@"~ case $lt_outputfile in *.exe|*.EXE) ;; *) lt_outputfile="$lt_outputfile.exe" lt_tool_outputfile="$lt_tool_outputfile.exe" ;; esac~ func_to_tool_file "$lt_outputfile"~ if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; $RM "$lt_outputfile.manifest"; fi' ;; *) # g++ # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, # as there is no search path for DLLs. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; darwin* | rhapsody*) _LT_DARWIN_LINKER_FEATURES($1) ;; dgux*) case $cc_basename in ec++*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; ghcx*) # Green Hills C++ Compiler # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; freebsd[[12]]*) # C++ shared libraries reported to be fairly broken before # switch to ELF _LT_TAGVAR(ld_shlibs, $1)=no ;; freebsd-elf*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;; freebsd* | dragonfly*) # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF # conventions _LT_TAGVAR(ld_shlibs, $1)=yes ;; gnu*) ;; haiku*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(link_all_deplibs, $1)=yes ;; hpux9*) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, # but as the default # location of the library. case $cc_basename in CC*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; aCC*) _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test "$GXX" = yes; then _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; hpux10*|hpux11*) if test $with_gnu_ld = no; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: case $host_cpu in hppa*64*|ia64*) ;; *) _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' ;; esac fi case $host_cpu in hppa*64*|ia64*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, # but as the default # location of the library. ;; esac case $cc_basename in CC*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; aCC*) case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test "$GXX" = yes; then if test $with_gnu_ld = no; then case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac fi else # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; interix[[3-9]]*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; irix5* | irix6*) case $cc_basename in CC*) # SGI C++ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' # Archives containing C++ object files must be created using # "CC -ar", where "CC" is the IRIX C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' ;; *) if test "$GXX" = yes; then if test "$with_gnu_ld" = no; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib' fi fi _LT_TAGVAR(link_all_deplibs, $1)=yes ;; esac _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(inherit_rpath, $1)=yes ;; linux* | k*bsd*-gnu | kopensolaris*-gnu) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' # Archives containing C++ object files must be created using # "CC -Bstatic", where "CC" is the KAI C++ compiler. _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; icpc* | ecpc* ) # Intel C++ with_gnu_ld=yes # version 8.0 and above of icpc choke on multiply defined symbols # if we add $predep_objects and $postdep_objects, however 7.1 and # earlier do not add the objects themselves. case `$CC -V 2>&1` in *"Version 7."*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ;; *) # Version 8.0 or newer tmp_idyn= case $host_cpu in ia64*) tmp_idyn=' -i_dynamic';; esac _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ;; esac _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' ;; pgCC* | pgcpp*) # Portland Group C++ compiler case `$CC -V` in *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*) _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ $RANLIB $oldlib' _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' ;; *) # Version 6 and above use weak symbols _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' ;; esac _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' ;; cxx*) # Compaq C++ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' runpath_var=LD_RUN_PATH _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed' ;; xl* | mpixl* | bgxl*) # IBM XL 8.0 on PPC, with GNU ld _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' if test "x$supports_anon_versioning" = xyes; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' fi ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' _LT_TAGVAR(compiler_needs_object, $1)=yes # Not sure whether something based on # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 # would be better. output_verbose_link_cmd='func_echo_all' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' ;; esac ;; esac ;; lynxos*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; m88k*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; mvs*) case $cc_basename in cxx*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' wlarc= _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no fi # Workaround some broken pre-1.5 toolchains output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' ;; *nto* | *qnx*) _LT_TAGVAR(ld_shlibs, $1)=yes ;; openbsd2*) # C++ shared libraries are fairly broken _LT_TAGVAR(ld_shlibs, $1)=no ;; openbsd*) if test -f /usr/libexec/ld.so; then _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' fi output_verbose_link_cmd=func_echo_all else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; osf3* | osf4* | osf5*) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: # Archives containing C++ object files must be created using # the KAI C++ compiler. case $host in osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;; esac ;; RCC*) # Rational C++ 2.4.1 # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; cxx*) case $host in osf3*) _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' ;; *) _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ echo "-hidden">> $lib.exp~ $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~ $RM $lib.exp' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' ;; esac _LT_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test "$GXX" = yes && test "$with_gnu_ld" = no; then _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' case $host in osf3*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' ;; esac _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' else # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; psos*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; lcc*) # Lucid # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; solaris*) case $cc_basename in CC* | sunCC*) # Sun C++ 4.2, 5.x and Centerline C++ _LT_TAGVAR(archive_cmds_need_lc,$1)=yes _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands `-z linker_flag'. # Supported since Solaris 2.6 (maybe 2.5.1?) _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;; esac _LT_TAGVAR(link_all_deplibs, $1)=yes output_verbose_link_cmd='func_echo_all' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' ;; gcx*) # Green Hills C++ Compiler _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' # The C++ compiler must be used to create the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' ;; *) # GNU C++ compiler with Solaris linker if test "$GXX" = yes && test "$with_gnu_ld" = no; then _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' if $CC --version | $GREP -v '^2\.7' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' else # g++ 2.7 appears to require `-G' NOT `-shared' on this # platform. _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' ;; esac fi ;; esac ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var='LD_RUN_PATH' case $cc_basename in CC*) _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' runpath_var='LD_RUN_PATH' case $cc_basename in CC*) _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~ '"$_LT_TAGVAR(old_archive_cmds, $1)" _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~ '"$_LT_TAGVAR(reload_cmds, $1)" ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; vxworks*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no _LT_TAGVAR(GCC, $1)="$GXX" _LT_TAGVAR(LD, $1)="$LD" ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... _LT_SYS_HIDDEN_LIBDEPS($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi # test -n "$compiler" CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS LDCXX=$LD LD=$lt_save_LD GCC=$lt_save_GCC with_gnu_ld=$lt_save_with_gnu_ld lt_cv_path_LDCXX=$lt_cv_path_LD lt_cv_path_LD=$lt_save_path_LD lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld fi # test "$_lt_caught_CXX_error" != yes AC_LANG_POP ])# _LT_LANG_CXX_CONFIG # _LT_FUNC_STRIPNAME_CNF # ---------------------- # func_stripname_cnf prefix suffix name # strip PREFIX and SUFFIX off of NAME. # PREFIX and SUFFIX must not contain globbing or regex special # characters, hashes, percent signs, but SUFFIX may contain a leading # dot (in which case that matches only a dot). # # This function is identical to the (non-XSI) version of func_stripname, # except this one can be used by m4 code that may be executed by configure, # rather than the libtool script. m4_defun([_LT_FUNC_STRIPNAME_CNF],[dnl AC_REQUIRE([_LT_DECL_SED]) AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH]) func_stripname_cnf () { case ${2} in .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; esac } # func_stripname_cnf ])# _LT_FUNC_STRIPNAME_CNF # _LT_SYS_HIDDEN_LIBDEPS([TAGNAME]) # --------------------------------- # Figure out "hidden" library dependencies from verbose # compiler output when linking a shared library. # Parse the compiler output and extract the necessary # objects, libraries and library flags. m4_defun([_LT_SYS_HIDDEN_LIBDEPS], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl AC_REQUIRE([_LT_FUNC_STRIPNAME_CNF])dnl # Dependencies to place before and after the object being linked: _LT_TAGVAR(predep_objects, $1)= _LT_TAGVAR(postdep_objects, $1)= _LT_TAGVAR(predeps, $1)= _LT_TAGVAR(postdeps, $1)= _LT_TAGVAR(compiler_lib_search_path, $1)= dnl we can't use the lt_simple_compile_test_code here, dnl because it contains code intended for an executable, dnl not a library. It's possible we should let each dnl tag define a new lt_????_link_test_code variable, dnl but it's only used here... m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF int a; void foo (void) { a = 0; } _LT_EOF ], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF class Foo { public: Foo (void) { a = 0; } private: int a; }; _LT_EOF ], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF subroutine foo implicit none integer*4 a a=0 return end _LT_EOF ], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF subroutine foo implicit none integer a a=0 return end _LT_EOF ], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF public class foo { private int a; public void bar (void) { a = 0; } }; _LT_EOF ]) _lt_libdeps_save_CFLAGS=$CFLAGS case "$CC $CFLAGS " in #( *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; esac dnl Parse the compiler output and extract the necessary dnl objects, libraries and library flags. if AC_TRY_EVAL(ac_compile); then # Parse the compiler output and extract the necessary # objects, libraries and library flags. # Sentinel used to keep track of whether or not we are before # the conftest object file. pre_test_object_deps_done=no for p in `eval "$output_verbose_link_cmd"`; do case ${prev}${p} in -L* | -R* | -l*) # Some compilers place space between "-{L,R}" and the path. # Remove the space. if test $p = "-L" || test $p = "-R"; then prev=$p continue fi # Expand the sysroot to ease extracting the directories later. if test -z "$prev"; then case $p in -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; esac fi case $p in =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; esac if test "$pre_test_object_deps_done" = no; then case ${prev} in -L | -R) # Internal compiler library paths should come after those # provided the user. The postdeps already come after the # user supplied libs so there is no need to process them. if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}" else _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}" fi ;; # The "-l" case would never come before the object being # linked, so don't bother handling this case. esac else if test -z "$_LT_TAGVAR(postdeps, $1)"; then _LT_TAGVAR(postdeps, $1)="${prev}${p}" else _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}" fi fi prev= ;; *.lto.$objext) ;; # Ignore GCC LTO objects *.$objext) # This assumes that the test object file only shows up # once in the compiler output. if test "$p" = "conftest.$objext"; then pre_test_object_deps_done=yes continue fi if test "$pre_test_object_deps_done" = no; then if test -z "$_LT_TAGVAR(predep_objects, $1)"; then _LT_TAGVAR(predep_objects, $1)="$p" else _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p" fi else if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then _LT_TAGVAR(postdep_objects, $1)="$p" else _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p" fi fi ;; *) ;; # Ignore the rest. esac done # Clean up. rm -f a.out a.exe else echo "libtool.m4: error: problem compiling $1 test program" fi $RM -f confest.$objext CFLAGS=$_lt_libdeps_save_CFLAGS # PORTME: override above test on systems where it is broken m4_if([$1], [CXX], [case $host_os in interix[[3-9]]*) # Interix 3.5 installs completely hosed .la files for C++, so rather than # hack all around it, let's just trust "g++" to DTRT. _LT_TAGVAR(predep_objects,$1)= _LT_TAGVAR(postdep_objects,$1)= _LT_TAGVAR(postdeps,$1)= ;; linux*) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 # The more standards-conforming stlport4 library is # incompatible with the Cstd library. Avoid specifying # it if it's in CXXFLAGS. Ignore libCrun as # -library=stlport4 depends on it. case " $CXX $CXXFLAGS " in *" -library=stlport4 "*) solaris_use_stlport4=yes ;; esac if test "$solaris_use_stlport4" != yes; then _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' fi ;; esac ;; solaris*) case $cc_basename in CC* | sunCC*) # The more standards-conforming stlport4 library is # incompatible with the Cstd library. Avoid specifying # it if it's in CXXFLAGS. Ignore libCrun as # -library=stlport4 depends on it. case " $CXX $CXXFLAGS " in *" -library=stlport4 "*) solaris_use_stlport4=yes ;; esac # Adding this requires a known-good setup of shared libraries for # Sun compiler versions before 5.6, else PIC objects from an old # archive will be linked into the output, leading to subtle bugs. if test "$solaris_use_stlport4" != yes; then _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' fi ;; esac ;; esac ]) case " $_LT_TAGVAR(postdeps, $1) " in *" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;; esac _LT_TAGVAR(compiler_lib_search_dirs, $1)= if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` fi _LT_TAGDECL([], [compiler_lib_search_dirs], [1], [The directories searched by this compiler when creating a shared library]) _LT_TAGDECL([], [predep_objects], [1], [Dependencies to place before and after the objects being linked to create a shared library]) _LT_TAGDECL([], [postdep_objects], [1]) _LT_TAGDECL([], [predeps], [1]) _LT_TAGDECL([], [postdeps], [1]) _LT_TAGDECL([], [compiler_lib_search_path], [1], [The library search path used internally by the compiler when linking a shared library]) ])# _LT_SYS_HIDDEN_LIBDEPS # _LT_LANG_F77_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for a Fortran 77 compiler are # suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to `libtool'. m4_defun([_LT_LANG_F77_CONFIG], [AC_LANG_PUSH(Fortran 77) if test -z "$F77" || test "X$F77" = "Xno"; then _lt_disable_F77=yes fi _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds _LT_TAGVAR(no_undefined_flag, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no # Source file extension for f77 test sources. ac_ext=f # Object file extension for compiled f77 test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # No sense in running all these tests if we already determined that # the F77 compiler isn't working. Some variables (like enable_shared) # are currently assumed to apply to all compilers on this platform, # and will be corrupted by setting them based on a non-working compiler. if test "$_lt_disable_F77" != yes; then # Code to be used in simple compile tests lt_simple_compile_test_code="\ subroutine t return end " # Code to be used in simple link tests lt_simple_link_test_code="\ program t end " # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC="$CC" lt_save_GCC=$GCC lt_save_CFLAGS=$CFLAGS CC=${F77-"f77"} CFLAGS=$FFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) GCC=$G77 if test -n "$compiler"; then AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[[4-9]]*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes AC_MSG_RESULT([$enable_static]) _LT_TAGVAR(GCC, $1)="$G77" _LT_TAGVAR(LD, $1)="$LD" ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi # test -n "$compiler" GCC=$lt_save_GCC CC="$lt_save_CC" CFLAGS="$lt_save_CFLAGS" fi # test "$_lt_disable_F77" != yes AC_LANG_POP ])# _LT_LANG_F77_CONFIG # _LT_LANG_FC_CONFIG([TAG]) # ------------------------- # Ensure that the configuration variables for a Fortran compiler are # suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to `libtool'. m4_defun([_LT_LANG_FC_CONFIG], [AC_LANG_PUSH(Fortran) if test -z "$FC" || test "X$FC" = "Xno"; then _lt_disable_FC=yes fi _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds _LT_TAGVAR(no_undefined_flag, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no # Source file extension for fc test sources. ac_ext=${ac_fc_srcext-f} # Object file extension for compiled fc test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # No sense in running all these tests if we already determined that # the FC compiler isn't working. Some variables (like enable_shared) # are currently assumed to apply to all compilers on this platform, # and will be corrupted by setting them based on a non-working compiler. if test "$_lt_disable_FC" != yes; then # Code to be used in simple compile tests lt_simple_compile_test_code="\ subroutine t return end " # Code to be used in simple link tests lt_simple_link_test_code="\ program t end " # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC="$CC" lt_save_GCC=$GCC lt_save_CFLAGS=$CFLAGS CC=${FC-"f95"} CFLAGS=$FCFLAGS compiler=$CC GCC=$ac_cv_fc_compiler_gnu _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) if test -n "$compiler"; then AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[[4-9]]*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes AC_MSG_RESULT([$enable_static]) _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu" _LT_TAGVAR(LD, $1)="$LD" ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... _LT_SYS_HIDDEN_LIBDEPS($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi # test -n "$compiler" GCC=$lt_save_GCC CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS fi # test "$_lt_disable_FC" != yes AC_LANG_POP ])# _LT_LANG_FC_CONFIG # _LT_LANG_GCJ_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for the GNU Java Compiler compiler # are suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to `libtool'. m4_defun([_LT_LANG_GCJ_CONFIG], [AC_REQUIRE([LT_PROG_GCJ])dnl AC_LANG_SAVE # Source file extension for Java test sources. ac_ext=java # Object file extension for compiled Java test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="class foo {}" # Code to be used in simple link tests lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_CFLAGS=$CFLAGS lt_save_GCC=$GCC GCC=yes CC=${GCJ-"gcj"} CFLAGS=$GCJFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_TAGVAR(LD, $1)="$LD" _LT_CC_BASENAME([$compiler]) # GCJ did not exist at the time GCC didn't implicitly link libc in. _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... if test -n "$compiler"; then _LT_COMPILER_NO_RTTI($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi AC_LANG_RESTORE GCC=$lt_save_GCC CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS ])# _LT_LANG_GCJ_CONFIG # _LT_LANG_RC_CONFIG([TAG]) # ------------------------- # Ensure that the configuration variables for the Windows resource compiler # are suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to `libtool'. m4_defun([_LT_LANG_RC_CONFIG], [AC_REQUIRE([LT_PROG_RC])dnl AC_LANG_SAVE # Source file extension for RC test sources. ac_ext=rc # Object file extension for compiled RC test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' # Code to be used in simple link tests lt_simple_link_test_code="$lt_simple_compile_test_code" # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC="$CC" lt_save_CFLAGS=$CFLAGS lt_save_GCC=$GCC GCC= CC=${RC-"windres"} CFLAGS= compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes if test -n "$compiler"; then : _LT_CONFIG($1) fi GCC=$lt_save_GCC AC_LANG_RESTORE CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS ])# _LT_LANG_RC_CONFIG # LT_PROG_GCJ # ----------- AC_DEFUN([LT_PROG_GCJ], [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ], [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ], [AC_CHECK_TOOL(GCJ, gcj,) test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" AC_SUBST(GCJFLAGS)])])[]dnl ]) # Old name: AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([LT_AC_PROG_GCJ], []) # LT_PROG_RC # ---------- AC_DEFUN([LT_PROG_RC], [AC_CHECK_TOOL(RC, windres,) ]) # Old name: AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([LT_AC_PROG_RC], []) # _LT_DECL_EGREP # -------------- # If we don't have a new enough Autoconf to choose the best grep # available, choose the one first in the user's PATH. m4_defun([_LT_DECL_EGREP], [AC_REQUIRE([AC_PROG_EGREP])dnl AC_REQUIRE([AC_PROG_FGREP])dnl test -z "$GREP" && GREP=grep _LT_DECL([], [GREP], [1], [A grep program that handles long lines]) _LT_DECL([], [EGREP], [1], [An ERE matcher]) _LT_DECL([], [FGREP], [1], [A literal string matcher]) dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too AC_SUBST([GREP]) ]) # _LT_DECL_OBJDUMP # -------------- # If we don't have a new enough Autoconf to choose the best objdump # available, choose the one first in the user's PATH. m4_defun([_LT_DECL_OBJDUMP], [AC_CHECK_TOOL(OBJDUMP, objdump, false) test -z "$OBJDUMP" && OBJDUMP=objdump _LT_DECL([], [OBJDUMP], [1], [An object symbol dumper]) AC_SUBST([OBJDUMP]) ]) # _LT_DECL_DLLTOOL # ---------------- # Ensure DLLTOOL variable is set. m4_defun([_LT_DECL_DLLTOOL], [AC_CHECK_TOOL(DLLTOOL, dlltool, false) test -z "$DLLTOOL" && DLLTOOL=dlltool _LT_DECL([], [DLLTOOL], [1], [DLL creation program]) AC_SUBST([DLLTOOL]) ]) # _LT_DECL_SED # ------------ # Check for a fully-functional sed program, that truncates # as few characters as possible. Prefer GNU sed if found. m4_defun([_LT_DECL_SED], [AC_PROG_SED test -z "$SED" && SED=sed Xsed="$SED -e 1s/^X//" _LT_DECL([], [SED], [1], [A sed program that does not truncate output]) _LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"], [Sed that helps us avoid accidentally triggering echo(1) options like -n]) ])# _LT_DECL_SED m4_ifndef([AC_PROG_SED], [ ############################################################ # NOTE: This macro has been submitted for inclusion into # # GNU Autoconf as AC_PROG_SED. When it is available in # # a released version of Autoconf we should remove this # # macro and use it instead. # ############################################################ m4_defun([AC_PROG_SED], [AC_MSG_CHECKING([for a sed that does not truncate output]) AC_CACHE_VAL(lt_cv_path_SED, [# Loop through the user's path and test for sed and gsed. # Then use that list of sed's as ones to test for truncation. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for lt_ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" fi done done done IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris # along with /bin/sed that truncates output. for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do test ! -f $lt_ac_sed && continue cat /dev/null > conftest.in lt_ac_count=0 echo $ECHO_N "0123456789$ECHO_C" >conftest.in # Check for GNU sed and select it if it is found. if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then lt_cv_path_SED=$lt_ac_sed break fi while true; do cat conftest.in conftest.in >conftest.tmp mv conftest.tmp conftest.in cp conftest.in conftest.nl echo >>conftest.nl $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break cmp -s conftest.out conftest.nl || break # 10000 chars as input seems more than enough test $lt_ac_count -gt 10 && break lt_ac_count=`expr $lt_ac_count + 1` if test $lt_ac_count -gt $lt_ac_max; then lt_ac_max=$lt_ac_count lt_cv_path_SED=$lt_ac_sed fi done done ]) SED=$lt_cv_path_SED AC_SUBST([SED]) AC_MSG_RESULT([$SED]) ])#AC_PROG_SED ])#m4_ifndef # Old name: AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([LT_AC_PROG_SED], []) # _LT_CHECK_SHELL_FEATURES # ------------------------ # Find out whether the shell is Bourne or XSI compatible, # or has some other useful features. m4_defun([_LT_CHECK_SHELL_FEATURES], [AC_MSG_CHECKING([whether the shell understands some XSI constructs]) # Try some XSI features xsi_shell=no ( _lt_dummy="a/b/c" test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ = c,a/b,b/c, \ && eval 'test $(( 1 + 1 )) -eq 2 \ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ && xsi_shell=yes AC_MSG_RESULT([$xsi_shell]) _LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell']) AC_MSG_CHECKING([whether the shell understands "+="]) lt_shell_append=no ( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \ >/dev/null 2>&1 \ && lt_shell_append=yes AC_MSG_RESULT([$lt_shell_append]) _LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append']) if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then lt_unset=unset else lt_unset=false fi _LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl # test EBCDIC or ASCII case `echo X|tr X '\101'` in A) # ASCII based system # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr lt_SP2NL='tr \040 \012' lt_NL2SP='tr \015\012 \040\040' ;; *) # EBCDIC based system lt_SP2NL='tr \100 \n' lt_NL2SP='tr \r\n \100\100' ;; esac _LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl _LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl ])# _LT_CHECK_SHELL_FEATURES # _LT_PROG_FUNCTION_REPLACE (FUNCNAME, REPLACEMENT-BODY) # ------------------------------------------------------ # In `$cfgfile', look for function FUNCNAME delimited by `^FUNCNAME ()$' and # '^} FUNCNAME ', and replace its body with REPLACEMENT-BODY. m4_defun([_LT_PROG_FUNCTION_REPLACE], [dnl { sed -e '/^$1 ()$/,/^} # $1 /c\ $1 ()\ {\ m4_bpatsubsts([$2], [$], [\\], [^\([ ]\)], [\\\1]) } # Extended-shell $1 implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: ]) # _LT_PROG_REPLACE_SHELLFNS # ------------------------- # Replace existing portable implementations of several shell functions with # equivalent extended shell implementations where those features are available.. m4_defun([_LT_PROG_REPLACE_SHELLFNS], [if test x"$xsi_shell" = xyes; then _LT_PROG_FUNCTION_REPLACE([func_dirname], [dnl case ${1} in */*) func_dirname_result="${1%/*}${2}" ;; * ) func_dirname_result="${3}" ;; esac]) _LT_PROG_FUNCTION_REPLACE([func_basename], [dnl func_basename_result="${1##*/}"]) _LT_PROG_FUNCTION_REPLACE([func_dirname_and_basename], [dnl case ${1} in */*) func_dirname_result="${1%/*}${2}" ;; * ) func_dirname_result="${3}" ;; esac func_basename_result="${1##*/}"]) _LT_PROG_FUNCTION_REPLACE([func_stripname], [dnl # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are # positional parameters, so assign one to ordinary parameter first. func_stripname_result=${3} func_stripname_result=${func_stripname_result#"${1}"} func_stripname_result=${func_stripname_result%"${2}"}]) _LT_PROG_FUNCTION_REPLACE([func_split_long_opt], [dnl func_split_long_opt_name=${1%%=*} func_split_long_opt_arg=${1#*=}]) _LT_PROG_FUNCTION_REPLACE([func_split_short_opt], [dnl func_split_short_opt_arg=${1#??} func_split_short_opt_name=${1%"$func_split_short_opt_arg"}]) _LT_PROG_FUNCTION_REPLACE([func_lo2o], [dnl case ${1} in *.lo) func_lo2o_result=${1%.lo}.${objext} ;; *) func_lo2o_result=${1} ;; esac]) _LT_PROG_FUNCTION_REPLACE([func_xform], [ func_xform_result=${1%.*}.lo]) _LT_PROG_FUNCTION_REPLACE([func_arith], [ func_arith_result=$(( $[*] ))]) _LT_PROG_FUNCTION_REPLACE([func_len], [ func_len_result=${#1}]) fi if test x"$lt_shell_append" = xyes; then _LT_PROG_FUNCTION_REPLACE([func_append], [ eval "${1}+=\\${2}"]) _LT_PROG_FUNCTION_REPLACE([func_append_quoted], [dnl func_quote_for_eval "${2}" dnl m4 expansion turns \\\\ into \\, and then the shell eval turns that into \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"]) # Save a `func_append' function call where possible by direct use of '+=' sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: else # Save a `func_append' function call even when '+=' is not available sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: fi if test x"$_lt_function_replace_fail" = x":"; then AC_MSG_WARN([Unable to substitute extended shell functions in $ofile]) fi ]) # _LT_PATH_CONVERSION_FUNCTIONS # ----------------------------- # Determine which file name conversion functions should be used by # func_to_host_file (and, implicitly, by func_to_host_path). These are needed # for certain cross-compile configurations and native mingw. m4_defun([_LT_PATH_CONVERSION_FUNCTIONS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl AC_MSG_CHECKING([how to convert $build file names to $host format]) AC_CACHE_VAL(lt_cv_to_host_file_cmd, [case $host in *-*-mingw* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 ;; *-*-cygwin* ) lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 ;; * ) # otherwise, assume *nix lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 ;; esac ;; *-*-cygwin* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin ;; *-*-cygwin* ) lt_cv_to_host_file_cmd=func_convert_file_noop ;; * ) # otherwise, assume *nix lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin ;; esac ;; * ) # unhandled hosts (and "normal" native builds) lt_cv_to_host_file_cmd=func_convert_file_noop ;; esac ]) to_host_file_cmd=$lt_cv_to_host_file_cmd AC_MSG_RESULT([$lt_cv_to_host_file_cmd]) _LT_DECL([to_host_file_cmd], [lt_cv_to_host_file_cmd], [0], [convert $build file names to $host format])dnl AC_MSG_CHECKING([how to convert $build file names to toolchain format]) AC_CACHE_VAL(lt_cv_to_tool_file_cmd, [#assume ordinary cross tools, or native build. lt_cv_to_tool_file_cmd=func_convert_file_noop case $host in *-*-mingw* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 ;; esac ;; esac ]) to_tool_file_cmd=$lt_cv_to_tool_file_cmd AC_MSG_RESULT([$lt_cv_to_tool_file_cmd]) _LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd], [0], [convert $build files to toolchain format])dnl ])# _LT_PATH_CONVERSION_FUNCTIONS idjc-0.8.9/m4/lib-link.m40000644000175000017500000010020212142730006011633 00000000000000# lib-link.m4 serial 21 (gettext-0.18) dnl Copyright (C) 2001-2010 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. AC_PREREQ([2.54]) dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and dnl the libraries corresponding to explicit and implicit dependencies. dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and dnl augments the CPPFLAGS variable. dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem. AC_DEFUN([AC_LIB_LINKFLAGS], [ AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) AC_REQUIRE([AC_LIB_RPATH]) pushdef([Name],[translit([$1],[./-], [___])]) pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [ AC_LIB_LINKFLAGS_BODY([$1], [$2]) ac_cv_lib[]Name[]_libs="$LIB[]NAME" ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME" ac_cv_lib[]Name[]_cppflags="$INC[]NAME" ac_cv_lib[]Name[]_prefix="$LIB[]NAME[]_PREFIX" ]) LIB[]NAME="$ac_cv_lib[]Name[]_libs" LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs" INC[]NAME="$ac_cv_lib[]Name[]_cppflags" LIB[]NAME[]_PREFIX="$ac_cv_lib[]Name[]_prefix" AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) AC_SUBST([LIB]NAME) AC_SUBST([LTLIB]NAME) AC_SUBST([LIB]NAME[_PREFIX]) dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the dnl results of this search when this library appears as a dependency. HAVE_LIB[]NAME=yes popdef([NAME]) popdef([Name]) ]) dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode, [missing-message]) dnl searches for libname and the libraries corresponding to explicit and dnl implicit dependencies, together with the specified include files and dnl the ability to compile and link the specified testcode. The missing-message dnl defaults to 'no' and may contain additional hints for the user. dnl If found, it sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} dnl and LTLIB${NAME} variables and augments the CPPFLAGS variable, and dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty. dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem. AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], [ AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) AC_REQUIRE([AC_LIB_RPATH]) pushdef([Name],[translit([$1],[./-], [___])]) pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME dnl accordingly. AC_LIB_LINKFLAGS_BODY([$1], [$2]) dnl Add $INC[]NAME to CPPFLAGS before performing the following checks, dnl because if the user has installed lib[]Name and not disabled its use dnl via --without-lib[]Name-prefix, he wants to use it. ac_save_CPPFLAGS="$CPPFLAGS" AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [ ac_save_LIBS="$LIBS" dnl If $LIB[]NAME contains some -l options, add it to the end of LIBS, dnl because these -l options might require -L options that are present in dnl LIBS. -l options benefit only from the -L options listed before it. dnl Otherwise, add it to the front of LIBS, because it may be a static dnl library that depends on another static library that is present in LIBS. dnl Static libraries benefit only from the static libraries listed after dnl it. case " $LIB[]NAME" in *" -l"*) LIBS="$LIBS $LIB[]NAME" ;; *) LIBS="$LIB[]NAME $LIBS" ;; esac AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name='m4_if([$5], [], [no], [[$5]])']) LIBS="$ac_save_LIBS" ]) if test "$ac_cv_lib[]Name" = yes; then HAVE_LIB[]NAME=yes AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the lib][$1 library.]) AC_MSG_CHECKING([how to link with lib[]$1]) AC_MSG_RESULT([$LIB[]NAME]) else HAVE_LIB[]NAME=no dnl If $LIB[]NAME didn't lead to a usable library, we don't need dnl $INC[]NAME either. CPPFLAGS="$ac_save_CPPFLAGS" LIB[]NAME= LTLIB[]NAME= LIB[]NAME[]_PREFIX= fi AC_SUBST([HAVE_LIB]NAME) AC_SUBST([LIB]NAME) AC_SUBST([LTLIB]NAME) AC_SUBST([LIB]NAME[_PREFIX]) popdef([NAME]) popdef([Name]) ]) dnl Determine the platform dependent parameters needed to use rpath: dnl acl_libext, dnl acl_shlibext, dnl acl_hardcode_libdir_flag_spec, dnl acl_hardcode_libdir_separator, dnl acl_hardcode_direct, dnl acl_hardcode_minus_L. AC_DEFUN([AC_LIB_RPATH], [ dnl Tell automake >= 1.10 to complain if config.rpath is missing. m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])]) AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir AC_CACHE_CHECK([for shared library run path origin], [acl_cv_rpath], [ CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh . ./conftest.sh rm -f ./conftest.sh acl_cv_rpath=done ]) wl="$acl_cv_wl" acl_libext="$acl_cv_libext" acl_shlibext="$acl_cv_shlibext" acl_libname_spec="$acl_cv_libname_spec" acl_library_names_spec="$acl_cv_library_names_spec" acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" acl_hardcode_direct="$acl_cv_hardcode_direct" acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" dnl Determine whether the user wants rpath handling at all. AC_ARG_ENABLE([rpath], [ --disable-rpath do not hardcode runtime library paths], :, enable_rpath=yes) ]) dnl AC_LIB_FROMPACKAGE(name, package) dnl declares that libname comes from the given package. The configure file dnl will then not have a --with-libname-prefix option but a dnl --with-package-prefix option. Several libraries can come from the same dnl package. This declaration must occur before an AC_LIB_LINKFLAGS or similar dnl macro call that searches for libname. AC_DEFUN([AC_LIB_FROMPACKAGE], [ pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) define([acl_frompackage_]NAME, [$2]) popdef([NAME]) pushdef([PACK],[$2]) pushdef([PACKUP],[translit(PACK,[abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) define([acl_libsinpackage_]PACKUP, m4_ifdef([acl_libsinpackage_]PACKUP, [acl_libsinpackage_]PACKUP[[, ]],)[lib$1]) popdef([PACKUP]) popdef([PACK]) ]) dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and dnl the libraries corresponding to explicit and implicit dependencies. dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables. dnl Also, sets the LIB${NAME}_PREFIX variable to nonempty if libname was found dnl in ${LIB${NAME}_PREFIX}/$acl_libdirstem. AC_DEFUN([AC_LIB_LINKFLAGS_BODY], [ AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) pushdef([PACK],[m4_ifdef([acl_frompackage_]NAME, [acl_frompackage_]NAME, lib[$1])]) pushdef([PACKUP],[translit(PACK,[abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) pushdef([PACKLIBS],[m4_ifdef([acl_frompackage_]NAME, [acl_libsinpackage_]PACKUP, lib[$1])]) dnl Autoconf >= 2.61 supports dots in --with options. pushdef([P_A_C_K],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.61]),[-1],[translit(PACK,[.],[_])],PACK)]) dnl By default, look in $includedir and $libdir. use_additional=yes AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) AC_ARG_WITH(P_A_C_K[-prefix], [[ --with-]]P_A_C_K[[-prefix[=DIR] search for ]PACKLIBS[ in DIR/include and DIR/lib --without-]]P_A_C_K[[-prefix don't search for ]PACKLIBS[ in includedir and libdir]], [ if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" if test "$acl_libdirstem2" != "$acl_libdirstem" \ && ! test -d "$withval/$acl_libdirstem"; then additional_libdir="$withval/$acl_libdirstem2" fi fi fi ]) dnl Search the library and its dependencies in $additional_libdir and dnl $LDFLAGS. Using breadth-first-seach. LIB[]NAME= LTLIB[]NAME= INC[]NAME= LIB[]NAME[]_PREFIX= dnl HAVE_LIB${NAME} is an indicator that LIB${NAME}, LTLIB${NAME} have been dnl computed. So it has to be reset here. HAVE_LIB[]NAME= rpathdirs= ltrpathdirs= names_already_handled= names_next_round='$1 $2' while test -n "$names_next_round"; do names_this_round="$names_next_round" names_next_round= for name in $names_this_round; do already_handled= for n in $names_already_handled; do if test "$n" = "$name"; then already_handled=yes break fi done if test -z "$already_handled"; then names_already_handled="$names_already_handled $name" dnl See if it was already located by an earlier AC_LIB_LINKFLAGS dnl or AC_LIB_HAVE_LINKFLAGS call. uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` eval value=\"\$HAVE_LIB$uppername\" if test -n "$value"; then if test "$value" = yes; then eval value=\"\$LIB$uppername\" test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value" eval value=\"\$LTLIB$uppername\" test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value" else dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined dnl that this library doesn't exist. So just drop it. : fi else dnl Search the library lib$name in $additional_libdir and $LDFLAGS dnl and the already constructed $LIBNAME/$LTLIBNAME. found_dir= found_la= found_so= found_a= eval libname=\"$acl_libname_spec\" # typically: libname=lib$name if test -n "$acl_shlibext"; then shrext=".$acl_shlibext" # typically: shrext=.so else shrext= fi if test $use_additional = yes; then dir="$additional_libdir" dnl The same code as in the loop below: dnl First look for a shared library. if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi dnl Then look for a static library. if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` dnl First look for a shared library. if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi dnl Then look for a static library. if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi ;; esac if test "X$found_dir" != "X"; then break fi done fi if test "X$found_dir" != "X"; then dnl Found the library. LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name" if test "X$found_so" != "X"; then dnl Linking with a shared library. We attempt to hardcode its dnl directory into the executable's runpath, unless it's the dnl standard /usr/lib. if test "$enable_rpath" = no \ || test "X$found_dir" = "X/usr/$acl_libdirstem" \ || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then dnl No hardcoding is needed. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" else dnl Use an explicit option to hardcode DIR into the resulting dnl binary. dnl Potentially add DIR to ltrpathdirs. dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. haveit= for x in $ltrpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $found_dir" fi dnl The hardcoding into $LIBNAME is system dependent. if test "$acl_hardcode_direct" = yes; then dnl Using DIR/libNAME.so during linking hardcodes DIR into the dnl resulting binary. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" else if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then dnl Use an explicit option to hardcode DIR into the resulting dnl binary. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" dnl Potentially add DIR to rpathdirs. dnl The rpathdirs will be appended to $LIBNAME at the end. haveit= for x in $rpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $found_dir" fi else dnl Rely on "-L$found_dir". dnl But don't add it if it's already contained in the LDFLAGS dnl or the already constructed $LIBNAME haveit= for x in $LDFLAGS $LIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir" fi if test "$acl_hardcode_minus_L" != no; then dnl FIXME: Not sure whether we should use dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" dnl here. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" else dnl We cannot use $acl_hardcode_runpath_var and LD_RUN_PATH dnl here, because this doesn't fit in flags passed to the dnl compiler. So give up. No hardcoding. This affects only dnl very old systems. dnl FIXME: Not sure whether we should use dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" dnl here. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" fi fi fi fi else if test "X$found_a" != "X"; then dnl Linking with a static library. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a" else dnl We shouldn't come here, but anyway it's good to have a dnl fallback. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name" fi fi dnl Assume the include files are nearby. additional_includedir= case "$found_dir" in */$acl_libdirstem | */$acl_libdirstem/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` if test "$name" = '$1'; then LIB[]NAME[]_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; */$acl_libdirstem2 | */$acl_libdirstem2/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` if test "$name" = '$1'; then LIB[]NAME[]_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; esac if test "X$additional_includedir" != "X"; then dnl Potentially add $additional_includedir to $INCNAME. dnl But don't add it dnl 1. if it's the standard /usr/include, dnl 2. if it's /usr/local/include and we are using GCC on Linux, dnl 3. if it's already present in $CPPFLAGS or the already dnl constructed $INCNAME, dnl 4. if it doesn't exist as a directory. if test "X$additional_includedir" != "X/usr/include"; then haveit= if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then for x in $CPPFLAGS $INC[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_includedir"; then dnl Really add $additional_includedir to $INCNAME. INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir" fi fi fi fi fi dnl Look for dependencies. if test -n "$found_la"; then dnl Read the .la file. It defines the variables dnl dlname, library_names, old_library, dependency_libs, current, dnl age, revision, installed, dlopen, dlpreopen, libdir. save_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac libdir="$save_libdir" dnl We use only dependency_libs. for dep in $dependency_libs; do case "$dep" in -L*) additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME. dnl But don't add it dnl 1. if it's the standard /usr/lib, dnl 2. if it's /usr/local/lib and we are using GCC on Linux, dnl 3. if it's already present in $LDFLAGS or the already dnl constructed $LIBNAME, dnl 4. if it doesn't exist as a directory. if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then haveit= if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then haveit= for x in $LDFLAGS $LIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then dnl Really add $additional_libdir to $LIBNAME. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir" fi fi haveit= for x in $LDFLAGS $LTLIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then dnl Really add $additional_libdir to $LTLIBNAME. LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir" fi fi fi fi ;; -R*) dir=`echo "X$dep" | sed -e 's/^X-R//'` if test "$enable_rpath" != no; then dnl Potentially add DIR to rpathdirs. dnl The rpathdirs will be appended to $LIBNAME at the end. haveit= for x in $rpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $dir" fi dnl Potentially add DIR to ltrpathdirs. dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. haveit= for x in $ltrpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $dir" fi fi ;; -l*) dnl Handle this in the next round. names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ;; *.la) dnl Handle this in the next round. Throw away the .la's dnl directory; it is already contained in a preceding -L dnl option. names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ;; *) dnl Most likely an immediate library name. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep" LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep" ;; esac done fi else dnl Didn't find the library; assume it is in the system directories dnl known to the linker and runtime loader. (All the system dnl directories known to the linker should also be known to the dnl runtime loader, otherwise the system is severely misconfigured.) LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name" fi fi fi done done if test "X$rpathdirs" != "X"; then if test -n "$acl_hardcode_libdir_separator"; then dnl Weird platform: only the last -rpath option counts, the user must dnl pass all path elements in one option. We can arrange that for a dnl single library, but not when more than one $LIBNAMEs are used. alldirs= for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" done dnl Note: acl_hardcode_libdir_flag_spec uses $libdir and $wl. acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" else dnl The -rpath options are cumulative. for found_dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$found_dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" done fi fi if test "X$ltrpathdirs" != "X"; then dnl When using libtool, the option that works for both libraries and dnl executables is -R. The -R options are cumulative. for found_dir in $ltrpathdirs; do LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir" done fi popdef([P_A_C_K]) popdef([PACKLIBS]) popdef([PACKUP]) popdef([PACK]) popdef([NAME]) ]) dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR, dnl unless already present in VAR. dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes dnl contains two or three consecutive elements that belong together. AC_DEFUN([AC_LIB_APPENDTOVAR], [ for element in [$2]; do haveit= for x in $[$1]; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X$element"; then haveit=yes break fi done if test -z "$haveit"; then [$1]="${[$1]}${[$1]:+ }$element" fi done ]) dnl For those cases where a variable contains several -L and -l options dnl referring to unknown libraries and directories, this macro determines the dnl necessary additional linker options for the runtime path. dnl AC_LIB_LINKFLAGS_FROM_LIBS([LDADDVAR], [LIBSVALUE], [USE-LIBTOOL]) dnl sets LDADDVAR to linker options needed together with LIBSVALUE. dnl If USE-LIBTOOL evaluates to non-empty, linking with libtool is assumed, dnl otherwise linking without libtool is assumed. AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS], [ AC_REQUIRE([AC_LIB_RPATH]) AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) $1= if test "$enable_rpath" != no; then if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then dnl Use an explicit option to hardcode directories into the resulting dnl binary. rpathdirs= next= for opt in $2; do if test -n "$next"; then dir="$next" dnl No need to hardcode the standard /usr/lib. if test "X$dir" != "X/usr/$acl_libdirstem" \ && test "X$dir" != "X/usr/$acl_libdirstem2"; then rpathdirs="$rpathdirs $dir" fi next= else case $opt in -L) next=yes ;; -L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'` dnl No need to hardcode the standard /usr/lib. if test "X$dir" != "X/usr/$acl_libdirstem" \ && test "X$dir" != "X/usr/$acl_libdirstem2"; then rpathdirs="$rpathdirs $dir" fi next= ;; *) next= ;; esac fi done if test "X$rpathdirs" != "X"; then if test -n ""$3""; then dnl libtool is used for linking. Use -R options. for dir in $rpathdirs; do $1="${$1}${$1:+ }-R$dir" done else dnl The linker is used for linking directly. if test -n "$acl_hardcode_libdir_separator"; then dnl Weird platform: only the last -rpath option counts, the user dnl must pass all path elements in one option. alldirs= for dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$dir" done acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" $1="$flag" else dnl The -rpath options are cumulative. for dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" $1="${$1}${$1:+ }$flag" done fi fi fi fi fi AC_SUBST([$1]) ]) idjc-0.8.9/m4/ltsugar.m40000644000175000017500000001042412073312170011622 00000000000000# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- # # Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. # Written by Gary V. Vaughan, 2004 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # serial 6 ltsugar.m4 # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])]) # lt_join(SEP, ARG1, [ARG2...]) # ----------------------------- # Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their # associated separator. # Needed until we can rely on m4_join from Autoconf 2.62, since all earlier # versions in m4sugar had bugs. m4_define([lt_join], [m4_if([$#], [1], [], [$#], [2], [[$2]], [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])]) m4_define([_lt_join], [m4_if([$#$2], [2], [], [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])]) # lt_car(LIST) # lt_cdr(LIST) # ------------ # Manipulate m4 lists. # These macros are necessary as long as will still need to support # Autoconf-2.59 which quotes differently. m4_define([lt_car], [[$1]]) m4_define([lt_cdr], [m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])], [$#], 1, [], [m4_dquote(m4_shift($@))])]) m4_define([lt_unquote], $1) # lt_append(MACRO-NAME, STRING, [SEPARATOR]) # ------------------------------------------ # Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'. # Note that neither SEPARATOR nor STRING are expanded; they are appended # to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked). # No SEPARATOR is output if MACRO-NAME was previously undefined (different # than defined and empty). # # This macro is needed until we can rely on Autoconf 2.62, since earlier # versions of m4sugar mistakenly expanded SEPARATOR but not STRING. m4_define([lt_append], [m4_define([$1], m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])]) # lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...]) # ---------------------------------------------------------- # Produce a SEP delimited list of all paired combinations of elements of # PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list # has the form PREFIXmINFIXSUFFIXn. # Needed until we can rely on m4_combine added in Autoconf 2.62. m4_define([lt_combine], [m4_if(m4_eval([$# > 3]), [1], [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl [[m4_foreach([_Lt_prefix], [$2], [m4_foreach([_Lt_suffix], ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[, [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])]) # lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ]) # ----------------------------------------------------------------------- # Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited # by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ. m4_define([lt_if_append_uniq], [m4_ifdef([$1], [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1], [lt_append([$1], [$2], [$3])$4], [$5])], [lt_append([$1], [$2], [$3])$4])]) # lt_dict_add(DICT, KEY, VALUE) # ----------------------------- m4_define([lt_dict_add], [m4_define([$1($2)], [$3])]) # lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE) # -------------------------------------------- m4_define([lt_dict_add_subkey], [m4_define([$1($2:$3)], [$4])]) # lt_dict_fetch(DICT, KEY, [SUBKEY]) # ---------------------------------- m4_define([lt_dict_fetch], [m4_ifval([$3], m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]), m4_ifdef([$1($2)], [m4_defn([$1($2)])]))]) # lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE]) # ----------------------------------------------------------------- m4_define([lt_if_dict_fetch], [m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4], [$5], [$6])]) # lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...]) # -------------------------------------------------------------- m4_define([lt_dict_filter], [m4_if([$5], [], [], [lt_join(m4_quote(m4_default([$4], [[, ]])), lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]), [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl ]) idjc-0.8.9/m4/progtest.m40000644000175000017500000000557312142730006012020 00000000000000# progtest.m4 serial 6 (gettext-0.18) dnl Copyright (C) 1996-2003, 2005, 2008-2010 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU dnl gettext package package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 1996. AC_PREREQ([2.50]) # Search path for a program which passes the given test. dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) AC_DEFUN([AM_PATH_PROG_WITH_TEST], [ # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi # Find out how to test for executable files. Don't use a zero-byte file, # as systems may use methods other than mode bits to determine executability. cat >conf$$.file <<_ASEOF #! /bin/sh exit 0 _ASEOF chmod +x conf$$.file if test -x conf$$.file >/dev/null 2>&1; then ac_executable_p="test -x" else ac_executable_p="test -f" fi rm -f conf$$.file # Extract the first word of "$2", so it can be a program name with args. set dummy $2; ac_word=[$]2 AC_MSG_CHECKING([for $ac_word]) AC_CACHE_VAL([ac_cv_path_$1], [case "[$]$1" in [[\\/]]* | ?:[[\\/]]*) ac_cv_path_$1="[$]$1" # Let the user override the test with a path. ;; *) ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in ifelse([$5], , $PATH, [$5]); do IFS="$ac_save_IFS" test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then echo "$as_me: trying $ac_dir/$ac_word..." >&AS_MESSAGE_LOG_FD if [$3]; then ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext" break 2 fi fi done done IFS="$ac_save_IFS" dnl If no 4th arg is given, leave the cache variable unset, dnl so AC_PATH_PROGS will keep looking. ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" ])dnl ;; esac])dnl $1="$ac_cv_path_$1" if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then AC_MSG_RESULT([$][$1]) else AC_MSG_RESULT([no]) fi AC_SUBST([$1])dnl ]) idjc-0.8.9/m4/lib-prefix.m40000644000175000017500000002042212142730006012200 00000000000000# lib-prefix.m4 serial 7 (gettext-0.18) dnl Copyright (C) 2001-2005, 2008-2010 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't dnl require excessive bracketing. ifdef([AC_HELP_STRING], [AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])], [AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])]) dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed dnl to access previously installed libraries. The basic assumption is that dnl a user will want packages to use other packages he previously installed dnl with the same --prefix option. dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate dnl libraries, but is otherwise very convenient. AC_DEFUN([AC_LIB_PREFIX], [ AC_BEFORE([$0], [AC_LIB_LINKFLAGS]) AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) dnl By default, look in $includedir and $libdir. use_additional=yes AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) AC_LIB_ARG_WITH([lib-prefix], [ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib --without-lib-prefix don't search for libraries in includedir and libdir], [ if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" fi fi ]) if test $use_additional = yes; then dnl Potentially add $additional_includedir to $CPPFLAGS. dnl But don't add it dnl 1. if it's the standard /usr/include, dnl 2. if it's already present in $CPPFLAGS, dnl 3. if it's /usr/local/include and we are using GCC on Linux, dnl 4. if it doesn't exist as a directory. if test "X$additional_includedir" != "X/usr/include"; then haveit= for x in $CPPFLAGS; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then if test -d "$additional_includedir"; then dnl Really add $additional_includedir to $CPPFLAGS. CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir" fi fi fi fi dnl Potentially add $additional_libdir to $LDFLAGS. dnl But don't add it dnl 1. if it's the standard /usr/lib, dnl 2. if it's already present in $LDFLAGS, dnl 3. if it's /usr/local/lib and we are using GCC on Linux, dnl 4. if it doesn't exist as a directory. if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then haveit= for x in $LDFLAGS; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then if test -n "$GCC"; then case $host_os in linux*) haveit=yes;; esac fi fi if test -z "$haveit"; then if test -d "$additional_libdir"; then dnl Really add $additional_libdir to $LDFLAGS. LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir" fi fi fi fi fi ]) dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix, dnl acl_final_exec_prefix, containing the values to which $prefix and dnl $exec_prefix will expand at the end of the configure script. AC_DEFUN([AC_LIB_PREPARE_PREFIX], [ dnl Unfortunately, prefix and exec_prefix get only finally determined dnl at the end of configure. if test "X$prefix" = "XNONE"; then acl_final_prefix="$ac_default_prefix" else acl_final_prefix="$prefix" fi if test "X$exec_prefix" = "XNONE"; then acl_final_exec_prefix='${prefix}' else acl_final_exec_prefix="$exec_prefix" fi acl_save_prefix="$prefix" prefix="$acl_final_prefix" eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" prefix="$acl_save_prefix" ]) dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the dnl variables prefix and exec_prefix bound to the values they will have dnl at the end of the configure script. AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], [ acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" $1 exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" ]) dnl AC_LIB_PREPARE_MULTILIB creates dnl - a variable acl_libdirstem, containing the basename of the libdir, either dnl "lib" or "lib64" or "lib/64", dnl - a variable acl_libdirstem2, as a secondary possible value for dnl acl_libdirstem, either the same as acl_libdirstem or "lib/sparcv9" or dnl "lib/amd64". AC_DEFUN([AC_LIB_PREPARE_MULTILIB], [ dnl There is no formal standard regarding lib and lib64. dnl On glibc systems, the current practice is that on a system supporting dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under dnl $prefix/lib64 and 32-bit libraries go under $prefix/lib. We determine dnl the compiler's default mode by looking at the compiler's library search dnl path. If at least one of its elements ends in /lib64 or points to a dnl directory whose absolute pathname ends in /lib64, we assume a 64-bit ABI. dnl Otherwise we use the default, namely "lib". dnl On Solaris systems, the current practice is that on a system supporting dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under dnl $prefix/lib/64 (which is a symlink to either $prefix/lib/sparcv9 or dnl $prefix/lib/amd64) and 32-bit libraries go under $prefix/lib. AC_REQUIRE([AC_CANONICAL_HOST]) acl_libdirstem=lib acl_libdirstem2= case "$host_os" in solaris*) dnl See Solaris 10 Software Developer Collection > Solaris 64-bit Developer's Guide > The Development Environment dnl . dnl "Portable Makefiles should refer to any library directories using the 64 symbolic link." dnl But we want to recognize the sparcv9 or amd64 subdirectory also if the dnl symlink is missing, so we set acl_libdirstem2 too. AC_CACHE_CHECK([for 64-bit host], [gl_cv_solaris_64bit], [AC_EGREP_CPP([sixtyfour bits], [ #ifdef _LP64 sixtyfour bits #endif ], [gl_cv_solaris_64bit=yes], [gl_cv_solaris_64bit=no]) ]) if test $gl_cv_solaris_64bit = yes; then acl_libdirstem=lib/64 case "$host_cpu" in sparc*) acl_libdirstem2=lib/sparcv9 ;; i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; esac fi ;; *) searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` if test -n "$searchpath"; then acl_save_IFS="${IFS= }"; IFS=":" for searchdir in $searchpath; do if test -d "$searchdir"; then case "$searchdir" in */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; */../ | */.. ) # Better ignore directories of this form. They are misleading. ;; *) searchdir=`cd "$searchdir" && pwd` case "$searchdir" in */lib64 ) acl_libdirstem=lib64 ;; esac ;; esac fi done IFS="$acl_save_IFS" fi ;; esac test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" ]) idjc-0.8.9/doc/0000755000175000017500000000000012142736727010222 500000000000000idjc-0.8.9/doc/tour_main.html0000644000175000017500000001360512142727775013035 00000000000000 Internet DJ Console Homepage

Internet DJ Console Homepage IDJC

website logo

Main Window Screenshot

The main window isn't as complicated as it first appears thanks to a fairly standard media player layout.

On the right there are meters. Meters for monitoring your stream and microphone audio levels and also the stream connection status and health, as well as the number of listeners, currently none.

Beneath each playlist is a selector for the playlist mode. This feature affects what will happen once a track ends. Among other options, Loop All, Random, Manual. Fade controls the amount of inter-track fade with options for 5 or 10 seconds and finally, Audio Feed controls whether the player audio is piped to the stream and or the DJ. This feature when combined with Monitor Mix DJ facilitates the pre-listening of tracks.

The Metadata source feature controls which player contributes the song title metadata to the stream and to the right of that are various crossfader controls.

At the bottom are controls for opening the various audio sources, among them potentially: VoIP callers, auxiliary audio sources, a number of microphones. Here there are two configured on two separate opener buttons buttons one of which is helpfully labelled DJ by default. Conveniently alongside the mic buttons, a playlist advance button with play/skip-to-the-next-track-and-stop functionality.

On the bottom left a button to toggle the routing of the stream audio mix through an external program.

idjc-0.8.9/doc/index.html0000644000175000017500000001345412142727775012151 00000000000000 Internet DJ Console Homepage

Internet DJ Console Homepage IDJC

website logo

Introduction

Internet DJ Console is a project started in March 2005 to provide a powerful yet easy to use source-client for individuals interested in streaming live radio shows over the Internet using Shoutcast or Icecast servers.

Because of the large number of streaming applications that already existed but did little more than stream a pair of audio channels or a fixed playlist, it was decided that IDJC would be the opposite and simulate audio hardware to cut down the expense of creating a home studio.

In addition to providing a large number of show production features, this software has been written with the aim of producing the best possible experience for the listeners and DJ alike. To that end features like VoIP integration were conceived of from the very start resulting in the choice of Jack Audio Connection Kit to base the audio.

This has afforded IDJC audio processing capabilities that were they built in would be considered excessive. Enjoy integration with powerful programs such as the well known Skype, Jack Rack (offering audio sound effects plugins), Jamin (the powerful audio compressor/equalizer), and many more.

Fortunately IDJCs power does not come at the expense of a well organized user interface, nor have requests for features been permitted to diminish the application's intuitive feel yet throughout development the main goals have always been that of stability and audio quality.

Stephen Fairchild

idjc-0.8.9/doc/install_standard.html0000644000175000017500000001217412142727775014366 00000000000000 Internet DJ Console Homepage

Internet DJ Console Homepage IDJC

website logo

The recommended way to install IDJC

Installation examples
  • Ubuntu

    $ sudo apt-get install idjc
  • Debian

    $ su -c "apt-get install idjc"

You will be required to enter a password.

In summary

That's it as far as installing from the repository goes. Enjoy your program but see the First run section because you will probably need to configure your system for working with Jack Audio Connection Kit which has some special requirements.

If IDJC is unavailable in your distribution's repository or you would prefer to use a newer or more capable version this page will be of interest.

idjc-0.8.9/doc/prefs-channels.png0000644000175000017500000100041612142727775013565 00000000000000PNG  IHDR4ugAMA asRGB cHRMz&u0`:pQ<bKGD pHYsHHFk>IDATxyua ~'In@B $${նMcJ!T9g=tzv*h  a˾'߾yR7,^}RA "  1!#!̵jwgGt ^h[nޢ;o~u&I$I$!vvU*+$9NI@1FVr!"VG1FNv&rرT?Yiㆿݼ{{kM1FPr]8٨~r.dr@@@D@@ 406ZBt"BDW.^hf1\4lٲeJzk/1bE+|͗^Rn놵fu!0v}?+#ԫsҴ-]fznG cbHY f['F LF. j6bHsYDbnӈ d 4h:"@H$k&jbR04@wA|Y|5岉#!9vë-[HW!\m;A6kJ]9D@P9qFWV,[ʫ5.^7y_gA_F;uyvfZENɳ.xH#1sve$B5my#gopHЫO4*H&HCAW_w^:onfLJhnvVQDA 7+' gjU!H1&bWob>#@$HQN[z_735צ! E1!!(" D(F Db"@B (F D(F B@$b F΍77uՖ-w3cFNٴyRiN٬Z!""Jłt͆9ƍZtHZhtf$ʼn9o߲^\\;>7v}xhu45/Ӓ$t$I%>p;LֿS{ 4\ʃrfaOos]Zs4ŒL͛'\hLou^Z2u}Z5Iet2;-͖<͜lbYQ?;G;ovrV#l%2yf*uY0ا+;nS풡[e̬Z[/H&ͨS!,Z2:ffb&O)G2qmZL`|Q)jA$m5Wk>vbrN%^Ŭ1[nwGe;Mθp{^o> tJ3f 7f`jÑw^sΝj UB^YjI\{,j !0[{k/]z,j$ɘ4kc4߭;V~ i%VܰG nDC+{GO/ǎ;7x[W { ~3~28_NBF)'+eCTrv߷s?|sW;6޶ߝĞ㎗mui]gY)Ѭ֜Tsm>yjߺD҄C#::k.  +&cQhnm] tZ5 dVً(m4\ҮDu.5K2i\֍x٩ٌة[Ϛj:wb"77nXmA!Ѩ5]+fD *6mުn q6mޡ353#v93+dqikVkamzMGn;\w.}8dهwW,d=+W9~ /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LQ)r$޾ ی0_VTs٫L9|Ni*@sbJ{3|NV*bDd,F!sĬ$MSYB.,TڛsR$R&$\Ғ|"MeHry\NTJb !f4UsdR%|.bLd;>q[C_s&/d%io*ry\B̔T)\N>DRTD$,DYbˆ/(=~}A.K%Y s9AT*JLHr@T"$rĐYo* |>/1DQVd\.($K%YrX*IB)r4ED>ҒnҸSw<;'X$' Ji*SOdiR rX*IB)-H$Đr 1$|>'L)MYI./4-sA)MerQVJL@$V4/W]3ZeU,@Agg6'LcQcO9UezwBe%4{niZ}3g_EŤɵBB,X0_7wN`gbRW/f(:M$IbVI.FB1J@YY|^oo#vwi?#Ū6>L^$BZO%<ˌ1H1 (?ya΁fv0ٞeQ$IbEr5UVUʲ tvvhok3~D===56:S[oe;0-]ƍ8HiZ}3g_EŤɵBB,X0_7wN`gbRW/f(:M$IbVI.FBb LEB$e$,DA$B I+Re C{[&鱨ɧT*y饗kN:z{{տ;4pfr5Vnm[VڳIwdž!l?:"BWt㦱{'e`xvD?I 7vv wo>Uk+eRdV)1q}knurit "Dm;$Mc 3-NOZiި !+Ffput]q\+El:qX=LGDzV]W-G"@DJѶs1Nr4V}2ѱ@g˥сR\̦7U̴8=qxt,kurit "Dm;$Mc 3-NO|q{urit "Dm;$Mc 3-NO8tӥ/"@DJѶs1Nr4V}2ӳoÇܹkggdf}# "th۹M'9np/.vwwl6/?w}~])v.fIƪZxqfF z}`0Еmb6i@fR\̦7UЕmb6iDm;$Mc "th۹M'9n+El:qX=])v.fIƪ@DJѶs1Nr4V}"BWt/V @0{Cv [Oj_Z!mƜRDq_XRNyv%tEXtdate:create2013-02-26T18:02:41+00:00Q5%tEXtdate:modify2013-02-26T18:02:41+00:00 RtEXtSoftwaregnome-screenshot>IENDB`idjc-0.8.9/doc/install.html0000644000175000017500000001211012142727775012474 00000000000000 Internet DJ Console Homepage

Internet DJ Console Homepage IDJC

website logo

Firstly, open a terminal

In this section and on the remainder of this site there will be instructions that are intended to be entered into a terminal. Those lines will be preceded by a $ symbol and require the text that follows to be typed in exactly as written apart from any text appearing in red, which will have some accompanying mouse-hover text.

Install and configure links

idjc-0.8.9/doc/prefs-bindings.png0000644000175000017500000075567012142727775013611 00000000000000PNG  IHDRӒgAMA asRGB cHRMz&u0`:pQ<bKGD pHYsHHFk>IDATxyua ~fWH $$!$$K.xmURE+3s3qc*8*ZeIMB{oo_k]۷=~_ַ`PЫO+H& ݧ;U773#fz,TEss 1.ž]9i<3ZDFƄ|ށ^\FH#!4ml:&ofj Mk%B@$bBB QDADQ@AE@Q@ADQAH@;onꪝ;w*N':~fSحTpurڹvݶG!U7@`bl6ݼ~smyUkuFS_ol&1_I {\X+LU33ᾯ;hu45/?=cIt:$qY<鎕=Ѽ~˶$Әsu sC]_fX,Լyt…vt˧?E ziJ'kpɀ;6iVd%W-4[_o#s}*gG9Ed]ȶgUI>]a G| n"s3jm29}}9ҖkӪ9.P s3m>iĵiv uYOO.AԨMU5ҠkQQ̙$O)']S\Ao,өر6v\1|mޮwmrƅxkK\MXvoxAjۯk>fĸlB^YzI|WJ'Y8ܚի̖p׿Cj$ɘ4k4w\zw*?;#3ĪvY؍ݜ7>z<{ԓs ,u?9tᇶ)^|FzF߳7D[gwd2]rŢl*sBC_Վo wN8Qڵ}Ni_kywFZuRݵԎk}tR& L:tl\,_g]VKUS$m4\Ү N4||\,_gmNh5T1KFu-hUkN]njdӚu˥&+NfN^sBŊI}zrM󍶍+-,Z53~}Ŭ(pVeڶmS3 eێurf?3l])x_P' $N˧[ͷU7 ~ݾ;8%]}zϿqɲܾQijV^-Ya`ZցgxPі$nJc;cQ(L\2zaW07ڲ]yUg$YyecվA?!O=n+&g ]m{j_iӇڼ%e%+}׻i8xD庝[o\{Qo\yv^|帗F* nOץ^zcL}z7XF;jǼX^bI?~mFvR]%sW\cbt҂-7뢗.]}Kw[{aNj/t˚%Ecc5 (._Yr wbm[weϗwy)}G[P,dy_>jݚ<;4[mnw4LOM7[l@ђI8pB18ؑ0t%K!Ԛ~GoU2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c}!e @^XLNM !!…ٹ9F\Ylf#h4zMO  v^g.A5<=fZt>G5:_x|ݶ# $@eVWWmn{YybeyqȈUUU[ ]tnvYЙT:uuw̢miϞn)A5vRs[,+:{ȕ]UU)d`dDGӒRnWBީ[ww*+ )E+NOh% kk^|cV @mݨ[Kg'Uynt۝i>e`O< 28,[RfrjZ@A(_.?i6 e3g xm"lj@I(/:cH279_fw[oL&KʥSr>>G @UU2L JuTUYTJ*R$rm`0.k>p89j^ D@"BTJL2SD 3 UJ@D%"DE/nyoju][DU"@dJ$DRRfm~ju431sT}2ѡ7e){}>UUsG?80 ڭmn W]\\_}y{.V+uz,K ">|`sxV%kvvDеd{8)K}O飏R@UU޽G?80 ڭmlhs8^@)_}}{wVKPUӇl~ju431sT}2ѡ7e){}W7?sܽsٙ /8?+(,_wZkݻsǯ~UUytU[[VkvvDеd{8)K~U ={['.y`0PJ}wk~2wb}{wx+.ol}rotqqZ'= "tmifb:種-dC7nR@)Çk/_VUr)K޲9ٳg?~d<QLJ)/lllXӧm=WU dWƛdL]:k[M38Gum 3qpS`^'=Z.ॗ^֖+P2˥/_‹/Z_\܏?"¥Kl\"PJ]:k[M38Gum 3qpS 3L"D0 D(X`0 dz-3t]d>'"Dm5LL'յEt|thCt]d>'"Dm5LL'յEt|thw@2>ukxOD]jN9k6@fZ."@DVt2Q][=Ǐ}cׯt ,zkmmеd{OΜ}ry.k[[^}@DVt2Q][= "tmifb:種-Dm5LL'յEеd{431sT}"B׶f&qڢ@DVt2Q][=]jN9k_ P}΄hiLS@sN|D-IENDB`idjc-0.8.9/doc/contact.html0000644000175000017500000001111112142727775012461 00000000000000 Internet DJ Console Homepage

Internet DJ Console Homepage IDJC

website logo

Should assistance be required

If you need any help with IDJC you can leave a comment on the IDJC bug tracker or on the forum at http://sourceforge.net/projects/idjc/support

Anonymous posting is no longer available due to spam.

idjc-0.8.9/doc/tutorials_streaming_aac.html0000644000175000017500000001374012142727775015743 00000000000000 Internet DJ Console Homepage

Internet DJ Console Homepage IDJC

website logo

I can't choose one or both of the the AAC options. Why?

Put simply IDJC calls on libavcodec from the ffmpeg project to do the encoding and due to legal considerations it's unlikely your distribution's libavcodec has either the libfaac or libaacplus encoders built in.

Checking for support is easy enough in a terminal.

$ ffmpeg -codecs 2>/dev/null | grep aac 
 DEA D  aac             Advanced Audio Coding
 D A D  aac_latm        AAC LATM (Advanced Audio Codec LATM syntax)
  EA    libaacplus      libaacplus AAC+ (Advanced Audio Codec with SBR+PS)
  EA    libfaac         libfaac AAC (Advanced Audio Codec)
  EA    libvo_aacenc    Android VisualOn AAC

In this example both encoders are listed so both AAC options would be available in IDJC.

What can I do?

Gentoo users need to set the faac and aacplus USE flags before rebuilding ffmpeg.

Users of binary distributions should track down the source package (source rpm, deb) and rebuild it with the required option.

Where no such option exists building ffmpeg's libraries from source remains the last option.

Is it worth it?

Not really, no. Not unless you absolutely positively must stream AAC.

The faac encoder doesn't support constant bit rate which is a problem for streaming and it hasn't received a fraction of the developer attention that LAME has so it fails on the sound quality front.

Does this mean AAC support on Linux is generally bad?

There is a closed source encoder neroAacEnc which has good sound quality and CBR but has been designed with no thought to streaming.

idjc-0.8.9/doc/tour.html0000644000175000017500000001204612142727775012027 00000000000000 Internet DJ Console Homepage

Internet DJ Console Homepage IDJC

website logo

Screenshots and commentary

External links

idjc-0.8.9/doc/style_ie.css0000644000175000017500000000014512142727775012474 00000000000000 pre.ie6-one-line-pre{ height:32px; } #sidebar-menu{ margin-left:0px; margin-bottom:0px; } idjc-0.8.9/doc/main-window.png0000644000175000017500000201222412142727775013107 00000000000000PNG  IHDR FQgAMA asRGB cHRMz&u0`:pQ<bKGD pHYsHHFk>IDATxwt S[sBH$HBvVGQJ#8W̽{wefՑq(8 H $!vz_ ;ʏ  " b F"# {GfO.5]_{VxU_2LH$ ($ĊX^PijU\Et@QTADtRHTDTB9~2>tGܟJ&w՗m\+rm}CbQMO8F.W,,ozRkVu*6\%$@D@@@@""""@@"@DD@D" ""@@@@ "D@@@@D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Jz֨V"ÇHoa~@eiT3g^a 7 "HɵYWii\:yU֭[DF 1?ӹ!k׭'k5j~FYq~XU6oCD޼p[yZ(J,EZ Eׯy7ܽ{rNzҖ[U-//B^z}͆ =/ťE<-ZO=/yv9u4=Yy Y[VccY@D6uuʶN)%y۳g+|~7|sk~OlXo_{}ڊM"¾}{\Tn(Jz֨V"ÇHoa~@eiT!zՅ7iUcYlrf6nT__cllLOoR}=+￧X(ڼeUH^ ttQ dff¼[49?>hUͷ.ʲ @D{rSET۷FZf>8t@zt~ ,3|vHSynUy)%uŢN]VlrrĄE ,֪WcIe kNyq RJMMMzT[ R27;kq7_VYz]J "TK&.OxIKKK"B\۫UXR277w@!˴UnȲL}arY{G,ˌ*tuw<Ž~c(ie;%27nx<|_jˮlZuuQ + +b;R@Jjy.DP $kRJ$ "dRRs)$@eYB_i`:lLyN$x_o5& Vٙ ޚZٷu.8IzȾs)9HCmK)1@5o\ʗsIzkj=dyk$NC~H@{O#e%tEXtdate:create2013-02-26T18:02:41+00:00Q5%tEXtdate:modify2013-02-26T18:02:41+00:00 RtEXtSoftwaregnome-screenshot>IENDB`idjc-0.8.9/doc/Makefile.in0000644000175000017500000003175212142730017012201 00000000000000# Makefile.in generated by automake 1.12.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2012 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__make_dryrun = \ { \ am__dry=no; \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ *) \ for am__flg in $$MAKEFLAGS; do \ case $$am__flg in \ *=*|--*) ;; \ *n*) am__dry=yes; break;; \ esac; \ done;; \ esac; \ test $$am__dry = yes; \ } pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = doc DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ COPYRIGHT_YEAR = @COPYRIGHT_YEAR@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ DYN_LAME = @DYN_LAME@ DYN_LDFLAGS = @DYN_LDFLAGS@ DYN_LIBS = @DYN_LIBS@ DYN_MPG123 = @DYN_MPG123@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ EXT = @EXT@ FGREP = @FGREP@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ HAVE_AVCODEC = @HAVE_AVCODEC@ HAVE_AVFORMAT = @HAVE_AVFORMAT@ HAVE_AVUTIL = @HAVE_AVUTIL@ HAVE_FLAC = @HAVE_FLAC@ HAVE_OGGFLAC = @HAVE_OGGFLAC@ HAVE_OPUS = @HAVE_OPUS@ HAVE_SPEEX = @HAVE_SPEEX@ HAVE_TWOLAME = @HAVE_TWOLAME@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBAVCODEC_CFLAGS = @LIBAVCODEC_CFLAGS@ LIBAVCODEC_LIBS = @LIBAVCODEC_LIBS@ LIBAVFORMAT_CFLAGS = @LIBAVFORMAT_CFLAGS@ LIBAVFORMAT_LIBS = @LIBAVFORMAT_LIBS@ LIBAVUTIL_CFLAGS = @LIBAVUTIL_CFLAGS@ LIBAVUTIL_LIBS = @LIBAVUTIL_LIBS@ LIBFLAC_CFLAGS = @LIBFLAC_CFLAGS@ LIBFLAC_LIBS = @LIBFLAC_LIBS@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBJACK_CFLAGS = @LIBJACK_CFLAGS@ LIBJACK_LIBS = @LIBJACK_LIBS@ LIBM = @LIBM@ LIBMP3LAME = @LIBMP3LAME@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSAMPLERATE_CFLAGS = @LIBSAMPLERATE_CFLAGS@ LIBSAMPLERATE_LIBS = @LIBSAMPLERATE_LIBS@ LIBSNDFILE_CFLAGS = @LIBSNDFILE_CFLAGS@ LIBSNDFILE_LIBS = @LIBSNDFILE_LIBS@ LIBSPEEX_CFLAGS = @LIBSPEEX_CFLAGS@ LIBSPEEX_LIBS = @LIBSPEEX_LIBS@ LIBTOOL = @LIBTOOL@ LIBVORBISENC_CFLAGS = @LIBVORBISENC_CFLAGS@ LIBVORBISENC_LIBS = @LIBVORBISENC_LIBS@ LIBVORBIS_CFLAGS = @LIBVORBIS_CFLAGS@ LIBVORBIS_LIBS = @LIBVORBIS_LIBS@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MPG123 = @MPG123@ MPG123_CFLAGS = @MPG123_CFLAGS@ MPG123_LIBS = @MPG123_LIBS@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OPUS_CFLAGS = @OPUS_CFLAGS@ OPUS_LIBS = @OPUS_LIBS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ PYGTK_CFLAGS = @PYGTK_CFLAGS@ PYGTK_LIBS = @PYGTK_LIBS@ PYTHON = @PYTHON@ PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ PYTHON_PLATFORM = @PYTHON_PLATFORM@ PYTHON_PREFIX = @PYTHON_PREFIX@ PYTHON_VERSION = @PYTHON_VERSION@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SHOUTIDJC_CFLAGS = @SHOUTIDJC_CFLAGS@ SHOUTIDJC_LIBS = @SHOUTIDJC_LIBS@ STRIP = @STRIP@ TWOLAME_CFLAGS = @TWOLAME_CFLAGS@ TWOLAME_LIBS = @TWOLAME_LIBS@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ pkgpyexecdir = @pkgpyexecdir@ pkgpythondir = @pkgpythondir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ pyexecdir = @pyexecdir@ pythondir = @pythondir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ EXTRA_DIST = index.html tour.html tour_main.html tour_jingles.html tour_output.html tour_preferences.html install.html install_standard.html install_build.html install_first_run.html tutorials.html tutorials_icecast.html tutorials_shoutcast.html tutorials_voip.html tutorials_streaming_aac.html code.html code_idjcmon.html contact.html main-window.png jingles-window.png output-window.png prefs-general.png prefs-channels.png prefs-jack-ports.png prefs-bindings.png style.css style_ie.css favicon.png site-logo.png all: all-am .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu doc/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs tags: TAGS TAGS: ctags: CTAGS CTAGS: cscope cscopelist: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ distclean distclean-generic distclean-libtool distdir dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: idjc-0.8.9/doc/tutorials_shoutcast.html0000644000175000017500000002107312142727775015161 00000000000000 Internet DJ Console Homepage

Internet DJ Console Homepage IDJC

website logo

Aims

In this section I'm going to walk you through the procedure of setting up a Shoutcast server and then sending a live stream to it with IDJC. In addition I will demonstrate the connection of a listener to show that everything really does work.

The advice below is for demonstration purposes only. Not covered are best practices of locking down a Shoutcast server for serious use. There are plenty of specialized Shoutcast hosting services to take that burden, for a price.

Obtaining Shoutcast

Shoutcast may not be available in your Linux distribution. Not really a problem since it's available as a presumably statically linked binary from http://www.shoutcast.com. It's important that you avoid version 2 because IDJC does not support it yet.

Setting up Shoutcast

Okay, so having downloaded the version of Shoutcast that's right for your platform and extracted it from the archive there should be two files called sc_serv and sc_serv.conf. The first is the server and the second is its configuration file. There is also a README.TXT which contains some recommended reading.

Let's run this and see what success looks like.

$ ./sc_serv sc_serv.conf
*******************************************************************************
** SHOUTcast Distributed Network Audio Server
** Copyright (C) 1998-2004 Nullsoft, Inc.  All Rights Reserved.
** Use "sc_serv filename.ini" to specify an ini file.
*******************************************************************************

Event log:
<10/05/10@07:09:16> [SHOUTcast] DNAS/Linux v1.9.8 (Feb 28 2007) starting up...
<10/05/10@07:09:16> [main] pid: 5755
<10/05/10@07:09:16> [main] loaded config from sc_serv.conf
<10/05/10@07:09:16> [main] initializing (usermax:32 portbase:8000)...
<10/05/10@07:09:16> [main] No ban file found (sc_serv.ban)
<10/05/10@07:09:16> [main] No rip file found (sc_serv.rip)
<10/05/10@07:09:16> [main] opening source socket
<10/05/10@07:09:16> [main] source thread starting
<10/05/10@07:09:16> [main] opening client socket
<10/05/10@07:09:16> [source] listening for connection on port 8001
<10/05/10@07:09:16> [main] Client Stream thread [0] starting
<10/05/10@07:09:16> [main] client main thread starting

Configuring IDJC

Start the Jack sound server as follows.

$ jackd -d dummy -r 44100

This is done so that any media player, even one that does not support Jack Audio Connection Kit can be used for playing the stream on this machine.

Run IDJC and click the Output button in the bottom left hand corner. Click Configuration so the configuration section is visible.

Click Connection, then New.

For Server type you want Shoutcast Master, for Hostname, localhost, port number should be 8000 and the password will be the default password, which is changeme. Click Ok to add the server to the list.

Click Format. Select the Sample rate drop down box and choose 44100. Select MP3 and the top drop down box. Choose 128, Quality 5, and Joint Stereo.

Click Individual Controls so the controls section is visible and click the button that says localhost:8000/listen.

If the button stays in you have made the connection.

Streaming some audio

Click the down pointing arrow on the left media player and using the file selector add a track to the playlist. Click play. Make sure the crossfader is set all the way to the left. Make sure Stream is on and DJ is off. You should be able to see the Str Peak meter is active.

If you can't hear anything right now it's because DJ is off and/or you are running a dummy Jack soundcard, which is what you want for the sake of this test.

Join the stream as a listener

$ mplayer http://localhost:8000/listen

After a brief moment audio should start to play and within thirty seconds the listener count in the main IDJC window should have risen to 1. It's possible to add more listeners up to the maximum number currently specified in the Shoutcast configuration file.

idjc-0.8.9/doc/favicon.png0000644000175000017500000000133412142727775012301 00000000000000PNG  IHDRabKGD pHYs  tIME  8$gtEXtCommentCreated with The GIMPd%n@IDAT8˕kAǿL4k4 X!Ek I҃қTATzA'xЋPJ`1^-(D(-)M&Ɍ$Up}<='5@>$#](RVgN ɩ7x`00Gs˞JB)D" Ga;T-1(+8žRJ}q  r 3vmE?u} !`{ jc PJ5]g?H$dƒ\*J۶m۲\, cz_EQxKLv B=ȤrczM>m&&!!DC 3p@/ OX.!D%KR؊i`>t`#y k| c+^cht}*g`Qu]V/0ծ9 ޮڊ=K0S: sYټ%&s^j4w%˗;6lX59/ Rr-RP(4(ʹnþ;{?oIENDB`idjc-0.8.9/doc/prefs-jack-ports.png0000644000175000017500000064204212142727775014055 00000000000000PNG  IHDRӒgAMA asRGB cHRMz&u0`:pQ<bKGD pHYsHHFk>IDATxyua ~fWH $$!$$K.xmURE+3s3qc*8*ZeIMB{oo_k]۷=~_ַ`PЫO+H& ݧ;U773#fz,TEss 1.ž]9i<3ZDFƄ|ށ^\FH#!4ml:&ofj Mk%B@$bBB QDADQ@AE@Q@ADQAH@;onꪝ;w*N':~fSحTpurڹvݶG!U7@`bl6ݼ~smyUkuFS_ol&1_I {\X+LU33ᾯ;hu45/?=cIt:$qY<鎕=Ѽ~˶$Әsu sC]_fX,Լyt…vt˧?E ziJ'kpɀ;6iVd%W-4[_o#s}*gG9Ed]ȶgUI>]a G| n"s3jm29}}9ҖkӪ9.P s3m>iĵiv uYOO.AԨMU5ҠkQQ̙$O)']S\Ao,өر6v\1|mޮwmrƅxkK\MXvoxAjۯk>fĸlB^YzI|WJ'Y8ܚի̖p׿Cj$ɘ4k4w\zw*?;#3ĪvY؍ݜ7>z<{ԓs ,u?9tᇶ)^|FzF߳7D[gwd2]rŢl*sBC_Վo wN8Qڵ}Ni_kywFZuRݵԎk}tR& L:tl\,_g]VKUS$m4\Ү N4||\,_gmNh5T1KFu-hUkN]njdӚu˥&+NfN^sBŊI}zrM󍶍+-,Z53~}Ŭ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1[FynϞݮLNظy+VKKUַd>Y>>?i3x洦JQ "۷E妊Roj "LO;|iqdYf쐦JEOo)9s5+VڰqP \u~~Vժ'_n:Ed7v:=}RJμvZF7ne`iq5Ze;D ߺew9)R$2 X\\T@Xt7xݻwk,7XZ'mٺU2( %@ so"[oXp]dY"ۗ.mv+K@baa޹Cz]arY{G,ˌ*tuwgXqYV Xfg4U*J޾5*03=šң[eC*=}RI@D RJ&D"BV( %8t@zt~ ,3|vn]ݖ H@@ 70$K7Y~X]JQr3#Vln-;2<@2_\76'OLUU/ V34M>ߙDG.˯_Y_m"¡/}1>HX,lDT 3ݙ /qRt]+&u8 矜ZU-DU>}ܓd&zscZ@ Lt?ZD~{jL H7}8})]ۺv_~z-3,KB&<<IENDB`idjc-0.8.9/doc/install_build.html0000644000175000017500000002673712142727775013677 00000000000000 Internet DJ Console Homepage

Internet DJ Console Homepage IDJC

website logo

Deciding if this is a good idea

The following list contains valid reasons for going to the trouble of installing IDJC from source.

  • IDJC is absent from the repository.
  • The repository version is ancient but functional.
  • The repository version has features removed for fear of legal action.
  • The repository version has a minimum set of features generally.
  • The repository version is broken.

Removing old versions

It's a good idea to remove any old versions of IDJC at this point.

Installing dependencies

The following software is required to build IDJC or is used by IDJC at run-time. There should be similarly named binary packages in your package management system for all of these of which you typically want the library development packages whose names carry the -dev or -devel suffix.

Project nameVersionComment
libshout-idjc2.3.1Required—A specially modified version of libshout
Python2.7+, not 3Required—probably installed already
mutagen1.18+Required
Jack Audio Connection Kit0.116.0+Required—need library and server
PyGTK2.18+Required
vorbis-tools1.2.0+Required
libsndfile1.0.12+Required
libsamplerate0.1.4+Required
GLib22.0.0+Required
mpg1231.13+Required—provides support for mp2/mp3 playback
TwoLAME0.3+Required—provides support for streaming/recording in the mp2 format
Lame3.97+Recommended—provides support for streaming/recording in the mp3 format
FFmpeg's libav…0.10/0.8+Recommended—provides support for mp4/m4a, ape, mpc, aac(+)
FLAC1.1.3+Recommended—provides support for FLAC playback, recording, and streaming
Speex1.2rc1+Recommended—provides support for Speex playback and streaming
Opus1.0+Recommended—provides support for Opus playback and streaming

For Ubuntu users, this command should be enough to satisfy nearly all of the above.

$ sudo apt-get install build-essential libc6-dev libglib2.0-dev libjack-dev jackd libvorbis-dev libsamplerate0-dev libsndfile1-dev python-gtk2-dev libmpg123-dev libavcodec-dev libavformat-dev libtwolame-dev libmp3lame-dev libflac-dev python-mutagen libspeex-dev

For Fedora users, use this instead.

$ su -c "yum install gcc-c++ libvorbis-devel glib2-devel libsamplerate-devel libsndfile-devel jack-audio-connection-kit-devel pygtk2-devel libmpg123-devel lame-devel twolame-devel flac-devel ffmpeg-devel speex-devel python-mutagen opus-devel"

If during the execution of the above command you are asked whether to configure your system for JACK/realtime the sensible choice is yes.

Obtaining the IDJC source code

There are two options available to you. One is to get the official release (recommended), the other is to obtain the development sources which are only casually tested.

Option 1: Build the latest official release

Click the relevant link above to download libshout-idjc, then in a console type the following.

$ cd Downloads
$ tar xzvf libshout-idjc-[version].tar.gz
$ cd libshout-idjc-[version]/
$ ./configure CFLAGS="-O2" --prefix=/usr
  • Fedora 64 bit only.

    $ ./configure CFLAGS="-O2" --prefix=/usr --libdir=/usr/lib64
$ make
$ sudo make install
$ sudo ldconfig

Navigate to http://sourceforge.net/projects/idjc/.

Hit the big green Download button and wait for the download to finish. Make a note of the version number.

$ cd Downloads
$ tar xzvf idjc-[version].tar.gz
$ cd idjc-[version]/
$ ./configure CFLAGS="-O2" --prefix=/usr
  • Fedora 64 bit only.

    $ ./configure CFLAGS="-O2" --prefix=/usr --libdir=/usr/lib64
$ make
$ sudo make install
Option 2: Build from the development sources

Build dependencies for Ubuntu users.

$ sudo apt-get install git-core autoconf libtool autopoint imagemagick

For Fedora users.

$ su -c "yum install git-core autoconf libtool gettext-devel ImageMagick"

The build process.

$ git clone git://idjc.git.sourceforge.net/gitroot/idjc/idjc
$ cd idjc/
$ ./bootstrap
$ cd libshout-idjc
$ ./configure CFLAGS="-O2" --prefix=/usr
  • Fedora 64 bit only.

    $ ./configure CFLAGS="-O2" --prefix=/usr --libdir=/usr/lib64
$ make
$ sudo make install
$ sudo ldconfig
$ cd ..
$ ./configure CFLAGS="-O2" --prefix=/usr
  • Fedora 64 bit only.

    $ ./configure CFLAGS="-O2" --prefix=/usr --libdir=/usr/lib64
$ make
$ sudo make install

For systems that don't have sudo configured, use the following form instead.

su -c "make install"

Finally

At this stage it's installed but see the First run section as further configuration is very likely needed.

idjc-0.8.9/doc/tutorials.html0000644000175000017500000001113712142727775013064 00000000000000 Internet DJ Console Homepage

Internet DJ Console Homepage IDJC

website logo

Help for the less obvious things

idjc-0.8.9/doc/tutorials_icecast.html0000644000175000017500000004274612142727775014571 00000000000000 Internet DJ Console Homepage

Internet DJ Console Homepage IDJC

website logo

Aims

In this section I'm going to walk you through the procedure of setting up an Iceccast server and then sending a live stream to it with IDJC. In addition I will demonstrate the connection of a listener to show that everything really does work.

The advice below is for demonstration purposes only. Not covered are best practices of locking down an Icecast server for serious use. For that and other non IDJC related matters there are the Icecast forums and the Icecast documentation itself.

Setting up Icecast

Why local?

Everything in this tutorial will be demonstrated on the same machine and while not as impressive as sending a stream half way across your house, by making this tutorial single machine specific I can not only leave multi-machine as an exercise to the reader but also not have to worry about anyone's local network specifics or how many machines they have reasonable access to.

Installing Icecast
  • Ubuntu

    sudo apt-get install icecast2
  • Debian

    sudo -c "apt-get install icecast2"
The configuration file

Take a look in your /etc/icecast2/ directory and you should find a file called icecast.xml. This file is and will be referred to as the Icecast server configuration file. In it are the settings for the various different Icecast options. Here below are the typical contents.

<icecast>
    <limits>
        <clients>100</clients>
        <sources>2</sources>
        <threadpool>5</threadpool>
        <queue-size>524288</queue-size>
        <client-timeout>30</client-timeout>
        <header-timeout>15</header-timeout>
        <source-timeout>10</source-timeout>
        <!-- If enabled, this will provide a burst of data when a client 
             first connects, thereby significantly reducing the startup 
             time for listeners that do substantial buffering. However,
             it also significantly increases latency between the source
             client and listening client.  For low-latency setups, you
             might want to disable this. -->
        <burst-on-connect>1</burst-on-connect>
        <!-- same as burst-on-connect, but this allows for being more
             specific on how much to burst. Most people won't need to
             change from the default 64k. Applies to all mountpoints  -->
        <burst-size>65535</burst-size>
    </limits>

    <authentication>
        <!-- Sources log in with username 'source' -->
        <source-password>hackme</source-password>
        <!-- Relays log in username 'relay' -->
        <relay-password>hackme</relay-password>

        <!-- Admin logs in with the username given below -->
        <admin-user>admin</admin-user>
        <admin-password>hackme</admin-password>
    </authentication>

    <!-- set the mountpoint for a shoutcast source to use, the default if not
         specified is /stream but you can change it here if an alternative is
         wanted or an extension is required
    <shoutcast-mount>/live.nsv</shoutcast-mount>
    -->

    <!-- Uncomment this if you want directory listings -->
    <!--
    <directory>
        <yp-url-timeout>15</yp-url-timeout>
        <yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
    </directory>
     -->

    <!-- This is the hostname other people will use to connect to your server.
    It affects mainly the urls generated by Icecast for playlists and yp
    listings. -->
    <hostname>localhost</hostname>

    <!-- You may have multiple <listener> elements -->
    <listen-socket>
        <port>8000</port>
        <!-- <bind-address>127.0.0.1</bind-address> -->
        <!-- <shoutcast-mount>/stream</shoutcast-mount> -->
    </listen-socket>
    <!--
    <listen-socket>
        <port>8001</port>
    </listen-socket>
    -->

    <!--<master-server>127.0.0.1</master-server>-->
    <!--<master-server-port>8001</master-server-port>-->
    <!--<master-update-interval>120</master-update-interval>-->
    <!--<master-password>hackme</master-password>-->

    <!-- setting this makes all relays on-demand unless overridden, this is
         useful for master relays which do not have <relay> definitions here.
         The default is 0 -->
    <!--<relays-on-demand>1</relays-on-demand>-->

    <!--
    <relay>
        <server>127.0.0.1</server>
        <port>8001</port>
        <mount>/example.ogg</mount>
        <local-mount>/different.ogg</local-mount>
        <on-demand>0</on-demand>

        <relay-shoutcast-metadata>0</relay-shoutcast-metadata>
    </relay>
    -->

    <!-- Only define a <mount> section if you want to use advanced options,
         like alternative usernames or passwords
    <mount>
        <mount-name>/example-complex.ogg</mount-name>

        <username>othersource</username>
        <password>hackmemore</password>

        <max-listeners>1</max-listeners>
        <dump-file>/tmp/dump-example1.ogg</dump-file>
        <burst-size>65536</burst-size>
        <fallback-mount>/example2.ogg</fallback-mount>
        <fallback-override>1</fallback-override>
        <fallback-when-full>1</fallback-when-full>
        <intro>/example_intro.ogg</intro>
        <hidden>1</hidden>
        <no-yp>1</no-yp>
        <authentication type="htpasswd">
                <option name="filename" value="myauth"/>
                <option name="allow_duplicate_users" value="0"/>
        </authentication>
        <on-connect>/home/icecast/bin/stream-start</on-connect>
        <on-disconnect>/home/icecast/bin/stream-stop</on-disconnect>
    </mount>

    <mount>
        <mount-name>/auth_example.ogg</mount-name>
        <authentication type="url">
            <option name="mount_add"       value="http://myauthserver.net/notify_mount.php"/>
            <option name="mount_remove"    value="http://myauthserver.net/notify_mount.php"/>
            <option name="listener_add"    value="http://myauthserver.net/notify_listener.php"/>
            <option name="listener_remove" value="http://myauthserver.net/notify_listener.php"/>
        </authentication>
    </mount>

    -->

    <fileserve>1</fileserve>

    <paths>
		<!-- basedir is only used if chroot is enabled -->
        <basedir>/usr/share/icecast2</basedir>

        <!-- Note that if <chroot> is turned on below, these paths must both
             be relative to the new root, not the original root -->
        <logdir>/var/log/icecast2</logdir>
        <webroot>/usr/share/icecast2/web</webroot>
        <adminroot>/usr/share/icecast2/admin</adminroot>
        <!-- <pidfile>/usr/share/icecast2/icecast.pid</pidfile> -->

        <!-- Aliases: treat requests for 'source' path as being for 'dest' path
             May be made specific to a port or bound address using the "port"
             and "bind-address" attributes.
          -->
        <!--
        <alias source="/foo" dest="/bar"/>
          -->
        <!-- Aliases: can also be used for simple redirections as well,
             this example will redirect all requests for http://server:port/ to
             the status page
          -->
        <alias source="/" dest="/status.xsl"/>
    </paths>

    <logging>
        <accesslog>access.log</accesslog>
        <errorlog>error.log</errorlog>
        <!-- <playlistlog>playlist.log</playlistlog> -->
      	<loglevel>3</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
      	<logsize>10000</logsize> <!-- Max size of a logfile -->
        <!-- If logarchive is enabled (1), then when logsize is reached
             the logfile will be moved to [error|access|playlist].log.DATESTAMP,
             otherwise it will be moved to [error|access|playlist].log.old.
             Default is non-archive mode (i.e. overwrite)
        -->
        <!-- <logarchive>1</logarchive> -->
    </logging>

    <security>
        <chroot>0</chroot>
        <!--
        <changeowner>
            <user>nobody</user>
            <group>nogroup</group>
        </changeowner>
        -->
    </security>
</icecast>

What we should do now is copy and paste this file into a text editor or start editing a copy of your original file. Hint: use your own file in preference to mine. Launch a text editor like gedit to do this.

Next, select Save As in the text editor's menu, choose the file name icecast.xml, and save it in your home directory.

Attempting to run
$ icecast2 -c icecast.xml
FATAL: could not open error logging (/var/log/icecast2/error.log): No such file or directory
FATAL: could not open access logging (/var/log/icecast2/access.log): No such file or directory
FATAL: Could not start logging

Fix this by editing icecast.xml and change the logdir setting to /tmp which will solve the problem of inadequate write permissions and try again. Leave Icecast running for the time being.

Configuring IDJC

Start the Jack sound server as follows.

$ jackd -d dummy -r 44100

This is done so that any media player, even one that does not support Jack Audio Connection Kit can be used for playing the stream on this machine.

Run IDJC and click the Output button in the bottom left hand corner. Click Configuration so the configuration section is visible.

Click Connection, then New.

For Server type you want Icecast 2 Master, for Hostname, localhost, port number should be 8000, mount point can be what you like but choose /listen, login name needs to be source and the password will be the default password, which is hackme. Click Ok to add the server to the list.

Click Format. Select the Sample rate drop down box and choose 44100. Select MP3 and the top drop down box. Choose 128, Quality 5, and Joint Stereo.

Click Individual Controls so the controls section is visible and click the button that says localhost:8000/listen.

If the button stays in you have made the connection.

Streaming some audio

Click the down pointing arrow on the left media player and using the file selector add a track to the playlist. Click play. Make sure the crossfader is set all the way to the left. Make sure Stream is on and DJ is off. You should be able to see the Str Peak meter is active.

If you can't hear anything right now it's because DJ is off and/or you are running a dummy Jack soundcard, which is what you want for the sake of this test.

Join the stream as a listener

$ mplayer http://localhost:8000/listen

After a brief moment audio should start to play and within thirty seconds the listener count in the main IDJC window should have risen to 1. It's possible to add more listeners up to the maximum number currently specified in the Icecast configuration file.

idjc-0.8.9/doc/tour_output.html0000644000175000017500000001227012142727775013446 00000000000000 Internet DJ Console Homepage

Internet DJ Console Homepage IDJC

website logo

Output Window Screenshot

IDJC supports six simultaneous streams as standard and each of those can be configured for listener stats collection simply by specifying all the relays in addition to the master server.

In the format section you get to select the stream's sample rate, format, and bitrate.

Stream Info is where you get to tell the world about your stream, including the DJ and/or station name, the description, genres of music to be played.

The song title metadata can be formatted and controlled directly by the use of the Metadata control. This gives you an extra communications channel in addition to that of your own voice.

In the individual controls section there is a timer that allows stream scheduling for pre-recorded shows.

idjc-0.8.9/doc/code_idjcmon.html0000644000175000017500000003537012142727775013460 00000000000000 Internet DJ Console Homepage

Internet DJ Console Homepage IDJC

website logo

With a little work this could be made to interface with your station's web page or with cloud services.

#! /usr/bin/env python

# idjcmon.py (C) 2012 Stephen Fairchild
# Released under the GNU Lesser General Public License version 2.0 (or
# at your option, any later version).

"""A monitoring class that keeps an eye on IDJC.

It can be extended to issue e-mail alerts if IDJC freezes or perform Twitter
updates when the music changes.

Requires IDJC 0.8.9 or higher.

As a standalone (essentially demo code):
for the default profile: ./idjcmon.py
alternatively:
./idjcmon.py [profilename]
./idjcmon.py session.[sessionname]
"""

import time
import sys

import dbus
from dbus.mainloop.glib import DBusGMainLoop
DBusGMainLoop(set_as_default=True)

import gobject
import glib
import psutil

__all__ = ["IDJCMonitor"]


class IDJCMonitor(gobject.GObject):
    """Monitor IDJC internals relating to a specific profile or session.
    
    Can obtain information about where streaming to or the music metadata.
    This info can then be published whereever without having to touch
    the IDJC source code and is therefore easy to maintain.
    """
    
    __gsignals__ = {
        'launch' : (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE,
                                    (gobject.TYPE_STRING, gobject.TYPE_UINT)),
        'quit' : (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE,
                                    (gobject.TYPE_STRING, gobject.TYPE_UINT)),
        'streamstate-changed' : (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE,
                (gobject.TYPE_INT, gobject.TYPE_BOOLEAN, gobject.TYPE_STRING)),
        
        'metadata-changed' : (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE,
                                                    (gobject.TYPE_STRING,) * 5),
        'frozen' : (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE,
                (gobject.TYPE_STRING, gobject.TYPE_UINT, gobject.TYPE_BOOLEAN))
    }
    
    __gproperties__ = {
        'artist' : (gobject.TYPE_STRING, 'artist', 'artist from track metadata',
                                                    "", gobject.PARAM_READABLE),
        'title' : (gobject.TYPE_STRING, 'title', 'title from track metadata',
                                                    "", gobject.PARAM_READABLE),
        'album' : (gobject.TYPE_STRING, 'album', 'album from track metadata',
                                                    "", gobject.PARAM_READABLE),
        'songname' : (gobject.TYPE_STRING, 'songname',
                            'the song name from metadata tags when available'
                            ' and from the filenmame when not',
                            "", gobject.PARAM_READABLE),
        'music_filename' : (gobject.TYPE_STRING, 'music_filename',
                            'music_filename from track metadata',
                            "", gobject.PARAM_READABLE),
        'streaminfo' : (gobject.TYPE_PYOBJECT, 'streaminfo',
                'information about the streams', gobject.PARAM_READABLE)
    }
    
    def __init__(self, profile):
        """Takes the profile parameter e.g. "default".
        
        Can also handle sessions with "session.sessionname"
        """
        
        gobject.GObject.__init__(self)
        self.__profile = profile
        self.__bus = dbus.SessionBus()
        self.__artist = self.__title = self.__album = ""
        self.__songname = self.__music_filename = ""
        self.__shutdown = False
        self._start_probing()
        
    def shutdown(self):
        """Block both signal emission and property reads."""
        
        self.__shutdown = True

    def _start_probing(self):
        self.__watchdog_id = None
        self.__probe_id = None
        self.__watchdog_notice = False
        self.__pid = 0
        self.__frozen = False
        self.__main = self.__output = None
        if not self.__shutdown:
            self.__probe_id = glib.timeout_add_seconds(
                                                2, self._idjc_started_probe)

    def _idjc_started_probe(self):
        # Check for a newly started IDJC instance of the correct profile.
        
        try:
            self.__main = self.__bus.get_object("net.sf.idjc." + self.__profile,
                                                        "/net/sf/idjc/main")
            self.__output = self.__bus.get_object("net.sf.idjc." +
                                        self.__profile, "/net/sf/idjc/output")
            main_iface = dbus.Interface(self.__main, "net.sf.idjc")
            main_iface.pid(reply_handler=self._pid_reply_handler,
                            error_handler=self._pid_error_handler)
        except dbus.exceptions.DBusException:
            # Keep searching periodically.
            return not self.__shutdown
        else:
            return False

    def _pid_reply_handler(self, value):
        self.__pid = value
        try:
            self.__main.connect_to_signal("track_metadata_changed",
                                                        self._metadata_handler)
            self.__main.connect_to_signal("quitting", self._quit_handler)
            self.__main.connect_to_signal("heartbeat", self._heartbeat_handler)
            self.__output.connect_to_signal("streamstate_changed",
                                                    self._streamstate_handler)

            # Start watchdog thread.
            self.__watchdog_id = glib.timeout_add_seconds(
                                                    3, self._watchdog)

            self.__streams = {n : (False, "unknown") for n in xrange(10)}
            output_iface = dbus.Interface(self.__output, "net.sf.idjc")
            
            self.emit("launch", self.__profile, self.__pid)
            
            # Tell IDJC to initialize as empty its cache of sent data.
            # This yields a dump of server related info.
            output_iface.new_plugin_started()
        except dbus.exceptions.DBusException:
            self._start_probing()

    def _pid_error_handler(self, error):
        self._start_probing()

    def _watchdog(self):
        if self.__watchdog_notice:
            if psutil.pid_exists(int(self.__pid)):
                if not self.__frozen:
                    self.__frozen = True
                    self.emit("frozen", self.__profile, self.__pid, True)
                return True
            else:
                for id_, (conn, where) in self.__streams.iteritems():
                    if conn:
                        self._streamstate_handler(id_, 0, where)
                self._quit_handler()
                return False
        elif self.__frozen:
            self.__frozen = False
            self.emit("frozen", self.__profile, self.__pid, False)

        self.__watchdog_notice = True
        return not self.__shutdown

    def _heartbeat_handler(self):
        self.__watchdog_notice = False

    def _quit_handler(self):
        """Start scanning for a new bus object."""

        if self.__watchdog_id is not None:
            glib.source_remove(self.__watchdog_id)
            self.emit("quit", self.__profile, self.__pid)
        self._start_probing()
        
    def _streamstate_handler(self, numeric_id, connected, where):
        numeric_id = int(numeric_id)
        connected = bool(connected)
        where = where.encode("utf-8")
        self.__streams[numeric_id] = (connected, where)
        self.notify("streaminfo")
        self.emit("streamstate-changed", numeric_id, connected, where)

    def _metadata_handler(self, artist, title, album, songname, music_filename):

        def update_property(name, value):
            oldvalue = getattr(self, "_IDJCMonitor__" + name)
            newvalue = value.encode("utf-8")
            if newvalue != oldvalue:
                setattr(self, "_IDJCMonitor__" + name, newvalue)
                self.notify(name)

        for name, value in zip(
                        "artist title album songname music_filename".split(),
                            (artist, title, album, songname, music_filename)):
            update_property(name, value)

        self.emit("metadata-changed", self.__artist, self.__title,
                                                self.__album, self.__songname,
                                                self.__music_filename)

    def do_get_property(self, prop):
        if self.__shutdown:
            raise AttributeError(
                        "Attempt to read property after shutdown was called.")
        
        name = prop.name
        
        if name in ("artist", "title", "album", "songname", "music_filename"):
            return getattr(self, "_IDJCMonitor__" + name)
        if name == "streaminfo":
            return tuple(self.__streams[n] for n in xrange(10))
        else:
            raise AttributeError("Unknown property %s in %s" % (
                                                            name, repr(self)))

    def notify(self, property_name):
        if not self.__shutdown:
            gobject.GObject.notify(self, property_name)
            
    def emit(self, *args, **kwargs):
        if not self.__shutdown:
            gobject.GObject.emit(self, *args, **kwargs)


if __name__ == "__main__":
    def launch_handler(monitor, profile, pid):
        print "Hello to IDJC '%s' with process ID %d." % (profile, pid)

    def quit_handler(monitor, profile, pid):
        print "Goodbye to IDJC '%s' with process ID %d." % (profile, pid)

    def streamstate_handler(monitor, which, state, where):
        print "Stream %d is %s on connection %s." % (
                                        which, ("down", "up")[state], where)

    def metadata_handler(monitor, artist, title, album, songname,
                                                            music_filename):
        print "Metadata is: artist: %s, title: %s, album: %s, filename: %s" % (
                                        artist, title, album, music_filename)

    def frozen_handler(monitor, profile, pid, frozen):
        print "IDJC '%s' with process ID %d is %s" % (
                        profile, pid, ("no longer frozen", "frozen")[frozen])

    def main():
        argv = sys.argv
        if len(argv) <= 1:
            profile = "default"
        else:
            profile = argv[1]

        monitor = IDJCMonitor(profile)
        monitor.connect("launch", launch_handler)
        monitor.connect("quit", quit_handler)
        monitor.connect("streamstate-changed", streamstate_handler)
        monitor.connect("metadata-changed", metadata_handler)
        monitor.connect("frozen", frozen_handler)
        
        glib.MainLoop().run()
        
    main()
idjc-0.8.9/doc/tutorials_voip.html0000644000175000017500000002143112142727775014117 00000000000000 Internet DJ Console Homepage

Internet DJ Console Homepage IDJC

website logo

Aims

In this section I'm going to explain how to set up ALSA and Skype to use the VoIP feature and then explain how VoIP works within IDJC. VoIP clients that have explicit support for JACK should present little difficulty in connecting to IDJC. For Skype a little more work is required.

ALSA configuration

ALSA supports virtual devices called plugins that can form audio pipelines from descriptions in a configuration file. With them you can change sample rates, mix audio, apply audio effects, and so on. For the purpose of getting sound into IDJC from an ALSA source the following can be specified in the appropriate configuration file ~/.asoundrc which may need to be created.

# VoIP plugin for the IDJC default profile.
pcm.idjcvoip {
   type plug
   slave.pcm {
      type jack
      playback_ports {
         0 idjc_default:voip_in_l
         1 idjc_default:voip_in_r
      }
      capture_ports {
         0 idjc_default:voip_out_l
         1 idjc_default:voip_out_r
      }
   }
}

For the changes to take effect you need to log out. On logging back into your desktop failure may have occurred for the following two reasons.

  1. The ALSA component alsa-plugins is not installed.
  2. alsa-plugins is installed but not its module for JACK Audio Connection Kit.

Fixing reason 1 seems easy. Just install it using the package manager (possibly under the name libasound2-plugins) however after doing so there may still be reason 2 to contend with.

A simple test for JACK plugin support.

$ find /usr/lib/alsa-lib | grep jack
/usr/lib/alsa-lib/libasound_module_pcm_jack.so
/usr/lib/alsa-lib/libasound_module_pcm_jack.la

If these two files are both missing there is no option but to install unofficial software. Source and binary. This is intended as a replacement for the current alsa-plugins package so remove the old version first.

Skype configuration

Launch Skype and Hit Ctrl + O. Choose Sound Devices and for each of the Sound In, Sound Out, and Ringing options, select idjcvoip then click Apply. Leave the configuration window open for the next step.

Testing

Launch IDJC. Put your headphones on and select the Green Telephone icon to put IDJC into VoIP mode. In Skype click the Make a test sound button and listen for a sound effect.

The IDJC VoIP modes explained

  • Private conference (Red Telephone + No microphones engaged)

    You are in a private conference with whoever is on the VoIP service and able to talk freely without interrupting the stream. You would typically use this mode when playing a song since the listeners can no longer hear you. What you can hear of the streamed audio is dictated by the mixback volume control that has the telephone icon above it. When you play jingles in this mode the jingles audio goes to the VoIP listeners and not to the stream. The right jingle could put them in the correct mood for going on air.

  • Away serving the listeners (Red Telephone + Any microphone)

    This mode allows for the people who are on the VoIP service to keep up with your show and talk among themselves while you moderate your show. All active microphone audio will go to the stream and inactive microphones will just be muted leaving the VoIP users as part of your audience who can hear your show at the level determined by the mixback volume control.

    This mode is ideal for announcing the imminent switch to the next mode.

  • VoIP users free to speak to the audience (Green Telephone)

    Self explanatory really. Note how the microphone buttons are not available in this mode. It is assumed you are taking responsibility for your show and being audible to all. Shutting off microphones in this mode would lead to confusion over who is able to speak and follow the conversation so all microphones are open. See the individual microphone disable feature in the preferences as the correct way to deal with unused microphone channels.

Final advice

There are only effectively three VoIP modes but they should be practiced off-air until they become second nature.

idjc-0.8.9/doc/output-window.png0000644000175000017500000067425012142727775013536 00000000000000PNG  IHDR< <gAMA asRGB cHRMz&u0`:pQ<bKGD pHYsHHFk>IDATxua09&d`#d$ ( 2-j?WY*mM'8h(J jeo#%I$$7w;=yBWWgkscgwΡ;XVCHĘ#BHҌ@ 1 bB  1 !D9 B 2uVǔh7fYyLbִ(PFĘdb.""@@AcLBy=izR< bP#@D1%ZfEPU$}7Z.Y5ss_G/9}ρeDe۷/ -;rމGפ"$icL@1FQc@1B @BD$ y=B!ICG@=םYb^_xCfN+<Õ|Ν{wYAתhRGI0^?o$ F!ڔi3;I ɂӶܿ-8-<ֿvw?ZJ}vo_v1SH*UdYZHщ|[&c;aKo_rl!\?[KCib}ӿ车BV>wTXhOL;ԋRcs^ !߿oY-D>\-N1}ڤ}nm4c֜b!21ܐ՘M9H 080x!)%ǢIsL jT,dxJe#cޞ/X4}ZXSC)R1 !'jy4ih(XȒRqt|\.p3Ι36^ !iVܺ}`ρ3~D4>S׵6f{;{}ug2K (c:')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{~a!, i'gyfT;evk W_y4 Pi? >T=x"=p"bÆ ]zF)%Eq7|G㵵)ΆG}fjjns_ʓO=5WWW߸x0 K 1==oL}<4͖[__8cvv۶0 﫪*"mݙsgwu'"s9}*ڵ͡C((nݺ믽߯۶ݰaƍ9iRJeYNOOG)xsmnv~xMlٺ;fgm>SJ@Ji0\p~"h۶۝Y8wv\]w"9ޙӧǏ=vJYDD]wҕ{盦9#4 ./^:xj. "uサ?K?xڶO۫9gח_~?Fǯ /8";UU@DDJmc0׶mJ `2ruݹчկV)YJpeY~;߉ 缾SOm! "&IJ)"r9DDL&mJ""t~m۶-[^_8cvv۶0 﫪*"mݙsgwu'"s9}*0 﫪*"mݙsgwu'"s9}*t( 﫪*"mݙsgwu'"s9}*N8~Wʲ ";4M)`pyCVWsQʢH)dҶ-sQ x< 﫪*"mݙsgwu'"s9}*N8~Wʲ ";4M)hw`2SJxN8~Wʲ ";4MH)Fk]]d,@R}[~_*"m,;sn;~SGq},K";^oyM0u]#"mnwfٝssu݉@D\{gNJ'O?r؍+eYuzKWvo& H)"mݙsgwu'"s9}*Ժ꣺2@"$ܭAъ7Q6eDx/cD""jiRߵus:/s).˛~}/\._~rӈ "rm!][72R@DTU۟o><>>H)GD}[qH}̥@J A""so4ں9DDվ8kt^R 9WNyK)@D\:C껶nNe.so4ں9DDվ8kt^R 9WNuݼZCD9}ۦqHe.Ds^ݏ㐾eonnnB@qwwg?{2UU7Y.1%tEXtdate:create2013-01-07T13:29:59+00:000ަ%tEXtdate:modify2011-05-08T22:52:57+01:00PtEXtSoftwaregnome-screenshot>IENDB`idjc-0.8.9/doc/style.css0000644000175000017500000000460612142727775012025 00000000000000 body{ margin:0; background-color:#444; font-family:verdana, sans; text-align:center; } html{ overflow-y:scroll; } h1.unshown{ display:none; font-size:10px; } h2{ font-size:25px; margin-top:8px; margin-bottom:14px; } h3{ font-size:22px; } h4{ font-size:17px; margin-top:13px; margin-bottom:13px; } h5{ font-size:13px; margin-top:11px; margin-bottom:11px; } p{ font-size:13px; margin-top:10px; margin-bottom:10px; } pre{ font-family:courier new, monospace; font-size:12px; margin:0px 0px 0px 0px; padding:6px; border:1px inset; width:776px; overflow-x:auto; } pre.inset{ width:auto; } pre.reduced{ width:92%; } pre.big-code{ height:300px; overflow-y:auto; } strong{ text-wrap:suppress; } ul{ font-size:13px; } ol{ font-size:13px; } li.content-page{ margin-bottom:10px; } br.division{ clear:both; } img.clickthrough{ border-style:hidden; margin-top:14px; } img.clickthrough-left{ border-style:hidden; float:left; margin-right:9px; margin-top:14px; } img.clickthrough-right{ border-style:hidden; float:right; margin-left:9px; margin-top:14px; } #logo-holder td { padding:0px; } div.centered-contents { margin:0 auto; text-align:center } #dep-table{ border:2px solid black; font-size:12px; width:100%; } #dep-table th{ border:1px outset; } #dep-table td{ border:1px solid #d3d3d3; } #main-table{ margin-left:auto; margin-right:auto; margin-bottom:20px; background-color:#fff; text-align:left; } #main-table td{ vertical-align:top; } #left-sidebar{ background-color:#ccc; color:#222; padding-left:7px; } #left-sidebar h3{ margin-left:7px; margin-top:16px; margin-bottom:15px; } #sidebar-menu{ font-size:17px; padding-left:7px; margin-bottom:22px; list-style-type:none; } #sidebar-menu ul{ font-size:15px; padding-left:10px; margin:0; list-style-type:none; } #sidebar-menu li{ padding-top:4px; margin:0; } #sidebar-menu ul li{ padding-top:1px; padding-bottom:4px; margin:0; } #sidebar-menu a{ text-decoration:none; font-weight:normal; color:#C60; } #sidebar-menu a:hover{ text-decoration:none; font-weight:bold; color:#F70; } #right-table{ width:796px; padding-bottom:6px; } #top-titlebar{ background-color:#ccc; } #top-titlebar h2{ padding-left:10px; } #signature{ font-size:11px; } idjc-0.8.9/doc/code.html0000644000175000017500000001063012142727775011745 00000000000000 Internet DJ Console Homepage

Internet DJ Console Homepage IDJC

website logo

Some relevant code modules

idjc-0.8.9/doc/Makefile.am0000644000175000017500000000100112142727775012171 00000000000000EXTRA_DIST=index.html tour.html tour_main.html tour_jingles.html tour_output.html tour_preferences.html install.html install_standard.html install_build.html install_first_run.html tutorials.html tutorials_icecast.html tutorials_shoutcast.html tutorials_voip.html tutorials_streaming_aac.html code.html code_idjcmon.html contact.html main-window.png jingles-window.png output-window.png prefs-general.png prefs-channels.png prefs-jack-ports.png prefs-bindings.png style.css style_ie.css favicon.png site-logo.png idjc-0.8.9/doc/install_first_run.html0000644000175000017500000002126612142727775014603 00000000000000 Internet DJ Console Homepage

Internet DJ Console Homepage IDJC

website logo

The purpose of this page

Some system configuration needs to be done in order to be able to run IDJC. Fortunately it only needs to be done once and full details follow.

Configuring your system for JACK Audio Connection Kit

No JACK means no IDJC

I'm going to be talking about JACK Audio Connection Kit (or JACK) from now on and its sound server, jackd. Forget IDJC exists for the moment as the information on this page applies to all applications that require JACK in order to function.

Manually running jackd to see what happens
$ jackd -d alsa
jackd 0.121.0
Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details


JACK is running in realtime mode, but you are not allowed to use realtime scheduling.
Please check your /etc/security/limits.conf for the following line
and correct/add it if necessary:

  @audio          -       rtprio          99

After applying these changes, please re-login in order for them to take effect.

You don't appear to have a sane system configuration. It is very likely that you
encounter xruns. Please apply all the above mentioned changes and start jack again!

What just happened here is jackd just failed to start because it runs realtime mode by default and your system as it is configured won't supply it. Realtime mode helps to ensure that the small and therefore low latency audio buffers are refilled without interruption. By choosing not to use realtime mode the buffer fills become more erratic making solid performance rely on using larger buffers that result in higher latency.

Let's get reconfiguring

Add the line mentioned above to the file also mentioned above.

  • Ubuntu

    $ sudo su -c 'echo "@audio   -   rtprio   99" >> /etc/security/limits.conf'
  • Debian

    $ su -c 'echo "@audio   -   rtprio   99" >> /etc/security/limits.conf'

The above change applies only to members of the audio group. Ensure your user account is a member.

$ sudo usermod -a -G audio $(whoami)

Log out of your desktop and log back in again for the new settings to take effect.

Let's try starting jackd one more time.

$ jackd -d alsa
jackd 0.121.0
Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details

JACK compiled with System V SHM support.
cannot lock down memory for jackd (Cannot allocate memory)
loading driver ..
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
control device hw:0
configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
ALSA: final selected sample format for capture: 16bit little-endian
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 16bit little-endian
ALSA: use 2 periods for playback

This time it has successfully started so you can now run IDJC.

Making a simple JACK configuration file
$ echo "/usr/bin/jackd -d alsa -r 44100 -p 256" > ~/.jackdrc

This will ensure that when jackd is started on demand that it will do so with a sample rate equalling that of CD audio and therefore most likely your entire music collection.

Making JACK use a particular sound card

It's a two step process of finding the names of all the sound cards and specifying which one to use to jackd.

$ cat /proc/asound/cards
 0 [Revolution71   ]: ICE1724 - M Audio Revolution-7.1
                      M Audio Revolution-7.1 at 0xd000, irq 19
 1 [nanoKONTROL    ]: USB-Audio - nanoKONTROL
                      KORG INC. nanoKONTROL at usb-0000:00:1d.0-2, full speed
$ jackd -d alsa -d Revolution71 -r 44100 -p 256
Enabling MIDI events
$ jackd -d alsa -r 44100 --midi raw

Only use the --midi option if you intend to use a MIDI device to control IDJC.

Finally

The program qjackctl can be used to start a JACK sound server. It has a nice graphical user interface and can generate a .jackdrc file as well.

idjc-0.8.9/doc/tour_preferences.html0000644000175000017500000001462312142727775014413 00000000000000 Internet DJ Console Homepage

Internet DJ Console Homepage IDJC

website logo

Preferences Window Screenshot (general)

General

Here there are extensive controls that alter the way IDJC behaves on often subtle levels.

The basic streamer option's effect is not so subtle. It allows you to stream just music with an absolute minimum CPU load as well as reducing the amount of screen space that is occupied.

It's possible to toggle the meters that are visible, configure ReplayGain and much more.


Preferences Window Screenshot (audio channels)

Audio channel processing

A great deal of care has been taken to make sure your voice can be heard consistently over the mix. The controls to do this are placed in your hands so experimenting and making recordings for review are advised before going on air.

The design of the audio stack is intended to reflect real-world station set-ups and best of all, it's all done in software. That said, a good microphone is still advised for the best possible sound.


Preferences Window Screenshot (microphones)

Key and MIDI bindings

Set your keyboard shortcuts here.

You can even set bindings for MIDI events, which means you can control IDJC from MIDI control surfaces or MIDI devices generally. The superiority of such a set-up will become apparent with use.

Key presses are collected from the Main and Jingles windows only and depend on focus whereas MIDI events apply to all applications that are configured to receive them.

The list shown to the left represents the inputs that have bindings already assigned to them and not the complete list of possible actions which is much larger.

idjc-0.8.9/doc/site-logo.png0000644000175000017500000010102312142727775012552 00000000000000PNG  IHDRsRGB pHYs  tIME  !!iTXtCommentCreated with The GIMPm IDATx^yeUu/c}>tuNUPX%XFͻנߍ/nrj|=MMg0ņ&B*n9c5u{ǜJݬ4d]9}̾/4{f-B{*l0Hߦbf:Ҵ%HW]P*T녴Fi~˾U^%"TZERfeҟz[J׽?&-i S.ذ*O{SITFVtJާK7UI>Jsf4L-aTS2Yw}.˲VJ Wk8ZSEٴh2mn좷Le,DDNof zve fnn@VJUƒCH[_~e+vTH!AȲ즛n˿Kccc^{pw/#{HӋU=MITX!Yov*DJ_򗯹v׾Qp 2003mN VLV(VUMLOO[N__K,K1eb~DfJ%(Vj,177K%aKYbYcQ2{fr/ ~=zsE$`+v"M["ZIJstЎ9Dt%}> 7ܰm۶UV<Џۿ'xr'>zo߾~o~ιW[mv}EQLNN o83SS?nFf>;[o;xg6nxn+2˲?Ͽ{o馗^zhyo+0[ouǎ{-bgV#;o޽2~OӝNGU/uUQ?E^Hy}|@;wcn鳟YgU@"j6?dY&"jڵO,byc}K_ڹsg]s5?}4 |pΝs=䓑yFD[]v9箺-Owy ᇿ/=C)2W_} 'p~W{بn6{u֥MтBo:ͬ8i̻vO:I/?}2r_~ꫯ;׬Yn:+êuZl^uUk׮=餓&&&W\}vU^SO}SڹsX+ݰaqbŊ(cccr '׿~||<%,(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=FA^ub2j@\>>^;Ԛ%f^x1hh 1Ю"؟kcR1iX1!A?E|*&uiXheb[B2Eu?޹oq1HZ=sGGGΝr?-qNw9(63vU[ )M+E]yPԯc'bB  kEC"\!AfHapHIDAT 5Αvn?5B<&,q 4ѴZ," /..&en-hieծu>Ŵ1Fjǹ͋Ȅ'rي, oL&L0LQb$"@Lɱ PjC96b:;りm˕KuƶYBd[j5hgkW>y3"ʼn(Cm5.!ȥwQ9N 羆ʌSQL󪑓TNY xJӷυcƟH8Ж7(p%ȲLDMRkL_4N3yW|d?/r<`ZysIENDB`idjc-0.8.9/doc/tour_jingles.html0000644000175000017500000001140312142727775013536 00000000000000 Internet DJ Console Homepage

Internet DJ Console Homepage IDJC

website logo

Jingles Window Screenshot

The Jingles tab contains two separate players. Effects, which is for sound effects and brief jingles, and Background Tracks which is intended to provide background audio as the DJ speaks. The Background Tracks player audio fades in and out automatically depending the main players.

idjc-0.8.9/python/0000755000175000017500000000000012142736727010776 500000000000000idjc-0.8.9/python/irc.py0000644000175000017500000016600712114637001012037 00000000000000"""IRC bots for IDJC.""" # Copyright (C) 2011, 2012 # Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . import re import json import time import sys import threading import gettext from functools import wraps, partial import gobject import gtk import pango try: import irclib except ImportError: HAVE_IRCLIB = False else: HAVE_IRCLIB = True from idjc import FGlobs from idjc.prelims import ProfileManager from .gtkstuff import DefaultEntry from .gtkstuff import NamedTreeRowReference from .gtkstuff import ConfirmationDialog from .gtkstuff import threadslock from .utils import string_multireplace from .tooltips import set_tip __all__ = ["IRCPane"] _ = gettext.translation(FGlobs.package_name, FGlobs.localedir, fallback=True).gettext XCHAT_COLOR = { 0: 0xCCCCCCFF, 1: 0x000000FF, 2: 0x3636B2FF, 3: 0x2A8C2AFF, 4: 0xC33B3BFF, 5: 0xC73232FF, 6: 0x80267FFF, 7: 0x66361FFF, 8: 0xD9A641FF, 9: 0x3DCC3DFF, 10: 0x1A5555FF, 11: 0x2F8C74FF, 12: 0x4545E6FF, 13: 0xB037B0FF, 14: 0x4C4C4CFF, 15: 0x959595FF } MESSAGE_CATEGORIES = ( # TC: IRC message subcategory, triggers on new track announcements. _("Track announce"), # TC: IRC message subcategory, triggered by a timer. _("Timer"), # TC: IRC message subcategory, triggered once when the stream starts. _("On stream up"), # TC: IRC message subcategory, triggered once at the stream's end. _("On stream down")) ASCII_C0 = "".join(chr(x) for x in range(32)) CODES_AND_DESCRIPTIONS = zip((u"%r", u"%t", u"%l", u"%s", u"%n", u"%d", u"%u"), (_('Artist'), _('Title'), _('Album'), _('Song name'), _('DJ name'), _('Description'), _('Listen URL'))) class IRCEntry(gtk.Entry): # pylint: disable=R0904 """Specialised IRC text entry widget. Features pop-up menu and direct control character insertion. """ _control_keytable = {107: u"\u0003", 98: u"\u0002", 117: u"\u001F", 111: u"\u000F"} def __init__(self, *args, **kwds): gtk.Entry.__init__(self, *args, **kwds) self.connect("key-press-event", self._on_key_press_event) self.connect("populate-popup", self._popup_menu_populate) def _on_key_press_event(self, entry, event): """Handle direct insertion of control characters.""" if entry.im_context_filter_keypress(event): return True # Check for CTRL key modifier. if event.state & gtk.gdk.CONTROL_MASK: # Remove the effect of CAPS lock - works for letter keys only. keyval = event.keyval + ( 32 if event.state & gtk.gdk.LOCK_MASK else 0) try: replacement = self._control_keytable[keyval] except KeyError: pass else: entry.reset_im_context() cursor = entry.get_position() entry.insert_text(replacement, cursor) entry.set_position(cursor + 1) return True def _popup_menu_populate(self, entry, menu): """Builds the right click pop-up menu on the IRCEntry widget.""" # TC: Popup menu item for a GTK text entry widget. menuitem = gtk.MenuItem(_('Insert Attribute or Colour Code')) menu.append(menuitem) submenu = gtk.Menu() menuitem.set_submenu(submenu) menuitem.show() self._popup_menu_add_substitutions(entry, submenu) self._popup_menu_add_colourselectors(entry, submenu) def _popup_menu_add_substitutions(self, entry, submenu): """Adder for menu items that insert substitute characters or codes.""" def sub(pairs): """Build the attribute inserting menu elements.""" for code, menutext in pairs: menuitem = gtk.MenuItem() label = gtk.Label() label.set_alignment(0.0, 0.5) label.set_markup(menutext) menuitem.add(label) label.show() menuitem.connect_object("activate", self._on_menu_item_activate, entry, code) submenu.append(menuitem) menuitem.show() sub(CODES_AND_DESCRIPTIONS) # Separate data tokens from formatting tokens. sep = gtk.SeparatorMenuItem() submenu.append(sep) sep.show() sub(zip((u"\u0002", u"\u001F", u"\u000F"), ( # TC: Text formatting style. _('Bold'), # TC: Text formatting style. _('Underline'), # TC: Text formatting style. _('Normal')))) def _popup_menu_add_colourselectors(self, entry, submenu): """Adder for menuitems that choose text colour.""" for lower, upper in ((0, 7), (8, 15)): menuitem = gtk.MenuItem(_("Colours") + " %d-%d" % (lower, upper)) submenu.append(menuitem) colourmenu = gtk.Menu() menuitem.set_submenu(colourmenu) colourmenu.show() for i in xrange(lower, upper + 1): try: rgba = XCHAT_COLOR[i] except (IndexError, TypeError): continue colourmenuitem = gtk.MenuItem() colourmenuitem.connect_object("activate", self._on_menu_insert_colour_code, entry, i) hbox = gtk.HBox() label = gtk.Label() label.set_alignment(0, 0.5) label.set_markup( "%02d" % i) hbox.pack_start(label) label.show() pixbuf = gtk.gdk.Pixbuf(gtk.gdk.COLORSPACE_RGB, True, 8, 20, 20) pixbuf.fill(rgba) image = gtk.image_new_from_pixbuf(pixbuf) image.connect_after("expose-event", lambda w,e: self._on_colour_box_expose(w)) hbox.pack_start(image) image.show() colourmenuitem.add(hbox) hbox.show() colourmenu.append(colourmenuitem) colourmenuitem.show() menuitem.show() @staticmethod def _on_menu_item_activate(entry, code): """Perform relevant character code insertion.""" cursor = entry.get_position() entry.insert_text(code, cursor) entry.set_position(cursor + len(code)) @staticmethod def _on_menu_insert_colour_code(entry, code): """Insert the colour palette control code.""" cursor = entry.get_position() if cursor < 3 or entry.get_text()[cursor - 3] !="\x03": # Foreground colour. entry.insert_text(u"\u0003" + unicode("%02d" % code), cursor) else: # Background colour. entry.insert_text(unicode(",%02d" % code), cursor) entry.set_position(cursor + 3) @staticmethod def _on_colour_box_expose(widget): """If we are here the mouse is hovering over a colour palette item. This causes pre-light which messes up the colour so all we do here is cancel it. """ widget.set_state(gtk.STATE_NORMAL) class IRCView(gtk.TextView): # pylint: disable=R0904 """A viewer for IRC text. This text window shows the text as it would be displayed to other users. Variables are substituted for human readable place markers. """ matches = tuple((a, re.compile(b)) for a, b in ( ("foreground_background", "\x03[0-9]{1,2},[0-9]{1,2}"), ("foreground", "\x03[0-9]{1,2}(?!=,)"), ("bold", "\x02"), ("underline", "\x1F"), ("normal", "\x0F"), ("text", "[^\x00-\x1F]*"), )) readable_equiv = tuple((x, "<%s>" % y) for x, y in CODES_AND_DESCRIPTIONS) def __init__(self): gtk.TextView.__init__(self) self.set_size_request(500, -1) self.set_wrap_mode(gtk.WRAP_CHAR) self.set_editable(False) self.set_cursor_visible(False) self._rslt = self._foreground = self._background = None self._bold = self._underline = False def set_text(self, text): """Apply text to the viewer. IRC text formatting is handled and the view updated. """ text = string_multireplace(text, self.readable_equiv) buf = self.get_buffer() buf.remove_all_tags(buf.get_start_iter(), buf.get_end_iter()) buf.delete(buf.get_start_iter(), buf.get_end_iter()) start = 0 while start < len(text): for name, match in self.matches: self._rslt = match.match(text, start) if self._rslt is not None and self._rslt.group(): # Execute the handler routine. getattr(self, "_handle_" + name)() start = self._rslt.end() break else: start += 1 self._foreground = self._background = None self._bold = self._underline = False @staticmethod def _colour_string(code): """The colour as a string of format "#rrggbb. rgb = red, green, blue as a 2 digit hex number.""" return "#%06X" % (XCHAT_COLOR[int(code)] >> 8) def _handle_bold(self): """Bold toggle.""" self._bold = not self._bold def _handle_underline(self): """Underline toggle.""" self._underline = not self._underline def _handle_foreground(self): """Foreground colour setting.""" try: self._foreground = self._rslt.group()[1:] except IndexError: self._foreground = None def _handle_foreground_background(self): """Foreground and background colour setting.""" try: self._foreground, self._background = \ self._rslt.group()[1:].split(",") except IndexError: self._foreground = self._background = None def _handle_normal(self): """The normal formatting tag.""" self._bold = self._underline = False self._foreground = self._background = None def _handle_text(self): """Normal printable text.""" buf = self.get_buffer() tag = buf.create_tag() props = tag.props props.family = "monospace" try: props.foreground = self._colour_string(self._foreground) props.background = self._colour_string(self._background) except (TypeError, KeyError): pass if self._underline: props.underline = pango.UNDERLINE_SINGLE if self._bold: props.weight = pango.WEIGHT_BOLD buf.insert_with_tags(buf.get_end_iter(), self._rslt.group(), tag) class EditDialogMixin(object): """Mix-in class to convert initial-data-entry dialogs to edit dialogs.""" def __init__(self, orig_data): bb = self.get_action_area() self.refresh = gtk.Button(gtk.STOCK_REFRESH) self.refresh.set_use_stock(True) self.refresh.connect("clicked", lambda w: self.from_tuple(orig_data)) bb.add(self.refresh) bb.set_child_secondary(self.refresh, True) self.refresh.clicked() self.delete = gtk.Button(stock=gtk.STOCK_DELETE) bb.add(self.delete) def delete_confirmation(self, deleter): """Override in subclass to install a confirmation dialog. In this case the deleter function is run without question. """ return deleter server_port_adj = gtk.Adjustment(6667.0, 0.0, 65535.0, 1.0, 10.0) class ServerDialog(gtk.Dialog): """Data entry dialog for adding a new IRC server.""" optinfo = _("Optional data entry field for information only.") # TC: Tab heading text. def __init__(self, title=_("IRC server")): gtk.Dialog.__init__( self, title + " - IDJC" + ProfileManager().title_extra) self.network = gtk.Entry() set_tip(self.network, self.optinfo) self.network.set_width_chars(25) self.hostname = gtk.Entry() self.port = gtk.SpinButton(server_port_adj) # TC: Checkbutton label text regarding SSL security protocol. self.ssl = gtk.CheckButton(_("SSL")) set_tip(self.ssl, _("Connect to the server using the SSL security protocol.\n\n" "This feature is typically offered on different ports than the " "standard connection method and is widespread but not universally " "available.")) self.username = gtk.Entry() self.password = gtk.Entry() self.password.set_visibility(False) self.manual_start = gtk.CheckButton(_("Manual start")) set_tip(self.manual_start, _('Off when restarting IDJC and off initially.')) self.nick1 = gtk.Entry() self.nick2 = gtk.Entry() self.nick3 = gtk.Entry() self.realname = gtk.Entry() self.nickserv = gtk.Entry() self.nickserv.set_visibility(False) hbox = gtk.HBox() hbox.set_border_width(16) hbox.set_spacing(5) image = gtk.image_new_from_stock( gtk.STOCK_NETWORK, gtk.ICON_SIZE_DIALOG) image.set_alignment(0.5, 0) table = gtk.Table(10, 2) table.set_col_spacings(6) table.set_row_spacings(3) rvbox = gtk.VBox(True) hbox.pack_start(image, False, padding=20) hbox.pack_start(table, True) for i, (text, widget) in enumerate(zip(( # TC: The IRC network e.g. EFnet. _("Network"), # TC: label for hostname entry. _("Hostname"), # TC: TCP/IP port number label. _("Port"), "", _("User name"), _("Password"), "", # TC: IRC nickname data entry label. _("Nickname"), # TC: Second choice of IRC nickname. _("Second choice"), # TC: Third choice of IRC nickname. _("Third choice"), # TC: The IRC user's 'real' name. _("Real name"), # TC: The NickServ password. _("NickServ p/w")), (self.network, self.hostname, self.port, self.ssl, self.username, self.password, self.manual_start, self.nick1, self.nick2, self.nick3, self.realname, self.nickserv))): # TC: Tooltip to IRC 'User name' field. set_tip(self.username, _("Ideally set this to something even on " "servers that allow public anonymous access.")) l = gtk.Label(text) l.set_alignment(1.0, 0.5) table.attach(l, 0, 1, i, i + 1, gtk.SHRINK | gtk.FILL) table.attach(widget, 1, 2, i, i + 1) for each in (self.nick1, self.nick2, self.nick3): # TC: tooltip to all IRC nicknames entry fields. set_tip(each, _("When a nickname is in use on the target IRC " "network, during connection these IRC nicknames are cycled through," " then twice again after appending an additional underscore until " "giving up. This gives IDJC a maximum of nine IRC nicknames " "to try.")) set_tip(self.realname, _("The real name you want to use which will be " "available regardless of whether the network connection was made with " "the primary nickname or not.\n\nIdeally set this to something.")) set_tip(self.nickserv, _("If this value is set an attempt will be made " "to acquire your first choice IRC nickname (if needed) and log in with " "NickServ@services.\n\nThe use of the NickServ service requires prior " "nickname registration on the network using a regular chat client.")) self.get_content_area().add(hbox) def as_tuple(self): """Data extraction method.""" return (self.manual_start.get_active(), self.port.get_value(), self.ssl.get_active(), self.network.get_text().strip(), self.hostname.get_text().strip(), self.username.get_text().strip(), self.password.get_text().strip(), self.nick1.get_text().strip(), self.nick2.get_text().strip(), self.nick3.get_text().strip(), self.realname.get_text().strip(), self.nickserv.get_text().strip()) class EditServerDialog(ServerDialog, EditDialogMixin): """Adds a delete and restore button to the standard server dialog.""" def __init__(self, orig_data): ServerDialog.__init__(self) EditDialogMixin.__init__(self, orig_data) def delete_confirmation(self, deleter): def inner(w): cd = ConfirmationDialog("", _("" "Permanently delete this server?\n\nThis action will also " "erase all of its associated messages."), markup=True) cd.set_transient_for(self) cd.ok.connect("clicked", deleter) cd.show_all() return inner def from_tuple(self, orig_data): """The data restore method.""" n = iter(orig_data).next self.manual_start.set_active(n()) self.port.set_value(n()) self.ssl.set_active(n()) self.network.set_text(n()) self.hostname.set_text(n()) self.username.set_text(n()) self.password.set_text(n()) self.nick1.set_text(n()) self.nick2.set_text(n()) self.nick3.set_text(n()) self.realname.set_text(n()) self.nickserv.set_text(n()) message_delay_adj = gtk.Adjustment(10, 0, 30, 1, 10) message_offset_adj = gtk.Adjustment(0, 0, 9999, 1, 10) message_interval_adj = gtk.Adjustment(600, 60, 9999, 1, 10) class MessageDialog(gtk.Dialog): """Base class for a message creation dialog.""" icon = gtk.STOCK_NEW def __init__(self, title=None): if title is None: title = self.title gtk.Dialog.__init__( self, title + " - IDJC" + ProfileManager().title_extra) hbox1 = gtk.HBox() hbox1.set_spacing(6) # TC: An IRC channel #chan or user name entry box label. l = gtk.Label(_("Channels/Users")) self.channels = gtk.Entry() hbox1.pack_start(l, False) hbox1.pack_start(self.channels, True) set_tip(self.channels, _("The comma or space separated list of channels" " and/or users to whom the message will be sent.\n\nProtected channels " "are included with the form:\n#channel:keyword.")) hbox2 = gtk.HBox() hbox2.set_spacing(6) # TC: Message text to send to an IRC channel. Widget label. l = gtk.Label(_("Message")) self.message = IRCEntry() hbox2.pack_start(l, False) hbox2.pack_start(self.message) set_tip(self.message, _("The message to send.\n\nOn the pop-up window " "(mouse right click) are some useful options for embedding metadata and" " for text formatting.\n\nThe window below displays how the message " "will appear to users of XChat.")) sw = gtk.ScrolledWindow() sw.set_policy(gtk.POLICY_NEVER, gtk.POLICY_ALWAYS) irc_view = IRCView() sw.add(irc_view) vbox = gtk.VBox() vbox.set_spacing(5) vbox.pack_start(hbox1, False) vbox.pack_start(hbox2, False) vbox.pack_start(sw) self.hbox = gtk.HBox() self.hbox.set_border_width(16) self.hbox.set_spacing(5) self.image = gtk.image_new_from_stock(self.icon, gtk.ICON_SIZE_DIALOG) self.image.set_alignment(0.5, 0) self.hbox.pack_start(self.image, False, padding=20) self.hbox.pack_start(vbox) self.message.connect("changed", lambda w: irc_view.set_text(w.get_text())) self.get_content_area().add(self.hbox) self.channels.grab_focus() def _from_channels(self): text = self.channels.get_text().replace(",", " ").split() return ",".join(x for x in text if x) def _pack(self, widgets): vbox = gtk.VBox() for l, w in widgets: ivbox = gtk.VBox() ivbox.set_spacing(4) vbox.pack_start(ivbox, True, False) l = gtk.Label(l) ivbox.pack_start(l) ivbox.pack_start(w) self.hbox.pack_start(vbox, False, padding=20) def as_tuple(self): """Data extraction method.""" return self._from_channels(), self.message.get_text().strip() class EditMessageDialog(MessageDialog, EditDialogMixin): """Adds delete and restore buttons to a message creation dialog.""" icon = gtk.STOCK_EDIT def __init__(self, title, orig_data): MessageDialog.__init__(self, title) EditDialogMixin.__init__(self, orig_data) def from_tuple(self, orig_data): """The data restore method.""" self.channels.set_text(orig_data[0]) self.message.set_text(orig_data[1]) class AnnounceMessageDialog(MessageDialog): """Adds delay functionality to the message dialog.""" # TC: Dialog window title text. title = _("IRC track announce") def __init__(self): MessageDialog.__init__(self) self.delay = gtk.SpinButton(message_delay_adj) # TC: Spinbutton label for a delay value. self._pack(((_("Delay"), self.delay), )) # TC: tooltip on a spinbutton widget. set_tip(self.delay, _("The delay time of this message.\n\nTypically " "listener clients will buffer approximately ten seconds of audio data " "which means they are listening the same amount of time behind the " "actual stream therefore without a delay IRC messages will appear to " "the listener many seconds ahead of the audio.\n\nThis setting will " "help synchronise the track change with the message.")) def as_tuple(self): """Data extraction method.""" return (self.delay.get_value(), ) + MessageDialog.as_tuple(self) class EditAnnounceMessageDialog(AnnounceMessageDialog, EditDialogMixin): icon = gtk.STOCK_EDIT def __init__(self, orig_data): AnnounceMessageDialog.__init__(self) EditDialogMixin.__init__(self, orig_data) def from_tuple(self, orig_data): return (self.delay.set_value(orig_data[0]), self.channels.set_text(orig_data[1]), self.message.set_text(orig_data[2])) class TimerMessageDialog(MessageDialog): # TC: Dialog window title text. title = _("IRC timed message") def __init__(self): MessageDialog.__init__(self) self.offset = gtk.SpinButton(message_offset_adj) self.interval = gtk.SpinButton(message_interval_adj) self._pack(( # TC: Spinbutton time offset value label. (_("Offset"), self.offset), # TC: Spinbutton timed interval duration value label. (_("Interval"), self.interval))) # TC: spinbutton tooltip set_tip(self.offset, (_("The time offset within the below specified " "interval at which the message will be issued."))) # TC: spinbutton tooltip set_tip(self.interval, ( _("The interval in seconds of the timed message."))) def as_tuple(self): return (self.offset.get_value(), self.interval.get_value() ) + MessageDialog.as_tuple(self) class EditTimerMessageDialog(TimerMessageDialog, EditDialogMixin): icon = gtk.STOCK_EDIT def __init__(self, orig_data): TimerMessageDialog.__init__(self) EditDialogMixin.__init__(self, orig_data) def from_tuple(self, orig_data): return (self.offset.set_value(orig_data[0]), self.interval.set_value(orig_data[1]), self.channels.set_text(orig_data[2]), self.message.set_text(orig_data[3])) def glue(f): """IRCPane function decorator for new/edit button callbacks. Provides item infrormation and wires up the edit dialogs. """ @wraps(f) def inner(self, widget): model, _iter = self._treeview.get_selection().get_selected() if _iter is not None: def dialog(d, cb, *args, **kwds): cancel = gtk.Button(gtk.STOCK_CANCEL) d.ok = gtk.Button(gtk.STOCK_OK) bb = d.get_action_area() for each in (cancel, d.ok): each.set_use_stock(True) each.connect_after("clicked", lambda w: d.destroy()) bb.add(each) d.set_modal(True) d.set_transient_for(self.get_toplevel()) d.ok.connect("clicked", lambda w: cb(d, model, _iter, *args, **kwds)) if hasattr(d, "delete"): @d.delete_confirmation def delete(w): iter_parent = model.iter_parent(_iter) self._treeview.get_selection().select_iter(iter_parent) model.remove(_iter) d.destroy() d.delete.connect("clicked", delete) d.show_all() return f(self, model.get_value(_iter, 0), model, _iter, dialog) else: return None return inner def highlight(f): """IRCPane function decorator to highlight newly added item.""" @wraps(f) def inner(self, mode, model, iter, *args, **kwds): new_iter = f(self, mode, model, iter, *args, **kwds) path = model.get_path(new_iter) self._treeview.expand_to_path(path) self._treeview.expand_row(path, True) self._treeview.get_selection().select_path(path) return new_iter return inner class IRCTreeView(gtk.TreeView): """A gtk.TreeView that has a tooltip which handles IRC text formatting.""" def __init__(self, model=None): gtk.TreeView.__init__(self, model) self.set_headers_visible(False) self.set_enable_tree_lines(True) self.connect("query-tooltip", self._on_query_tooltip) self.set_has_tooltip(True) self.tooltip_coords = (0, 0) def _on_query_tooltip(self, tv, x, y, kb_mode, tooltip): """Display an IRCView tooltip for appropriate data elements.""" if (x, y) != self.tooltip_coords: self.tooltip_coords = (x, y) elif None not in (x, y): path = tv.get_path_at_pos( *tv.convert_widget_to_bin_window_coords(x, y)) if path is not None: model = tv.get_model() iter = model.get_iter(path[0]) mode = model.get_value(iter, 0) if mode in (3, 5, 7, 9): message = model[model.get_path(iter)].message irc_view = IRCView() irc_view.set_text(message) tooltip.set_custom(irc_view) return True class IRCRowReference(NamedTreeRowReference): """A gtk.TreeRowReference but with named attributes. The naming scheme depends on the data type of each row. """ _lookup = { 1: {"manual":2, "port":3, "ssl":4, "network":5, "hostname":6, "username":7, "password":8, "nick1":9, "nick2":10, "nick3":11, "realname":12, "nickserv":13, "nick":14}, 3: {"delay":4, "channels":5, "message":6}, 5: {"offset":3, "interval":4, "channels":5, "message":6, "issue":14}, 7: {"channels":5, "message":6}, 9: {"channels":5, "message":6} } def get_index_for_name(self, tree_row_ref, name): """An abstract method of the base class that performs the lookup.""" if name == "type": return 0 elif name == "active": return 1 else: data_type = tree_row_ref[0] return self._lookup[data_type][name] class IRCTreeStore(gtk.TreeStore): """The data storage object.""" @property def data_format(self): return (int, ) * 5 + (str, ) * 10 def __init__(self): gtk.TreeStore.__init__(self, *self.data_format) self._row_changed_blocked = False self.connect_after("row-changed", self._on_row_changed) def path_is_active(self, path): """True when this and all parent elements are active.""" while self[path].active: path = path[:-1] if not path: return True return False def row_changed_block(self): self._row_changed_blocked = True def row_changed_unblock(self): self._row_changed_blocked = False def _on_row_changed(self, model, path, iter): """This is the very first handler that will be called.""" if self._row_changed_blocked: self.stop_emission("row-changed") def __getitem__(self, path): """Properly wrap the TreeRowReference.""" return IRCRowReference(gtk.TreeStore.__getitem__(self, path)) class IRCPane(gtk.VBox): """The main user interface.""" def __init__(self): gtk.VBox.__init__(self) self.set_border_width(8) self.set_spacing(3) self._treestore = IRCTreeStore() self._treestore.insert(None, 0, (0, 1, 0, 0, 0) + ("", ) * 10) self._treeview = IRCTreeView(self._treestore) col = gtk.TreeViewColumn() toggle = gtk.CellRendererToggle() toggle.props.sensitive = False col.pack_start(toggle, False) col.add_attribute(toggle, "active", 1) crt = gtk.CellRendererText() crt.props.ellipsize = pango.ELLIPSIZE_END col.pack_start(crt, True) col.set_cell_data_func(crt, self._cell_data_func) self._treeview.append_column(col) sw = gtk.ScrolledWindow() sw.set_policy(gtk.POLICY_NEVER, gtk.POLICY_AUTOMATIC) sw.add(self._treeview) bb = gtk.HButtonBox() bb.set_spacing(6) bb.set_layout(gtk.BUTTONBOX_END) edit = gtk.Button(gtk.STOCK_EDIT) new = gtk.Button(gtk.STOCK_NEW) for b, c in zip((edit, new), ("edit", "new")): b.set_use_stock(True) b.connect("clicked", getattr(self, "_on_" + c)) bb.add(b) toggle_button = gtk.Button("_Toggle") toggle_button.connect("clicked", self._on_toggle) bb.add(toggle_button) bb.set_child_secondary(toggle_button, True) selection = self._treeview.get_selection() selection.connect("changed", self._on_selection_changed, edit, new) selection.select_path(0) if HAVE_IRCLIB: self.pack_start(sw) self.pack_start(bb, False) self.connections_controller = ConnectionsController(self._treestore) else: self.set_sensitive(False) label = gtk.Label( _("This feature requires the installation of python-irclib.")) self.add(label) self.connections_controller = ConnectionsController(None) self.show_all() def _m_signature(self): """The client data storage signature. Used to crosscheck with that of the saved data to test for usability. """ return [x.__name__ for x in self._treestore.data_format] def marshall(self): """Convert all our data into a string.""" if HAVE_IRCLIB: store = [self._m_signature()] self._treestore.foreach(self._m_read, store) return json.dumps(store) else: return "" def _m_read(self, model, path, iter, store): row = IRCRowReference(model[path]) if row.type == 1 and row.active and row.manual: row.active = 0 store.append((path, list(row))) def unmarshall(self, data): """Set the TreeStore with data from a string.""" if HAVE_IRCLIB: try: store = json.loads(data) except ValueError: return if store.pop(0) != self._m_signature(): print "IRC server data format mismatch." return selection = self._treeview.get_selection() selection.handler_block_by_func(self._on_selection_changed) self._treestore.clear() for path, row in store: pos = path.pop() pi = self._treestore.get_iter(tuple(path)) if path else None self._treestore.insert(pi, pos, row) self._treeview.expand_all() selection.handler_unblock_by_func(self._on_selection_changed) selection.select_path(0) def _on_selection_changed(self, selection, edit, new): model, iter = selection.get_selected() if iter is not None: mode = model.get_value(iter, 0) edit.set_sensitive(mode % 2) new.set_sensitive(not mode % 2) else: edit.set_sensitive(False) new.set_sensitive(False) def _on_toggle(self, widget): model, iter = self._treeview.get_selection().get_selected() model.set_value(iter, 1, not model.get_value(iter, 1)) def _cell_data_func(self, column, cell, model, iter): """Converts tree data into something viewable. There is only one line to display on so the actual text is not given too much priority. For that there is the tooltip IRCView. """ row = model[model.get_path(iter)] text = "" if row.type % 2: if row.type == 1: if row.nick: text = row.nick + "@" text += "%s:%d" % (row.hostname, row.port) if row.network: text += "(%s)" % row.network opt = [] if row.ssl: # TC: Indicator text: We are using SSL protocol. opt.append(_("SSL")) if row.password: # TC: Indicator text: We used a password. opt.append(_("PASSWORD")) if row.nickserv: # TC: Indicator text: We interact with NickServ. opt.append(_("NICKSERV")) if row.manual: # TC: Indicator text: Server connection started manually. opt.append(_("MANUAL")) if opt: text += " " + ", ".join(opt) else: channels = row.channels message = row.message if row.type == 3: text = "+%d;%s; %s" % (row.delay, channels, message) elif row.type == 5: text = "%d/%d;%s; %s" % ( row.offset, row.interval, channels, message) else: text = channels + "; " + message else: text = (("Server", ) + MESSAGE_CATEGORIES)[row.type / 2] cell.props.text = text # TC: Expander text encapsulating messages that play when stream goes up. _dsu = _("IRC stream up message") # TC: Expander text encapsulating messages that play when stream goes down. _dsd = _("IRC stream down message") @glue def _on_new(self, mode, model, iter, dialog): if mode == 0: dialog(ServerDialog(), self._add_server) elif mode == 2: dialog(AnnounceMessageDialog(), self._add_announce) elif mode == 4: dialog(TimerMessageDialog(), self._add_timer) elif mode in (6, 8): title = self._dsu if mode == 6 else self._dsd dialog(MessageDialog(title), self._add_message, mode) else: if mode / 2 < len(MESSAGE_CATEGORIES): print "there is no data entry dialog implemented for the '%s'" \ " message category" % MESSAGE_CATEGORIES[mode / 2] else: print "unknown message category with numerical code,", mode @glue def _on_edit(self, mode, model, iter, dialog): if mode == 1: dialog(EditServerDialog(tuple(model[model.get_path(iter)])[2:14]), self._standard_edit, 2) if mode == 3: dialog(EditAnnounceMessageDialog(tuple(model[model.get_path(iter)]) [4:7]), self._standard_edit, 4) if mode == 5: dialog(EditTimerMessageDialog(tuple(model[model.get_path(iter)]) [3:7]), self._standard_edit, 3) if mode in (7, 9): title = self._dsu if mode == 7 else self._dsd dialog(EditMessageDialog(title, tuple( model[model.get_path(iter)])[5:7]), self._standard_edit, 5) def _standard_edit(self, d, model, iter, start): model.row_changed_block() for i, each in enumerate(d.as_tuple(), start=start): model.set_value(iter, i, each) model.row_changed_unblock() model.row_changed(model.get_path(iter), iter) @highlight def _add_server(self, d, model, parent_iter): # Check whether row initially needs to be switched off. row = IRCRowReference(list((1, 1) + d.as_tuple() + ("", ))) if row.manual: row.active = 0 iter = model.insert(parent_iter, 0, row) # Add the subelements. for i, x in enumerate(xrange(2, 2 + len(MESSAGE_CATEGORIES) * 2, 2)): model.insert(iter, i, (x, 1, 0, 0, 0) + ("", ) * 10) return iter @highlight def _add_announce(self, d, model, parent_iter): return model.insert(parent_iter, 0, (3, 1, 0, 0) + d.as_tuple() + ("", ) * 8) @highlight def _add_timer(self, d, model, parent_iter): return model.insert(parent_iter, 0, (5, 1, 0) + d.as_tuple() + ("", ) * 8) @highlight def _add_message(self, d, model, parent_iter, mode): return model.insert(parent_iter, 0, (mode + 1, 1, 0, 0, 0) + d.as_tuple() + ("", ) * 8) class ConnectionsController(list): """Layer between the user interface and the ServerConnection classes. As a list it contains the active server connections. """ def __init__(self, model): self.model = model self._ignore_count = 0 if model is not None: model.connect("row-inserted", self._on_row_inserted) model.connect("row-deleted", self._on_row_deleted) model.connect_after("row-changed", self._on_row_changed) list.__init__(self) self._stream_active = False def cleanup(self): for each in self: each.cleanup() def set_stream_active(self, stream_active): self._stream_active = stream_active for each in self: each.set_stream_active(stream_active) def new_metadata(self, new_meta): for each in self: each.new_metadata(new_meta) def _on_row_inserted(self, model, path, iter): if model.get_value(iter, 0) == 1: self.append(IRCConnection(model, path, self._stream_active)) def _on_row_deleted(self, model, path): if len(path) == 2: for i, irc_conn in enumerate(self): if not irc_conn.valid(): self[i].cleanup() del self[i] break def _on_row_changed(self, model, path, iter): i = model.iter_children(iter) while i is not None: model.row_changed(model.get_path(i), i) i = model.iter_next(i) class IRCConnection(gtk.TreeRowReference, threading.Thread): """Self explanatory really.""" def __init__(self, model, path, stream_active): gtk.TreeRowReference.__init__(self, model, path) threading.Thread.__init__(self) self._hooks = [] self._queue = [] self._played = [] self._message_handlers = [] self._keepalive = True self._have_welcome = False self._stream_active = stream_active self.irc = irclib.IRC() self.server = self.irc.server() self.start() self._hooks.append((model, model.connect("row-inserted", self._on_row_inserted))) self._hooks.append((model, model.connect_after("row-changed", self._on_ui_row_changed))) self._on_ui_row_changed(model, path, model.get_iter(path)) def set_stream_active(self, stream_active): self._stream_active = stream_active for each in self._message_handlers: each.set_stream_active(stream_active) def new_metadata(self, new_meta): if self._stream_active: self._played.insert(0, (new_meta["songname"], time.time())) del self._played[10:] for each in self._message_handlers: each.new_metadata(new_meta) def _on_row_inserted(self, model, path, iter): if path[:-1] == self.get_path(): type = model[path].type mh = globals()["MessageHandlerForType_" + str(type + 1)](model, path, self._stream_active) mh.connect("channels-changed", self._on_channels_changed) mh.connect("privmsg-ready", self._on_privmsg_ready) self._message_handlers.append(mh) def _on_channels_changed(self, message_handler, channel_set): if self._have_welcome: rest = frozenset.union(frozenset(), *(x.props.channels for x in self._message_handlers if x is not message_handler)) joins = channel_set.difference(rest and message_handler.props.channels) parts = message_handler.props.channels.difference( channel_set).difference(rest) def deferred(): for each in joins: if each[0] in "#&": each = each.split(":") try: channel, key = each except: channel = each[0] key = "" self.server.join(channel, key) for each in parts: if each[0] in "#&": self.server.part(each) self._queue.append(deferred) def _channels_invalidate(self): for each in self._message_handlers: each.channels_invalidate() def _on_privmsg_ready(self, handler, targets, message, delay): if self._have_welcome: chan_targets = filter(lambda x: x[0] in "#&", targets) user_targets = filter(lambda x: x[0] not in "#&", targets) def deferred(): self.server.privmsg_many(chan_targets, message) for target in user_targets: self.server.notice(target, message) if delay: self._queue.append( lambda: self.server.execute_delayed(delay, deferred)) else: self._queue.append(deferred) def _on_ui_row_changed(self, model, path, iter): if path == self.get_path(): row = self.get_model()[self.get_path()] if model.path_is_active(path): hostname = row.hostname port = row.port nickname = row.nick1 or "eyedeejaycee" password = row.password or None username = row.username or None ircname = row.realname or None ssl = bool(row.ssl) def deferred(): try: self._alternates = [ row.nick2, row.nick3, nickname + "_", row.nick2 + "_", row.nick3 + "_", nickname + "__", row.nick2 + "__", row.nick3 + "__"] self.server.connect(hostname, port, nickname, password, username, ircname, ssl=ssl) except irclib.ServerConnectionError, e: self._ui_set_nick("") print >>sys.stderr, str(e) + " %s@%s:%d" % ( nickname, hostname, port) else: self._ui_set_nick(nickname) print "New IRC connection: %s@%s:%d" % ( nickname, hostname, port) else: def deferred(): try: self.server.disconnect() except irclib.ServerConnectionError, e: print >>sys.stderr, str(e) self._ui_set_nick("") self._queue.append(deferred) def run(self): for event in irclib.all_events: try: target = getattr(self, "_on_" + event) except AttributeError: target = self._generic_handler self.server.add_global_handler(event, target) while self._keepalive: while len(self._queue): self._queue.pop(0)() self.irc.process_once(0.2) def cleanup(self): def deferred(): try: self.server.disconnect() except irclib.ServerConnectionError, e: print >>sys.stderr, str(e) self._queue.append(deferred) for each in self._message_handlers: each.cleanup() for obj, handler_id in self._hooks: obj.disconnect(handler_id) self.server.add_global_handler("disconnect", self.thread_purge_on_disconnect) if not self.server.is_connected(): self._keepalive = False self.join(1.0) if self.is_alive(): self.server.close() def thread_purge_on_disconnect(self, server, event): self._keepalive = False @threadslock def _ui_set_nick(self, nickname): if self.valid(): model = self.get_model() model.row_changed_block() model[self.get_path()].nick = nickname model.row_changed_unblock() def _try_alternate_nick(self): try: nextnick = self._alternates.pop(0) except IndexError: # Ran out of nick choices. self.server.disconnect() else: self._ui_set_nick(nextnick) self.server.nick(nextnick) @threadslock def _on_welcome(self, server, event): print "Got IRC welcome", event.source() self._have_welcome = True self._channels_invalidate() model = self.get_model() path = self.get_path() iter = model.iter_children(model.get_iter(path)) while iter is not None: model.row_changed(model.get_path(iter), iter) iter = model.iter_next(iter) row = model[path] model.row_changed_block() row.nick = event.target() model.row_changed_unblock() target = row.nick1 nspw = row.nickserv if event.target() != target and nspw: self._nick_recover(server, target, nspw) def _nick_recover(self, server, target, nspw): print "Will issue recover and release commands to NickServ" for i, (func, args) in enumerate(( (server.privmsg, ( "NickServ", "RECOVER %s %s" % (target, nspw))), (server.privmsg, ( "NickServ", "RELEASE %s %s" % (target, nspw))), (server.nick, (target,))), start=1): server.execute_delayed(i, func, args) def _on_privnotice(self, server, event): source = event.source() if source is not None: source = source.split("!")[0] print "-%s- %s" % (source, event.arguments()[0]) if source == "NickServ!services": gtk.gdk.threads_enter() nspw = self.get_model()[self.get_path()].nickserv gtk.gdk.threads_leave() if "NickServ IDENTIFY" in event.arguments()[0] and nspw: server.privmsg("NickServ", "IDENTIFY %s" % nspw) print "Issued IDENTIFY command to NickServ" self._ui_set_nick(event.target()) elif "Guest" in event.arguments()[0]: newnick = event.arguments()[0].split()[-1].strip(ASCII_C0) self._ui_set_nick(newnick) if nspw: self._nick_recover(server, event.target(), nspw) else: self._ui_set_nick(event.target()) else: self._generic_handler(server, event) def _on_disconnect(self, server, event): self._have_welcome = False self._ui_set_nick("") print event.source(), "disconnected" def _on_nicknameinuse(self, server, event): self._try_alternate_nick() def _on_nickcollision(self, server, event): self._try_alternate_nick() def _on_nonicknamegiven(self, server, event): self._try_alternate_nick() def _on_erroneousenickname(self, server, event): self._try_alternate_nick() def _on_join(self, server, event): print "Channel joined", event.target() def _on_ctcp(self, server, event): source = event.source().split("!")[0] args = event.arguments() reply = partial(server.ctcp_reply, source) if args == ["CLIENTINFO"]: reply("CLIENTINFO VERSION TIME SOURCE PING ACTION CLIENTINFO " "PLAYED STREAMSTATUS KILLSTREAM") elif args == ["VERSION"]: reply("VERSION %s %s (python-irclib)" % ( FGlobs.package_name, FGlobs.package_version)) elif args == ["TIME"]: reply("TIME " + time.ctime()) elif args == ["SOURCE"]: reply("SOURCE http://www.sourceforge.net/projects/idjc") elif args[0] == "PING": reply(" ".join(args)) elif args == ["PLAYED"]: t = time.time() gtk.gdk.threads_enter() show = [x for x in self._played if t - x[1] < 5400.0] gtk.gdk.threads_leave() for i, each in enumerate(show, start=1): age = int((t - each[1]) // 60) if age == 1: message = "PLAYED \x0304%s\x0f, \x0306%d minute ago\x0f." else: message = "PLAYED \x0304%s\x0f, \x0306%d minutes ago\x0f." server.execute_delayed(i, reply, (message % (each[0], age),)) if not show: reply("PLAYED Nothing recent to report.") else: server.execute_delayed(i + 1, reply, ("PLAYED End of list.",)) elif args == ["STREAMSTATUS"]: reply("STREAMSTATUS The stream is %s." % ( "up" if self._stream_active else "down")) elif args == ["KILLSTREAM"]: reply("KILLSTREAM This feature was added as a joke.") elif args == ["ACTION"]: pass else: pass #print "CTCP from", source, args def _on_motd(self, server, event): pass def _generic_handler(self, server, event): return print "Type:", event.eventtype() print "Source:", event.source() print "Target:", event.target() print "Args:", event.arguments() class MessageHandler(gobject.GObject): __gsignals__ = { 'channels-changed': (gobject.SIGNAL_RUN_LAST | gobject.SIGNAL_ACTION, gobject.TYPE_NONE, (gobject.TYPE_PYOBJECT, )), 'privmsg-ready': (gobject.SIGNAL_RUN_LAST | gobject.SIGNAL_ACTION, gobject.TYPE_NONE, (gobject.TYPE_PYOBJECT, gobject.TYPE_STRING, gobject.TYPE_INT)) } __gproperties__ = { 'channels': (gobject.TYPE_PYOBJECT, 'channels', 'ircchannels', gobject.PARAM_READABLE) } @property def stream_active(self): return self._stream_active subst_keys = ("artist", "title", "album", "songname", "djname", "description", "url") subst_tokens = ("%r", "%t", "%l", "%s", "%n", "%d", "%u") subst = dict.fromkeys(subst_keys, "") def __init__(self, model, path, stream_active): gobject.GObject.__init__(self) self.tree_row_ref = gtk.TreeRowReference(model, path) self._channels = frozenset() self._stream_active = stream_active model.connect("row-inserted", self.channels_evaluate) model.connect("row-deleted", self.channels_evaluate) model.connect_after("row-changed", self.channels_evaluate) def set_stream_active(self, stream_active): if self._stream_active != stream_active: self._stream_active = stream_active if stream_active: self.on_stream_active() else: self.on_stream_inactive() def on_stream_active(self): pass def on_stream_inactive(self): pass def cleanup(self): pass def on_new_metadata(self): pass def new_metadata(self, new_meta): assert not frozenset(new_meta).difference(frozenset(self.subst_keys)) self.subst.update(new_meta) self.on_new_metadata() def channels_evaluate(self, model, path, iter=None): pp = self.tree_row_ref.get_path() if path[:-1] == pp: nc = set() iter = model.iter_children(model.get_iter(pp)) while iter is not None: rowpath = model.get_path(iter) if model.path_is_active(rowpath): row = model[rowpath] for each in row.channels.split(","): if each: nc.add(each) iter = model.iter_next(iter) nc = frozenset(nc) if nc != self._channels: self.channels_changed(nc) def channels_invalidate(self): self._channels = frozenset() def channels_changed(self, new_channels): self.emit("channels-changed", new_channels) def do_channels_changed(self, new_channels): """Called after the handlers connected on 'channels-changed'. Joins and parts may be computed against self.props.channels. """ self._channels = frozenset(new_channels) def do_get_property(self, prop): if prop.name == 'channels': return self._channels else: raise AttributeError("unknown property '%s'" % prop.name) def issue_messages(self, delay_calc=lambda row: 0): model = self.tree_row_ref.get_model() iter = model.get_iter(self.tree_row_ref.get_path()) iter = model.iter_children(iter) while iter is not None: path = model.get_path(iter) if model.path_is_active(path): row = model[path] delay_s = delay_calc(row) if delay_s is not None: targets = [x.split("!")[0] for x in row.channels.split(",")] table = [("%%", "%")] + zip(self.subst_tokens, ( self.subst[x] for x in self.subst_keys)) message = string_multireplace(row.message, table) self.emit("privmsg-ready", targets, message, delay_s) iter = model.iter_next(iter) class MessageHandlerForType_3(MessageHandler): def on_new_metadata(self): if self.stream_active: self.issue_messages(lambda row: row.delay) class MessageHandlerForType_5(MessageHandler): def __init__(self, *args, **kwargs): self._timeout_id = None MessageHandler.__init__(self, *args, **kwargs) if self.stream_active: self.on_stream_active() def on_stream_active(self): self._timeout_id = gobject.timeout_add(500, self._timeout) def on_stream_inactive(self): if self._timeout_id is not None: gobject.source_remove(self._timeout_id) self._timeout_id = None @threadslock def _timeout(self): self.issue_messages(partial(self._delay_calc, the_time=int(time.time()))) return True def _delay_calc(self, row, the_time): """Returns either a delay of 0 or suppression value None.""" issue = (the_time - row.offset) // row.interval if issue > int(row.issue or 0): row.issue = str(issue) return 0 def cleanup(self): if self._timeout_id is not None: gobject.source_remove(self._timeout_id) class MessageHandlerForType_7(MessageHandler): def on_stream_active(self): self.issue_messages() class MessageHandlerForType_9(MessageHandler): def on_stream_inactive(self): self.issue_messages() idjc-0.8.9/python/popupwindow.py0000644000175000017500000001402412113174301013642 00000000000000# popupwindow.py: for when standard gtk tooltips just don't cut it # Copyright (C) 2007, 2011 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . __all__ = ['PopupWindow'] import gobject import gtk from .gtkstuff import threadslock class PopupWindow: def message(self, text): if self.messages: print "PopupWindow:", text def set_messages(self, boolean): """Show status messages on the console when boolean = true.""" self.messages = boolean and True or False def get_messages(self): return self.messages class new_popup_window(gtk.Window): def __init__(self): gtk.Window.__init__(self, gtk.WINDOW_POPUP) gtk.Window.set_decorated(self, False) @threadslock def timeout_callback(self): class bugout: def __init__(self, parent, text): if parent.popup_window is not None: parent.popup_window.destroy() parent.popup_window = None parent.message(text) try: self.timer_count += 1 self.total_timer_count += 1 if self.timer_count == self.popuptime: if not self.timeout or self.total_timer_count < \ self.popuptime + self.timeout: self.popup_window = self.new_popup_window() if self.winpopulate_callback(self.popup_window, \ self.widget, self.x, self.y) != -1: self.popup_window.realize() # Calculate the popup window positioning. w_popup = self.popup_window.get_size()[0] # Get root window width. w_root = self.popup_window.get_screen( ).get_root_window().get_geometry()[2] offset = w_root - int(self.x_root) - w_popup - 4 if offset > 0: # Right justify if needed. offset = 0 x_pos = int(self.x_root) + 4 + offset # No right justification for popups that won't fit. if x_pos < 0: # Display against left window edge. x_pos = 0 self.popup_window.move(x_pos, int(self.y_root) + 4) self.popup_window.show() self.message("popup window created") else: raise bugout(self, "window populate callback returned" " -1 -- window cancelled") else: raise bugout(self, "timeout exceeded") if self.timer_count > self.popdowntime: raise bugout(self, "popdown time reached") except bugout: return False else: return True def handle_mouse(self, widget, event, data): self.timer_count = 0 # Store absolute mouse x and y coordiates. self.x_root = event.x_root self.y_root = event.y_root # This information could be useful too. self.x = event.x self.y = event.y # Any event triggers destruction of popup windows currently open. if self.popup_window is not None: self.popup_window.destroy() gobject.source_remove(self.timeout) self.popup_window = None self.message("popup window destroyed due to the sensing of an " "event, timer removed") if data == "leave": return False if data == "enter" and self.inside_widget == False: self.timeout = gobject.timeout_add(100, self.timeout_callback) self.inside_widget = True self.total_timer_count = 0 self.message("timer started") if data == "leave": gobject.source_remove(self.timeout) self.inside_widget = False self.message("timer removed") if data == "button" or data == "scroll" or self.inhibit_callback() \ and self.inside_widget: gobject.source_remove(self.timeout) self.message("timer removed") def dummy(self): return False def __init__(self, widget, popuptime, popdowntime, timeout, \ winpopulate_callback, inhibit_callback = None): self.widget = widget self.popuptime = popuptime self.popdowntime = popdowntime self.timeout = timeout self.winpopulate_callback = winpopulate_callback self.inhibit_callback = inhibit_callback or self.dummy self.popup_window = None self.inside_widget = False self.messages = False self.widget.connect("motion_notify_event", self.handle_mouse, "move") self.widget.connect("enter_notify_event", self.handle_mouse, "enter") self.widget.connect("leave_notify_event", self.handle_mouse, "leave") self.widget.connect("button_press_event", self.handle_mouse, "button") self.widget.connect("button_release_event", self.handle_mouse, "button") self.widget.connect("scroll_event", self.handle_mouse, "scroll") idjc-0.8.9/python/gtkstuff.py0000644000175000017500000005531112127351571013123 00000000000000"""Generally useful gtk based widgets.""" # Copyright (C) 2011 Stephen Fairchild (s-fairchild@users.sourceforge.net) # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . import os import json import gettext from abc import ABCMeta, abstractmethod from functools import wraps import gobject import gtk import pango import glib from idjc import FGlobs, PGlobs t = gettext.translation(FGlobs.package_name, FGlobs.localedir, fallback=True) _ = t.gettext class NotebookSR(gtk.Notebook): """Add methods so the save/restore scheme does not have to be extended.""" def get_active(self): return self.get_current_page() def set_active(self, page): self.set_current_page(page) class LEDDict(dict): """Dictionary of pixbufs of LEDs.""" def __init__(self, size=10): names = "clear", "red", "green", "yellow" filenames = ("led_unlit_clear_border_64x64.png", "led_lit_red_black_border_64x64.png", "led_lit_green_black_border_64x64.png", "led_lit_amber_black_border_64x64.png") for name, filename in zip(names, filenames): self[name] = gtk.gdk.pixbuf_new_from_file_at_size( FGlobs.pkgdatadir / filename, size, size) class CellRendererLED(gtk.CellRendererPixbuf): """A cell renderer that displays LEDs.""" __gproperties__ = { "active" : (gobject.TYPE_INT, "active", "active", 0, 1, 0, gobject.PARAM_WRITABLE), "color" : (gobject.TYPE_STRING, "color", "color", "clear", gobject.PARAM_WRITABLE) } def __init__(self, size=10, actives=("clear", "green")): gtk.CellRendererPixbuf.__init__(self) self._led = LEDDict(size) self._index = [self._led[key] for key in actives] def do_set_property(self, prop, value): if prop.name == "active": item = self._index[value] elif prop.name == "color": item = self._led[value] else: raise AttributeError("unknown property %s" % prop.name) gtk.CellRendererPixbuf.set_property(self, "pixbuf", item) class CellRendererTime(gtk.CellRendererText): """Displays time in days, hours, minutes.""" __gproperties__ = { "time" : (gobject.TYPE_INT, "time", "time", 0, 1000000000, 0, gobject.PARAM_WRITABLE) } def do_set_property(self, prop, value): if prop.name == "time": m, s = divmod(value, 60) h, m = divmod(m, 60) d, h = divmod(h, 24) if d: text = "%dd.%02d:%02d" % (d, h, m) else: text = "%02d:%02d:%02d" % (h, m, s) else: raise AttributeError("unknown property %s" % prop.name) gtk.CellRendererText.set_property(self, "text", text) class StandardDialog(gtk.Dialog): def __init__(self, title, message, stock_item, label_width, modal, markup): gtk.Dialog.__init__(self) self.set_border_width(6) self.get_child().set_spacing(12) self.set_modal(modal) self.set_destroy_with_parent(True) self.set_title(title) hbox = gtk.HBox() hbox.set_spacing(12) hbox.set_border_width(6) image = gtk.image_new_from_stock(stock_item, gtk.ICON_SIZE_DIALOG) image.set_alignment(0.0, 0.0) hbox.pack_start(image, False) vbox = gtk.VBox() hbox.pack_start(vbox) for each in message.split("\n"): label = gtk.Label(each) label.set_use_markup(markup) label.set_alignment(0.0, 0.0) label.set_size_request(label_width, -1) label.set_line_wrap(True) vbox.pack_start(label) ca = self.get_content_area() ca.add(hbox) aa = self.get_action_area() aa.set_spacing(6) class ConfirmationDialog(StandardDialog): """This needs to be pulled out since it's generic.""" def __init__(self, title, message, label_width=300, modal=True, markup=False, action=gtk.STOCK_DELETE, inaction=gtk.STOCK_CANCEL): StandardDialog.__init__(self, title, message, gtk.STOCK_DIALOG_WARNING, label_width, modal, markup) aa = self.get_action_area() cancel = gtk.Button(stock=inaction) cancel.connect("clicked", lambda w: self.destroy()) aa.pack_start(cancel) self.ok = gtk.Button(stock=action) self.ok.connect_after("clicked", lambda w: self.destroy()) aa.pack_start(self.ok) class ErrorMessageDialog(StandardDialog): """This needs to be pulled out since it's generic.""" def __init__(self, title, message, label_width=300, modal=True, markup=False): StandardDialog.__init__(self, title, message, gtk.STOCK_DIALOG_ERROR, label_width, modal, markup) b = gtk.Button(stock=gtk.STOCK_CLOSE) b.connect("clicked", lambda w: self.destroy()) self.get_action_area().add(b) def threadslock(f): """Function decorator for thread locking timeout callbacks.""" @wraps(f) def newf(*args, **kwargs): gtk.gdk.threads_enter() try: r = f(*args, **kwargs) finally: gtk.gdk.threads_leave() return r return newf class DefaultEntry(gtk.Entry): def __init__(self, default_text, sensitive_override=False): gtk.Entry.__init__(self) self.connect("focus-in-event", self.on_focus_in) self.connect("focus-out-event", self.on_focus_out) self.props.primary_icon_activatable = True self.connect("icon-press", self.on_icon_press) self.connect("realize", self.on_realize) self.default_text = default_text self.sensitive_override = sensitive_override def on_realize(self, entry): layout = self.get_layout().copy() layout.set_markup("%s" % self.default_text) extents = layout.get_pixel_extents()[1] drawable = gtk.gdk.Pixmap(self.get_parent_window(), extents[2], extents[3]) gc = gtk.gdk.GC(drawable) gc2 = entry.props.style.base_gc[0] drawable.draw_rectangle(gc2, True, *extents) drawable.draw_layout(gc, 0, 0, layout) pixbuf = gtk.gdk.Pixbuf(gtk.gdk.COLORSPACE_RGB, True, 8, extents[2], extents[3]) pixbuf.get_from_drawable(drawable, drawable.get_colormap(), 0, 0, *extents) self.empty_pixbuf = pixbuf if not gtk.Entry.get_text(self): self.props.primary_icon_pixbuf = pixbuf def on_icon_press(self, entry, icon_pos, event): self.grab_focus() def on_focus_in(self, entry, event): self.props.primary_icon_pixbuf = None def on_focus_out(self, entry, event): text = gtk.Entry.get_text(self).strip() if not text: self.props.primary_icon_pixbuf = self.empty_pixbuf def get_text(self): if (self.flags() & gtk.SENSITIVE) or self.sensitive_override: return gtk.Entry.get_text(self).strip() or self.default_text else: return "" def set_text(self, newtext): newtext = newtext.strip() gtk.Entry.set_text(self, newtext) if newtext: self.props.primary_icon_pixbuf = None else: try: self.props.primary_icon_pixbuf = self.empty_pixbuf except AttributeError: pass class HistoryEntry(gtk.ComboBoxEntry): """Combobox which performs history function.""" def __init__(self, max_size=6, initial_text=("",), store_blank=True): self.max_size = max_size self.store_blank = store_blank self.ls = gtk.ListStore(str) gtk.ComboBoxEntry.__init__(self, self.ls, 0) self.connect("notify::popup-shown", self.update_history) self.child.connect("activate", self.update_history) self.set_history("\x00".join(initial_text)) geo = self.get_screen().get_root_window().get_geometry() cell = self.get_cells()[0] cell.props.wrap_width = geo[2] * 2 // 3 cell.props.wrap_mode = pango.WRAP_CHAR def update_history(self, *args): text = self.child.get_text().strip() if self.store_blank or text: # Remove duplicate stored text. for i, row in enumerate(self.ls): if row[0] == text: del self.ls[i] # Newly entered text goes at top of history. self.ls.prepend((text,)) # History size is kept trimmed. if len(self.ls) > self.max_size: del self.ls[-1] def get_text(self): return self.child.get_text() def set_text(self, text): self.update_history() self.child.set_text(text) def get_history(self): self.update_history() return "\x00".join([row[0] for row in self.ls]) def set_history(self, hist): self.ls.clear() for text in reversed(hist.split("\x00")): self.set_text(text) class NamedTreeRowReference(object): """Provides named attribute access to gtk.TreeRowReference objects. This is a virtual base class. Virtual method 'get_index_for_name()' must be provided in a subclass. """ __metaclass__ = ABCMeta def __init__(self, tree_row_ref): object.__setattr__(self, "_tree_row_ref", tree_row_ref) @abstractmethod def get_index_for_name(self, tree_row_ref, name): """This method must be subclassed. Note the TreeRowReference in question is passed in in case that information is required to allocate the names. When a name is not available an exception must be raised and when one is the index into the TreeRowReference must be returned. """ pass def _index_for_name(self, name): try: return self.get_index_for_name(self._tree_row_ref, name) except Exception: raise AttributeError("%s has no attribute: %s" % (repr(self._tree_row_ref), name)) def __iter__(self): return iter(self._tree_row_ref) def __len__(self): return len(self._tree_row_ref) def __getitem__(self, path): return self._tree_row_ref[path] def __setitem__(self, path, data): self._tree_row_ref[path] = data def __getattr__(self, name): return self._tree_row_ref.__getitem__(self._index_for_name(name)) def __setattr__(self, name, data): self._tree_row_ref[self._index_for_name(name)] = data NamedTreeRowReference.register(list) class WindowSizeTracker(object): """This class will monitor the un-maximized size of a window.""" def __init__(self, window, tracking=True): self._window = window self._is_tracking = tracking self._x = self._y = 100 self._max = False window.connect("configure-event", self._on_configure_event) window.connect("window-state-event", self._on_window_state_event) def set_tracking(self, tracking): self._is_tracking = tracking def get_tracking(self): return self._is_tracking def get_x(self): return self._x def get_y(self): return self._y def get_max(self): return self._max def get_text(self): """Marshalling function for save settings.""" return json.dumps((self._x, self._y, self._max)) def set_text(self, s): """Unmarshalling function for load settings.""" try: self._x, self._y, self._max = json.loads(s) except StandardError: pass def apply(self): self._window.unmaximize() self._window.resize(self._x, self._y) if self._max: gobject.idle_add(threadslock(self._window.maximize)) def _on_configure_event(self, widget, event): if self._is_tracking and not self._max: self._x = event.width self._y = event.height def _on_window_state_event(self, widget, event): if self._is_tracking: self._max = event.new_window_state & \ gtk.gdk.WINDOW_STATE_MAXIMIZED != 0 class IconChooserButton(gtk.Button): """Imitate a FileChooserButton but specific to image types. The image rather than the mime-type icon is shown on the button. """ __gsignals__ = { "filename-changed" : (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, (gobject.TYPE_PYOBJECT,)), } def __init__(self, dialog): gtk.Button.__init__(self) dialog.set_icon_from_file(PGlobs.default_icon) hbox = gtk.HBox() hbox.set_spacing(4) image = gtk.Image() hbox.pack_start(image, False, padding=1) label = gtk.Label() label.set_alignment(0, 0.5) label.set_ellipsize(pango.ELLIPSIZE_END) hbox.pack_start(label) vsep = gtk.VSeparator() hbox.pack_start(vsep, False) rightmost_icon = gtk.image_new_from_stock(gtk.STOCK_OPEN, gtk.ICON_SIZE_MENU) hbox.pack_start(rightmost_icon, False) self.add(hbox) hbox.show_all() self.connect("clicked", self._cb_clicked, dialog) self._dialog = dialog self._image = image self._label = label self.set_filename(dialog.get_filename()) def set_filename(self, f): try: disp = glib.filename_display_name(f) pb = gtk.gdk.pixbuf_new_from_file_at_size(f, 16, 16) except (glib.GError, TypeError): # TC: Text reads as /path/to/file.ext or this when no file is chosen. self._label.set_text(_("(None)")) self._image.clear() self._filename = None else: self._label.set_text(disp) self._image.set_from_pixbuf(pb) self._filename = f self._dialog.set_filename(f) self.emit("filename-changed", self._filename) def get_filename(self): return self._filename def _cb_clicked(self, button, dialog): response = dialog.run() if response == gtk.RESPONSE_OK: self.set_filename(dialog.get_filename()) elif response == gtk.RESPONSE_NONE: filename = self.get_filename() if filename is not None: dialog.set_filename(filename) self.set_filename(None) dialog.hide() def __getattr__(self, attr): if attr in gtk.FileChooser.__dict__: return getattr(self._dialog, attr) raise AttributeError("%s has no attribute, %s" % ( self, attr)) class IconPreviewFileChooserDialog(gtk.FileChooserDialog): def __init__(self, *args, **kwds): gtk.FileChooserDialog.__init__(self, *args, **kwds) filefilter = gtk.FileFilter() # TC: the file filter text of a file chooser dialog. filefilter.set_name(_("Supported Image Formats")) filefilter.add_pixbuf_formats() self.add_filter(filefilter) vbox = gtk.VBox() frame = gtk.Frame() vbox.pack_start(frame, expand=True, fill=False) frame.show() image = gtk.Image() frame.add(image) self.set_use_preview_label(False) self.set_preview_widget(vbox) self.set_preview_widget_active(False) self.connect("update-preview", self._cb_update_preview, image) vbox.show_all() def _cb_update_preview(self, dialog, image): f = self.get_preview_filename() try: pb = gtk.gdk.pixbuf_new_from_file_at_size(f, 16, 16) except (glib.GError, TypeError): active = False else: active = True image.set_from_pixbuf(pb) self.set_preview_widget_active(active) class LabelSubst(gtk.Frame): """User interface label substitution widget -- by the user.""" def __init__(self, heading): gtk.Frame.__init__(self, " %s " % heading) self.vbox = gtk.VBox() self.vbox.set_border_width(2) self.vbox.set_spacing(2) self.add(self.vbox) self.textdict = {} self.activedict = {} def add_widget(self, widget, ui_name, default_text): frame = gtk.Frame(" %s " % default_text) frame.set_label_align(0.5, 0.5) frame.set_border_width(3) self.vbox.pack_start(frame) hbox = gtk.HBox() hbox.set_spacing(3) frame.add(hbox) hbox.set_border_width(2) use_supplied = gtk.RadioButton(None, _("Alternative")) use_default = gtk.RadioButton(use_supplied, _('Default')) self.activedict[ui_name + "_use_supplied"] = use_supplied hbox.pack_start(use_default, False) hbox.pack_start(use_supplied, False) entry = gtk.Entry() self.textdict[ui_name + "_text"] = entry hbox.pack_start(entry) if isinstance(widget, gtk.Frame): def set_text(new_text): new_text = new_text.strip() if new_text: new_text = " %s " % new_text widget.set_label(new_text or None) widget.set_text = set_text entry.connect("changed", self.cb_entry_changed, widget, use_supplied) args = default_text, entry, widget use_default.connect("toggled", self.cb_radio_default, *args) use_supplied.connect_object("toggled", self.cb_radio_default, use_default, *args) use_default.set_active(True) def cb_entry_changed(self, entry, widget, use_supplied): if use_supplied.get_active(): widget.set_text(entry.get_text()) elif entry.has_focus(): use_supplied.set_active(True) def cb_radio_default(self, use_default, default_text, entry, widget): if use_default.get_active(): widget.set_text(default_text) else: widget.set_text(entry.get_text()) entry.grab_focus() class FolderChooserButton(gtk.Button): """Replaces the now-broken gtk.FileChosserButton for folder selection. The old chooser also had some issues with being able to visually select unmounted partitions that resulted in no change from the last valid selection. This button fixes that by dispensing with the drop down list entirely. In order to work properly this button's dialog must be in folder select mode. """ __gsignals__ = { 'current-folder-changed' : (gobject.SIGNAL_RUN_FIRST, gobject.TYPE_NONE, (gobject.TYPE_STRING,)) } def __init__(self, dialog=None): gtk.Button.__init__(self) self._current_folder = None self._handler_ids = [] hbox = gtk.HBox() hbox.set_spacing(3) self.add(hbox) self._icon = gtk.image_new_from_stock(gtk.STOCK_DIRECTORY, gtk.ICON_SIZE_MENU) hbox.pack_start(self._icon, False) # TC: FolderChooserButton text for null -- no directory is set. self._label = gtk.Label(_("(none)")) self._label.set_alignment(0.0, 0.5) self._label.set_ellipsize(pango.ELLIPSIZE_END) hbox.pack_start(self._label) self._label.show() self.set_dialog(dialog) self.connect("clicked", self._on_clicked) self.get_child().show_all() def set_dialog(self, dialog): self._disconnect_from_dialog() if dialog is None: self._update_visual() else: self._connect_to_dialog(dialog) self.set_current_folder(dialog.get_current_folder()) def get_dialog(self): return self._dialog def get_current_folder(self): return self._dialog and self._current_folder def set_current_folder(self, new_folder): """Call this, not the underlying dialog.""" if new_folder is not None: new_folder = new_folder.strip() if new_folder != os.sep: new_folder = new_folder.rstrip(os.sep) if new_folder != self._current_folder: self._dialog.set_current_folder(new_folder) self.emit("current-folder-changed", new_folder) def _update_visual(self): folder_name = self.get_current_folder() if not folder_name: folder_name = _("(none)") else: folder_name = os.path.split(folder_name)[1] self._label.set_text(folder_name) def _disconnect_from_dialog(self): for hid in self._handler_ids: self._dialog.handler_disconnect(hid) del self._handler_ids[:] self._dialog = None def _connect_to_dialog(self, dialog): app = self._handler_ids.append app(dialog.connect("destroy", self._on_dialog_destroy)) self._dialog = dialog def _on_dialog_destroy(self, dialog): del self._handler_ids[:] self._dialog = None if not self.flags() & gtk.IN_DESTRUCTION: self._update_visual() def _on_clicked(self, button): if self._dialog is not None: self._dialog.set_current_folder(self._current_folder or "") if self._dialog.run() == gtk.RESPONSE_ACCEPT: new_folder = self._dialog.get_current_folder() if new_folder != self._current_folder: self.emit('current-folder-changed', new_folder) else: self._dialog.set_current_folder(self._current_folder or "") self._dialog.hide() def do_current_folder_changed(self, new_folder): self._current_folder = new_folder self._update_visual() idjc-0.8.9/python/utils.py0000644000175000017500000002122612113174301012411 00000000000000"""Generally useful Python code. But strictly no third party module dependencies. """ # Copyright (C) 2011 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . __all__ = ["Singleton", "PolicedAttributes", "FixedAttributes", "PathStr", "SlotObject", "string_multireplace"] import os import uuid import re import glob import shutil import threading from functools import wraps # pylint: disable=C0203 # # The mcs parameter goes to the __new__ method, not any other. class Singleton(type): """Enforce the singleton pattern upon the user class.""" def __init__(cls, name, bases, dict_): super(Singleton, cls).__init__(name, bases, dict_) cls._instance = None def __call__(cls, *args, **kwds): if cls._instance is not None: # Return an existing instance. return cls._instance else: # No existing instance so instantiate just this once. cls._instance = super(Singleton, cls).__call__(*args, **kwds) return cls._instance def _pa_rlock(func): """Policed Attributes helper for thread locking.""" @wraps(func) def _wrapper(cls, *args, **kwds): """Wrapper with locking feature. Performs rlock.""" rlock = type.__getattribute__(cls, "_rlock") try: rlock.acquire() return func(cls, *args, **kwds) finally: rlock.release() return _wrapper class FixedAttributes(type): """Implements a namespace class of constants.""" def __setattr__(cls, name, value): raise AttributeError("attribute is locked") def __call__(cls, *args, **kwds): raise TypeError("%s object is not callable" % cls.__name__) class PolicedAttributes(FixedAttributes): """Polices data access to a namespace class. Prevents write access to attributes after they have been read. Envisioned useful for the implementation of "safe" global variables. """ def __new__(mcs, name, bases, dict_): @classmethod @_pa_rlock def peek(cls, attr, callback, *args, **kwds): """Allow read + write within a callback. Typical use might be to append to an existing string. No modification ban is placed or bypassed. """ if attr not in type.__getattribute__(cls, "_banned"): new = callback( super(PolicedAttributes, cls).__getattribute__(attr), *args, **kwds) type.__setattr__(attr, new) else: raise AttributeError("attribute is locked") dict_["peek"] = peek dict_["_banned"] = set() dict_["_rlock"] = threading.RLock() return super(PolicedAttributes, mcs).__new__(mcs, name, bases, dict_) @_pa_rlock def __getattribute__(cls, name): type.__getattribute__(cls, "_banned").add(name) return type.__getattribute__(cls, name) @_pa_rlock def __setattr__(cls, name, value): if name in type.__getattribute__(cls, "_banned"): FixedAttributes.__setattr__(cls, name, value) type.__setattr__(cls, name, value) class PathStrMeta(type): """PathStr() returns None if called with None.""" def __call__(cls, arg): if arg is None: return None else: return cls.__new__(cls, arg) class PathStr(str): """A data type to perform path joins using the / operator. In this case the higher precedence of / is unfortunate. """ # pylint: disable=R0904 __metaclass__ = PathStrMeta def __div__(self, other): return PathStr(os.path.join(str(self), other)) def __add__(self, other): return PathStr(str.__add__(self, other)) def __repr__(self): return "PathStr('%s')" % self class SlotObject(object): """A mutable object containing an immutable object.""" # pylint: disable=R0903 __slots__ = ['value'] def __init__(self, value): self.value = value def __str__(self): return str(self.value) def __int__(self): return int(self.value) def __float__(self): return float(self.value) def __repr__(self): return "SlotObject(%s)" % repr(self.value) def __getattr__(self, what): """Universal getter for get_ prefix.""" def assign(value): """Returned by set_ prefix call. A setter function.""" self.value = value if what.startswith("get_"): return lambda : self.value elif what.startswith("set_"): return assign else: object.__getattribute__(self, what) def string_multireplace(part, table): """Replace multiple items in a string. Table is a sequence of 2 tuples of from, to strings. """ if not table: return part parts = part.split(table[0][0]) t_next = table[1:] for i, each in enumerate(parts): parts[i] = string_multireplace(each, t_next) return table[0][1].join(parts) class LinkUUIDRegistry(dict): """Manage substitute hard links for data files.""" __metaclass__ = Singleton link_re = re.compile( "\{[a-fA-F0-9]{8}-([a-fA-F0-9]{4}-){3}[a-fA-F0-9]{12}\}") link_dir = None def add(self, uuid_, pathname): if os.path.exists(pathname): self[uuid_] = pathname else: print "LinkUUIDRegistry: pathname does not exist", pathname def remove(self, uuid_): try: del self[uuid_] except KeyError: print "LinkUUIDRegisty: remove -- UUID does not exist: {%s}" % uuid_ def _purge(self, where): """Clean orphaned hard links from the links directory.""" basedir, dirs, files = os.walk(where).next() for filename in files: match = self.link_re.match(filename) try: if match is None or str(uuid.UUID(match.group(0))) not in self: os.unlink(os.path.join(basedir, filename)) except EnvironmentError as e: print "LinkUUIDRegistry: link purge failed: %s" % e def _save(self, where, copy): """Write new hard links to the links directory. Existing links are kept as they are. To unlink them could delete the only copy of the link source. """ # Create the links directory as needed. if not os.path.isdir(where): try: os.mkdir(where) except EnvironmentError as e: print "LinkUUIDRegistry: link directory creation failed:", e return for uuid_, source in self.iteritems(): ext = os.path.splitext(source)[1] if copy: cmd = shutil.copyfile else: cmd = os.link try: cmd(source, os.path.join(where, "{%s}%s" % (uuid_, ext))) except EnvironmentError as e: if e.errno != 17: print "LinkUUIDRegistry: link failed:", e except shutil.Error: pass def update(self, where, copy=False): """Update the hard links in the links directory.""" self._save(where, copy) # Purge after save because the link source may just be in the # links directory itself. self._purge(where) self.link_dir = where def get_link_filename(self, uuid_): """Check in the links directory for a specific UUID filename.""" if self.link_dir is not None: matches = glob.glob(os.path.join(self.link_dir, "{%s}.*" % uuid_)) if len(matches) == 1: return os.path.basename(matches[0]) # Link does not exist e.g. can't hard-link across filesystems # or was not made due to policy. # For a return value of None the caller must substitute the # pre-existing pathname to preserve functionality. return None idjc-0.8.9/python/dialogs.py0000644000175000017500000002541512113174301012677 00000000000000"""Server dialogs for IDJC.""" # Copyright 2006-2012 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . import os import time import gtk import pango from idjc import FGlobs from idjc.prelims import ProfileManager import gettext t = gettext.translation(FGlobs.package_name, FGlobs.localedir, fallback=True) _ = t.gettext pm = ProfileManager() class dialog_group: """A mutually exclusive list of dialogs Only one can be on screen at a time. The dialogs below can call the hide method to remove any other dialogs. """ def __init__(self): self.dialist = [] def add(self, newdialog): self.dialist.append(newdialog) def hide(self, apartfrom = None): for each in self.dialist: if each is not apartfrom: each.hide() class disconnection_notification_dialog(gtk.Dialog): """Used to show a dialog related to the failure of the server connection.""" def window_attn(self, widget, event): if event.new_window_state | gtk.gdk.WINDOW_STATE_ICONIFIED: widget.set_urgency_hint(True) else: widget.set_urgency_hint(False) def respond(self, dialog, response): if response in (gtk.RESPONSE_CLOSE, gtk.RESPONSE_DELETE_EVENT): dialog.hide() def present(self): self.dial_group.hide(self) gtk.Dialog.present(self) def __init__(self, dial_group = None, window_group = None, window_title = None, text = None): if window_title is None: window_title = pm.title_extra.strip() else: window_title += pm.title_extra gtk.Dialog.__init__(self, window_title, None, gtk.DIALOG_DESTROY_WITH_PARENT, (gtk.STOCK_CLOSE, gtk.RESPONSE_CLOSE)) if window_group is not None: window_group.add_window(self) self.set_resizable(False) self.set_border_width(6) self.get_child().set_spacing(12) self.connect("close", self.respond) self.connect("response", self.respond) self.connect("window-state-event", self.window_attn) hbox = gtk.HBox(False, 20) hbox.set_spacing(12) self.get_content_area().pack_start(hbox, True, True, 0) hbox.show() image = gtk.Image() image.set_alignment(0.5, 0) image.set_from_stock(gtk.STOCK_DISCONNECT, gtk.ICON_SIZE_DIALOG) hbox.pack_start(image, False) image.show() vbox = gtk.VBox() hbox.pack_start(vbox, True, True, 0) vbox.show() if text is not None: for each in text.splitlines(): label = gtk.Label(each) label.set_use_markup(True) label.set_alignment(0.0, 0.5) vbox.pack_start(label, False) label.show() if dial_group is not None: dial_group.add(self) self.dial_group = dial_group # Dialog is not shown upon creation, but rather is (re)shown when needed. class autodisconnection_notification_dialog(gtk.Dialog): """Used to show when autodisconnection is imminent.""" def window_attn(self, widget, event): if event.new_window_state | gtk.gdk.WINDOW_STATE_ICONIFIED: widget.set_urgency_hint(True) else: widget.set_urgency_hint(False) def respond(self, dialog, response, actionok = None, actioncancel = None): if response == gtk.RESPONSE_OK or response == gtk.RESPONSE_DELETE_EVENT: if actionok is not None: actionok() if response == gtk.RESPONSE_CANCEL: if actioncancel is not None: actioncancel() dialog.hide() def present(self): self.dial_group.hide(self) gtk.Dialog.present(self) def __init__(self, dial_group = None, window_group = None, window_title = "", additional_text = None, actionok = None, actioncancel = None): gtk.Dialog.__init__(self, window_title, None, gtk.DIALOG_DESTROY_WITH_PARENT, (gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL, gtk.STOCK_OK, gtk.RESPONSE_OK)) if window_group is not None: window_group.add_window(self) self.set_resizable(False) self.connect("close", self.respond, actionok, actioncancel) self.connect("response", self.respond, actionok, actioncancel) self.connect("window-state-event", self.window_attn) self.set_default_response(gtk.RESPONSE_OK) hbox = gtk.HBox(False, 20) hbox.set_border_width(20) self.vbox.pack_start(hbox, True, True, 0) hbox.show() image = gtk.Image() image.set_from_stock(gtk.STOCK_DIALOG_WARNING, gtk.ICON_SIZE_DIALOG) hbox.pack_start(image, True, True, 0) image.show() vbox = gtk.VBox() vbox.set_spacing(8) hbox.pack_start(vbox, True, True, 0) vbox.show() if additional_text is not None: if type(additional_text) is str: additional_text = additional_text.splitlines() for each in additional_text: label = gtk.Label() attrlist = pango.AttrList() attrlist.insert(pango.AttrSize(12500, 0, len(each))) label.set_attributes(attrlist) label.set_text(each) vbox.add(label) label.show() if dial_group is not None: dial_group.add(self) self.dial_group = dial_group class ReconnectionDialog(gtk.Dialog): """Displayed when a reconnection is scheduled. User may expedite or cancel the reconnection operation using this widget. """ td = (0.0,) # TC: The contents of <> and {} must not be changed. lines = _('The connection to the server ' 'in tab {servertab} has failed.\nA reconnection attempt will' ' be made in {countdown} seconds.\nThis is attempt number {attempt}' ' of {maxtries}.').splitlines() def update_countdown_text(self): remaining = self.remaining self.remaining = int(self.event_time - time.time()) if self.remaining != remaining: self.label2.set_text(self.lines[1].format(countdown=self.remaining)) if self.remaining == 0: self.hide() while gtk.events_pending(): gtk.main_iteration() self.tab.server_connect.set_active(True) if self.tab.server_connect.get_active() == False: self.activate() def run(self): if self.active: self.update_countdown_text() def activate(self): if not self.tab.troubleshooting.automatic_reconnection.get_active(): self.deactivate() self.tab.scg.disconnected_dialog.present() return if self.active == False: self.trycount = 0 self.td = [] for each in \ self.config.reconnection_times.child.get_text().split(","): try: x = max(float(each), 5.0) except: x = 5.0 self.td.append(x) self.active = True else: self.trycount += 1 repeat = self.config.reconnection_repeat.get_active() if not repeat and self.trycount >= len(self.td): self.deactivate() self.tab.scg.disconnected_dialog.present() return self.remaining = self.td[self.trycount % len(self.td)] self.event_time = time.time() + self.remaining self.update_countdown_text() if repeat: self.label3.set_text(_('This is attempt number %d. There is no ' 'retry limit.') % (self.trycount + 1)) else: self.label3.set_text(self.lines[2].format( attempt = self.trycount + 1, maxtries = len(self.td))) if self.config.reconnection_quiet.get_active(): self.realize() else: self.present() def deactivate(self): if self.active: self.hide() self.active = False def cb_response(self, dialog, response): if response == gtk.RESPONSE_CANCEL: self.deactivate() if response == gtk.RESPONSE_OK: self.event_time = time.time() + 0.25 def cb_delete(self, widget, event): self.deactivate() return True def __init__(self, tab): self.tab = tab gtk.Dialog.__init__(self, pm.title_extra.strip(), None, gtk.DIALOG_DESTROY_WITH_PARENT, (gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL, _('_Retry Now'), gtk.RESPONSE_OK)) self.set_modal(False) self.set_resizable(False) self.set_border_width(6) self.vbox.set_spacing(12) hbox = gtk.HBox() hbox.set_spacing(12) self.get_content_area().pack_start(hbox, False) hbox.show() i = gtk.image_new_from_stock(gtk.STOCK_DISCONNECT, gtk.ICON_SIZE_DIALOG) i.set_alignment(0.5, 0) hbox.pack_start(i, False) i.show() vbox = gtk.VBox() vbox.set_spacing(3) hbox.pack_start(vbox, False) self.label1 = gtk.Label(self.lines[0].format( servertab = tab.numeric_id + 1) + "\n") self.label1.set_use_markup(True) self.label2 = gtk.Label(self.lines[1].format(countdown = 0)) self.label3 = gtk.Label(self.lines[2].format(attempt = 1, maxtries = 1)) for l in (self.label1, self.label2, self.label3): l.set_alignment(0.0, 0.5) vbox.pack_start(l, False) l.show() vbox.show() self.config = tab.troubleshooting self.active = False self.connect("delete-event", self.cb_delete) self.connect("response", self.cb_response) idjc-0.8.9/python/mutagentagger.py0000644000175000017500000006373412114637001014117 00000000000000# mutagengui.py: GTK based file tagger. # Copyright (C) 2009 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . __all__ = ['MutagenGUI'] import os import sys import string import re import gettext import gtk import pango import glib import mutagen import mutagen.id3 as id3 from mutagen.mp3 import MP3 from mutagen.apev2 import APEv2, APETextValue from mutagen.musepack import Musepack from mutagen.monkeysaudio import MonkeysAudio from mutagen.asf import ASF, ASFUnicodeAttribute from idjc import FGlobs from .tooltips import set_tip from idjc.prelims import ProfileManager t = gettext.translation(FGlobs.package_name, FGlobs.localedir, fallback=True) _ = t.gettext pm = ProfileManager() class LeftLabel(gtk.HBox): """Use in place of gtk.Label where left justification is needed.""" def __init__(self, text): gtk.HBox.__init__(self) self.label = gtk.Label(text) self.pack_start(self.label, False, False, 0) class RightLabel(gtk.HBox): """Use in place of gtk.Label where right justification is needed.""" def __init__(self, text): gtk.HBox.__init__(self) self.pack_end(gtk.Label(text), False, False, 0) class FreeTagFrame(gtk.Frame): def __init__(self): gtk.Frame.__init__(self) sw = gtk.ScrolledWindow() sw.set_border_width(5) sw.set_policy(gtk.POLICY_NEVER, gtk.POLICY_ALWAYS) self.add(sw) sw.show() self.tb = gtk.TextBuffer() tv = gtk.TextView(self.tb) tv.set_wrap_mode(gtk.WRAP_CHAR) tv.modify_font(pango.FontDescription('sans 12')) sw.add(tv) tv.show() class MutagenTagger(gtk.VBox): """Base class for ID3Tagger and NativeTagger.""" def __init__(self, pathname): gtk.VBox.__init__(self) self.pathname = pathname class WMATagger(MutagenTagger): """Handles tagging of WMA files""" primary_data = ("Title", "Author") secondaries = ("WM/AlbumTitle", "WM/AlbumArtist", "WM/Year", "WM/Genre") def save_tag(self): """Updates the tag with the GUI data.""" tag = self.tag tb = self.tag_frame.tb for key in self.text_set: try: del tag[key] except KeyError: pass for each in self.primary_line: val = each[1].get_text().strip() if val: tag[each[0]] = val else: try: del tag[each[0]] except KeyError: pass lines = tb.get_text(tb.get_start_iter(), tb.get_end_iter()).splitlines() for line in lines: try: key, val = line.split("=", 1) except ValueError: continue else: key = key.strip() val = val.strip() if val: try: tag[key] += [ASFUnicodeAttribute(val.decode("utf-8"))] except (KeyError, AttributeError): try: tag[key] = [ ASFUnicodeAttribute(val.decode("utf-8"))] except KeyError: print "Unacceptable key", key tag.save() def load_tag(self): """(re)Writes the tag data to the GUI.""" tag = self.tag for each in self.primary_line: try: data = tag[each[0]] except KeyError: pass else: each[1].set_text("/".join(unicode(y) for y in data)) additional = [] for key in self.secondaries: values = tag.get(key, [ASFUnicodeAttribute("")]) for val in values: additional.append(key.encode("utf-8") + "=" + unicode( val).encode("utf-8")) for key in self.text_set: if key not in self.primary_data and key not in self.secondaries: values = tag[key] for val in values: additional.append(key.encode("utf-8") + "=" + unicode( val).encode("utf-8")) self.tag_frame.tb.set_text("\n".join(additional)) def __init__(self, pathname): MutagenTagger.__init__(self, pathname) try: self.tag = mutagen.asf.ASF(pathname) if not isinstance(self.tag, mutagen.asf.ASF): raise mutagen.asf.error except mutagen.asf.error: print "Not a real wma/asf file apparently." self.tag = None return hbox = gtk.HBox() hbox.set_border_width(5) hbox.set_spacing(8) self.pack_start(hbox, False, False, 0) vbox_text = gtk.VBox() hbox.pack_start(vbox_text, False, False, 0) vbox_entry = gtk.VBox() hbox.pack_start(vbox_entry, True, True, 0) self.primary_line = [] for text, entry in ((x, gtk.Entry()) for x in self.primary_data): self.primary_line.append((text, entry)) vbox_text.add(LeftLabel(text)) vbox_entry.add(entry) hbox.show_all() self.tag_frame = FreeTagFrame() self.tag_frame.set_border_width(5) self.add(self.tag_frame) self.tag_frame.show() self.text_set = [] for key, val in self.tag.iteritems(): if key not in self.primary_line and all(isinstance(v, ( ASFUnicodeAttribute, unicode)) for v in val): self.text_set.append(key) class ID3Tagger(MutagenTagger): """ID3 tagging with Mutagen.""" primary_data = (("TIT2", _('title')), ("TPE1", _('artist')), ("TALB", _('album')), ("TRCK", _('track/total')), ("TCON", _('genre')), ("TDRC", _('record date'))) def save_tag(self): """Updates the tag with the GUI data.""" tag = self.tag # Remove all text tags. for fid in tag.iterkeys(): if fid[0] == "T": del tag[fid] # Add the primary tags. for fid, entry in self.primary_line: text = entry.get_text().strip() if text: frame = getattr(id3, fid) tag[fid] = frame(3, [text]) # Add the freeform text tags. tb = self.tag_frame.tb lines = tb.get_text(tb.get_start_iter(), tb.get_end_iter()).splitlines() for line in lines: try: fid, val = line.split(":", 1) except ValueError: continue fid = fid.strip() val = val.strip().decode("utf-8") try: frame = id3.Frames[fid] except NameError: continue if not issubclass(frame, id3.TextFrame): continue if frame is id3.TXXX: try: key, val = val.split(u"=", 1) except ValueError: continue f = frame(3, key.strip(), [val.strip()]) tag[f.HashKey] = f else: try: val_list = tag[fid].text except KeyError: tag[fid] = frame(3, [val]) else: val_list.append(val) tag.save() def load_tag(self): """(re)Writes the tag data to the GUI.""" additional = [] done = [] for fid, entry in self.primary_line: try: frame = self.tag[fid] if fid[0] == "T": try: entry.set_text(frame.text[0]) except TypeError: # Handle occurrence of ID3Timestamp. entry.set_text(str(frame.text[0])) for each in frame.text[1:]: additional.append(fid + ":" + each.encode("utf-8")) except KeyError: entry.set_text("") done.append(fid) for fid, frame in self.tag.iteritems(): if fid[0] == "T" and fid not in done: sep = "=" if fid.startswith("TXXX:") else ":" for text in frame.text: additional.append(fid + sep + text.encode("utf-8")) self.tag_frame.tb.set_text("\n".join(additional)) def __init__(self, pathname, force=False): MutagenTagger.__init__(self, pathname) if force: try: self.tag = mutagen.File(pathname) if not isinstance(self.tag, MP3): raise mutagen.mp3.error except mutagen.mp3.error: print "Not a real mp3 file apparently." self.tag = None return try: self.tag.add_tags() print "Added ID3 tags to", pathname except mutagen.id3.error: print "Existing ID3 tags found." else: try: # Obtain ID3 tags from a non mp3 file. self.tag = mutagen.id3.ID3(pathname) except mutagen.id3.error: self.tag = None return hbox = gtk.HBox() hbox.set_border_width(5) hbox.set_spacing(8) self.pack_start(hbox, False, False, 0) vbox_frame = gtk.VBox() hbox.pack_start(vbox_frame, False, False, 0) vbox_text = gtk.VBox() hbox.pack_start(vbox_text, False, False, 0) vbox_entry = gtk.VBox() hbox.pack_start(vbox_entry, True, True, 0) self.primary_line = [] for frame, text, entry in ( (x, y, gtk.Entry()) for x, y in self.primary_data): self.primary_line.append((frame, entry)) vbox_frame.add(LeftLabel(frame)) vbox_text.add(RightLabel(text)) vbox_entry.add(entry) hbox.show_all() self.tag_frame = FreeTagFrame() set_tip(self.tag_frame, _('Add any other ID3 text frames here.\ne.g. ' 'TIT2:Alternate Title\nThis will be appended onto the main TIT2 tag.' '\n\nEnter user defined text frames like this:\nTXXX:foo=bar\n\n' 'For more information visit www.id3.org.')) self.tag_frame.set_border_width(5) # TC: Remaining textual ID3 data is show below this heading. self.tag_frame.set_label(_(' Additional Text Frames ')) self.add(self.tag_frame) self.tag_frame.show() class MP4Tagger(MutagenTagger): """MP4 tagging with Mutagen.""" primary_data = (("\xa9nam", _('Title')), ("\xa9ART", _('Artist')), ("\xa9alb", _('Album')), ("trkn", _('Track')), ("\xa9gen", _('Genre')), ("\xa9day", _('Year'))) def save_tag(self): """Updates the tag with the GUI data.""" tag = self.tag for fid, entry in self.primary_line: text = entry.get_text().strip() if fid == "trkn": mo1 = re.search("\d+", text) try: track = int(text[mo1.start():mo1.end()]) except AttributeError: new_val = None else: text = text[mo1.end():] mo2 = re.search("\d+", text) try: total = int(text[mo2.start():mo2.end()]) except AttributeError: new_val = [(track, 0)] else: new_val = [(track, total)] else: new_val = [text] if text else None if new_val is not None: tag[fid] = new_val else: try: del tag[fid] except KeyError: pass tag.save() def load_tag(self): """(re)Writes the tag data to the GUI.""" additional = [] for fid, entry in self.primary_line: try: frame = self.tag[fid][0] except KeyError: entry.set_text("") else: if fid == "trkn": if frame[1]: entry.set_text("%d/%d" % frame) else: entry.set_text(str(frame[0])) else: entry.set_text(frame) def __init__(self, pathname): MutagenTagger.__init__(self, pathname) try: self.tag = mutagen.mp4.MP4(pathname) if not isinstance(self.tag, mutagen.mp4.MP4): raise mutagen.mp4.error except mutagen.mp4.error: print "Not a real mp4 file apparently." self.tag = None return hbox = gtk.HBox() hbox.set_border_width(5) hbox.set_spacing(8) self.pack_start(hbox, False, False, 0) vbox_text = gtk.VBox() hbox.pack_start(vbox_text, False, False, 0) vbox_entry = gtk.VBox() hbox.pack_start(vbox_entry, True, True, 0) self.primary_line = [] for frame, text, entry in ( (x, y, gtk.Entry()) for x, y in self.primary_data): self.primary_line.append((frame, entry)) vbox_text.add(LeftLabel(text)) vbox_entry.add(entry) hbox.show_all() class NativeTagger(MutagenTagger): """Native format tagging with Mutagen. Mostly FLAC and Ogg.""" blacklist = "coverart", "metadata_block_picture" def save_tag(self): """Updates the tag with the GUI data.""" tag = self.tag for key in tag.iterkeys(): if key not in self.blacklist: del tag[key] tb = self.tag_frame.tb lines = tb.get_text(tb.get_start_iter(), tb.get_end_iter()).splitlines() for line in lines: try: key, val = line.split("=", 1) except ValueError: continue else: key = key.strip() val = val.strip() if key not in self.blacklist and val: try: tag[key] += [val.decode("utf-8")] except (KeyError, AttributeError): try: tag[key] = [val.decode("utf-8")] except KeyError: print "Unacceptable key", key tag.save() def load_tag(self): """(re)Writes the tag data to the GUI.""" tag = self.tag lines = [] primaries = "title", "artist", "author", "album",\ "tracknumber", "tracktotal", "genre", "date" for key in primaries: try: values = tag[key] except KeyError: lines.append(key + "=") else: for val in values: lines.append(key + "=" + val.encode("utf-8")) for key, values in tag.iteritems(): if key not in primaries and key not in self.blacklist: for val in values: lines.append(key + "=" + val.encode("utf-8")) self.tag_frame.tb.set_text("\n".join(lines)) def __init__(self, pathname, ext): MutagenTagger.__init__(self, pathname) self.tag = mutagen.File(pathname) if isinstance(self.tag, (MP3, APEv2)): # MP3 and APEv2 have their own specialised tagger. self.tag = None return self.tag_frame = FreeTagFrame() self.add(self.tag_frame) self.tag_frame.show() class ApeTagger(MutagenTagger): """APEv2 tagging with Mutagen.""" opener = {"ape": MonkeysAudio, "mpc": Musepack } def save_tag(self): """Updates the tag with the GUI data.""" tag = self.tag for key, values in tag.iteritems(): if isinstance(values, APETextValue): del tag[key] tb = self.tag_frame.tb lines = tb.get_text(tb.get_start_iter(), tb.get_end_iter()).splitlines() for line in lines: try: key, val = line.split("=", 1) except ValueError: continue else: key = key.strip() val = val.strip() if val: try: tag[key].value += "\0" + val.decode("utf-8") except (KeyError, AttributeError): try: tag[key] = APETextValue(val.decode("utf-8"), 0) except KeyError: print "Unacceptable key", key tag.save() def load_tag(self): """(re)Writes the tag data to the GUI.""" tag = self.tag lines = [] primaries = "TITLE", "ARTIST", "AUTHOR", "ALBUM",\ "TRACKNUMBER", "TRACKTOTAL", "GENRE", "DATE" for key in primaries: try: values = tag[key] except KeyError: lines.append(key + "=") else: for val in values: lines.append(key + "=" + val.encode("utf-8")) for key, values in tag.iteritems(): if key not in primaries and isinstance(values, APETextValue): for val in values: lines.append(key + "=" + val.encode("utf-8")) self.tag_frame.tb.set_text("\n".join(lines)) def __init__(self, pathname, extension): MutagenTagger.__init__(self, pathname) try: self.tag = self.opener[extension](pathname) except KeyError: try: self.tag = APEv2(pathname) except: print "ape tag not found" self.tag = None return else: print "ape tag found on non-native format" except: print "failed to create tagger for native format" self.tag = None return else: try: self.tag.add_tags() except: print "ape tag found on native format" else: print "no existing ape tags found" self.tag_frame = FreeTagFrame() self.add(self.tag_frame) self.tag_frame.show() class MutagenGUI: ext2name = {"aac": "AAC", "mp3": "ID3", "mp2": "ID3", "mp4": "MP4", "m4a": "MP4", "spx": "Speex", "flac": "FLAC", "ogg": "Ogg Vorbis", "oga": "XIPH Ogg audio", "opus": "Ogg Opus", "m4b": "MP4", "m4p": "MP4", "wma": "Windows Media Audio"} def destroy_and_quit(self, widget, data = None): gtk.main_quit() sys.exit(0) def update_playlists(self, pathname, idjcroot): newplaylistdata = idjcroot.player_left.get_media_metadata(pathname) idjcroot.player_left.update_playlist(newplaylistdata) idjcroot.player_right.update_playlist(newplaylistdata) @staticmethod def is_supported(pathname): supported = [ "mp2", "mp3", "ogg", "oga" ] if FGlobs.avcodec and FGlobs.avformat: supported += ["aac", "mp4", "m4a", "m4b", "m4p", "ape", "mpc", "wma"] if FGlobs.flacenabled: supported.append("flac") if FGlobs.speexenabled: supported.append("spx") if FGlobs.opusenabled: supported.append("opus") extension = os.path.splitext(pathname)[1][1:].lower() if supported.count(extension) != 1: if extension: print "File type", extension, "is not supported for tagging" return False else: return extension def __init__(self, pathname, encoding, idjcroot = None): if not pathname: print "Tagger not supplied any pathname." return extension = self.is_supported(pathname) if extension == False: print "Tagger file extension", extension, "not supported." return self.window = gtk.Window(gtk.WINDOW_TOPLEVEL) if idjcroot is not None: idjcroot.window_group.add_window(self.window) self.window.set_size_request(550, 450) # TC: Window title. self.window.set_title(_('IDJC Tagger') + pm.title_extra) self.window.set_destroy_with_parent(True) self.window.set_border_width(9) self.window.set_resizable(True) if idjcroot == None: self.window.connect("destroy", self.destroy_and_quit) vbox = gtk.VBox() self.window.add(vbox) vbox.show() label = gtk.Label() if idjcroot: if encoding is not None: label.set_markup(u"" + _('Filename:').decode("utf-8") + \ u" " + glib.markup_escape_text(unicode(os.path.split( pathname)[1], encoding).encode("utf-8", "replace")) + u"") else: label.set_markup(u"" + _('Filename:').decode("utf-8") + \ u" " + glib.markup_escape_text(os.path.split( pathname)[1]).encode("utf-8", "replace") + u"") else: label.set_markup(u"" + _('Filename:').decode("utf-8") + u" " + \ glib.markup_escape_text(unicode(os.path.split( pathname)[1], "latin1").encode("utf-8", "replace")) + u"") vbox.pack_start(label, False, False, 6) label.show() hbox = gtk.HBox() hbox.set_border_width(2) apply_button = gtk.Button(None, gtk.STOCK_APPLY) if idjcroot is not None: apply_button.connect_object_after("clicked", self.update_playlists, pathname, idjcroot) hbox.pack_end(apply_button, False, False, 0) apply_button.show() close_button = gtk.Button(None, gtk.STOCK_CLOSE) close_button.connect_object("clicked", gtk.Window.destroy, self.window) hbox.pack_end(close_button, False, False, 10) close_button.show() reload_button = gtk.Button(None, gtk.STOCK_REVERT_TO_SAVED) hbox.pack_start(reload_button, False, False, 10) reload_button.show() vbox.pack_end(hbox, False, False, 0) hbox.show() hbox = gtk.HBox() vbox.pack_end(hbox, False, False, 2) hbox.show() notebook = gtk.Notebook() notebook.set_border_width(2) vbox.pack_start(notebook, True, True, 0) notebook.show() try: self.ape = ApeTagger(pathname, extension) if extension in ("mp3", "aac"): self.id3 = ID3Tagger(pathname, True) self.native = None else: self.id3 = ID3Tagger(pathname, False) if extension in ("mp4", "m4a", "m4b", "m4p"): self.native = MP4Tagger(pathname) elif extension == "wma": self.native = WMATagger(pathname) elif extension in ("ape", "mpc"): # APE tags are native to this format. self.native = None else: self.native = NativeTagger(pathname, ext=extension) if self.id3 is not None and self.id3.tag is not None: reload_button.connect("clicked", lambda x: self.id3.load_tag()) apply_button.connect("clicked", lambda x: self.id3.save_tag()) label = gtk.Label("ID3") notebook.append_page(self.id3, label) self.id3.show() if self.ape is not None and self.ape.tag is not None: reload_button.connect("clicked", lambda x: self.ape.load_tag()) apply_button.connect("clicked", lambda x: self.ape.save_tag()) label = gtk.Label("APE v2") notebook.append_page(self.ape, label) self.ape.show() if self.native is not None and self.native.tag is not None: reload_button.connect("clicked", lambda x: self.native.load_tag()) apply_button.connect("clicked", lambda x: self.native.save_tag()) label = gtk.Label(_('Native') + " (" + self.ext2name[ extension] + ")") notebook.append_page(self.native, label) self.native.show() reload_button.clicked() apply_button.connect_object_after("clicked", gtk.Window.destroy, self.window) self.window.show() except IOError as e: print e self.window.destroy() idjc-0.8.9/python/maingui.py0000644000175000017500000044574012131337275012730 00000000000000# maingui.py: Main python code of IDJC # Copyright 2005-2011 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . import os import sys import fcntl import subprocess import ConfigParser import operator import socket import pickle import stat import signal import time import gettext import itertools import collections import json import uuid import ctypes import dbus import dbus.service import glib import gobject import gtk import cairo import pango from idjc import FGlobs, PGlobs from .playergui import * from .sourceclientgui import * from .preferences import * from .jingles import ExtraPlayers from .utils import SlotObject from .utils import LinkUUIDRegistry from .utils import PathStr from .gtkstuff import threadslock, WindowSizeTracker, ConfirmationDialog from .gtkstuff import IconChooserButton, IconPreviewFileChooserDialog, LEDDict from .gtkstuff import LabelSubst from . import midicontrols from .tooltips import set_tip from . import songdb from .prelims import * _ = gettext.translation(FGlobs.package_name, FGlobs.localedir, fallback=True).gettext args = ArgumentParserImplementation().parse_args() pm = ProfileManager() link_uuid_reg = LinkUUIDRegistry() METER_TEXT_SIZE = 8000 class FreewheelButton(gtk.Button): LED = LEDDict(9) def __init__(self, mixer_write): gtk.Button.__init__(self) hbox = gtk.HBox() self._indicator = gtk.Image() self._indicator.set_alignment(0.0, 0.0) hbox.pack_start(self._indicator, False) self._indicator.show() label = gtk.Label() label.set_padding(2, 0) label.set_alignment(1.0, 0.5) label.set_markup(u"\u2699") hbox.pack_start(label, False) label.show() self.add(hbox) hbox.show() self._mixer_write = mixer_write self.connect("clicked", lambda w: self._cb_toggle()) self._enabler = gtk.CheckButton(_('Show a JACK freewheel control on the main panel')) self._enabler.connect("toggled", self._cb_enabler) set_tip(self, _('Toggle JACK freewheel mode.')) self._active = None self.set_meter_value(False) def _cb_toggle(self): self._mixer_write("ACTN=freewheel_toggle\nend\n") def set_active(self, active): self._mixer_write( "ACTN=freewheel_%s\nend\n" % ("on" if active else "off")) def _cb_enabler(self, widget): self.set_visible(widget.get_active()) @property def enabler(self): """This button has a show/hide control in prefs.""" return self._enabler @property def activedict(self): """Info for save/restore.""" return {"freewheel_button_enable": self._enabler} def set_meter_value(self, active): """Indicator of freewheel mode to be set using this method.""" if active != self._active: self._active = active self._indicator.set_from_pixbuf(self.LED["red" if active else "clear"]) class MenuMixin(object): def build(self, menu, autowipe=False, use_underline=True): def mkitems(x, how=gtk.MenuItem): for name, text in x: mi = how(text) mi.set_use_underline(use_underline) menu.append(mi) mi.show() setattr(self, name + "menu_i", mi) if autowipe: mi.connect("activate", self.cb_autowipe) if issubclass(how, gtk.CheckMenuItem) and use_underline == True: a = gtk.ToggleAction(None, text, None, None) a.connect_proxy(mi) setattr(self, name + "menu_a", a) return mkitems def submenu(self, mi, name): m = gtk.Menu() mi.set_submenu(m) m.show() setattr(self, name + "menu", m) return m def sep(self, menu): s = gtk.SeparatorMenuItem() menu.append(s) s.show() def cb_autowipe(self, mi): mi.get_submenu().foreach(lambda w: w.destroy()) class MainMenu(gtk.MenuBar, MenuMixin): def __init__(self): gtk.MenuBar.__init__(self) self.build(self)((("file", _('File')), ("view", _('View')), ("jack", _('JACK Ports')), ("help", _('Help')))) self.submenu(self.filemenu_i, "file") self.build(self.filemenu, autowipe=True)((("streams", _('Streams')), ("recorders", _('Recorders')))) self.sep(self.filemenu) self.build(self.filemenu)((("quit", gtk.STOCK_QUIT),), gtk.ImageMenuItem) for each in ("streams", "recorders"): mi = getattr(self, each + "menu_i") m = self.submenu(mi, each) self.submenu(self.viewmenu_i, "view") mkitems = self.build(self.viewmenu) mkitems(zip("output prefs profiles".split(" "), (_('Output'), _('Preferences'), _('Profiles')))) self.sep(self.viewmenu) mkitems(zip("songdb chmeters strmeters players backgroundtracks buttonbar".split(" "), (_('Music Database'), _('Channel Meters'), _('Output Meters'), _('Tabbed Area'), _('Background Tracks'), _('Button Bar'))), gtk.CheckMenuItem) if not songdb.have_songdb: self.songdbmenu_i.hide() self.submenu(self.jackmenu_i, "jack") self.submenu(self.helpmenu_i, "help") self.build(self.helpmenu)((("about", gtk.STOCK_ABOUT),), gtk.ImageMenuItem) self.filemenu_i.connect("activate", self.cb_filemenu_activate) def cb_filemenu_activate(self, menuitem): self.streamsmenu_i.emit("activate") self.recordersmenu_i.emit("activate") class JackMenu(MenuMixin): def __init__(self, menu, write, read): self.menu = menu self.write = write self.read = read self.ports = [] self.pathname = pm.ports_pathname self.session_type = pm.session_type # pylint: disable=E1103 # # member really exists, was created by setattr mkitems = self.build(menu.jackmenu) mkitems(zip( "channels players voip dsp mix output other".split(), ( _('Channels'), _('Players'), _('VoIP'), _('DSP'), _('Mix'), _('Output'), _('Misc')))) self.submenu(self.channelsmenu_i, "channels") self.submenu(self.playersmenu_i, "players") self.submenu(self.voipmenu_i, "voip") self.submenu(self.dspmenu_i, "dsp") self.submenu(self.mixmenu_i, "mix") self.submenu(self.outputmenu_i, "output") self.submenu(self.othermenu_i, "other") out2_in2 = itertools.cycle(("_out_",)*2 + ("_in_",)*2) out2_in1 = itertools.cycle(("_out_",)*2 + ("_in_",)*1) lr = itertools.cycle("lr") dj2_str2 = itertools.cycle(("dj",)*2 + ("str",)*2) for prefix in "pl pr pi".split(): for each in zip((prefix,) * 4, out2_in2, lr): self.add_port(self.playersmenu, "".join(each)) for prefix in "pe01-12 pe13-24".split(): for each in zip((prefix,) * 2, ("_out_", ) * 2, lr): self.add_port(self.playersmenu, "".join(each)) for each in zip(("pe_in_", ) * 2, lr): self.add_port(self.playersmenu, "".join(each)) for each in zip(("voip",) * 4, out2_in2, lr): self.add_port(self.voipmenu, "".join(each)) for each in zip(("dsp",) * 4, out2_in2, lr): self.add_port(self.dspmenu, "".join(each)) for each in zip(dj2_str2, ("_out_",)*4, lr): self.add_port(self.mixmenu, "".join(each)) for i in range(1, PGlobs.num_micpairs * 2 + 1): self.add_port(self.channelsmenu, "ch_in_" + str(i)) for each in zip(("output_in_",) * 2, lr): self.add_port(self.outputmenu, "".join(each)) self.add_port(self.othermenu, "midi_control") self.add_port(self.othermenu, "alarm_out") self._port_data = [] self.sep(menu.jackmenu) mkitems((("reset", _('Reset')),)) self.resetmenu_i.connect("activate", self._reset_confirm_dialog) set_tip(self.resetmenu_i, _('Reset the JACK port connections to the default settings.')) def _reset_confirm_dialog(self, menuitem): dialog = ConfirmationDialog("", _('Reset all JACK port connections?\n\n' 'All currently established connections will be lost\n' 'and replaced with defaults.'), markup=True, action=gtk.STOCK_YES, inaction=gtk.STOCK_NO) dialog.set_transient_for(self.menu.get_toplevel()) dialog.ok.connect("clicked", lambda w: self._reset_port_connections()) dialog.show_all() def _reset_port_connections(self): for port in self.ports: self.write("disconnect", "JPRT=%s\nJPT2=\nend\n" % port) self.load(where="") def add_port(self, menu, port): pport = os.environ["client_id"] + ":" + port self.ports.append(pport) self.build(menu, autowipe=True, use_underline=False)(((port, pport),)) mi = getattr(self, port + "menu_i") sub = self.submenu(mi, port) mi.connect("activate", self.cb_port_connections, pport, sub) mi.emit("activate") def cb_port_connections(self, mi, port, menu): reply = "" if "_in_" in port or port.endswith("_in"): filter_ = "outputs" elif "_out_" in port or port.endswith("_out"): filter_ = "inputs" elif "midi" in port: filter_ = "midioutputs" else: print "JackMenu.port_connections: unknown port type" return self.write("portread", "JFIL=%s\nJPRT=%s\nend\n" % (filter_, port)) while not reply.startswith("jackports="): reply = self.read() reply = reply[10:].rstrip().split() if not reply: self.build(menu)((("noports", _('No compatible ports available.')),)) self.noportsmenu_i.set_sensitive(False) else: for destport in reply: self.build(menu, use_underline=False)( (("targetport", destport.lstrip("@")),), how=gtk.CheckMenuItem) mi = getattr(self, "targetportmenu_i") if destport.startswith("@"): mi.set_active(True) mi.connect( "activate", self.cb_activate, port, destport.lstrip("@")) def cb_activate(self, mi, local, dest): cmd = "connect" if mi.get_active() else "disconnect" self.write(cmd, "JPRT=%s\nJPT2=%s\nend\n" % (local, dest)) # Defer save until backend reports connections have changed. def get_playback_port_qty(self): self.write("portread", "JFIL=\nJPRT=\nend\n") reply = "" while not reply.startswith("jackports="): reply = self.read() pbports = len([x for x in reply[10:].strip().split() if x.startswith("system:playback_")]) return pbports def standard_save(self): self._port_data = self._get_port_data() if self.session_type == "L0": self._save(self._port_data) def session_save(self, where=None): self._port_data = self._get_port_data() self._save(self._port_data, where) if pm.profile is not None: arg = _("{0} profile={1}:{2} settings saved.").format( PGlobs.app_shortform, self.session_type, pm.profile) else: arg = _("{0} session={1}:{2} settings saved.").format( PGlobs.app_shortform, self.session_type, pm.session_name) try: subprocess.call(["notify-send", arg]) except OSError: pass def _get_port_data(self): total = [] for port in self.ports: element = [port] self.write("portread", "JFIL=\nJPRT=%s\nend\n" % port) reply = "" while not reply.startswith("jackports="): reply = self.read() element.append([x.lstrip("@") for x in reply[10:].rstrip().split() if x.startswith("@")]) total.append(element) return total def _save(self, data, where=None): if where is not None: where = os.path.join(where, os.path.split(self.pathname)[1]) client_id = "\"%s:" % os.environ["client_id"] try: with open(where or self.pathname, "w") as f: f.write(json.dumps(data).replace(client_id, "\"{client_id}:")) except Exception as e: print "problem writing", self.pathname else: print "jack connections saved" def load(self, where=None , startup=False): try: where = self.pathname if where is None else where with open(where) as f: cons = f.read() except Exception: if where: print "problem reading JACK connections files,", where if args.no_default_jack_connections: cons = [] else: cons = """[ ["{client_id}:pl_out_l", ["{client_id}:pl_in_l"]], ["{client_id}:pl_out_r", ["{client_id}:pl_in_r"]], ["{client_id}:pr_out_l", ["{client_id}:pr_in_l"]], ["{client_id}:pr_out_r", ["{client_id}:pr_in_r"]], ["{client_id}:pi_out_l", ["{client_id}:pi_in_l"]], ["{client_id}:pi_out_r", ["{client_id}:pi_in_r"]], ["{client_id}:pe01-12_out_l", ["{client_id}:pe_in_l"]], ["{client_id}:pe01-12_out_r", ["{client_id}:pe_in_r"]], ["{client_id}:pe13-24_out_l", ["{client_id}:pe_in_l"]], ["{client_id}:pe13-24_out_r", ["{client_id}:pe_in_r"]], ["{client_id}:ch_in_1", ["system:capture_1"]], ["{client_id}:ch_in_2", ["system:capture_2"]], ["{client_id}:dj_out_l", ["system:playback_1"]], ["{client_id}:dj_out_r", ["system:playback_2"]], ["{client_id}:alarm_out", ["system:playback_1", "system:playback_2"]], ["{client_id}:output_in_l", ["{client_id}:str_out_l"]], ["{client_id}:output_in_r", ["{client_id}:str_out_r"]], """ if self.get_playback_port_qty() < 8: cons += """ ["{client_id}:str_out_l", ["system:playback_3", "{client_id}:output_in_l"]], ["{client_id}:str_out_r", ["system:playback_4", "{client_id}:output_in_r"]]] """ else: cons += """ ["{client_id}:str_out_l", ["system:playback_5", "{client_id}:output_in_l"]], ["{client_id}:str_out_r", ["system:playback_6", "{client_id}:output_in_r"]]] """ try: cons = json.loads(cons.format(client_id=os.environ["client_id"])) except ValueError: print "jack port connections file is empty" else: self._port_data = cons if not startup or not args.no_jack_connections: self.restore(cons) def restore(self, cons=None, restrict=""): cons = cons or self._port_data for port, targets in cons: for target in targets: if port.startswith(restrict): self.write("connect", "JPRT=%s\nJPT2=%s\nend\n" % (port, target)) class ColouredArea(gtk.DrawingArea): def __init__(self, colour=gtk.gdk.Color()): gtk.DrawingArea.__init__(self) self.colour = colour self.rect = gtk.gdk.Rectangle() self.connect("realize", self._on_realize) self.connect("configure-event", self._on_configure) self.connect("expose-event", self._on_expose) def set_colour(self, colour): self.colour = colour self.queue_draw_area(0, 0, self.rect.width, self.rect.height) def _on_realize(self, widget): self.gc = gtk.gdk.GC(self.window) def _on_configure(self, widget, event): self.rect.width = event.width self.rect.height = event.height def _on_expose(self, widget, event): self.gc.set_rgb_fg_color(self.colour) self.window.draw_rectangle( self.gc, True, 0, 0, self.rect.width, self.rect.height) class ColourButton(gtk.ColorButton): def get_text(self): return self.get_color().to_string() def set_text(self, string): self.set_color(gtk.gdk.Color(string)) class IconChooserButtonExtd(IconChooserButton): def get_text(self): return self.get_filename() or "" def set_text(self, filename): self.set_filename(filename or None) class MicButton(gtk.ToggleButton): @property def flash(self): return self.__flash @flash.setter def flash(self, value): self.__flash = bool(value) and self.has_reminder_flash() self.__indicate() @staticmethod def __cb_toggle(self): self.__indicate() if self.get_active(): self.set_colour(self.open_colour) self.opener_tab.button_was_on = True else: self.opener_tab.button_was_on = False def __indicate(self): if self.get_active(): if self.flash: self.set_colour(self.flash_colour) else: self.set_colour(self.open_colour) else: self.set_colour(self.closed_colour) def set_colour(self, colour): for each in (self.ca1, self.ca2): each.set_colour(colour) def __init__(self, opener_settings, opener_tab, mic_agc_list): gtk.ToggleButton.__init__(self) self.opener_tab = opener_tab nsa = not opener_settings.button_numbers.get_active() self.open_colour = opener_settings.open_colour.get_color() self.closed_colour = opener_settings.closed_colour.get_color() self.flash_colour = opener_settings.reminder_colour.get_color() self.has_reminder_flash = opener_tab.has_reminder_flash.get_active attrlist = pango.AttrList() attrlist.insert(pango.AttrSize(METER_TEXT_SIZE, 0, 100)) hbox = gtk.HBox() hbox.set_spacing(4) def make_indicator(): ca = ColouredArea(self.closed_colour) width = opener_settings.indicator_width.get_value_as_int() if width: ca.set_size_request(width, -1) hbox.pack_start(ca, False) return ca self.ca1 = make_indicator() lvbox = gtk.VBox() hbox.pack_start(lvbox, False) self._ident_label = gtk.Label() self._ident_label.set_no_show_all(nsa) self._ident_label.set_alignment(0.0, 0.0) self._ident_label.set_attributes(attrlist) lvbox.pack_start(self._ident_label, False) self._chan_label3 = gtk.Label() self._chan_label3.set_no_show_all(nsa) self._chan_label3.set_alignment(0.0, 1.0) self._chan_label3.set_attributes(attrlist) lvbox.pack_end(self._chan_label3, False) pad = gtk.HBox() hbox.pack_start(pad) self._text_label = gtk.Label() text = opener_tab.button_text.get_text().strip() if text: self._text_label.set_text(text) hbox.pack_start(self._text_label, False) self._icon_image = gtk.Image() icon = opener_tab.icb.get_filename() try: pb = gtk.gdk.pixbuf_new_from_file_at_size(icon, 47, 20) except (TypeError, glib.GError): pass else: self._icon_image.set_from_pixbuf(pb) hbox.pack_start(self._icon_image, False) pad = gtk.HBox() hbox.pack_start(pad) rvbox = gtk.VBox() hbox.pack_start(rvbox, False) self._chan_label1 = gtk.Label() self._chan_label1.set_no_show_all(nsa) self._chan_label1.set_alignment(1.0, 0.0) self._chan_label1.set_attributes(attrlist) rvbox.pack_start(self._chan_label1, False) self._chan_label2 = gtk.Label() self._chan_label2.set_no_show_all(nsa) self._chan_label2.set_alignment(1.0, 1.0) self._chan_label2.set_attributes(attrlist) rvbox.pack_end(self._chan_label2, False) self.ca2 = make_indicator() self.add(hbox) to_close = ",".join(str(i) for i, cb in enumerate( opener_tab.closer_hbox.get_children(), start=1) if cb.get_active()) if to_close: to_close = "!" + to_close self._ident_label.set_text("(%d)%s" % (opener_tab.ident, to_close)) def labeltext(): for blk in itertools.izip_longest(*(iter(mic_agc_list),) * 4): yield ",".join(x.ui_name for x in blk if x is not None) for text, label in zip(labeltext(), (self._chan_label1, self._chan_label2, self._chan_label3)): label.set_text(text) self.connect("toggled", self.__cb_toggle) self.__flash = False self.show_all() class OpenerTab(gtk.VBox): __gsignals__ = { "changed" : ( gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, ())} def __init__(self, ident): gtk.VBox.__init__(self) self.set_border_width(6) self.set_spacing(4) self.label = gtk.Label() self.label.show() self.set_ident(ident) self.activedict = {} sg = gtk.SizeGroup(gtk.SIZE_GROUP_HORIZONTAL) lhbox = gtk.HBox() lhbox.set_spacing(3) label = gtk.Label(_('Text')) lhbox.pack_start(label, False) self.button_text = gtk.Entry() set_tip(self.button_text, _("The opener button's text.")) self.button_text.connect("changed", lambda w: self.emit("changed")) sg.add_widget(self.button_text) lhbox.pack_start(self.button_text) spc = gtk.HBox() lhbox.pack_start(spc, False, padding=2) label = gtk.Label(_('Icon')) lhbox.pack_start(label, False) self.icon_chooser = IconPreviewFileChooserDialog("Choose An Icon", buttons = (gtk.STOCK_CLEAR, gtk.RESPONSE_NONE, gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL, gtk.STOCK_OK, gtk.RESPONSE_OK)) self.icb = IconChooserButtonExtd(self.icon_chooser) set_tip(self.icb, _("The opener button's icon.")) self.icb.connect("filename-changed", lambda w, r: self.emit("changed")) sg.add_widget(self.icb) lhbox.pack_start(self.icb, True) self.pack_start(lhbox, False) hbox = gtk.HBox() set_tip(hbox, _('The headroom is the amount by which to reduce player ' 'volume when this opener is active. Note that the actual amount will be' ' the largest value of all the currently open buttons.')) self.pack_start(hbox, False) label = gtk.Label(_('The amount of headroom required (dB)')) label.set_alignment(0.0, 0.5) hbox.pack_start(label, False) self.headroom = gtk.SpinButton( gtk.Adjustment(0.0, 0.0, 32.0, 0.5), digits=1) self.headroom.connect("value-changed", lambda w: self.emit("changed")) hbox.pack_end(self.headroom, False) self.has_reminder_flash = gtk.CheckButton( _('This button will flash as a reminder to close')) set_tip(self.has_reminder_flash, _("After a number of seconds where a " "main player is active this button's status indicator will start to " "flash and will continue to do so until the button is closed or the " "player stops.")) self.pack_start(self.has_reminder_flash, False) self.is_microphone = gtk.CheckButton( _('This button is to be treated as a microphone opener')) set_tip(self.is_microphone, _("The button will be grouped with the " "other microphone opener buttons. It will be affected by signals to " "close microphone buttons. Channels associated with this button will " "be mixed differently when using the VoIP modes.")) self.is_microphone.connect("toggled", lambda w: self.emit("changed")) self.pack_start(self.is_microphone, False) self.freewheel_cancel = gtk.CheckButton( 'This button will automatically cancel JACK freewheel mode') self.pack_start(self.freewheel_cancel, False) set_tip(self.freewheel_cancel, _('This should be set for all buttons' ' that control input from a live sound source or device.')) frame = gtk.Frame(" %s " % _('Button Open Triggers')) self.pack_start(frame, False, padding=3) self.open_triggers = collections.OrderedDict() lvbox = gtk.VBox() rvbox = gtk.VBox() for w, t, col in zip( ("advance", "stop_control", "stop_control2", "announcement"), (_('Playlist advance button'), _("'%s' control") % _('Player Stop'), _("'%s' control") % _('Player Stop 2'), _('Announcements')), itertools.cycle((lvbox, rvbox))): cb = gtk.CheckButton(t) self.open_triggers[w] = cb col.pack_start(cb, False) self.activedict["oc_" + w] = cb hbox = gtk.HBox(True, 10) hbox.set_border_width(6) for each in (lvbox, rvbox): hbox.pack_start(each, False) frame.add(hbox) frame = gtk.Frame(" %s " % _('When opened close these other buttons')) self.pack_start(frame, False, padding=3) self.closer_hbox = gtk.HBox() self.closer_hbox.set_border_width(3) for i in range(1, ident): cb = gtk.CheckButton(str(i)) cb.connect("toggled", lambda w: self.emit("changed")) self.closer_hbox.pack_start(cb) self.activedict["close_%d_button" % i] = cb frame.add(self.closer_hbox) frame = gtk.Frame(" %s " % _('Shell Command')) set_tip(frame, _("Mostly useful issuing 'amixer' commands, in " "particular for setting capture.")) self.pack_start(frame, False, padding=3) ivbox = gtk.VBox() frame.add(ivbox) ivbox.set_border_width(6) ivbox.set_spacing(3) sg = gtk.SizeGroup(gtk.SIZE_GROUP_HORIZONTAL) def enbox(l, r): hbox = gtk.HBox() hbox.set_spacing(3) label = gtk.Label(l) label.set_alignment(0.0, 0.5) hbox.pack_start(label, False) hbox.pack_start(r) sg.add_widget(r) return hbox self.shell_on_open = gtk.Entry() self.shell_on_close = gtk.Entry() ivbox.pack_start(enbox(_('On open'), self.shell_on_open), False) ivbox.pack_start(enbox(_('On close'), self.shell_on_close), False) self.activedict.update({ "reminderflash" : self.has_reminder_flash, "isamicrophone" : self.is_microphone, "cancelsfreewheel" : self.freewheel_cancel }) self.valuesdict = { "headroom" : self.headroom } self.textdict = { "iconpathname" : self.icb, "buttontext" : self.button_text, "shell_onopen" : self.shell_on_open, "shell_onclose" : self.shell_on_close, } self.button_was_on = False def set_ident(self, ident): self.label.set_text(str(ident)) self.ident = ident def add_closer(self, closer_ident): cb = gtk.CheckButton(str(closer_ident)) if closer_ident == self.ident: cb.set_sensitive(False) else: cb.connect("toggled", lambda w: self.emit("changed")) self.activedict["close_%d_button" % closer_ident] = cb self.closer_hbox.pack_start(cb) cb.show() class OpenerSettings(gtk.Frame): __gsignals__ = { "changed" : (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, (gobject.TYPE_PYOBJECT,))} def __init__(self): gtk.Frame.__init__(self, " %s " % _('Main Panel Opener Buttons')) self.set_border_width(3) def changed(*args): self.emit("changed", None) vbox = gtk.VBox() self.add(vbox) vbox.set_border_width(7) vbox.set_spacing(3) self.button_numbers = gtk.CheckButton( _('Indicate button numbers and associated channel numbers')) set_tip(self.button_numbers, _("A useful feature to have switched on " "while allocating channel openers.")) self.button_numbers.connect("toggled", changed) vbox.pack_start(self.button_numbers, False) frame = gtk.Frame(" %s " % _('Status Indicator Appearance')) set_tip(frame, _('Each opener button has two vertical bars at the side to make the ' 'button state more apparent. These settings control their appearance.')) vbox.pack_start(frame, False, padding=6) hbox = gtk.HBox() hbox.set_border_width(3) hbox.set_spacing(3) frame.add(hbox) hbox.pack_start(gtk.Label(_('Width')), False) self.indicator_width = gtk.SpinButton( gtk.Adjustment(4.0, 0.0, 10.0, 1.0), digits=0) self.indicator_width.connect("value-changed", changed) hbox.pack_start(self.indicator_width, False) hbox.pack_start(gtk.HBox()) hbox.pack_start(gtk.Label(_('Opened')), False) self.open_colour = ColourButton(gtk.gdk.Color(0.95, 0.2, 0.2)) hbox.pack_start(self.open_colour, False) hbox.pack_start(gtk.HBox()) hbox.pack_start(gtk.Label(_('Closed')), False) col = gtk.gdk.Color("gray") self.closed_colour = ColourButton(col) hbox.pack_start(self.closed_colour, False) hbox.pack_start(gtk.HBox()) hbox.pack_start(gtk.Label(_('Remind')), False) self.reminder_colour = ColourButton(col) hbox.pack_start(self.reminder_colour, False) for each in (self.open_colour, self.closed_colour, self.reminder_colour): each.connect("color-set", changed) self.notebook = gtk.Notebook() vbox.pack_start(self.notebook, False, padding=3) self.show_all() self.activedict = { "btnnumbers" : self.button_numbers, } self.textdict = { "btncolour_opened" : self.open_colour, "btncolour_closed" : self.closed_colour, "btncolour_remind" : self.reminder_colour, } self.valuesdict = { "btnreminderwidth": self.indicator_width, } def add_channel(self): tab = OpenerTab(len(self.notebook) + 1) self.notebook.append_page(tab, tab.label) def add_closer(each_tab): each_tab.add_closer(tab.ident) self.notebook.foreach(add_closer) tab.show_all() tab.connect("changed", lambda w: self.emit("changed", tab)) def finalise(self): for tab in self.notebook.get_children(): for attrname in ("activedict", "valuesdict", "textdict"): dest = getattr(self, attrname) src = getattr(tab, attrname) for key, val in src.iteritems(): dest[key + "_%d" % tab.ident] = val class MicOpener(gtk.HBox): @property def any_mic_selected(self): return self._any_mic_selected def notify_others(self, freewheel_cancel=False): r = self.approot if freewheel_cancel: r.freewheel_button.set_active(False) # Player headroom for mic-audio toggle. r.mixer_write("ACTN=anymic\nFLAG=%d\nend\n" % self.any_mic_selected) r.mixer_write("HEAD=%f\nACTN=headroom\nend\n" % self._headroom) r.new_mixermode(r.mixermode) def cb_mictoggle(self, button, mics): self._flashing_timer = 0 fwc = False if button.get_active(): fwc = button.opener_tab.freewheel_cancel.get_active() cmd = button.opener_tab.shell_on_open.get_text().strip() closers = button.opener_tab.closer_hbox.get_children() for i, closer in enumerate(closers, start=1): if closer.get_active(): try: self.ix2button[i].set_active(False) except KeyError: pass else: cmd = button.opener_tab.shell_on_close.get_text().strip() if cmd and not button.block_shell_command: print "button %d shell command: %s" % (button.opener_tab.ident, cmd) subprocess.Popen(cmd, shell=True, close_fds=True) for mic in mics: mic.open.set_active(button.get_active()) self._any_mic_selected = any(mb.get_active() for mb in self.buttons if mb.opener_tab.is_microphone.get_active()) try: self._headroom = max(mb.opener_tab.headroom.get_value() for mb in self.buttons if mb.get_active()) except ValueError: self._headroom = 0.0 self.notify_others(freewheel_cancel=fwc) def cb_reconfigure(self, widget, trigger=None): self.new_button_set() def new_button_set(self): # Clear away old button widgets. self.foreach(lambda x: x.destroy()) self.mic2button = {} self.buttons = [] self.ix2button = {} joiner = ' ' mic_group_list = [[] for x in xrange(PGlobs.num_micpairs * 2)] aux_group_list = [[] for x in xrange(PGlobs.num_micpairs * 2)] ot = self.opener_settings.notebook.get_children() mic_qty = aux_qty = 0 # Categorisation of channels into button groups. for m in self.mic_list: mode = m.mode.get_active() if mode: pm = m.partner if mode == 3 else m if pm.group.get_active(): oti = int(pm.groups_adj.value) - 1 if ot[oti].is_microphone.get_active(): t = mic_group_list[oti] if not t: mic_qty += 1 else: t = aux_group_list[oti] if not t: aux_qty += 1 t.append(m) # Opener buttons built here. def build(group_list, closer): image = gtk.image_new_from_stock( gtk.STOCK_CLOSE, gtk.ICON_SIZE_BUTTON) closer_button = gtk.Button() closer_button.set_image(image) closer_button.show_all() if closer == "left": self.pack_start(closer_button, False) for i, g in enumerate(group_list): if g: mic_list = [] mb = MicButton(self.opener_settings, ot[i], g) self.ix2button[mb.opener_tab.ident] = mb self.buttons.append(mb) active = False for m in g: mic_list.append(m) if m.open.get_active(): active = True self.mic2button[m.ui_name] = mb mb.connect("toggled", self.cb_mictoggle, mic_list) self.add(mb) mb.show() mb.block_shell_command = mb.opener_tab.button_was_on mb.set_active(active) mb.block_shell_command = False closer_button.connect("clicked", lambda w, btn: btn.set_active(False), mb) if closer == "right": self.pack_start(closer_button, False) if aux_qty: build(aux_group_list, closer=("right" if aux_qty > 1 else None)) if mic_qty: spc = gtk.HBox() spc.set_size_request(3, -1) self.pack_start(spc, False) spc.show() if mic_qty: build(mic_group_list, closer=("left" if mic_qty > 1 else None)) if self._forced_on_mode: self.force_all_on(True) if not self.mic2button: # TC: A placeholder text for when there are no opener buttons. l = gtk.Label(_('No Channel Opener Buttons')) l.set_sensitive(False) self.add(l) l.show() # Categorisation of channels according to type a or m (aux or mic) channel_modes = ['a' for i in range(PGlobs.num_micpairs * 2)] for button in mic_group_list: for channel in button: channel_modes[channel.index] = 'm' self.approot.mixer_write("CMOD=%s\nACTN=new_channel_mode_string\nend\n" % "".join(channel_modes)) self.notify_others() @threadslock def cb_flash_timeout(self): if self._flash_test() and not self._forced_on_mode: self._flashing_timer += 1 else: self._flashing_timer = 0 flash_value = bool((self._flashing_timer % 2) if self._flashing_timer > 7 else 0) for mb in self.buttons: mb.flash = flash_value return True def force_all_on(self, val): """Switch on all front panel mic buttons and make them insensitive.""" self._forced_on_mode = val for mb in self.buttons: if mb.opener_tab.is_microphone.get_active(): if val: mb.set_active(True) mb.set_sensitive(not val) mb.set_inconsistent(val) def open_auto(self, type_): for b in self.buttons: try: cb = b.opener_tab.open_triggers[type_] except KeyError: print "unknown auto open type:", type_ else: if cb.get_active(): b.set_active(True) def oc(self, mic, val): """Perform open/close.""" try: self.mic2button[mic].set_active(val) except: for m in self.mic_list: if mic == m.ui_name: mode = m.mode.get_active() if mode in (1, 2): m.open.set_active(val) elif mode == 3: m.partner.open.set_active(val) break def get_opener_button(self, ix): try: m = self.mic_list[ix] return self.mic2button[m.ui_name] except KeyError: mode = m.mode.get_active() if mode in (1, 2): return m.open elif mode == 3: return m.partner.open print "channel %d is not active" % (ix + 1) except IndexError: print "channel %d does not exist" % (ix + 1) return None def close_all(self): for mb in self.buttons: mb.set_active(False) def open(self, val): self.oc(val, True) def close(self, val): self.oc(val, False) def add_mic(self, mic): """mic: AGCControl object passed here to register it with this class.""" self.opener_settings.add_channel() self.mic_list.append(mic) for attr, signal in zip ( ("mode", "group", "no_front_panel_opener", "groups_adj"), ("changed", "toggled", "toggled", "notify::value")): getattr(mic, attr).connect(signal, self.cb_reconfigure) def finalise(self): self.opener_settings.finalise() def __init__(self, approot, flash_test): self.approot = approot self._flash_test = flash_test gtk.HBox.__init__(self) self.set_spacing(2) self.mic_list = [] self.buttons = [] self.mic2button = {} self._any_mic_selected = False self._forced_on_mode = False self._flashing_mode = False self._flashing_timer = 0 self._headroom = 0.0 timeout = glib.timeout_add(700, self.cb_flash_timeout) self.connect("destroy", lambda w: glib.source_remove(timeout)) self.opener_settings = OpenerSettings() self.opener_settings.connect("changed", self.cb_reconfigure) class PaddedVBox(gtk.VBox): def vbox_pack_start(self, *args, **kwargs): self.vbox.pack_start(*args, **kwargs) def vbox_add(self, *args, **kwargs): self.vbox.add(*args, **kwargs) def __init__(self, l, t, r, b, s): gtk.VBox.__init__(self) d = gtk.VBox() self.pack_start(d, False, False, t) d.show() d = gtk.VBox() self.pack_end(d, False, False, b) d.show() h = gtk.HBox() self.pack_start(h, True, True) h.show() d = gtk.VBox() h.pack_start(d, False, False, l) d.show() d = gtk.VBox() h.pack_end(d, False, False, r) d.show() self.vbox = gtk.VBox() self.vbox.set_spacing(s) h.pack_start(self.vbox) self.vbox.show() self.pack_start = self.vbox_pack_start self.add = self.vbox_add def make_meter_scale(): # A logarithmic meter scale for a 'VU' meter scalebox = gtk.VBox() label = gtk.Label(" 0") attrlist = pango.AttrList() attrlist.insert(pango.AttrSize(METER_TEXT_SIZE, 0, len(label.get_text()))) label.set_attributes(attrlist) alignment = gtk.Alignment(0, 0) alignment.add(label) label.show() scalebox.add(alignment) alignment.show() label = gtk.Label(" -6") attrlist = pango.AttrList() attrlist.insert(pango.AttrSize(METER_TEXT_SIZE, 0, len(label.get_text()))) label.set_attributes(attrlist) alignment = gtk.Alignment(0, 0) alignment.add(label) label.show() scalebox.add(alignment) alignment.show() label = gtk.Label("-12") attrlist = pango.AttrList() attrlist.insert(pango.AttrSize(METER_TEXT_SIZE, 0, len(label.get_text()))) label.set_attributes(attrlist) alignment = gtk.Alignment(0, 0.25) alignment.add(label) label.show() scalebox.add(alignment) alignment.show() label = gtk.Label("-18") attrlist = pango.AttrList() attrlist.insert(pango.AttrSize(METER_TEXT_SIZE, 0, len(label.get_text()))) label.set_attributes(attrlist) alignment = gtk.Alignment(0, 0.5) alignment.add(label) label.show() scalebox.add(alignment) alignment.show() label = gtk.Label("-24") attrlist = pango.AttrList() attrlist.insert(pango.AttrSize(METER_TEXT_SIZE, 0, len(label.get_text()))) label.set_attributes(attrlist) alignment = gtk.Alignment(0, 0.75) alignment.add(label) label.show() scalebox.add(alignment) alignment.show() label = gtk.Label("-30") attrlist = pango.AttrList() attrlist.insert(pango.AttrSize(METER_TEXT_SIZE, 0, len(label.get_text()))) label.set_attributes(attrlist) alignment = gtk.Alignment(0, 1) alignment.add(label) label.show() scalebox.add(alignment) alignment.show() label = gtk.Label("-36") attrlist = pango.AttrList() attrlist.insert(pango.AttrSize(METER_TEXT_SIZE, 0, len(label.get_text()))) label.set_attributes(attrlist) alignment = gtk.Alignment(0, 1) alignment.add(label) label.show() scalebox.add(alignment) alignment.show() return scalebox def make_meter_unit(text, l_meter, r_meter): mic_peak_box = gtk.VBox() mic_peak_box.set_border_width(0) frame = gtk.Frame() frame.set_border_width(4) hbox = gtk.HBox() hbox.set_border_width(1) frame.add(hbox) label = gtk.Label(text) attrlist = pango.AttrList() attrlist.insert(pango.AttrSize(METER_TEXT_SIZE, 0, len(text))) label.set_attributes(attrlist) labelbox = gtk.HBox() labelbox.add(label) label.show() mic_peak_box.pack_start(labelbox, False, False, 0) labelbox.show() mic_peak_box.add(frame) frame.show() hbox.show() l_meter.set_size_request(16, -1) hbox.add(l_meter) scalebox = make_meter_scale() hbox.add(scalebox) scalebox.show() r_meter.set_size_request(16, -1) hbox.add(r_meter) l_meter.show() r_meter.show() return mic_peak_box def make_stream_meter_unit(text, meters): outer_vbox = gtk.VBox() outer_vbox.set_border_width(0) frame = gtk.Frame() frame.set_border_width(4) inner_vbox = gtk.VBox() frame.add(inner_vbox) label = gtk.Label(text) attrlist = pango.AttrList() attrlist.insert(pango.AttrSize(METER_TEXT_SIZE, 0, len(text))) label.set_attributes(attrlist) labelbox = gtk.HBox() labelbox.add(label) label.show() outer_vbox.pack_start(labelbox, False, False, 0) labelbox.show() outer_vbox.pack_start(frame, False, False, 0) frame.show() inner_vbox.show() for num, meter in enumerate(meters): hbox = gtk.HBox() hbox.set_border_width(1) hbox.set_spacing(1) inner_vbox.add(hbox) hbox.show() label = gtk.Label(str(num + 1)) hbox.pack_start(label, False, False, 0) label.show() vbox = gtk.VBox() vbox.pack_start(meter, True, True, 2) meter.show() hbox.pack_start(vbox, True, True, 0) vbox.show() set_tip(frame, _('This indicates the state of the various streams. Flashing' ' means stream packets are being discarded because of network congestion. ' 'Partial red means the send buffer is partially full indicating difficulty' ' communicating with the server. Green means everything is okay.')) frame = gtk.Frame() # Main panel listener figures box. frame.set_label_align(0.5, 0.5) pixbuf = gtk.gdk.pixbuf_new_from_file_at_size( FGlobs.pkgdatadir / "listenerphones.png", 20, 16) image = gtk.image_new_from_pixbuf(pixbuf) frame.set_label_widget(image) image.show() frame.set_border_width(4) inner_vbox = gtk.VBox() frame.add(inner_vbox) inner_vbox.show() connections = gtk.Label("0") inner_vbox.add(connections) connections.show() outer_vbox.pack_start(frame, False, False, 0) frame.show() set_tip(frame, _('The combined total number of listeners in all server tabs.')) return outer_vbox, connections class StreamMeter(gtk.Frame): """Main panel meter showing stream status and buffer fill.""" def realize(self, widget): self.gc = gtk.gdk.GC(self.window) self.gc.copy(self.da.get_style().fg_gc[gtk.STATE_NORMAL]) self.green = gtk.gdk.color_parse("#30D030") self.red = gtk.gdk.color_parse("#D05044") self.grey = gtk.gdk.color_parse("darkgray") def expose(self, widget, event): if self.flash or not self.active: self.gc.set_rgb_fg_color(self.grey) self.da.window.draw_rectangle( self.gc, True, 0, 0, self.rect.width, self.rect.height) else: valuep = int(float(self.value - self.base) / float(self.top - self.base) * self.rect.width) self.gc.set_rgb_fg_color(self.red) self.da.window.draw_rectangle( self.gc, True, 0, 0, valuep, self.rect.height) self.gc.set_rgb_fg_color(self.green) self.da.window.draw_rectangle(self.gc, True, valuep, 0, self.rect.width - valuep, self.rect.height) def cb_configure(self, widget, event): self.rect.width = event.width self.rect.height = event.height def set_value(self, value): if value < self.base: self.value = self.base elif self.value > self.top: self.value = self.top else: self.value = value if value != self.oldvalue: self.invalidate() def set_active(self, active): if active != self.active: self.active = active self.invalidate() def set_flash(self, flash): if flash != self.flash: self.flash = flash self.invalidate() def invalidate(self): if self.da.flags() & gtk.REALIZED: self.da.window.invalidate_rect(self.rect, False) def __init__(self, base, top): self.base = base self.top = top gtk.Frame.__init__(self) self.set_shadow_type(gtk.SHADOW_IN) self.da = gtk.DrawingArea() self.add(self.da) self.da.connect("configure_event", self.cb_configure) self.da.connect("realize", self.realize) self.da.connect("expose_event", self.expose) self.da.show() self.rect = gtk.gdk.Rectangle() self.value = self.oldvalue = self.base self.active = False self.flash = False class BasicMeter(gtk.Frame): """A meter widget with a simple rectangular vertical bar.""" def realize(self, widget): self.gc = gtk.gdk.GC(self.window) self.gc.copy(self.da.get_style().fg_gc[gtk.STATE_NORMAL]) self.lowc = gtk.gdk.color_parse("#30D030") self.midc = gtk.gdk.color_parse("#CCCF44") self.highc = gtk.gdk.color_parse("#D05044") self.backc = gtk.gdk.color_parse("darkgray") self.linec = gtk.gdk.color_parse("#505050") def expose(self, widget, event): self.oldvalue = self.top self.set_value(self.value) if self.value != self.base: self.oldvalue = self.base self.set_value(self.value) def cb_configure(self, widget, event): self.width = event.width self.height = event.height # calculate colour threshold pixels self.lutp = int(self.height * float(self.lut - self.base) / float(self.top - self.base)) self.mutp = int(self.height * float(self.mut - self.base) / float(self.top - self.base)) def set_value(self, value): if value > self.top: value = self.top if value < self.base: value = self.base self.value = value if self.da.flags() & gtk.REALIZED: valuep = int(self.height * float(self.value - self.base) / float(self.top - self.base)) if value < self.oldvalue: self.gc.set_rgb_fg_color(self.backc) self.da.window.draw_rectangle(self.gc, True, 0, 0, self.width, self.height - valuep) if value > self.oldvalue: if valuep > self.mutp: self.gc.set_rgb_fg_color(self.highc) self.da.window.draw_rectangle(self.gc, True, 0, self.height - valuep, self.width, valuep - self.mutp) valuep = self.mutp if valuep > self.lutp: self.gc.set_rgb_fg_color(self.midc) self.da.window.draw_rectangle(self.gc, True, 0, self.height - valuep, self.width, valuep - self.lutp) valuep = self.lutp if valuep > 0: self.gc.set_rgb_fg_color(self.lowc) self.da.window.draw_rectangle(self.gc, True, 0, self.height - valuep, self.width, valuep) if self.line is not None: valuel = int(self.height * float(self.line - self.base) / float(self.top - self.base)) self.gc.set_rgb_fg_color(self.linec) self.da.window.draw_lines(self.gc, ((0, self.height - valuel), (self.width, self.height - valuel))) self.oldvalue = value def set_line(self, lineval): if lineval is not None and ( lineval >= self.top or lineval <= self.base): lineval = None self.line = lineval self.expose(None, None) def get_value(self): return self.value def __init__(self, base, top, lut, mut): """This widget will draw in up to three colours. mut = mid upper threshold, lut = low upper threshold """ assert top > base, "top must be greater than base" assert lut >= base, "lut must be greater than or equal to base" assert lut <= top, "lut must not exceed top" assert mut >= lut, "mut must be greater than or equal to lut" assert mut <= top, "mut must not exceed top" gtk.Frame.__init__(self) self.set_shadow_type(gtk.SHADOW_IN) self.da = gtk.DrawingArea() self.add(self.da) self.da.connect("configure_event", self.cb_configure) self.da.connect("realize", self.realize) self.da.connect("expose_event", self.expose) self.da.show() self.base = base self.top = top self.lut = lut self.mut = mut self.value = base self.oldvalue = self.top self.line = None class StackedMeter(gtk.Frame): """Meter with three fill levels showing as different colours.""" def realize(self, widget): self.gc = gtk.gdk.GC(self.window) self.gc.copy(self.da.get_style().fg_gc[gtk.STATE_NORMAL]) self.ngc = gtk.gdk.color_parse("#30D030") self.dsc = gtk.gdk.color_parse("#CCCF44") self.compc = gtk.gdk.color_parse("#D05044") self.backc = gtk.gdk.color_parse("darkgray") def expose(self, widget, event): self.set_meter_value(self.c, self.d, self.n, True) def cb_configure(self, widget, event): self.width = event.width self.height = event.height self.uh = self.height / float(self.top - self.base) def set_meter_value(self, c, d, n, force=False): if not force and (self.c == c and self.d == d and self.n == n): # Values not changed from last time so no need to redraw. return if c < self.base: c = self.base if d < self.base: d = self.base if n < self.base: n = self.base if c > self.top: c = self.top if d > self.top: d = self.top if n > self.top: n = self.top self.c = c self.d = d self.n = n if self.da.flags() & gtk.REALIZED: nh = int(self.uh * n) dh = int(self.uh * d) ch = int(self.uh * c) if ch + dh + nh > self.height: ch = self.height - dh - nh if nh: self.gc.set_rgb_fg_color(self.ngc) self.da.window.draw_rectangle( self.gc, True, 0, 0, self.width, nh) if dh: self.gc.set_rgb_fg_color(self.dsc) self.da.window.draw_rectangle( self.gc, True, 0, nh, self.width, dh) if ch: self.gc.set_rgb_fg_color(self.compc) self.da.window.draw_rectangle( self.gc, True, 0, nh + dh, self.width, ch) self.gc.set_rgb_fg_color(self.backc) self.da.window.draw_rectangle(self.gc, True, 0, nh + dh + ch, self.width, self.height - (nh + dh + ch)) def __init__(self, base, top): self.base = base self.top = top assert top > base, "top must be greater than base" gtk.Frame.__init__(self) self.set_shadow_type(gtk.SHADOW_IN) self.da = gtk.DrawingArea() self.add(self.da) self.da.connect("configure_event", self.cb_configure) self.da.connect("realize", self.realize) self.da.connect("expose_event", self.expose) self.da.show() self.c = self.d = self.n = base - 1 class vumeter(BasicMeter): """A VU meter that needs to be fed values at 50ms intervals.""" def set_meter_value(self, newvalue): if newvalue > self.scale: newvalue = self.scale self.gen6 = self.gen5 self.gen5 = self.gen4 self.gen4 = self.gen3 self.gen3 = self.gen2 self.gen2 = self.gen1 self.gen1 = newvalue # Weighted mean over 300ms. newvalue = (5 * self.gen1 + 6 * self.gen2 + 4 * self.gen3 + 3 * self.gen4 + 2 * self.gen5 + self.gen6 ) / 21 BasicMeter.set_value(self, -newvalue) def __init__(self): BasicMeter.__init__(self, -36, 0, -12, -7) self.scale = 36 self.gen1 = self.gen2 = self.gen3 = self.gen4 = self.gen5 = self.scale class peakholdmeter(BasicMeter): """A peak-hold meter.""" def set_meter_value(self, newval): oldval = self.get_value() if newval > oldval: self.peakage = 0 oldval = newval else: self.peakage += 1 if self.peakage > self.peakholditers: newval = oldval - (self.peakage - self.peakholditers) ** 1.1 else: newval = oldval BasicMeter.set_value(self, newval) def __init__(self): BasicMeter.__init__(self, -36, 0, -12, -2) self.peakage = 0 self.oldval = 0 self.peakholditers = 4 # Meter hold iterations. class MicMeter(gtk.VBox): def set_meter_value(self, newvals): gain, red, yellow, green = (int(x) for x in newvals.split(",")) self.peak.set_meter_value(gain) self.attenuation.set_meter_value(red, yellow, green) def set_led(self, value): self.led.set_from_pixbuf(self.led_onpb if value else self.led_offpb) def always_show(self, widget): self.show_while_inactive = widget.get_active() if self.show_while_inactive: self.show() elif not (self.flags() & gtk.SENSITIVE): self.hide() def set_sensitive(self, value): gtk.VBox.set_sensitive(self, value) if self.show_while_inactive == False and value == False: self.hide() else: self.show() def _cb_tooltip(self, widget, x, y, keyboard_mode, tooltip): if self.agc: text = self.agc.alt_name.get_text().strip() if not text: return False label = gtk.Label(text) tooltip.set_custom(label) label.show() return True else: return False def __init__(self, labelbasetext, index): gtk.VBox.__init__(self) self.set_border_width(0) lhbox = gtk.HBox() pad = gtk.VBox() lhbox.add(pad) pad.show() lhbox.set_spacing(2) self.led_onpb = gtk.gdk.pixbuf_new_from_file_at_size( FGlobs.pkgdatadir / "led_lit_green_black_border_64x64.png", 7, 7) self.led_offpb = gtk.gdk.pixbuf_new_from_file_at_size( FGlobs.pkgdatadir / "led_unlit_clear_border_64x64.png", 7, 7) self.led = gtk.Image() lhbox.pack_start(self.led, False, False) self.set_led(False) self.led.show() labeltext = labelbasetext + " " + str(index) label = gtk.Label(labeltext) attrlist = pango.AttrList() attrlist.insert(pango.AttrSize(METER_TEXT_SIZE, 0, len(labeltext))) label.set_attributes(attrlist) lhbox.pack_start(label, False, False) label.show() pad = gtk.VBox() lhbox.add(pad) pad.show() self.pack_start(lhbox, False, False) lhbox.show() frame = gtk.Frame() frame.set_border_width(4) self.pack_start(frame, True, True) frame.show() hbox = gtk.HBox() hbox.set_border_width(1) frame.add(hbox) hbox.show() self.peak = peakholdmeter() self.peak.set_size_request(16, -1) hbox.pack_start(self.peak, False, False) self.peak.show() scale = make_meter_scale() hbox.pack_start(scale, False, False) scale.show() self.attenuation = StackedMeter(0, 36) self.attenuation.set_size_request(16, -1) hbox.pack_start(self.attenuation, False, False) self.attenuation.show() self.show_while_inactive = True self.agc = None self.set_tooltip_window(None) self.connect("query-tooltip", self._cb_tooltip) self.set_has_tooltip(True) class RecIndicator(gtk.HBox): colour = "clear", "red", "amber" def set_indicator(self, colour): self.image.set_from_pixbuf(self.led[self.colour.index(colour)]) def __init__(self, label_text): gtk.HBox.__init__(self) label = gtk.Label(label_text) self.pack_start(label) label.show() attrlist = pango.AttrList() attrlist.insert(pango.AttrSize(METER_TEXT_SIZE, 0, 1)) label.set_attributes(attrlist) self.image = gtk.Image() self.pack_start(self.image, False) self.image.show() self.led = [gtk.gdk.pixbuf_new_from_file_at_size( FGlobs.pkgdatadir / (which + ".png"), 9, 9) for which in ( "led_unlit_clear_border_64x64", "led_lit_red_black_border_64x64", "led_lit_amber_black_border_64x64")] self.set_indicator("clear") class RecordingPanel(gtk.VBox): def __init__(self, howmany): gtk.VBox.__init__(self) # TC: Record as in, to make a recording. label = gtk.Label(" %s " % _('Record')) attrlist = pango.AttrList() attrlist.insert(pango.AttrSize( METER_TEXT_SIZE, 0, len(label.get_text()))) label.set_attributes(attrlist) self.pack_start(label) label.show() frame = gtk.Frame() frame.set_border_width(4) self.pack_start(frame) frame.show() hbox = gtk.HBox() hbox.set_spacing(1) hbox.set_border_width(3) frame.add(hbox) hbox.show() box = [gtk.VBox(), gtk.VBox()] for each in box: each.set_spacing(4) hbox.pack_start(each) each.show() self.indicator = [] for i in range(howmany): ind = RecIndicator(str(i+1)) self.indicator.append(ind) box[i%2].pack_start(ind, False) ind.show() # A dialog window to appear when shutdown is selected while still streaming. class idjc_shutdown_dialog: def window_attn(self, widget, event): if event.new_window_state | gtk.gdk.WINDOW_STATE_ICONIFIED: widget.set_urgency_hint(True) else: widget.set_urgency_hint(False) def respond(self, dialog, response, actionyes, actionno): if response == gtk.RESPONSE_OK: print "Dialog quit" if actionyes is not None: actionyes() if response == gtk.RESPONSE_DELETE_EVENT or \ response == gtk.RESPONSE_CANCEL: print "Dialog keep running" if actionno is not None: actionno() dialog.destroy() def __init__(self, window_group = None, actionyes = None, actionno = None, additional_text = None): dialog = gtk.Dialog(pm.title_extra.strip(), None, gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT, (gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL, gtk.STOCK_QUIT, gtk.RESPONSE_OK)) if window_group is not None: window_group.add_window(dialog) dialog.set_resizable(False) dialog.connect("close", self.respond, actionyes, actionno) dialog.connect("response", self.respond, actionyes, actionno) dialog.connect("window-state-event", self.window_attn) dialog.set_border_width(6) dialog.vbox.set_spacing(12) hbox = gtk.HBox(False, 20) hbox.set_spacing(12) dialog.get_content_area().add(hbox) image = gtk.image_new_from_stock( gtk.STOCK_DIALOG_WARNING, gtk.ICON_SIZE_DIALOG) image.set_alignment(0.5, 0) hbox.pack_start(image, False) vbox = gtk.VBox() hbox.pack_start(vbox, True, True, 0) vbox.show() if additional_text is not None: if type(additional_text) is str: additional_text = additional_text.splitlines() for each in additional_text: label = gtk.Label() label.set_alignment(0.0, 0.5) label.set_markup(each) vbox.pack_start(label, False) dialog.show_all() class MainWindow(dbus.service.Object): def send_new_mixer_stats(self): deckadj = deck2adj = self.deckadj.get_value() if self.prefs_window.dual_volume.get_active(): deck2adj = self.deck2adj.get_value() string_to_send = ":%03d:%03d:%03d:%03d:%03d:%03d:%03d:%03d:%03d:" \ "%d:%d%d%d%d%d:%d%d:%d%d%d%d:%d:%d:%d:%d:%d:%f:%f:" \ "%d:%f:%d:%d:%d:%d:%d:%d:%d:%03d:%f:" % ( deckadj, deck2adj, self.crossadj.get_value(), self.jingles.jvol_adj[0].get_value(), self.jingles.jmute_adj[0].get_value(), self.jingles.jvol_adj[1].get_value(), self.jingles.jmute_adj[1].get_value(), self.jingles.ivol_adj.get_value(), self.mixbackadj.get_value(), self.jingles.playing, self.player_left.stream.get_active(), self.player_left.listen.get_active(), self.player_right.stream.get_active(), self.player_right.listen.get_active(), self.listen_stream.get_active(), self.player_left.pause.get_active(), self.player_right.pause.get_active(), self.player_left.flush, self.player_right.flush, self.jingles.flush, self.jingles.interludeflush, self.simplemixer, self.alarm, self.mixermode, True, self.player_left.play.get_active() or self.player_right.play.get_active(), 1.0 / self.player_left.pbspeedfactor, 1.0 / self.player_right.pbspeedfactor, self.prefs_window.speed_variance.get_active(), self.prefs_window.dj_aud_adj.get_value(), self.crosspattern.get_active(), self.dsp_button.get_active(), self.jingles.interlude.pause.get_active(), self.jingles.interlude.stream.get_active(), self.jingles.interlude.listen.get_active(), self.jingles.interlude.force.get_active(), self.prefs_window.alarm_aud_adj.get_value(), self.voipgainadj.get_value(), 1.0 / self.jingles.interlude.pbspeedfactor ) self.mixer_write("MIXR=%s\nACTN=mixstats\nend\n" % string_to_send) self.alarm = False iteration = 0 while self.player_left.flush or self.player_right.flush or \ self.jingles.flush or self.jingles.interludeflush: time.sleep(0.05) self.vu_update(False) self.jingles.interludeflush = self.jingles.interludeflush & \ self.interlude_playing.value self.jingles.flush = self.jingles.flush & self.jingles_playing.value self.player_left.flush = self.player_left.flush & \ self.player_left.mixer_playing.value self.player_right.flush = self.player_right.flush & \ self.player_right.mixer_playing.value # decide which metadata source to use (0 = left, 1 = right) if self.metadata_src == self.METADATA_LEFT_DECK: meta = 0 elif self.metadata_src == self.METADATA_RIGHT_DECK: meta = 1 elif self.metadata_src == self.METADATA_LAST_PLAYED: if self.last_player == "left": meta = 0 else: meta = 1 elif self.metadata_src == self.METADATA_CROSSFADER: if self.crossadj.get_value() < 50: meta = 0 else: meta = 1 elif self.metadata_src == self.METADATA_NONE: meta = -1 elif self.metadata_src == self.METADATA_BACKGROUND: meta = 2 # get metadata from left (meta == 0) or right (meta == 1) player target = (self.player_left, self.player_right, self.jingles.interlude, None)[meta] meta_context = None if target is None: self.songname = self.artist = self.title = self.album = "" self.music_filename = "" else: if target.element: self.artist = target.cuesheet_track_performer or "" self.title = target.cuesheet_track_title or "" self.album = target.title else: self.artist = target.artist self.title = target.title self.album = target.album self.songname = target.songname self.music_filename = target.music_filename meta_context = target, target.player_cid, \ self.artist, self.title, self.album, self.music_filename # update metadata on stream if it has changed if meta_context != self.old_meta_context: self.old_meta_context = meta_context if self.songname: if target.element: if "(" in self.album or ")" in self.album: form = "%s - %s - [%s]" else: form = "%s - %s - (%s)" self.songname = form % (self.artist, self.title, self.album) self.window.set_title("%s :: IDJC%s" % (self.songname, pm.title_extra)) tm = time.localtime() ts = "%02d:%02d :: " % (tm[3], tm[4]) # hours and minutes tstext = self.songname.encode("utf-8") self.history_buffer.place_cursor( self.history_buffer.get_end_iter()) self.history_buffer.insert_at_cursor(ts + tstext + "\n") adjustment = self.history_window.get_vadjustment() adjustment.set_value(adjustment.upper) try: file = open(pm.basedir / "history.log", "a") except IOError: print "unable to open history.log for writing" else: try: file.write(time.strftime("%x %X :: ") + tstext + "\n") except IOError: print "unable to append to file \"history.log\"" file.close() self._track_metadata_changed(self.artist, self.title, self.album, self.songname, self.music_filename) else: self.window.set_title(self.appname + pm.title_extra) print "song title: %s\n" % self.songname def _track_metadata_changed(self, *args): if self._old_metadata_2 == args: return self._old_metadata_2 = args self.track_metadata_changed(*args) self.server_window.new_metadata(*args[:-1]) # Don't pass music_filename @dbus.service.signal(dbus_interface=PGlobs.dbus_bus_basename, signature="sssss") def track_metadata_changed(self, artist, title, album, songname, music_filename): """DBus signal for plugins to attach to for metadata updates.""" print "track_metadata_changed called and signal emitted" def songname_decode(self, data): i = 1 while 1: if data[i - 1] != "d": print "songname_decode: WARNING, read past end boundary" yield None continue colon_index = data.index(":", i) text_length = int(data[i : colon_index]) text = data[colon_index + 1 : colon_index + 1 + text_length] yield text i = colon_index + text_length + 2 def update_songname(self, player, data): gen = self.songname_decode(data) infotype = int(gen.next()) artist = gen.next() title = gen.next() album = gen.next() player_context = int(gen.next()) time_lag = int(gen.next()) if infotype in (1, 2): artist = artist.decode("utf-8") title = title.decode("utf-8") album = album.decode("utf-8") infotype = 1 # Chain if infotype in (3, 4): artist = artist.decode("latin1") title = title.decode("latin1") album = album.decode("latin1") infotype = 1 # Chain if infotype == 1: def fmt(artist, title, album): o, c = ("[", "]") if "(" in album or ")" in album else ("(", ")") return "%s - %s - %s%s%s" % (artist, title, o, album, c) if not album and not artist: sep = title.count(u" - ") if sep == 2: artist, title, album = title.split(u" - ") elif sep == 1: artist, title = title.split(u" - ") if artist and title and album: song = fmt(artist, title, album) elif artist and title: song = u" - ".join((artist, title)) else: song = title elif not album: song = u" - ".join((artist, title)) else: song = fmt(artist, title, album) artist = artist.encode("utf-8") title = title.encode("utf-8") album = album.encode("utf-8") if infotype == 7: model = player.model_playing iter = player.iter_playing song = model.get_value(iter, 3) artist = model.get_value(iter, 6) title = model.get_value(iter, 5) album = model.get_value(iter, 9) if infotype > 4 and infotype < 7: # unicode chapter tags unsupported return if not player_context & 1: time_lag = 0 else: time_lag = int(time_lag / player.pbspeedfactor) gobject.timeout_add(time_lag, self.new_songname_timeout, (song, artist, title, album, player, player_context)) @threadslock def new_songname_timeout(self, (song, artist, title, album, player, player_context)): if player.player_cid == (player_context | 1): player.songname = song player.artist = artist player.title = title player.album = album self.send_new_mixer_stats() else: print "context mismatch, player context id =", player.player_cid,\ "metadata update carries context id =", player_context return False def ui_detail_leveller(self, level): def inner(widget): try: widget.forall(inner) except AttributeError: pass try: l = widget.viewlevels except AttributeError: pass else: if level in l: widget.show() else: widget.hide() return inner def callback(self, widget, data): print "%s was pressed" % data if data == "Show about": self.prefs_window.notebook.set_current_page(4) self.prefs_window.window.present() if data == "Features": if widget.get_active(): self.simplemixer = False self.min_wst.set_tracking(False) self.window.forall(self.ui_detail_leveller(5)) self.send_new_mixer_stats() for each in (self.player_left, self.player_right): each.pl_mode.emit("changed") self.full_wst.apply() self.full_wst.set_tracking(True) else: self.simplemixer = True self.full_wst.set_tracking(False) self.player_right.stop.clicked() self.crossadj.set_value(0) self.crossadj.value_changed() self.window.forall(self.ui_detail_leveller(0)) for each in (self.player_left, self.player_right): each.pl_delay.set_sensitive(False) self.min_wst.apply() self.min_wst.set_tracking(True) if data == "Advance": if self.crossfade.get_value() < 50: self.player_left.advance() else: self.player_right.advance() if data.startswith("cfm"): if self.crosspass: gobject.source_remove(self.crosspass) self.crosspass = 0 self.crossfade.set_value(data == "cfmright" and 100 \ or data == "cfmmidl" and 48 \ or data == "cfmmidr" and 52 \ or data == "cfmleft" and 0) if data == "pass-crossfader": if self.crosspass: self.crossdirection = not self.crossdirection else: self.crossdirection = (self.crossadj.get_value() <= 50) self.crosspass = gobject.timeout_add( int(self.passspeed_adj.get_value() * 10), self.cb_crosspass) if data == "Clear History": self.history_buffer.set_text("") def expandercallback(self, expander, param_spec, user_data=None): if expander.get_expanded(): self.history_vbox.show() else: self.history_vbox.hide() if self.player_left.is_playing: self.player_left.reselect_cursor_please = True if self.player_right.is_playing: self.player_right.reselect_cursor_please = True @threadslock def cb_crosspass(self): x = self.crossadj.get_value() if x == 100 * self.crossdirection: self.crosspass = 0 return False if self.crossdirection: self.crossfade.set_value(x+1) else: self.crossfade.set_value(x-1) return True # handles selection of metadata source def cb_metadata_source(self, widget): print "Metadata source was changed. Before: %d" % self.metadata_src self.metadata_src = widget.get_active() print "Metadata source was changed. Now: %d" % self.metadata_src for each in (self.player_left, self.player_right, self.jingles.interlude): each.expire_metadata() # update mixer status and metadata self.send_new_mixer_stats() return True; def cb_toggle(self, widget, data): print "%s was toggled %s" % (data, ("OFF","ON")[widget.get_active()]) if data == "stream-mon": self.send_new_mixer_stats() if data == "Greenphone": mode = self.mixermode if widget.get_active() == True: if self.mixermode == self.PRIVATE_PHONE: self.mixermode = self.PUBLIC_PHONE self.redphone.set_active(False) self.mixermode = self.PUBLIC_PHONE else: if self.mixermode == self.PUBLIC_PHONE: self.mixermode = self.NO_PHONE if self.mixermode != mode: self.new_mixermode(self.mixermode) if data == "Redphone": mode = self.mixermode if widget.get_active() == True: if self.mixermode == self.PUBLIC_PHONE: self.mixermode = self.PRIVATE_PHONE self.greenphone.set_active(False) self.mixermode = self.PRIVATE_PHONE else: if self.mixermode == self.PRIVATE_PHONE: self.mixermode = self.NO_PHONE if self.mixermode != mode: self.new_mixermode(self.mixermode) def new_mixermode(self, mode): mic = self.mic_opener.any_mic_selected sens = (mode == self.NO_PHONE or mode == self.PUBLIC_PHONE or \ mic == True) self.player_left.listen.set_sensitive(sens) self.player_right.listen.set_sensitive(sens) self.mic_opener.force_all_on(mode == self.PUBLIC_PHONE) if mode == self.PRIVATE_PHONE: self.voiplevsbox.show() self.spacerbox.show() self.voipgainvbox.show() self.mixbackvbox.show() elif mode == self.PUBLIC_PHONE: self.voiplevsbox.show() self.spacerbox.show() self.voipgainvbox.show() self.mixbackvbox.hide() else: self.voiplevsbox.hide() self.spacerbox.hide() self.send_new_mixer_stats() def cb_crossfade(self, fader): # Expire old metadata. if self.crossadj.get_value() < 50: self.player_right.expire_metadata() else: self.player_left.expire_metadata() # Backend to get new mixer settings. self.send_new_mixer_stats() def cb_crosspattern(self, widget): print "crossfader pattern changed" self.send_new_mixer_stats() def cb_deckvol(self, gain): self.send_new_mixer_stats() def save_session(self, trigger, where=None): print "save_session called" if where is None: session_filename = pm.basedir / self.session_filename else: where = PathStr(where) session_filename = where / self.session_filename if trigger in ("atexit", "periodic") and pm.profile is None \ and pm.session_type != "L0": if trigger == "periodic": print "periodic save cancelled" else: print "save at exit blocked" # Cancel the periodic timeout with this return value. return False self.prefs_window.save_resource_template() if trigger == "template": print "saving template only" return True try: with open(session_filename, "w") as fh: fh.write("deckvol=" + str(self.deckadj.get_value()) + "\n") fh.write("deck2vol=" + str(self.deck2adj.get_value()) + "\n") fh.write("crossfade=" + str(self.crossadj.get_value()) + "\n") fh.write("stream_mon=" + str(int(self.listen_stream.get_active())) + "\n") fh.write("tracks_played=" + str(int(self.history_expander.get_expanded())) + "\n") fh.write("pass_speed=" + str(self.passspeed_adj.get_value()) + "\n") fh.write("prefs=" + str(int((self.prefs_window.window.flags() & gtk.VISIBLE) != 0)) + "\n") fh.write("server=" + str(int((self.server_window.window.flags() & gtk.VISIBLE) != 0)) + "\n") fh.write("prefspage=" + str(self.prefs_window.notebook.get_current_page()) + "\n") fh.write("metadata_src=" + str(self.metadata_source.get_active()) + "\n") fh.write("crosstype=" + str(self.crosspattern.get_active()) + "\n") fh.write("hpane=" + str(self.paned.get_position()) + "\n") fh.write("vpane=" + str(self.leftpane.get_position()) + "\n") fh.write("tree_page=" + self.topleftpane.get_col_widths("tree_page") + "\n") fh.write("flat_page=" + self.topleftpane.get_col_widths("flat_page") + "\n") fh.write("dbpage=" + str(self.topleftpane.notebook.get_current_page()) + "\n") fh.write("playerpage=" + str(self.player_nb.get_current_page()) + "\n") fh.close() # Save a list of files played and timestamps. fh = open(session_filename + "_files_played", "w") cutoff = time.time() - 2592000 # 2592000 = 30 days. recent = {} for key, value in self.files_played.iteritems(): if value > cutoff: recent[key] = value pickle.Pickler(fh).dump(recent) fh.close() except Exception as e: print "Error writing out main session data", e try: fh = open(session_filename + "_tracks", "w") start, end = self.history_buffer.get_bounds() text = self.history_buffer.get_text(start, end) fh.write(text) fh.close() except Exception as e: print "Error writing out tracks played data", e self.prefs_window.save_player_prefs(where) self.controls.save_prefs(where) self.server_window.save_session_settings(where) # Build links directory when in session mode. if pm.profile is None: link_uuid_reg.clear() for row in itertools.chain(self.player_left.liststore, self.player_right.liststore, self.jingles.interlude.liststore): uuid_ = row[10] try: uuid.UUID(uuid_) except: pass else: link_uuid_reg.add(uuid_, row[1]) effects = self.jingles.effects for uuid_, pathname in zip(effects.uuids(), effects.pathnames()): if pathname is not None: link_uuid_reg.add(str(uuid_), pathname) link_uuid_reg.update(PathStr(where or pm.basedir) / "links") self.player_left.save_session(where) self.player_right.save_session(where) self.jingles.save_session(where) # JACK ports are saved at the moment of change, not here. return True # This is also a timeout routine def restore_session(self): try: fh = open(pm.basedir / self.session_filename, "r") except Exception as e: print e return while 1: try: line = fh.readline() if line == "": break except: break k, _, v = line[:-1].partition('=') if k=="deckvol": self.deckadj.set_value(float(v)) elif k=="deck2vol": self.deck2adj.set_value(float(v)) elif k=="crossfade": self.crossadj.set_value(float(v)) elif k=="stream_mon": self.listen_stream.set_active(int(v)) elif k=="tracks_played": if int(line[14:-1]): self.history_expander.emit("activate") elif k=="pass_speed": self.passspeed_adj.set_value(float(v)) elif k=="prefs": if v=="1": self.prefs_window.window.show() elif k=="server": if v=="1": self.server_window.window.show() elif k=="jingles": if v=="1": self.jingles.show() elif k=="prefspage": self.prefs_window.notebook.set_current_page(int(v)) elif k=="metadata_src": self.metadata_source.set_active(int(v)) elif k=="crosstype": self.crosspattern.set_active(int(v)) elif k=="hpane": self.paned.set_position(int(v)) elif k=="vpane": self.leftpane.set_position(int(v)) elif k in ("tree_page", "flat_page"): self.topleftpane.set_col_widths(k, v) elif k=="dbpage": self.topleftpane.notebook.set_current_page(int(v)) elif k=="playerpage": self.player_nb.set_current_page(int(v)) try: fh = open(self.session_filename + "_files_played", "r") except: pass else: self.files_played = pickle.Unpickler(fh).load() fh.close() mst = pm.basedir / (self.session_filename + "_tracks") try: stat = os.stat(mst) except OSError as e: print e return if stat.st_ctime + 21600 > time.time(): try: fh = open(mst, "r") except Exception as e: print e return text = fh.read() fh.close() self.history_buffer.set_text(text) else: print "disregarding out of date track history text" def destroy_hard(self, widget=None, data=None): if self.session_loaded: self.freewheel_button.set_active(False) self.save_session("atexit") self.quitting() try: gtk.main_quit() except: pass gtk.gdk.threads_leave() time.sleep(0.3) sys.exit(0) def destroy(self, widget=None, data=None): self.freewheel_button.set_active(False) self.save_session("atexit") if self.crosspass: gobject.source_remove(self.crosspass) self.server_window.cleanup() self.mic_opener.close_all() self.player_left.cleanup() self.player_right.cleanup() self.jingles.cleanup() self.player_left.flush = True self.player_right.flush = True self.send_new_mixer_stats() self.prefs_window.songdbprefs.disconnect() gobject.source_remove(self.statstimeout) gobject.source_remove(self.vutimeout) gobject.source_remove(self.savetimeout) self._mixer_ctrl.close() self.quitting() self.window.hide() self.prefs_window.window.hide() self.server_window.window.hide() pm.profile_dialog.hide() while gtk.gdk.events_pending(): gtk.main_iteration() if gtk.main_level(): gtk.main_quit() time.sleep(0.3) # Allow time for all subthreads/programs time to exit gtk.gdk.threads_leave() sys.exit(0) @dbus.service.signal(dbus_interface=PGlobs.dbus_bus_basename, signature="") def quitting(self): """Called to notify plugins that this session is closing.""" pass @dbus.service.signal(dbus_interface=PGlobs.dbus_bus_basename, signature="") def heartbeat(self): """Called to notify plugins that this session is healthy.""" pass @dbus.service.method(dbus_interface=PGlobs.dbus_bus_basename, out_signature="u") def pid(self): """Reply with the process ID.""" return int(os.getpid()) def delete_event(self, widget, event, data=None): qm = ["%s" % _("Confirmation to quit IDJC is required."), ""] if self.server_window.is_streaming and self.server_window.is_recording: qm.append( _("All active recordings and radio streams will terminate.")) elif self.server_window.is_streaming: qm.append(_("All of the active radio streams will terminate.")) elif self.server_window.is_recording: qm.append(_("All active recordings will cease.")) else: self.destroy() return False idjc_shutdown_dialog(self.window_group, self.destroy, None, qm) return True def mixer_write(self, message, target="mx"): """The means to communicate with and launch the backend.""" if target == True or target == False or target == None: raise RuntimeError("want traceback") try: self._mixer_ctrl.write("%s\n%s" % (target, message)) self._mixer_ctrl.flush() except (IOError, ValueError, AttributeError) as e: if message == "bootstrap": print "launching backend" else: print str(e) for i in range(1, 4 if self.session_loaded else 2): print "backend launch attempt", i read = ctypes.c_int() write = ctypes.c_int() if not self.backend.init_backend(ctypes.byref(read), ctypes.byref(write)): print "call to init_backend failed" continue try: self._mixer_ctrl = os.fdopen(write.value, "w") self._mixer_rply = os.fdopen(read.value, "r") except OSError: "failed to open streams to backend" continue print "awaiting reply" for j in range(10): reply = self.mixer_read() print "got", reply if reply == "idjc backend ready\n": break else: print "bad response from newly started backend" continue if FGlobs.have_libmpg123: self.mixer_write("ACTN=mp3_getstatus\nend\n") self.mp3status = int(self.mixer_read()) if message != "bootstrap": # Restore previous settings. self.send_new_mixer_stats() self.prefs_window.fixup_mic_controls() self.player_left.next.clicked() self.player_right.next.clicked() self.jingles.interlude.next.clicked() self.server_window.source_client_open() self.comms_reply_pending = False self.server_window.restart_streams_and_recorders() self.jack.restore() self.mixer_write(message, target) break else: print "giving up" self.destroy_hard() def mixer_read(self, iters = 0): if iters == 5: self.destroy_hard() try: line = self._mixer_rply.readline() except IOError as e: print str(e) line = self.mixer_read(iters + 1) if line == "Segmentation Fault\n": line = "" print "Mixer reports a segmentation fault" self._mixer_rply.close() self._mixer_ctrl.close() return line def vu_update(self, locking = True): if locking: gtk.gdk.threads_enter() try: self.vu_update_counter += 1 if self.vu_update_counter % 20 == 0: self.heartbeat() session_ns = {} player_metadata = [] try: self.mixer_write("ACTN=requestlevels\nend\n") except (ValueError, IOError): if locking: gtk.gdk.threads_leave() return True session_cmd = midis = '' cons_changed = False while 1: line = self.mixer_read().rstrip() if line == "": if locking: gtk.gdk.threads_leave() return True if line == "end": break if not line.count("="): print line continue key, value = line.split("=", 1) if key == "midi": midis= value continue if key.startswith("session_"): session_ns[key[8:]] = value continue if key == "ports_connections_changed": cons_changed = value != "0" if key.endswith("_silence"): try: value = float(value) except ValueError: pass else: try: value = int(value) except ValueError: pass if key.endswith("_new_metadata"): if not key.startswith("jingles"): player_metadata.append((getattr(self, "player_" + key.split("_", 1)[0]), value)) continue try: self.vumap[key].set_meter_value(value) except KeyError: pass #print "key value", key, "missing from vumap" if self.jingles.playing == True and int(self.jingles_playing) == 0: self.jingles.clear_indicators() for player, data in player_metadata: self.update_songname(player, data) if midis: for midi in midis.split(','): input, _, value = midi.partition(':') self.controls.input(input, int(value, 16)) if session_ns["command"] == "save_L1" and pm.session_type == "L1": self.jack.session_save() self.save_session("L1") if session_ns["command"].endswith("_JACK") and \ pm.session_type == "JACK": self.handle_jack_session(**session_ns) if cons_changed: self.jack.standard_save() ep = int(self.effects_playing) if ep != -1: self.jingles.update_effect_leds(ep) except Exception: if locking: # Ensure unlocking occurs when there is an exception. gtk.gdk.threads_leave() raise if locking: gtk.gdk.threads_leave() return True def handle_jack_session(self, command, event, directory, uuid): """A JACK session event occurred and the reply data is crafted here.""" subdir = PathStr(directory) / ("idjc-%s-%s" % (pm.session_type, pm.session_name)) try: os.mkdir(subdir) except EnvironmentError as e: if e.errno != 17: print e command = command.rstrip("_JACK") if command in ("save", "saveandexit"): self.jack.session_save(subdir) self.save_session("JACK", subdir) if command == "savetemplate": self.save_session("template", subdir) commandline = " ".join((sys.argv[0], "run" "--session=JACK:%s:${SESSION_DIR}" % pm.session_name, "--jackserver=%s" % uuid)) if args.channels is not None: commandline += " -c " + " ".join(args.channels) if args.voip is not None: commandline += " -V " + args.voip[0] if args.servers is not None: commandline += " -s " + " ".join(args.servers) if args.crossfader is not None: commandline += " -x " + args.crossfader[0] if args.players is not None: commandline += " -P " + " ".join(args.players) print "## Restored session commandline will be:", commandline # Reply to backend confirms save has took place. self.mixer_write("ACTN=session_reply\nsession_event=%s\n" "session_commandline=%s\n" % ( event, commandline)) self.mixer_read() # At this point the session event has been disposed of. if command == "saveandquit": self.destroy() @threadslock def stats_update(self): players = self.player_left, self.player_right, self.jingles.interlude for player in players: if player.player_is_playing: player.check_mixer_signal() elif player.pl_mode.get_active() == 0: player.update_time_stats() return True def cb_history_populate(self, textview, menu): menusep = gtk.SeparatorMenuItem() menu.append(menusep) menusep.show() menuitem = gtk.MenuItem(_('Remove Contents')) menuitem.connect_object("activate", gtk.Button.clicked, self.history_clear) menu.append(menuitem) menuitem.show() def cb_key_capture(self, widget, event): tlp = self.topleftpane if tlp.get_visible() and tlp.notebook.get_current_page() == 1: return self.controls.input_key(event) def configure_event(self, widget, event): if self.player_left.is_playing: self.player_left.reselect_cursor_please = True if self.player_right.is_playing: self.player_right.reselect_cursor_please = True def cb_panehide(self, widget): """ hide widget when all it's children are hidden or non existent """ c1 = widget.get_child1() c2 = widget.get_child2() if (not c1 or not c1.flags() & gtk.VISIBLE) and \ (not c2 or not c2.flags() & gtk.VISIBLE): widget.hide() def strip_focusability(self, widget): try: widget.forall(self.strip_focusability) except AttributeError: pass widget.unset_flags(gtk.CAN_FOCUS) class initfailed: def __init__(self, errormessage = "something bad happened"): print errormessage class initcleanexit: pass def flash_test(self): """True if the mic button needs to be flashing now or soon.""" return self.player_left.is_playing or self.player_right.is_playing def __init__(self): self.appname = PGlobs.app_longform self.version = FGlobs.package_version self.copyright = PGlobs.copyright self.license = PGlobs.license self.profile = pm.profile signal.signal(signal.SIGINT, self.destroy_hard) signal.signal(signal.SIGUSR1, signal.SIG_IGN) signal.signal(signal.SIGUSR2, signal.SIG_IGN) socket.setdefaulttimeout(15) # Resources to reserve. config = ConfigParser.RawConfigParser() config.read(pm.basedir / 'config') try: PGlobs.num_micpairs = config.getint( 'resource_count', 'num_micpairs') // 2 except ConfigParser.Error: pass try: count = config.getint('resource_count', 'num_streamers') except ConfigParser.Error: pass else: PGlobs.num_streamers = count PGlobs.num_encoders = count try: PGlobs.num_recorders = config.getint( 'resource_count', 'num_recorders') except ConfigParser.Error: pass try: PGlobs.num_effects = config.getint( 'resource_count', 'num_effects') except ConfigParser.Error: pass if pm.session_uuid is None: if args.jackserver is None: os.environ["jack_parameter"] = "default" else: os.environ["jack_parameter"] = args.jackserver[0] else: os.environ["jack_parameter"] = pm.session_uuid if pm.profile is not None: client_id = "idjc_" + pm.profile else: # Client ID is by session type and name. client_id = "idjc_%s_%s" % (pm.session_type, pm.session_name) os.environ["app_name"] = "%s (%s) %s" % (PGlobs.app_longform, FGlobs.package_name, FGlobs.package_version) os.environ["client_id"] = client_id os.environ["mic_qty"] = str(PGlobs.num_micpairs * 2) os.environ["num_streamers"] = str(PGlobs.num_streamers) os.environ["num_encoders"] = str(PGlobs.num_encoders) os.environ["num_recorders"] = str(PGlobs.num_recorders) os.environ["num_effects"] = str(PGlobs.num_effects) os.environ["has_head"] = "1" os.environ["libmp3lame_filename"] = FGlobs.libmp3lame_filename os.environ["libmpg123_filename"] = FGlobs.libmpg123_filename # For IPC. os.environ["ui2be"] = pm.basedir / "ui2be" os.environ["be2ui"] = pm.basedir / "be2ui" print "jack client ID:", client_id self.session_loaded = False try: self.backend = ctypes.CDLL(FGlobs.backend) except OSError: try: subprocess.call(["notify-send", "-u", "critical", "-a", "IDJC", "IDJC Failed to open %s\n\nCannot continue" % FGlobs.backend]) except OSError: pass raise self.initfailed self.mixer_write("bootstrap") # create the GUI elements self.window_group = gtk.WindowGroup() self.window = gtk.Window(gtk.WINDOW_TOPLEVEL) self.window.set_gravity(gtk.gdk.GRAVITY_STATIC) self.window_group.add_window(self.window) self.window.set_title(self.appname + pm.title_extra) self.window.connect("delete_event",self.delete_event) self.hbox10 = gtk.HBox(False) self.hbox10.set_spacing(6) self.paned = gtk.HPaned() self.leftpane = gtk.VPaned() self.paned.pack1(self.leftpane) self.topleftpane = songdb.MediaPane() self.leftpane.pack1(self.topleftpane) self.topleftpane.connect_object("show", gtk.VPaned.show, self.leftpane) self.topleftpane.connect_object("hide", self.cb_panehide, self.leftpane) # Facility for widget label renaming by the user. self.label_subst = LabelSubst(_('Renameable Labels')) # Expand features by adding something useful here # a dummy widget is needed to prevent a segfault when F8 is pressed self.bottomleftpane = gtk.Button("Bottom") self.leftpane.pack2(self.bottomleftpane) self.rightpane = gtk.HBox(False, 0) self.paned.pack2(self.rightpane, True, False) self.vbox8 = gtk.VBox(False, 0) menuhbox = gtk.HBox() self.vbox8.pack_start(menuhbox, False) menuhbox.show() self.menu = MainMenu() menuhbox.pack_start(self.menu) self.menu.show() self.rightpane.pack_start(self.vbox8, True, True ,0) self.window.add(self.paned) self.rightpane.show() self.paned.show() self.player_nb = gtk.Notebook() main_label = gtk.Label() self.label_subst.add_widget(main_label, "mainplayerslabel", _('Main Players')) self.vbox6 = gtk.VBox(False, 0) self.player_nb.append_page(self.vbox6, main_label) main_label.show() self.vbox8.pack_start(self.player_nb, True, True, 0) self.player_nb.show() self.hbox7 = gtk.HBox(True) self.hbox10.show() self.hbox10spc = gtk.HBox() self.vbox8.pack_start(self.hbox10spc, False, padding=3) self.hbox10spc.show() self.vbox8.pack_start(self.hbox10, False, False, 0) spc = gtk.HBox() self.vbox8.pack_start(spc, False, padding=2) spc.show() # show box 8 now that it's finished self.vbox8.show() self.freewheel_button = FreewheelButton(self.mixer_write) self.hbox10.pack_start(self.freewheel_button, False) self.dsp_button = gtk.ToggleButton() label = gtk.Label() label.set_markup("%s" % _('DSP')) self.dsp_button.add(label) label.show() self.dsp_button.connect("toggled", lambda w: self.send_new_mixer_stats()) self.hbox10.pack_start(self.dsp_button, False) self.dsp_button.show() phonebox = gtk.HBox() phonebox.viewlevels = (5,) phonebox.set_spacing(2) pixbuf4 = gtk.gdk.pixbuf_new_from_file( FGlobs.pkgdatadir / "greenphone.png") pixbuf4 = pixbuf4.scale_simple(25, 20, gtk.gdk.INTERP_BILINEAR) image = gtk.Image() image.set_from_pixbuf(pixbuf4) image.show() self.greenphone = gtk.ToggleButton() self.greenphone.add(image) self.greenphone.connect("toggled", self.cb_toggle, "Greenphone") phonebox.pack_start(self.greenphone) self.greenphone.show() set_tip(self.greenphone, _('Mix voice over IP audio to the output stream.')) pixbuf5 = gtk.gdk.pixbuf_new_from_file( FGlobs.pkgdatadir / "redphone.png") pixbuf5 = pixbuf5.scale_simple(25, 20, gtk.gdk.INTERP_BILINEAR) image = gtk.Image() image.set_from_pixbuf(pixbuf5) image.show() self.redphone = gtk.ToggleButton() self.redphone.add(image) self.redphone.connect("toggled", self.cb_toggle, "Redphone") phonebox.pack_start(self.redphone) self.redphone.show() set_tip(self.redphone, _('Mix voice over IP audio to the DJ only.')) self.hbox10.pack_start(phonebox, False) phonebox.show() pixbuf3 = gtk.gdk.pixbuf_new_from_file(FGlobs.pkgdatadir / "jack2.png") pixbuf3 = pixbuf3.scale_simple(32, 20, gtk.gdk.INTERP_BILINEAR) image = gtk.Image() image.set_from_pixbuf(pixbuf3) image.show() # microphone open/unmute dynamic widget cluster thingy self.mic_opener = MicOpener(self, self.flash_test) self.mic_opener.viewlevels = (5,) self.hbox10.pack_start(self.mic_opener) self.mic_opener.show() # playlist advance button pixbuf = gtk.gdk.pixbuf_new_from_file(FGlobs.pkgdatadir / "advance.png") pixbuf = pixbuf.scale_simple(32, 14, gtk.gdk.INTERP_BILINEAR) image = gtk.Image() image.set_from_pixbuf(pixbuf) self.advance = gtk.Button() self.advance.add(image) image.show() self.advance.connect("clicked", self.callback, "Advance") self.hbox10.pack_end(self.advance, False) self.advance.show() set_tip(self.advance, _('This button steps through the active playlist,' ' pausing between tracks. The active playlist is' ' defined by the placement of the crossfader.')) self.hbox7.show() self.hbox10.show() self.hbox4 = gtk.HBox(False, 0) self.vbox6.pack_start(self.hbox4, True, True, 0) # Boxes 3L and 3R contain our media players self.vbox3L = gtk.VBox(False, 0) self.vbox3L.set_border_width(2) self.hbox4.pack_start(self.vbox3L, True, True, 0) # A vertical box for our main volume controls self.vboxvol = gtk.VBox(False, 0) self.vboxvol.set_border_width(2) self.volframe = gtk.Frame() self.volframe.viewlevels = (5,) self.volframe.set_border_width(5) self.volframe.set_shadow_type(gtk.SHADOW_ETCHED_IN) self.volframe.add(self.vboxvol) self.volframe.show() self.hbox4.pack_start(self.volframe, False, True, 3) # A pictoral volume label above horizontally-stacked volume control(s) image = gtk.Image() image.set_from_file(FGlobs.pkgdatadir / "volume2.png") self.vboxvol.pack_start(image, False, False, 0) image.show() hboxvol = gtk.HBox(True, 0) self.vboxvol.pack_start(hboxvol, True, True, 0) hboxvol.show() # Primary volume control self.deckadj = gtk.Adjustment(127.0, 0.0, 127.0, 1.0, 6.0) self.deckadj.connect("value_changed", self.cb_deckvol) self.deckvol = gtk.VScale(self.deckadj) self.deckvol.set_update_policy(gtk.UPDATE_CONTINUOUS) self.deckvol.set_draw_value(False) self.deckvol.set_inverted(True) hboxvol.pack_start(self.deckvol, False, False, 4) self.deckvol.show() set_tip(self.deckvol, _('The volume control shared by both music players.')) # Visible when using separate player volume controls. self.deck2adj = gtk.Adjustment(127.0, 0.0, 127.0, 1.0, 6.0) self.deck2adj.connect("value_changed", self.cb_deckvol) self.deck2vol = gtk.VScale(self.deck2adj) self.deck2vol.set_update_policy(gtk.UPDATE_CONTINUOUS) self.deck2vol.set_draw_value(False) self.deck2vol.set_inverted(True) hboxvol.pack_start(self.deck2vol, False) set_tip(self.deck2vol, _('The volume control for the right music player.')) self.spacerbox = gtk.VBox() self.vboxvol.pack_start(self.spacerbox, False, padding=3) self.voiplevsbox = gtk.HBox(True, 0) self.vboxvol.pack_start(self.voiplevsbox, True) self.voipgainvbox = gtk.VBox() self.voipgainvbox.set_spacing(1) self.voiplevsbox.pack_start(self.voipgainvbox, False) self.voipgainvbox.show() pixbuf = gtk.gdk.pixbuf_new_from_file(FGlobs.pkgdatadir / "greenphone.png") pixbuf = pixbuf.scale_simple(20, 17, gtk.gdk.INTERP_HYPER) greenphoneimage = gtk.Image() greenphoneimage.set_from_pixbuf(pixbuf) self.voipgainvbox.pack_start(greenphoneimage, False) greenphoneimage.show() self.voipgainadj = gtk.Adjustment(64.0, 0.0, 127.0, 1.0, 6.0) self.voipgainadj.connect("value_changed", self.cb_deckvol) voipgain = gtk.VScale(self.voipgainadj) voipgain.set_update_policy(gtk.UPDATE_CONTINUOUS) voipgain.set_draw_value(False) voipgain.set_inverted(True) self.voipgainvbox.pack_start(voipgain) voipgain.show() set_tip(self.voipgainvbox, _('VoIP level adjustment. 0dB gain is at the mid point.')) self.mixbackvbox = gtk.VBox() self.mixbackvbox.set_spacing(1) self.voiplevsbox.pack_start(self.mixbackvbox, False) self.mixbackvbox.show() pixbuf = gtk.gdk.pixbuf_new_from_file(FGlobs.pkgdatadir / "pbphone.png") pixbuf = pixbuf.scale_simple(20, 17, gtk.gdk.INTERP_HYPER) pbphoneimage = gtk.Image() pbphoneimage.set_from_pixbuf(pixbuf) self.mixbackvbox.pack_start(pbphoneimage, False) pbphoneimage.show() self.mixbackadj = gtk.Adjustment(64.0, 0.0, 127.0, 1.0, 6.0) self.mixbackadj.connect("value_changed", self.cb_deckvol) mixback = gtk.VScale(self.mixbackadj) mixback.set_update_policy(gtk.UPDATE_CONTINUOUS) mixback.set_draw_value(False) mixback.set_inverted(True) self.mixbackvbox.pack_start(mixback) mixback.show() set_tip(self.mixbackvbox, _('The stream volume level to send to the voice over IP connection.')) self.vboxvol.show() # A box for the second deck. self.vbox3R = gtk.VBox(False, 0) self.vbox3R.viewlevels = (5,) self.vbox3R.set_border_width(2) self.hbox4.pack_start(self.vbox3R, True, True, 0) # hbox4 is full now so let's show it. self.hbox4.show() # The contents of the two player panes 3L and 3R are next up # The two identical players have been moved into one class self.player_left = IDJC_Media_Player(self.vbox3L, "left", self) self.vbox3L.show() self.player_right = IDJC_Media_Player(self.vbox3R, "right", self) self.vbox3R.show() # A track history window to help with announcements history_expander_hbox = gtk.HBox() # Expander widget text for indicating recent tracks played. self.history_expander = gtk.expander_new_with_mnemonic( _('Tracks Played')) history_expander_hbox.pack_start(self.history_expander, True, True, 6) self.history_expander.connect("notify::expanded", self.expandercallback) self.history_expander.show() self.vbox6.pack_start(history_expander_hbox, False, False, 0) history_expander_hbox.show() self.history_vbox = gtk.VBox() history_hbox = gtk.HBox() self.history_vbox.pack_start(history_hbox, True, True, 0) self.vbox6.pack_start(self.history_vbox, True, True, 0) history_hbox.show() history_frame = gtk.Frame() history_hbox.pack_start(history_frame, True, True, 6) history_frame.show() history_frame.set_border_width(0) self.history_window = gtk.ScrolledWindow() history_frame.add(self.history_window) self.history_window.set_border_width(4) self.history_window.show() self.history_window.set_size_request(-1, 81) self.history_window.set_shadow_type(gtk.SHADOW_IN) self.history_window.set_policy(gtk.POLICY_NEVER, gtk.POLICY_ALWAYS) history_clear_box = gtk.HBox() # TC: Popup menu item, wipes away the tracks played history text. self.history_clear = gtk.Button(" " + _('Remove Contents') + " ") self.history_clear.connect("clicked", self.callback, "Clear History") history_clear_box.pack_start(self.history_clear, True, False, 0) self.history_clear.show() self.history_vbox.pack_start(history_clear_box, False, False, 1) spacer = gtk.VBox() self.history_vbox.pack_start(spacer, False, False, 1) spacer.show() self.history_textview = gtk.TextView() self.history_textview.connect( "populate-popup", self.cb_history_populate) self.history_window.add(self.history_textview) self.history_textview.show() self.history_textview.set_cursor_visible(False) self.history_textview.set_editable(False) self.history_textview.set_wrap_mode(gtk.WRAP_CHAR) self.history_buffer = self.history_textview.get_buffer() self.abox = gtk.HBox() self.abox.viewlevels = (5,) self.abox.set_border_width(2) self.vbox6.pack_start(self.abox, False, False, 0) self.abox.show() # The crossfader. No DJ should be without one. ;) self.outercrossbox = gtk.HBox() self.outercrossbox.viewlevels = (5,) crossframe = gtk.Frame() self.outercrossbox.pack_start(crossframe, True, True, 6) self.outercrossbox.show() crossframe.set_border_width(0) self.crossbox = gtk.HBox() crossframe.add(self.crossbox) crossframe.show() self.crossbox.set_border_width(2) self.crossbox.set_spacing(3) cross_sizegroup = gtk.SizeGroup(gtk.SIZE_GROUP_HORIZONTAL) cross_sizegroup2 = gtk.SizeGroup(gtk.SIZE_GROUP_HORIZONTAL) sg3 = gtk.SizeGroup(gtk.SIZE_GROUP_VERTICAL) smvbox = gtk.VBox() label = gtk.Label(_('Monitor Mix')) attrlist = pango.AttrList() attrlist.insert(pango.AttrSize(8000, 0, len(_('Monitor Mix')))) label.set_attributes(attrlist) smvbox.add(label) label.show() smhbox = gtk.HBox() smhbox.set_border_width(1) self.listen_dj = gtk.RadioButton(None, _('DJ')) smhbox.add(self.listen_dj) self.listen_dj.show() self.listen_stream = gtk.RadioButton(self.listen_dj, _('Stream')) smhbox.add(self.listen_stream) self.listen_stream.show() smhbox.show() smvbox.add(smhbox) sg3.add_widget(smhbox) self.listen_stream.connect("toggled", self.cb_toggle, "stream-mon") # TC: Context {0}, {1}, {2} = Monitor Mix, Stream, DJ # TC: Or whatever they become translated to. set_tip(smvbox, _("In IDJC there are are two audio paths and this '{0}'" " control toggles between them. When '{1}' is active you can hear what" " the listeners are hearing including the effects of the crossfader. " "'{0}' needs to be set to '{2}' in order to make proper use of the " "VoIP features.").format(_("Monitor Mix"), _("Stream"), _("DJ"))) cross_sizegroup.add_widget(smhbox) self.crossbox.pack_start(smvbox, False, False, 0) smvbox.show() # metadata source selector combo box mvbox = gtk.VBox() # TC: Dropdown box title text widget. label = gtk.Label(_('Metadata Source')) attrlist = pango.AttrList() attrlist.insert(pango.AttrSize(8000, 0, len(_('Metadata Source')))) label.set_attributes(attrlist) mvbox.add(label) label.show() self.metadata_source = gtk.combo_box_new_text() # TC: The chosen source of track metadata. self.metadata_source.append_text(_('Playlist 1')) # TC: The chosen source of track metadata. self.metadata_source.append_text(_('Playlist 2')) # TC: The chosen source of track metadata. self.metadata_source.append_text(_('Last Played')) # TC: The chosen source of track metadata. self.metadata_source.append_text(_('Crossfader')) # TC: The chosen source of track metadata. In this case no metadata. self.metadata_source.append_text(_('None')) # TC: The chosen source of track metadata. In this case no metadata. self.metadata_source.append_text(_('Playlist 3')) self.metadata_source.set_active(3) cross_sizegroup.add_widget(self.metadata_source) self.metadata_source.connect("changed", self.cb_metadata_source) set_tip(self.metadata_source, _('Select the origin for the playing track metadata on the stream.')) mvbox.add(self.metadata_source) self.metadata_source.show() self.crossbox.pack_start(mvbox, False, False, 0) mvbox.show() cross_sizegroup2.add_widget(self.metadata_source) sg3.add_widget(self.metadata_source) plvbox = gtk.VBox() # TC: Abbreviation of left. label = gtk.Label(_('L')) attrlist = pango.AttrList() attrlist.insert(pango.AttrSize(8000, 0, len(_('L')))) label.set_attributes(attrlist) plvbox.add(label) label.show() self.passleft = make_arrow_button( self, gtk.ARROW_LEFT, gtk.SHADOW_NONE, "cfmleft") plvbox.add(self.passleft) self.passleft.show() self.crossbox.pack_start(plvbox, False, False, 0) plvbox.show() set_tip(plvbox, _('Move the crossfader fully left.')) sg3.add_widget(self.passleft) self.crossadj = gtk.Adjustment(0.0, 0.0, 100.0, 1.0, 3.0, 0.0) self.crossadj.connect("value_changed", self.cb_crossfade) cvbox = gtk.VBox() label = gtk.Label(_('Crossfader')) attrlist = pango.AttrList() attrlist.insert(pango.AttrSize(8000, 0, len(_('Crossfader')))) label.set_attributes(attrlist) cvbox.add(label) label.show() self.crossfade = gtk.HScale(self.crossadj) self.crossfade.set_update_policy(gtk.UPDATE_CONTINUOUS) self.crossfade.set_draw_value(False) cvbox.add(self.crossfade) self.crossfade.show() self.crossbox.pack_start(cvbox, True, True, 0) cvbox.show() self.vbox6.pack_start(self.outercrossbox, False, False, 2) set_tip(cvbox, _('The crossfader.')) prvbox = gtk.VBox() # TC: Abbreviation of right. label = gtk.Label(_('R')) attrlist = pango.AttrList() attrlist.insert(pango.AttrSize(8000, 0, len(_('R')))) label.set_attributes(attrlist) prvbox.add(label) label.show() self.passright = make_arrow_button( self, gtk.ARROW_RIGHT, gtk.SHADOW_NONE, "cfmright") prvbox.add(self.passright) self.passright.show() self.crossbox.pack_start(prvbox, False, False, 0) prvbox.show() set_tip(prvbox, _('Move the crossfader fully right.')) sg3.add_widget(self.passright) patternbox = gtk.HBox() patternbox.set_spacing(2) sg4 = gtk.SizeGroup(gtk.SIZE_GROUP_VERTICAL) passbox = gtk.VBox() # TC: Describes a mid point. label = gtk.Label(_('Middle')) attrlist = pango.AttrList() attrlist.insert(pango.AttrSize(8000, 0, len(_('Middle')))) label.set_attributes(attrlist) label.show() passbox.add(label) passhbox = gtk.HBox() passhbox.set_spacing(2) passbox.add(passhbox) passhbox.show() patternbox.pack_start(passbox, False, False, 0) passbox.show() self.passmidleft = make_arrow_button( self, gtk.ARROW_UP, gtk.SHADOW_NONE, "cfmmidl") sg4.add_widget(self.passmidleft) passhbox.pack_start(self.passmidleft, False, False, 0) self.passmidleft.show() set_tip(self.passmidleft, _('Move the crossfader to the middle of its range of travel.')) self.passmidright = make_arrow_button( self, gtk.ARROW_UP, gtk.SHADOW_NONE, "cfmmidr") passhbox.pack_start(self.passmidright, False, False, 0) self.passmidright.show() set_tip(self.passmidright, _('Move the crossfader to the middle of its range of travel.')) sg4.add_widget(self.passmidright) pvbox = gtk.VBox() # TC: The attenuation response curve of the crossfader. User selectable. label = gtk.Label(_('Response')) attrlist = pango.AttrList() attrlist.insert(pango.AttrSize(8000, 0, len(_('Response')))) label.set_attributes(attrlist) pvbox.add(label) label.show() liststore = gtk.ListStore(gtk.gdk.Pixbuf) self.crosspattern = gtk.ComboBox(liststore) cell = gtk.CellRendererPixbuf() self.crosspattern.pack_start(cell, True) self.crosspattern.add_attribute(cell, 'pixbuf', 0) liststore.append((gtk.gdk.pixbuf_new_from_file( FGlobs.pkgdatadir / "classic_cross.png"), )) liststore.append((gtk.gdk.pixbuf_new_from_file( FGlobs.pkgdatadir / "mk2_cross.png"), )) liststore.append((gtk.gdk.pixbuf_new_from_file( FGlobs.pkgdatadir / "pat3.png"), )) pvbox.pack_start(self.crosspattern, True, True, 0) self.crosspattern.show() self.crossbox.pack_start(patternbox, False, False, 0) patternbox.show() cross_sizegroup2.add_widget(patternbox) self.crosspattern.set_active(0) self.crosspattern.connect("changed", self.cb_crosspattern) set_tip(self.crosspattern, _('This selects the response curve of the ' 'crossfader.\n\nThe mid-point attenuations are -3dB, 0dB, and -22dB ' 'respectively.')) patternbox.pack_start(pvbox, True, True, 0) pvbox.show() sg4.add_widget(self.crosspattern) passbox = gtk.HBox() passbox.set_spacing(2) tvbox = gtk.VBox() # TC: Duration in seconds. label = gtk.Label(_('Time')) attrlist = pango.AttrList() attrlist.insert(pango.AttrSize(8000, 0, len(_('Time')))) label.set_attributes(attrlist) tvbox.add(label) label.show() self.passspeed_adj = gtk.Adjustment(1.0, 0.25, 20.0, 0.25, 0.25) psvbox = gtk.VBox() hs = gtk.HSeparator() psvbox.pack_start(hs, False) hs.show() self.passspeed = gtk.SpinButton(self.passspeed_adj, 0, 2) psvbox.pack_start(self.passspeed, True, False) self.passspeed.show() hs = gtk.HSeparator() psvbox.pack_start(hs, False) hs.show() tvbox.pack_start(psvbox, False, False, 0) psvbox.show() set_tip(tvbox, _('The time in seconds that the crossfader will take to' ' automatically pass across when the button to the right is clicked.')) passbox.pack_start(tvbox, False, False, 0) tvbox.show() sg4.add_widget(psvbox) pvbox = gtk.VBox() # TC: The crossfader pass-across button text. # TC: The actual button appears as [<-->] with this text above it. label = gtk.Label(_('Pass')) attrlist = pango.AttrList() attrlist.insert(pango.AttrSize(8000, 0, len(_('Pass')))) label.set_attributes(attrlist) pvbox.add(label) label.show() image = gtk.Image() image.set_from_file(FGlobs.pkgdatadir / "pass.png") image.show() self.passbutton = gtk.Button() self.passbutton.set_size_request(53, -1) self.passbutton.add(image) self.passbutton.connect("clicked", self.callback, "pass-crossfader") pvbox.add(self.passbutton) self.passbutton.show() set_tip(pvbox, _('This button causes the crossfader to move to the ' 'opposite side at a speed determined by the speed selector to the' ' left.')) passbox.pack_start(pvbox, True, True, 0) pvbox.show() sg4.add_widget(self.passbutton) self.crossbox.pack_start(passbox, False, False, 0) cross_sizegroup.add_widget(passbox) passbox.show() self.crossbox.show() abox = gtk.HBox() abox.set_border_width(1) self.vbox6.pack_start(abox, False, False, 0) abox.show() # We are done with vbox6 so lets show it self.vbox6.show() # The various meters self.metereventbox = gtk.EventBox() self.metereventbox.viewlevels = (5,) self.meterbox = gtk.HBox() self.metereventbox.add(self.meterbox) self.rightpane.pack_start(self.metereventbox, False, False, 0) self.meterbox.show() self.metereventbox.show() # Box contains stream peak, vu and connection status, listener stats. self.streammeterbox = PaddedVBox(3, 2, 0, 0, 5) self.meterbox.pack_start(self.streammeterbox, False, False, 0) self.streammeterbox.show() # Table that contains 1, 2, or 4 microphone meters. self.micmeterbox = PaddedVBox(3, 2, 0, 0, 5) self.meterbox.pack_start(self.micmeterbox, False, False, 0) self.micmeterbox.show() self.str_l_peak = peakholdmeter() self.str_r_peak = peakholdmeter() # TC: This text appears above the stream mix peak level meter. self.stream_peak_box = make_meter_unit( _('Peak'), self.str_l_peak, self.str_r_peak) self.streammeterbox.pack_start(self.stream_peak_box) self.stream_peak_box.show() set_tip(self.stream_peak_box, _('A peak hold meter indicating the ' 'signal strength of the stream audio.')) sg = gtk.SizeGroup(gtk.SIZE_GROUP_HORIZONTAL) self.stream_indicator = [] for i in range(PGlobs.num_streamers): self.stream_indicator.append(StreamMeter(1, 100)) self.stream_indicator_box, self.listener_indicator = \ make_stream_meter_unit(_('Streams'), self.stream_indicator) self.streammeterbox.pack_start( self.stream_indicator_box, False, False, 0) self.stream_indicator_box.show() sg.add_widget(self.stream_indicator_box) if PGlobs.num_recorders: self.recording_panel = RecordingPanel(PGlobs.num_recorders) self.streammeterbox.pack_start(self.recording_panel, False) self.recording_panel.show() self.str_l_rms_vu = vumeter() self.str_r_rms_vu = vumeter() # TC: This text appears above the stream mix VU meter. stream_vu_box = make_meter_unit(_('VU'), self.str_l_rms_vu, self.str_r_rms_vu) self.streammeterbox.pack_start(stream_vu_box) stream_vu_box.show() set_tip(stream_vu_box, _('A VU meter for the stream audio.')) # TC: Appears above the mic meters as a label followed by a number. self.mic_meters = [MicMeter(_("Ch"), i) for i in range(1, PGlobs.num_micpairs * 2 + 1)] if len(self.mic_meters) <= 4: for meter in self.mic_meters: self.micmeterbox.pack_start(meter) meter.show() else: chvbox = gtk.VBox() chvbox.set_spacing(4) self.micmeterbox.pack_start(chvbox) chvbox.show() def showhide(widget, state, box, l, r): if l.flags() & gtk.SENSITIVE or r.flags() & gtk.SENSITIVE: box.show() else: box.hide() for l, r in zip(*((iter(self.mic_meters),) * 2)): chhbox = gtk.HBox() chhbox.set_spacing(4) chhbox.pack_start(l, False) chhbox.pack_end(r, False) chvbox.pack_start(chhbox) chhbox.show() for each in l, r: each.connect("state-changed", showhide, chhbox, l, r) each.show() set_tip(self.micmeterbox, _('A peak hold meter indicating the ' 'microphone signal strength and a meter indicating attenuation levels ' 'in the microphone signal processing system. Green indicates ' 'attenuation from the noise gate, yellow from the de-esser, red from ' 'the limiter.')) # Aux players initialisation. self.jingles = ExtraPlayers(self) self.player_nb.append_page(self.jingles, self.jingles.nb_label) self.player_nb.set_page(0) # Variable initialisation self.songname = u"" self.newmetadata = False self.showing_left_file_requester = False self.showing_right_file_requester = False self.old_metadata = None self._old_metadata_2 = None self.simplemixer = False self.crosspass = 0 self.old_meta_context = None # initialize metadata source setting self.last_player = "" self.METADATA_LEFT_DECK = 0 self.METADATA_RIGHT_DECK = 1 self.METADATA_LAST_PLAYED = 2 self.METADATA_CROSSFADER = 3 self.METADATA_NONE = 4 self.METADATA_BACKGROUND = 5 self.metadata_src = self.METADATA_CROSSFADER self.vu_update_counter = 0 self.alarm = False self.NO_PHONE = 0 self.PUBLIC_PHONE = 1 self.PRIVATE_PHONE = 2 self.mixermode = self.NO_PHONE self.jingles_playing = SlotObject(0) self.interlude_playing = SlotObject(0) self.player_left.playtime_elapsed = SlotObject(0) self.player_right.playtime_elapsed = SlotObject(0) self.jingles.interlude.playtime_elapsed = SlotObject(0) self.player_left.mixer_playing = SlotObject(0) self.player_right.mixer_playing = SlotObject(0) self.jingles.interlude.mixer_playing = SlotObject(0) self.player_left.mixer_signal_f = SlotObject(0) self.player_right.mixer_signal_f = SlotObject(0) self.jingles.interlude.mixer_signal_f = SlotObject(0) self.player_left.mixer_cid = SlotObject(0) self.player_right.mixer_cid = SlotObject(0) self.jingles.interlude.mixer_cid = SlotObject(0) self.left_compression_level = SlotObject(0) self.right_compression_level = SlotObject(0) self.left_deess_level = SlotObject(0) self.right_deess_level = SlotObject(0) self.left_noisegate_level = SlotObject(0) self.right_noisegate_level = SlotObject(0) self.jingles.mixer_jingles_cid = SlotObject(0) self.jingles.mixer_interlude_cid = SlotObject(0) self.player_left.runout = SlotObject(0) self.player_right.runout = SlotObject(0) self.jingles.interlude.runout = SlotObject(0) self.metadata_left_ctrl = SlotObject(0) self.metadata_right_ctrl = SlotObject(0) self.metadata_interlude_ctrl = SlotObject(0) self.player_left.silence = SlotObject(0.0) self.player_right.silence = SlotObject(0.0) self.jingles.interlude.silence = SlotObject(0.0) self.sample_rate = SlotObject(0) self.effects_playing = SlotObject(0) self.feature_set = gtk.ToggleButton() self.feature_set.set_active(True) self.feature_set.connect("toggled", self.callback, "Features") self.full_wst = WindowSizeTracker(self.window, True) self.min_wst = WindowSizeTracker(self.window, False) self.in_vu_timeout = False self.vucounter = 0 self.session_filename = "main_session" self.files_played = {} self.files_played_offline = {} # Variable map for stuff read from the mixer self.vumap = { "str_l_peak" : self.str_l_peak, "str_r_peak" : self.str_r_peak, "str_l_rms" : self.str_l_rms_vu, "str_r_rms" : self.str_r_rms_vu, "left_elapsed" : self.player_left.playtime_elapsed, "right_elapsed" : self.player_right.playtime_elapsed, "interlude_elapsed" : self.jingles.interlude.playtime_elapsed, "left_playing" : self.player_left.mixer_playing, "right_playing" : self.player_right.mixer_playing, "jingles_playing" : self.jingles_playing, "interlude_playing" : self.jingles.interlude.mixer_playing, "left_signal" : self.player_left.mixer_signal_f, "right_signal" : self.player_right.mixer_signal_f, "interlude_signal" : self.jingles.interlude.mixer_signal_f, "left_cid" : self.player_left.mixer_cid, "right_cid" : self.player_right.mixer_cid, "jingles_cid" : self.jingles.mixer_jingles_cid, "interlude_cid" : self.jingles.interlude.mixer_cid, "left_audio_runout" : self.player_left.runout, "right_audio_runout" : self.player_right.runout, "interlude_audio_runout" : self.jingles.interlude.runout, "left_additional_metadata" : self.metadata_left_ctrl, "right_additional_metadata" : self.metadata_right_ctrl, "interlude_additional_metadata" : self.metadata_interlude_ctrl, "left_silence" : self.player_left.silence, "right_silence" : self.player_right.silence, "interlude_silence" : self.jingles.interlude.silence, "sample_rate" : self.sample_rate, "effects_playing" : self.effects_playing, "freewheel_mode" : self.freewheel_button } for i, mic in enumerate(self.mic_meters): self.vumap.update({"mic_%d_levels" % (i + 1): mic}) self.controls= midicontrols.Controls(self) self.controls.load_prefs() self.window.realize() media_sg = gtk.SizeGroup(gtk.SIZE_GROUP_HORIZONTAL) media_sg.add_widget(self.vbox3L) media_sg.add_widget(self.vbox3R) self.menu.playersmenu_i.set_active(True) self.menu.playersmenu_i.connect("activate", lambda w: self.player_nb.set_visible(w.get_active())) self.menu.quitmenu_i.connect_object( "activate", self.delete_event, self.window, None) self.menu.outputmenu_i.connect( "activate", lambda w: self.server_window.window.present()) self.menu.prefsmenu_i.connect( "activate", lambda w: self.prefs_window.window.present()) if pm.profile is not None: self.menu.profilesmenu_i.connect( "activate", lambda w: pm.profile_dialog.present()) else: self.menu.profilesmenu_i.set_sensitive(False) self.menu.aboutmenu_i.connect( "activate", lambda w: self.prefs_window.show_about()) self.jack = JackMenu(self.menu, lambda s, r: self.mixer_write( "ACTN=jack%s\n%s" % (s, r)), lambda: self.mixer_read()) self.jack.load(startup=True) self.server_window = SourceClientGui(self) self.prefs_window = mixprefs(self) self.prefs_window.load_player_prefs() self.prefs_window.apply_player_prefs() self.vutimeout = gobject.timeout_add(50, self.vu_update) self.statstimeout = gobject.timeout_add(100, self.stats_update) self.savetimeout = gobject.timeout_add_seconds( 120, threadslock(self.save_session), "periodic") for sig in (signal.SIGINT, signal.SIGTERM, signal.SIGHUP): signal.signal(sig, lambda s, f: glib.idle_add( threadslock(self.destroy))) (self.full_wst, self.min_wst)[bool(self.simplemixer)].apply() self.window.connect("configure_event", self.configure_event) self.jingles.interlude.listen.set_active(False) if self.prefs_window.restore_session_option.get_active(): print "Restoring previous session" self.player_left.restore_session() self.player_right.restore_session() self.jingles.restore_session() self.restore_session() self.session_loaded = True self.window.set_focus_chain((self.player_left.scrolllist, self.player_right.scrolllist, self.jingles.interlude.scrolllist)) self.server_window.update_metadata() self.window.forall(self.strip_focusability) self.topleftpane.repair_focusability() self.player_left.treeview.set_flags(gtk.CAN_FOCUS) self.player_right.treeview.set_flags(gtk.CAN_FOCUS) self.jingles.interlude.treeview.set_flags(gtk.CAN_FOCUS) self.player_left.treeview.grab_focus() self.window.add_events(gtk.gdk.KEY_PRESS_MASK) self.window.connect("key-press-event", self.cb_key_capture) self.window.connect("key-release-event", self.cb_key_capture) self.window.show() gobject.idle_add(lambda: self.prefs_window.window.realize() and False) self.player_left.treeview.emit("cursor-changed") self.player_right.treeview.emit("cursor-changed") # DBus object initialization dbus.service.Object.__init__(self, pm.dbus_bus_name, PGlobs.dbus_objects_basename + "/main") if args.channels is not None: for each in args.channels: self.mic_opener.open(each) if args.voip is not None: if args.voip == ["public"]: self.greenphone.set_active(True) elif args.voip == ["private"]: self.redphone.set_active(True) if args.kicksources is not None: servtabs = self.server_window.streamtabframe.tabs for n in range(len(servtabs)): if chr(n + ord("1")) in args.kicksources: servtabs[n].kick_incumbent.clicked() time.sleep(0.1) if args.servers is not None: servtabs = self.server_window.streamtabframe.tabs for n in range(len(servtabs)): if chr(n + ord("1")) in args.servers: servtabs[n].server_connect.set_active(True) time.sleep(0.1) for n in range(len(servtabs)): if chr(n + ord("1")) in args.servers: servtabs[n].server_connect.set_active(False) time.sleep(0.1) for n in range(len(servtabs)): if chr(n + ord("1")) in args.servers: servtabs[n].server_connect.set_active(True) if args.crossfader is not None: if args.crossfader == "1": self.passleft.clicked() elif args.crossfader == "2": self.passright.clicked() if args.players is not None: if "1" in args.players: self.player_left.play.clicked() if "2" in args.players: self.player_right.play.clicked() if "3" in args.players: self.jingles.interlude.play.clicked() def main(self): gtk.main() def main(): try: run_instance = MainWindow() except (MainWindow.initfailed, MainWindow.initcleanexit, KeyboardInterrupt): return 5 else: try: run_instance.main() except KeyboardInterrupt: return 5 return 0 idjc-0.8.9/python/preferences.py0000644000175000017500000017766612141755777013625 00000000000000# IDJCmixprefs.py: Preferences window code for IDJC # Copyright (C) 2005-2011 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . __all__ = ['mixprefs'] import os import shutil import gettext import itertools import gtk from idjc import FGlobs, PGlobs from . import licence_window from . import songdb from . import midicontrols from .gtkstuff import WindowSizeTracker, DefaultEntry from .prelims import ProfileManager from .utils import PathStr from .tooltips import set_tip, MAIN_TIPS _ = gettext.translation(FGlobs.package_name, FGlobs.localedir, fallback=True).gettext def N_(text): return text pm = ProfileManager() class CSLEntry(gtk.Entry): def cb_keypress(self, widget, event): if event.string: if len(event.string) > 1: return True if not event.string in "0123456789,": return True return False def __init__(self, max = 0): gtk.Entry.__init__(self, max) self.connect("key-press-event", self.cb_keypress) class InitialPlayerConfig(gtk.Frame): def __init__(self, title, player, prefix): self.player = player gtk.Frame.__init__(self, " %s " % title) vbox = gtk.VBox() vbox.set_border_width(3) self.add(vbox) pl_label = gtk.Label(_("Playlist Mode")) fade_label = gtk.Label(_("Fade")) if hasattr(gtk, "ComboBoxText"): self.pl_mode = gtk.ComboBoxText(player.pl_mode.get_model()) self.fade = gtk.ComboBoxText(player.fade.get_model()) else: self.pl_mode = gtk.combo_box_new_text() self.pl_mode.set_model(player.pl_mode.get_model()) self.fade = gtk.combo_box_new_text() self.fade.set_model(player.pl_delay.get_model()) for each in (self.pl_mode, self.fade): each.set_active(0) self.elapsed = gtk.RadioButton(None, _("Track time elapsed")) self.remaining = gtk.RadioButton(self.elapsed, _("Track time remaining")) s1 = gtk.HSeparator() self.to_stream = gtk.CheckButton(_("Audio to stream")) self.to_dj = gtk.CheckButton(_("Audio to DJ")) for each in (self.to_stream, self.to_dj): each.set_active(True) for each in (pl_label, self.pl_mode, fade_label, self.fade, self.elapsed, self.remaining, s1, self.to_stream, self.to_dj): vbox.pack_start(each, False) self.show_all() self.activedict = { prefix + "pl_mode": self.pl_mode, prefix + "fade": self.fade, prefix + "timeremaining": self.remaining, prefix + "tostream": self.to_stream, prefix + "todj": self.to_dj } def apply(self): p = self.player p.pl_mode.set_active(self.pl_mode.get_active()) p.pl_delay.set_active(self.fade.get_active()) p.stream.set_active(self.to_stream.get_active()) p.listen.set_active(self.to_dj.get_active()) if self.remaining.get_active(): p.digiprogress_click() class AGCControl(gtk.Frame): mic_modes = ( # TC: Microphone mode combobox text. N_('Deactivated'), # TC: Microphone mode combobox text. N_('Basic input'), # TC: Microphone mode combobox text. N_('Processed input'), # TC: Microphone mode combobox text. N_('Partnered with channel %s')) def sendnewstats(self, widget, wname): if wname != NotImplemented: if isinstance(widget, (gtk.SpinButton, gtk.Scale)): value = widget.get_value() if isinstance(widget, (gtk.ToggleButton, gtk.ComboBox)): value = int(widget.get_active()) stringtosend = "INDX=%d\nAGCP=%s=%s\nACTN=%s\nend\n" % ( self.index, wname, str(value), "mic_control") self.approot.mixer_write(stringtosend) def set_partner(self, partner): self.partner = partner self.mode.set_cell_data_func(self.mode_cell, self.mode_cell_data_func, partner.mode) def mode_cell_data_func(self, celllayout, cell, model, iter, opposite): index = model.get_path(iter)[0] oindex = opposite.get_active() cell.props.sensitive = not (((index == 0 or index == 3) and oindex == 3) or (index == 3 and oindex == 0)) trans = _(model.get_value(iter, 0)) if index == 3: cell.props.text = trans % self.partner.ui_name else: cell.props.text = trans def numline(self, label_text, wname, initial=0, mini=0, maxi=0, step=0, digits=0, adj=None): hbox = gtk.HBox() label = gtk.Label(label_text) if not adj: adj = gtk.Adjustment(initial, mini, maxi, step) sb = gtk.SpinButton(adj, 0, digits) sb.connect("value-changed", self.sendnewstats, wname) sb.emit("value-changed") hbox.pack_start(label, False, False, 0) hbox.pack_end(sb, False, False, 0) hbox.show_all() self.valuesdict[self.commandname + "_" + wname] = sb self.fixups.append(lambda: sb.emit("value-changed")) return hbox def frame(self, label, container): frame = gtk.Frame(label) container.pack_start(frame, False, False, 0) frame.show() ivbox = gtk.VBox() ivbox.set_border_width(3) frame.add(ivbox) ivbox.show() return ivbox def widget_frame(self, widget, container, tip, modes): frame = gtk.Frame() frame.modes = modes set_tip(frame, tip) frame.set_label_widget(widget) container.pack_start(frame, False, False, 0) frame.show() ivbox = gtk.VBox() ivbox.set_border_width(3) frame.add(ivbox) ivbox.show() return ivbox def toggle_frame(self, label_text, wname, container): frame = gtk.Frame() cb = gtk.CheckButton(label_text) cb.connect("toggled", self.sendnewstats, wname) cb.emit("toggled") cbb = gtk.HBox() cbb.pack_start(cb, True, False, 2) cb.show() frame.set_label_widget(cbb) cbb.show() container.pack_start(frame, False, False, 0) frame.show() ivbox = gtk.VBox() ivbox.set_border_width(3) frame.add(ivbox) ivbox.show() self.activedict[self.commandname + "_" + wname] = cb self.fixups.append(lambda: cb.emit("toggled")) return ivbox def check(self, label_text, wname, save=True): cb = gtk.CheckButton(label_text) cb.connect("toggled", self.sendnewstats, wname) cb.emit("toggled") cb.show() if save: self.activedict[self.commandname + "_" + wname] = cb self.fixups.append(lambda: cb.emit("toggled")) return cb def cb_open(self, widget): active = widget.get_active() self.meter.set_led(active) def cb_mode(self, combobox): mode = combobox.get_active() # Show pertinent features for each mode. def showhide(widget): try: modes = widget.modes except: pass else: if mode in modes: widget.show() else: widget.hide() self.vbox.foreach(showhide) # Meter sensitivity. Deactivated => insensitive. sens = mode != 0 self.meter.set_sensitive(sens) if not sens: self.open.set_active(False) if mode == 3: self.partner.openaction.connect_proxy(self.open) else: self.openaction.connect_proxy(self.open) self.open.set_sensitive(self.no_front_panel_opener.get_active()) def __init__(self, approot, ui_name, commandname, index): self.approot = approot self.ui_name = ui_name self.meter = approot.mic_meters[int(ui_name) - 1] self.meter.agc = self self.commandname = commandname self.index = index self.valuesdict = {} self.activedict = {} self.textdict = {} self.fixups = [] gtk.Frame.__init__(self) hbox = gtk.HBox() hbox.set_spacing(3) label = gtk.Label('' + ui_name + "") label.set_use_markup(True) hbox.pack_start(label, False) label.show() self.alt_name = gtk.Entry() set_tip(self.alt_name, _('A label so you may describe briefly the ' 'role of this audio channel.')) self.textdict[self.commandname + "_alt_name"] = self.alt_name hbox.pack_start(self.alt_name, True, True) self.alt_name.show() hbox.show() self.set_label_widget(hbox) hbox.show() self.set_label_align(0.5, 0.5) self.set_border_width(3) self.vbox = gtk.VBox() self.vbox.set_spacing(2) self.vbox.set_border_width(3) self.add(self.vbox) self.vbox.show() mode_liststore = gtk.ListStore(str) self.mode = gtk.ComboBox(mode_liststore) self.mode_cell = gtk.CellRendererText() self.mode.pack_start(self.mode_cell) self.mode.set_attributes(self.mode_cell, text=0) self.fixups.append(lambda: self.mode.emit("changed")) self.vbox.pack_start(self.mode, False, False) for each in self.mic_modes: mode_liststore.append((each, )) self.mode.connect("changed", self.sendnewstats, "mode") self.mode.connect("changed", self.cb_mode) self.activedict[self.commandname + "_mode"] = self.mode self.mode.show() set_tip(self.mode, _('The signal processing mode.')) hbox = gtk.HBox() # TC: A frame heading. The channel opener is selected within. label = gtk.Label(_('Channel Opener')) hbox.pack_start(label, False, False, 3) label.show() ivbox = self.widget_frame(hbox, self.vbox, _('This controls the ' 'allocation of front panel open/unmute buttons. Having one button ' 'control multiple microphones can save time.'), (1, 2)) hbox.show() hbox = gtk.HBox() # TC: Spinbutton label text. self.group = gtk.RadioButton(None, _('Main Panel Button')) self.activedict[self.commandname + "_group"] = self.group hbox.pack_start(self.group, False, False, 0) self.group.show() ivbox.pack_start(hbox, False, False) hbox.show() self.groups_adj = gtk.Adjustment(1.0, 1.0, PGlobs.num_micpairs * 2, 1.0) self.valuesdict[self.commandname + "_groupnum"] = self.groups_adj groups_spin = gtk.SpinButton(self.groups_adj, 0.0, 0) hbox.pack_end(groups_spin, False) groups_spin.show() hbox = gtk.HBox() hbox.set_spacing(6) ivbox.pack_start(hbox, False) hbox.show() self.no_front_panel_opener = gtk.RadioButton(self.group, _("This:")) self.activedict[self.commandname + "_using_local_opener"] = \ self.no_front_panel_opener self.no_front_panel_opener.connect("toggled", lambda w: self.open.set_sensitive(w.get_active())) hbox.pack_start(self.no_front_panel_opener, False) self.no_front_panel_opener.show() self.openaction = gtk.ToggleAction(None, _('Closed'), None, None) self.openaction.connect("toggled", lambda w: w.set_label(_('Open') if w.get_active() else _('Closed'))) self.open = gtk.ToggleButton() self.open.connect("toggled", self.cb_open) self.open.connect("toggled", self.sendnewstats, "open") hbox.pack_start(self.open) self.open.show() self.openaction.connect_proxy(self.open) self.open.emit("toggled") self.open.set_sensitive(False) self.fixups.append(lambda: self.open.emit("toggled")) sizegroup = gtk.SizeGroup(gtk.SIZE_GROUP_HORIZONTAL) panframe = gtk.Frame() panframe.modes = (1, 2, 3) set_tip(panframe, _('Stereo panning is the selection of where an audio ' 'source sits from left to right within the stereo mix.\n\nThis control ' 'maintains constant audio power throughout its range of travel, giving ' '-3dB attenuation in both audio channels at the half way point.\n\n' 'If you require 0dB straight down the middle then this feature should ' 'be turned off.')) hbox = gtk.HBox() self.pan_active = gtk.CheckButton(_('Stereo Panning')) self.activedict[self.commandname + "_pan_active"] = self.pan_active hbox.pack_start(self.pan_active, False, False, 0) self.pan_active.show() self.pan_active.connect("toggled", self.sendnewstats, "pan_active") panframe.set_label_widget(hbox) hbox.show() self.fixups.append(lambda: self.pan_active.emit("toggled")) panvbox = gtk.VBox() panvbox.set_border_width(1) panframe.add(panvbox) panhbox = gtk.HBox() panvbox.pack_start(panhbox, False, False) panhbox.set_spacing(3) panhbox.set_border_width(3) l = gtk.Label(_('L')) sizegroup.add_widget(l) panhbox.pack_start(l, False, False) panadj = gtk.Adjustment(50.0, 0.0, 100.0, 1, 10) self.pan = gtk.HScale(panadj) self.pan.set_draw_value(False) self.pan.connect("value-changed", self.sendnewstats, "pan") self.pan.emit("value-changed") self.fixups.append(lambda: self.pan.emit("value-changed")) self.valuesdict[self.commandname + "_pan"] = self.pan panhbox.pack_start(self.pan) r = gtk.Label(_('R')) sizegroup.add_widget(r) panhbox.pack_start(r, False, False) self.pan.add_mark(50.0, gtk.POS_BOTTOM, None) self.pan.add_mark(25.0, gtk.POS_BOTTOM, None) self.pan.add_mark(75.0, gtk.POS_BOTTOM, None) self.vbox.pack_start(panframe, False, False) panframe.show_all() # TC: A set of controls that perform audio signal matching. pairedframe = gtk.Frame(" %s " % _('Signal Matching')) set_tip(pairedframe, _('These controls are provided to obtain a decent ' 'match between the two microphones.')) pairedframe.modes = (3, ) self.vbox.pack_start(pairedframe, False) pairedvbox = gtk.VBox() pairedvbox.set_border_width(3) pairedframe.add(pairedvbox) pairedvbox.show() pairedmicgainadj = gtk.Adjustment(0.0, -20.0, +20.0, 0.1, 2) pairedmicgain = self.numline(_('Relative Gain (dB)'), "pairedgain", digits=1, adj=pairedmicgainadj) pairedvbox.pack_start(pairedmicgain, False) pairedmicgain.show() # TC: Mic audio phase inversion control. pairedinvert = self.check(_('Invert Signal'), "pairedinvert") pairedvbox.pack_start(pairedinvert, False) pairedinvert.show() micgainadj = gtk.Adjustment(0.0, -20.0, +30.0, 0.1, 2) invertaction = gtk.ToggleAction("invert", _('Invert Signal'), _('Useful for when microphones are cancelling one another ' 'out, producing a hollow sound.'), None) # TC: Control whether to mix microphone audio to the DJ mix. indjmixaction = gtk.ToggleAction("indjmix", _("In The DJ's Mix"), _('Make the microphone audio audible in the DJ mix. ' 'This may not always be desirable.'), None) self.simple_box = gtk.VBox() self.simple_box.set_spacing(2) self.vbox.pack_start(self.simple_box, False, False) self.simple_box.modes = (1, ) ivbox = self.frame(" " + _('Basic Controls') + " ", self.simple_box) micgain = self.numline(_('Boost/Cut (dB)'), "gain", digits=1, adj=micgainadj) ivbox.pack_start(micgain, False, False) invert_simple = self.check("", "invert") invertaction.connect_proxy(invert_simple) ivbox.pack_start(invert_simple, False, False) set_tip(invert_simple, _('Useful for when microphones are cancelling ' 'one another out, producing a hollow sound.')) indjmix = self.check("", "indjmix") indjmixaction.connect_proxy(indjmix) ivbox.pack_start(indjmix, False, False) set_tip(indjmix, _('Make the microphone audio audible in the DJ mix. ' 'This may not always be desirable.')) self.processed_box = gtk.VBox() self.processed_box.modes = (2, ) self.processed_box.set_spacing(2) self.vbox.pack_start(self.processed_box, False, False) ivbox = self.frame(" %s " % _('High Pass Filter'), self.processed_box) hpcutoff = self.numline(_('Cutoff Frequency'), "hpcutoff", 100.0, 30.0, 120.0, 1.0, 1) ivbox.pack_start(hpcutoff, False, False, 0) # TC: User can set the number of filter stages. hpstages = self.numline(_('Stages'), "hpstages", 4.0, 1.0, 4.0, 1.0, 0) ivbox.pack_start(hpstages, False, False, 0) set_tip(ivbox, _('Frequency in Hertz above which audio can pass to later stages. ' 'Use this feature to restrict low frequency sounds such as mains ' 'hum. Setting too high a level will make your voice sound thin.')) # TC: this is the treble control. HF = high frequency. ivbox = self.frame(" " + _('HF Detail') + " ", self.processed_box) hfmulti = self.numline(_('Effect'), "hfmulti", 0.0, 0.0, 9.0, 0.1, 1) ivbox.pack_start(hfmulti, False, False, 0) hfcutoff = self.numline(_('Cutoff Frequency'), "hfcutoff", 2000.0, 900.0, 4000.0, 10.0, 0) ivbox.pack_start(hfcutoff, False, False, 0) set_tip(ivbox, _('You can use this to boost the amount of treble in the audio.')) # TC: this is the bass control. LF = low frequency. ivbox = self.frame(" " + _('LF Detail') + " ", self.processed_box) lfmulti = self.numline(_('Effect'), "lfmulti", 0.0, 0.0, 9.0, 0.1, 1) ivbox.pack_start(lfmulti, False, False, 0) lfcutoff = self.numline(_('Cutoff Frequency'), "lfcutoff", 150.0, 50.0, 400.0, 1.0, 0) ivbox.pack_start(lfcutoff, False, False, 0) set_tip(ivbox, _('You can use this to boost the amount of bass in the audio.')) # TC: lookahead brick wall limiter. ivbox = self.frame(" " + _('Limiter') + " ", self.processed_box) micgain = self.numline(_('Boost/Cut (dB)'), "gain", digits=1, adj=micgainadj) ivbox.pack_start(micgain, False, False, 0) # TC: this is the peak signal limit. limit = self.numline(_('Upper Limit'), "limit", -3.0, -9.0, 0.0, 0.5, 1) ivbox.pack_start(limit, False, False, 0) set_tip(ivbox, _('A look-ahead brick-wall limiter. Audio signals are ' 'capped at the upper limit.')) ivbox = self.frame(" " + _('Noise Gate') + " ", self.processed_box) # TC: noise gate triggers at this level. ng_thresh = self.numline(_('Threshold'), "ngthresh", -30.0, -62.0, -20.0, 1.0, 0) ivbox.pack_start(ng_thresh, False, False, 0) # TC: negative gain when the noise gate is active. ng_gain = self.numline(_('Gain'), "nggain", -6.0, -12.0, 0.0, 1.0, 0) ivbox.pack_start(ng_gain, False, False, 0) set_tip(ivbox, _("Reduce the unwanted quietest sounds and background " "noise which you don't want your listeners to hear with this.")) ivbox = self.frame(" " + _('De-esser') + " ", self.processed_box) # TC: Bias has a numeric setting. ds_bias = self.numline(_('Bias'), "deessbias", 0.35, 0.1, 10.0, 0.05, 2) ivbox.pack_start(ds_bias, False, False, 0) # TC: The de-esser attenuation in ess-detected state. ds_gain = self.numline(_('Gain'), "deessgain", -4.5, -10.0, 0.0, 0.5, 1) ivbox.pack_start(ds_gain, False, False, 0) set_tip(ivbox, _('Reduce the S, T, and P sounds which microphones tend ' 'to exaggerate. Ideally the Bias control will be set low so that the ' 'de-esser is off when there is silence but is set high enough that ' 'mouse clicks are detected and suppressed.')) ivbox = self.toggle_frame(_('Ducker'), "duckenable", self.processed_box) duckrelease = self.numline(_('Release'), "duckrelease", 400.0, 100.0, 999.0, 10.0, 0) ivbox.pack_start(duckrelease, False, False, 0) duckhold = self.numline(_('Hold'), "duckhold", 350.0, 0.0, 999.0, 10.0, 0) ivbox.pack_start(duckhold, False, False, 0) set_tip(ivbox, _('The ducker automatically reduces the level of player ' 'audio when the DJ speaks. These settings allow you to adjust' ' the timings of that audio reduction.')) ivbox = self.frame(" " + _('Other options') + " ", self.processed_box) invert_complex = self.check("", NotImplemented, save=False) invertaction.connect_proxy(invert_complex) ivbox.pack_start(invert_complex, False, False) set_tip(invert_complex, _('Useful for when microphones are cancelling ' 'one another out, producing a hollow sound.')) phaserotate = self.check(_('Phase Rotator'), "phaserotate") ivbox.pack_start(phaserotate, False, False, 0) set_tip(phaserotate, _('This feature processes the microphone audio so that it sounds more ' 'even. The effect is particularly noticable on male voices.')) indjmix = self.check("", NotImplemented, save=False) indjmixaction.connect_proxy(indjmix) ivbox.pack_start(indjmix, False, False) set_tip(indjmix, _('Make the microphone audio audible in the DJ mix. ' 'This may not always be desirable.')) self.mode.set_active(0) indjmix.set_active(True) self.partner = None class mixprefs: def send_new_resampler_stats(self): self.parent.mixer_write("RSQT=%d\nACTN=resamplequality\nend\n" % self.resample_quality) def cb_resample_quality(self, widget, data): if widget.get_active(): self.resample_quality = data self.send_new_resampler_stats() def cb_dither(self, widget, data = None): if widget.get_active(): string_to_send = "ACTN=dither\nend\n" else: string_to_send = "ACTN=dontdither\nend\n" self.parent.mixer_write(string_to_send) def cb_vol_changed(self, widget): self.parent.send_new_mixer_stats() def cb_restore_session(self, widget, data=None): state = not widget.get_active() for each in (self.lpconfig, self.rpconfig, self.misc_session_frame): each.set_sensitive(state) def delete_event(self, widget, event, data=None): self.window.hide() return True def save_resource_template(self): try: with open(pm.basedir / "config", "w") as f: f.write("[resource_count]\n") for name, widget in self.rrvaluesdict.iteritems(): f.write(name + "=" + str(int(widget.get_value())) + "\n") f.write("num_effects=%d\n" % (24 if self.more_effects.get_active() else 12)) except IOError: print "Error while writing out player defaults" def save_player_prefs(self, where=None): try: with open((where or pm.basedir) / "playerdefaults", "w") as f: for name, widget in self.activedict.iteritems(): f.write(name + "=" + str(int(widget.get_active())) + "\n") for name, widget in self.valuesdict.iteritems(): f.write(name + "=" + str(widget.get_value()) + "\n") for name, widget in self.textdict.iteritems(): if widget.get_text() is not None: f.write(name + "=" + widget.get_text() + "\n") else: f.write(name + "=\n") except IOError: print "Error while writing out player defaults" def load_player_prefs(self): songdb_active = False try: file = open(pm.basedir / "playerdefaults") while 1: line = file.readline() if line == "": break if line.count("=") != 1: continue line = line.split("=") key = line[0].strip() value = line[1][:-1].strip() if self.activedict.has_key(key): if value == "True": value = True elif value == "False": value = False else: value = int(value) if key == "songdb_active": songdb_active = value else: self.activedict[key].set_active(value) elif self.valuesdict.has_key(key): self.valuesdict[key].set_value(float(value)) elif self.textdict.has_key(key): self.textdict[key].set_text(value) file.close() except IOError: print "Failed to read playerdefaults file" if songdb_active: self.activedict["songdb_active"].set_active(songdb_active) self.parent.send_new_mixer_stats() def apply_player_prefs(self): for each in (self.lpconfig, self.rpconfig): each.apply() if self.startmini.get_active(): self.mini.clicked() if self.tracks_played.get_active(): self.parent.history_expander.set_expanded(True) self.parent.history_vbox.show() if self.stream_mon.get_active(): self.parent.listen_stream.set_active(True) def callback(self, widget, data): parent = self.parent if data == "basic streamer": if parent.feature_set.get_active(): parent.feature_set.set_active(False) if data == "fully featured": if not parent.feature_set.get_active(): parent.feature_set.set_active(True) if data == "enhanced-crossfader": if widget.get_active(): parent.listen.show() parent.passleft.show() parent.passright.show() parent.passspeed.show() parent.passbutton.show() else: parent.listen.hide() parent.passleft.hide() parent.passright.hide() parent.passspeed.hide() parent.passbutton.hide() parent.listen.set_active(False) if data == "bigger box": if widget.get_active(): self.parent.player_left.digiprogress.set_width_chars(7) self.parent.player_right.digiprogress.set_width_chars(7) else: self.parent.player_left.digiprogress.set_width_chars(6) self.parent.player_right.digiprogress.set_width_chars(6) if data == "tooltips": if widget.get_active(): MAIN_TIPS.enable() else: MAIN_TIPS.disable() def cb_mic_boost(self, widget): self.parent.send_new_mixer_stats() def cb_pbspeed(self, widget): if widget.get_active(): self.parent.player_left.pbspeedbar.set_value(64.0) self.parent.player_right.pbspeedbar.set_value(64.0) self.parent.player_left.pbspeedbox.show() self.parent.player_right.pbspeedbox.show() self.parent.jingles.interlude.pbspeedbar.set_value(64.0) self.parent.jingles.interlude.pbspeedbox.show() else: self.parent.player_left.pbspeedbox.hide() self.parent.player_right.pbspeedbox.hide() self.parent.jingles.interlude.pbspeedbox.hide() self.parent.send_new_mixer_stats() def cb_dual_volume(self, widget): if widget.get_active(): self.parent.deck2adj.set_value(self.parent.deckadj.get_value()) self.parent.deck2vol.show() set_tip(self.parent.deckvol, _('The volume control for the left music player.')) else: if self.parent.player_left.is_playing ^ \ self.parent.player_right.is_playing: if self.parent.player_left.is_playing: self.parent.deck2adj.set_value( self.parent.deckadj.get_value()) else: self.parent.deckadj.set_value( self.parent.deck2adj.get_value()) else: halfdelta = (self.parent.deck2adj.get_value() - \ self.parent.deckadj.get_value()) / 2 self.parent.deck2adj.props.value -= halfdelta self.parent.deckadj.props.value += halfdelta self.parent.deck2vol.hide() set_tip(self.parent.deckvol, _('The volume control shared by both music players.')) def cb_rg_indicate(self, widget): show = widget.get_active() for each in (self.parent.player_left, self.parent.player_right, self.parent.jingles.interlude): each.show_replaygain_markers(show) def cb_realize(self, window): self.wst.apply() def show_about(self): self.notebook.set_current_page(self.notebook.page_num(self.aboutframe)) self.window.present() def fixup_mic_controls(self): """Send mic preferences to the backend. This needs to be called whenever the backend is restarted. """ for mic in self.mic_controls: for fixup in mic.fixups: fixup() def __init__(self, parent): self.parent = parent self.parent.prefs_window = self self.window = gtk.Window(gtk.WINDOW_TOPLEVEL) self.window.set_size_request(-1, 480) self.window.connect("realize", self.cb_realize) self.parent.window_group.add_window(self.window) # TC: preferences window title. self.window.set_title(_('IDJC Preferences') + pm.title_extra) self.window.set_border_width(10) self.window.set_resizable(True) self.window.connect("delete_event",self.delete_event) self.window.set_destroy_with_parent(True) self.notebook = gtk.Notebook() self.window.add(self.notebook) self.wst = WindowSizeTracker(self.window) # General tab generalwindow = gtk.ScrolledWindow() generalwindow.set_border_width(8) generalwindow.set_policy(gtk.POLICY_NEVER, gtk.POLICY_AUTOMATIC) outervbox = gtk.VBox() outervbox.set_spacing(5) generalwindow.add_with_viewport(outervbox) generalwindow.show() outervbox.set_border_width(3) aud_rs_hbox = gtk.HBox() # User can use this to set the audio level in the headphones # TC: The DJ's sound level controller. frame = gtk.Frame(" %s " % _('DJ Audio Level')) frame.set_label_align(0.5, 0.5) frame.set_border_width(3) hbox = gtk.HBox() hbox.set_border_width(5) frame.add(hbox) hbox.show() self.dj_aud_adj = gtk.Adjustment(0.0, -60.0, 0.0, 0.5, 1.0) dj_aud = gtk.SpinButton(self.dj_aud_adj, 1, 1) dj_aud.connect("value-changed", self.cb_vol_changed) hbox.pack_start(dj_aud, True, False, 0) dj_aud.show() set_tip(dj_aud, _('This adjusts the sound level of the DJ audio.')) aud_rs_hbox.pack_start(frame, False, False, 0) frame.show() # TC: The alarm sound level. frame = gtk.Frame(" %s " % _('Alarm Level')) frame.set_label_align(0.5, 0.5) frame.set_border_width(3) hbox = gtk.HBox() hbox.set_border_width(5) frame.add(hbox) hbox.show() self.alarm_aud_adj = gtk.Adjustment(0.0, -60.0, 0.0, 0.5, 1.0) alarm_aud = gtk.SpinButton(self.alarm_aud_adj, 1, 1) alarm_aud.connect("value-changed", self.cb_vol_changed) hbox.pack_start(alarm_aud, True, False, 0) alarm_aud.show() set_tip(alarm_aud, _('This adjusts the sound level of the DJ alarm. ' 'Typically this should be set close to the dj audio level when using the \'%s\'' ' feature, otherwise a bit louder.' % _('Music Loudness Compensation'))) aud_rs_hbox.pack_start(frame, False, False, 0) frame.show() # User can use this to set the resampled sound quality frame = gtk.Frame(" %s " % _('Player Resample Quality')) frame.set_label_align(0.5, 0.5) frame.set_border_width(3) hbox = gtk.HBox() hbox.set_border_width(5) set_tip(hbox, _('This adjusts the quality of the audio resampling method ' 'used whenever the sample rate of the music file currently playing does' ' not match the sample rate of the JACK sound server. Best mode ' 'offers the best sound quality but also uses the most CPU (not ' 'recommended for systems built before 2006). All these modes provide ' 'adequate sound quality.')) frame.add(hbox) hbox.show() self.best_quality_resample = gtk.RadioButton(None, _('Best')) self.best_quality_resample.connect( "toggled", self.cb_resample_quality, 0) rsbox = gtk.HBox() rsbox.pack_start(self.best_quality_resample, True, False, 0) rsbox.show() hbox.add(rsbox) self.best_quality_resample.show() self.good_quality_resample = gtk.RadioButton( self.best_quality_resample, _('Medium')) self.good_quality_resample.connect( "toggled", self.cb_resample_quality, 1) rsbox = gtk.HBox() rsbox.pack_start(self.good_quality_resample, True, False, 0) rsbox.show() hbox.add(rsbox) self.good_quality_resample.show() self.fast_resample = gtk.RadioButton( self.good_quality_resample, _('Fast')) self.fast_resample.connect("toggled", self.cb_resample_quality, 2) rsbox = gtk.HBox() rsbox.pack_start(self.fast_resample, True, False, 0) rsbox.show() hbox.add(rsbox) self.fast_resample.show() aud_rs_hbox.pack_start(frame, True, True, 0) frame.show() outervbox.pack_start(aud_rs_hbox, False, False, 0) aud_rs_hbox.show() # TC: the set of features - section heading. featuresframe = gtk.Frame(" %s " % _('Feature Set')) featuresframe.set_border_width(3) featuresvbox = gtk.VBox() hbox = gtk.HBox() hbox.set_border_width(2) featuresvbox.pack_start(hbox, False) featuresframe.add(featuresvbox) featuresvbox.show() outervbox.pack_start(featuresframe, False, False, 0) featuresframe.show() vbox = gtk.VBox() # TC: Start in the full featured user interface mode. self.startfull = gtk.RadioButton(None, _('Start Full')) self.startfull.set_border_width(2) vbox.pack_start(self.startfull, False, False, 0) self.startfull.show() set_tip(self.startfull, _('Indicates which mode IDJC will be in when launched.')) # TC: Start in a reduced user interface mode. self.startmini = gtk.RadioButton(self.startfull, _('Start Mini')) self.startmini.set_border_width(2) vbox.pack_start(self.startmini, False, False, 0) self.startmini.show() set_tip(self.startmini, _('Indicates which mode IDJC will be in when launched.')) vbox.show() hbox2 = gtk.HBox() hbox2.set_border_width(10) hbox2.set_spacing(20) hbox.pack_start(hbox2, True, False, 0) self.maxi = gtk.Button(" %s " % _('Fully Featured')) self.maxi.connect("clicked", self.callback, "fully featured") hbox2.pack_start(self.maxi, False, False, 0) self.maxi.show() set_tip(self.maxi, _('Run in full functionality mode which uses more CPU power.')) self.mini = gtk.Button(" %s " % _('Basic Streamer')) self.mini.connect("clicked", self.callback, "basic streamer") hbox2.pack_start(self.mini, False, False, 0) self.mini.show() set_tip(self.mini, _('Run in a reduced functionality mode that lowers ' 'the burden on the CPU and takes up less screen space.')) hbox2.show() hbox.pack_start(vbox, False, False, 9) hbox.show() requires_restart = gtk.Frame(" %s " % _('These settings take effect after restarting')) requires_restart.set_border_width(7) featuresvbox.pack_start(requires_restart, False) requires_restart.show() rrvbox = gtk.VBox() rrvbox.set_border_width(9) rrvbox.set_spacing(4) requires_restart.add(rrvbox) rrvbox.show() def hjoin(*widgets): hbox = gtk.HBox() hbox.set_spacing(3) for w in widgets: hbox.pack_start(w, False) w.show() hbox.show() return hbox self.more_effects = gtk.RadioButton(None, _('Reserve 24 sound effects slots')) fewer_effects = gtk.RadioButton(self.more_effects, _("Only 12")) if PGlobs.num_effects == 24: self.more_effects.clicked() else: fewer_effects.clicked() rrvbox.pack_start(hjoin(self.more_effects, fewer_effects)) self.mic_qty_adj = gtk.Adjustment( PGlobs.num_micpairs * 2, 2.0, 12.0, 2.0) spin = gtk.SpinButton(self.mic_qty_adj) rrvbox.pack_start(hjoin(spin, gtk.Label( _('Audio input channels')))) self.stream_qty_adj = gtk.Adjustment( PGlobs.num_streamers, 1.0, 9.0, 1.0) spin = gtk.SpinButton(self.stream_qty_adj) rrvbox.pack_start(hjoin(spin, gtk.Label(_('Simultaneous stream(s)')))) self.recorder_qty_adj = gtk.Adjustment( PGlobs.num_recorders, 0.0, 4.0, 1.0) spin = gtk.SpinButton(self.recorder_qty_adj) rrvbox.pack_start(hjoin(spin, gtk.Label( _('Simultaneous recording(s)')))) self.rrvaluesdict = {"num_micpairs": self.mic_qty_adj, "num_streamers": self.stream_qty_adj, "num_recorders": self.recorder_qty_adj} # Meters on/off def showhide(toggle, target): if toggle.get_active(): target.show() else: target.hide() frame = gtk.Frame(" %s " % _('View')) frame.set_border_width(3) hbox = gtk.HBox(3, True) hbox.set_border_width(10) frame.add(hbox) hbox.show() vbox = gtk.VBox() hbox.pack_start(vbox) vbox.show() self.show_stream_meters = gtk.CheckButton() self.show_stream_meters.set_active(True) self.show_stream_meters.connect( "toggled", showhide, parent.streammeterbox) vbox.pack_start(self.show_stream_meters, False) self.show_stream_meters.show() self.show_background_tracks_player = gtk.CheckButton() self.show_background_tracks_player.set_active(True) self.show_background_tracks_player.connect( "toggled", showhide, parent.jingles.interlude_frame) vbox.pack_start(self.show_background_tracks_player, False) self.show_background_tracks_player.show() self.show_button_bar = gtk.CheckButton() self.show_button_bar.set_active(True) self.show_button_bar.connect("toggled", showhide, parent.hbox10) self.show_button_bar.connect("toggled", showhide, parent.hbox10spc) vbox.pack_start(self.show_button_bar, False) self.show_button_bar.show() vbox = gtk.VBox() hbox.pack_start(vbox) vbox.show() self.show_microphones = gtk.CheckButton() self.show_microphones.set_active(True) self.show_microphones.connect("toggled", showhide, parent.micmeterbox) vbox.pack_start(self.show_microphones, False) self.show_microphones.show() self.no_mic_void_space = gtk.CheckButton( _('Fill channel meter void space')) self.no_mic_void_space.set_active(True) for meter in parent.mic_meters: self.no_mic_void_space.connect("toggled", meter.always_show) vbox.pack_start(self.no_mic_void_space, False) self.no_mic_void_space.show() outervbox.pack_start(frame, False, False, 0) frame.show() # ReplayGain controls frame = gtk.Frame(" %s " % _('Player Loudness Normalisation')) frame.set_border_width(3) outervbox.pack_start(frame, False, False, 0) vbox = gtk.VBox() frame.add(vbox) frame.show() vbox.set_border_width(10) vbox.set_spacing(1) vbox.show() self.rg_indicate = gtk.CheckButton( _('Indicate which tracks have loudness metadata')) set_tip(self.rg_indicate, _('Shows a marker in the playlists next to' ' each track. Either a green circle or a red triangle.')) self.rg_indicate.connect("toggled", self.cb_rg_indicate) vbox.pack_start(self.rg_indicate, False, False, 0) self.rg_indicate.show() self.rg_adjust = gtk.CheckButton(_('Adjust playback volume in dB')) set_tip(self.rg_adjust, _('Effective only on newly started tracks.')) vbox.pack_start(self.rg_adjust, False, False, 0) self.rg_adjust.show() table = gtk.Table(2, 6) table.set_col_spacings(3) label = gtk.Label(_('R128')) label.set_alignment(1.0, 0.5) r128_boostadj = gtk.Adjustment(4.0, -5.0, 25.5, 0.5) self.r128_boost = gtk.SpinButton(r128_boostadj, 0.0, 1) set_tip(self.r128_boost, _('It may not be desirable to use the ' 'default level since it is rather quiet. This should be' ' set 4 or 5 dB higher than the ReplayGain setting.')) table.attach(label, 0, 1, 0, 1) table.attach(self.r128_boost, 1, 2, 0, 1) label = gtk.Label(_('ReplayGain')) label.set_alignment(1.0, 0.5) rg_boostadj = gtk.Adjustment(0.0, -10.0, 20.5, 0.5) self.rg_boost = gtk.SpinButton(rg_boostadj, 0.0, 1) set_tip(self.rg_boost, _('It may not be desirable to use the default' ' level since it is rather quiet. This should be set' ' 4 or 5 dB lower than the R128 setting.')) table.attach(label, 2, 3, 0, 1) table.attach(self.rg_boost, 3, 4, 0, 1) label = gtk.Label(_('Untagged')) label.set_alignment(1.0, 0.5) rg_defaultgainadj = gtk.Adjustment(-8.0, -30.0, 10.0, 0.5) self.rg_defaultgain = gtk.SpinButton(rg_defaultgainadj, 0.0, 1) set_tip(self.rg_defaultgain, _('Set this so that any unmarked tracks' ' are playing at a roughly similar loudness level as the marked ones.')) table.attach(label, 4, 5, 0, 1) table.attach(self.rg_defaultgain, 5, 6, 0, 1) label = gtk.Label(_('All')) label.set_alignment(1.0, 0.5) all_boostadj = gtk.Adjustment(0.0, -10.0, 10.0, 0.5) self.all_boost = gtk.SpinButton(all_boostadj, 0.0, 1) set_tip(self.all_boost, _('A master level control for the media players.')) table.attach(label, 0, 1, 1, 2) table.attach(self.all_boost, 1, 2, 1, 2) vbox.pack_start(table, False) table.set_col_spacing(1, 7) table.set_col_spacing(3, 7) table.show_all() # Recorder filename format may be desirable to change for FAT32 compatibility frame = gtk.Frame(" %s " % _('Recorder Filename (excluding the file extension)')) set_tip(frame, _("The specifiers are $r for the number of the " "recorder with the rest being documented in the strftime man page.\n" "Users may wish to alter this to make filenames that are compatible with particular filesystems.")) frame.set_border_width(3) align = gtk.Alignment() align.props.xscale = 1.0 self.recorder_filename = DefaultEntry("idjc.[%Y-%m-%d][%H:%M:%S].$r") align.add(self.recorder_filename) self.recorder_filename.show() align.set_border_width(3) frame.add(align) align.show() outervbox.pack_start(frame, True) frame.show() # Miscellaneous Features frame = gtk.Frame(" " + _('Miscellaneous Features') + " ") frame.set_border_width(3) vbox = gtk.VBox() frame.add(vbox) frame.show() vbox.set_border_width(10) vbox.set_spacing(1) self.silence_killer = gtk.CheckButton( _('Trim quiet song endings and trailing silence')) self.silence_killer.set_active(True) vbox.pack_start(self.silence_killer, False, False, 0) self.silence_killer.show() self.bonus_killer = gtk.CheckButton( _('End tracks containing long passages of silence')) self.bonus_killer.set_active(True) vbox.pack_start(self.bonus_killer, False, False, 0) self.bonus_killer.show() self.speed_variance = gtk.CheckButton( _('Enable the main-player speed/pitch controls')) vbox.pack_start(self.speed_variance, False, False, 0) self.speed_variance.connect("toggled", self.cb_pbspeed) self.speed_variance.show() set_tip(self.speed_variance, _('This option causes some extra widgets ' 'to appear below the playlists which allow the playback speed to be ' 'adjusted from 25% to 400% and a normal speed button.')) self.dual_volume = gtk.CheckButton( _('Separate left/right player volume faders')) vbox.pack_start(self.dual_volume, False, False, 0) self.dual_volume.connect("toggled", self.cb_dual_volume) self.dual_volume.show() set_tip(self.dual_volume, _('Select this option to use an independent ' 'volume fader for the left and right music players.')) self.bigger_box_toggle = gtk.CheckButton( _('Enlarge the time elapsed/remaining windows')) vbox.pack_start(self.bigger_box_toggle, False, False, 0) self.bigger_box_toggle.connect("toggled", self.callback, "bigger box") self.bigger_box_toggle.show() set_tip(self.bigger_box_toggle, _("The time elapsed/remaining windows " "sometimes don't appear big enough for the text that appears in them " "due to unusual DPI settings or the use of a different rendering " "engine. This option serves to fix that.")) self.djalarm = gtk.CheckButton( _('Sound an alarm when the music is due to end')) vbox.pack_start(self.djalarm, False, False, 0) self.djalarm.show() set_tip(self.djalarm, _('An alarm tone alerting the DJ that dead-air is' ' just nine seconds away. This also works when monitoring stream audio ' 'but the alarm tone is not sent to the stream.\n\n' 'JACK freewheel mode will also be automatically disengaged.')) freewheel_show = self.parent.freewheel_button.enabler vbox.pack_start(freewheel_show, False, False, 0) freewheel_show.show() self.dither = gtk.CheckButton( _('Apply dither to 16 bit PCM playback')) vbox.pack_start(self.dither, False, False, 0) self.dither.connect("toggled", self.cb_dither) self.dither.show() set_tip(self.dither, _('This feature maybe improves the sound quality ' 'a little when listening on a 24 bit sound card.')) self.enable_tooltips = gtk.CheckButton(_('Enable tooltips')) self.enable_tooltips.connect("toggled", self.callback, "tooltips") vbox.pack_start(self.enable_tooltips, False, False, 0) self.enable_tooltips.show() set_tip(self.enable_tooltips, _('This, what you are currently reading,' ' is a tooltip. This feature turns them on or off.')) vbox.show() outervbox.pack_start(frame, False) # Song database preferences and connect button. self.songdbprefs = self.parent.topleftpane.prefs_controls self.parent.menu.songdbmenu_a.connect_proxy(self.songdbprefs.dbtoggle) outervbox.pack_start(self.songdbprefs, False) # Widget for user interface label renaming. label_subst = self.parent.label_subst outervbox.pack_start(label_subst, False) label_subst.set_border_width(3) label_subst.show_all() # Session to be saved, or initial settings preferences. frame = gtk.Frame(" %s " % _('Player Settings At Startup')) frame.set_label_align(0.5, 0.5) frame.set_border_width(3) vbox = gtk.VBox() frame.add(vbox) vbox.show() restoresessionhbox = gtk.HBox() restoresessionhbox.set_border_width(8) restoresessionhbox.show() self.restore_session_option = gtk.CheckButton( _('Restore the previous session')) vbox.pack_start(restoresessionhbox, False, False, 0) restoresessionhbox.pack_start(self.restore_session_option, False) self.restore_session_option.show() set_tip(self.restore_session_option, _('When starting IDJC most of the main window settings will be as they ' 'were left. As an alternative you may specify below how you want the ' 'various settings to be when IDJC starts.')) hbox = gtk.HBox(True) vbox.add(hbox) hbox.set_border_width(6) hbox.set_spacing(3) self.lpconfig = InitialPlayerConfig( _("Player 1"), parent.player_left, "l") self.rpconfig = InitialPlayerConfig( _("Player 2"), parent.player_right, "r") for each in self.lpconfig, self.rpconfig: hbox.pack_start(each, True, True) hbox.show() self.misc_session_frame = gtk.Frame() self.misc_session_frame.set_border_width(4) misc_startup = gtk.HBox(True, 20) self.misc_session_frame.add(misc_startup) misc_startup.show() hbox2 = gtk.HBox() hbox2.pack_start(self.misc_session_frame, True, True, 7) hbox2.show() vbox.pack_start(hbox2, False, False, 2) self.misc_session_frame.show() misc_startupl = gtk.VBox() misc_startup.pack_start(misc_startupl, True, True, 5) misc_startupl.show() misc_startupr = gtk.VBox() misc_startup.pack_start(misc_startupr, True, True, 5) misc_startupr.show() self.tracks_played = gtk.CheckButton(_('Tracks Played')) misc_startupl.add(self.tracks_played) self.tracks_played.show() # TC: DJ hears the stream mix. self.stream_mon = gtk.CheckButton(_('Monitor Stream Mix')) misc_startupr.add(self.stream_mon) self.stream_mon.show() self.restore_session_option.connect("toggled", self.cb_restore_session) self.restore_session_option.set_active(True) outervbox.pack_start(frame, False) frame.show() # TC: A heading label for miscellaneous settings. features_label = gtk.Label(_('General')) self.notebook.append_page(generalwindow, features_label) features_label.show() outervbox.show() # Channels tab scrolled_window = gtk.ScrolledWindow() scrolled_window.set_border_width(0) scrolled_window.set_policy(gtk.POLICY_NEVER, gtk.POLICY_AUTOMATIC) panevbox = gtk.VBox() scrolled_window.add_with_viewport(panevbox) scrolled_window.show() panevbox.set_border_width(3) panevbox.set_spacing(3) panevbox.get_parent().set_shadow_type(gtk.SHADOW_NONE) panevbox.show() # Opener buttons for channels opener_settings = parent.mic_opener.opener_settings panevbox.pack_start(opener_settings, False, padding=3) # Individual channel settings self.mic_controls = mic_controls = [] vbox = gtk.VBox() for i in range(PGlobs.num_micpairs): uhbox = gtk.HBox(True) vbox.pack_start(uhbox, False, False, 0) uhbox.show() lhbox = gtk.HBox() vbox.pack_start(lhbox, False, False, 0) lhbox.show() for j in range(2): n = i * 2 + j micname = "mic_control_%d" % n c = AGCControl(self.parent, str(n + 1), micname, n) setattr(self, micname, c) uhbox.add(c) c.show() parent.mic_opener.add_mic(c) mic_controls.append(c) mic_controls[-2].set_partner(mic_controls[-1]) mic_controls[-1].set_partner(mic_controls[-2]) parent.mic_opener.finalise() panevbox.pack_start(vbox, False, False, 0) vbox.show() label = gtk.Label(_('Channels')) self.notebook.append_page(scrolled_window, label) label.show() # Controls tab tab= midicontrols.ControlsUI(self.parent.controls) # TC: Keyboard and MIDI bindings configuration. label= gtk.Label(_('Bindings')) self.notebook.append_page(tab, label) tab.show() label.show() # about tab self.aboutframe = gtk.Frame() frame.set_border_width(9) vbox = gtk.VBox() self.aboutframe.add(vbox) label = gtk.Label() label.set_markup('' + self.parent.appname + '') vbox.pack_start(label, False, False, 13) label.show() label = gtk.Label() label.set_markup('Version ' + self.parent.version + '') vbox.pack_start(label, False, False, 0) label.show() pixbuf = gtk.gdk.pixbuf_new_from_file(FGlobs.pkgdatadir / "logo.png") image = gtk.Image() image.set_from_pixbuf(pixbuf) vbox.pack_start(image, False, False, 8) image.show() label = gtk.Label() label.set_markup(u'' + self.parent.copyright + u'') vbox.pack_start(label, False, False, 12) label.show() label = gtk.Label() label.set_markup( '' + _('Released under the GNU General Public License V2.0') + '') vbox.pack_start(label, False, False, 1) label.show() nb = gtk.Notebook() nb.set_border_width(10) vbox.pack_start(nb, True, True, 0) nb.show() lw = licence_window.LicenceWindow() lw.set_border_width(1) lw.set_shadow_type(gtk.SHADOW_ETCHED_IN) label = gtk.Label(_('Licence')) nb.append_page(lw, label) lw.show() label.show() def contribs_page(title, content): sw = gtk.ScrolledWindow() sw.set_border_width(1) sw.set_shadow_type(gtk.SHADOW_NONE) sw.set_policy(gtk.POLICY_NEVER, gtk.POLICY_AUTOMATIC) label = gtk.Label(title) nb.append_page(sw, label) sw.show() lw.show() ivbox = gtk.VBox() sw.add_with_viewport(ivbox) ivbox.show() for each in content: label = gtk.Label(each) label.set_use_markup(True) ivbox.add(label) label.show() contribs_page(_('Contributors'), ("Stephen Fairchild (s-fairchild@users.sourceforge.net)", "And Clover (and@doxdesk.com)", "Dario Abatianni (eisfuchs@users.sourceforge.net)", "Stefan Fendt (stefan@sfendt.de)", "Brian Millham (bmillham@users.sourceforge.net)")) contribs_page(_('Translators'), ("it Raffaele Morelli (raffaele.morelli@gmail.com)",)) vbox.show() aboutlabel = gtk.Label(_('About')) self.notebook.append_page(self.aboutframe, aboutlabel) aboutlabel.show() self.aboutframe.show() self.notebook.show() # These on by default self.djalarm.set_active(True) self.dither.set_active(True) self.fast_resample.set_active(True) self.enable_tooltips.set_active(True) # Default mic/aux configuration mic_controls[0].mode.set_active(2) mic_controls[0].alt_name.set_text("DJ") t = parent.mic_opener.ix2button[1].opener_tab t.button_text.set_text("DJ") t.icb.set_filename(FGlobs.pkgdatadir / "mic4.png") t.headroom.set_value(3) t.has_reminder_flash.set_active(True) t.is_microphone.set_active(True) t.freewheel_cancel.set_active(True) for cb, state in zip(t.open_triggers.itervalues(), (1, 1, 0, 1)): cb.set_active(state) if len(mic_controls) >= 4: mic_controls[2].mode.set_active(1) mic_controls[2].alt_name.set_text("Aux L") mic_controls[2].groups_adj.set_value(2) mic_controls[2].pan_active.set_active(True) mic_controls[2].pan.set_value(0) mic_controls[3].mode.set_active(3) mic_controls[3].alt_name.set_text("Aux R") mic_controls[3].pan_active.set_active(True) mic_controls[3].pan.set_value(100) t = parent.mic_opener.ix2button[2].opener_tab t.button_text.set_text("Aux") t.icb.set_filename(FGlobs.pkgdatadir / "jack2.png") t.open_triggers.values()[2].set_active(True) self.parent.menu.strmetersmenu_a.connect_proxy(self.show_stream_meters) self.parent.menu.chmetersmenu_a.connect_proxy(self.show_microphones) self.parent.menu.backgroundtracksmenu_a.connect_proxy(self.show_background_tracks_player) self.parent.menu.buttonbarmenu_a.connect_proxy(self.show_button_bar) self.show_stream_meters.set_active(True) self.show_microphones.set_active(True) self.show_button_bar.set_active(True) self.activedict = { # Widgets to save that have the get_active method. "startmini" : self.startmini, "dsp_toggle" : self.parent.dsp_button, "djalarm" : self.djalarm, "trxpld" : self.tracks_played, "strmon" : self.stream_mon, "bigdigibox" : self.bigger_box_toggle, "dither" : self.dither, "recallsession" : self.restore_session_option, "best_rs" : self.best_quality_resample, "good_rs" : self.good_quality_resample, "fast_rs" : self.fast_resample, "speed_var" : self.speed_variance, "dual_volume" : self.dual_volume, "showtips" : self.enable_tooltips, "silencekiller" : self.silence_killer, "bonuskiller" : self.bonus_killer, "rg_indicate" : self.rg_indicate, "rg_adjust" : self.rg_adjust, "str_meters" : self.show_stream_meters, "mic_meters" : self.show_microphones, "mic_meters_no_void" : self.no_mic_void_space, "players_visible" : self.parent.menu.playersmenu_i } for each in itertools.chain(mic_controls, (self.parent.freewheel_button, self.songdbprefs, self.lpconfig, self.rpconfig, opener_settings, label_subst)): self.activedict.update(each.activedict) self.valuesdict = { # These widgets all have the get_value method. "effects1_vol" : self.parent.jingles.jvol_adj[0], "effects1_muting" : self.parent.jingles.jmute_adj[0], "effects2_vol" : self.parent.jingles.jvol_adj[1], "effects2_muting" : self.parent.jingles.jmute_adj[1], "voiplevel" : self.parent.voipgainadj, "voipmixback" : self.parent.mixbackadj, "interlude_vol" : self.parent.jingles.ivol_adj, "passspeed" : self.parent.passspeed_adj, "djvolume" : self.dj_aud_adj, "alarmvolume" : self.alarm_aud_adj, "rg_default" : self.rg_defaultgain, "rg_boost" : self.rg_boost, "r128_boost" : self.r128_boost, "all_boost" : self.all_boost } for each in itertools.chain(mic_controls, (opener_settings, self.songdbprefs)): self.valuesdict.update(each.valuesdict) self.textdict = { # These widgets all have the get_text method. "ltfilerqdir" : self.parent.player_left.file_requester_start_dir, "rtfilerqdir" : self.parent.player_right.file_requester_start_dir, "main_full_wst" : self.parent.full_wst, "main_min_wst" : self.parent.min_wst, "prefs_wst" : self.wst, "rec_filename" : self.recorder_filename } for each in itertools.chain(mic_controls, (opener_settings, label_subst, self.songdbprefs)): self.textdict.update(each.textdict) self.rangewidgets = (self.parent.deckadj,) idjc-0.8.9/python/Makefile.in0000644000175000017500000006245112142730017012755 00000000000000# Makefile.in generated by automake 1.12.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2012 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__make_dryrun = \ { \ am__dry=no; \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ *) \ for am__flg in $$MAKEFLAGS; do \ case $$am__flg in \ *=*|--*) ;; \ *n*) am__dry=yes; break;; \ esac; \ done;; \ esac; \ test $$am__dry = yes; \ } pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = python DIST_COMMON = $(dist_noinst_PYTHON) $(pkgpython_PYTHON) \ $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(srcdir)/__init__.py.in.in $(top_srcdir)/py-compile ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = __init__.py.in CONFIG_CLEAN_VPATH_FILES = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ install-html-recursive install-info-recursive \ install-pdf-recursive install-ps-recursive install-recursive \ installcheck-recursive installdirs-recursive pdf-recursive \ ps-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(pkgpythondir)" \ "$(DESTDIR)$(pkgpythondir)" py_compile = $(top_srcdir)/py-compile RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ distdir ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ COPYRIGHT_YEAR = @COPYRIGHT_YEAR@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ DYN_LAME = @DYN_LAME@ DYN_LDFLAGS = @DYN_LDFLAGS@ DYN_LIBS = @DYN_LIBS@ DYN_MPG123 = @DYN_MPG123@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ EXT = @EXT@ FGREP = @FGREP@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ HAVE_AVCODEC = @HAVE_AVCODEC@ HAVE_AVFORMAT = @HAVE_AVFORMAT@ HAVE_AVUTIL = @HAVE_AVUTIL@ HAVE_FLAC = @HAVE_FLAC@ HAVE_OGGFLAC = @HAVE_OGGFLAC@ HAVE_OPUS = @HAVE_OPUS@ HAVE_SPEEX = @HAVE_SPEEX@ HAVE_TWOLAME = @HAVE_TWOLAME@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBAVCODEC_CFLAGS = @LIBAVCODEC_CFLAGS@ LIBAVCODEC_LIBS = @LIBAVCODEC_LIBS@ LIBAVFORMAT_CFLAGS = @LIBAVFORMAT_CFLAGS@ LIBAVFORMAT_LIBS = @LIBAVFORMAT_LIBS@ LIBAVUTIL_CFLAGS = @LIBAVUTIL_CFLAGS@ LIBAVUTIL_LIBS = @LIBAVUTIL_LIBS@ LIBFLAC_CFLAGS = @LIBFLAC_CFLAGS@ LIBFLAC_LIBS = @LIBFLAC_LIBS@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBJACK_CFLAGS = @LIBJACK_CFLAGS@ LIBJACK_LIBS = @LIBJACK_LIBS@ LIBM = @LIBM@ LIBMP3LAME = @LIBMP3LAME@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSAMPLERATE_CFLAGS = @LIBSAMPLERATE_CFLAGS@ LIBSAMPLERATE_LIBS = @LIBSAMPLERATE_LIBS@ LIBSNDFILE_CFLAGS = @LIBSNDFILE_CFLAGS@ LIBSNDFILE_LIBS = @LIBSNDFILE_LIBS@ LIBSPEEX_CFLAGS = @LIBSPEEX_CFLAGS@ LIBSPEEX_LIBS = @LIBSPEEX_LIBS@ LIBTOOL = @LIBTOOL@ LIBVORBISENC_CFLAGS = @LIBVORBISENC_CFLAGS@ LIBVORBISENC_LIBS = @LIBVORBISENC_LIBS@ LIBVORBIS_CFLAGS = @LIBVORBIS_CFLAGS@ LIBVORBIS_LIBS = @LIBVORBIS_LIBS@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MPG123 = @MPG123@ MPG123_CFLAGS = @MPG123_CFLAGS@ MPG123_LIBS = @MPG123_LIBS@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OPUS_CFLAGS = @OPUS_CFLAGS@ OPUS_LIBS = @OPUS_LIBS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ PYGTK_CFLAGS = @PYGTK_CFLAGS@ PYGTK_LIBS = @PYGTK_LIBS@ PYTHON = @PYTHON@ PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ PYTHON_PLATFORM = @PYTHON_PLATFORM@ PYTHON_PREFIX = @PYTHON_PREFIX@ PYTHON_VERSION = @PYTHON_VERSION@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SHOUTIDJC_CFLAGS = @SHOUTIDJC_CFLAGS@ SHOUTIDJC_LIBS = @SHOUTIDJC_LIBS@ STRIP = @STRIP@ TWOLAME_CFLAGS = @TWOLAME_CFLAGS@ TWOLAME_LIBS = @TWOLAME_LIBS@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ pkgpyexecdir = @pkgpyexecdir@ pkgpythondir = @pkgpythondir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ pyexecdir = @pyexecdir@ pythondir = @pythondir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = prelims am__py_compile = $(top_srcdir)/py-compile pkgpython_PYTHON = dialogs.py gtkstuff.py irc.py jingles.py licence_window.py \ maingui.py midicontrols.py mutagentagger.py songdb.py playergui.py \ popupwindow.py preferences.py sourceclientgui.py tooltips.py utils.py \ format.py nodist_pkgpython_PYTHON = __init__.py dist_noinst_PYTHON = __init__.py.in.in all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu python/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu python/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): __init__.py.in: $(top_builddir)/config.status $(srcdir)/__init__.py.in.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-nodist_pkgpythonPYTHON: $(nodist_pkgpython_PYTHON) @$(NORMAL_INSTALL) @list='$(nodist_pkgpython_PYTHON)'; dlist=; list2=; test -n "$(pkgpythondir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(pkgpythondir)'"; \ $(MKDIR_P) "$(DESTDIR)$(pkgpythondir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \ if test -f $$b$$p; then \ $(am__strip_dir) \ dlist="$$dlist $$f"; \ list2="$$list2 $$b$$p"; \ else :; fi; \ done; \ for file in $$list2; do echo $$file; done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgpythondir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgpythondir)" || exit $$?; \ done || exit $$?; \ if test -n "$$dlist"; then \ $(am__py_compile) --destdir "$(DESTDIR)" \ --basedir "$(pkgpythondir)" $$dlist; \ else :; fi uninstall-nodist_pkgpythonPYTHON: @$(NORMAL_UNINSTALL) @list='$(nodist_pkgpython_PYTHON)'; test -n "$(pkgpythondir)" || list=; \ py_files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ test -n "$$py_files" || exit 0; \ dir='$(DESTDIR)$(pkgpythondir)'; \ pyc_files=`echo "$$py_files" | sed 's|$$|c|'`; \ pyo_files=`echo "$$py_files" | sed 's|$$|o|'`; \ py_files_pep3147=`echo "$$py_files" | $(am__pep3147_tweak)`; \ echo "$$py_files_pep3147";\ pyc_files_pep3147=`echo "$$py_files_pep3147" | sed 's|$$|c|'`; \ pyo_files_pep3147=`echo "$$py_files_pep3147" | sed 's|$$|o|'`; \ st=0; \ for files in \ "$$py_files" \ "$$pyc_files" \ "$$pyo_files" \ "$$pyc_files_pep3147" \ "$$pyo_files_pep3147" \ ; do \ $(am__uninstall_files_from_dir) || st=$$?; \ done; \ exit $$st install-pkgpythonPYTHON: $(pkgpython_PYTHON) @$(NORMAL_INSTALL) @list='$(pkgpython_PYTHON)'; dlist=; list2=; test -n "$(pkgpythondir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(pkgpythondir)'"; \ $(MKDIR_P) "$(DESTDIR)$(pkgpythondir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \ if test -f $$b$$p; then \ $(am__strip_dir) \ dlist="$$dlist $$f"; \ list2="$$list2 $$b$$p"; \ else :; fi; \ done; \ for file in $$list2; do echo $$file; done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgpythondir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgpythondir)" || exit $$?; \ done || exit $$?; \ if test -n "$$dlist"; then \ $(am__py_compile) --destdir "$(DESTDIR)" \ --basedir "$(pkgpythondir)" $$dlist; \ else :; fi uninstall-pkgpythonPYTHON: @$(NORMAL_UNINSTALL) @list='$(pkgpython_PYTHON)'; test -n "$(pkgpythondir)" || list=; \ py_files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ test -n "$$py_files" || exit 0; \ dir='$(DESTDIR)$(pkgpythondir)'; \ pyc_files=`echo "$$py_files" | sed 's|$$|c|'`; \ pyo_files=`echo "$$py_files" | sed 's|$$|o|'`; \ py_files_pep3147=`echo "$$py_files" | $(am__pep3147_tweak)`; \ echo "$$py_files_pep3147";\ pyc_files_pep3147=`echo "$$py_files_pep3147" | sed 's|$$|c|'`; \ pyo_files_pep3147=`echo "$$py_files_pep3147" | sed 's|$$|o|'`; \ st=0; \ for files in \ "$$py_files" \ "$$pyc_files" \ "$$pyo_files" \ "$$pyc_files_pep3147" \ "$$pyo_files_pep3147" \ ; do \ $(am__uninstall_files_from_dir) || st=$$?; \ done; \ exit $$st # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS): @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done cscopelist-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) cscopelist); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-recursive $(HEADERS) $(SOURCES) $(LISP) list='$(SOURCES) $(HEADERS) $(LISP)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(pkgpythondir)" "$(DESTDIR)$(pkgpythondir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool clean-local mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-nodist_pkgpythonPYTHON \ install-pkgpythonPYTHON install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-nodist_pkgpythonPYTHON \ uninstall-pkgpythonPYTHON .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) \ cscopelist-recursive ctags-recursive install-am install-strip \ tags-recursive .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am check check-am clean clean-generic clean-libtool \ clean-local cscopelist cscopelist-recursive ctags \ ctags-recursive distclean distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-nodist_pkgpythonPYTHON install-pdf install-pdf-am \ install-pkgpythonPYTHON install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs installdirs-am \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags tags-recursive uninstall uninstall-am \ uninstall-nodist_pkgpythonPYTHON uninstall-pkgpythonPYTHON __init__.py: __init__.py.in @sed -e 's|$${pkgdatadir}|${pkgdatadir}|g' \ -e 's|$${exec_prefix}|${exec_prefix}|g' \ -e 's|$${prefix}|${prefix}|g' \ -e 's|$${datarootdir}|${datarootdir}|g' $? >$@ clean-local: rm -f __init__.py .PHONY: __init__.py $pkgpython_PYTHON # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: idjc-0.8.9/python/tooltips.py0000644000175000017500000000322212113174301013122 00000000000000# tooltips.py: a replacement for the old style GTK tooltips API # Copyright (C) 2008-2011 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . import gtk class TooltipsGroup: """A central control point for tooltips.""" def __init__(self): self.enabled = False def set_tip(self, widget, tip_text): widget.set_tooltip_window(None) widget.connect("query-tooltip", self.cb_query_tooltip, tip_text) widget.set_has_tooltip(True) def enable(self): self.enabled = True def disable(self): self.enabled = False def cb_query_tooltip(self, widget, x, y, keyboard_mode, tooltip, tip_text): label = gtk.Label(tip_text) label.set_line_wrap(True) tooltip.set_custom(label) label.show() return self.enabled # An application wide tooltips group. MAIN_TIPS = TooltipsGroup() # Global tip setting function. def set_tip(widget, tip_text): MAIN_TIPS.set_tip(widget, tip_text) idjc-0.8.9/python/playergui.py0000644000175000017500000056247412132553745013307 00000000000000# IDJCmedia.py: GUI code for main media players in IDJC # Copyright 2005-2007 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . __all__ = [ 'IDJC_Media_Player', 'make_arrow_button', 'supported' ] import os import sys import time import urllib import subprocess import random import signal import re import xml.dom.minidom as mdom import warnings import gettext import uuid from stat import * from collections import deque, namedtuple, defaultdict from functools import partial import glib import gobject import gtk import pango import mutagen from mutagen.mp3 import MP3 from mutagen.flac import FLAC from mutagen.mp4 import MP4 from mutagen.easyid3 import EasyID3 from mutagen.apev2 import APEv2, APETextValue from mutagen.asf import ASF from mutagen.id3 import ID3 from idjc import FGlobs, PGlobs from . import popupwindow from .mutagentagger import * from .utils import SlotObject from .utils import LinkUUIDRegistry from .utils import PathStr from .gtkstuff import threadslock, FolderChooserButton from .prelims import * from .tooltips import set_tip _ = gettext.translation(FGlobs.package_name, FGlobs.localedir, fallback=True).gettext def N_(text): return text PM = ProfileManager() link_uuid_reg = LinkUUIDRegistry() # Suppress the warning that occurs when None is placed in a ListStore element # where some kind of GObject is expected. warnings.filterwarnings("ignore", r"g_object_set_qdata: assertion `G_IS_OBJECT \(object\)' failed") # Suppress drag & drop warning to an empty playlist window. warnings.filterwarnings("ignore", "IA__gtk_tree_view_scroll_to_cell: assertion" " `tree_view->priv->tree != NULL' failed.*") # Named tuple for a playlist row. class PlayerRow(namedtuple("PlayerRow", "rsmeta filename length meta encoding title artist replaygain cuesheet album uuid")): def __nonzero__(self): return self.rsmeta != "valid" # ReplayGain value to indicate default. RGDEF = "0 DEFAULT" # Playlist value indicating a file isn't valid. NOTVALID = PlayerRow("valid", "", 0, "", "latin1", "", "", RGDEF, None, "", "") # Delay in milliseconds between progress bar updates. PROGRESS_TIMEOUT = 200 # Pathname is an absolute file path or 'missing' or 'pregap'. CueSheetTrack = namedtuple("CueSheetTrack", "pathname play tracknum index performer title offset duration replaygain") class IndexingIterator(object): def __init__(self, iteree): self.index = 0 self.iteree = iteree def __iter__(self): return self def next(self): try: val = self.iteree[self.index] except IndexError: raise StopIteration self.index += 1 return val class CueSheetListStore(gtk.ListStore): _columns = (str, int, int, int, str, str, int, int, str) assert len(_columns) == len(CueSheetTrack._fields) def __init__(self): gtk.ListStore.__init__(self, *self._columns) self.playing_index = None def element(self, offset): """The element given an offset in seconds.""" ret = None offset *= 75 playing_index = self.playing_index for i, each in enumerate(self): if each.play: if ret is None and offset < each.offset + each.duration: ret = each if self.playing_index != i: self.playing_index = i if playing_index != self.playing_index: self.invalidate() return ret def next_element(self, element): iterator = iter(self) try: item = iterator.next() while item != element: item = iterator.next() next_item = iterator.next() return next_item except StopIteration: return None def non_playing(self): self.playing_index = None self.invalidate() def time_remaining(self, offset): """Play time remaining given a whole file time offset in seconds.""" sectors = 0.0 offset *= 75 for each in self: if offset >= each.offset + each.duration: continue if each.play: if offset > each.offset: sectors += each.offset + each.duration - offset else: sectors += each.duration return sectors / 75.0 def invalidate(self): for i in xrange(len(self)): # There should be an invalidate row signal (oh well). row = gtk.ListStore.__getitem__(self, i) title = row[5] row[5] = title def __nonzero__(self): return len(self) != 0 def __getitem__(self, i): return CueSheetTrack(*gtk.ListStore.__getitem__(self, i)) def __iter__(self): return IndexingIterator(self) class NumberedLabel(gtk.Label): attrs = pango.AttrList() attrs.insert(pango.AttrFamily("Monospace" , 0, 3)) #attrs.insert(pango.AttrWeight(pango.WEIGHT_BOLD, 0, 3)) def set_value(self, value): self.set_text("--" if value is None else "%02d" % value) def get_value(self): text = self.get_text() return None if text == "--" else int(self.text) def __init__(self, value=None): gtk.Label.__init__(self) self.set_attributes(self.attrs) self.set_value(value) class CellRendererDuration(gtk.CellRendererText): """Render a value in frames as a time mm:ss:hs right justified.""" __gproperties__ = { "duration" : (gobject.TYPE_UINT64, "duration", "playback time expressed in CD audio frames", 0, long(3e9), 0, gobject.PARAM_WRITABLE) } def __init__(self): gtk.CellRendererText.__init__(self) self.set_property("xalign", 1.0) def do_set_property(self, property, value): if property.name == "duration": s, f = divmod(value, 75) m, s = divmod(s, 60) self.props.text = "%d:%02d.%02d" % (m, s, f // 0.75) class CuesheetPlaylist(gtk.Frame): __gsignals__ = { "playitem" : ( gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, (gobject.TYPE_PYOBJECT, gobject.TYPE_PYOBJECT, ))} def __init__(self): gtk.Frame.__init__(self, " %s " % _('Cuesheet Playlist')) self.set_border_width(3) vbox = gtk.VBox() vbox.set_border_width(4) vbox.set_spacing(2) self.add(vbox) vbox.show() hbox = gtk.HBox() hbox.set_spacing(6) vbox.pack_start(hbox, False) def nextprev_unit(label_text): def icon_button(stock_item): button = gtk.Button() image = gtk.image_new_from_stock(stock_item, gtk.ICON_SIZE_MENU) button.set_image(image) image.show() return button box = gtk.HBox() box.set_spacing(6) prev = icon_button(gtk.STOCK_MEDIA_PREVIOUS) box.pack_start(prev) prev.show() lhbox = gtk.HBox() box.pack_start(lhbox, False) lhbox.show() label = gtk.Label(label_text + " ") lhbox.pack_start(label, False) label.show() numbered = NumberedLabel() lhbox.pack_start(numbered, False) numbered.show() next = icon_button(gtk.STOCK_MEDIA_NEXT) box.pack_start(next) next.show() box.show() return box, prev, next, numbered scrolled = gtk.ScrolledWindow() scrolled.set_size_request(-1, 117) scrolled.set_policy(gtk.POLICY_NEVER, gtk.POLICY_ALWAYS) scrolled.set_shadow_type(gtk.SHADOW_ETCHED_IN) vbox.pack_start(scrolled) scrolled.show() self.treeview = gtk.TreeView() self.treeview.connect("row-activated", self._cb_doubleclick) scrolled.add(self.treeview) self.treeview.show() renderer_toggle = gtk.CellRendererToggle() renderer_toggle.connect("toggled", self._play_clicked) renderer_text_desc = gtk.CellRendererText() renderer_text_desc.set_property("ellipsize", pango.ELLIPSIZE_END) renderer_text_rjust = gtk.CellRendererText() renderer_text_rjust.set_property("xalign", 0.9) renderer_duration = CellRendererDuration() # TC: Column heading, whether to play. play = gtk.TreeViewColumn(_('Play'), renderer_toggle, active=1) self.treeview.append_column(play) # TC: Column heading, the track number. track = gtk.TreeViewColumn(_('Trk'), renderer_text_rjust, text=2) self.treeview.append_column(track) # TC: Column heading, the index number. index = gtk.TreeViewColumn(_('Ind'), renderer_text_rjust, text=3) self.treeview.append_column(index) description = gtk.TreeViewColumn(_('Description'), renderer_text_desc) description.set_expand(True) description.set_cell_data_func(renderer_text_desc, self._description_col_func) self.treeview.append_column(description) # TC: Playback time. duration = gtk.TreeViewColumn(_('Duration'), renderer_duration) duration.add_attribute(renderer_duration, "duration", 7) self.treeview.append_column(duration) def _cb_doubleclick(self, widget, path, column): self.emit("playitem", self.treeview.get_model(), path) def set(self, track, index): self.track.set_value(track) self.index.set_value(index) def _description_col_func(self, column, cell, model, iter): index = model.get_path(iter)[0] line = model[index] desc = " - ".join(x for x in (line.performer, line.title) if x) desc = desc or os.path.splitext(os.path.split(line.pathname)[1])[0] cell.props.text = desc if index == model.playing_index: cell.props.weight = pango.WEIGHT_BOLD else: cell.props.weight = pango.WEIGHT_NORMAL def _play_clicked(self, cellrenderer, path): model = self.treeview.get_model() iter = model.get_iter(path) col = CueSheetTrack._fields.index("play") val = model.get_value(iter, col) model.set_value(iter, col, not val) class ButtonFrame(gtk.Frame): def __init__(self, title): gtk.Frame.__init__(self) attrlist = pango.AttrList() attrlist.insert(pango.AttrSize(8000, 0, len(title))) label = gtk.Label(title) label.set_attributes(attrlist) self.set_label_widget(label) label.show() self.hbox = gtk.HBox() self.add(self.hbox) self.hbox.show() self.set_shadow_type(gtk.SHADOW_NONE) self.set_label_align(0.5, 0.5) class ExternalPL(gtk.Frame): def get_next(self): next = self._get_next() if next is None: return self._get_next() return next def _get_next(self): if self.active.get_active(): try: line = self.gen.next() except StopIteration: self.gen = self.player.get_elements_from([self.pathname]) line = None return line return None def cb_active(self, widget): if widget.get_active(): self.pathname = (self.filechooser, self.directorychooser )[self.radio_directory.get_active()].get_filename() if self.pathname is not None: self.gen = self.player.get_elements_from([self.pathname]) try: line = self.gen.next() except StopIteration: widget.set_active(False) else: self.player.stop.clicked() self.player.liststore.clear() self.player.liststore.append(line) self.player.treeview.get_selection().select_path(0) self.vbox.set_sensitive(False) else: widget.set_active(False) else: self.vbox.set_sensitive(True) def cb_newselection(self, widget, radio): radio.set_active(True) def make_line(self, radio, dialog, widget): button = widget(dialog) button.set_current_folder(os.path.expanduser("~")) hbox = gtk.HBox() hbox.pack_start(radio, False, False, 0) hbox.pack_start(button, True, True, 0) radio.show() button.show() return hbox def __init__(self, player): self.player = player gtk.Frame.__init__(self, " %s " % _('External Playlist')) self.set_border_width(4) hbox = gtk.HBox() self.add(hbox) hbox.set_border_width(8) hbox.set_spacing(10) hbox.show() self.vbox = gtk.VBox() hbox.pack_start(self.vbox, True, True, 0) self.vbox.show() # TC: Button text to activate an external playlist. self.active = gtk.ToggleButton(" %s " % _('Active')) self.active.connect("toggled", self.cb_active) hbox.pack_end(self.active, False, False, 0) self.active.show() filefilter = gtk.FileFilter() filefilter.add_pattern("*.m3u") filefilter.add_pattern("*.pls") filefilter.add_pattern("*.xspf") self.filechooser = gtk.FileChooserDialog(title = _('Choose a playlist file') + PM.title_extra, buttons = \ (gtk.STOCK_CANCEL, gtk.RESPONSE_REJECT, gtk.STOCK_OPEN, gtk.RESPONSE_ACCEPT)) self.filechooser.set_filter(filefilter) self.directorychooser = gtk.FileChooserDialog(title = _('Choose a media directory') + PM.title_extra, action = \ gtk.FILE_CHOOSER_ACTION_SELECT_FOLDER, buttons = (gtk.STOCK_CANCEL, gtk.RESPONSE_REJECT, gtk.STOCK_OPEN, gtk.RESPONSE_ACCEPT)) self.radio_file = gtk.RadioButton() self.radio_directory = gtk.RadioButton(self.radio_file) self.filechooser.connect("selection-changed", self.cb_newselection, self.radio_file) self.directorychooser.connect("selection-changed", self.cb_newselection, self.radio_directory) fbox = self.make_line(self.radio_file, self.filechooser, gtk.FileChooserButton) set_tip(fbox, _('Choose a playlist file.')) dbox = self.make_line(self.radio_directory, self.directorychooser, FolderChooserButton) set_tip(dbox, _('Choose a folder/directory of music.')) self.vbox.pack_start(fbox, True, True, 0) self.vbox.pack_start(dbox, True, True, 0) fbox.show() dbox.show() class AnnouncementDialog(gtk.Dialog): def write_changes(self, widget): m = "%02d" % int(self.minutes.get_value()) s = "%02d" % int(self.seconds.get_value()) self.model.set_value(self.iter, 3, "00" + m + s) b = self.tv.get_buffer() text = b.get_text(b.get_start_iter(), b.get_end_iter()) self.model.set_value(self.iter, 4, urllib.quote(text)) self.player.reselect_please = True def restore_mic_playnext(self, widget): self.player.parent.mic_opener.close_all() if self.model.iter_next(self.iter) is not None: self.player.play.clicked() def delete_announcement(self, widget, event=None): self.model.remove(self.iter) self.player.reselect_please = True gtk.Dialog.destroy(self) def timeout_remove(self, widget): gobject.source_remove(self.timeout) def timer_update(self, lock = True): if lock: gtk.gdk.threads_enter() inttime = int(self.cdt - time.time()) if inttime != self.oldinttime: if inttime > 0: stime = "%2d:%02d" % divmod(inttime, 60) self.countdownlabel.set_text(stime) if inttime == 5: self.attrlist.change(self.fontcolour_red) if lock: gtk.gdk.threads_leave() return True else: self.countdownlabel.set_text("--:--") self.attrlist.change(self.fontcolour_black) if lock: gtk.gdk.threads_leave() return False if lock: gtk.gdk.threads_leave() return True def cb_keypress(self, widget, event): if event.keyval == 65307: return True if event.keyval == 65288 and self.mode == "active": self.cancel_button.clicked() def __init__(self, player, model, iter, mode): self.player = player self.model = model self.iter = iter self.mode = mode if mode == "initial": model.set_value(iter, 3, "110000") gtk.Dialog.__init__(self, _('Create a new announcement'), player.parent.window, gtk.DIALOG_MODAL) elif mode == "delete_modify": gtk.Dialog.__init__(self, _('Modify or Delete this announcement'), player.parent.window, gtk.DIALOG_MODAL) elif mode == "active": gtk.Dialog.__init__(self, _('Announcement'), player.parent.window, gtk.DIALOG_MODAL) self.connect("key-press-event", self.cb_keypress) ivbox = gtk.VBox() ivbox.set_border_width(10) ivbox.set_spacing(8) self.vbox.add(ivbox) ivbox.show() sw = gtk.ScrolledWindow() sw.set_policy(gtk.POLICY_NEVER, gtk.POLICY_AUTOMATIC) sw.set_shadow_type(gtk.SHADOW_IN) sw.set_size_request(500, 200) ivbox.pack_start(sw, True, True, 0) sw.show() self.tv = gtk.TextView() if mode == "active": self.tv.unset_flags(gtk.CAN_FOCUS) sw.add(self.tv) self.tv.show() ihbox = gtk.HBox() ivbox.pack_start(ihbox, False, False, 0) ihbox.show() chbox = gtk.HBox() if mode == "initial" or mode == "delete_modify": # TC: The time format as minutes and seconds. countdown_label = gtk.Label('(%s) ' % _("mm:ss")) chbox.pack_start(countdown_label, False, False, 0) countdown_label.show() minutes_adj = gtk.Adjustment(0.0, 0.0, 59.0, 1.0) seconds_adj = gtk.Adjustment(0.0, 0.0, 59.0, 1.0) self.minutes = gtk.SpinButton(minutes_adj) self.seconds = gtk.SpinButton(seconds_adj) sep = gtk.Label(":") chbox.pack_start(self.minutes, False, False, 0) self.minutes.show() chbox.pack_start(sep, False, False, 0) sep.show() chbox.pack_start(self.seconds, False, False, 0) self.seconds.show() if mode == "active": cdtime = model.get_value(iter, 3)[2:6] if cdtime != "0000": cd = int(cdtime[:2]) * 60 + int(cdtime[2:]) self.cdt = time.time() + cd + 1 self.countdownlabel = gtk.Label() self.attrlist = pango.AttrList() fontdesc = pango.FontDescription("monospace bold condensed 15") self.attrlist.insert(pango.AttrFontDesc(fontdesc, 0, 5)) self.fontcolour_black = pango.AttrForeground(0, 0, 0, 0, 5) self.fontcolour_red = pango.AttrForeground(65535, 0, 0, 0, 5) self.attrlist.insert(self.fontcolour_black) self.countdownlabel.set_attributes(self.attrlist) self.oldinttime = -2 self.timer_update(False) self.timeout = gobject.timeout_add(100, self.timer_update) self.connect("destroy", self.timeout_remove) chbox.pack_start(self.countdownlabel, True, False, 0) self.countdownlabel.show() ihbox.pack_start(chbox, True, False, 0) chbox.show() if mode == "delete_modify" or mode == "active": lr = model.get_value(iter, 3) text = model.get_value(iter, 4) self.tv.get_buffer().set_text(urllib.unquote(text)) if mode == "delete_modify": self.minutes.set_value((int(lr[2:4]))) self.seconds.set_value((int(lr[4:6]))) if mode == "active": self.player.parent.mic_opener.open_auto("announcement") thbox = gtk.HBox() thbox.set_spacing(4) ivbox.pack_start(thbox, False, False, 0) thbox.show() # TC: Alongside the name of the next track. label = gtk.Label(_('Next track')) thbox.pack_start(label, False, False, 0) label.show() entry = gtk.Entry() entry.set_editable(False) entry.unset_flags(gtk.CAN_FOCUS) ni = model.iter_next(iter) if ni and model.get_value(ni, 0)[0] != ">" : entry.set_text(model.get_value(ni, 3)) thbox.pack_start(entry, True, True, 0) entry.show() self.ok_button = gtk.Button(gtk.STOCK_OK) if mode == "initial" or mode == "delete_modify": self.ok_button.connect("clicked", self.write_changes) if mode == "active": self.ok_button.connect("clicked", self.restore_mic_playnext) self.ok_button.connect_object("clicked", gtk.Dialog.destroy, self) self.ok_button.set_use_stock(True) self.action_area.add(self.ok_button) self.ok_button.show() if mode == "delete_modify": self.delete_button = gtk.Button(gtk.STOCK_DELETE) self.delete_button.connect("clicked", self.delete_announcement) self.delete_button.set_use_stock(True) self.action_area.add(self.delete_button) self.delete_button.show() self.cancel_button = gtk.Button(gtk.STOCK_CANCEL) if mode == "initial": self.connect("delete-event", self.delete_announcement) self.cancel_button.connect("clicked", self.delete_announcement) else: self.cancel_button.connect_object("clicked", gtk.Dialog.destroy, self) self.cancel_button.set_use_stock(True) self.action_area.add(self.cancel_button) self.cancel_button.show() if mode == "active": self.ok_button.grab_focus() class Supported(object): def _check(self, pathname, which): ext = os.path.splitext(pathname)[1].lower() return ext in which and ext or False def playlists_as_text(self): return "(*" + ", *".join(self.playlists) + ")" def media_as_text(self): return "(*" + ", *".join(self.media) + ")" def check_media(self, pathname): return self._check(pathname, self.media) def check_playlists(self, pathname): return self._check(pathname, self.playlists) def __init__(self): self.media = [".ogg", ".oga", ".wav", ".aiff", ".au", ".txt", ".cue"] self.playlists = [".m3u", ".xspf", ".pls"] if FGlobs.have_libmpg123: self.media.insert(0, ".mp3") self.media.insert(1, ".mp2") if FGlobs.avcodec and FGlobs.avformat: self.media.append(".avi") self.media.append(".wma") self.media.append(".ape") self.media.append(".mpc") self.media.append(".aac") self.media.append(".mp4") self.media.append(".m4a") self.media.append(".m4b") self.media.append(".m4p") if FGlobs.flacenabled: self.media.append(".flac") if FGlobs.speexenabled: self.media.append(".spx") if FGlobs.opusenabled: self.media.append(".opus") supported = Supported() # Arrow button creation helper function def make_arrow_button(self, arrow_type, shadow_type, data): button = gtk.Button(); arrow = gtk.Arrow(arrow_type, shadow_type); button.add(arrow) button.connect("clicked", self.callback, data) button.show() arrow.show() return button def get_number_for(token, string): try: end = string.rindex(token) start = end - 1 while start >= 0 and (string[start].isdigit() or string[start] == "."): start = start - 1 return int(float(string[start+1:end])) except ValueError: return 0 class nice_listen_togglebutton(gtk.ToggleButton): def __init__(self, label = None, use_underline = True): try: gtk.ToggleButton.__init__(self, label, use_underline) except RuntimeError: gtk.ToggleButton.__init__(self, label) def __str__(self): return gtk.ToggleButton.__str__(self) + \ " auto inconsistent when insensitive" def set_sensitive(self, bool): if bool is False: gtk.ToggleButton.set_sensitive(self, False) gtk.ToggleButton.set_inconsistent(self, True) else: gtk.ToggleButton.set_sensitive(self, True) gtk.ToggleButton.set_inconsistent(self, False) class CueSheet(object): """A class for parsing cue sheets.""" _operands = (("PERFORMER", "SONGWRITER", "TITLE", "PREGAP", "POSTGAP"), ("FILE", "TRACK", "INDEX")) _operands = dict((k, v + 1) for v, o in enumerate(_operands) for k in o) # Try to split a string into three parts with a large quoted section # and parts fore and aft. _quoted = re.compile(r'(.*?)[ \t]"(.*)"[ \t](.*)').match def _time_handler(self, time_str): """Returns the number of frames of audio (75ths of seconds) Minutes can exceed 99 going beyond the cue sheet standard. """ try: mm, ss, ff = [int(x) for x in time_str.split(":")] except ValueError: raise ValueError("time must be in (m*)mm:ss:ff format %s" % self.line) if ff < 0 or ff > 74 or ss < 0 or ss > 59 or mm < 0: raise ValueError("a time value is out of range %s" % self.line) return ff + 75 * ss + 75 * 60 * mm def _int_handler(self, int_str): """Attempt to convert to an integer.""" try: ret = int(int_str) except: raise ValueError("expected integer value for %s %s", ( int_str, self.line)) return ret @classmethod def _tokenize(cls, iterable): """Scanner/tokenizer for cue sheets. This routine will iteratively take one line at a time and return the line number, command, and any operands related to the command. Quoted text will have spaces and tabs intact and counts as one, otherwise all consecutive non-whitespace is a token. The first token is the command, the rest are it's operands. """ for i, line in enumerate(iterable): try: line.decode("utf-8") except UnicodeDecodeError: try: line = line.decode("iso8859-15").encode("utf-8") except UnicodeDecodeError: pass line = line.strip() + " " match = cls._quoted(line) if match: left, quoted, right = match.groups() left = left.replace("\t", " ").split() right = right.replace("\t", " ").split() else: left = line.replace("\t", " ").split() right = [""] quoted = "" tokens = filter(lambda x: x, left + [quoted] + right) yield i + 1, tokens[0].upper(), tokens[1:] def _parse_PERFORMER(self): self.segment[self.tracknum][self.command].append(self.operand[0]) _parse_SONGWRITER = _parse_TITLE = _parse_PERFORMER def _parse_FILE(self): if not self.operand[1] in ("WAVE", "MP3", "AIFF"): raise ValueError("unsupported file type %s" % self.line) self.filename = self.operand[0] self.prevframes = 0 def _parse_TRACK(self): if self.filename is None: raise ValueError("no filename yet specified %s" % self.line) if self.tracknum and self.index < 1: raise ValueError("track %02d lacks a 01 index" % self.tracknum) if self.operand[1] != "AUDIO": raise ValueError("only AUDIO track datatype supported %s" % self.line) num = self._int_handler(self.operand[0]) self.tracknum += 1 self.index = -1 if num != self.tracknum: raise ValueError("unexpected track number %s" % self.line) def _parse_PREGAP(self): if self.tracknum == 0 or self.index != -1 or "PREGAP" in self.segment[ self.tracknum]: raise ValueError("unexpected PREGAP command %s" % self.line) self.segment[self.tracknum]["PREGAP"] = self._time_handler( self.operand[0]) def _parse_INDEX(self): if self.tracknum == 0: raise ValueError("no track yet specified %s" % self.line) if "POSTGAP" in self.segment[self.tracknum]: raise ValueError("INDEX command following POSTGAP %s" % self.line) num = self._int_handler(self.operand[0]) frames = self._time_handler(self.operand[1]) if self.tracknum == 1 and self.index == -1 and frames != 0: raise ValueError("first index must be zero for a file %s" % self.line) if self.index == -1 and num == 1: self.index += 1 self.index += 1 if num != self.index: raise ValueError("unexpected index number %s" % self.line) if frames < self.prevframes: raise ValueError("index time before the previous index %s" % self.line) if self.prevframes and frames == self.prevframes: raise ValueError("index time no different than previously %s" % self.line) self.segment[self.tracknum][self.index] = (self.filename, frames) self.prevframes = frames def _parse_POSTGAP(self): if self.tracknum == 0 or self.index < 1 or "POSTGAP" in self.segment[ self.tracknum]: raise ValueError("unexpected POSTGAP command %s" % self.line) self.segment[self.tracknum]["POSTGAP"] = self._time_handler( self.operand[0]) def parse(self, iterable): """Return a parsed cuesheet object.""" self.filename = None self.tracknum = 0 self.segment = defaultdict(partial(defaultdict, list)) for self.i, self.command, self.operand in self._tokenize(iterable): if self.command not in self._operands: continue self.line = "on line %d" % self.i if len(self.operand) != self._operands[self.command]: raise ValueError( "wrong number of operands got %d required %d %s" % (len(self.operand), self._operands[self.command], self.line)) else: getattr(self, "_parse_" + self.command)() if self.tracknum == 0: raise ValueError("no tracks") if self.index < 1: raise ValueError("track %02d lacks a 01 index" % self.tracknum) for each in self.segment.itervalues(): del each.default_factory del self.segment.default_factory return self.segment class IDJC_Media_Player: playlisttype_extension = tuple(zip( # File format selection items from a list (user can pick only one). (_('By Extension'), _('M3U playlist'), _('XSPF playlist'), _('PLS playlist')), ('', 'm3u', 'xspf', 'pls'),)) def make_cuesheet_playlist_entry(self, cue_pathname): cuesheet_liststore = CueSheetListStore() try: with open(cue_pathname) as f: segment_data = CueSheet().parse(f) except (IOError, ValueError), e: print "failed reading cue sheet", cue_pathname print e return NOTVALID basepath = os.path.split(cue_pathname)[0] oldfilename = None totalframes = trackframes = cumulativeframes = 0 global_cue_performer = global_cue_title = "" for key, val in sorted(segment_data.iteritems()): track = key cue_performer = ", ".join(val.get("PERFORMER", [])) cue_title = ", ".join(val.get("TITLE", [])) if key == 0: global_cue_performer = cue_performer global_cue_title = cue_title else: for key2, val2 in sorted(val.iteritems()): if isinstance(key2, int): index = key2 filename, frames = val2 if filename != oldfilename: oldfilename = filename pathname = os.path.join(basepath, filename) track_data = self.get_media_metadata(pathname) if track_data: trackframes = 75 * track_data.length totalframes += trackframes replaygain = track_data.replaygain else: pathname = "" trackframes = 0 replaygain = RGDEF if not cue_performer: cue_performer = track_data.artist or \ global_cue_performer if not cue_title: cue_title = track_data.title or global_cue_title try: nextoffset = val[index + 1][1] except LookupError: try: nextoffset = segment_data[track + 1][0][1] except LookupError: try: nextoffset = segment_data[track + 1][1][1] except LookupError: nextoffset = trackframes if nextoffset == 0: nextoffset = trackframes duration = nextoffset - frames if not trackframes: duration = frames = 0 element = CueSheetTrack(pathname, bool(pathname), track, index, cue_performer, cue_title, frames, duration, replaygain) cuesheet_liststore.append(element) summary = _('%d Audio Tracks') % track if global_cue_performer and global_cue_title: if "(" in global_cue_title or ")" in global_cue_title: fmt = "%s - %s - [%s]" else: fmt = "%s - %s - (%s)" metadata = fmt % (global_cue_performer, summary, global_cue_title) else: metadata = "%s - %s" % (global_cue_performer or global_cue_title, summary) # TC: Missing metadata text. metadata = metadata or _('Unknown') # TC: Cuesheet data element as shown in the playlist. element = PlayerRow( '%s' % _("(Cue sheet)") + glib.markup_escape_text(metadata), cue_pathname, totalframes // 75 + 1, metadata, "utf-8", global_cue_title, global_cue_performer, RGDEF, cuesheet_liststore, "", "") return element def get_media_metadata(self, filename, get_length=False): artist = u"" title = u"" album = u"" length = 0.0 artist_retval = u"" title_retval = u"" album_retval = u"" cuesheet = None # Strip away any file:// prefix if filename.count("file://", 0, 7): filename = filename[7:] elif filename.count("file:", 0, 5): filename = filename[5:] filext = supported.check_media(filename) if filext == False or os.path.isfile(filename) == False: return NOTVALID._replace(filename=filename) # Use this name for metadata when we can't get anything from tags. # The name will also appear grey to indicate a tagless state. meta_name = os.path.splitext(glib.filename_display_basename(filename) )[0].lstrip("0123456789 -") encoding = None # Obsolete # TC: Playlist text meaning the metadata tag is missing or incomplete. rsmeta_name = '(%s) %s' % ( _('Bad Tag'), glib.markup_escape_text(meta_name)) title_retval = meta_name # Obtain as much metadata from ubiquitous tags as possible. # Files can have ape and id3 tags. ID3 has priority in this case. try: audio = APEv2(filename) except: rg = RGDEF artist = title = "" else: try: rg = str(audio["REPLAYGAIN_TRACK_GAIN"][0].rstrip(" dB")) + " RG" except: rg = RGDEF artist = audio.get("ARTIST", [u""]) title = audio.get("TITLE", [u""]) album = audio.get("ALBUM", [u""]) # ID3 is tried second so it can supercede APE tag data. try: audio = EasyID3(filename) except: pass else: try: rg = str(audio["replaygain_track_gain"][0].rstrip(" dB")) + " RG" except: pass try: artist = audio["artist"] except: pass try: title = audio["title"] except: pass try: album = audio["album"] except: pass # Trying for metadata from native tagging formats. if (filext == ".wav" or filext == ".aiff" or filext == ".au"): self.parent.mixer_write("SNDP=%s\nACTN=sndfileinforequest\nend\n" % filename) while 1: line = self.parent.mixer_read() if line == "idjcmixer: sndfileinfo Not Valid\n" or line == "": return NOTVALID._replace(filename=filename) if line.startswith("idjcmixer: sndfileinfo length="): length = float(line[30:-1]) if line.startswith("idjcmixer: sndfileinfo artist="): artist = line[30:-1] if line.startswith("idjcmixer: sndfileinfo title="): title = line[29:-1] if line.startswith("idjcmixer: sndfileinfo album="): album = line[29:-1] if line == "idjcmixer: sndfileinfo end\n": break if length == None: return NOTVALID._replace(filename=filename) # This handles chained ogg files as generated by IDJC. elif filext == ".ogg" or filext == ".oga" or filext == ".spx": self.parent.mixer_write("OGGP=%s\nACTN=ogginforequest\nend\n" % filename) while 1: line = self.parent.mixer_read() if line == "OIR:NOT VALID\n" or line == "": return NOTVALID._replace(filename=filename) if line.startswith("OIR:ARTIST="): artist = line[11:].strip() if line.startswith("OIR:TITLE="): title = line[10:].strip() if line.startswith("OIR:ALBUM="): album = line[10:].strip() if line.startswith("OIR:LENGTH="): length = float(line[11:].strip()) if line.startswith("OIR:REPLAYGAIN_TRACK_GAIN="): val = line[26:].rstrip(" dB\n") if not val: rg = RGDEF else: rg = val + " RG" if line == "OIR:end\n": break elif filext == ".aac": try: id3 = ID3(filename) try: length = float(id3["TLEN"].text[0]) / 1000.0 except (KeyError, ValueError, IndexError): print "unknown track length -- add a TLEN tag if you know it" raise Exception except Exception: length = 0.0 else: # Mutagen used for all remaining formats. try: audio = mutagen.File(filename) if audio is None: raise Exception except Exception: return NOTVALID._replace(filename=filename) else: length = float(audio.info.length) if isinstance(audio, MP4): try: artist = audio["\xa9ART"][0] except: pass try: title = audio["\xa9nam"][0] except: pass try: album = audio["\xa9alb"][0] except: pass elif isinstance(audio, MP3): # The LAME tag is the last port of call for ReplayGain info # due to it frequently being based on the source audio. if rg == RGDEF: try: rg = str(audio.info.track_gain) + " RG" except: pass else: if rg is None: rg = RGDEF else: x = list(audio.get("Artist", [])) x += list(audio.get("Author", [])) if x: artist = "/".join((unicode(y) for y in x)) try: x = list(audio["Title"]) except: pass else: title = "/".join((unicode(y) for y in x)) try: x = list(audio["Album"]) except: pass else: album = "/".join((unicode(y) for y in x)) try: rg = str(unicode(audio["replaygain_track_gain"][-1] ).rstrip(" dB")) + " RG" except: pass try: rg = str(float(unicode(audio["r128_track_gain"][-1])) / 256.0) + " R128" except: pass if isinstance(artist, list): artist = u"/".join(artist) if isinstance(title, list): title = u"/".join(title) if isinstance(album, list): album = u"/".join(album) if isinstance(artist, (str, APETextValue)): try: artist = str(artist).decode("utf-8", "strict") except: artist = str(artist).decode("latin1", "replace") if isinstance(title, (str, APETextValue)): try: title = str(title).decode("utf-8", "strict") except: title = str(title).decode("latin1", "replace") if isinstance(album, (str, APETextValue)): try: album = str(album).decode("utf-8", "strict") except: album = str(album).decode("latin1", "replace") assert(isinstance(artist, unicode)) assert(isinstance(title, unicode)) assert(isinstance(album, unicode)) if get_length: # Used if only requesting the length of the track return length length = 1 if length < 1.0 else float(length) uuid_ = str(uuid.uuid4()) def player_row(meta_name): return PlayerRow(glib.markup_escape_text(meta_name), filename, length, meta_name, encoding, title, artist, rg, cuesheet, album, uuid_) if artist and title and album: if "(" in album: return player_row(artist + u" - " + title + u" - [%s]" % album) else: return player_row(artist + u" - " + title + u" - (%s)" % album) elif artist and title: return player_row(artist + u" - " + title) else: return PlayerRow(rsmeta_name, filename, length, meta_name, encoding, title_retval, artist, rg, cuesheet, album, uuid_) # Update playlist entries for a given filename e.g. when tag has been edited def update_playlist(self, newdata): active = None for item in self.liststore: if item[1] == newdata[1]: if item[0].startswith(""): item[0] = u"" + newdata[0] + u"" active = item else: item[0] = newdata[0] for i in range(2, len(item)): item[i] = newdata[i] if active is not None: self.songname = active[3] # update metadata on server self.title = self.cuesheet_track_title or active[5].encode("utf-8") self.artist = self.cuesheet_track_performer or active[6].encode("utf-8") self.album = active[9].encode("utf-8") self.player_restart() self.parent.send_new_mixer_stats() def expire_metadata(self): if not self.is_playing: self.songname = self.title = self.artist = self.album = "" self.element = None self.cuesheet_track_title = self.cuesheet_track_performer = None # Shut down our media players when we exit. def cleanup(self): self.exiting = True if self.player_is_playing: self.stop.clicked() def save_session(self, where=None): if where is None: where = PM.basedir fh = open(where / self.session_filename, "w") extlist = self.external_pl.filechooser.get_filename() if extlist is not None: fh.write("extlist=" + extlist + "\n") extdir = self.external_pl.directorychooser.get_filename() if extdir is not None: fh.write("extdir=" + extdir + "\n") fh.write("digiprogress_type=" + str(int(self.digiprogress_type)) + "\n") fh.write("stream_button=" + str(int(self.stream.get_active())) + "\n") fh.write("listen_button=" + str(int(self.listen.get_active())) + "\n") fh.write("force_button=" + str(int(self.force.get_active())) + "\n") fh.write("playlist_mode=" + str(self.pl_mode.get_active()) + "\n") fh.write("plsave_filetype=" + str(self.plsave_filetype) + "\n") fh.write("plsave_open=" + str(int(self.plsave_open)) + "\n") fh.write("fade_mode=" + str(self.pl_delay.get_active()) + "\n") if self.plsave_folder is not None: fh.write("plsave_folder=" + self.plsave_folder + "\n") for row in self.liststore: # Allow modification without affecting the playlist. entry = list(row) link = link_uuid_reg.get_link_filename(row[10]) if link is not None: # Replace orig file abspath with alternate path to a hard link # except when link is None as happens when a hard link fails. entry[1] = PathStr("links") / link fh.write("pe=") if entry[0].startswith(""): # Clean off bold tags. entry[0] = entry[0][3:-4] for item in entry: if isinstance(item, int): item = str(item) fh.write("i") elif isinstance(item, float): item = str(item) fh.write("f") elif isinstance(item, str): fh.write("s") elif isinstance(item, CueSheetListStore): fh.write("c") if item: item = "(%s, )" % ", ".join(repr(x) for x in item) else: item = "()" elif item is None: fh.write("n") item = "None" fh.write(str(len(item)) + ":" + item) fh.write("\n") model, iter = self.treeview.get_selection().get_selected() if iter is not None: fh.write("select=" + str(model.get_path(iter)[0]) + "\n") fh.close() def restore_session(self): try: fh = open(PM.basedir / self.session_filename, "r") except: return while 1: try: line = fh.readline() if line == "": break except: break try: if line.startswith("extlist="): self.external_pl.filechooser.set_filename(line[8:-1]) if line.startswith("extdir="): self.external_pl.directorychooser.set_current_folder( line[7:-1]) if line.startswith("digiprogress_type="): if int(line[18]) != self.digiprogress_type: self.digiprogress_click() if line.startswith("stream_button="): self.stream.set_active(int(line[14])) if line.startswith("listen_button="): self.listen.set_active(int(line[14])) if line.startswith("force_button="): self.listen.set_active(int(line[14])) if line.startswith("playlist_mode="): self.pl_mode.set_active(int(line[14])) if line.startswith("plsave_filetype="): self.plsave_filetype=int(line[16]) if line.startswith("plsave_open="): self.plsave_open=bool(int(line[12])) if line.startswith("plsave_folder="): self.plsave_folder=line[14:-1] if line.startswith("fade_mode="): self.pl_delay.set_active(int(line[10])) if line.startswith("pe="): playlist_entry = self.pl_unpack(line[3:]) # Links directory entries conversion to absolute path. if playlist_entry[1] and playlist_entry[1][0] != \ os.path.sep: playlist_entry = playlist_entry._replace( filename=PM.basedir / playlist_entry[1]) if not playlist_entry or self.playlist_todo: self.playlist_todo.append(playlist_entry.filename) else: try: self.liststore.append(playlist_entry) except TypeError: self.playlist_todo.append(playlist_entry.filename) if line.startswith("select="): path = line[7:-1] try: self.treeview.get_selection().select_path(path) self.treeview.scroll_to_cell(path, None, False) except: pass except ValueError: pass if self.playlist_todo: print self.playername + (" player: the stored playlist data is not " "compatible with this version\nfiles placed" " in a queue for rescanning") gobject.idle_add(self.cb_playlist_todo) @threadslock def cb_playlist_todo(self): if self.no_more_files: return False try: pathname = self.playlist_todo.popleft() except: return False line = self.get_media_metadata(pathname) if line: self.liststore.append(line) else: print "file missing or type unsupported %s" % pathname return True def pl_unpack(self, text): """Unmarshall a string to a list.""" start = 0 item = 0 reply = [] while text[start] != "\n": end = start while text[end] != ":": end = end + 1 nextstart = int(text[start + 1 : end]) + end + 1 value = text[end + 1 : nextstart] try: t = text[start] if t == "i": value = int(value) elif t == "f": value = float(value) elif t == "s": pass elif t == "c": csts = eval(value, {"__builtins__":None},{ "CueSheetTrack":CueSheetTrack}) value = CueSheetListStore() for cst in csts: value.append(cst) elif t == "n": value = None except Exception, e: print "pl_unpack: playlist line not valid", e try: return NOTVALID._replace(filename=reply[1]) except IndexError: return NOTVALID reply.append(value) start = nextstart try: return PlayerRow._make(reply) except: return NOTVALID._replace(filename=reply[1]) def handle_stop_button(self, widget): self.restart_cancel = True if self.is_playing == True: self.is_playing = False if self.timeout_source_id: gobject.source_remove(self.timeout_source_id) # This will enable the play button to be toggled off. self.is_stopping = True self.play.set_active(False) # Must do pause as well if it is pressed. if self.pause.get_active() == True: self.pause.set_active(False) self.parent.send_new_mixer_stats() def handle_pause_button(self, widget, selected): if self.is_playing == True: if self.is_paused == False: # Player pause code goes here print "Player paused" self.is_paused = True self.parent.send_new_mixer_stats() else: # Player unpause code goes here print "Player unpaused" self.is_paused = False self.parent.send_new_mixer_stats() else: # Prevent the pause button going into its on state when not playing. if selected: # We must unselect it. widget.set_active(False) else: self.is_paused = False def handle_play_button(self, widget, selected): if selected == False: # Prevent stopping except when the is_stopping flag is true. if self.is_stopping == False: widget.set_active(True) else: self.is_stopping = False if self.player_is_playing == True: self.player_shutdown() else: if self.is_playing == True: if self.new_title == True: self.new_title = False self.player_shutdown() self.parent.send_new_mixer_stats() self.player_is_playing = self.player_startup() if self.player_is_playing == False: self.player_is_playing = True if self.is_paused: self.pause.set_active(False) else: print "suppressed the toggle off of the play button" else: self.is_playing = True self.new_title = False if self.player_startup(): self.player_is_playing = True print "Player has started" else: self.stop.clicked() def player_startup(self): # remember which player started last so we can decide on metadata print "player_startup %s" % self.playername self.parent.last_player = self.playername if self.player_is_playing == True: # Use the current song if one is playing. model = self.model_playing iter = self.iter_playing else: # Get our next playlist item. treeselection = self.treeview.get_selection() (model, iter) = treeselection.get_selected() if iter == None: print "Nothing selected in the playlist - trying the first entry." try: iter = model.get_iter(0) except: print "Playlist is empty" return False print "We start at the beginning" treeselection.select_iter(iter) self.treeview.scroll_to_cell(model.get_path(iter)[0], None, False) self.music_filename = model.get_value(iter, 1) if self.music_filename != "": # Songname is used for metadata for mp3 self.songname = unicode(model.get_value(iter, 3)) # These two are used for ogg metadata self.title = unicode(model.get_value(iter, 5)).encode( "utf-8", "replace") self.artist = unicode(model.get_value(iter, 6)).encode( "utf-8", "replace") self.album = unicode(model.get_value(iter, 9)).encode( "utf-8", "replace") # rt is the run time in seconds of our song rt = model.get_value(iter, 2) if rt < 0: rt = 0 # playlist controls have negative numbers # Calculate our seek time scaling from old slider settings. # Used for when seek is moved before play is pressed. if os.path.isfile(self.music_filename): try: self.start_time = int(self.progressadj.get_value() / self.max_seek * float(rt)) except ZeroDivisionError: self.start_time = 0 else: self.start_time = rt # Seek to the end when file is missing. print "Seek time is %d seconds" % self.start_time # Now we recalibrate the progress bar to the current song length self.digiprogress_f = True self.progressadj.set_all(float (self.start_time) , 0.0, rt, rt/1000.0, rt/100.0, 0.0) self.progressadj.emit("changed") # Set the stop figure used by the progress bar's timeout function self.progress_stop_figure = model.get_value(iter, 2) self.progress_current_figure = self.start_time self.player_is_playing = True # Bold highlight the file we are playing text = model.get_value(iter, 0) if not text.startswith(""): text = "" + text + "" model.set_value(iter, 0, text) self.iter_playing = iter self.model_playing = model self.max_seek = rt self.silence_count = 0 cuesheet = self.cuesheet = model.get_value(iter, 8) if cuesheet: print "There is a cuesheet" # Skip to first element that can be played. element = self.element = cuesheet.element(self.start_time) if element: self.start_time = max(element.offset, self.start_time * 75) // 75 self.progressadj.set_value(self.start_time) self.music_filename = element.pathname self.cuesheet_track_title = element.title self.cuesheet_track_performer = element.performer else: self.element = None self.cuesheet_track_title = self.cuesheet_track_performer = None try: sgain, self.gaintype = model.get_value(iter, 7).split() except (AttributeError, ValueError): # This column type changed to str from int. Handle the change. row = self.get_media_metadata(model.get_value(iter, 1)) if row: model.set_value(iter, 7, row[7]) sgain, self.gaintype = row[7].split() else: sgain, self.gaintype = RGDEF.split() self.gain = float(sgain) if self.parent.prefs_window.rg_adjust.get_active(): if self.gaintype == "DEFAULT": self.gain += self.parent.prefs_window.rg_defaultgain.get_value() if self.gaintype == "RG": self.gain += self.parent.prefs_window.rg_boost.get_value() if self.gaintype == "R128": self.gain += self.parent.prefs_window.r128_boost.get_value() self.gain += self.parent.prefs_window.all_boost.get_value() print "final gain value of %f dB" % self.gain else: self.gain = 0.0 print "not using replay gain" if self.music_filename != "": self.parent.mixer_write( "PLRP=%s\nSEEK=%d\nSIZE=%d\nRGDB=%f\nACTN=playnoflush%s\nend\n" % (self.music_filename, self.start_time, self.max_seek, self.gain, self.playername)) while 1: line = self.parent.mixer_read() if line.startswith("context_id="): self.player_cid = int(line[11:-1]) break if line == "": self.player_cid = -1 break else: print "skipping play for empty filename" self.player_cid = -1 if self.player_cid == -1: print "player startup was unsuccessful for file", \ self.music_filename # The regular code path can handle this. self.timeout_source_id = gobject.idle_add( self.cb_play_progress_timeout, self.player_cid) else: print "player context id is %d\n" % self.player_cid if self.player_cid & 1: self.timeout_source_id = gobject.timeout_add(PROGRESS_TIMEOUT, self.cb_play_progress_timeout, self.player_cid) else: self.invoke_end_of_track_policy() self.parent.send_new_mixer_stats() return True def player_shutdown(self): print "player shutdown code was called" if self.cuesheet is not None: self.cuesheet.non_playing() if self.iter_playing: # Unhighlight this track text = self.model_playing.get_value(self.iter_playing, 0) if text[:3] == "": text = text[3:-4] self.model_playing.set_value(self.iter_playing, 0, text) self.file_iter_playing = 0 self.player_is_playing = False if self.timeout_source_id: gobject.source_remove(self.timeout_source_id) self.progress_current_figure = 0 self.playtime_elapsed.set_value(0) self.progressadj.set_value(0.0) self.progressadj.value_changed() if self.gapless == False: self.parent.mixer_write("ACTN=stop%s\nend\n" % self.playername) self.digiprogress_f = False self.other_player_initiated = False self.crossfader_initiated = False def set_fade_mode(self, mode): if self.parent.simplemixer: mode = 0 self.parent.mixer_write("FADE=%d\nACTN=fademode_%s\nend\n" % (mode, self.playername)) def player_restart(self): # remember which player started last so we can decide on metadata print "player_restart %s" % self.playername self.parent.last_player = self.playername gobject.source_remove(self.timeout_source_id) self.start_time = int (self.progressadj.get_value()) self.silence_count = 0 model = self.model_playing iter = self.iter_playing cuesheet = self.cuesheet = model.get_value(iter, 8) if cuesheet: print "There is a cuesheet" # Skip to first element that can be played. cuesheet.non_playing() element = self.element = cuesheet.element(self.start_time) if element: self.start_time = max(element.offset, self.start_time * 75) // 75 self.cuesheet_track_title = element.title self.cuesheet_track_performer = element.performer self.music_filename = element.pathname self.gain = element.replaygain else: # Skip to end. self.element = cuesheet[-1] self.start_time = self.progressadj.props.upper self.progressadj.set_value(self.start_time) if self.parent.prefs_window.rg_adjust.get_active(): if self.gain == RGDEF: self.gain = self.parent.prefs_window.rg_defaultgain.get_value() self.gain += self.parent.prefs_window.rg_boost.get_value() print "final gain value of %f dB" % self.gain else: self.gain = 0.0 print "not using replay gain" else: self.element = None self.cuesheet_track_title = self.cuesheet_track_performer = None self.parent.mixer_write("PLRP=%s\nSEEK=%d\nACTN=play%s\nend\n" % ( self.music_filename, self.start_time, self.playername)) while 1: line = self.parent.mixer_read() if line.startswith("context_id="): self.player_cid = int(line[11:-1]) break if line == "": self.player_cid = -1 break if self.player_cid == -1: print "player startup was unsuccessful for", self.music_filename return False print "player context id is %d\n" % self.player_cid # Restart a callback to update the progressbar. self.timeout_source_id = gobject.timeout_add( PROGRESS_TIMEOUT, self.cb_play_progress_timeout, self.player_cid) self.parent.send_new_mixer_stats() return True def next_real_track(self, i): if i == None: return None m = self.model_playing while 1: i = m.iter_next(i) if i is None: return None if m.get_value(i, 0)[0] != ">": return i def first_real_track(self): m = self.model_playing i = m.get_iter_first() while 1: if i == None: return None if m.get_value(i, 0)[0] != ">": return i i = m.get_iter_next(i) def invoke_end_of_track_policy(self, mode_text=None): # This is where we implement the playlist modes for the most part. if mode_text is None: mode_text = self.pl_mode.get_active_text() if self.is_playing == False: print "Assertion failed in: invoke_end_of_track_policy" return if mode_text == N_('Manual'): # For Manual mode just stop the player at the end of the track. print "Stopping in accordance with manual mode" self.stop.clicked() elif mode_text == N_('Play All'): if self.music_filename == "": self.handle_playlist_control() else: self.next.clicked() treeselection = self.treeview.get_selection() if self.is_playing == False: treeselection.select_path(0) # park on the first menu item elif mode_text == N_('Loop All') or mode_text == N_('Cue Up') or \ mode_text == N_('Fade Over'): iter = self.next_real_track(self.iter_playing) if iter is None: iter = self.first_real_track() self.stop.clicked() if iter is not None: treeselection = self.treeview.get_selection() treeselection.select_iter(iter) if mode_text == N_('Loop All'): self.play.clicked() else: treeselection.select_path(0) elif mode_text == N_('Random'): # Not truly random. Effort is made to break the appearance of # having a set play order to a long term listener without # re-playing the same track too soon. self.stop.clicked() poolsize = len(self.liststore) // 10 if poolsize > 50: poolsize = 50 elif poolsize < 10: poolsize = 10 if poolsize > len(self.liststore): poolsize = len(self.liststore) if self.parent.server_window.is_streaming or \ self.parent.server_window.is_recording: fp = self.parent.files_played else: fp = self.parent.files_played_offline timestamped_pathnames = [] while not timestamped_pathnames: random_pathnames = [PlayerRow(*x).filename for x in random.sample(self.liststore, poolsize)] timestamped_pathnames = [(fp.get(pn, 0), pn) for pn in random_pathnames if pn] timestamped_pathnames.sort() least_recent_ts = timestamped_pathnames[0][0] timestamped_pathnames = [x for x in timestamped_pathnames if x[0] == least_recent_ts] least_recent = random.choice(timestamped_pathnames)[1] for path, entry in enumerate(self.liststore): entry_filename = PlayerRow(*entry).filename if least_recent == entry_filename: break treeselection = self.treeview.get_selection() treeselection.select_path(path) self.play.clicked() elif mode_text == N_('External'): path = self.model_playing.get_path(self.iter_playing)[0] self.stop.clicked() next_track = self.external_pl.get_next() if next_track is None: print "playlist or directory has no more audio files - stopping" else: self.model_playing.insert_after(self.iter_playing, next_track) self.model_playing.remove(self.iter_playing) treeselection = self.treeview.get_selection() treeselection.select_path(path) self.play.clicked() elif mode_text == N_('Alternate') or mode_text == N_('Random Hop'): iter = self.next_real_track(self.iter_playing) if iter is None: iter = self.first_real_track() self.stop.clicked() treeselection = self.treeview.get_selection() if iter is not None: treeselection.select_iter(iter) else: treeselection.select_path(0) if self.playername == "left": self.parent.passright.clicked() other_player = self.parent.player_right elif self.playername == "right": self.parent.passleft.clicked() other_player = self.parent.player_left if mode_text == N_('Alternate'): other_player.play.clicked() elif mode_text == N_('Random Hop'): other_player.invoke_end_of_track_policy(N_('Random')) else: print 'handler missing for playlist mode: %s' % mode_text self.stop.clicked() def handle_playlist_control(self): treeselection = self.treeview.get_selection() model = self.model_playing iter = self.iter_playing control = model.get_value(iter, 0) print "control is", control if control == ">normalspeed": self.pbspeedzerobutton.clicked() self.next.clicked() if self.is_playing == False: treeselection.select_path(0) def x(control_type, open_auto_type): if control == ">%s" % control_type: print "player", self.playername, "stopping by playlist control" if (self.playername == "left" and \ self.parent.crossfade.get_value() < 50) or \ (self.playername == "right" and \ self.parent.crossfade.get_value() >= 50): self.parent.mic_opener.open_auto(open_auto_type) self.stop.clicked() if model.iter_next(iter): treeselection.select_iter(model.iter_next(iter)) else: treeselection.select_iter(model.get_iter_first()) x("stopplayer", "stop_control") x("stopplayer2", "stop_control2") if control == ">jumptotop": self.stop.clicked() treeselection.select_path(0) self.play.clicked() if control == ">announcement": dia = AnnouncementDialog(self, model, iter, "active") dia.present() self.stop.clicked() if model.iter_next(iter): treeselection.select_iter(model.iter_next(iter)) else: treeselection.select_iter(model.get_iter_first()) if control == ">crossfade": print "player", self.playername, "stopping, crossfade complete" self.stop.clicked() if model.iter_next(iter): treeselection.select_iter(model.iter_next(iter)) else: treeselection.select_path(0) if control == ">stopstreaming": self.next.clicked() self.parent.server_window.stop_streaming_all() if self.is_playing == False: treeselection.select_path(0) if control == ">stoprecording": self.next.clicked() self.parent.server_window.stop_recording_all() if self.is_playing == False: treeselection.select_path(0) if control == ">transfer": if self.playername == "left": otherplayer = self.parent.player_right self.parent.passright.clicked() elif self.playername == "right": otherplayer = self.parent.player_left self.parent.passleft.clicked() print "transferring to player", otherplayer.playername otherplayer.play.clicked() self.stop.clicked() if model.iter_next(iter): treeselection.select_iter(model.iter_next(iter)) else: treeselection.select_path(0) if control.startswith(">fade"): if control.endswith("e5"): self.set_fade_mode(1) elif control.endswith("e10"): self.set_fade_mode(2) self.next.clicked() self.set_fade_mode(0) if self.is_playing == False: treeselection.select_path(0) def get_pl_block_size(self, iter): size = 0 speedfactor = self.pbspeedfactor while iter is not None: length = self.liststore.get_value(iter, 2) if length == -11: text = self.liststore.get_value(iter, 0) if text.startswith(""): text = text[3:-4] if text in (">stopplayer", ">stopplayer2", ">transfer", ">crossfade", ">announcement", ">jumptotop"): break if text == ">normalspeed": speedfactor = 1.0 if length >= 0: cuesheet = self.liststore.get_value(iter, 8) if cuesheet is not None: length = cuesheet.time_remaining(0.0) size += int(length / speedfactor) iter = self.liststore.iter_next(iter) return size def update_time_stats(self): """In playlist mode 0 the block times are calculated and displayed. Block times give the DJ an idea when the playlist will finish. """ if self.pl_mode.get_active() != 0: return if self.player_is_playing: if self.cuesheet: tr = self.cuesheet.time_remaining(self.progressadj.value) \ / self.pbspeedfactor else: tr = int((self.max_seek - self.progressadj.value) / self.pbspeedfactor) model = self.model_playing iter = model.iter_next(self.iter_playing) tr += self.get_pl_block_size(iter) else: tr = 0 selection = self.treeview.get_selection() model, iter = selection.get_selected() if iter is None: if self.is_playing: bs = 0 else: iter = model.get_iter_first() bs = self.get_pl_block_size(iter) else: try: if model.get_value(iter, 0)[0:3] == "": bs = 0 else: bs = self.get_pl_block_size(iter) except Exception as e: print "Playlist data is fucked up", e bs = 0 bsm, bss = divmod(bs, 60) if self.is_playing: trm, trs = divmod(tr, 60) tm_end = time.localtime(int(time.time()) + tr) tm_end_h = tm_end[3] tm_end_m = tm_end[4] tm_end_s = tm_end[5] if bs == 0: self.statusbar_update("%s -%2d:%02d | %s %02d:%02d:%02d" % ( # TC: The remaining playlist time. _('Remaining'), trm, trs, # TC: The estimated finish time of the playlist. _('Finish'), tm_end_h, tm_end_m, tm_end_s)) else: self.statusbar_update( "%s -%2d:%02d | %s %02d:%02d:%02d | %s %2d:%02d" % ( _('Remaining'), trm, trs, _('Finish'), tm_end_h, tm_end_m, tm_end_s, _('Block size'), bsm, bss)) else: if bs == 0: self.statusbar_update("") else: bft = time.localtime(time.time() + bs) bf_h = bft[3] bf_m = bft[4] bf_s = bft[5] self.statusbar_update("%s %2d:%02d | %s %02d:%02d:%02d" % ( # TC: The play duration of the block of audio tracks. _('Block size'), bsm, bss, # TC: The estimated finish time of the playlist (ETA). _('Finish'), bf_h, bf_m, bf_s)) def statusbar_update(self, newtext): if newtext != self.oldstatusbartext: self.pl_statusbar.push(1, newtext) self.oldstatusbartext = newtext def check_mixer_signal(self): """The silence killer implementation for quiet endings.""" if self.parent.feature_set.get_active() and not self.progress_press \ and self.progressadj.upper - self.progress_current_figure \ < float(self.silence) and self.progressadj.upper > 10.0: if not self.mixer_signal_f.value and int(self.mixer_cid) == \ self.player_cid + 1 and \ self.parent.prefs_window.silence_killer.get_active() and \ self.eos_inspect() == False: print "termination by check mixer signal" self.invoke_end_of_track_policy() @threadslock def cb_play_progress_timeout(self, cid): """The mover of the play progress bar among other things.""" if cid % 2 == 0: # player started at end of track self.invoke_end_of_track_policy() return False if self.reselect_cursor_please: treeselection = self.treeview.get_selection() (model, iter) = treeselection.get_selected() if iter is not None: self.treeview.scroll_to_cell(model.get_path(iter)[0], None, False) else: self.reselect_please = True self.reselect_cursor_please = False if self.reselect_please: print "Set cursor on track playing" # This code reselects the playing track after a drag operation. treeselection = self.treeview.get_selection() try: treeselection.select_iter(self.iter_playing) except: print "Iter was cancelled probably due to song dragging" self.reselect_please = False if self.progress_press == False: if self.runout.value and self.is_paused == False and \ self.mixer_cid.value > self.player_cid: self.gapless = True print "termination due to end of track" self.invoke_end_of_track_policy() self.gapless = False return False # Mid-track silence killer. if self.mixer_signal_f.value == False: self.silence_count += 1 if self.parent.feature_set.get_active() and \ self.silence_count >= 120 and \ self.playtime_elapsed.value > 15 and \ self.parent.prefs_window.bonus_killer.get_active(): print "termination due to excessive silence" self.invoke_end_of_track_policy() return False else: self.silence_count = 0 if self.progress_current_figure != self.playtime_elapsed.value: # Code runs once a second. # Check whether a track is hitting a stream or being recorded. if self.stream.get_active() and ( self.parent.server_window.is_streaming or self.parent.server_window.is_recording) and ( (self.playername == "left" and self.parent.crossadj.value < 90) or (self.playername == "right" and self.parent.crossadj.value > 10)): # Log the time the file was last played. self.parent.files_played[self.music_filename] = time.time() else: self.parent.files_played_offline[self.music_filename ] = time.time() self.progress_current_figure = self.playtime_elapsed.value self.progressadj.set_value(self.playtime_elapsed.value) if self.max_seek == 0: self.progressadj.emit("value_changed") self.update_time_stats() else: # Cease running the timeout. It will not resume. return False if self.cuesheet: cuesheet = self.cuesheet rem = int(cuesheet.time_remaining(self.progress_current_figure)) current_element = cuesheet.element(self.progress_current_figure + 1) if self.element != current_element: print "Cuesheet bump" if cuesheet.next_element(self.element) != current_element or \ current_element is None: print "Cuesheet discontinuous" self.set_fade_mode(4) if current_element is not None: self.progressadj.set_value((current_element.offset + 38) // 75) self.player_restart() else: self.invoke_end_of_track_policy() self.set_fade_mode(0) return True else: print "cuesheet continuous" element = self.element = current_element self.cuesheet_track_title = element.title self.cuesheet_track_performer = element.performer self.parent.send_new_mixer_stats() else: rem = self.progress_stop_figure - self.progress_current_figure pl_mode = self.pl_mode.get_active() if (rem == 5 or rem == 10) and not self.crossfader_initiated and not \ self.parent.simplemixer: next = self.model_playing.iter_next(self.iter_playing) if next is not None: nextval = self.model_playing.get_value(next, 0) else: nextval = "" if pl_mode == 0 and nextval.startswith(">"): if rem == 5 and nextval == ">fade5": fade = 1 elif rem == 10 and nextval == ">fade10": fade = 2 else: fade = 0 if (fade): self.set_fade_mode(fade) self.stop.clicked() treeselection = self.treeview.get_selection() next = self.model_playing.iter_next(next) if next is not None: path = self.model_playing.get_path(next) treeselection.select_path(path) self.play.clicked() else: treeselection.select_path(0) self.set_fade_mode(0) else: fade = self.pl_delay.get_active() if (fade == 1 and rem == 10) or (fade == 2 and rem == 5) or \ pl_mode in (3, 4, 6) or \ (pl_mode == 0 and self.islastinplaylist()): fade = 0 if fade: self.set_fade_mode(fade) self.invoke_end_of_track_policy() self.set_fade_mode(0) # Calclulate whether to sound the DJ alarm (end of music notification) if self.playername in ("left", "right"): if rem == 10 and self.progressadj.upper > 11 and \ self.alarm_cid != cid and \ self.parent.prefs_window.djalarm.get_active(): # DJ Alarm is on and we are at the correct play position. # The alarm has not sounded yet. fader = "left" if self.parent.crossadj.value < 50.0 else "right" if self.playername == fader and (pl_mode in (3, 4) or (pl_mode == 0 and self.stop_inspect())): self.parent.freewheel_button.set_active(False) gobject.timeout_add(1000, self.deferred_alarm) self.alarm_cid = cid # Check if the crossfade needs scheduling. if pl_mode == 7 or (pl_mode == 0 and self.fade_inspect()): eot_crosstime = int(self.progress_stop_figure) - \ self.parent.passspeed_adj.props.value - \ int(self.progress_current_figure) # Start other player. if not self.other_player_initiated and eot_crosstime <= 1: if self.playername == "left": self.parent.player_right.play.clicked() else: self.parent.player_left.play.clicked() self.other_player_initiated = True # Now do the crossfade if not self.crossfader_initiated and eot_crosstime <= 0: self.parent.passbutton.clicked() self.crossfader_initiated = True desired_direction = (self.playername == "left") if desired_direction != self.parent.crossdirection: self.parent.passbutton.clicked() return True @threadslock def deferred_alarm(self): self.parent.alarm = True self.parent.send_new_mixer_stats() return False def stop_inspect(self): stoppers = (">stopplayer", ">stopplayer2", ">announcement") horizon = (">transfer", ">crossfade", ">jumptotop") i = self.iter_playing m = self.model_playing while 1: i = m.iter_next(i) if i is None: return True v = m.get_value(i, 0) if v and v[0] != ">": return False if v in stoppers: return True if v in horizon: return False def fade_inspect(self): stoppers = (">crossfade") horizon = (">transfer", ">stopplayer", ">stopplayer2", ">announcement", ">jumptotop") i = self.iter_playing m = self.model_playing while 1: i = m.iter_next(i) if i is None: return False v = m.get_value(i, 0) if v and v[0] != ">": return False if v in stoppers: return True if v in horizon: return False def eos_inspect(self): # Returns true when playlist ended or stream disconnect is imminent. if self.pl_mode.get_active(): return False if self.islastinplaylist(): return True stoppers = (">stopstreaming", ) horizon = (">transfer", ">crossfade") i = self.iter_playing m = self.model_playing while 1: i = m.iter_next(i) if i is None: return True v = m.get_value(i, 0) if v and v[0] != ">": return False if v in stoppers: return True if v in horizon: return False def islastinplaylist(self): iter = self.model_playing.iter_next(self.iter_playing) if iter is None: return True else: return False def arrow_up(self): treeselection = self.treeview.get_selection() (model, iter) = treeselection.get_selected() if iter == None: print "Nothing is selected" else: path = model.get_path(iter) if path[0]: other_iter = model.get_iter(path[0]-1) self.liststore.swap(iter, other_iter) self.treeview.scroll_to_cell(path[0]-1, None, False) def arrow_down(self): treeselection = self.treeview.get_selection() (model, iter) = treeselection.get_selected() if iter == None: print "Nothing is selected" else: path = model.get_path(iter) try: other_iter = model.get_iter(path[0]+1) self.liststore.swap(iter, other_iter) self.treeview.scroll_to_cell(path[0]+1, None, False) except ValueError: pass def advance(self): #self.set_fade_mode(self.pl_delay.get_active()) if self.is_playing: self.parent.mic_opener.open_auto("advance") path = self.model_playing.get_path(self.iter_playing)[0]+1 self.stop.clicked() treeselection = self.treeview.get_selection() treeselection.select_path(path) self.treeview.scroll_to_cell(path, None, False) else: self.parent.mic_opener.close_all() self.play.clicked() #self.set_fade_mode(0) def callback(self, widget, data): if data == "pbspeedzero": self.pbspeedbar.set_value(64.0) if data == "Arrow Up": self.arrow_up() if data == "Arrow Dn": self.arrow_down() if data == "Stop": self.handle_stop_button(widget) if data == "Next": if self.is_playing: path = self.model_playing.get_path(self.iter_playing)[0]+1 if self.is_paused: self.stop.clicked() try: self.model_playing.get_iter(path) except: self.stop.clicked() return treeselection = self.treeview.get_selection() treeselection.select_path(path) self.new_title = True self.play.clicked() if data == "Prev": if self.is_playing: treeselection = self.treeview.get_selection() path = self.model_playing.get_path(self.iter_playing) if self.is_paused: self.stop.clicked() treeselection.select_path(path[0]-1) self.new_title = True self.play.clicked() # This is for adding files to the playlist using the file requester. if data == "Add Files": if self.showing_file_requester == False: if self.playername == "left": # TC: File dialog title text. filerqtext = _('Add music to left playlist') elif self.playername == "right": # TC: File dialog title text. filerqtext = _('Add music to right playlist') else: filerqtext = _('Add background music') self.filerq = gtk.FileChooserDialog(filerqtext + PM.title_extra, None, gtk.FILE_CHOOSER_ACTION_OPEN, (gtk.STOCK_CANCEL, gtk.RESPONSE_REJECT, gtk.STOCK_OK, gtk.RESPONSE_ACCEPT)) self.filerq.set_select_multiple(True) self.filerq.set_current_folder( str(self.file_requester_start_dir)) self.filerq.add_filter(self.plfilefilter_all) self.filerq.add_filter(self.plfilefilter_playlists) self.filerq.add_filter(self.plfilefilter_media) self.filerq.set_filter(self.plsave_filtertype) # TC: File filter text. frame = gtk.Frame(" %s " % _('Supported Media Formats')) box = gtk.HBox() box.set_border_width(3) frame.add(box) entry = gtk.Entry() entry.unset_flags(gtk.CAN_FOCUS) entry.set_has_frame(False) text = "*" + ", *".join(supported.media) entry.set_text(text) entry.show() box.add(entry) box.show() self.filerq.set_extra_widget(frame) self.filerq.connect("response", self.file_response) self.filerq.connect("destroy", self.file_destroy) self.filerq.show() self.showing_file_requester = True else: self.filerq.present() def file_response(self, dialog, response_id): chosenfiles = self.filerq.get_filenames() if chosenfiles: self.file_requester_start_dir.set_text( os.path.split(chosenfiles[0])[0]) self.plsave_filtertype = self.filerq.get_filter() self.filerq.destroy() if response_id != gtk.RESPONSE_ACCEPT: return gen = self.filter_allowed_controls(self.get_elements_from(chosenfiles)) for each in gen: if self.no_more_files: self.no_more_files = False break self.liststore.append(each) while gtk.events_pending(): gtk.main_iteration() def filter_allowed_controls(self, items): """Interlude playlist must not contain certain playlist controls.""" if self.playername != "interlude": for each in items: yield each return for each in items: if each[0] not in (">transfer", ">crossfade"): yield each def file_destroy(self, widget): self.showing_file_requester = False def plfile_new_savetype(self, widget): self.plsave_filetype = self.pltreeview.get_selection( ).get_selected_rows()[1][0][0] # TC: Expander text "Select File Type (.pls)" for the pls file type. self.expander.set_label(_('Select File Type') + " (" + self.playlisttype_extension[self.plsave_filetype][0] + ")") def plfile_response(self, dialog, response_id): self.plsave_filtertype = dialog.get_filter() self.plsave_open = self.expander.get_expanded() self.plsave_folder = dialog.get_current_folder() if response_id == gtk.RESPONSE_ACCEPT: chosenfile = self.plfilerq.get_filename() self.plfilerq.destroy() if response_id != gtk.RESPONSE_ACCEPT: return main, ext = os.path.splitext(chosenfile) ext = ext.lower() if self.plsave_filetype == 0: if not ext in supported.playlists: main += ext ext = ".m3u" # default to m3u playlist format else: t = self.plsave_filetype - 1 useext = supported.playlists[t] others = list(supported.playlists) del others[t] if ext != useext: if not ext in others: main += ext ext = useext chosenfile = main + ext validlist = [x for x in self.liststore if x[0][0] != ">" and x[2] >= 0] print "Chosenfile is", chosenfile try: pl = open(chosenfile, "w") except IOError: print "Can't open file for writing. Permissions problem?" else: if (ext == ".m3u"): try: pl.write("#EXTM3U\r\n") for each in validlist: pl.write("#EXTINF:%d,%s\r\n" % (each[2], each[3].decode( "UTF-8").encode("ISO8859-1", "replace"))) pl.write(each[1] + "\r\n") except IndexError: pl.close() except IOError: pl.close() print "That was odd\n" if ext == ".pls": pl.write("[playlist]\r\nNumberOfEntries=%d\r\n\r\n" % \ len(validlist)) for i in range(1, len(validlist) + 1): each = validlist[i - 1] pl.write("File%d=%s\r\n" % (i, each[1])) pl.write("Title%d=%s\r\n" % (i, each[3])) pl.write("Length%d=%d\r\n\r\n" % (i, each[2])) pl.write("Version=2\r\n") if ext == ".xspf": doc = mdom.getDOMImplementation().createDocument( 'http://xspf.org/ns/0/', 'playlist', None) playlist = doc.documentElement playlist.setAttribute('version', '1') playlist.setAttribute('xmlns', 'http://xspf.org/ns/0/') playlist.setAttribute( 'xmlns:idjc', 'http://idjc.sourceforge.net/ns/') trackList = doc.createElement('trackList') playlist.appendChild(trackList) for each in self.liststore: row = PlayerRow(*each) track = doc.createElement('track') trackList.appendChild(track) if row.rsmeta.startswith(">"): extension = doc.createElement('extension') track.appendChild(extension) extension.setAttribute( 'application', 'http://idjc.sourceforge.net/ns/') pld = doc.createElementNS( 'http://idjc.sourceforge.net/ns/', 'idjc:pld') extension.appendChild(pld) pld.setAttribute('rsmeta', row.rsmeta) pld.setAttribute('length', str(row.length)) else: location = doc.createElement('location') track.appendChild(location) locationText = doc.createTextNode( "file://" + urllib.quote(each[1])) location.appendChild(locationText) if each[6]: creator = doc.createElement('creator') track.appendChild(creator) creatorText = doc.createTextNode(each[6]) creator.appendChild(creatorText) if each[5]: title = doc.createElement('title') track.appendChild(title) titleText = doc.createTextNode(each[5]) title.appendChild(titleText) if each[9]: album = doc.createElement('album') track.appendChild(album) albumText = doc.createTextNode(each[9]) album.appendChild(albumText) duration = doc.createElement('duration') track.appendChild(duration) durationText = doc.createTextNode(str(each[2] * 1000)) duration.appendChild(durationText) xmltext = doc.toxml("UTF-8").replace("><", ">\n<").splitlines() spc = "" for i in range(len(xmltext)): if xmltext[i][1] == "/": spc = spc[2:] if len(xmltext[i]) < 3 or xmltext[i].startswith(" 0: if self.digiprogress_type == 0 or self.player_is_playing == \ False: count = int(progress.value) else: count = self.max_seek - int(progress.value) else: count = self.progress_current_figure hours = int(count / 3600) count = count - (hours * 3600) minutes = count / 60 seconds = count - (minutes * 60) if self.digiprogress_type == 0: self.digiprogress.set_text("%d:%02d:%02d" % ( hours, minutes, seconds)) else: if self.max_seek != 0: self.digiprogress.set_text(" -%02d:%02d " % ( minutes, seconds)) else: self.digiprogress.set_text(" -00:00 ") if self.handle_motion_as_drop: self.handle_motion_as_drop = False if self.player_restart() == False: self.next.clicked() else: if self.pause.get_active(): self.pause.set_active(False) def digiprogress_click(self): self.digiprogress_type = not self.digiprogress_type if not self.digiprogress_f: if self.digiprogress_type == 0: self.digiprogress.set_text("0:00:00") else: self.digiprogress.set_text(" -00:00 ") else: self.cb_progress(self.progressadj) def show_replaygain_markers(self, show): if show: self.treeview.insert_column(self.rgtvcolumn, 0) else: self.treeview.remove_column(self.rgtvcolumn) def cb_event(self, widget, event, callback_data): # Handle click to the play progress indicator if callback_data == "DigitalProgressPress": if event.button == 1: self.digiprogress_click() if event.button == 3: self.parent.app_menu.popup( None, None, None, event.button, event.time) return True if event.button == 1: # Handle click to the play progress bar if callback_data == "ProgressPress": self.progress_press = True if self.timeout_source_id: gobject.source_remove(self.timeout_source_id) elif callback_data == "ProgressRelease": self.progress_press = False if self.player_is_playing: self.progress_current_figure = self.progressadj.get_value() self.handle_motion_as_drop = True gobject.idle_add(self.player_progress_value_changed_emitter) return False @threadslock def player_progress_value_changed_emitter(self): self.progressadj.emit("value_changed") return False def cb_menu_select(self, widget, data): print "The %s was chosen from the %s menu" % (data, self.playername) def delete_event(self, widget, event, data=None): return False def get_elements_from(self, pathnames): self.no_more_files = False l = len(pathnames) if l == 1: ext = os.path.splitext(pathnames[0])[1] if ext in (".cue", ".txt"): return self.get_elements_from_cue(pathnames[0]) if ext == ".m3u": return self.get_elements_from_m3u(pathnames[0]) elif ext == ".pls": return self.get_elements_from_pls(pathnames[0]) elif ext == ".xspf": return self.get_elements_from_xspf(pathnames[0]) elif os.path.isdir(pathnames[0]): return self.get_elements_from_directory(pathnames[0], 2) return self.get_elements_from_chosen(pathnames) def get_elements_from_chosen(self, chosenfiles): for each in chosenfiles: meta = self.get_media_metadata(each) if meta: yield meta def get_elements_from_cue(self, filename): cuesheet_entry = self.make_cuesheet_playlist_entry(filename) pathnames = list(x.pathname for x in cuesheet_entry.cuesheet if x.index == 1) # Multi file cue sheet adds as content files. if len(set(pathnames)) > 1: for each in pathnames: meta = self.get_media_metadata(each) if meta: yield meta else: if any(pathnames): yield cuesheet_entry def get_elements_from_directory(self, chosendir, depth=1, visited=None): depth -= 1 if visited is None: visited = set() chosendir = os.path.realpath(chosendir) if chosendir in visited or not os.path.isdir(chosendir): return else: visited.add(chosendir) directories = set() print chosendir files = os.listdir(chosendir) files.sort() for filename in files: pathname = "/".join((chosendir, filename)) if os.path.isdir(pathname): #if os.path.realpath(pathname) == pathname: if not filename.startswith("."): directories.add(filename) else: meta = self.get_media_metadata(pathname) if meta: yield meta if depth: for subdir in directories: print "examining", "/".join((chosendir, subdir)) gen = self.get_elements_from_directory("/".join( (chosendir, subdir)), depth, visited) for meta in gen: yield meta def get_elements_from_m3u(self, filename): try: file = open(filename, "r") data = file.read().strip() file.close() except IOError: print "Problem reading file", filename return basepath = os.path.split(filename)[0] + "/" data = data.splitlines() for line, each in enumerate(data): if each[0] == "#": continue if each[0] != "/": each = basepath + each # handle special case of a single element referring to a directory if line == 0 and len(data) == 1 and os.path.isdir(each): gen = self.get_elements_from_directory(each) for meta in gen: yield meta return meta = self.get_media_metadata(each) if meta: yield meta line += 1 def get_elements_from_pls(self, filename): import ConfigParser cfg = ConfigParser.RawConfigParser() try: cfg.readfp(open(filename)) except IOError: print "Problem reading file" return if cfg.sections() != ['playlist']: print "wrong number of sections in pls file" return if cfg.getint('playlist', 'Version') != 2: print "can handle version 2 pls playlists only" return try: n = cfg.getint('playlist', 'NumberOfEntries') except ConfigParser.NoOptionError: print "NumberOfEntries is missing from playlist" return except ValueError: print "NumberOfEntries is not an int" for i in range(1, n + 1): try: path = cfg.get('playlist', 'File%d' % i) except: print "Problem getting file path from playlist" else: if os.path.isfile(path): meta = self.get_media_metadata(path) if meta: yield meta def get_elements_from_xspf(self, filename): class BadXspf(ValueError): pass class GotLocation(Exception): pass try: baseurl = [] try: dom = mdom.parse(filename) except: raise BadXspf if dom.hasChildNodes() and len(dom.childNodes) == 1 and \ dom.documentElement.nodeName == u'playlist': playlist = dom.documentElement else: raise BadXspf if playlist.namespaceURI != u"http://xspf.org/ns/0/": raise BadXspf try: v = int(playlist.getAttribute('version')) except: raise BadXspf if v < 0 or v > 1: print "only xspf playlist versions 0 and 1 supported" raise BadXspf del v # obtain base URLs for relative URLs encountered in trackList # only one location tag is allowed locations = [x for x in playlist.childNodes if x.nodeName == u"location"] if len(locations) == 1: url = locations[0].childNodes[0].wholeText if url.startswith(u"file:///"): baseurl.append(url) elif locations: raise BadXspf def append_baseurl(fname): baseurl.append(u"file://" + urllib.quote(os.path.split( fname)[0].decode("ASCII") + u"/")) for each in (os.path.realpath(filename), filename): append_baseurl(each) if baseurl[-1] == baseurl[-2]: del baseurl[-1] trackLists = playlist.getElementsByTagName('trackList') if len(trackLists) != 1: raise BadXspf trackList = trackLists[0] if trackList.parentNode != playlist: raise BadXspf tracks = trackList.getElementsByTagName('track') for track in tracks: if track.parentNode != trackList: raise BadXspf locations = track.getElementsByTagName('location') try: for location in locations: for base in baseurl: url = urllib.unquote(urllib.basejoin(base, location.firstChild.wholeText).encode("ASCII")) meta = self.get_media_metadata(url) if meta: yield meta raise GotLocation # Support namespaced pld tag for literal playlist data. # This is only used for data such as playlist controls. extensions = track.getElementsByTagName('extension') for extension in extensions: if extension.getAttribute("application") == \ "http://idjc.sourceforge.net/ns/": customtags = extension.getElementsByTagNameNS( "http://idjc.sourceforge.net/ns/", "pld") for tag in customtags: try: literal_entry = NOTVALID._replace(**dict(( k, type(getattr(NOTVALID, k))( tag.attributes.get(k).nodeValue)) for k in tag.attributes.keys())) except Exception, e: print e pass else: yield literal_entry raise GotLocation except GotLocation: pass return except BadXspf: print "could not parse playlist", filename return def drag_data_delete(self, treeview, context): if context.action == gtk.gdk.ACTION_MOVE: treeselection = treeview.get_selection() model, iter = treeselection.get_selected() data = model.get_value(iter, 0) if data[:3] == "": self.iter_playing = 0 self.stop.clicked() def drag_data_get_data(self, treeview, context, selection, target_id, etime): treeselection = treeview.get_selection() model, iter = treeselection.get_selected() if model.get_value(iter, 1) != "": data = "file://" + model.get_value(iter, 1) else: data = "idjcplayercontrol://" + "+".join( str(model.get_value(iter, x)) for x in (0, 2, 3, 4)) print "data for drag_get =", data selection.set(selection.target, 8, data) self.reselect_please = True return True def drag_data_received_data(self, treeview, context, x, y, dragged, info, etime): if info != 0: text = str(dragged.data) if text[:20] == "idjcplayercontrol://": newrow = NOTVALID._replace(**dict(zip( "rsmeta length meta encoding".split(), (x[0](x[1]) for x in zip((str, int, str, str), text[20:].split("+")))))) drop_info = treeview.get_dest_row_at_pos(x, y) model = treeview.get_model() if drop_info == None: model.append(newrow) else: path, position = drop_info dest_iter = model.get_iter(path) if(position == gtk.TREE_VIEW_DROP_BEFORE or position == \ gtk.TREE_VIEW_DROP_INTO_OR_BEFORE): model.insert_before(dest_iter, newrow) else: model.insert_after(dest_iter, newrow) if context.action == gtk.gdk.ACTION_MOVE: context.finish(True, True, etime) else: if context.action == gtk.gdk.ACTION_MOVE: context.finish(True, True, etime) gobject.idle_add(self.drag_data_received_data_idle, treeview, x, y, text) else: treeselection = treeview.get_selection() model, iter = treeselection.get_selected() drop_info = treeview.get_dest_row_at_pos(x, y) if drop_info == None: self.liststore.move_before(iter, None) else: path, position = drop_info dest_iter = model.get_iter(path) if(position == gtk.TREE_VIEW_DROP_BEFORE or position == \ gtk.TREE_VIEW_DROP_INTO_OR_BEFORE): self.liststore.move_before(iter, dest_iter) else: self.liststore.move_after(iter, dest_iter) if context.action == gtk.gdk.ACTION_MOVE: context.finish(False, False, etime) return True def drag_data_received_data_idle(self, treeview, x, y, dragged): gtk.gdk.threads_enter() model = treeview.get_model() gtk.gdk.threads_leave() pathnames = [urllib.unquote(t[7:]) for t in dragged.strip().splitlines( ) if t.startswith("file://")] gen = self.get_elements_from(pathnames) first = True for media_data in gen: if self.no_more_files: self.no_more_files = False break if first: gtk.gdk.threads_enter() drop_info = treeview.get_dest_row_at_pos(x, y) gtk.gdk.threads_leave() if drop_info: path, position = drop_info gtk.gdk.threads_enter() iter = model.get_iter(path) gtk.gdk.threads_leave() if(position == gtk.TREE_VIEW_DROP_BEFORE or position == \ gtk.TREE_VIEW_DROP_INTO_OR_BEFORE): gtk.gdk.threads_enter() iter = model.insert_before(iter, media_data) gtk.gdk.threads_leave() else: gtk.gdk.threads_enter() iter = model.insert_after(iter, media_data) gtk.gdk.threads_leave() else: gtk.gdk.threads_enter() iter = model.append(media_data) gtk.gdk.threads_leave() first = False else: gtk.gdk.threads_enter() iter = model.insert_after(iter, media_data) gtk.gdk.threads_leave() gtk.gdk.threads_enter() while gtk.events_pending(): gtk.gdk.threads_leave() gtk.gdk.threads_enter() gtk.main_iteration() gtk.gdk.threads_leave() gtk.gdk.threads_enter() gtk.gdk.threads_leave() self.reselect_please = True return False sourcetargets = [ ('MY_TREE_MODEL_ROW', gtk.TARGET_SAME_WIDGET, 0), ('text/plain', 0, 1), ('TEXT', 0, 2), ('STRING', 0, 3), ] droptargets = [ ('MY_TREE_MODEL_ROW', gtk.TARGET_SAME_WIDGET, 0), ('text/plain', 0, 1), ('TEXT', 0, 2), ('STRING', 0, 3), ('text/uri-list', 0, 4) ] def _cb_cuesheet_item(self, widget, cue_model, cue_path): treeselection = self.treeview.get_selection() (model, iter) = treeselection.get_selected() if self.is_playing: self.stop.clicked() self.max_seek = model.get_value(iter, 2) self.progressadj.set_upper(self.max_seek) self.progressadj.set_value(cue_model[cue_path].offset // 75 + 1) self.play.clicked() def cb_doubleclick(self, treeview, path, tvcolumn, user_data): if self.is_playing: self.new_title = True self.play.clicked() else: self.play.clicked() def cb_selection_changed(self, treeselection): self.cuesheet_playlist.hide() self.cuesheet_playlist.treeview.set_model(None) model, iter = treeselection.get_selected() if iter: row = PlayerRow._make(self.liststore[model.get_path(iter)[0]]) if row.cuesheet: self.cuesheet_playlist.treeview.set_model(row.cuesheet) self.cuesheet_playlist.show() self.update_time_stats() def cb_playlist_changed(self, treemodel, path, iter = None): self.playlist_changed = True # used by the request system def menu_activate(self, widget, event): if event.type == gtk.gdk.BUTTON_PRESS and event.button == 3: self.menu_model = self.treeview.get_model() row_info = self.treeview.get_dest_row_at_pos(int(event.x + 0.5), int(event.y + 0.5)) if row_info: sens = True path, position = row_info selection = self.treeview.get_selection() selection.select_path(path) self.menu_iter = self.menu_model.get_iter(path) pathname = self.menu_model.get_value(self.menu_iter, 1) self.item_tag.set_sensitive( MutagenGUI.is_supported(pathname) != False) else: pathname = "" self.menu_iter = None sens = False self.item_duplicate.set_sensitive(sens) self.remove_this.set_sensitive(sens) self.remove_from_here.set_sensitive(sens) self.remove_to_here.set_sensitive(sens) model = self.treeview.get_model() if model.get_iter_first() == None: sens2 = False else: sens2 = True self.pl_menu_item.set_sensitive(sens2) self.playlist_save.set_sensitive(sens2) self.playlist_empty.set_sensitive(sens2) if self.pl_mode.get_active() != 0: self.pl_menu_control.set_sensitive(False) else: self.pl_menu_control.set_sensitive(True) if self.playername == "interlude": sens3 = False sens4 = False else: sens4 = True if self.playername == "left": tv = self.parent.player_right.treeview.get_selection() elif self.playername == "right": tv = self.parent.player_left.treeview.get_selection() model, iter = tv.get_selected() sens3 = True if iter else False self.copy_append_cursor.set_sensitive(sens3) self.copy_prepend_cursor.set_sensitive(sens3) self.transfer_append_cursor.set_sensitive(sens3) self.transfer_prepend_cursor.set_sensitive(sens3) self.playlist_copy.set_visible(sens2 and sens4) self.playlist_transfer.set_visible(sens2 and sens4) widget.popup(None, None, None, event.button, event.time) return True return False def cb_plexpander(self, widget, param_spec): if widget.get_expanded(): self.plframe.show() else: self.plframe.hide() def menuitem_response(self, widget, text): print "The %s menu option was chosen" % text model = self.menu_model iter = self.menu_iter if text == "Announcement Control" and iter is not None and \ model.get_value(iter, 0) == ">announcement": # modify existing announcement dialog dia = AnnouncementDialog(self, model, iter, "delete_modify") dia.show() return dict = { "Stop Control" : ">stopplayer", "Stop Control 2" : ">stopplayer2", "Transfer Control" : ">transfer", "Crossfade Control" : ">crossfade", "Stream Disconnect Control" : ">stopstreaming", "Stop Recording Control" : ">stoprecording", "Normal Speed Control" : ">normalspeed", "Announcement Control" : ">announcement", "Fade 10" : ">fade10", "Fade 5" : ">fade5", "Fade none" : ">fadenone", "Jump To Top Control" : ">jumptotop", } if dict.has_key(text) and self.pl_mode.get_active() == 0: for ctl in self.filter_allowed_controls(((dict[text], ), )): if iter is not None: iter = model.insert_after(iter) else: iter = model.append() model.set_value(iter, 0, ctl[0]) model.set_value(iter, 1, "") model.set_value(iter, 2, -11) model.set_value(iter, 3, "") model.set_value(iter, 4, "") model.set_value(iter, 5, "") model.set_value(iter, 6, "") self.treeview.get_selection().select_iter(iter) if text == "Announcement Control": # brand new announcement dialog dia = AnnouncementDialog(self, model, iter, "initial") dia.show() return if text == "MetaTag": try: pathname = model.get_value(iter, 1) except TypeError: pass else: MutagenGUI(pathname, model.get_value(iter, 4) , self.parent) if text == "Add File": self.add.clicked() if text == "Playlist Save": if self.showing_pl_save_requester == False: if self.playername == "left": filerqtext = _('Save left playlist') elif self.playername == "right": filerqtext = _('Save right playlist') else: filerqtext = _('Save background playlist') vbox = gtk.VBox() self.expander = gtk.Expander() self.expander.connect("notify::expanded", self.cb_plexpander) vbox.add(self.expander) self.expander.show() self.plframe = gtk.Frame() self.plliststore = gtk.ListStore(str, str) for row in self.playlisttype_extension: self.plliststore.append(row) self.pltreeview = gtk.TreeView(self.plliststore) self.plframe.add(self.pltreeview) self.pltreeview.show() self.pltreeview.set_rules_hint(True) cellrenderer1 = gtk.CellRendererText() self.pltreeviewcol1 = gtk.TreeViewColumn( _('File Type'), cellrenderer1, text = 0) self.pltreeviewcol1.set_expand(True) cellrenderer2 = gtk.CellRendererText() # TC: File extension. self.pltreeviewcol2 = gtk.TreeViewColumn( _('Extension'), cellrenderer2, text = 1) self.pltreeview.append_column(self.pltreeviewcol1) self.pltreeview.append_column(self.pltreeviewcol2) self.pltreeview.connect( "cursor-changed", self.plfile_new_savetype) self.pltreeview.set_cursor(self.plsave_filetype) if (self.plsave_open): self.expander.set_expanded(True) vbox.add(self.plframe) self.plfilerq = gtk.FileChooserDialog(filerqtext + PM.title_extra, None, gtk.FILE_CHOOSER_ACTION_SAVE, (gtk.STOCK_CANCEL, gtk.RESPONSE_REJECT, gtk.STOCK_OK, gtk.RESPONSE_ACCEPT)) self.plfilerq.set_current_folder(self.home) self.plfilerq.add_filter(self.plfilefilter_all) self.plfilerq.add_filter(self.plfilefilter_playlists) self.plfilerq.set_filter(self.plsave_filtertype) self.plfilerq.set_extra_widget(vbox) if self.plsave_folder is not None: self.plfilerq.set_current_folder(self.plsave_folder) if self.plsave_filetype == 0: self.plfilerq.set_current_name("idjcplaylist.m3u") else: self.plfilerq.set_current_name("idjcplaylist") self.plfilerq.connect("response", self.plfile_response) self.plfilerq.connect("destroy", self.plfile_destroy) self.plfilerq.show() self.showing_pl_save_requester = True else: self.plfilerq.present() if text == "Remove All": if self.is_playing: self.stop.clicked() self.no_more_files = True self.liststore.clear() if text == "Remove This" and iter != None: name = model.get_value(iter, 0) if name[:3] == "": self.stop.clicked() self.liststore.remove(iter) if text == "Remove From Here" and iter != None: path = model.get_path(iter) try: while 1: iter = model.get_iter(path) if model.get_value(iter, 0)[:3] == "": self.stop.clicked() self.no_more_files = True self.liststore.remove(iter) except: print "Nothing more to delete" if text == "Remove To Here" and iter != None: self.no_more_files = True path = model.get_path(iter)[0] -1 while path >= 0: iter = model.get_iter(path) if model.get_value(iter, 0)[:3] == "": self.stop.clicked() self.liststore.remove(iter) path = path -1 if text == "Duplicate" and iter != None: pathname, cuesheet = model.get(iter, 1, 8) if cuesheet is not None: row = self.make_cuesheet_playlist_entry(pathname) else: row = list(model[model.get_path(iter)]) if row[0][:3] == "": # strip off any bold tags row[0] = row[0][3:-4] model.insert_after(iter, row) if text == "Playlist Exchange": assert(self.playername != "interlude") self.no_more_files = True if self.playername == "left": opposite = self.parent.player_right elif self.playername == "right": opposite = self.parent.player_left self.stop.clicked() opposite.stop.clicked() i = 0 try: while 1: self.templist.append(self.liststore[i]) i = i + 1 except IndexError: pass self.liststore.clear() i = 0 try: while 1: self.liststore.append(opposite.liststore[i]) i = i + 1 except IndexError: pass opposite.liststore.clear() i = 0 try: while 1: opposite.liststore.append(self.templist[i]) i = i + 1 except IndexError: pass self.templist.clear() if text == "Copy Append": self.copy_playlist("end") if text == "Transfer Append": self.copy_playlist("end") self.stop.clicked() self.liststore.clear() if text == "Copy Prepend": self.copy_playlist("start") if text == "Transfer Prepend": self.copy_playlist("start") self.stop.clicked() self.liststore.clear() if text == "Copy Append Cursor": self.copy_playlist("after") if text == "Transfer Append Cursor": self.copy_playlist("after") self.stop.clicked() self.liststore.clear() if text == "Copy Prepend Cursor": self.copy_playlist("before") if text == "Transfer Prepend Cursor": self.copy_playlist("before") self.stop.clicked() self.liststore.clear() if self.player_is_playing: self.reselect_please = True # Cursor placement on current track. def stripbold(self, playlist_item): copy = list(playlist_item) if copy[0][:3] == "": copy[0] = copy[0][3:-4] return copy def copy_playlist(self, dest): assert(self.playername != "interlude") if self.playername == "left": other = self.parent.player_right elif self.playername == "right": other = self.parent.player_left i = 0 try: if dest == "start": while 1: other.liststore.insert(i, self.stripbold(self.liststore[i])) i = i + 1 if dest == "end": while 1: other.liststore.append(self.stripbold(self.liststore[i])) i = i + 1 (model, iter) = other.treeview.get_selection().get_selected() if dest == "after": while 1: iter = other.liststore.insert_after( iter, self.stripbold(self.liststore[i])) i = i + 1 if dest == "before": while 1: other.liststore.insert_before( iter, self.stripbold(self.liststore[i])) i = i + 1 except IndexError: pass def cb_keypress(self, widget, event): # Handle shifted arrow keys for rearranging stuff in the playlist. if event.state & gtk.gdk.SHIFT_MASK: if event.keyval == 65362: self.arrow_up() return True if event.keyval == 65364: self.arrow_down() return True if event.keyval == 65361 and self.playername == "right": treeselection = widget.get_selection() s_model, s_iter = treeselection.get_selected() if s_iter is not None: name = s_model.get_value(s_iter, 0) if name[:3] == "": self.stop.clicked() otherselection = \ self.parent.player_left.treeview.get_selection() d_model, d_iter = otherselection.get_selected() row = list(s_model[s_model.get_path(s_iter)]) path = s_model.get_path(s_iter) s_model.remove(s_iter) treeselection.select_path(path) if d_iter is None: d_iter = d_model.append(row) else: d_iter = d_model.insert_after(d_iter, row) otherselection.select_iter(d_iter) self.parent.player_left.treeview.set_cursor( d_model.get_path(d_iter)) self.parent.player_left.treeview.scroll_to_cell( d_model.get_path(d_iter), None, False) return True if event.keyval == 65363 and self.playername == "left": treeselection = widget.get_selection() s_model, s_iter = treeselection.get_selected() if s_iter is not None: name = s_model.get_value(s_iter, 0) if name[:3] == "": self.stop.clicked() otherselection = \ self.parent.player_right.treeview.get_selection() d_model, d_iter = otherselection.get_selected() row = list(s_model[s_model.get_path(s_iter)]) path = s_model.get_path(s_iter) s_model.remove(s_iter) treeselection.select_path(path) if d_iter is None: d_iter = d_model.append(row) else: d_iter = d_model.insert_after(d_iter, row) otherselection.select_iter(d_iter) self.parent.player_right.treeview.set_cursor( d_model.get_path(d_iter)) self.parent.player_right.treeview.scroll_to_cell( d_model.get_path(d_iter), None, False) return True if event.keyval == 65361 and self.playername == "right": treeselection = self.parent.player_left.treeview.get_selection() model, iter = treeselection.get_selected() if iter is not None: self.parent.player_left.treeview.set_cursor( model.get_path(iter)) else: treeselection.select_path(0) self.parent.player_left.treeview.grab_focus() return True if event.keyval == 65363 and self.playername == "left": treeselection = self.parent.player_right.treeview.get_selection() model, iter = treeselection.get_selected() if iter is not None: self.parent.player_right.treeview.set_cursor( model.get_path(iter)) else: treeselection.select_path(0) self.parent.player_right.treeview.grab_focus() return True # Handle delete key press. if event.keyval == 65535 or event.keyval == 65439: # Remove entry on the playlist under the cursor. treeselection = widget.get_selection() model, iter = treeselection.get_selected() if iter is not None: path = model.get_path(iter) if path[0] > 0: prev = model.get_iter(path[0]-1) else: prev = None try: next = model.get_iter(path[0]+1) except: next = None name = model.get_value(iter, 0) if name[:3] == "": self.stop.clicked() self.liststore.remove(iter) if next is not None: treeselection.select_iter(next) widget.set_cursor(model.get_path(next)) self.treeview.scroll_to_cell( model.get_path(next), None, False) elif prev is not None: treeselection.select_iter(prev) widget.set_cursor(model.get_path(prev)) self.treeview.scroll_to_cell( model.get_path(prev), None, False) else: print "Playlist is empty!" return True if event.string =="\r": self.stop.clicked() self.play.clicked() return True if event.string == "": return False return True def rgrowconfig(self, tv_column, cell_renderer, model, iter): if self.exiting: return self.rowconfig(tv_column, cell_renderer, model, iter) if model.get_value(iter, 0)[0] == ">": cell_renderer.set_property("text", " ") else: if model.get_value(iter, 7) == RGDEF: # Red triangle. cell_renderer.set_property("markup", '') else: # Small green bullet point. cell_renderer.set_property("markup", '') def playtimerowconfig(self, tv_column, cell_renderer, model, iter): if self.exiting: return playtime = model.get_value(iter, 2) self.rowconfig(tv_column, cell_renderer, model, iter) cell_renderer.set_property("xalign", 1.0) if playtime == -11: if model.get_value(iter, 0) == ">announcement": length = model.get_value(iter, 3)[2:6] if not length: length = "0000" if length == "0000": cell_renderer.set_property("text", "") else: if length[0] == "0": length = " " + length[1] + ":" + length[2:] else: length = length[:2] + ":" + length[2:] cell_renderer.set_property("text", length) else: cell_renderer.set_property("text", "") elif playtime == 0: cell_renderer.set_property("text", "? : ??") else: secs = playtime % 60 playtime -= secs mins = playtime / 60 text = "%d:%02d" % (mins, secs) cell_renderer.set_property("text", text) # Class variable for use by rowconfig. control_cell_properties = { ">fade10": (("cell-background", "dark red"), ("background", "gray"), ("foreground", "dark red"), # TC: Playlist control. ("text", _('Fade 10s'))), ">fade5": (("cell-background", "dark red"), ("background", "gray"), ("foreground", "dark red"), # TC: Playlist control. ("text", _('Fade 5s'))), ">fadenone": (("cell-background", "dark red"), ("background", "gray"), ("foreground", "dark red"), # TC: Playlist control. ("text", _('No Fade'))), ">announcement": (("cell-background", "dark blue"), ("background", "gray"), ("foreground", "dark blue"), # TC: Playlist control. ("text", _('Announcement'))), ">normalspeed": (("cell-background", "dark green"), ("background", "gray"), ("foreground", "dark green"), # TC: Playlist control. ("text", _('>> Normal Speed <<'))), ">stopplayer": (("cell-background", "red"), ("background", "gray"), ("foreground", "red"), # TC: Playlist control. ("text", _('Player stop'))), ">stopplayer2": (("cell-background", "red"), ("background", "gray"), ("foreground", "red"), # TC: Playlist control. ("text", _('Player stop 2'))), ">jumptotop": (("cell-background", "dark magenta"), ("background", "gray"), ("foreground", "dark magenta"), # TC: Playlist control. ("text", _('Jump To Top'))), ">stopstreaming": (("cell-background", "black"), ("background", "gray"), ("foreground", "black"), # TC: Playlist control. ("text", _('Stop streaming'))), ">stoprecording": (("cell-background", "black"), ("background", "gray"), ("foreground", "black"), # TC: Playlist control. ("text", _('Stop recording'))), ">transfer": (("cell-background", "magenta"), ("background", "gray"), ("foreground", "magenta")), ">crossfade": (("cell-background", "blue"), ("background", "gray"), ("foreground", "blue")) } def rowconfig(self, tv_column, cell_renderer, model, iter): if self.exiting: return crprop = cell_renderer.set_property celltext = model.get_value(iter, 0) if celltext[:4] == ">": celltext = celltext[3:-4] if celltext[0] == ">": crprop("xalign", 0.45) crprop("ypad", 0) crprop("scale", 0.75) crprop("cell-background-set", True) crprop("background-set", True) crprop("foreground-set", True) if self.pl_mode.get_active() == 0: try: properties = self.control_cell_properties[celltext] except KeyError: pass else: for name, value in properties: crprop(name, value) if celltext == ">transfer": if self.playername == "left": # TC: Playlist control. crprop("text", _('>>> Transfer across >>>')) elif self.playername == "right": # TC: Playlist control. crprop("text", _('<<< Transfer across <<<')) if celltext == ">crossfade": if self.playername == "left": # TC: Playlist control. crprop("text", _('>>> Fade across >>>')) elif self.playername == "right": # TC: Playlist control. crprop("text", _('<<< Fade across <<<')) else: crprop("cell-background", "darkgray") crprop("background", "darkgray") crprop("foreground", "white") # TC: Playlist control. crprop("markup", "%s" % _("Ignored playlist control")) else: crprop("foreground-set", False) crprop("cell-background-set", False) crprop("background-set", False) crprop("scale", 1.0) crprop("xalign", 0.0) crprop("ypad", 2) def cb_playlist_delay(self, widget): print "inter track fade was changed" def cb_playlist_mode(self, widget): self.pl_delay.set_sensitive(self.pl_mode.get_active() in (0, 1, 2, 5)) if widget.get_active() == 0: self.update_time_stats() self.pl_statusbar.show() else: self.pl_statusbar.hide() if widget.get_active() == 5: self.external_pl.show() else: self.external_pl.hide() def popupwindow_populate(self, window, parentwidget, parent_x, parent_y): frame = gtk.Frame() frame.set_shadow_type(gtk.SHADOW_OUT) window.add(frame) frame.show() hbox = gtk.HBox() hbox.set_border_width(10) hbox.set_spacing(5) frame.add(hbox) image = gtk.Image() image.set_from_file(FGlobs.pkgdatadir / "icon.png") hbox.add(image) image.show() separator = gtk.VSeparator() hbox.add(separator) separator.show() vbox = gtk.VBox() vbox.set_spacing(3) hbox.add(vbox) vbox.show() hbox.show() trackscount = 0 tracknum = 0 if self.artist and self.title and self.album: tracktitle = "%s - %s" % (self.cuesheet_track_performer or self.artist, self.cuesheet_track_title or self.title) else: tracktitle = self.songname duration = 0 for each in self.liststore: if each[2] > 0: trackscount += 1 duration += each[2] if each[0][:3] == "": tracknum = trackscount if each[0] == ">announcement": duration += int(each[3][2:4]) * 60 + int(each[3][4:6]) if trackscount: duration, seconds = divmod(duration, 60) hours, minutes = divmod(duration, 60) hms = hours and "%d:%02d:%02d" % (hours, minutes, seconds ) or "%d:%02d" % (minutes, seconds) if tracknum: label1 = gtk.Label(_('Playing track {0} of {1}').format( tracknum, trackscount)) vbox.add(label1) label1.show() if self.album: blank = gtk.Label("") vbox.add(blank) blank.show() label2 = gtk.Label(tracktitle) vbox.add(label2) label2.show() if self.album: # TC: Previous line: Playing track {0} of {1} label3 = gtk.Label(_('From the album, %s') % self.album) vbox.add(label3) label3.show() blank = gtk.Label("") vbox.add(blank) blank.show() else: label3 = gtk.Label(_('Total number of tracks %d') % trackscount) vbox.add(label3) label3.show() try: label4 = gtk.Label(_('Total play duration %s') % hms) except: label4 = gtk.Label(_('Total play duration %s')) vbox.add(label4) label4.show() else: return -1 def popupwindow_inhibit(self): """Block popup window if the menu is displayed.""" return self.pl_menu.flags() & gtk.MAPPED def pbspeedbar_format(self, scale, value): return "%.1f%%" % (2.0 ** ((value - 64.0) / 32.0) * 100.0) def cb_pbspeed(self, widget, data=None): self.pbspeedfactor = 2.0 ** ((widget.get_value() - 64.0) / 32.0) self.parent.send_new_mixer_stats() def __init__(self, pbox, name, parent): self.parent = parent if pbox == None and name == None: return self.playername = name self.exiting = False # A box for the Stop/Start/Pause widgets self.hbox1 = gtk.HBox(True, 0) self.hbox1.set_border_width(2) self.hbox1.set_spacing(3) frame = gtk.Frame() frame.set_border_width(3) frame.set_shadow_type(gtk.SHADOW_IN) frame.add(self.hbox1) frame.show() pbox.pack_start(frame, False, False, 0) # A box for the progress bar and elapsed timer. self.progressbox = gtk.HBox(False, 0) self.progressbox.set_border_width(3) self.progressbox.set_spacing(4) pbox.pack_start(self.progressbox, False, False, 0) # The numerical play progress box self.digiprogress = gtk.Entry() self.digiprogress.set_text("0:00:00") self.digiprogress.set_width_chars(6) self.digiprogress.set_editable(False) self.digiprogress.connect("button_press_event", self.cb_event, "DigitalProgressPress") self.progressbox.pack_start(self.digiprogress, False, False, 1) self.digiprogress.show() set_tip(self.digiprogress, _('Left click toggles between showing the ' 'amount of time elapsed or remaining on ' 'the current track being played.')) # The play progress and seek bar self.progressadj = gtk.Adjustment(0.0, 0.0, 100.0, 0.1, 1.0, 0.0) self.progressadj.connect("value_changed", self.cb_progress) self.progressbar = gtk.HScale(self.progressadj) self.progressbar.set_update_policy(gtk.UPDATE_CONTINUOUS) self.progressbar.set_digits(1) self.progressbar.set_value_pos(gtk.POS_TOP) self.progressbar.set_draw_value(False) self.progressbar.connect("button_press_event", self.cb_event, "ProgressPress") self.progressbar.connect("button_release_event", self.cb_event, "ProgressRelease") self.progressbox.pack_start(self.progressbar, True, True, 0) self.progressbar.show() set_tip(self.progressbar, _('This slider acts as both a play progress ' 'indicator and as a means for seeking' ' within the currently playing track.')) # Finished filling the progress box so lets show it. self.progressbox.show() # A frame for our playlist plframe = gtk.Frame(" %s " % dict(left=_('Playlist 1'), right=_('Playlist 2'), interlude=('Playlist 3'))[name]) plframe.set_border_width(4) plframe.set_shadow_type(gtk.SHADOW_ETCHED_IN) plframe.show() plvbox = gtk.VBox() plframe.add(plvbox) plvbox.show() # The scrollable window box that will contain our playlist. self.scrolllist = gtk.ScrolledWindow() self.scrolllist.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_ALWAYS) self.scrolllist.set_size_request(-1, 117) self.scrolllist.set_border_width(4) self.scrolllist.set_shadow_type(gtk.SHADOW_IN) # A liststore object for our playlist self.liststore = gtk.ListStore(str, str, int, str, str, str, str, str, CueSheetListStore, str, str) self.templist = gtk.ListStore(str, str, int, str, str, str, str, str, CueSheetListStore, str, str) self.treeview = gtk.TreeView(self.liststore) self.rgcellrender = gtk.CellRendererText() self.playtimecellrender = gtk.CellRendererText() self.cellrender = gtk.CellRendererText() self.cellrender.set_property("ellipsize", pango.ELLIPSIZE_END) self.rgtvcolumn = gtk.TreeViewColumn("", self.rgcellrender) self.playtimetvcolumn = gtk.TreeViewColumn( "Time", self.playtimecellrender) self.tvcolumn = gtk.TreeViewColumn( "Playlist", self.cellrender, markup=0) self.rgtvcolumn.set_cell_data_func(self.rgcellrender, self.rgrowconfig) self.playtimetvcolumn.set_cell_data_func( self.playtimecellrender, self.playtimerowconfig) self.tvcolumn.set_cell_data_func(self.cellrender, self.rowconfig) self.playtimetvcolumn.set_sizing(gtk.TREE_VIEW_COLUMN_AUTOSIZE) self.tvcolumn.set_sizing(gtk.TREE_VIEW_COLUMN_FIXED) self.tvcolumn.set_expand(True) self.treeview.append_column(self.tvcolumn) self.treeview.append_column(self.playtimetvcolumn) self.treeview.set_search_column(0) self.treeview.set_headers_visible(False) self.treeview.set_enable_search(False) self.treeview.enable_model_drag_source( gtk.gdk.BUTTON1_MASK, self.sourcetargets, gtk.gdk.ACTION_DEFAULT | gtk.gdk.ACTION_MOVE) self.treeview.enable_model_drag_dest( self.droptargets, gtk.gdk.ACTION_DEFAULT) self.treeview.connect("drag_data_get", self.drag_data_get_data) self.treeview.connect("drag_data_received", self.drag_data_received_data) self.treeview.connect("drag_data_delete", self.drag_data_delete) self.treeview.connect("row_activated", self.cb_doubleclick, "Double click") self.treeview.get_selection().connect( "changed", self.cb_selection_changed) self.treeview.connect("key_press_event", self.cb_keypress) self.liststore.connect("row-inserted", self.cb_playlist_changed) self.liststore.connect("row-deleted", self.cb_playlist_changed) self.scrolllist.add(self.treeview) self.treeview.show() plvbox.pack_start(self.scrolllist, True, True, 0) self.scrolllist.show() # Cue sheet playlist controls. self.cuesheet_playlist = CuesheetPlaylist() self.cuesheet_playlist.connect("playitem", self._cb_cuesheet_item) plvbox.pack_start(self.cuesheet_playlist) # External playlist control unit self.external_pl = ExternalPL(self) plvbox.pack_start(self.external_pl, False, False, 0) # File filters for file dialogs self.plfilefilter_all = gtk.FileFilter() # TC: File filter text. self.plfilefilter_all.set_name(_('All file types')) self.plfilefilter_all.add_pattern("*") self.plfilefilter_playlists = gtk.FileFilter() # TC: File filter text. self.plfilefilter_playlists.set_name( _('Playlist types (*.m3u, *.xspf, *.pls)')) self.plfilefilter_playlists.add_mime_type("audio/x-mpegurl") self.plfilefilter_playlists.add_mime_type("application/xspf+xml") self.plfilefilter_playlists.add_mime_type("audio/x-scpls") self.plfilefilter_media = gtk.FileFilter() self.plfilefilter_media.set_name(_('Supported media')) for each in supported.media: self.plfilefilter_media.add_pattern("*" + each) self.plfilefilter_media.add_pattern("*" + each.upper()) # An information display for playlist stats self.pl_statusbar = gtk.Statusbar() self.pl_statusbar.set_has_resize_grip(False) plvbox.pack_start(self.pl_statusbar, False, False, 0) self.pl_statusbar.show() set_tip(self.pl_statusbar, _("'Block size' indicates the amount of time" " that it will take to play from the currently selected track to the " "next stop.\n'Remaining' is the amount of time until the next stop." "\n'Finish' Is the computed time when the tracks will have finished" " playing.")) pbox.pack_start(plframe, True, True, 0) # A box for the playback speed controls self.pbspeedbox = gtk.HBox(False, 0) self.pbspeedbox.set_border_width(3) self.pbspeedbox.set_spacing(3) pbox.pack_start(self.pbspeedbox, False, False, 0) # The playback speed control self.pbspeedadj = gtk.Adjustment(64.0, 0.0, 127.0, 0.1, 0.0, 0.0) self.pbspeedadj.connect("value_changed", self.cb_pbspeed) self.pbspeedbar = gtk.HScale(self.pbspeedadj) self.pbspeedbar.set_update_policy(gtk.UPDATE_CONTINUOUS) self.pbspeedbar.connect("format-value", self.pbspeedbar_format) self.pbspeedbox.pack_start(self.pbspeedbar, True, True, 0) self.pbspeedbar.show() set_tip(self.pbspeedbar, _('This adjusts the playback speed anywhere from 25% to 400%.')) self.pbspeedzerobutton = gtk.Button() self.pbspeedzerobutton.connect("clicked", self.callback, "pbspeedzero") pixbuf = gtk.gdk.pixbuf_new_from_file( FGlobs.pkgdatadir / "speedicon.png") pixbuf = pixbuf.scale_simple(55, 14, gtk.gdk.INTERP_BILINEAR) image = gtk.Image() image.set_from_pixbuf(pixbuf) image.show() self.pbspeedzerobutton.add(image) self.pbspeedbox.pack_start(self.pbspeedzerobutton, False, False, 1) self.pbspeedzerobutton.show() set_tip(self.pbspeedzerobutton, _('This sets the playback speed back to normal.')) # The box for the mute widgets. self.hbox2 = gtk.HBox() self.hbox2.set_border_width(2) self.hbox2.set_spacing(2) pbox.pack_start(self.hbox2, False) frame.show() image = gtk.Image() image.set_from_file(FGlobs.pkgdatadir / "prev.png") image.show() self.prev = gtk.Button() self.prev.add(image) self.prev.connect("clicked", self.callback, "Prev") self.hbox1.add(self.prev) self.prev.show() set_tip(self.prev, _('Previous track.')) pixbuf = gtk.gdk.pixbuf_new_from_file(FGlobs.pkgdatadir / "play2.png") pixbuf = pixbuf.scale_simple(14, 14, gtk.gdk.INTERP_BILINEAR) image=gtk.Image() image.set_from_pixbuf(pixbuf) image.show() self.play = gtk.ToggleButton() self.play.add(image) self.play.connect("toggled", self.cb_toggle, "Play") self.hbox1.add(self.play) self.play.show() set_tip(self.play, _('Play.')) image=gtk.Image() image.set_from_file(FGlobs.pkgdatadir / "pause.png") image.show() self.pause = gtk.ToggleButton() self.pause.add(image) self.pause.connect("toggled", self.cb_toggle, "Pause") self.hbox1.add(self.pause) self.pause.show() set_tip(self.pause, _('Pause.')) image=gtk.Image() image.set_from_file(FGlobs.pkgdatadir / "stop.png") image.show() self.stop = gtk.Button() self.stop.add(image) self.stop.connect("clicked", self.callback, "Stop") self.hbox1.add(self.stop) self.stop.show() set_tip(self.stop, _('Stop.')) image=gtk.Image() image.set_from_file(FGlobs.pkgdatadir / "next.png") image.show() self.next = gtk.Button() self.next.add(image) self.next.connect("clicked", self.callback, "Next") self.hbox1.add(self.next) self.next.show() set_tip(self.next, _('Next track.')) pixbuf = gtk.gdk.pixbuf_new_from_file(FGlobs.pkgdatadir / "add3.png") pixbuf = pixbuf.scale_simple(14, 14, gtk.gdk.INTERP_HYPER) image = gtk.Image() image.set_from_pixbuf(pixbuf) image.show() self.add = gtk.Button() self.add.add(image) self.add.connect("clicked", self.callback, "Add Files") self.hbox1.add(self.add) self.add.show() set_tip(self.add, _('Add tracks to the playlist.')) # hbox1 is done so it is time to show it self.hbox1.show() # The playlist mode dropdown menu. frame = ButtonFrame(_('Playlist Mode')) self.hbox2.pack_start(frame) frame.show() self.pl_mode = gtk.combo_box_new_text() self.pl_mode.append_text(N_('Play All')) self.pl_mode.append_text(N_('Loop All')) self.pl_mode.append_text(N_('Random')) self.pl_mode.append_text(N_('Manual')) self.pl_mode.append_text(N_('Cue Up')) self.pl_mode.append_text(N_('External')) if self.playername != "interlude": self.pl_mode.append_text(N_('Alternate')) self.pl_mode.append_text(N_('Fade Over')) self.pl_mode.append_text(N_('Random Hop')) self.pl_mode.set_active(1) else: self.pl_mode.set_active(0) self.pl_mode.connect("changed", self.cb_playlist_mode) set_tip(self.pl_mode, _("This sets the playlist mode which defines " "player behaviour after a track has finished playing.\n\n'Play All' is" " the most versatile mode since it allows the use of embeddable " "playlist control elements which are accessible using the right click " "context menu in the playlist. When no playlist controls are present " "the tracks are played sequentially until the end of the playlist is " "reached at which point the player will stop.\n\n'Loop All' causes the" " tracks to be played in sequence, restarting with the first track " "once the end of the playlist is reached.\n\n'Random' causes the " "tracks to be played indefinitely with the tracks selected at random." "\n\n'Manual' causes the player to stop at the end of each track.\n\n" "'Cue Up' is similar to manual except that the next track in the " "playlist will also be highlighted.\n\n'External' draws it's tracks " "from an external playlist or directory one at a time. Useful for when" " you want to stream massive playlists.\n\n'Alternate' causes the next" " track to be cued up before starting the opposite player. The " "crossfader is moved over.\n\n'Fade Over' will crossfade to the other" " player at the end of every track.\n\n'Random Hop' will pick a track" " at random from the other playlist.")) frame.hbox.pack_start(self.pl_mode) self.pl_mode.show() # TC: Fade time heading. frame = ButtonFrame(_('Fade')) self.hbox2.pack_start(frame) frame.show() self.pl_delay = gtk.combo_box_new_text() # TC: Fade time is zero. No fade, none. self.pl_delay.append_text(_('None')) self.pl_delay.append_text("5") self.pl_delay.append_text("10") self.pl_delay.set_active(0) self.pl_delay.connect("changed", self.cb_playlist_delay) set_tip(self.pl_delay, _('This controls the amount of fade between tracks.')) frame.hbox.pack_start(self.pl_delay, True, True, 0) self.pl_delay.show() # Mute buttons frame = ButtonFrame(" %s " % _('Audio Feed')) self.hbox2.pack_start(frame, True, True, 0) frame.show() self.stream = gtk.ToggleButton(" %s " % _('Stream')) self.stream.set_active(True) self.stream.connect("toggled", self.cb_toggle, "Stream") frame.hbox.pack_start(self.stream, True, True, 0) self.stream.show() set_tip(self.stream, _('Make output from this player available for streaming.')) self.listen = nice_listen_togglebutton(" %s " % _('DJ')) self.listen.set_active(True) self.listen.connect("toggled", self.cb_toggle, "Listen") frame.hbox.pack_start(self.listen, True, True, 0) self.listen.show() set_tip(self.listen, _('Make output from this player audible to the DJ.')) self.force = gtk.ToggleButton(" %s " % _('Force')) self.force.connect("toggled", self.cb_toggle, "Force") frame.hbox.pack_start(self.force, True, True, 0) if name == "interlude": self.force.show() set_tip(self.force, _("When selected this player will be treated like a main player.\n" "It will be affected by microphone ducking and won't mute when" " a main player is operating.")) # hbox2 is now filled so lets show it self.hbox2.show() # Popup menu code here # Main popup menu self.pl_menu = gtk.Menu() # TC: Insert playlist control. self.pl_menu_control = gtk.MenuItem(_('Insert control')) self.pl_menu.append(self.pl_menu_control) self.pl_menu_control.show() separator = gtk.SeparatorMenuItem() self.pl_menu.append(separator) separator.show() # TC: The Item submenu. self.pl_menu_item = gtk.MenuItem(_('Item')) self.pl_menu.append(self.pl_menu_item) self.pl_menu_item.show() # TC: The Playlist submenu. self.pl_menu_playlist = gtk.MenuItem(_('Playlist')) self.pl_menu.append(self.pl_menu_playlist) self.pl_menu_playlist.show() self.pl_menu.show() # Control element submenu of main popup menu self.control_menu = gtk.Menu() # TC: Insert playlist control to set playback speed to normal. self.control_normal_speed_control = gtk.MenuItem(_('Normal Speed')) self.control_normal_speed_control.connect("activate", self.menuitem_response, "Normal Speed Control") self.control_menu.append(self.control_normal_speed_control) self.control_normal_speed_control.show() # TC: Insert playlist control to stop the player. self.control_menu_stop_control = gtk.MenuItem(_('Player Stop')) self.control_menu_stop_control.connect("activate", self.menuitem_response, "Stop Control") self.control_menu.append(self.control_menu_stop_control) self.control_menu_stop_control.show() # TC: Insert playlist control to stop the player. self.control_menu_stop_control = gtk.MenuItem(_('Player Stop 2')) self.control_menu_stop_control.connect("activate", self.menuitem_response, "Stop Control 2") self.control_menu.append(self.control_menu_stop_control) self.control_menu_stop_control.show() # TC: Insert playlist control to jump to the top of the playlist. self.control_menu_jumptop_control = gtk.MenuItem(_('Jump To Top')) self.control_menu_jumptop_control.connect("activate", self.menuitem_response, "Jump To Top Control") self.control_menu.append(self.control_menu_jumptop_control) self.control_menu_jumptop_control.show() # TC: Insert playlist control to transfer to the opposite player. if name in ("left", "right"): self.control_menu_transfer_control = gtk.MenuItem(_('Transfer')) self.control_menu_transfer_control.connect("activate", self.menuitem_response, "Transfer Control") self.control_menu.append(self.control_menu_transfer_control) self.control_menu_transfer_control.show() # TC: Insert playlist control to crossfade to the opposite player. if name in ("left", "right"): self.control_menu_crossfade_control = gtk.MenuItem(_('Crossfade')) self.control_menu_crossfade_control.connect("activate", self.menuitem_response, "Crossfade Control") self.control_menu.append(self.control_menu_crossfade_control) self.control_menu_crossfade_control.show() # TC: Embed a DJ announcement text into the playlist. self.control_menu_announcement_control = gtk.MenuItem(_('Announcement')) self.control_menu_announcement_control.connect("activate", self.menuitem_response, "Announcement Control") self.control_menu.append(self.control_menu_announcement_control) self.control_menu_announcement_control.show() separator = gtk.SeparatorMenuItem() self.control_menu.append(separator) separator.show() # TC: Insert playlist control to do a ten second fade to the next track. self.control_menu_fade_10_control = gtk.MenuItem(_('Fade 10s')) self.control_menu_fade_10_control.connect("activate", self.menuitem_response, "Fade 10") self.control_menu.append(self.control_menu_fade_10_control) self.control_menu_fade_10_control.show() # TC: Insert playlist control to do a five second fade to the next track. self.control_menu_fade_5_control = gtk.MenuItem(_('Fade 5s')) self.control_menu_fade_5_control.connect("activate", self.menuitem_response, "Fade 5") self.control_menu.append(self.control_menu_fade_5_control) self.control_menu_fade_5_control.show() # TC: Insert playlist control to not do a fade to the next track. self.control_menu_fade_none_control = gtk.MenuItem(_('No Fade')) self.control_menu_fade_none_control.connect("activate", self.menuitem_response, "Fade none") self.control_menu.append(self.control_menu_fade_none_control) self.control_menu_fade_none_control.show() separator = gtk.SeparatorMenuItem() self.control_menu.append(separator) separator.show() # TC: Insert playlist control to stop all the streams. self.control_menu_stream_disconnect_control = gtk.MenuItem( _('Stop streaming')) self.control_menu_stream_disconnect_control.connect("activate", self.menuitem_response, "Stream Disconnect Control") self.control_menu.append(self.control_menu_stream_disconnect_control) self.control_menu_stream_disconnect_control.show() # TC: Insert playlist control to stop all recording. self.control_menu_stop_recording_control = gtk.MenuItem( _('Stop recording')) self.control_menu_stop_recording_control.connect("activate", self.menuitem_response, "Stop Recording Control") self.control_menu.append(self.control_menu_stop_recording_control) self.control_menu_stop_recording_control.show() self.pl_menu_control.set_submenu(self.control_menu) self.control_menu.show() # Item submenu of main popup menu self.item_menu = gtk.Menu() # TC: Menu item. Opens the metadata tagger on the selected track. self.item_tag = gtk.MenuItem(_('Meta Tag')) self.item_tag.connect("activate", self.menuitem_response, "MetaTag") self.item_menu.append(self.item_tag) self.item_tag.show() # TC: Menu Item. Duplicates the selected track in the playlist. self.item_duplicate = gtk.MenuItem(_('Duplicate')) self.item_duplicate.connect("activate", self.menuitem_response, "Duplicate") self.item_menu.append(self.item_duplicate) self.item_duplicate.show() # TC: Menu Item. Remove the selected track. self.item_remove = gtk.MenuItem(_('Remove')) self.item_menu.append(self.item_remove) self.item_remove.show() self.pl_menu_item.set_submenu(self.item_menu) self.item_menu.show() # Remove submenu of Item submenu self.remove_menu = gtk.Menu() # TC: Submenu Item. Parent menu item is Remove. self.remove_this = gtk.MenuItem(_('This')) self.remove_this.connect("activate", self.menuitem_response, "Remove This") self.remove_menu.append(self.remove_this) self.remove_this.show() # TC: Submenu Item. Parent menu item is Remove. self.remove_all = gtk.MenuItem(_('All')) self.remove_all.connect("activate", self.menuitem_response, "Remove All") self.remove_menu.append(self.remove_all) self.remove_all.show() # TC: Submenu Item. Parent menu item is Remove. self.remove_from_here = gtk.MenuItem(_('From Here')) self.remove_from_here.connect("activate", self.menuitem_response, "Remove From Here") self.remove_menu.append(self.remove_from_here) self.remove_from_here.show() # TC: Submenu Item. Parent menu item is Remove. self.remove_to_here = gtk.MenuItem(_('To Here')) self.remove_to_here.connect("activate", self.menuitem_response, "Remove To Here") self.remove_menu.append(self.remove_to_here) self.remove_to_here.show() self.item_remove.set_submenu(self.remove_menu) self.remove_menu.show() # Playlist submenu of main popup menu. self.playlist_menu = gtk.Menu() # TC: Open the file dialog for adding music to the chosen playlist. self.playlist_add_file = gtk.MenuItem(_('Add Music')) self.playlist_add_file.connect("activate", self.menuitem_response, "Add File") self.playlist_menu.append(self.playlist_add_file) self.playlist_add_file.show() # TC: Submenu Item. Parent menu is Playlist. self.playlist_save = gtk.MenuItem(_('Save')) self.playlist_save.connect("activate", self.menuitem_response, "Playlist Save") self.playlist_menu.append(self.playlist_save) self.playlist_save.show() separator = gtk.SeparatorMenuItem() self.playlist_menu.append(separator) separator.show() # TC: Submenu Item. Parent menu is Playlist. self.playlist_copy = gtk.MenuItem(_('Copy')) self.playlist_menu.append(self.playlist_copy) self.playlist_copy.show() # TC: Submenu Item. Parent menu is Playlist. self.playlist_transfer = gtk.MenuItem(_('Transfer')) self.playlist_menu.append(self.playlist_transfer) self.playlist_transfer.show() # TC: Submenu Item. Parent menu is Playlist. if name in ("left", "right"): self.playlist_exchange = gtk.MenuItem(_('Exchange')) self.playlist_exchange.connect("activate", self.menuitem_response, "Playlist Exchange") self.playlist_menu.append(self.playlist_exchange) self.playlist_exchange.show() # TC: Submenu Item. Parent menu is Playlist. self.playlist_empty = gtk.MenuItem(_('Empty')) self.playlist_empty.connect("activate", self.menuitem_response, "Remove All") self.playlist_menu.append(self.playlist_empty) self.playlist_empty.show() self.pl_menu_playlist.set_submenu(self.playlist_menu) self.playlist_menu.show() # Position Submenu of Playlist-Copy menu item self.copy_menu = gtk.Menu() # TC: Submenu Item. Parent menus are Playlist->Copy. self.copy_append = gtk.MenuItem(_('Append')) self.copy_append.connect("activate", self.menuitem_response, "Copy Append") self.copy_menu.append(self.copy_append) self.copy_append.show() # TC: Submenu Item. Parent menus are Playlist->Copy. self.copy_prepend = gtk.MenuItem(_('Prepend')) self.copy_prepend.connect("activate", self.menuitem_response, "Copy Prepend") self.copy_menu.append(self.copy_prepend) self.copy_prepend.show() separator = gtk.SeparatorMenuItem() self.copy_menu.append(separator) separator.show() # TC: Submenu Item. Parent menus are Playlist->Copy. self.copy_append_cursor = gtk.MenuItem(_('Append Cursor')) self.copy_append_cursor.connect("activate", self.menuitem_response, "Copy Append Cursor") self.copy_menu.append(self.copy_append_cursor) self.copy_append_cursor.show() # TC: Submenu Item. Parent menus are Playlist->Copy. self.copy_prepend_cursor = gtk.MenuItem(_('Prepend Cursor')) self.copy_prepend_cursor.connect("activate", self.menuitem_response, "Copy Prepend Cursor") self.copy_menu.append(self.copy_prepend_cursor) self.copy_prepend_cursor.show() self.playlist_copy.set_submenu(self.copy_menu) self.copy_menu.show() # Position Submenu of Playlist-Transfer menu item self.transfer_menu = gtk.Menu() # TC: Submenu Item. Parent menus are Playlist->Transfer. self.transfer_append = gtk.MenuItem(_('Append')) self.transfer_append.connect("activate", self.menuitem_response, "Transfer Append") self.transfer_menu.append(self.transfer_append) self.transfer_append.show() # TC: Submenu Item. Parent menus are Playlist->Transfer. self.transfer_prepend = gtk.MenuItem(_('Prepend')) self.transfer_prepend.connect("activate", self.menuitem_response, "Transfer Prepend") self.transfer_menu.append(self.transfer_prepend) self.transfer_prepend.show() separator = gtk.SeparatorMenuItem() self.transfer_menu.append(separator) separator.show() # TC: Submenu Item. Parent menus are Playlist->Transfer. self.transfer_append_cursor = gtk.MenuItem(_('Append at Cursor')) self.transfer_append_cursor.connect("activate", self.menuitem_response, "Transfer Append Cursor") self.transfer_menu.append(self.transfer_append_cursor) self.transfer_append_cursor.show() # TC: Submenu Item. Parent menus are Playlist->Transfer. self.transfer_prepend_cursor = gtk.MenuItem(_('Prepend at Cursor')) self.transfer_prepend_cursor.connect("activate", self.menuitem_response, "Transfer Prepend Cursor") self.transfer_menu.append(self.transfer_prepend_cursor) self.transfer_prepend_cursor.show() self.playlist_transfer.set_submenu(self.transfer_menu) self.transfer_menu.show() self.treeview.connect_object("event", self.menu_activate, self.pl_menu) popupwindow.PopupWindow(self.treeview, 12, 120, 10, self.popupwindow_populate, self.popupwindow_inhibit) # Initialisations self.showing_file_requester = False self.showing_pl_save_requester = False self.home = os.path.expanduser("~") self.file_requester_start_dir = SlotObject(self.home) self.plsave_filetype = 0 self.plsave_open = False self.plsave_filtertype = self.plfilefilter_all self.plsave_folder = None # This flag symbolises if we are playing music or not. self.is_playing = False self.is_paused = False self.is_stopping = False self.player_is_playing = False self.new_title = False self.timeout_source_id = 0 self.progress_press = False random.seed() # The maximum value from the progress bar at startup self.max_seek = 100.0 self.reselect_please = False self.reselect_cursor_please = False self.songname = u"" self.flush = False self.title = "" self.artist = "" self.album = "" self.cueshet = self.element = None self.cuesheet_track_title = self.cuesheet_track_performer = None self.gapless = False self.seek_file_valid = False self.digiprogress_type = 0 self.digiprogress_f = 0 self.handle_motion_as_drop = False self.other_player_initiated = False self.crossfader_initiated = False self.music_filename = "" self.session_filename = self.playername + "_session" self.oldstatusbartext = "" self.pbspeedfactor = 1.0 self.playlist_changed = True self.alarm_cid = 0 self.playlist_todo = deque() self.no_more_files = False self.model_playing = None self.player_cid = -1 idjc-0.8.9/python/sourceclientgui.py0000644000175000017500000034660712127351572014506 00000000000000# sourceclientgui.py: new for version 0.7 this provides the graphical # user interface for the new improved streaming module # Copyright (C) 2007-2012 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . __all__ = ['SourceClientGui'] import os import time import fcntl import subprocess import urllib import urllib2 import base64 import gettext import traceback import datetime import xml.dom.minidom as mdom import xml.etree.ElementTree import ctypes from collections import namedtuple from threading import Thread import dbus import pango import gtk import gobject from idjc import FGlobs, PGlobs from .utils import string_multireplace from .gtkstuff import DefaultEntry, threadslock, HistoryEntry from .gtkstuff import WindowSizeTracker, FolderChooserButton from .dialogs import * from .irc import IRCPane from .format import FormatControl, FormatCodecMPEG from .tooltips import set_tip from .prelims import ProfileManager _ = gettext.translation(FGlobs.package_name, FGlobs.localedir, fallback=True).gettext pm = ProfileManager() ENCODER_START = 1; ENCODER_STOP = 0 LISTFORMAT = (("check_stats", bool), ("server_type", int), ("host", str), ("port", int), ("mount", str), ("listeners", int), ("login", str), ("password", str)) ListLine = namedtuple("ListLine", " ".join([x[0] for x in LISTFORMAT])) BLANK_LISTLINE = ListLine(1, 0, "", 8000, "", -1, "", "") lame_enabled = False class SmallLabel(gtk.Label): """A gtk.Label with small text size.""" def __init__(self, text=None): gtk.Label.__init__(self, text) attrlist = pango.AttrList() attrlist.insert(pango.AttrSize(8000, 0, 1000000)) self.set_attributes(attrlist) class HistoryEntryWithMenu(HistoryEntry): def __init__(self): HistoryEntry.__init__(self, initial_text=("", "%s", "%r - %t")) self.child.connect("populate-popup", self._on_populate_popup) def _on_populate_popup(self, entry, menu): attr_menu_item = gtk.MenuItem(_('Insert Attribute')) submenu = gtk.Menu() attr_menu_item.set_submenu(submenu) for label, subst in zip((_('Artist'), _('Title'), _('Album'), _('Song name')), (u"%r", u"%t", u"%l", u"%s")): mi = gtk.MenuItem(label) mi.connect("activate", self._on_menu_activate, entry, subst) submenu.append(mi) menu.append(attr_menu_item) attr_menu_item.show_all() def _on_menu_activate(self, mi, entry, subst): p = entry.get_position() entry.insert_text(subst, p) entry.set_position(p + len(subst)) class ModuleFrame(gtk.Frame): def __init__(self, frametext = None): gtk.Frame.__init__(self, frametext) gtk.Frame.set_shadow_type(self, gtk.SHADOW_ETCHED_OUT) self.vbox = gtk.VBox() self.add(self.vbox) self.vbox.show() class CategoryFrame(gtk.Frame): def __init__(self, frametext = None): gtk.Frame.__init__(self, frametext) gtk.Frame.set_shadow_type(self, gtk.SHADOW_IN) class SubcategoryFrame(gtk.Frame): def __init__(self, frametext = None): gtk.Frame.__init__(self, frametext) gtk.Frame.set_shadow_type(self, gtk.SHADOW_ETCHED_IN) class ConnectionDialog(gtk.Dialog): """Create new data for or edit an item in the connection table. When an item is selected in the TreeView, will edit, else add. """ server_types = (_('Icecast 2 Master'), _('Shoutcast Master'), _('Icecast 2 Stats/Relay'), _('Shoutcast Stats/Relay')) def __init__(self, parent_window, tree_selection): gtk.Dialog.__init__(self, _('Enter new server connection details'), parent_window, gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT, (gtk.STOCK_CANCEL, gtk.RESPONSE_REJECT, gtk.STOCK_OK, gtk.RESPONSE_ACCEPT)) model, iter = tree_selection.get_selected() # Configuration from existing server data. # cap_master = True preselect = 0 data = BLANK_LISTLINE try: first = ListLine._make(model[0]) except IndexError: pass # Defaults are fine. Server table currently empty. else: if iter: # In editing mode. self.set_title(_('Edit existing server connection details') + pm.title_extra) index = model.get_path(iter)[0] data = ListLine._make(model[index]) preselect = data.server_type if index and first.server_type < 2: # Editing non first line where a master server is configured. cap_master = False else: # In adding additional server mode. if first.server_type < 2: cap_master = False preselect = first.server_type + 2 # Widgets # liststore = gtk.ListStore(int, str, int) for i, (l, t) in enumerate(zip(self.server_types, ( cap_master, cap_master, True, True))): liststore.append((i, l, t)) self.servertype = gtk.ComboBox(liststore) icon_renderer = CellRendererXCast() text_renderer = gtk.CellRendererText() self.servertype.pack_start(icon_renderer, False) self.servertype.pack_start(text_renderer, True) self.servertype.set_attributes(icon_renderer, servertype=0, sensitive=2) self.servertype.set_attributes(text_renderer, text=1, sensitive=2) self.servertype.set_model(liststore) self.hostname = DefaultEntry("localhost") adj = gtk.Adjustment(8000.0, 0.0, 65535.0, 1.0, 10.0) self.portnumber = gtk.SpinButton(adj, 1.0, 0) self.mountpoint = DefaultEntry("/listen") self.loginname = DefaultEntry("source") self.password = DefaultEntry("changeme") self.password.set_visibility(False) self.stats = gtk.CheckButton( _('This server is to be scanned for audience figures')) # Layout # self.set_border_width(5) hbox = gtk.HBox(spacing = 20) hbox.set_border_width(15) icon = gtk.image_new_from_stock(gtk.STOCK_NETWORK, gtk.ICON_SIZE_DIALOG) hbox.pack_start(icon) col = gtk.VBox(homogeneous = True, spacing = 4) hbox.pack_start(col) sg = gtk.SizeGroup(gtk.SIZE_GROUP_HORIZONTAL) for text, widget in zip( (_('Server type'), _('Hostname'), _('Port number'), _('Mount point'), _('Login name'), _('Password')), (self.servertype, self.hostname, self.portnumber, self.mountpoint, self.loginname, self.password)): row = gtk.HBox() row.set_spacing(3) label = gtk.Label(text) label.set_alignment(1.0, 0.5) row.pack_start(label, False) row.pack_start(widget) sg.add_widget(label) col.pack_start(row) col.pack_start(self.stats, False) self.get_content_area().pack_start(hbox) self.hostname.set_width_chars(30) hbox.show_all() # Signals # self.connect("response", self._on_response, tree_selection, model, iter) self.servertype.connect("changed", self._on_servertype_changed) # Data fill # self.servertype.set_active(preselect) self.hostname.set_text(data.host) self.portnumber.set_value(data.port) self.mountpoint.set_text(data.mount) self.loginname.set_text(data.login) self.password.set_text(data.password) self.stats.set_active(data.check_stats) @staticmethod def _on_response(self, response_id, tree_selection, model, iter): if response_id == gtk.RESPONSE_ACCEPT: for entry in (self.hostname, self.mountpoint, self.loginname, self.password): entry.set_text(entry.get_text().strip()) self.hostname.set_text(self.hostname.get_text().split("://")[ -1].strip()) self.mountpoint.set_text("/" + self.mountpoint.get_text().lstrip( "/")) data = ListLine(check_stats=self.stats.get_active(), server_type=self.servertype.get_active(), host=self.hostname.get_text(), port=int(self.portnumber.get_value()), mount=self.mountpoint.get_text(), listeners=-1, login=self.loginname.get_text(), password=self.password.get_text()) if self.servertype.get_active() < 2: if iter: model.remove(iter) new_iter = model.insert(0, data) else: if iter: new_iter = model.insert_after(iter, data) model.remove(iter) else: new_iter = model.append(data) tree_selection.select_path(model.get_path(new_iter)) tree_selection.get_tree_view().scroll_to_cell( model.get_path(new_iter)) tree_selection.get_tree_view().get_model().row_changed( model.get_path(new_iter), new_iter) self.destroy() def _on_servertype_changed(self, servertype): sens = not (servertype.get_active() & 1) self.mountpoint.set_sensitive(sens) self.loginname.set_sensitive(sens) class StatsThread(Thread): def __init__(self, d): Thread.__init__(self) self.is_shoutcast = d["server_type"] % 2 self.host = d["host"] self.port = d["port"] self.mount = d["mount"] if self.is_shoutcast: self.login = "admin" else: self.login = d["login"] self.passwd = d["password"] self.listeners = -2 # preset error code for failed/timeout self.url = "http://%s:%d%s" % (self.host, self.port, self.mount) def run(self): class BadXML(ValueError): pass hostport = "%s:%d" % (self.host, self.port) if self.is_shoutcast: stats_url = "http://%s/admin.cgi?mode=viewxml" % hostport realm = "Shoutcast Server" else: stats_url = "http://%s/admin/listclients?mount=%s" % ( hostport, self.mount) realm = "Icecast2 Server" auth_handler = urllib2.HTTPBasicAuthHandler() auth_handler.add_password(realm, hostport, self.login, self.passwd) opener = urllib2.build_opener(auth_handler) opener.addheaders = [('User-agent', 'Mozilla/5.0')] try: f = opener.open(stats_url) xmlfeed = f.read() except: print "failed to get server stats for", self.url return f.close() try: dom = mdom.parseString(xmlfeed) except: print "failed to parse server stats for", self.url return try: if self.is_shoutcast: if dom.documentElement.tagName == u'SHOUTCASTSERVER': shoutcastserver = dom.documentElement else: raise BadXML currentlisteners = shoutcastserver.getElementsByTagName( 'CURRENTLISTENERS') try: self.listeners = int(currentlisteners[ 0].firstChild.wholeText.strip()) except: raise BadXML else: if dom.documentElement.tagName == u'icestats': icestats = dom.documentElement else: raise BadXML sources = icestats.getElementsByTagName('source') for source in sources: mount = source.getAttribute('mount') if stats_url.endswith(mount): listeners = source.getElementsByTagName('Listeners') try: self.listeners = int( listeners[0].firstChild.wholeText.strip()) break except: raise BadXML else: raise BadXML except BadXML: print "Unexpected data in server stats XML file" dom.unlink() print "server", self.url, "has", self.listeners, "listeners" class ActionTimer(object): def run(self): if self.n == 0: self.first() self.n += 1 if self.n == self.ticks: self.n = 0 self.last() def __init__(self, ticks, first, last): assert(ticks) self.ticks = ticks self.n = 0 self.first = first self.last = last class CellRendererXCast(gtk.CellRendererText): icons = ("", "", "", "") ins_icons = ("", "", "", "") __gproperties__ = { 'servertype' : (gobject.TYPE_INT, 'kind of server', 'indication by number of the server in use', 0, 3, 0, gobject.PARAM_READWRITE), 'sensitive' : (gobject.TYPE_BOOLEAN, 'sensitivity flag', 'indication of selectability', 1, gobject.PARAM_READWRITE) } def __init__(self): gtk.CellRendererText.__init__(self) self._servertype = 0 self._sensitive = 1 self.props.xalign = 0.5 self.props.family = "monospace" def do_get_property(self, property): if property.name == 'servertype': return self._servertype elif property.name == 'sensitive': return self._sensitive else: raise AttributeError def do_set_property(self, property, value): if property.name == 'servertype': self._servertype = value elif property.name == 'sensitive': self._sensitive = value else: raise AttributeError if self._sensitive: self.props.markup = self.icons[self._servertype] else: self.props.markup = self.ins_icons[self._servertype] class ConnectionPane(gtk.VBox): def get_master_server_type(self): try: s_type = ListLine(*self.liststore[0]).server_type except IndexError: return 0 return 0 if s_type >= 2 else s_type + 1 def set_button(self, tab): st = self.get_master_server_type() if st: config = ListLine(*self.liststore[0]) p = tab.format_control.props sens = (p.cap_icecast, p.cap_shoutcast)[st - 1] if sens: text = "{0.host}:{0.port}{0.mount}".format(config) else: text = _("Encoder Format Not Set/Compatible") else: # TC: Connection button text when no details have been entered. text = _('No Master Server Configured') sens = False tab.server_connect_label.set_text(text) tab.server_connect.set_sensitive(sens) def individual_listeners_toggle_cb(self, cell, path): self.liststore[path][0] = not self.liststore[path][0] def listeners_renderer_cb(self, column, cell, model, iter): listeners = model.get_value(iter, 5) if listeners == -1: cell.set_property("text", "") cell.set_property("xalign", 0.5) elif listeners == -2: cell.set_property("text", u"\u2049") cell.set_property("xalign", 0.5) else: cell.set_property("text", listeners) cell.set_property("xalign", 1.0) def master_is_set(self): return bool(self.get_master_server_type()) def streaming_set(self, val): self._streaming_set = val self.treeview.get_selection().emit("changed") def streaming_is_set(self): return self._streaming_set def row_to_dict(self, rownum): """ obtain a dictionary of server data for a specified row """ return ListLine._make(self.liststore[rownum])._asdict() def dict_to_row(self, _dict): """ append a row of server data from a dictionary """ _dict["listeners"] = -1 row = ListLine(**_dict) t = row.server_type if t < 2: # Check if first line contains master server info. self.liststore.insert(0, row) else: self.liststore.append(row) return def saver(self): server = [] template = ("<%s dtype=\"int\">%d", "<%s dtype=\"str\">%s") for i in range(len(self.liststore)): s = self.row_to_dict(i) del s["listeners"] s["password"] = base64.encodestring(s["password"]) d = [] for key, value in s.iteritems(): if type(value) == str: t = template[1] value = urllib.quote(value) else: t = template[0] d.append(t % (key, value, key)) server.append("".join(("", "".join(d), ""))) return "%s" % "".join(server) def loader(self, xmldata): def get_child_text(nodelist): t = [] for node in nodelist: if node.nodeType == node.TEXT_NODE: t.append(node.data) return "".join(t) if not xmldata: return try: try: dom = mdom.parseString(xmldata) except: print "ConnectionPane.loader: failed to parse xml data...\n", \ xmldata raise assert(dom.documentElement.tagName == "connections") for server in dom.getElementsByTagName("server"): d = {} for node in server.childNodes: key = str(node.tagName) dtype = node.getAttribute("dtype") raw = get_child_text(node.childNodes) if dtype == "str": value = urllib.unquote(raw) elif dtype == "int": value = int(raw) else: raise ValueError( "ConnectionPane.loader: dtype (%s) is unhandled" % \ dtype) d[key] = value try: d["password"] = base64.decodestring(d["password"]) except KeyError: pass self.dict_to_row(d) except Exception, e: print e self.treeview.get_selection().select_path(0) def stats_commence(self): self.stats_rows = [] getstats = self.stats_always.get_active() or ( self.stats_ifconnected.get_active() and self.streaming_is_set()) for i, row in enumerate(self.liststore): if row[0] and getstats: d = self.row_to_dict(i) if d["server_type"] == 1: ap = self.tab.admin_password_entry.get_text().strip() if ap: d["password"] = ap stats_thread = StatsThread(d) stats_thread.start() ref = gtk.TreeRowReference(self.liststore, i) self.stats_rows.append((ref, stats_thread)) else: row[5] = -1 # sets listeners text to 'unknown' def stats_collate(self): count = 0 for ref, thread in self.stats_rows: if ref.valid() == False: print "stats_collate:", thread.url, \ "invalidated by its removal from the stats list" continue row = ref.get_model()[ref.get_path()[0]] row[5] = thread.listeners if thread.listeners > 0: count += thread.listeners self.listeners_display.set_text(str(count)) self.listeners = count def on_dialog_destroy(self, dialog, tree_selection, old_iter): model, iter = tree_selection.get_selected() if iter is None and old_iter is not None: tree_selection.select_iter(old_iter) def on_new_clicked(self, button, tree_selection): old_iter = tree_selection.get_selected()[1] tree_selection.unselect_all() self.connection_dialog = ConnectionDialog(self.tab.scg.window, tree_selection) self.connection_dialog.connect("destroy", self.on_dialog_destroy, tree_selection, old_iter) self.connection_dialog.show() def on_edit_clicked(self, button, tree_selection): model, iter = tree_selection.get_selected() if iter: self.connection_dialog = ConnectionDialog(self.tab.scg.window, tree_selection) self.connection_dialog.show() else: print "nothing selected for edit" def on_remove_clicked(self, button, tree_selection): model, iter = tree_selection.get_selected() if iter: if model.remove(iter): tree_selection.select_iter(iter) else: print "nothing selected for removal" def on_keypress(self, widget, event): if gtk.gdk.keyval_name(event.keyval) == "Delete": if self.remove.get_sensitive(): self.remove.clicked() def on_selection_changed(self, tree_selection): sens = tree_selection.get_selected()[1] is not None if self._streaming_set and tree_selection.path_is_selected((0,)): sens = False for button in self.require_selection: button.set_sensitive(sens) def __init__(self, set_tip, tab): self.tab = tab gtk.VBox.__init__(self) self._streaming_set = False vbox = gtk.VBox() vbox.set_border_width(6) vbox.set_spacing(6) self.add(vbox) vbox.show() scrolled = gtk.ScrolledWindow() scrolled.set_shadow_type(gtk.SHADOW_ETCHED_IN) scrolled.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_ALWAYS) vbox.pack_start(scrolled, True) scrolled.show() self.liststore = gtk.ListStore(*[x[1] for x in LISTFORMAT]) self.liststore.connect("row-deleted", lambda x, y: self.set_button(tab)) self.liststore.connect("row-changed", lambda x, y, z: self.set_button(tab)) self.set_button(tab) self.treeview = gtk.TreeView(self.liststore) set_tip(self.treeview, _('A table of servers with which to connect. ' 'Only one master server can be added for the purpose of streaming. All' ' other servers will appear below the master server in the list for the' ' purpose of stats collection which can be toggled on a per server ' 'basis.')) self.treeview.set_enable_search(False) self.treeview.connect("key-press-event", self.on_keypress) rend_type = CellRendererXCast() rend_type.set_property("xalign", 0.5) col_type = gtk.TreeViewColumn("", rend_type, servertype = 1) col_type.set_sizing = gtk.TREE_VIEW_COLUMN_AUTOSIZE col_type.set_alignment(0.5) self.treeview.append_column(col_type) text_cell_rend = gtk.CellRendererText() text_cell_rend.set_property("ellipsize", pango.ELLIPSIZE_END) col_host = gtk.TreeViewColumn(_('Hostname/IP address'), text_cell_rend, text=2) col_host.set_sizing = gtk.TREE_VIEW_COLUMN_FIXED col_host.set_expand(True) self.treeview.append_column(col_host) rend_port = gtk.CellRendererText() rend_port.set_property("xalign", 1.0) # TC: TCP port number. col_port = gtk.TreeViewColumn(_('Port'), rend_port, text = 3) col_port.set_sizing = gtk.TREE_VIEW_COLUMN_AUTOSIZE col_port.set_alignment(0.5) self.treeview.append_column(col_port) # TC: Mount point is a technical term in relation to icecast servers. col_mount = gtk.TreeViewColumn(_('Mount point '), text_cell_rend, text=4) col_mount.set_sizing = gtk.TREE_VIEW_COLUMN_AUTOSIZE self.treeview.append_column(col_mount) rend_enabled = gtk.CellRendererToggle() rend_enabled.connect("toggled", self.individual_listeners_toggle_cb) rend_listeners = gtk.CellRendererText() # TC: This is the listener count heading. col_listeners = gtk.TreeViewColumn(_('Listeners')) col_listeners.set_sizing = gtk.TREE_VIEW_COLUMN_AUTOSIZE col_listeners.pack_start(rend_enabled, False) col_listeners.pack_start(rend_listeners) col_listeners.add_attribute(rend_enabled, "active", 0) col_listeners.set_cell_data_func(rend_listeners, self.listeners_renderer_cb) self.treeview.append_column(col_listeners) scrolled.add(self.treeview) self.treeview.show() hbox = gtk.HBox() self.listener_count_button = gtk.Button() ihbox = gtk.HBox() set_tip(ihbox, _('The sum total of listeners in this server tab.')) pixbuf = gtk.gdk.pixbuf_new_from_file_at_size( FGlobs.pkgdatadir / "listenerphones.png", 20, 16) image = gtk.image_new_from_pixbuf(pixbuf) ihbox.pack_start(image, False, False, 0) image.show() frame = gtk.Frame() frame.set_border_width(0) ihbox.pack_start(frame, True, True, 0) frame.show() ihbox.show() self.listeners_display = gtk.Label("0") self.listeners_display.set_alignment(1.0, 0.5) self.listeners_display.set_width_chars(6) self.listeners_display.set_padding(3, 0) frame.add(self.listeners_display) self.listeners_display.show() self.listener_count_button.add(ihbox) hbox.pack_start(self.listener_count_button, False) lcmenu = gtk.Menu() self.listener_count_button.connect("button-press-event", lambda w, e: lcmenu.popup(None, None, None, e.button, e.time)) lc_stats = gtk.MenuItem("Update") lcmenu.append(lc_stats) lcsubmenu = gtk.Menu() lc_stats.set_submenu(lcsubmenu) self.stats_never = gtk.RadioMenuItem(None, _('Never')) self.stats_never.connect("toggled", lambda w: ihbox.set_sensitive(not w.get_active())) self.stats_always = gtk.RadioMenuItem(self.stats_never, _('Always')) self.stats_ifconnected = gtk.RadioMenuItem( self.stats_never, _('If connected')) self.stats_ifconnected.set_active(True) lcsubmenu.append(self.stats_never) lcsubmenu.append(self.stats_always) lcsubmenu.append(self.stats_ifconnected) lcmenu.show_all() bbox = gtk.HButtonBox() bbox.set_spacing(6) bbox.set_layout(gtk.BUTTONBOX_END) new = gtk.Button(stock=gtk.STOCK_NEW) self.remove = gtk.Button(stock=gtk.STOCK_DELETE) edit = gtk.Button(stock=gtk.STOCK_EDIT) bbox.add(edit) bbox.add(self.remove) bbox.add(new) self.require_selection = (edit, self.remove) selection = self.treeview.get_selection() selection.connect("changed", self.on_selection_changed) selection.emit("changed") new.connect("clicked", self.on_new_clicked, selection) edit.connect("clicked", self.on_edit_clicked, selection) self.remove.connect("clicked", self.on_remove_clicked, selection) self.require_selection = (self.remove, edit) hbox.pack_start(bbox) vbox.pack_start(hbox, False) hbox.show_all() self.timer = ActionTimer(40, self.stats_commence, self.stats_collate) class TimeEntry(gtk.HBox): """A 24-hour-time entry widget with a checkbutton.""" def time_valid(self): return self.seconds_past_midnight >= 0 def get_seconds_past_midnight(self): return self.seconds_past_midnight def set_active(self, boolean): self.check.set_active(boolean and True or False) def get_active(self): return self.check.get_active() and self.time_valid def __entry_activate(self, widget): boolean = widget.get_active() self.entry.set_sensitive(boolean) if boolean: self.entry.grab_focus() def __key_validator(self, widget, event): if event.keyval < 128: if event.string == ":": return False if event.string < "0" or event.string > "9": return True def __time_updater(self, widget): text = widget.get_text() if len(text) == 5 and text[2] == ":": try: hours = int(text[:2]) minutes = int(text[3:]) except: self.seconds_past_midnight = -1 else: if hours >= 0 and hours <=23 and minutes >= 0 and minutes <= 59: self.seconds_past_midnight = hours * 3600 + minutes * 60 else: self.seconds_past_midnight = -1 else: self.seconds_past_midnight = -1 def __init__(self, labeltext): gtk.HBox.__init__(self) self.set_spacing(3) self.check = gtk.CheckButton(labeltext) self.check.connect("toggled", self.__entry_activate) self.pack_start(self.check, False) self.check.show() self.entry = gtk.Entry(5) self.entry.set_sensitive(False) self.entry.set_width_chars(5) self.entry.set_text("00:00") self.entry.connect("key-press-event", self.__key_validator) self.entry.connect("changed", self.__time_updater) self.pack_start(self.entry, False) self.entry.show() self.seconds_past_midnight = -1 class AutoAction(gtk.HBox): def activate(self): if self.get_active(): for radio, action in self.action_lookup: if radio.get_active(): action() def get_active(self): return self.check_button.get_active() def set_active(self, boolean): self.check_button.set_active(boolean) def get_radio_index(self): return self.radio_active def set_radio_index(self, value): try: self.action_lookup[value][0].clicked() except: try: self.action_lookup[0][0].clicked() except: pass def __set_sensitive(self, widget): boolean = widget.get_active() for radio, action in self.action_lookup: radio.set_sensitive(boolean) def __handle_radioclick(self, widget, which): if widget.get_active(): self.radio_active = which def __init__(self, labeltext, names_actions): gtk.HBox.__init__(self) self.radio_active = 0 self.check_button = gtk.CheckButton(labeltext) self.set_spacing(4) self.pack_start(self.check_button, False, False, 0) self.check_button.show() lastradio = None self.action_lookup = [] for index, (name, action) in enumerate(names_actions): radio = gtk.RadioButton(lastradio, name) radio.connect("clicked", self.__handle_radioclick, index) lastradio = radio radio.set_sensitive(False) self.check_button.connect("toggled", self.__set_sensitive) self.pack_start(radio, False, False, 0) radio.show() self.action_lookup.append((radio, action)) class FramedSpin(gtk.Frame): """A framed spin button that can be disabled""" def get_value(self): if self.check.get_active(): return self.spin.get_value() else: return -1 def get_cooked_value(self): if self.check.get_active(): return self.spin.get_value() * self.adj_basis.get_value() / 100 else: return -1 def set_value(self, new_value): self.spin.set_value(new_value) def cb_toggled(self, widget): self.spin.set_sensitive(widget.get_active()) def __init__(self, text, adj, adj_basis): self.adj_basis = adj_basis gtk.Frame.__init__(self) self.check = gtk.CheckButton(text) hbox = gtk.HBox() hbox.pack_start(self.check, False, False, 2) self.check.show() self.set_label_widget(hbox) hbox.show() vbox = gtk.VBox() vbox.set_border_width(2) self.spin = gtk.SpinButton(adj) vbox.add(self.spin) self.spin.show() self.spin.set_sensitive(False) self.add(vbox) vbox.show() self.check.connect("toggled", self.cb_toggled) class SimpleFramedSpin(gtk.Frame): """A framed spin button""" def get_value(self): return self.spin.get_value() def set_value(self, new_value): self.spin.set_value(new_value) def __init__(self, text, adj): gtk.Frame.__init__(self) label = gtk.Label(text) hbox = gtk.HBox() hbox.pack_start(label, False, False, 3) label.show() self.set_label_widget(hbox) hbox.show() vbox = gtk.VBox() vbox.set_border_width(2) self.spin = gtk.SpinButton(adj) vbox.add(self.spin) self.spin.show() self.add(vbox) vbox.show() class Tab(gtk.VBox): """Base class for the widget in which each streamer and recorder appears.""" def show_indicator(self, colour): thematch = self.indicator_lookup[colour] thematch.show() for colour, indicator in self.indicator_lookup.iteritems(): if indicator is not thematch: indicator.hide() def send(self, stringtosend): self.source_client_gui.send("tab_id=%d\n%s" % ( self.numeric_id, stringtosend)) def receive(self): return self.source_client_gui.receive() def __init__(self, scg, numeric_id, indicator_lookup): self.indicator_lookup = indicator_lookup self.numeric_id = numeric_id self.source_client_gui = scg gtk.VBox.__init__(self) gtk.VBox.set_border_width(self, 8) gtk.VBox.show(self) class Troubleshooting(gtk.VBox): """Server connection management control widget.""" def __init__(self): gtk.VBox.__init__(self) self.set_border_width(6) self.set_spacing(8) hbox = gtk.HBox() hbox.set_spacing(4) self.custom_user_agent = gtk.CheckButton(_("Custom user agent string")) self.custom_user_agent.connect("toggled", self._on_custom_user_agent) hbox.pack_start(self.custom_user_agent, False) self.user_agent_entry = HistoryEntry() self.user_agent_entry.set_sensitive(False) hbox.pack_start(self.user_agent_entry) self.pack_start(hbox, False) set_tip(hbox, _("Set this on the occasion that the server or its " "firewall specifically refuses to allow libshout based clients.")) frame = gtk.Frame() self.automatic_reconnection = gtk.CheckButton( _("If the connection breaks reconnect to the server")) self.automatic_reconnection.set_active(True) frame.set_label_widget(self.automatic_reconnection) self.pack_start(frame, False) reconbox = gtk.HBox() reconbox.set_border_width(6) reconbox.set_spacing(4) frame.add(reconbox) # TC: Label for a comma separated list of delay times. reconlabel = gtk.Label(_("Delay times")) reconbox.pack_start(reconlabel, False) self.reconnection_times = HistoryEntry(initial_text=("10,10,60", "5"), store_blank=False) set_tip(self.reconnection_times, _("A comma separated list of delays" " in seconds between reconnection attempts. Note that bad values" " or values less than 5 will be interpreted as 5.")) reconbox.pack_start(self.reconnection_times, True) self.reconnection_repeat = gtk.CheckButton(_("Repeat")) set_tip(self.reconnection_repeat, _("Repeat the sequence of delays indefinitely.")) reconbox.pack_start(self.reconnection_repeat, False) # TC: User specifies no dialog box to be shown. self.reconnection_quiet = gtk.CheckButton(_("Quiet")) set_tip(self.reconnection_quiet, _("Keep the reconnection dialogue box hidden at all times.")) reconbox.pack_start(self.reconnection_quiet, False) self.automatic_reconnection.connect("toggled", self._on_automatic_reconnection, reconbox) frame = gtk.Frame(" %s " % _("The contingency plan upon the stream " "buffer becoming full is...")) sbfbox = gtk.VBox() sbfbox.set_border_width(6) sbfbox.set_spacing(1) frame.add(sbfbox) self.pack_start(frame, False) self.sbf_discard_audio = gtk.RadioButton(None, _("Discard audio data for as long as needed.")) self.sbf_reconnect = gtk.RadioButton(self.sbf_discard_audio, _("Assume the connection is beyond saving and reconnect.")) for each in (self.sbf_discard_audio, self.sbf_reconnect): sbfbox.pack_start(each, True, False) self.show_all() self.objects = {"custom_user_agent": (self.custom_user_agent, "active"), "user_agent_entry": (self.user_agent_entry, "history"), "automatic_reconnection": (self.automatic_reconnection, "active"), "reconnection_times": (self.reconnection_times, "history"), "reconnection_repeat": (self.reconnection_repeat, "active"), "reconnection_quiet": (self.reconnection_quiet, "active"), "sbf_reconnect": (self.sbf_reconnect, "active"), } def _on_custom_user_agent(self, widget): self.user_agent_entry.set_sensitive(widget.get_active()) def _on_automatic_reconnection(self, widget, reconbox): reconbox.set_sensitive(widget.get_active()) class StreamTab(Tab): def make_combo_box(self, items): combobox = gtk.combo_box_new_text() for each in items: combobox.append_text(each) return combobox def make_radio(self, qty): listofradiobuttons = [] for iteration in range(qty): listofradiobuttons.append(gtk.RadioButton()) if iteration > 0: listofradiobuttons[iteration].set_group(listofradiobuttons[0]) return listofradiobuttons def make_radio_with_text(self, labels): listofradiobuttons = [] for count, label in enumerate(labels): listofradiobuttons.append(gtk.RadioButton(None, label)) if count > 0: listofradiobuttons[count].set_group(listofradiobuttons[0]) return listofradiobuttons def make_notebook_tab(self, notebook, labeltext, tooltip = None): label = gtk.Label(labeltext) if tooltip is not None: set_tip(label, tooltip) vbox = gtk.VBox() notebook.append_page(vbox, label) label.show() vbox.show() return vbox def item_item_layout(self, item_item_pairs, sizegroup): """Widget packing method.""" vbox = gtk.VBox() vbox.set_spacing(2) for left, right in item_item_pairs: hbox = gtk.HBox() sizegroup.add_widget(hbox) hbox.set_spacing(5) if left is not None: hbox.pack_start(left, False, False, 0) left.show() if right is not None: hbox.pack_start(right, True, True, 0) right.show() vbox.pack_start(hbox, False, False, 0) hbox.show() return vbox def item_item_layout2(self, item_item_pairs, sizegroup): """Widget packing method.""" rhs_size = gtk.SizeGroup(gtk.SIZE_GROUP_HORIZONTAL) vbox = gtk.VBox() vbox.set_spacing(2) for left, right in item_item_pairs: hbox = gtk.HBox() rhs_size.add_widget(left) sizegroup.add_widget(hbox) hbox.set_spacing(5) hbox.pack_start(left, False, False, 0) left.show() if right is not None: rhs_size.add_widget(right) hbox.pack_end(right, False, False, 0) right.show() vbox.pack_start(hbox, False, False, 0) hbox.show() return vbox def item_item_layout3(self, leftitems, rightitems): outer = gtk.HBox() wedge = gtk.HBox() outer.pack_start(wedge, False, False, 2) wedge = gtk.HBox() outer.pack_end(wedge, False, False, 2) lh = gtk.HBox() rh = gtk.HBox() outer.pack_start(lh, True, False, 0) outer.pack_start(rh, True, False, 0) lv = gtk.VBox() rv = gtk.VBox() lh.pack_start(lv, False, False, 0) rh.pack_start(rv, False, False, 0) lframe = gtk.Frame() lframe.set_shadow_type(gtk.SHADOW_OUT) rframe = gtk.Frame() rframe.set_shadow_type(gtk.SHADOW_OUT) lv.pack_start(lframe, True, False, 0) rv.pack_start(rframe, True, False, 0) lvi = gtk.VBox() lvi.set_border_width(5) lvi.set_spacing(7) rvi = gtk.VBox() rvi.set_border_width(5) rvi.set_spacing(7) lframe.add(lvi) rframe.add(rvi) for item in leftitems: lvi.pack_start(item, True, False, 0) for item in rightitems: rvi.pack_start(item, True, False, 0) return outer def label_item_layout(self, label_item_pairs, sizegroup): """Widget packing method.""" hbox = gtk.HBox() vbox_left = gtk.VBox() vbox_left.set_spacing(1) vbox_right = gtk.VBox() vbox_right.set_spacing(1) hbox.pack_start(vbox_left, False, False, 0) hbox.pack_start(vbox_right, True, True, 0) hbox.set_spacing(3) for text, item in label_item_pairs: if text is not None: labelbox = gtk.HBox() if type(text) == str: label = gtk.Label(text) else: label = text sizegroup.add_widget(label) labelbox.pack_end(label, False, False) label.show() vbox_left.pack_start(labelbox, False, False, 0) labelbox.show() itembox = gtk.HBox() sizegroup.add_widget(itembox) itembox.add(item) item.show() vbox_right.pack_start(itembox, False, False, 0) itembox.show() vbox_left.show() vbox_right.show() return hbox def send(self, string_to_send): Tab.send(self, "dev_type=streamer\n" + string_to_send) def receive(self): return Tab.receive(self) def cb_servertype(self, widget): sens = bool(widget.get_active()) for each in (self.mount_entry, self.login_entry): each.set_sensitive(sens) def server_reconnect(self): if self.connection_string: self.send("command=server_disconnect\n") self.receive() time.sleep(0.25) self.send(self.connection_string) self.receive() def cb_server_connect(self, widget): if widget.get_active(): self.start_stop_encoder(ENCODER_START) d = self.connection_pane.row_to_dict(0) # Determine the value to user for the user agent. if self.troubleshooting.custom_user_agent.get_active(): entry = self.troubleshooting.user_agent_entry user_agent = entry.get_text().strip() del entry else: user_agent = "" self.troubleshooting.user_agent_entry.get_text().strip() self.connection_string = "\n".join(( "stream_source=" + str(self.numeric_id), "server_type=" + ( "Icecast 2", "Shoutcast")[d["server_type"]], "host=" + d["host"], "port=%d" % d["port"], "mount=" + d["mount"], "login=" + d["login"], "password=" + d["password"], "useragent=" + user_agent, "dj_name=" + self.dj_name_entry.get_text().strip(), "listen_url=" + self.listen_url_entry.get_text().strip(), "description=" + self.description_entry.get_text().strip(), "genre=" + self.genre_entry.get_text().strip(), "irc=" + self.irc_entry.get_text().strip(), "aim=" + self.aim_entry.get_text().strip(), "icq=" + self.icq_entry.get_text().strip(), "make_public=" + str(bool(self.make_public.get_active())), "command=server_connect\n")) self.send(self.connection_string) self.is_shoutcast = d["server_type"] == 1 if self.receive() == "failed": self.server_connect.set_active(False) self.connection_string = None else: self.connection_pane.streaming_set(True) else: self.send("command=server_disconnect\n") self.receive() self.start_stop_encoder(ENCODER_STOP) self.connection_string = None self.connection_pane.streaming_set(False) def cb_test_monitor(self, widget): if widget.get_active(): self.start_stop_encoder(ENCODER_START) self.send("command=monitor_start\n") else: self.send("command=monitor_stop\n") self.start_stop_encoder(ENCODER_STOP) def start_stop_encoder(self, command): """Reference counting starter and stopper for the encoder.""" if command == ENCODER_START: self.format_control.start_encoder_rc() elif command == ENCODER_STOP: self.format_control.stop_encoder_rc() def server_type_cell_data_func(self, celllayout, cell, model, iter): text = model.get_value(iter, 0) if text == _('Shoutcast') and lame_enabled == 0: cell.set_property("sensitive", False) else: cell.set_property("sensitive", True) def cb_metadata(self, widget): if self.format_control.finalised: fallback = self.metadata_fallback.get_text() songname = self.scg.parent.songname.encode("utf-8") or fallback table = [("%%", "%")] + zip(("%r", "%t", "%l"), (( getattr(self.scg.parent, x) or fallback) for x in ( "artist", "title", "album"))) table.append(("%s", songname)) raw_cm = self.metadata.get_text().encode("utf-8", "replace").strip() cm = string_multireplace(raw_cm, table) fdata = self.format_control.get_settings() encoding = "utf-8" if fdata["family"] == "mpeg" and fdata["codec"] in ("mp2", "mp3", "aac", "aacpv2"): if fdata["metadata_mode"] == "utf-8": disp = songname else: encoding = "latin1" disp = songname.decode("utf-8").encode(encoding, "replace").decode(encoding) if not cm: cm = songname elif fdata["family"] == "ogg": disp = "[{0[%r]}], [{0[%t]}], [{0[%l]}]".format(dict(table)) else: disp = "no metadata string defined for this stream format: %s %s" % (fdata["family"], fdata["codec"]) if cm: cm = cm.decode("utf-8").encode(encoding, "replace") disp = cm.decode(encoding) if fdata["metadata_mode"] == "suppressed": disp = _('[Metadata suppressed]') self.metadata_display.push(0, disp) self.metadata_update.set_relief(gtk.RELIEF_HALF) self.scg.send("tab_id=%d\ndev_type=encoder\ncustom_meta=%s\n" "command=new_custom_metadata\n" % ( self.numeric_id, cm)) self.scg.receive() def cb_new_metadata_format(self, widget): self.metadata_update.set_relief(gtk.RELIEF_NORMAL) @threadslock def deferred_connect(self): """Intended to be called from a thread.""" self.server_connect.set_active(True) def cb_kick_incumbent(self, widget, post_action=lambda : None): """Try to remove whoever is using the server so that we can connect.""" mode = self.connection_pane.get_master_server_type() if mode == 0: return srv = ListLine(*self.connection_pane.liststore[0]) auth_handler = urllib2.HTTPBasicAuthHandler() if mode == 1: url = "http://" + urllib.quote(srv.host) + ":" + str(srv.port) + \ "/admin/killsource?mount=" + urllib.quote(srv.mount) auth_handler.add_password("Icecast2 Server", srv.host + ":" + \ str(srv.port), srv.login, srv.password) def check_reply(reply): try: elem = xml.etree.ElementTree.fromstring(reply) except xml.etree.ElementTree.ParseError: return False else: rslt = "succeeded" if elem.findtext("return") == "1" else \ "failed" print "kick %s: %s" % (rslt, elem.findtext("message")) return rslt == "succeeded" elif mode == 2: password = self.admin_password_entry.get_text().strip() or \ srv.password url = "http://" + urllib.quote(srv.host) + ":" + str(srv.port) + \ "/admin.cgi?mode=kicksrc" auth_handler.add_password("Shoutcast Server", srv.host + ":" + \ str(srv.port), "admin", password) def check_reply(reply): # Could go to lengths to check the XML stats here. # Thats one whole extra HTTP request. print "kick succeeded" return True opener = urllib2.build_opener(auth_handler) opener.addheaders = [('User-agent', 'Mozilla/5.0')] def threaded(): try: print url reply = opener.open(url).read() except urllib2.URLError, e: print "kick failed:", e else: check_reply(reply) post_action() Thread(target=threaded).start() def __init__(self, scg, numeric_id, indicator_lookup): Tab.__init__(self, scg, numeric_id, indicator_lookup) self.scg = scg self.show_indicator("clear") self.tab_type = "streamer" self.set_spacing(10) self.ic_expander = gtk.Expander(_('Individual Controls')) self.pack_start(self.ic_expander, False) self.ic_expander.show() self.ic_frame = gtk.Frame() ic_vbox = gtk.VBox() ic_vbox.set_border_width(10) ic_vbox.set_spacing(10) self.ic_frame.add(ic_vbox) ic_vbox.show() hbox = gtk.HBox() hbox.set_spacing(6) self.server_connect = gtk.ToggleButton() set_tip(self.server_connect, _('Connect to or disconnect from the radio' ' server. If the button does not stay in, the connection failed ' 'for some reason.\n\nIf the button is greyed out it means your ' 'settings within the \'Connections\' and \'Format\' sections are ' 'either incompatible with one another or are incomplete.\n\n' 'In order to stream a master server needs to be specified in the ' 'configuration section below and must be capable of handling the ' 'chosen streaming format.')) self.server_connect.connect("toggled", self.cb_server_connect) hbox.pack_start(self.server_connect, True, True, 0) self.server_connect_label = gtk.Label() self.server_connect_label.set_ellipsize(pango.ELLIPSIZE_MIDDLE) self.server_connect.add(self.server_connect_label) self.server_connect_label.show() self.server_connect.show() # TC: Kick whoever is on the server. self.kick_incumbent = gtk.Button(_('Kick Source')) self.kick_incumbent.connect("clicked", self.cb_kick_incumbent) set_tip(self.kick_incumbent, _('This will disconnect whoever is ' 'currently using the server, freeing it up for personal use.')) hbox.pack_start(self.kick_incumbent, False) self.kick_incumbent.show() ic_vbox.pack_start(hbox, False) hbox.show() hbox = gtk.HBox() hbox.set_spacing(6) label = gtk.Label(_('Connection timer:')) hbox.pack_start(label, False) label.show() self.start_timer = TimeEntry(_('Begin')) set_tip(self.start_timer, _('Automatically connect to the server at ' 'a specific time in 24 hour format, midnight being 00:00')) hbox.pack_start(self.start_timer, False) self.start_timer.show() self.kick_before_start = gtk.CheckButton(_('With kick')) self.kick_before_start.set_sensitive(False) set_tip(self.kick_before_start, _('Disconnect whoever is using the ' 'server just before start time.')) hbox.pack_start(self.kick_before_start, False) self.kick_before_start.show() self.start_timer.check.connect("toggled", lambda w: self.kick_before_start.set_sensitive(w.props.active)) self.stop_timer = TimeEntry(_('End')) set_tip(self.stop_timer, _('Automatically disconnect from the server ' 'at a specific time in 24 hour format.')) hbox.pack_end(self.stop_timer, False) self.stop_timer.show() ic_vbox.pack_start(hbox, False, False, 0) hbox.show() hbox = gtk.HBox() hbox.set_spacing(10) label = gtk.Label(_('At connect:')) hbox.pack_start(label, False, False, 0) label.show() # TC: [x] Start player (*) 1 ( ) 2 self.start_player_action = AutoAction(_('Start player'), ( ("1", self.source_client_gui.parent.player_left.play.clicked), ("2", self.source_client_gui.parent.player_right.play.clicked))) hbox.pack_start(self.start_player_action, False, False, 0) self.start_player_action.show() set_tip(self.start_player_action, _('Have one of the players start ' 'automatically when a radio server connection is successfully made.')) if PGlobs.num_recorders: vseparator = gtk.VSeparator() hbox.pack_start(vseparator, True, False, 0) vseparator.show() # TC: [x] Start recorder (*) 1 ( ) 2 self.start_recorder_action = AutoAction(_('Start recorder'), [ (chr(ord("1") + i), t.record_buttons.record_button.activate) for i, t in enumerate(self.source_client_gui.recordtabframe.tabs)]) hbox.pack_end(self.start_recorder_action, False, False, 0) if PGlobs.num_recorders: self.start_recorder_action.show() set_tip(self.start_recorder_action, _('Have a recorder start ' 'automatically when a radio server connection is successfully made.')) ic_vbox.pack_start(hbox, False, False, 0) hbox.show() frame = gtk.Frame(" %s " % _('Metadata')) table = gtk.Table(3, 3) table.set_border_width(6) table.set_row_spacings(1) table.set_col_spacings(4) frame.add(table) table.show() ic_vbox.pack_start(frame, False) frame.show() format_label = SmallLabel(_('Format String')) # TC: Label for the metadata fallback value. fallback_label = SmallLabel(_('Fallback')) self.metadata = HistoryEntryWithMenu() self.metadata.child.connect("changed", self.cb_new_metadata_format) self.metadata_fallback = gtk.Entry() self.metadata_fallback.set_width_chars(10) self.metadata_fallback.set_text("") self.metadata_update = gtk.Button() image = gtk.image_new_from_stock(gtk.STOCK_EXECUTE, gtk.ICON_SIZE_MENU) self.metadata_update.set_image(image) image.show() self.metadata_update.connect("clicked", self.cb_metadata) self.metadata_display = gtk.Statusbar() self.metadata_display.set_has_resize_grip(False) set_tip(self.metadata, _('You can enter text to accompany the stream ' 'here and can specify placemarkers %r %t %l %s for the artist, ' 'title, album, and songname respectively, or leave this text ' 'field blank to use the default metadata.\n\nSongname (%s) is ' 'derived from the filename in the absence of sufficient metadata,' ' while the other placemarkers will use the fallback text to the' ' right.\n\nWhen blank, Ogg streams will use the standard Vorbis' ' tags and mp3 will use %s.')) set_tip(self.metadata_fallback, _('The fallback text to use when %r %t' ' %l metadata is unavailable. See the format string to the left.')) set_tip(self.metadata_update, _('Metadata normally updates only on song' ' title changes but you can force an immediate update here.')) x = gtk.EXPAND f = gtk.FILL s = gtk.SHRINK arrangement = (((format_label, x|f), (fallback_label, s|f)), ((self.metadata, x|f), (self.metadata_fallback, s), (self.metadata_update, s))) for r, row in enumerate(arrangement): for c, (child, xopt) in enumerate(row): table.attach(child, c, c + 1, r, r + 1, xopt, s|f) child.show() table.attach(self.metadata_display, 0, 3, 2, 3, x|f, s|f) self.metadata_display.show() self.pack_start(self.ic_frame, False) self.details = gtk.Expander(_('Configuration')) set_tip(self.details, _('The controls for configuring a stream.')) self.pack_start(self.details, False) self.details.show() self.details_nb = gtk.Notebook() self.pack_start(self.details_nb, False) self.connection_pane = ConnectionPane(set_tip, self) label = gtk.Label(_('Connection')) self.details_nb.append_page(self.connection_pane, label) label.show() self.connection_pane.show() label = gtk.Label(_('Format')) # Format box self.format_control = FormatControl(self.send, self.receive) self.details_nb.append_page(self.format_control, label) self.format_control.connect("notify::cap-icecast", lambda a, b: self.connection_pane.set_button(self)) self.format_control.connect("notify::cap-shoutcast", lambda a, b: self.connection_pane.set_button(self)) label.show() vbox = gtk.VBox() # TC: Tab heading. User can enter information about the stream here. label = gtk.Label(_('Stream Info')) self.details_nb.append_page(vbox, label) label.show() vbox.show() self.dj_name_entry = DefaultEntry("eyedeejaycee") set_tip(self.dj_name_entry, _('Enter your DJ name or station name here.' ' Typically this information will be displayed by listener clients.')) self.listen_url_entry = DefaultEntry("http://www.example.com") set_tip(self.listen_url_entry, _('The URL of your radio station. This' ' and the rest of the information below is intended for display' ' on a radio station listings website.')) self.description_entry = gtk.Entry() set_tip(self.description_entry, _('A description of your radio station.')) genre_entry_box = gtk.HBox() genre_entry_box.set_spacing(12) self.genre_entry = DefaultEntry("Misc") set_tip(self.genre_entry, _('The musical genres you are likely to play.')) genre_entry_box.pack_start(self.genre_entry, True, True, 0) self.genre_entry.show() self.make_public = gtk.CheckButton(_('Make Public')) set_tip(self.make_public, _('Publish your radio station on a listings' ' website. The website in question will depend on how the server' ' to which you connect is configured.')) genre_entry_box.pack_start(self.make_public, False, False, 0) self.make_public.show() info_sizegroup = gtk.SizeGroup(gtk.SIZE_GROUP_VERTICAL) stream_details_pane = self.label_item_layout(( # TC: The DJ or Stream name. (_('DJ name'), self.dj_name_entry), (_('Listen URL'), self.listen_url_entry), # TC: Station description. (_('Description'), self.description_entry), (_('Genre(s)'), genre_entry_box) ), info_sizegroup) stream_details_pane.set_border_width(10) vbox.add(stream_details_pane) stream_details_pane.show() vbox = gtk.VBox() alhbox = gtk.HBox() alhbox.set_border_width(10) alhbox.set_spacing(3) label = gtk.Label(_('Master server admin password')) alhbox.pack_start(label, False) label.show() self.admin_password_entry = gtk.Entry() self.admin_password_entry.set_visibility(False) set_tip(self.admin_password_entry, _("This is for kick and stats on " "Shoutcast master servers that have an administrator password. For" " those that don't leave this blank (the source password is" " sufficient for those).")) alhbox.pack_start(self.admin_password_entry) self.admin_password_entry.show() vbox.pack_start(alhbox, False) alhbox.show() frame = CategoryFrame(" %s " % _('Contact Details')) frame.set_shadow_type(gtk.SHADOW_NONE) frame.set_border_width(0) self.irc_entry = gtk.Entry() set_tip(self.irc_entry, _('Internet Relay Chat connection info goes here.')) self.aim_entry = gtk.Entry() set_tip(self.aim_entry, _('Connection info for AOL instant messenger goes here.')) self.icq_entry = gtk.Entry() set_tip(self.icq_entry, _('ICQ instant messenger connection info goes here.')) contact_sizegroup = gtk.SizeGroup(gtk.SIZE_GROUP_VERTICAL) contact_details_pane = self.label_item_layout(( (_('IRC'), self.irc_entry), (_('AIM'), self.aim_entry), (_('ICQ'), self.icq_entry) ), contact_sizegroup) contact_details_pane.set_border_width(10) frame.add(contact_details_pane) contact_details_pane.show() vbox.pack_start(frame, False) frame.show_all() label = gtk.Label(_('Extra Shoutcast')) self.details_nb.append_page(vbox, label) label.show() vbox.show() label = gtk.Label(_("Troubleshooting")) self.troubleshooting = Troubleshooting() self.details_nb.append_page(self.troubleshooting, label) label.show() label = gtk.Label("IRC") self.ircpane = IRCPane() self.details_nb.append_page(self.ircpane, label) label.show() self.details_nb.set_current_page(0) self.objects = { "metadata" : (self.metadata, "history"), "metadata_fb" : (self.metadata_fallback, "text"), "prekick" : (self.kick_before_start, "active"), "connections" : (self.connection_pane, ("loader", "saver")), "stats_never" : (self.connection_pane.stats_never, "active"), "stats_always": (self.connection_pane.stats_always, "active"), "dj_name" : (self.dj_name_entry, "text"), "listen_url" : (self.listen_url_entry, "text"), "description" : (self.description_entry, "text"), "genre" : (self.genre_entry, "text"), "make_public" : (self.make_public, "active"), "contact_aim" : (self.aim_entry, "text"), "contact_irc" : (self.irc_entry, "text"), "contact_icq" : (self.icq_entry, "text"), "timer_start_active" : (self.start_timer.check, "active"), "timer_start_time" : (self.start_timer.entry, "text"), "timer_stop_active" : (self.stop_timer.check, "active"), "timer_stop_time" : (self.stop_timer.entry, "text"), "sc_admin_pass" : (self.admin_password_entry, "text"), "ic_expander" : (self.ic_expander, "expanded"), "conf_expander" : (self.details, "expanded"), "action_play_active" : (self.start_player_action, "active"), "action_play_which" : (self.start_player_action, "radioindex"), "action_record_active" : (self.start_recorder_action, "active"), "action_record_which" : (self.start_recorder_action, "radioindex"), "irc_data" : (self.ircpane, "marshall"), "format_data" : (self.format_control, "marshall"), "details_nb" : (self.details_nb, "current_page"), } self.objects.update(self.troubleshooting.objects) self.reconnection_dialog = ReconnectionDialog(self) class RecordTab(Tab): class RecordButtons(CategoryFrame): def cb_recbuttons(self, widget, userdata): changed_state = False if userdata == "rec": if widget.get_active(): if not self.recording: sd = self.parentobject.source_dest if sd.streamtab is not None: sd.streamtab.start_stop_encoder(ENCODER_START) num_id = sd.streamtab.numeric_id else: num_id = -1 filename = datetime.datetime.today().strftime(self.parentobject.scg.parent.prefs_window.recorder_filename.get_text().strip()) table = (("$$", "$"), ("$r", "%02d" % (self.parentobject.numeric_id + 1))) filename = string_multireplace(filename, table) self.parentobject.send("record_source=%d\n" "record_filename=%s\n" "record_folder=%s\ncommand=recorder_start\n" % ( num_id, filename, sd.file_chooser_button.get_current_folder())) sd.set_sensitive(False) self.parentobject.time_indicator.set_sensitive(True) self.recording = True if self.parentobject.receive() == "failed": self.stop_button.clicked() else: if self.stop_pressed: self.stop_pressed = False if self.recording == True: self.recording = False self.parentobject.send("command=recorder_stop\n") self.parentobject.receive() if self.parentobject.source_dest.streamtab is not None: control = self.parentobject.source_dest.streamtab control.start_stop_encoder(ENCODER_STOP) del control self.parentobject.source_dest.set_sensitive(True) self.parentobject.time_indicator.set_sensitive(False) if self.pause_button.get_active(): self.pause_button.set_active(False) else: widget.set_active(True) elif userdata == "stop": if self.recording: self.stop_pressed = True self.record_button.set_active(False) else: self.pause_button.set_active(False) elif userdata == "pause": if self.pause_button.get_active(): self.parentobject.send("command=recorder_pause\n") else: self.parentobject.send("command=recorder_unpause\n") self.parentobject.receive() def path2image(self, pathname): pixbuf = gtk.gdk.pixbuf_new_from_file_at_size(pathname, 14, 14) image = gtk.Image() image.set_from_pixbuf(pixbuf) image.show() return image def __init__(self, parent): CategoryFrame.__init__(self) self.parentobject = parent self.stop_pressed = False self.recording = False hbox = gtk.HBox() hbox.set_border_width(3) hbox.set_spacing(6) self.stop_button = gtk.Button() self.record_button = gtk.ToggleButton() self.pause_button = gtk.ToggleButton() for button, gname, signal, tip_text in ( (self.stop_button, "stop", "clicked", _('Stop recording.')), (self.record_button, "rec", "toggled", _('Start recording.\n\nIf this button is greyed out it ' 'could mean either the encoder settings are not valid or ' 'write permission is not granted on the selected folder.' )), (self.pause_button, "pause", "toggled", _('Pause recording.'))): button.set_size_request(30, -1) button.add(self.path2image(FGlobs.pkgdatadir / ( gname + ".png"))) button.connect(signal, self.cb_recbuttons, gname) hbox.pack_start(button, False, False, 0) button.show() set_tip(button, tip_text) self.add(hbox) hbox.show() class TimeIndicator(gtk.Entry): def set_value(self, seconds): if self.oldvalue != seconds: self.oldvalue = seconds minutes, seconds = divmod(seconds, 60) hours, minutes = divmod(minutes, 60) days, hours = divmod(hours, 24) if days > 10: # Shut off the recorder after 10 days recording. self.parentobject.record_buttons.stop_button.clicked() elif days >= 1: self.set_text("%dd:%02d:%02d" % (days, hours, minutes)) else: self.set_text("%02d:%02d:%02d" % (hours, minutes, seconds)) def button_press_cancel(self, widget, event): return True def __init__(self, parent): self.parentobject = parent gtk.Entry.__init__(self) self.set_width_chars(7) self.set_sensitive(False) self.set_editable(False) self.oldvalue = -1 self.set_value(0) self.connect("button-press-event", self.button_press_cancel) set_tip(self, _('Recording time elapsed.')) class SourceDest(CategoryFrame): cansave = False def set_sensitive(self, boolean): self.source_combo.set_sensitive(boolean) self.file_chooser_button.set_sensitive(boolean) def cb_source_combo(self, widget): sens = self.parentobject.record_buttons.record_button.set_sensitive if widget.get_active() > 0: self.streamtab = self.streamtabs[widget.get_active() - 1] sens(self.cansave and self.streamtab.format_control.props.cap_recordable) else: self.streamtab = None sens(self.cansave and self.source_store[self.source_combo.get_active()][1]) def populate_stream_selector(self, text, tabs): self.streamtabs = tabs for index in range(len(tabs)): self.source_store.append((" ".join((text, str(index + 1))), 1)) self.source_combo.connect("changed", self.cb_source_combo) self.source_combo.set_active(0) for tab in tabs: tab.format_control.connect("notify::cap-recordable", lambda w, v: self.source_combo.emit("changed")) def cb_new_folder(self, folder_chooser_button, path): self.cansave = os.access(path, os.W_OK) self.source_combo.emit("changed") def __init__(self, parent): self.parentobject = parent CategoryFrame.__init__(self) hbox = gtk.HBox() hbox.set_spacing(6) self.source_store = gtk.ListStore(str, int) self.source_combo = gtk.ComboBox(self.source_store) rend = gtk.CellRendererText() self.source_combo.pack_start(rend) self.source_combo.set_attributes(rend, text=0, sensitive=1) self.source_store.append((" FLAC+CUE", FGlobs.flacenabled)) hbox.pack_start(self.source_combo, False, False, 0) self.source_combo.show() arrow = gtk.Arrow(gtk.ARROW_RIGHT, gtk.SHADOW_IN) hbox.pack_start(arrow, False, False, 0) arrow.show() file_dialog = gtk.FileChooserDialog("", None, gtk.FILE_CHOOSER_ACTION_SELECT_FOLDER, (gtk.STOCK_CANCEL, gtk.RESPONSE_REJECT, gtk.STOCK_OK, gtk.RESPONSE_ACCEPT)) # TC: Dialog title bar text. file_dialog.set_title(_('Select the folder to record to' ) + pm.title_extra) file_dialog.set_do_overwrite_confirmation(True) self.file_chooser_button = FolderChooserButton(file_dialog) self.file_chooser_button.connect("current-folder-changed", self.cb_new_folder) self.file_chooser_button.set_current_folder(os.environ["HOME"]) hbox.pack_start(self.file_chooser_button, True, True, 0) self.file_chooser_button.show() self.add(hbox) hbox.show() set_tip(self.source_combo, _("Choose which stream to record or the" " 24 bit FLAC option. If the stream isn't already running the" " encoder will be started automatically using whatever settings" " are currently configured.")) set_tip(self.file_chooser_button, _('Choose which directory you ' 'want to save to. All file names will be in a timestamp format ' 'and have either an oga, mp3, or flac file extension. Important:' ' you need to select a directory to which you have adequate ' 'write permission.')) def send(self, string_to_send): Tab.send(self, "dev_type=recorder\n" + string_to_send) def receive(self): return Tab.receive(self) def show_indicator(self, colour): Tab.show_indicator(self, colour) self.scg.parent.recording_panel.indicator[self.numeric_id ].set_indicator(colour) def __init__(self, scg, numeric_id, indicator_lookup): Tab.__init__(self, scg, numeric_id, indicator_lookup) self.scg = scg self.numeric_id = numeric_id self.show_indicator("clear") self.tab_type = "recorder" hbox = gtk.HBox() hbox.set_spacing(10) self.pack_start(hbox, False, False, 0) hbox.show() self.source_dest = self.SourceDest(self) hbox.pack_start(self.source_dest, True, True, 0) self.source_dest.show() self.time_indicator = self.TimeIndicator(self) hbox.pack_start(self.time_indicator, False, False, 0) self.time_indicator.show() self.record_buttons = self.RecordButtons(self) hbox.pack_start(self.record_buttons, False, False, 0) self.record_buttons.show() self.objects = { "recording_source": (self.source_dest.source_combo, "active"), "recording_directory": (self.source_dest.file_chooser_button, "directory") } class TabFrame(ModuleFrame): def __init__(self, scg, frametext, q_tabs, tabtype, indicatorlist, tab_tip_text): ModuleFrame.__init__(self, " %s " % frametext) self.notebook = gtk.Notebook() self.notebook.set_border_width(8) self.vbox.add(self.notebook) self.notebook.show() self.tabs = [] self.indicator_image_qty = len(indicatorlist) for index in range(q_tabs): labelbox = gtk.HBox() labelbox.set_spacing(3) numlabel = gtk.Label(str(index + 1)) labelbox.add(numlabel) numlabel.show() indicator_lookup = {} for colour, indicator in indicatorlist: image = gtk.Image() pixbuf = gtk.gdk.pixbuf_new_from_file_at_size( FGlobs.pkgdatadir / (indicator + ".png"), 16, 16) image.set_from_pixbuf(pixbuf) labelbox.add(image) indicator_lookup[colour] = image self.tabs.append(tabtype(scg, index, indicator_lookup)) self.notebook.append_page(self.tabs[-1], labelbox) labelbox.show() set_tip(labelbox, tab_tip_text) class StreamTabFrame(TabFrame): def forall(self, widget, f, *args): for cb, tab in zip(self.togglelist, self.tabs): if cb.get_active(): f(tab, *args) def cb_metadata_group_set(self, tab): tab.metadata.set_text(self.metadata_group.get_text()) def cb_metadata_group_update(self, tab): self.cb_metadata_group_set(tab) tab.metadata_update.clicked() def cb_connect_toggle(self, tab, val): if tab.server_connect.flags() & gtk.SENSITIVE: tab.server_connect.set_active(val) def cb_kick_group(self, tab): tab.kick_incumbent.clicked() def cb_group_safety(self, widget): sens = widget.get_active() for each in (self.disconnect_group, self.kick_group): each.set_sensitive(sens) def __init__(self, scg, frametext, q_tabs, tabtype, indicatorlist, tab_tip_text): TabFrame.__init__(self, scg, frametext, q_tabs, tabtype, indicatorlist, tab_tip_text) outerframe = gtk.Frame() set_tip(outerframe, _('Perform operations on multiple servers in unison.')) outerframe.set_border_width(8) outerframe.set_shadow_type(gtk.SHADOW_OUT) gvbox = gtk.VBox() gvbox.set_border_width(8) gvbox.set_spacing(8) outerframe.add(gvbox) gvbox.show() hbox = gtk.HBox() hbox.set_spacing(5) gvbox.pack_start(hbox, False) hbox.show() self.connect_group = gtk.Button(_("Connect")) self.connect_group.connect("clicked", self.forall, self.cb_connect_toggle, True) hbox.add(self.connect_group) self.connect_group.show() frame = gtk.Frame() hbox.add(frame) frame.show() ihbox = gtk.HBox() ihbox.set_border_width(3) ihbox.set_spacing(6) frame.add(ihbox) ihbox.show() self.group_safety = gtk.CheckButton() self.group_safety.connect("toggled", self.cb_group_safety) ihbox.pack_start(self.group_safety, False) self.group_safety.show() self.disconnect_group = gtk.Button(_("Disconnect")) self.disconnect_group.connect("clicked", self.forall, self.cb_connect_toggle, False) self.disconnect_group.connect("clicked", lambda x: self.group_safety.set_active(False)) self.disconnect_group.set_sensitive(False) ihbox.add(self.disconnect_group) self.disconnect_group.show() self.kick_group = gtk.Button(_("Kick Sources")) self.kick_group.connect("clicked", self.forall, self.cb_kick_group) self.kick_group.connect("clicked", lambda x: self.group_safety.set_active(False)) self.kick_group.set_sensitive(False) ihbox.add(self.kick_group) self.kick_group.show() hbox = gtk.HBox() hbox.set_spacing(6) label = gtk.Label("%s " % _('Metadata:')) hbox.pack_start(label, False) label.show() self.metadata_group = HistoryEntryWithMenu() hbox.pack_start(self.metadata_group) self.metadata_group.show() self.metadata_group_set = gtk.Button() image = gtk.image_new_from_stock(gtk.STOCK_ADD, gtk.ICON_SIZE_MENU) self.metadata_group_set.set_image(image) image.show() self.metadata_group_set.connect("clicked", self.forall, self.cb_metadata_group_set) hbox.pack_start(self.metadata_group_set, False) self.metadata_group_set.show() self.metadata_group_update = gtk.Button() image = gtk.image_new_from_stock(gtk.STOCK_EXECUTE, gtk.ICON_SIZE_MENU) self.metadata_group_update.set_image(image) image.show() self.metadata_group_update.connect("clicked", self.forall, self.cb_metadata_group_update) hbox.pack_start(self.metadata_group_update, False) self.metadata_group_update.show() gvbox.pack_start(hbox, False) hbox.show() self.vbox.pack_start(outerframe, False) outerframe.show() self.vbox.reorder_child(outerframe, 0) self.objects = { "group_metadata": (self.metadata_group, "history") } self.togglelist = [gtk.CheckButton(str(x + 1)) for x in range(q_tabs)] hbox = gtk.HBox() label = gtk.Label(" %s " % _('Group Controls')) hbox.pack_start(label, False) label.show() for i, cb in enumerate(self.togglelist): hbox.pack_start(cb, False) cb.show() self.objects["group_toggle_" + str(i + 1)] = (cb, "active") spc = gtk.HBox() hbox.pack_end(spc, False, False, 2) spc.show() outerframe.set_label_widget(hbox) hbox.show() class SourceClientGui(dbus.service.Object): unexpected_reply = "unexpected reply from idjcsourceclient" @dbus.service.method(dbus_interface=PGlobs.dbus_bus_basename) def new_plugin_started(self): print "streamstate_cache purge" self._streamstate_cache = {} def monitor(self): self.led_alternate = not self.led_alternate streaming = recording = False # update the recorder LED indicators for rectab in self.recordtabframe.tabs: self.send("dev_type=recorder\ntab_id=%d\ncommand=get_report\n" % rectab.numeric_id) while 1: reply = self.receive() if reply == "succeeded" or reply == "failed": break if reply.startswith("recorder%dreport=" % rectab.numeric_id): recorder_state, recorded_seconds = reply.split("=")[ 1].split(":") rectab.show_indicator(("clear", "red", "amber", "clear")[ int(recorder_state)]) rectab.time_indicator.set_value(int(recorded_seconds)) if recorder_state != "0": recording = True update_listeners = False l_count = 0 for streamtab in self.streamtabframe.tabs: cp = streamtab.connection_pane cp.timer.run() # obtain connection stats if cp.timer.n == 0: update_listeners = True l_count += cp.listeners self.send("dev_type=streamer\ntab_id=%d\ncommand=get_report\n" % \ streamtab.numeric_id) reply = self.receive() if reply != "failed": self.receive() if reply.startswith("streamer%dreport=" % streamtab.numeric_id): streamer_state, stream_sendbuffer_pc, brand_new = \ reply.split("=")[1].split(":") state = int(streamer_state) self._handle_streamstate(streamtab.numeric_id, int(state > 1), streamtab) streamtab.show_indicator( ("clear", "amber", "green", "clear")[state]) streamtab.ircpane.connections_controller.set_stream_active( state > 1) mi = self.parent.stream_indicator[streamtab.numeric_id] if (streamer_state == "2"): mi.set_active(True) mi.set_value(int(stream_sendbuffer_pc)) if int(stream_sendbuffer_pc ) >= 100 and self.led_alternate: tshoot = streamtab.troubleshooting if tshoot.sbf_discard_audio.get_active(): streamtab.show_indicator("amber") mi.set_flash(True) else: streamtab.server_connect.set_active(False) streamtab.server_connect.set_active(True) print "remade the connection because stream " \ "buffer was full" del tshoot else: mi.set_flash(False) else: mi.set_active(False) mi.set_flash(False) if brand_new == "1": # Streamer connected triggers. streamtab.start_recorder_action.activate() streamtab.start_player_action.activate() streamtab.reconnection_dialog.deactivate() if streamer_state != "0": streaming = True elif streamtab.server_connect.get_active(): streamtab.server_connect.set_active(False) streamtab.reconnection_dialog.activate() else: print "sourceclientgui.monitor: bad reply for" \ " streamer data:", reply else: print "sourceclientgui.monitor:" \ " failed to get a report from the streamer" # the connection start/stop timers are processed here if streamtab.start_timer.get_active(): diff = time.localtime(time.time() - \ streamtab.start_timer.get_seconds_past_midnight()) # check hours, minutes, seconds for midnightness if not (diff[3] or diff[4] or diff[5]): streamtab.start_timer.check.set_active(False) if streamtab.kick_before_start.get_active(): streamtab.cb_kick_incumbent(None, streamtab.deferred_connect) else: streamtab.server_connect.set_active(True) if streamtab.stop_timer.get_active(): diff = time.localtime(int(time.time()) - \ streamtab.stop_timer.get_seconds_past_midnight()) if not (diff[3] or diff[4] or diff[5]): streamtab.server_connect.set_active(False) streamtab.stop_timer.check.set_active(False) self.autoshutdown_dialog.present() self.is_streaming = streaming self.is_recording = recording streamtab.reconnection_dialog.run() if update_listeners: self.parent.listener_indicator.set_text(str(l_count)) return True def _handle_streamstate(self, numeric_id, connected, streamtab): cache = self._streamstate_cache if cache is not None and (numeric_id not in cache or cache[numeric_id] != connected): cache[numeric_id] = connected self.streamstate_changed(numeric_id, connected, streamtab.server_connect_label.get_text()) @dbus.service.signal(dbus_interface=PGlobs.dbus_bus_basename, signature="uus") def streamstate_changed(self, numeric_id, state, where): pass def stop_streaming_all(self): for streamtab in self.streamtabframe.tabs: streamtab.server_connect.set_active(False) def stop_irc_all(self): for streamtab in self.streamtabframe.tabs: streamtab.ircpane.connections_controller.cleanup() def stop_recording_all(self): for rectab in self.recordtabframe.tabs: rectab.record_buttons.stop_button.clicked() def cleanup(self): self.stop_recording_all() self.stop_streaming_all() self.stop_irc_all() gobject.source_remove(self.monitor_source_id) self.monitor() def app_exit(self): if self.parent.session_loaded: self.parent.destroy() else: self.parent.destroy_hard() def receive(self): if not self.comms_reply_pending: raise RuntimeError("sc receive: nothing to receive") while 1: try: reply = self.parent.mixer_read() except: return "failed" if reply.startswith("idjcsc: "): reply = reply[8:-1] if reply == "succeeded" or reply == "failed": self.comms_reply_pending = False return reply else: print self.unexpected_reply, reply if reply == "" or reply == "Segmentation Fault\n": self.comms_reply_pending = False return "failed" def send(self, string_to_send): if self.comms_reply_pending: # Dump unused replies from previous send. raise RuntimeError("uncollected reply from previous command: " \ "\n%s+++" % self.comms_reply_pending) if not "tab_id=" in string_to_send: string_to_send = "tab_id=-1\n" + string_to_send self.parent.mixer_write(string_to_send + "end\n", "sc") self.comms_reply_pending = string_to_send def restart_streams_and_recorders(self): whichstreams = [] whichrecorders = [] s = self.streamtabframe.tabs for each in s: whichstreams.append(each.server_connect.get_active()) each.server_connect.set_active(False) r = self.recordtabframe.tabs for each in r: whichrecorders.append( each.record_buttons.record_button.get_active()) each.record_buttons.stop_button.clicked() for each in s: each.server_connect.set_active(whichstreams.pop(0)) for each in r: each.record_buttons.record_button.set_active(whichrecorders.pop(0)) def new_metadata(self, artist, title, album, songname): self.send("artist=%s\ntitle=%s\nalbum=%s\n" "command=new_song_metadata\n" % ( artist.strip(), title.strip(), album.strip())) if self.receive() == "succeeded": print "updated song metadata successfully" common = {"artist": artist, "title": title, "album": album, "songname": songname} # Update the custom metadata on all stream tabs. for tab in self.streamtabframe.tabs: tab.metadata_update.clicked() ircmetadata = {"djname": tab.dj_name_entry.get_text(), "description": tab.description_entry.get_text(), "url": tab.listen_url_entry.get_text() } ircmetadata.update(common) tab.ircpane.connections_controller.new_metadata(ircmetadata) def source_client_open(self): global lame_enabled self.comms_reply_pending = False self.send("command=jack_samplerate_request\n") reply = self.receive() if reply != "failed" and self.receive() == "succeeded": sample_rate_string = reply else: print self.unexpected_reply print "failed to obtain the sample rate" self.app_exit() if not sample_rate_string.startswith("sample_rate="): print self.unexpected_reply print "sample rate reply contains the following:", \ sample_rate_string self.app_exit() self.send("command=encoder_lame_availability\n") reply = self.receive() if reply != "failed" and self.receive() == "succeeded" and \ reply.startswith("lame_available="): if reply[15] == "1": lame_enabled = 1 else: lame_enabled = 0 else: print self.unexpected_reply self.app_exit() print "threads initialised" self.jack_sample_rate = int(sample_rate_string[12:]) print "jack sample rate is", self.jack_sample_rate try: for streamtab in self.streamtabframe.tabs: streamtab.stream_resample_frame.jack_sample_rate = \ self.jack_sample_rate streamtab.stream_resample_frame.resample_dummy_object.clicked() # update the stream tabs with the current jack sample rate except (NameError, AttributeError): # If this is the initial call the stream tabs will not exist yet. pass if FGlobs.avcodec: self.send("command=encoder_aac_availability\n") reply = self.receive() assert reply != "failed" and self.receive() == "succeeded" and \ reply.startswith("aac_functionality=") FormatCodecMPEG.aac_enabled = int(reply[-3]) FormatCodecMPEG.aacpv2_enabled = int(reply[-1]) else: FormatCodecMPEG.aac_enabled = 0 FormatCodecMPEG.aacpv2_enabled = 0 self.uptime = time.time() def cb_delete_event(self, widget, event, data = None): self.window.hide() return True def save_session_settings(self, where): try: # Check the following are initilised before proceeding. tabframes = (self, self.streamtabframe, self.recordtabframe) except AttributeError: return # Cancelled save. try: with open((where or pm.basedir) / "s_data", "w") as f: for tabframe in tabframes: for tab in tabframe.tabs: f.write("".join(("[", tab.tab_type, " ", str(tab.numeric_id), "]\n"))) for lvalue, (widget, method) in tab.objects.iteritems(): if type(method) == tuple: rvalue = widget.__getattribute__(method[1])() elif method == "active": rvalue = str(int(widget.get_active())) elif method == "text": rvalue = widget.get_text() elif method == "value": rvalue = str(widget.get_value()) elif method == "expanded": rvalue = str(int(widget.get_expanded())) elif method == "notebookpage": rvalue = str(widget.get_current_page()) elif method == "password": rvalue = widget.get_text() elif method == "history": rvalue = widget.get_history() elif method == "radioindex": rvalue = str(widget.get_radio_index()) elif method == "current_page": rvalue = str(widget.get_current_page()) elif method == "directory": rvalue = widget.get_current_folder() or "" elif method == "filename": rvalue = widget.get_filename() or "" elif method == "marshall": rvalue = widget.marshall() else: print "unsupported", lvalue, widget, method continue if method != "password" or \ self.parent.prefs_window.keeppass.get_active(): f.write("".join((lvalue, "=", rvalue, "\n"))) f.write("\n") except Exception as e: print "error attempting to write file: serverdata", e def load_previous_session(self): try: with open(pm.basedir / "s_data") as f: tabframe = None while 1: line = f.readline() if line == "": break else: line = line[:-1] # strip off the newline character if line == "": continue if line.startswith("[") and line.endswith("]"): try: name, numeric_id = line[1:-1].split(" ") except: print "malformed line:", line, "in serverdata file" tabframe = None else: if name == "server_window": tabframe = self elif name == "streamer": tabframe = self.streamtabframe elif name == "recorder": tabframe = self.recordtabframe else: print "unsupported element:", line, "in serverdata file" tabframe = None if tabframe is not None: try: tab = tabframe.tabs[int(numeric_id)] except: print "unsupported tab number:", line, "in serverdata file" tabframe = None else: if tabframe is not None: try: lvalue, rvalue = line.split("=", 1) except: print "not a valid key, value pair:", line, "in serverdata file" else: if not lvalue: print "key value is missing:", line, "in serverdata file" else: try: (widget, method) = tab.objects[lvalue] except KeyError: print "key value not recognised:", line, "in serverdata file" else: try: int_rvalue = int(rvalue) except: int_rvalue = None try: float_rvalue = float(rvalue) except: float_rvalue = None if type(method) == tuple: widget.__getattribute__(method[0])(rvalue) elif method == "active": if int_rvalue is not None: widget.set_active(int_rvalue) elif method == "expanded": if int_rvalue is not None: widget.set_expanded(int_rvalue) elif method == "value": if float_rvalue is not None: widget.set_value(float_rvalue) elif method == "notebookpage": if int_rvalue is not None: widget.set_current_page(int_rvalue) elif method == "radioindex": if int_rvalue is not None: widget.set_radio_index(int_rvalue) elif method == "current_page": widget.set_current_page(int_rvalue) elif method == "text": widget.set_text(rvalue) elif method == "password": widget.set_text(rvalue) elif method == "history": widget.set_history(rvalue) elif method == "directory": if rvalue: widget.set_current_folder(rvalue) elif method == "filename": if rvalue: rvalue = widget.set_filename(rvalue) elif method == "marshall": widget.unmarshall(rvalue) else: print "method", method, "is unsupported at this time hence widget pertaining to", lvalue, "will not be set" except Exception as e: if isinstance(e, IOError): print e else: traceback.print_exc() def cb_after_realize(self, widget): self.wst.apply() #widget.resize(int(self.win_x), 1) self.streamtabframe.connect_group.grab_focus() def cb_stream_details_expand(self, expander, param_spec, next_expander, sw): if expander.get_expanded(): sw.show() else: sw.hide() if expander.get_expanded() == next_expander.get_expanded(): if not expander.get_expanded(): self.window.resize((self.wst.get_x()), 1) else: pass else: next_expander.set_expanded(expander.get_expanded()) def cb_stream_controls_expand(self, expander, param_spec, next_expander, frame, details_shown): if expander.get_expanded(): frame.show() else: frame.hide() if expander.get_expanded() == next_expander.get_expanded(): self.window.resize((self.wst.get_x()), 1) else: next_expander.set_expanded(expander.get_expanded()) def update_metadata(self, text=None, filter=None): for tab in self.streamtabframe.tabs: if filter is None or str(tab.numeric_id) in filter: if text is not None: tab.metadata.set_text(text) tab.metadata_update.clicked() def cb_populate_recorder_menu(self, mi, tabs): menu = mi.get_submenu() def none(text): mi = gtk.MenuItem(text) mi.set_sensitive(False) menu.append(mi) mi.show() if not tabs: none(_('Recording Facility Unavailable')) elif not any(tab.record_buttons.record_button.get_sensitive() \ for tab in tabs): none(_('No Recorders Are Correctly Configured')) else: for tab in tabs: rec = tab.record_buttons.record_button stop = tab.record_buttons.stop_button sens = rec.get_sensitive() src = tab.source_dest.source_combo.get_active_text().strip() dest = tab.source_dest.file_chooser_button.get_current_folder() mi = gtk.CheckMenuItem() label = gtk.Label() label.set_alignment(0.0, 0.5) label.set_markup( # TC: Recorder menu format string. (_("{numericid} [{source}] > [{directory}]").format( numericid=tab.numeric_id + 1, source=src, directory=dest) if sens else " " + _('Misconfigured'))) mi.add(label) label.show() mi.set_active(rec.get_active()) mi.set_sensitive(sens) menu.append(mi) mi.show() mi.connect("activate", lambda w, r, s: r.set_active(r.get_sensitive()) if w.get_active() else s.clicked(), rec, stop) def cb_populate_streams_menu(self, mi, tabs): menu = mi.get_submenu() def none(text): mi = gtk.MenuItem(text) mi.set_sensitive(False) menu.append(mi) mi.show() if not tabs: none(_('Streaming Facility Unavailable')) elif not any(tab.server_connect.get_sensitive() for tab in tabs): none(_('No Streams Are Currently Configured')) else: sens = any(x.get_active() for x in self.streamtabframe.togglelist) mi = gtk.MenuItem(_('Group Connect')) mi.set_sensitive(sens) menu.append(mi) mi.show() mi.connect("activate", lambda w: self.streamtabframe.connect_group.clicked()) mi = gtk.MenuItem(_('Group Disconnect')) mi.set_sensitive(sens) menu.append(mi) mi.show() mi.connect("activate", lambda w: self.streamtabframe.disconnect_group.clicked()) spc = gtk.SeparatorMenuItem() menu.append(spc) spc.show() for tab in tabs: sc = tab.server_connect if sc.get_sensitive(): mi = gtk.CheckMenuItem(str(tab.numeric_id + 1) + " %s" % sc.get_children()[0].get_label()) mi.set_active(sc.get_active()) menu.append(mi) mi.show() mi.connect("activate", lambda w, b: b.set_active(w.get_active()), sc) def __init__(self, parent): self.parent = parent parent.server_window = self self.source_client_crash_count = 0 self.source_client_open() self.window = gtk.Window(gtk.WINDOW_TOPLEVEL) self.parent.window_group.add_window(self.window) # TC: Window title bar text. self.window.set_title(_('IDJC Output') + pm.title_extra) self.window.set_destroy_with_parent(True) self.window.set_border_width(11) self.window.set_resizable(True) self.window.connect_after("realize", self.cb_after_realize) self.window.connect("delete_event", self.cb_delete_event) self.wst = WindowSizeTracker(self.window) vbox = gtk.VBox() vbox.set_spacing(10) self.window.add(vbox) self.recordtabframe = TabFrame(self, _('Record'), PGlobs.num_recorders, RecordTab, ( ("clear", "led_unlit_clear_border_64x64"), ("amber", "led_lit_amber_black_border_64x64"), ("red", "led_lit_red_black_border_64x64")), _('Each one of these tabs represents a separate stream recorder.' ' The LED indicator colours represent the following: Clear=Stopped' ' Yellow=Paused Red=Recording.')) self.streamtabframe = StreamTabFrame(self, _('Stream'), PGlobs.num_streamers, StreamTab, ( ("clear", "led_unlit_clear_border_64x64"), ("amber", "led_lit_amber_black_border_64x64"), ("green", "led_lit_green_black_border_64x64")), _('Each one of these tabs represents a separate radio streamer. ' 'The LED indicator colours represent the following: Clear=No ' 'connection Yellow=Awaiting authentication. Green=Connected. ' 'Flashing=Packet loss due to a bad connection.')) tab = self.streamtabframe.tabs[-1] for next_tab in self.streamtabframe.tabs: tab.details.connect("notify::expanded", self.cb_stream_details_expand, next_tab.details, tab.details_nb) tab.ic_expander.connect("notify::expanded", self.cb_stream_controls_expand, next_tab.ic_expander, tab.ic_frame, self.streamtabframe.tabs[0].details.get_expanded) tab = next_tab self.streamtabframe.set_sensitive(True) vbox.pack_start(self.streamtabframe, True, True, 0) self.streamtabframe.show() for rectab in self.recordtabframe.tabs: rectab.source_dest.populate_stream_selector(_(' Stream '), self.streamtabframe.tabs) self.parent.menu.recordersmenu_i.connect("activate", self.cb_populate_recorder_menu, self.recordtabframe.tabs) self.parent.menu.streamsmenu_i.connect("activate", self.cb_populate_streams_menu, self.streamtabframe.tabs) vbox.pack_start(self.recordtabframe, False, False, 0) if PGlobs.num_recorders: self.recordtabframe.show() vbox.show() self.tabs = (self, ) self.numeric_id = 0 self.tab_type = "server_window" self.objects = {"wst" : (self.wst, "text"), "streamer_page": (self.streamtabframe.notebook, "notebookpage"), "recorder_page": (self.recordtabframe.notebook, "notebookpage"), "controls_shown": (self.streamtabframe.tabs[0].ic_expander, "expanded")} self.objects.update(self.streamtabframe.objects) self.load_previous_session() self.is_streaming = False self.is_recording = False self.led_alternate = False self.last_message_time = 0 self.connection_string = None self.is_shoutcast = False self._streamstate_cache = None self.dialog_group = dialog_group() self.disconnected_dialog = disconnection_notification_dialog( self.dialog_group, self.parent.window_group, "", _('A connection to a radio server' ' has failed.\n\nReconnection will not be attempted.')) self.autoshutdown_dialog = disconnection_notification_dialog( self.dialog_group, self.parent.window_group, "", _('A scheduled stream' ' disconnection has occurred.')) self.monitor_source_id = gobject.timeout_add(250, threadslock(self.monitor)) self.window.realize() # Prevent a rendering bug. dbus.service.Object.__init__(self, pm.dbus_bus_name, PGlobs.dbus_objects_basename + "/output") idjc-0.8.9/python/licence_window.py0000644000175000017500000004713212113174301014246 00000000000000# licence_window.py: Window for displaying the licence under which this # program is released. # # Copyright (C) 2008 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . __all__ = ['LicenceWindow'] import gtk from idjc import FGlobs class LicenceWindow(gtk.ScrolledWindow): gpl_text = """ GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Lesser General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. """ def cb_delete_window_event(self, widget, event): self.hide() return True def __init__(self): gtk.ScrolledWindow.__init__(self) self.set_policy(gtk.POLICY_NEVER, gtk.POLICY_ALWAYS) self.set_shadow_type(gtk.SHADOW_ETCHED_IN) text_view = gtk.TextView() text_view.set_wrap_mode(gtk.WRAP_WORD) text_view.set_editable(False) text_view.unset_flags(gtk.CAN_FOCUS) text_view.set_left_margin(8) text_view.set_right_margin(8) self.add(text_view) text_buffer = gtk.TextBuffer() tag = text_buffer.create_tag() tag.set_property("font", "sans 8") text_buffer.insert_with_tags(text_buffer.get_start_iter(), self.gpl_text, tag) text_view.set_buffer(text_buffer) text_view.show() idjc-0.8.9/python/format.py0000644000175000017500000016123512122606253012554 00000000000000# format.py: format selection user interface widgets # Copyright (C) 2012 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . import json import gettext import ctypes from abc import ABCMeta, abstractmethod, abstractproperty import gtk import gobject from idjc import FGlobs from .gtkstuff import LEDDict from .tooltips import set_tip _ = gettext.translation(FGlobs.package_name, FGlobs.localedir, fallback=True).gettext class TestEncoder(object): __metaclass__ = ABCMeta @abstractproperty def default_bitrate_stereo(self): """A guaranteed good bitrate when encoding 2 channels.""" return int() @abstractproperty def default_bitrate_mono(self): """A guaranteed good bitrate when encoding 1 channel. Ideally the same value as for stereo if possible.""" return int() @abstractproperty def default_samplerate(self): """Typically 44100Hz unless the encoder won't support this.""" return int() @abstractproperty def suggested_samplerates(self): """Useful samplerates for user interface dropdown selection. These values are for EncoderRange to verify. """ return tuple() @abstractproperty def suggested_bitrates(self): """Useful bitrates for user interface dropdown selection. These values are for EncoderRange to verify. """ return tuple() @abstractmethod def test(self, channels, samplerate, bitrate): return bool() class VorbisTestEncoder(TestEncoder): class _VORBIS_INFO(ctypes.Structure): _fields_ = [("version", ctypes.c_int), ("channels", ctypes.c_int), ("rate", ctypes.c_long), ("bitrate_upper", ctypes.c_long), ("bitrate_nominal", ctypes.c_long), ("bitrate_lower", ctypes.c_long), ("bitrate_window", ctypes.c_long), ("codec_setup", ctypes.c_void_p)] _lv = ctypes.CDLL("libvorbis.so.0") _lve = ctypes.CDLL("libvorbisenc.so.2") def __init__(self): self._vi = self._VORBIS_INFO() @property def default_bitrate_stereo(self): return 128000 @property def default_bitrate_mono(self): return 128000 @property def default_samplerate(self): return 44100 @property def suggested_samplerates(self): return (48000, 44100, 32000, 22050, 11025) @property def suggested_bitrates(self): return (192000, 160000, 128000, 112000, 96000, 80000, 64000, 48000, 45000, 32000) def test(self, channels, samplerate, bitrate): """Test run these encoder settings with a vorbis encoder. A return value of True indicates that encoding would work for the provided settings. """ vi = self._vi self._lv.vorbis_info_init(ctypes.byref(vi)) error_code = self._lve.vorbis_encode_init(ctypes.byref(vi), ctypes.c_long(channels), ctypes.c_long(samplerate), ctypes.c_long(-1), ctypes.c_long(bitrate), ctypes.c_long(-1)) self._lv.vorbis_info_clear(ctypes.byref(vi)) return error_code == 0 class EncoderRange(object): """Test out the limits of an encoder's settings.""" def __init__(self, encoder): """An instance of EncoderRange can probe one type of encoder. @encoder: an instance of TestEncoder """ self._encoder = encoder self._test = encoder.test self._working_bitrate = {1: encoder.default_bitrate_mono, 2: encoder.default_bitrate_stereo} def _boundary_search(self, variable_span, test): """Encoder working boundary value finder. @variable_span is a list of two integers that form the search range. The algorithm will find the lowest limit value if the first value is smaller and the highest limit value if the first value is bigger. @test is a function that takes one value, the variable under test and returns boolean true indicating success. """ span_1 = variable_span found = None while 1: val1 = None span_2 = [] for val2 in span_1: if val1 is None: if abs(span_1[0] - span_1[-1]) + 1 == len(span_1): return found val1 = val2 continue span_2.append(val1) mid = abs(val1 - val2) // 2 + min(val1, val2) if min(val1, val2) < mid < max(val1, val2): span_2.append(mid) if test(mid): found = mid span_1 = [val1, mid] val1 = None break val1 = val2 else: span_1 = [span_2[-1], val1] if found is not None \ else span_2 + [val1] def lowest_bitrate(self, channels, samplerate): """Calculate the lowest working bitrate.""" return self._boundary_search([8000, 1000000], lambda bitrate: self._test(channels, samplerate, bitrate)) def highest_bitrate(self, channels, samplerate): """Calculate the highest working bitrate.""" return self._boundary_search([1000000, 8000], lambda bitrate: self._test(channels, samplerate, bitrate)) def lowest_samplerate(self, channels, bitrate): """Calculate the lowest working samplerate.""" return self._boundary_search([4000, 200000], lambda samplerate: self._test(channels, samplerate, bitrate)) def highest_samplerate(self, channels, bitrate): """Calculate the highest working samplerate.""" return self._boundary_search([200000, 4000], lambda samplerate: self._test(channels, samplerate, bitrate)) def bitrate_bounds(self, channels, samplerate): """Lowest and highest working bitrate as a 2 tuple.""" return self.lowest_bitrate(channels, samplerate), \ self.highest_bitrate(channels, samplerate) def samplerate_bounds(self, channels, bitrate): """Lowest and highest working samplerate as a 2 tuple.""" return self.lowest_samplerate(channels, bitrate), \ self.highest_samplerate(channels, bitrate) def bounds(self, channels): """Find the absolute lowest and highest encoder supported settings. Return value: dictionary containing 2 tuples for samplerate and bitrate Inputs: @channels: 1 for mono, 2 for stereo. """ srb = self.samplerate_bounds(channels, self._working_bitrate[channels]) oldbrb = brb = oldsrb = None, None while brb != oldbrb or oldsrb != srb: oldbrb = brb oldsrb = srb brb = (self.bitrate_bounds(channels, srb[0])[0], self.bitrate_bounds(channels, srb[1])[1]) srb = (self.samplerate_bounds(channels, brb[0])[0], self.samplerate_bounds(channels, brb[1])[1]) return {"samplerate_bounds": srb, "bitrate_bounds": brb} def good_samplerates(self, channels, bitrate=None): """Returns a tuple of standard suggestion values.""" if bitrate is None: lower, upper = self.bounds(channels)["samplerate_bounds"] else: lower, upper = self.samplerate_bounds(channels, bitrate) return tuple(x for x in self._encoder.suggested_samplerates if lower <= x <= upper) def good_bitrates(self, channels, samplerate=None): """Returns a tuple of standard suggestion values.""" if samplerate is None: lower, upper = self.bounds(channels)["bitrate_bounds"] else: lower, upper = self.bitrate_bounds(channels, samplerate) return tuple(x for x in self._encoder.suggested_bitrates if lower <= x <= upper) def format_collate(specifier): """Takes a FormatDropdown or FormatSpin object, obtains the settings.""" d = {} if specifier.prev_object is not None: d.update(format_collate(specifier.prev_object)) d[specifier.ident] = specifier.value if not specifier.applied: d["__unapplied__"] = specifier.ident return d class FormatDropdown(gtk.VBox): def __init__(self, prev_object, title, ident, elements, row, tooltip=None): """Parameter 'elements' is a tuple of dictionaries. @title: appears above the widget @name: is the official name of the control element @elements: is tuple of dictionary objects mandatory keys of which are 'display_text' and 'value'. """ self.prev_object = prev_object self._ident = ident self._row = row gtk.VBox.__init__(self) frame = gtk.Frame(" %s " % title) frame.set_label_align(0.5, 0.5) if tooltip is not None: set_tip(frame, tooltip) self.pack_start(frame, fill=False) size_group = gtk.SizeGroup(gtk.SIZE_GROUP_VERTICAL) vbox = gtk.VBox() vbox.set_border_width(3) frame.add(vbox) model = gtk.ListStore(gobject.TYPE_PYOBJECT) default = 0 for index, each in enumerate(elements): if "default" in each and each["default"]: default = index model.append(((each),)) cell_text = gtk.CellRendererText() self._combo_box = gtk.ComboBox(model) size_group.add_widget(self._combo_box) self._combo_box.pack_start(cell_text) self._combo_box.set_cell_data_func(cell_text, self._cell_data_func) vbox.pack_start(self._combo_box, False) self._fixed = gtk.Label() size_group.add_widget(self._fixed) vbox.pack_start(self._fixed, False) self._fixed.set_no_show_all(True) self._combo_box.connect("changed", self._on_changed) self._combo_box.set_active(default) self.show_all() def _cell_data_func(self, cell_layout, cell, model, iter): dict_ = model.get_value(iter, 0) cell.props.text = dict_["display_text"] cell.props.sensitive = dict_.get("sensitive", True) def _on_changed(self, combo_box): text = combo_box.props.model[combo_box.props.active][0]["display_text"] self._fixed.set_text(text) @property def next_element_name(self): cbp = self._combo_box.props try: return cbp.model[cbp.active][0]["chain"] except KeyError: return None @property def applied(self): return self._fixed.props.visible @property def row(self): return self._row @property def ident(self): return self._ident def apply(self): cbp = self._combo_box.props if cbp.model[cbp.active][0].get("sensitive", True): self._combo_box.hide() self._fixed.show() return True else: return False def unapply(self): self._combo_box.show() self._fixed.hide() @property def value(self): cbp = self._combo_box.props return cbp.model[cbp.active][0]["value"] @value.setter def value(self, data): if not self.applied: cbp = self._combo_box.props for i, each in enumerate(cbp.model): if each[0]["value"] == data: self._combo_box.set_active(i) break class FormatSpin(gtk.VBox): def __init__(self, prev_object, title, ident, elements, row, unit, next_element_name, suggested_values, tooltip=None): """Parameter 'elements' is a tuple of dictionaries. @title: appears above the widget @name: is the official name of the control element @elements: the values of the gtk.Adjustment as integers @unit: e.g. " Hz" @suggested_values: sequence of standard values """ self.prev_object = prev_object self._ident = ident self._row = row self._unit = unit self._next_element_name = next_element_name gtk.VBox.__init__(self) frame = gtk.Frame(" %s " % title) frame.set_label_align(0.5, 0.5) if tooltip is not None: set_tip(frame, tooltip) self.pack_start(frame, fill=False) vbox = gtk.VBox() vbox.set_border_width(3) frame.add(vbox) adjustment = gtk.Adjustment(*(float(x) for x in elements)) self._spin_button = gtk.SpinButton(adjustment) if suggested_values is not None: self._spin_button.connect("populate_popup", self._on_populate_popup, suggested_values) if tooltip is None: set_tip(self._spin_button, _('Right click for suggested values.')) vbox.pack_start(self._spin_button, False) self._fixed = gtk.Label() self._fixed.set_alignment(0.5, 0.5) vbox.pack_start(self._fixed) self._fixed.set_no_show_all(True) self._spin_button.connect("value-changed", self._on_changed) self._spin_button.emit("value-changed") self.show_all() size_group = gtk.SizeGroup(gtk.SIZE_GROUP_VERTICAL) size_group.add_widget(prev_object.get_children()[0]) size_group.add_widget(frame) def _on_changed(self, spin_button): self._fixed.set_text(str(int(spin_button.props.value)) + self._unit) def _on_populate_popup(self, spin, menu, values): mi = gtk.MenuItem(_('Suggested Values')) menu.append(mi) mi.show() submenu = gtk.Menu() mi.set_submenu(submenu) submenu.show() for each in values: mi = gtk.MenuItem(str(each)) mi.connect("activate", self._on_popup_activate, spin, each) submenu.append(mi) mi.show() def _on_popup_activate(self, menuitem, spin, value): spin.set_value(value) @property def next_element_name(self): return self._next_element_name @property def applied(self): return self._fixed.props.visible @property def row(self): return self._row @property def ident(self): return self._ident def apply(self): self._spin_button.hide() self._fixed.show() return True def unapply(self): self._spin_button.show() self._fixed.hide() @property def value(self): return str(int(self._spin_button.props.value)) @value.setter def value(self, value): if not self.applied: self._spin_button.props.value = int(value) class FormatPregain(FormatDropdown): """Level adjustment for audio before hitting the codec.""" def __init__(self, prev_object): codec = format_collate(prev_object)["codec"] FormatDropdown.__init__(self, prev_object, _('Pregain'), "pregain", ( dict(display_text=_('0 dB'), value="1.0"), dict(display_text=_('-0.5 dB'), value="0.944"), dict(display_text=_('-1.0 dB'), value="0.891", default=(codec in ("aac", "aacpv2"))), dict(display_text=_('-1.5 dB'), value="0.841"), dict(display_text=_('-2.0 dB'), value="0.794", default=(codec in ("mp2", "mp3"))), dict(display_text=_('-2.5 dB'), value="0.750"), dict(display_text=_('-3.0 dB'), value="0.708", default=(codec == "speex"))), 1, _("A blanket gain reduction to promote audio quality when using long established lossy audio codecs like mp3 with loud audio material.\n\n" "ReplayGain makes this feature generally unnecessary and the correct setting in that case is 0 dB.")) class FormatResampleQuality(FormatDropdown): """Resample quality.""" def __init__(self, prev_object): FormatDropdown.__init__(self, prev_object, _('Resample Quality'), "resample_quality", ( dict(display_text=_('Highest'), value="highest", chain="FormatPregain"), dict(display_text=_('Medium'), value="medium", chain="FormatPregain", default=True), dict(display_text=_('Lowest'), value="lowest", chain="FormatPregain")), 1, _("All of these settings will provide adequate audio quality. The highest setting will preserve more of the original audio bandwidth at the expense of many CPU cycles.")) class FormatMetadataChoice(FormatDropdown): """User can select the metadata encoding format.""" def __init__(self, prev_object): FormatDropdown.__init__(self, prev_object, _('Metadata'), "metadata_mode", ( dict(display_text=_('Suppressed'), value="suppressed", chain="FormatResampleQuality"), dict(display_text=_('UTF-8'), value="utf-8", chain="FormatResampleQuality"), dict(display_text=_('Latin1 *'), value="latin1", chain="FormatResampleQuality", default=True)), 1, _("This affects the stream metadata only. Recordings will use UTF-8 for their metadata.")) class FormatMetadataUTF8(FormatDropdown): """User can select whether to have metadata.""" def __init__(self, prev_object): FormatDropdown.__init__(self, prev_object, _('Metadata'), "metadata_mode", ( dict(display_text=_('Suppressed'), value="suppressed", chain="FormatResampleQuality"), dict(display_text=_('UTF-8'), value="utf-8", chain="FormatResampleQuality", default=True)), 1, _("Choose whether the stream will carry dynamic metadata. In the case of Ogg streams this is important as a great many players can't handle chained Ogg streams which result from the metadata updates.")) class FormatMetadataLatin1(FormatDropdown): """User can select whether to have metadata.""" def __init__(self, prev_object): FormatDropdown.__init__(self, prev_object, _('Metadata'), "metadata_mode", ( dict(display_text=_('Suppressed'), value="suppressed", chain="FormatResampleQuality"), dict(display_text=_('Latin1'), value="latin1", chain="FormatResampleQuality", default=True)), 1, _("Choose whether to send metadata. Recordings will use UTF-8 metadata.")) class FormatCodecMPEGMP2Mode(FormatDropdown): """MP2 modes.""" def __init__(self, prev_object): bitrate = int(format_collate(prev_object)["bitrate"]) if bitrate < 80: defmode = "mono" elif bitrate < 192: defmode = "jointstereo" else: defmode = "stereo" FormatDropdown.__init__(self, prev_object, _('Mode'), "mode", ( dict(display_text=_("Mono"), value="mono", default=(defmode == "mono"), chain="FormatMetadataChoice"), dict(display_text=_("Stereo"), value="stereo", default=(defmode == "stereo"), chain="FormatMetadataChoice"), dict(display_text=_("Joint Stereo"), value="jointstereo", default=(defmode=="jointstereo"), chain="FormatMetadataChoice")), 0, _('Joint Stereo is a good choice on streams with low bitrates.')) class FormatCodecMPEGMP2ModeStereo(FormatDropdown): """MP2 modes. No mono option due to previous bitrate choice.""" def __init__(self, prev_object): FormatDropdown.__init__(self, prev_object, _('Mode'), "mode", ( dict(display_text=_("Mono"), value="mono", sensitive=False, chain="FormatMetadataLatin1"), dict(display_text=_("Stereo"), value="stereo", default=True, chain="FormatMetadataLatin1"), dict(display_text=_("Joint Stereo"), value="jointstereo", chain="FormatMetadataLatin1")), 0, _('Due to the high bitrate selected, this codec will only support stereo.')) class FormatCodecMPEGMP2ModeSingle(FormatDropdown): """MP2 modes. Only mono available due to previous bitrate choice.""" def __init__(self, prev_object): FormatDropdown.__init__(self, prev_object, _('Mode'), "mode", ( dict(display_text=_("Mono"), value="mono", chain="FormatMetadataLatin1"), dict(display_text=_("Stereo"), value="stereo", sensitive=False, chain="FormatMetadataLatin1"), dict(display_text=_("Joint Stereo"), value="jointstereo", sensitive=False, chain="FormatMetadataLatin1")), 0, _('Due to the low bitrate selected, this codec will only support mono.')) class FormatCodecMPEGMP2V1BitRates(FormatDropdown): """MP2 MPEG1 bit rates. Some channel modes are restricted by bitrate.""" def __init__(self, prev_object): FormatDropdown.__init__(self, prev_object, _('Bitrate'), "bitrate", ( dict(display_text="384 kHz", value="384", chain="FormatCodecMPEGMP2ModeStereo"), dict(display_text="320 kHz", value="320", chain="FormatCodecMPEGMP2ModeStereo"), dict(display_text="256 kHz", value="256", chain="FormatCodecMPEGMP2ModeStereo"), dict(display_text="224 kHz", value="224", chain="FormatCodecMPEGMP2ModeStereo"), dict(display_text="192 kHz", value="192", chain="FormatCodecMPEGMP2Mode"), dict(display_text="160 kHz", value="160", chain="FormatCodecMPEGMP2Mode", default=True), dict(display_text="128 kHz", value="128", chain="FormatCodecMPEGMP2Mode"), dict(display_text="112 kHz", value="112", chain="FormatCodecMPEGMP2Mode"), dict(display_text="96 kHz", value="96", chain="FormatCodecMPEGMP2Mode"), dict(display_text="80 kHz", value="80", chain="FormatCodecMPEGMP2ModeSingle"), dict(display_text="64 kHz", value="64", chain="FormatCodecMPEGMP2Mode"), dict(display_text="56 kHz", value="56", chain="FormatCodecMPEGMP2ModeSingle"), dict(display_text="48 kHz", value="48", chain="FormatCodecMPEGMP2ModeSingle"), dict(display_text="32 kHz", value="32", chain="FormatCodecMPEGMP2ModeSingle")), 0) class FormatCodecMPEGMP2V2BitRates(FormatDropdown): """MP2 MPEG2 bit rates.""" def __init__(self, prev_object): FormatDropdown.__init__(self, prev_object, _('Bitrate'), "bitrate", ( dict(display_text="160 kHz", value="160", chain="FormatCodecMPEGMP2Mode"), dict(display_text="144 kHz", value="144", chain="FormatCodecMPEGMP2Mode"), dict(display_text="128 kHz", value="128", chain="FormatCodecMPEGMP2Mode"), dict(display_text="112 kHz", value="112", chain="FormatCodecMPEGMP2Mode"), dict(display_text="96 kHz", value="96", chain="FormatCodecMPEGMP2Mode"), dict(display_text="80 kHz", value="80", chain="FormatCodecMPEGMP2Mode", default=True), dict(display_text="64 kHz", value="64", chain="FormatCodecMPEGMP2Mode"), dict(display_text="56 kHz", value="56", chain="FormatCodecMPEGMP2Mode"), dict(display_text="48 kHz", value="48", chain="FormatCodecMPEGMP2Mode"), dict(display_text="40 kHz", value="40", chain="FormatCodecMPEGMP2Mode"), dict(display_text="32 kHz", value="32", chain="FormatCodecMPEGMP2Mode"), dict(display_text="24 kHz", value="24", chain="FormatCodecMPEGMP2Mode"), dict(display_text="16 kHz", value="16", chain="FormatCodecMPEGMP2Mode"), dict(display_text="8 kHz", value="8", chain="FormatCodecMPEGMP2Mode")), 0) class FormatCodecMPEGMP2V1SampleRates(FormatDropdown): """MP2 MPEG1 sample rates.""" def __init__(self, prev_object): FormatDropdown.__init__(self, prev_object, _('Samplerate'), "samplerate", ( dict(display_text="48000 Hz", value="48000", chain="FormatCodecMPEGMP2V1BitRates"), dict(display_text="44100 Hz", value="44100", chain="FormatCodecMPEGMP2V1BitRates", default=True), dict(display_text="32000 Hz", value="32000", chain="FormatCodecMPEGMP2V1BitRates")), 0) class FormatCodecMPEGMP2V2SampleRates(FormatDropdown): """MP2 MPEG2 sample rates.""" def __init__(self, prev_object): FormatDropdown.__init__(self, prev_object, _('Samplerate'), "samplerate", ( dict(display_text="24000 Hz", value="24000", chain="FormatCodecMPEGMP2V2BitRates"), dict(display_text="22050 Hz", value="22050", chain="FormatCodecMPEGMP2V2BitRates", default=True), dict(display_text="16000 Hz", value="16000", chain="FormatCodecMPEGMP2V2BitRates")), 0) class FormatCodecMPEGMP2(FormatDropdown): """MP2 standard selection.""" def __init__(self, prev_object): # TC: Abbreviation of the word, standard. FormatDropdown.__init__(self, prev_object, _('Std.'), "standard", ( # TC: v stands for version. dict(display_text=_("V 1"), value="1", chain="FormatCodecMPEGMP2V1SampleRates"), # TC: v stands for version. dict(display_text=_("V 2"), value="2", chain="FormatCodecMPEGMP2V2SampleRates")), 0, _('MPEG2 introduced lower samplerate options and corresponding lower bitrates. Choose 2 if those are required.')) class FormatCodecMPEGMP3Quality(FormatDropdown): """MP3 quality.""" def __init__(self, prev_object): FormatDropdown.__init__(self, prev_object, _('Quality'), "quality", ( dict(display_text=_('0 most'), value="0", chain="FormatMetadataChoice"), dict(display_text="1", value="1", chain="FormatMetadataChoice"), # TC: * means is the recommended setting. dict(display_text=_("2 *"), value="2", chain="FormatMetadataChoice", default=True)) + tuple( dict(display_text=str(x), value=str(x), chain="FormatMetadataChoice") for x in range(3, 10)), 0, _('Higher quality costs more in terms of CPU cycles.')) class FormatCodecMPEGMP3Mode(FormatDropdown): """MP3 modes.""" def __init__(self, prev_object): bitrate = int(format_collate(prev_object)["bitrate"]) if bitrate < 64: defmode = "mono" elif bitrate < 160: defmode = "jointstereo" else: defmode = "stereo" FormatDropdown.__init__(self, prev_object, _('Mode'), "mode", ( dict(display_text=_("Mono"), value="mono", default=(defmode == "mono"), chain="FormatCodecMPEGMP3Quality"), dict(display_text=_("Stereo"), value="stereo", default=(defmode == "stereo"), chain="FormatCodecMPEGMP3Quality"), dict(display_text=_("Joint Stereo"), value="jointstereo", default=(defmode == "jointstereo"), chain="FormatCodecMPEGMP3Quality")), 0, _('Joint Stereo is a good choice on streams with low bitrates')) class FormatCodecMPEGMP3V1BitRates(FormatDropdown): """MP3 MPEG1 bit rates.""" def __init__(self, prev_object): FormatDropdown.__init__(self, prev_object, _('Bitrate'), "bitrate", ( dict(display_text="320 kHz", value="320", chain="FormatCodecMPEGMP3Mode"), dict(display_text="256 kHz", value="256", chain="FormatCodecMPEGMP3Mode"), dict(display_text="224 kHz", value="224", chain="FormatCodecMPEGMP3Mode"), dict(display_text="192 kHz", value="192", chain="FormatCodecMPEGMP3Mode"), dict(display_text="160 kHz", value="160", chain="FormatCodecMPEGMP3Mode"), dict(display_text="128 kHz", value="128", chain="FormatCodecMPEGMP3Mode", default=True), dict(display_text="112 kHz", value="112", chain="FormatCodecMPEGMP3Mode"), dict(display_text="96 kHz", value="96", chain="FormatCodecMPEGMP3Mode"), dict(display_text="80 kHz", value="80", chain="FormatCodecMPEGMP3Mode"), dict(display_text="64 kHz", value="64", chain="FormatCodecMPEGMP3Mode"), dict(display_text="56 kHz", value="56", chain="FormatCodecMPEGMP3Mode"), dict(display_text="48 kHz", value="48", chain="FormatCodecMPEGMP3Mode"), dict(display_text="40 kHz", value="40", chain="FormatCodecMPEGMP3Mode"), dict(display_text="32 kHz", value="32", chain="FormatCodecMPEGMP3Mode")), 0) class FormatCodecMPEGMP3V2BitRates(FormatDropdown): """MP3 MPEG2 and 2.5 bit rates.""" def __init__(self, prev_object): FormatDropdown.__init__(self, prev_object, _('Bitrate'), "bitrate", ( dict(display_text="160 kHz", value="160", chain="FormatCodecMPEGMP3Mode"), dict(display_text="144 kHz", value="144", chain="FormatCodecMPEGMP3Mode"), dict(display_text="128 kHz", value="128", chain="FormatCodecMPEGMP3Mode"), dict(display_text="112 kHz", value="112", chain="FormatCodecMPEGMP3Mode"), dict(display_text="96 kHz", value="96", chain="FormatCodecMPEGMP3Mode"), dict(display_text="80 kHz", value="80", chain="FormatCodecMPEGMP3Mode"), dict(display_text="64 kHz", value="64", chain="FormatCodecMPEGMP3Mode", default=True), dict(display_text="56 kHz", value="56", chain="FormatCodecMPEGMP3Mode"), dict(display_text="48 kHz", value="48", chain="FormatCodecMPEGMP3Mode"), dict(display_text="40 kHz", value="40", chain="FormatCodecMPEGMP3Mode"), dict(display_text="32 kHz", value="32", chain="FormatCodecMPEGMP3Mode"), dict(display_text="24 kHz", value="24", chain="FormatCodecMPEGMP3Mode"), dict(display_text="16 kHz", value="16", chain="FormatCodecMPEGMP3Mode"), dict(display_text="8 kHz", value="8", chain="FormatCodecMPEGMP3Mode")), 0) class FormatCodecMPEGMP3V1SampleRates(FormatDropdown): """MP3 MPEG1 sample rates.""" def __init__(self, prev_object): FormatDropdown.__init__(self, prev_object, _('Samplerate'), "samplerate", ( dict(display_text="48000 Hz", value="48000", chain="FormatCodecMPEGMP3V1BitRates"), dict(display_text="44100 Hz", value="44100", chain="FormatCodecMPEGMP3V1BitRates", default=True), dict(display_text="32000 Hz", value="32000", chain="FormatCodecMPEGMP3V1BitRates")), 0) class FormatCodecMPEGMP3V2SampleRates(FormatDropdown): """MP3 MPEG2 sample rates.""" def __init__(self, prev_object): FormatDropdown.__init__(self, prev_object, _('Samplerate'), "samplerate", ( dict(display_text="24000 Hz", value="24000", chain="FormatCodecMPEGMP3V2BitRates"), dict(display_text="22050 Hz", value="22050", chain="FormatCodecMPEGMP3V2BitRates", default=True), dict(display_text="16000 Hz", value="16000", chain="FormatCodecMPEGMP3V2BitRates")), 0) class FormatCodecMPEGMP3V2_5SampleRates(FormatDropdown): """MP3 MPEG2.5 non standard sample rates.""" def __init__(self, prev_object): FormatDropdown.__init__(self, prev_object, _('Samplerate'), "samplerate", ( dict(display_text="12000 Hz", value="12000", chain="FormatCodecMPEGMP3V2BitRates"), dict(display_text="11025 Hz", value="11025", chain="FormatCodecMPEGMP3V2BitRates", default=True), dict(display_text="8000 Hz", value="8000", chain="FormatCodecMPEGMP3V2BitRates")), 0) class FormatCodecMPEGMP3(FormatDropdown): """MP3 standard selection.""" def __init__(self, prev_object): # TC: Abbreviation of the word, standard. FormatDropdown.__init__(self, prev_object, _('Std.'), "standard", ( # TC: v stands for version. dict(display_text=_("V 1"), value="1", chain="FormatCodecMPEGMP3V1SampleRates"), # TC: v stands for version. dict(display_text=_("V 2"), value="2", chain="FormatCodecMPEGMP3V2SampleRates"), # TC: v stands for version. dict(display_text=_("V 2.5"), value="2.5", chain="FormatCodecMPEGMP3V2_5SampleRates")), 0) class FormatCodecSpeexComplexity(FormatDropdown): """Speex cpu usage selection.""" def __init__(self, prev_object): FormatDropdown.__init__(self, prev_object, _('Complexity'), "complexity", tuple(dict(display_text=str(x), value=str(x), chain="FormatMetadataUTF8", default=(x==5)) for x in range(9, -1, -1)), 0, _('A quality setting that affects how heavily the CPU is used.')) class FormatCodecSpeexQuality(FormatDropdown): """Speex quality selection.""" def __init__(self, prev_object): FormatDropdown.__init__(self, prev_object, _('Quality'), "quality", tuple(dict(display_text=str(x), value=str(x), default=(x==8), chain="FormatCodecSpeexComplexity") for x in range(9, -1, -1)), 0, _('The higher this setting, the higher the bitrate.')) class FormatCodecSpeexBandwidth(FormatDropdown): """Speex bandwidth selection.""" def __init__(self, prev_object): FormatDropdown.__init__(self, prev_object, _('Bandwidth'), "samplerate", ( dict(display_text=_("Ultrawide"), value="32000", chain="FormatCodecSpeexQuality"), dict(display_text=_("Wide"), value="16000", chain="FormatCodecSpeexQuality"), dict(display_text=_("Narrow"), value="8000", chain="FormatCodecSpeexQuality")), 0, _('Essentially a samplerate setting.')) class FormatCodecSpeexMode(FormatDropdown): """Speex mode selection.""" def __init__(self, prev_object): FormatDropdown.__init__(self, prev_object, _('Mode'), "mode", ( dict(display_text=_("Mono"), value="mono", chain="FormatCodecSpeexBandwidth"), dict(display_text=_("Stereo"), value="stereo", chain="FormatCodecSpeexBandwidth")), 0) class FormatCodecFLACBits(FormatDropdown): """FLAC bit width selection.""" def __init__(self, prev_object): FormatDropdown.__init__(self, prev_object, _('Width'), "bitwidth", ( dict(display_text=_("24 bit"), value="24", chain="FormatMetadataUTF8"), dict(display_text=_("20 bit"), value="20", chain="FormatMetadataUTF8"), dict(display_text=_("16 bit"), value="16", chain="FormatMetadataUTF8")), 0, _('24 bit records with the highest level of detail. If file size is a concern maybe FLAC is not the right codec.')) class FormatCodecVorbisVariability(FormatDropdown): """Vorbis bit rate variability.""" def __init__(self, prev_object): FormatDropdown.__init__(self, prev_object, _('Variability'), "variability", ( dict(display_text=_("Constant"), value="0", chain="FormatMetadataUTF8"), dict(display_text=_(u"\u00B110%"), value="10", chain="FormatMetadataUTF8"), dict(display_text=_(u"\u00B120%"), value="20", chain="FormatMetadataUTF8"), dict(display_text=_(u"\u00B130%"), value="30", chain="FormatMetadataUTF8"), dict(display_text=_(u"\u00B140%"), value="40", chain="FormatMetadataUTF8"), dict(display_text=_(u"\u00B150%"), value="50", chain="FormatMetadataUTF8")), 0, _('This control is for enabling variable bitrate on Vorbis streams.')) class FormatCodecVorbisBitRate(FormatSpin): """Vorbis bit rate selection.""" def __init__(self, prev_object): dict_ = format_collate(prev_object) channels = 1 if dict_["mode"] == "mono" else 2 er = EncoderRange(VorbisTestEncoder()) sr = int(dict_["samplerate"]) bounds = er.bitrate_bounds(channels, sr) FormatSpin.__init__(self, prev_object, _('Bitrate'), "bitrate", (128000,) + bounds + (1, 10), 0, " bps", "FormatCodecVorbisVariability", er.good_bitrates(channels, sr)) class FormatCodecVorbisSampleRate(FormatSpin): """Vorbis sample rate selection.""" def __init__(self, prev_object): channels = 1 if format_collate(prev_object)["mode"] == "mono" else 2 er = EncoderRange(VorbisTestEncoder()) bounds = er.bounds(channels)["samplerate_bounds"] FormatSpin.__init__(self, prev_object, _('Samplerate'), "samplerate", (44100,) + bounds + (1, 10), 0, " Hz", "FormatCodecVorbisBitRate", er.good_samplerates(channels)) class FormatCodecFLACSampleRate(FormatSpin): """FLAC sample rate selection.""" def __init__(self, prev_object): FormatSpin.__init__(self, prev_object, _('Samplerate'), "samplerate", (44100, 1, 655350, 1, 10), 0, " Hz", "FormatCodecFLACBits", (96000, 88200, 48000, 44100)) class FormatCodecFLACMode(FormatDropdown): """Speex mode selection.""" def __init__(self, prev_object): FormatDropdown.__init__(self, prev_object, _('Mode'), "mode", ( dict(display_text=_("Mono"), value="mono", chain="FormatCodecFLACSampleRate"), dict(display_text=_("Stereo"), value="stereo", default=True, chain="FormatCodecFLACSampleRate")), 0) class FormatCodecVorbisMode(FormatDropdown): """Vorbis mode selection.""" def __init__(self, prev_object): FormatDropdown.__init__(self, prev_object, _('Mode'), "mode", ( dict(display_text=_("Mono"), value="mono", chain="FormatCodecVorbisSampleRate"), dict(display_text=_("Stereo"), value="stereo", default=True, chain="FormatCodecVorbisSampleRate")), 0) class FormatCodecOpusPostGain(FormatDropdown): """Level adjustment for audio before hitting the codec.""" def __init__(self, prev_object): FormatDropdown.__init__(self, prev_object, _('Postgain'), "postgain", ( dict(display_text=_('3.0 dB'), value="768", chain="FormatMetadataUTF8"), dict(display_text=_('2.5 dB'), value="640", chain="FormatMetadataUTF8"), dict(display_text=_('2.0 dB'), value="512", chain="FormatMetadataUTF8"), dict(display_text=_('1.5 dB'), value="384", chain="FormatMetadataUTF8"), dict(display_text=_('1.0 dB'), value="256", chain="FormatMetadataUTF8"), dict(display_text=_('0.5 dB'), value="128", chain="FormatMetadataUTF8"), dict(display_text=_('0 dB'), value="0", default=True, chain="FormatMetadataUTF8"), dict(display_text=_('-0.5 dB'), value="-128", chain="FormatMetadataUTF8"), dict(display_text=_('-1.0 dB'), value="-256", chain="FormatMetadataUTF8"), dict(display_text=_('-1.5 dB'), value="-384", chain="FormatMetadataUTF8"), dict(display_text=_('-2.0 dB'), value="-512", chain="FormatMetadataUTF8"), dict(display_text=_('-2.5 dB'), value="-640", chain="FormatMetadataUTF8"), dict(display_text=_('-3.0 dB'), value="-768", chain="FormatMetadataUTF8")), 1, _("A gain adjustment for the player to apply.")) class FormatCodecOpusVariability(FormatDropdown): """Set VBR, CBR, etc.""" def __init__(self, prev_object): FormatDropdown.__init__(self, prev_object, _('Variability'), "variability", ( dict(display_text=_('CBR *'), value="cbr", default=True, chain="FormatCodecOpusPostGain"), dict(display_text=_('CVBR'), value="cvbr", chain="FormatCodecOpusPostGain"), dict(display_text=_('VBR'), value="vbr", chain="FormatCodecOpusPostGain")), 0, _("Bitrate variability. Actual VBR operation may require a higher frame size.")) class FormatCodecOpusFrameSize(FormatDropdown): """Size of Opus frames in milliseconds.""" def __init__(self, prev_object): FormatDropdown.__init__(self, prev_object, _('Frame Size'), "framesize", ( dict(display_text=_('60 ms'), value="60", chain="FormatCodecOpusVariability"), dict(display_text=_('40 ms'), value="40", chain="FormatCodecOpusVariability"), dict(display_text=_('20 ms'), value="20", default=True, chain="FormatCodecOpusVariability")), 0, _("A higher frame size may sound better on very low bitrates.")) class FormatCodecOpusComplexity(FormatDropdown): """Opus cpu usage selection.""" def __init__(self, prev_object): FormatDropdown.__init__(self, prev_object, _('CPU'), "complexity", tuple(dict(display_text=str(x), value=str(x), chain="FormatCodecOpusFrameSize", default=(x==10)) for x in range(10, -1, -1)), 0, _('The encoder complexity setting which affects CPU load.')) class FormatCodecOpusBitRate(FormatSpin): """Opus bit rate selection for stereo.""" def __init__(self, prev_object): dict_ = format_collate(prev_object) channels = 1 if dict_["mode"] == "mono" else 2 bounds = (6 * channels, 256 * channels) FormatSpin.__init__(self, prev_object, _('Bitrate'), "bitrate", ((64, 96)[channels - 1],) + bounds + (1, 10), 0, " kbps", "FormatCodecOpusComplexity", (256 * channels, 128 * channels, 64 * channels, 48 * channels, 32 * channels, 16 * channels)) class FormatCodecOpusMode(FormatDropdown): """Opus mode selection.""" def __init__(self, prev_object): FormatDropdown.__init__(self, prev_object, _('Mode'), "mode", ( dict(display_text=_("Mono"), value="mono", chain="FormatCodecOpusBitRate"), dict(display_text=_("Stereo"), value="stereo", default=True, chain="FormatCodecOpusBitRate")), 0) class FormatCodecXiphOgg(FormatDropdown): """Ogg codec selection.""" def __init__(self, prev_object): FormatDropdown.__init__(self, prev_object, _('Codec'), "codec", ( dict(display_text=_('Vorbis'), value="vorbis", chain="FormatCodecVorbisMode"), dict(display_text=_('FLAC'), value="flac", chain="FormatCodecFLACMode", sensitive=FGlobs.oggflacenabled), dict(display_text=_('Speex'), value="speex", chain="FormatCodecSpeexMode", sensitive=FGlobs.speexenabled), dict(display_text=_('Opus'), value="opus", chain="FormatCodecOpusMode", sensitive=FGlobs.opusenabled), ), 0, _('Codecs of the Ogg container.')) class FormatCodecMPEGAACMode(FormatDropdown): """AAC mode selection.""" def __init__(self, prev_object): FormatDropdown.__init__(self, prev_object, _('Mode'), "mode", ( dict(display_text=_("Mono"), value="mono", chain="FormatMetadataUTF8"), dict(display_text=_("Stereo"), value="stereo", default=True, chain="FormatMetadataUTF8")), 0) class FormatCodecMPEGAACModeStereo(FormatDropdown): """AAC+ v2 mode selection which is always stereo.""" def __init__(self, prev_object): FormatDropdown.__init__(self, prev_object, _('Mode'), "mode", ( dict(display_text=_("Mono"), value="mono", sensitive=False), dict(display_text=_("Stereo"), value="stereo", default=True, chain="FormatMetadataUTF8")), 0) class FormatCodecMPEGAACBitrate(FormatSpin): """AAC bit rate selection.""" def __init__(self, prev_object): FormatSpin.__init__(self, prev_object, _('Bitrate'), "bitrate", (128000, 32000, 320000, 1, 10), 0, " Hz", "FormatCodecMPEGAACMode", (192000, 160000, 128000, 112000, 96000, 80000, 64000, 48000, 45000, 32000)) class FormatCodecMPEGAACPlusV2Bitrate(FormatSpin): """AAC bit rate selection.""" def __init__(self, prev_object): FormatSpin.__init__(self, prev_object, _('Bitrate'), "bitrate", (64000, 16000, 72000, 1, 10), 0, " Hz", "FormatCodecMPEGAACModeStereo", (72000, 64000, 48000, 45000, 32000, 24000, 16000)) class FormatCodecMPEGAACSamplerate(FormatDropdown): """Sample rates as allowed when using the ADTS header.""" def __init__(self, prev_object): FormatDropdown.__init__(self, prev_object, _('Samplerate'), "samplerate", ( dict(display_text=_('96000 Hz'), value="96000", chain="FormatCodecMPEGAACBitrate"), dict(display_text=_('88200 Hz'), value="88200", chain="FormatCodecMPEGAACBitrate"), dict(display_text=_('64000 Hz'), value="64000", chain="FormatCodecMPEGAACBitrate"), dict(display_text=_('48000 Hz'), value="48000", chain="FormatCodecMPEGAACBitrate"), dict(display_text=_('44100 Hz'), value="44100", chain="FormatCodecMPEGAACBitrate", default=True), dict(display_text=_('32000 Hz'), value="32000", chain="FormatCodecMPEGAACBitrate"), dict(display_text=_('24000 Hz'), value="24000", chain="FormatCodecMPEGAACBitrate"), dict(display_text=_('22050 Hz'), value="22050", chain="FormatCodecMPEGAACBitrate"), dict(display_text=_('16000 Hz'), value="16000", chain="FormatCodecMPEGAACBitrate"), dict(display_text=_('12000 Hz'), value="12000", chain="FormatCodecMPEGAACBitrate"), dict(display_text=_('11025 Hz'), value="11025", chain="FormatCodecMPEGAACBitrate"), dict(display_text=_('8000 Hz'), value="8000", chain="FormatCodecMPEGAACBitrate"), dict(display_text=_('7350 Hz'), value="7350", chain="FormatCodecMPEGAACBitrate")), 0) class FormatCodecMPEGAACPlusV2Samplerate(FormatDropdown): """Sample rates as allowed when using the ADTS header.""" def __init__(self, prev_object): FormatDropdown.__init__(self, prev_object, _('Samplerate'), "samplerate", ( dict(display_text=_('48000 Hz'), value="48000", chain="FormatCodecMPEGAACPlusV2Bitrate"), dict(display_text=_('44100 Hz'), value="44100", chain="FormatCodecMPEGAACPlusV2Bitrate", default=True)), 0) class FormatCodecMPEG(FormatDropdown): """MPEG codec selection.""" def __init__(self, prev_object): have_mp2 = FGlobs.twolameenabled have_mp3 = FGlobs.have_libmp3lame have_aac = FGlobs.avcodec and FGlobs.avformat extra = [] if not have_mp2: extra.append(_('The MP2 option requires IDJC be rebuilt against libtwolame.')) if not have_mp3: extra.append(_('Enable the MP3 option by installing libmp3lame.')) if not have_aac: extra.append(_('The AAC options require IDJC be rebuilt against libavcodec and libavformat.')) else: if not FormatCodecMPEG.aac_enabled: extra.append(_('Specific AAC support not present in libavcodec. More info: idjc.sourceforge.net.')) if not FormatCodecMPEG.aacpv2_enabled: extra.append(_('Specific AAC+ support not present in libavcodec. More info: idjc.sourceforge.net.')) spc = "\n\n\n" if extra else "" tooltip = _('Codecs of the MPEG family.') + spc + "\n\n".join(extra) FormatDropdown.__init__(self, prev_object, _('Codec'), "codec", ( dict(display_text=_('MP2'), value="mp2", chain="FormatCodecMPEGMP2", sensitive=have_mp2), dict(display_text=_('MP3'), value="mp3", chain="FormatCodecMPEGMP3", sensitive=have_mp3, default=have_mp3), dict(display_text=_('AAC'), value="aac", chain="FormatCodecMPEGAACSamplerate", sensitive=have_aac and FormatCodecMPEG.aac_enabled), dict(display_text=_('AAC+ v2'), value="aacpv2", chain="FormatCodecMPEGAACPlusV2Samplerate", sensitive=have_aac and FormatCodecMPEG.aacpv2_enabled)), 0, tooltip) class FormatFamily(FormatDropdown): """Gives choice of codec family/container format e.g. Xiph/Ogg or MPEG. The format is modified by means of a dropdown box. """ def __init__(self, prev_object): # TC: Codec family e.g. Xiph/Ogg, MPEG etc. FormatDropdown.__init__(self, prev_object, _('Family'), "family", ( # TC: Xiph.org Ogg container format. dict(display_text=_('Xiph/Ogg'), value="ogg", chain="FormatCodecXiphOgg", shoutcast=False), dict(display_text=_('MPEG'), value="mpeg", chain="FormatCodecMPEG", default=True)), 0, _('Codecs have been grouped by standards body and or container format.')) class FormatControl(gtk.VBox): __gproperties__ = { 'cap-icecast': (gobject.TYPE_BOOLEAN, 'icecast capable', 'if true this format can stream to icecast', 0, gobject.PARAM_READABLE), 'cap-shoutcast': (gobject.TYPE_BOOLEAN, 'shoutcast capable', 'if true this format can stream to shoutcast', 0, gobject.PARAM_READABLE), 'cap-recordable': (gobject.TYPE_BOOLEAN, 'can be recorded', 'if true this format is compatible with the recording facility', 0, gobject.PARAM_READABLE) } def __init__(self, send, receive): gtk.VBox.__init__(self) self.set_border_width(6) self.set_spacing(4) elem_box = [gtk.HBox()] self.pack_start(elem_box[0]) self.caps_frame = gtk.Frame(" %s " % _('Capabilities')) self.caps_frame.set_sensitive(False) caps_box = gtk.HBox() caps_box.set_border_width(6) self.caps_frame.add(caps_box) self.pack_start(self.caps_frame, fill=False) led = LEDDict(8) self.green = led["green"] self.clear = led["clear"] for name, label_text in zip("icecast shoutcast recordable".split(), (_('Icecast'), _('Shoutcast'), _('Recordable'))): hbox = gtk.HBox() hbox.set_spacing(3) label = gtk.Label(label_text) hbox.pack_start(label, False) image = gtk.Image() image.set_from_pixbuf(self.clear) hbox.pack_start(image, False) caps_box.pack_start(hbox, fill=False) setattr(self, "_" + name + "_indicator", image) elem_box.append(gtk.HBox()) self.pack_start(elem_box[-1]) button_frame = gtk.Alignment(xalign=1.0, yscale=0.85) button_frame.props.top_padding = 6 button_box = gtk.HBox() button_box.set_spacing(3) button_frame.add(button_box) image = gtk.image_new_from_stock(gtk.STOCK_GO_BACK, gtk.ICON_SIZE_MENU) back_button = self._back_button = gtk.Button() back_button.set_sensitive(False) back_button.add(image) button_box.add(back_button) image = gtk.image_new_from_stock(gtk.STOCK_GO_FORWARD, gtk.ICON_SIZE_MENU) apply_button = self.apply_button = gtk.Button() apply_button.add(image) button_box.add(apply_button) #test_button = gtk.ToggleButton("Test") #button_box.add(test_button) #test_button.connect("toggled", self._on_test) elem_box[-1].pack_end(button_frame, True) self.show_all() self._current = self._first = FormatFamily(prev_object=None) elem_box[self._first.row].pack_start(self._first, False) apply_button.connect("clicked", self._on_apply, back_button, elem_box) back_button.connect("clicked", self._on_back, apply_button) sizegroup = gtk.SizeGroup(gtk.SIZE_GROUP_VERTICAL) for each in elem_box: sizegroup.add_widget(each) self._send = send self._receive = receive self._reference_counter = 0 self._cap_icecast = self._cap_shoutcast = self._cap_recordable = False # GTK closures seem to be weak references. self.__refs = (elem_box,) def _on_apply(self, apply_button, back_button, elem_box): if self._current.apply(): next_element_name = self._current.next_element_name if next_element_name is None: apply_button.set_sensitive(False) self._update_capabilities() else: self._current = globals()[next_element_name](self._current) elem_box[self._current.row].pack_start(self._current, False) back_button.set_sensitive(True) def _on_back(self, back_button, apply_button): apply_button.set_sensitive(True) if self._current.applied: self._current.unapply() self._update_capabilities() else: current = self._current self._current = current.prev_object current.destroy() self._current.unapply() back_button.set_sensitive(self._current.prev_object is not None) def _on_test(self, widget): if widget.get_active(): self.start_encoder_rc() else: self.stop_encoder_rc() _cap_table = { "ogg": { "vorbis": {"shoutcast": False, "icecast": True, "recordable": True}, "flac": {"shoutcast": False, "icecast": True, "recordable": True}, "speex": {"shoutcast": False, "icecast": True, "recordable": True}, "opus": {"shoutcast": False, "icecast": True, "recordable": True}, }, "mpeg": { "mp2": {"shoutcast": True, "icecast": True, "recordable": True}, "mp3": {"shoutcast": True, "icecast": True, "recordable": True}, "aac": {"shoutcast": True, "icecast": True, "recordable": True}, "aacpv2": {"shoutcast": True, "icecast": True, "recordable": True} } } def _update_capabilities(self): settings = format_collate(self._current) dict_ = self._cap_table[settings["family"]][settings["codec"]] for each in "shoutcast icecast recordable".split(): can = dict_[each] and self._current.applied indicator = getattr(self, "_" + each + "_indicator") indicator.set_from_pixbuf(self.green if can else self.clear) name = "_cap_" + each if getattr(self, name) != can: setattr(self, name, can) self.notify("cap-" + each) self.caps_frame.set_sensitive(self._current.applied) def do_get_property(self, property): if property.name not in ( "cap-icecast", "cap-shoutcast", "cap-recordable"): raise AttributeError('unknown property %s' % property.name) return getattr(self, "_" + property.name.replace("-", "_")) def marshall(self): return json.dumps(format_collate(self._current)) def unmarshall(self, data): dict_ = json.loads(data) unapplied = dict_.get("__unapplied__", None) oldcurr = None while 1: try: self._current.value = dict_[self._current.ident] except KeyError: print "key error", self._current.ident break else: if self._current.applied or self._current.ident == unapplied or oldcurr == self._current: break oldcurr = self._current self.apply_button.clicked() if oldcurr.next_element_name is None: break def get_settings(self): return format_collate(self._current) def start_encoder_rc(self): """Start the encoder (with reference counter).""" if self._reference_counter: self._reference_counter += 1 else: self._reference_counter = int(self._start_encoder()) return self._reference_counter > 0 def stop_encoder_rc(self): """Stop the encoder (with reference counter).""" if self._reference_counter: if self._reference_counter == 1: self._stop_encoder() self._reference_counter -= 1 @property def running(self): """True if the encoder is currently running.""" return self._reference_counter > 0 @property def finalised(self): """Return whether the encoder settings list is complete.""" return self._current.applied def _start_encoder(self): if self._current.applied: kvps = [] for pairs in format_collate(self._current).iteritems(): kvps.append("=".join(pairs)) kvps.append("encode_source=jack\ncommand=encoder_start\n") kvps = "\n".join(kvps) self._send(kvps) ret = self._receive() != "failed" if ret: self._back_button.set_sensitive(False) return ret else: print "encoder settings are not finalised" return False def _stop_encoder(self): self._back_button.set_sensitive(True) self._send("command=encoder_stop\n") return self._receive() != "failed" idjc-0.8.9/python/jingles.py0000644000175000017500000005504412131337275012724 00000000000000# jingles.py: Jingles window and players -- part of IDJC. # Copyright 2012 Stephen Fairchild (s-fairchild@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . import os import time import gettext import json import uuid import gtk import gobject import itertools from idjc import * from .playergui import * from .prelims import * from .gtkstuff import LEDDict from .gtkstuff import WindowSizeTracker from .gtkstuff import DefaultEntry from .gtkstuff import threadslock from .tooltips import set_tip from .utils import LinkUUIDRegistry _ = gettext.translation(FGlobs.package_name, FGlobs.localedir, fallback=True).gettext PM = ProfileManager() link_uuid_reg = LinkUUIDRegistry() # Pixbufs for LED's of the specified size. LED = LEDDict(9) class Effect(gtk.HBox): """A trigger button for an audio effect or jingle. Takes a numeric parameter for identification. Also includes numeric I.D., L.E.D., stop, and config button. """ dndtargets = [("IDJC_EFFECT_BUTTON", gtk.TARGET_SAME_APP, 6)] def __init__(self, num, others, parent): self.num = num self.others = others self.approot = parent self.pathname = None self.uuid = str(uuid.uuid4()) self._repeat_works = False gtk.HBox.__init__(self) self.set_border_width(2) self.set_spacing(3) label = gtk.Label("%02d" % (num + 1)) self.pack_start(label, False) self.clear = LED["clear"].copy() self.green = LED["green"].copy() self.led = gtk.Image() self.led.set_from_pixbuf(self.clear) self.pack_start(self.led, False) self.old_ledval = 0 image = gtk.image_new_from_file(FGlobs.pkgdatadir / "stop.png") image.set_padding(4, 4) self.stop = gtk.Button() self.stop.set_image(image) self.pack_start(self.stop, False) self.stop.connect("clicked", self._on_stop) set_tip(self.stop, _('Stop')) self.trigger = gtk.Button() self.trigger.set_size_request(80, -1) self.pack_start(self.trigger) self.trigger_label = gtk.Label() self.trigger.add(self.trigger_label) pvbox = gtk.VBox() self.progress = gtk.ProgressBar() pvbox.pack_start(self.progress, padding=1) self.progress.set_orientation(gtk.PROGRESS_BOTTOM_TO_TOP) self.progress.set_size_request(5, 0) self.pack_start(pvbox, False) self.trigger.connect("clicked", self._on_trigger) self.trigger.drag_dest_set(gtk.DEST_DEFAULT_ALL, self.dndtargets, gtk.gdk.ACTION_DEFAULT | gtk.gdk.ACTION_MOVE) self.trigger.connect("drag-data-received", self._drag_data_received) set_tip(self.trigger, _('Play')) self.repeat = gtk.ToggleButton() image = gtk.Image() pb = gtk.gdk.pixbuf_new_from_file_at_size(FGlobs.pkgdatadir / "repeat.png", 23, 19) image.set_from_pixbuf(pb) self.repeat.add(image) image.show() self.pack_start(self.repeat, False) set_tip(self.repeat, _('Repeat')) image = gtk.image_new_from_stock(gtk.STOCK_PROPERTIES, gtk.ICON_SIZE_MENU) self.config = gtk.Button() self.config.set_image(image) self.pack_start(self.config, False) self.config.connect("clicked", self._on_config) self.config.drag_source_set(gtk.gdk.BUTTON1_MASK, self.dndtargets, gtk.gdk.ACTION_DEFAULT | gtk.gdk.ACTION_MOVE) self.config.connect("drag-data-get", self._drag_get_data) set_tip(self.config, _('Configure')) self.dialog = EffectConfigDialog(self, parent.window) self.dialog.connect("response", self._on_dialog_response) self.dialog.emit("response", gtk.RESPONSE_NO) self.timeout_source_id = None self.interlude = IDJC_Media_Player(None, None, parent) self.effect_length = 0.0 # Create the widget that will be used in the tab self.tabwidget = gtk.HBox() self.tabwidget.set_spacing(3) sep = gtk.VSeparator() self.tabwidget.pack_start(sep) vb = gtk.VBox() self.tabwidget.pack_start(vb) hb = gtk.HBox() hb.set_spacing(3) self.tabeffectname = gtk.Label() self.tabeffecttime = gtk.Label() hb.pack_start(self.tabeffectname) hb.pack_start(self.tabeffecttime) vb.pack_start(hb) self.tabeffectprog = gtk.ProgressBar() self.tabeffectprog.set_size_request(-0, 3) vb.pack_start(self.tabeffectprog) self.tabwidget.show_all() def _drag_get_data(self, widget, context, selection, target_id, etime): selection.set(selection.target, 8, str(self.num)) return True def _drag_data_received(self, widget, context, x, y, dragged, info, etime): other = self.others[int(dragged.data)] if context.action == gtk.gdk.ACTION_MOVE: if other == self: context.finish(False, False, etime) else: self.stop.clicked() other.stop.clicked() context.finish(True, False, etime) self._swap(other) return True def _swap(self, other): new_pathname = other.pathname new_text = other.trigger_label.get_text() or "" new_level = other.level other._set(self.pathname, self.trigger_label.get_text() or "", self.level) self._set(new_pathname, new_text, new_level) def _set(self, pathname, button_text, level): try: self.dialog.set_filename(pathname) except: self.dialog.set_current_folder(os.path.expanduser("~")) self.dialog.button_entry.set_text(button_text) self.dialog.gain_adj.set_value(level) self._on_dialog_response(self.dialog, gtk.RESPONSE_ACCEPT, pathname) def _on_config(self, widget): self.stop.clicked() if self.pathname and os.path.isfile(self.pathname): self.dialog.select_filename(self.pathname) self.dialog.button_entry.set_text(self.trigger_label.get_text() or "") self.dialog.gain_adj.set_value(self.level) self.dialog.show() def _on_trigger(self, widget): self._repeat_works = True if self.pathname: if not self.timeout_source_id: if self.effect_length == 0.0: self.effect_length = self.interlude.get_media_metadata(self.pathname, True) self.effect_start = time.time() self.timeout_source_id = gobject.timeout_add(playergui.PROGRESS_TIMEOUT, self._progress_timeout) self.tabeffectname.set_text(self.trigger_label.get_text()) self.tabeffecttime.set_text('0.0') self.tabeffectprog.set_fraction(0.0) self.approot.jingles.nb_effects_box.pack_start(self.tabwidget) else: # Restarted the effect self.effect_start = time.time() self.approot.mixer_write( "EFCT=%d\nPLRP=%s\nRGDB=%f\nACTN=playeffect\nend\n" % ( self.num, self.pathname, self.level)) self.trigger_label.set_use_markup(True) self.trigger_label.set_label("" + self.trigger_label.get_text() + "") def _on_stop(self, widget): self._repeat_works = False self.approot.mixer_write("EFCT=%d\nACTN=stopeffect\nend\n" % self.num) @threadslock def _progress_timeout(self): now = time.time() played = now - self.effect_start try: ratio = min(played / self.effect_length, 1.0) except ZeroDivisionError: pass else: self.progress.set_fraction(ratio) self.tabeffectprog.set_fraction(ratio) self.tabeffecttime.set_text("%4.1f" % (self.effect_length - played)) return True def _stop_progress(self): if self.timeout_source_id: gobject.source_remove(self.timeout_source_id) self.timeout_source_id = None self.progress.set_fraction(0.0) self.approot.jingles.nb_effects_box.remove(self.tabwidget) def _on_dialog_response(self, dialog, response_id, pathname=None): if response_id in (gtk.RESPONSE_ACCEPT, gtk.RESPONSE_NO): self.pathname = pathname or dialog.get_filename() text = dialog.button_entry.get_text() if self.pathname and \ os.path.isfile(self.pathname) else "" self.trigger_label.set_text(text.strip()) self.level = dialog.gain_adj.get_value() sens = self.pathname is not None and os.path.isfile(self.pathname) if response_id == gtk.RESPONSE_ACCEPT and pathname is not None: self.uuid = str(uuid.uuid4()) self.effect_length = 0.0 # Force effect length to be read again. def marshall(self): link = link_uuid_reg.get_link_filename(self.uuid) if link is not None: # Replace orig file abspath with alternate path to a hard link # except when link is None as happens when a hard link fails. link = PathStr("links") / link self.pathname = PM.basedir / link if not self.dialog.get_visible(): self.dialog.set_filename(self.pathname) return json.dumps([self.trigger_label.get_text(), (link or self.pathname), self.level, self.uuid]) def unmarshall(self, data): try: label, pathname, level, self.uuid = json.loads(data) except ValueError: label = "" pathname = None level = 0.0 if pathname is not None and not pathname.startswith(os.path.sep): pathname = PM.basedir / pathname if pathname is None or not os.path.isfile(pathname): self.dialog.unselect_all() label = "" else: self.dialog.set_filename(pathname) self.dialog.button_entry.set_text(label) self.dialog.gain_adj.set_value(level) self._on_dialog_response(self.dialog, gtk.RESPONSE_ACCEPT, pathname) self.pathname = pathname def update_led(self, val): if val != self.old_ledval: self.led.set_from_pixbuf(self.green if val else self.clear) self.old_ledval = val if not val and self._repeat_works and self.repeat.get_active(): self.trigger.clicked() elif not val: self._stop_progress() class EffectConfigDialog(gtk.FileChooserDialog): """Configuration dialog for an Effect.""" file_filter = gtk.FileFilter() file_filter.set_name(_('Supported media')) for each in supported.media: if each not in (".cue", ".txt"): file_filter.add_pattern("*" + each) file_filter.add_pattern("*" + each.upper()) def __init__(self, effect, window): gtk.FileChooserDialog.__init__(self, _('Effect %d Config') % (effect.num + 1), window, buttons=(gtk.STOCK_CLEAR, gtk.RESPONSE_NO, gtk.STOCK_CANCEL, gtk.RESPONSE_REJECT, gtk.STOCK_OK, gtk.RESPONSE_ACCEPT)) self.set_modal(True) ca = self.get_content_area() ca.set_spacing(5) vbox = gtk.VBox() ca.pack_start(vbox, False) vbox.set_border_width(5) hbox = gtk.HBox() hbox.set_spacing(3) label = gtk.Label(_('Trigger text')) self.button_entry = DefaultEntry(_('No Name')) hbox.pack_start(label, False) hbox.pack_start(self.button_entry, False) spc = gtk.HBox() hbox.pack_start(spc, False, padding=3) label = gtk.Label(_('Level adjustment (dB)')) self.gain_adj = gtk.Adjustment(0.0, -10.0, 10.0, 0.5) gain = gtk.SpinButton(self.gain_adj, 1.0, 1) hbox.pack_start(label, False) hbox.pack_start(gain, False) vbox.pack_start(hbox, False) ca.show_all() self.connect("delete-event", lambda w, e: w.hide() or True) self.connect("response", self._cb_response) self.add_filter(self.file_filter) def _cb_response(self, dialog, response_id): dialog.hide() if response_id == gtk.RESPONSE_NO: dialog.unselect_all() dialog.set_current_folder(os.path.expanduser("~")) self.button_entry.set_text("") self.gain_adj.set_value(0.0) class EffectBank(gtk.Frame): """A vertical stack of effects with level controls.""" def __init__(self, qty, base, filename, parent, all_effects, vol_adj, mute_adj): gtk.Frame.__init__(self) self.base = base self.session_filename = filename hbox = gtk.HBox() hbox.set_spacing(1) self.add(hbox) vbox = gtk.VBox() hbox.pack_start(vbox) self.effects = [] self.all_effects = all_effects count = 0 for row in range(qty): effect = Effect(base + row, self.all_effects, parent) self.effects.append(effect) self.all_effects.append(effect) vbox.pack_start(effect) count += 1 level_vbox = gtk.VBox() hbox.pack_start(level_vbox, False, padding=3) vol_image = gtk.image_new_from_file(FGlobs.pkgdatadir / "volume2.png") vol = gtk.VScale(vol_adj) vol.set_inverted(True) vol.set_draw_value(False) set_tip(vol, _('Effects volume.')) pb = gtk.gdk.pixbuf_new_from_file(FGlobs.pkgdatadir / "headroom.png") mute_image = gtk.image_new_from_pixbuf(pb) mute = gtk.VScale(mute_adj) mute.set_inverted(True) mute.set_draw_value(False) set_tip(mute, _('Player headroom that is applied when an effect is playing.')) spc = gtk.VBox() for widget, expand in zip((vol_image, vol, spc, mute_image, mute), (False, True, False, False, True)): level_vbox.pack_start(widget, expand, padding=2) def marshall(self): return json.dumps([x.marshall() for x in self.effects]) def unmarshall(self, data): for per_widget_data, widget in zip(json.loads(data), self.effects): widget.unmarshall(per_widget_data) def restore_session(self): try: with open(PM.basedir / self.session_filename, "r") as f: self.unmarshall(f.read()) except IOError: print "failed to read effects session file" def save_session(self, where): try: with open((where or PM.basedir) / self.session_filename, "w") as f: f.write(self.marshall()) except IOError: print "failed to write effects session file" def update_leds(self, bits): for bit, each in enumerate(self.effects): each.update_led((1 << bit + self.base) & bits) def stop(self): for each in self.effects: each.stop.clicked() def uuids(self): return (x.uuid for x in self.widgets) def pathnames(self): return (x.pathname for x in self.widgets) class LabelSubst(gtk.Frame): def __init__(self, heading): gtk.Frame.__init__(self, " %s " % heading) self.vbox = gtk.VBox() self.vbox.set_border_width(2) self.vbox.set_spacing(2) self.add(self.vbox) self.textdict = {} self.activedict = {} def add_widget(self, widget, ui_name, default_text): frame = gtk.Frame(" %s " % default_text) frame.set_label_align(0.5, 0.5) frame.set_border_width(3) self.vbox.pack_start(frame) hbox = gtk.HBox() hbox.set_spacing(3) frame.add(hbox) hbox.set_border_width(2) use_supplied = gtk.RadioButton(None, _("Alternative")) use_default = gtk.RadioButton(use_supplied, _('Default')) self.activedict[ui_name + "_use_supplied"] = use_supplied hbox.pack_start(use_default, False) hbox.pack_start(use_supplied, False) entry = gtk.Entry() self.textdict[ui_name + "_text"] = entry hbox.pack_start(entry) if isinstance(widget, gtk.Frame): def set_text(new_text): new_text = new_text.strip() if new_text: new_text = " %s " % new_text widget.set_label(new_text or None) widget.set_text = set_text entry.connect("changed", self.cb_entry_changed, widget, use_supplied) args = default_text, entry, widget use_default.connect("toggled", self.cb_radio_default, *args) use_supplied.connect_object("toggled", self.cb_radio_default, use_default, *args) use_default.set_active(True) def cb_entry_changed(self, entry, widget, use_supplied): if use_supplied.get_active(): widget.set_text(entry.get_text()) elif entry.has_focus(): use_supplied.set_active(True) def cb_radio_default(self, use_default, default_text, entry, widget): if use_default.get_active(): widget.set_text(default_text) else: widget.set_text(entry.get_text()) entry.grab_focus() class ExtraPlayers(gtk.HBox): """For effects, and background tracks.""" def __init__(self, parent): self.approot = parent self.nb_label = gtk.HBox(False, 0) vb = gtk.VBox() lbl = gtk.Label(_('Effects')) lbl.set_padding(0, 2) vb.pack_start(lbl) vb.show() self.nb_label.pack_start(vb) self.nb_effects_box = gtk.HBox(False, 5) self.nb_label.pack_start(self.nb_effects_box) self.nb_label.show_all() self.nb_effects_box.hide() gtk.HBox.__init__(self) self.set_border_width(4) self.set_spacing(10) self.viewlevels = (5,) esbox = gtk.VBox() self.pack_start(esbox) estable = gtk.Table(columns=2, homogeneous=True) estable.set_col_spacing(1, 8) esbox.pack_start(estable) self.jvol_adj = (gtk.Adjustment(127.0, 0.0, 127.0, 1.0, 10.0), gtk.Adjustment(127.0, 0.0, 127.0, 1.0, 10.0)) self.jmute_adj = (gtk.Adjustment(100.0, 0.0, 127.0, 1.0, 10.0), gtk.Adjustment(100.0, 0.0, 127.0, 1.0, 10.0)) self.ivol_adj = gtk.Adjustment(64.0, 0.0, 127.0, 1.0, 10.0) for each in (self.jvol_adj[0], self.jvol_adj[1], self.ivol_adj, self.jmute_adj[0], self.jmute_adj[1]): each.connect("value-changed", lambda w: parent.send_new_mixer_stats()) effects_hbox = gtk.HBox(homogeneous=True) effects_hbox.set_spacing(6) effects = PGlobs.num_effects base = 0 max_rows = 12 effect_cols = (effects + max_rows - 1) // max_rows self.all_effects = [] self.effect_banks = [] for col in range(effect_cols): bank = EffectBank(min(effects - base, max_rows), base, "effects%d_session" % (col + 1), parent, self.all_effects, self.jvol_adj[col], self.jmute_adj[col]) parent.label_subst.add_widget(bank, "effectbank%d" % col, _('Effects %d') % (col + 1)) self.effect_banks.append(bank) effects_hbox.pack_start(bank) base += max_rows estable.attach(effects_hbox, 0, 2, 0, 1) self.interlude_frame = interlude_frame = gtk.Frame() parent.label_subst.add_widget(interlude_frame, "bgplayername", _('Background Tracks')) self.pack_start(interlude_frame) hbox = gtk.HBox() hbox.set_spacing(1) interlude_frame.add(hbox) interlude_box = gtk.VBox() hbox.pack_start(interlude_box) self.interlude = IDJC_Media_Player(interlude_box, "interlude", parent) interlude_box.set_no_show_all(True) ilevel_vbox = gtk.VBox() hbox.pack_start(ilevel_vbox, False, padding=3) volpb = gtk.gdk.pixbuf_new_from_file(FGlobs.pkgdatadir / "volume2.png") ivol_image = gtk.image_new_from_pixbuf(volpb) ilevel_vbox.pack_start(ivol_image, False, padding=2) ivol = gtk.VScale(self.ivol_adj) ivol.set_inverted(True) ivol.set_draw_value(False) ilevel_vbox.pack_start(ivol, padding=2) set_tip(ivol, _('Background Tracks volume.')) self.show_all() interlude_box.show() self.approot.player_nb.connect('switch-page', self._on_nb_switch_page, self.nb_effects_box) def _on_nb_switch_page(self, notebook, page, page_num, box): page_widget = notebook.get_nth_page(page_num) if isinstance(page_widget, ExtraPlayers): box.hide() else: box.show() def restore_session(self): for each in self.effect_banks: each.restore_session() self.interlude.restore_session() def save_session(self, where): for each in self.effect_banks: each.save_session(where) self.interlude.save_session(where) def update_effect_leds(self, ep): for each in self.effect_banks: each.update_leds(ep) def clear_indicators(self): """Set all LED indicators to off.""" pass def cleanup(self): pass @property def playing(self): return False @property def flush(self): return 0 @flush.setter def flush(self, value): pass @property def interludeflush(self): return 0 @interludeflush.setter def interludeflush(self, value): pass idjc-0.8.9/python/midicontrols.py0000644000175000017500000024361112132563235013774 00000000000000# midicontrols.py: MIDI and hotkey controls for IDJC # Copyright (C) 2010 Andrew Clover (and@doxdesk.com) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . import sys import re import os.path import time import collections import gettext import functools import gobject import gtk import pango import dbus import dbus.service from idjc import FGlobs, PGlobs from .gtkstuff import threadslock from .prelims import ProfileManager from .tooltips import set_tip _ = gettext.translation(FGlobs.package_name, FGlobs.localedir, fallback=True).gettext PM = ProfileManager() control_methods= { # TC: Control method. Please keep it as Target:Action. 'c_tips': _('Tooltips enable'), # TC: Control method. Please keep it as Target:Action. 'c_sdjmix': _('DJ-mix monitor'), # TC: Control method. Please keep it as Target:Action. 'p_pp': _('Player play/pause'), # TC: Control method. Please keep it as Target:Action. 'p_stop': _('Player stop'), # TC: Control method. Please keep it as Target:Action. 'p_advance': _('Player advance'), # TC: Control method. Please keep it as Target:Action. 'p_prev': _('Player play previous'), # TC: Control method. Please keep it as Target:Action. 'p_next': _('Player play next'), # TC: Control method. Please keep it as Target:Action. 'p_sfire': _('Player play selected from start'), # TC: Control method. Please keep it as Target:Action. 'p_sprev': _('Player select previous'), # TC: Control method. Please keep it as Target:Action. 'p_snext': _('Player select next'), # TC: Control method. Please keep it as Target:Action. 'p_stream': _('Player stream output enable'), # TC: Control method. Please keep it as Target:Action. 'p_listen': _('Player DJ output enable'), # TC: Control method. Please keep it as Target:Action. 'p_prep': _('Player DJ-only switch'), # TC: Control method. Please keep it as Target:Action. 'p_vol': _('Player set volume'), # TC: Control method. Please keep it as Target:Action. 'p_gain': _('Player set gain'), # TC: Control method. Please keep it as Target:Action. 'p_pan': _('Player set balance'), # TC: Control method. Please keep it as Target:Action. 'p_pitch': _('Player set pitchbend'), # TC: Control method. Please keep it as Target:Action. 'p_tag': _('Playlist edit tags'), # TC: Control method. Please keep it as Target:Action. 'p_istop': _('Playlist insert stop'), # TC: Control method. Please keep it as Target:Action. 'p_istop2': _('Playlist insert stop 2'), # TC: Control method. Please keep it as Target:Action. 'p_ianno': _('Playlist insert announce'), # TC: Control method. Please keep it as Target:Action. 'p_itrans': _('Playlist insert transfer'), # TC: Control method. Please keep it as Target:Action. 'p_ifade': _('Playlist insert crossfade'), # TC: Control method. Please keep it as Target:Action. 'p_ipitch': _('Playlist insert pitchunbend'), # TC: Control method. Please keep it as Target:Action. 'p_igotop': _('Playlist insert jump to top'), # TC: Control method. Please keep it as Target:Action. 'x_fade': _('Players set crossfade'), # TC: Control method. Please keep it as Target:Action. 'x_pass': _('Players pass crossfade'), # TC: Control method. Please keep it as Target:Action. 'x_focus': _('Players set focus'), # TC: Control method. Please keep it as Target:Action. 'x_pitch': _('Players show pitchbend'), # TC: Control method. Please keep it as Target:Action. 'm_on': _('Channel output enable'), # TC: Control method. Please keep it as Target:Action. 'm_vol': _('Channel set volume'), # TC: Control method. Please keep it as Target:Action. 'm_gain': _('Channel set gain'), # TC: Control method. Please keep it as Target:Action. 'm_pan': _('Channel set balance'), # TC: Control method. Please keep it as Target:Action. 'v_on': _('VoIP output enable'), # TC: Control method. Please keep it as Target:Action. 'v_prep': _('VoIP DJ-only switch'), # TC: Control method. Please keep it as Target:Action. 'v_vol': _('VoIP set volume'), # TC: Control method. Please keep it as Target:Action. 'v_mixback': _('VoIP set mixback'), # TC: Control method. Please keep it as Target:Action. 'v_gain': _('VoIP set gain'), # TC: Control method. Please keep it as Target:Action. 'v_pan': _('VoIP set balance'), # TC: Control method. Please keep it as Target:Action. 'k_fire': _('Effect play from start'), # TC: Control method. Please keep it as Target:Action. 'b_stop': _('Effects stop many'), # TC: Control method. Please keep it as Target:Action. 'b_vol1': _('Effects set volume'), # TC: Control method. Please keep it as Target:Action. 'b_vol2': _('Effects set headroom'), # TC: Control method. Please keep it as Target:Action. 's_on': _('Stream set connected'), # TC: Control method. Please keep it as Target:Action. 'r_on': _('Recorder set recording'), } control_targets= { 'p': _('Player'), 'm': _('Channel'), 'k': _('Effect'), 's': _('Stream'), 'r': _('Recorder') } control_targets_players= ( _('Left player'), _('Right player'), _('Background player'), _('Focused player'), _('Fadered player') ) control_targets_effects_bank= ( _('Effects bank 1'), _('Effects bank 2'), _('All effects') ) class Binding(tuple): """Immutable value type representing an input bound to an action. An input is a MIDI event or keyboard movement. (Possibly others in future?) An action is a method of the Controls object, together with how to apply input to it, and, for some methods, a target integer specifying which player/channel/etc the method should be aimed at. A Binding is represented in string form in the 'controls' prefs file as one 'input:action' pair per line. There may be multiple bindings of the same input or the same action. An 'input' string looks like one of: Cc.nn - MIDI control, channel 'c', control number 'nn' Nc.nn - MIDI note, channel 'c', note id 'nn' Pc - MIDI pitch wheel, channel 'c' Kmm.nnnn - Keypress, modifier-state 'm', keyval 'nnnn' All numbers are hex. This format is also used to send MIDI event data from the mixer to the idjcgui, with trailing ':vv' to set the value (0-127). An action string looks like: Mmethod.target.value Where method is the name of a method in the Controls object, target is the object index to apply it to where needed (eg. 0=left player for 'p_' methods), and the mode M is one of: D - mirror each input level change. For faders and held buttons. value may be 127, or -127 for inverted control (hold to set 0) P - call on input level high. For one-shot and toggle buttons. value is currently ignored. S - on input level high, set to specific value value is the value to set, from 0..127 A - on input level high, alter value. For keyboard-controlled faders. value is the delta to add to current value, from -127..127 Value is a signed decimal number. Example: C0.0F:Pp_stop.0.7F Binds the action 'Player 1 stop' to MIDI control number 15 on channel 0. """ source= property(lambda self: self[0]) channel= property(lambda self: self[1]) control= property(lambda self: self[2]) mode= property(lambda self: self[3]) method= property(lambda self: self[4]) target= property(lambda self: self[5]) value= property(lambda self: self[6]) # Possible source and mode values, in the order they should be listed in # the UI # SOURCES=( SOURCE_CONTROL, SOURCE_NOTE, SOURCE_PITCHWHEEL, SOURCE_KEYBOARD, )= 'cnpk' MODES=( MODE_DIRECT, MODE_PULSE, MODE_SET, MODE_ALTER )= 'dpsa' _default= [SOURCE_KEYBOARD, 0, 0x31, MODE_PULSE, 'p_pp', 0, 127] def __new__(cls, binding= None, source= None, channel= None, control= None, mode= None, method= None, target= None, value= None ): """New binding from copying old one, parsing from string, or new values """ if binding is None: binding= list(cls._default) elif isinstance(binding, tuple): binding= list(binding) # Parse from string. Can also parse an input string alone # elif isinstance(binding, (str, unicode)): input_part, _, action_part= binding.partition(':') binding= list(cls._default) s= input_part[:1] if s not in Binding.SOURCES: raise ValueError('Unknown binding source %r' % input_part[0]) binding[0]= s ch, _, inp= input_part[1:].partition('.') binding[1]= int(ch, 16) binding[2]= int(inp, 16) m= action_part[:1] if m not in Binding.MODES: raise ValueError('Unknown mode %r' % m) binding[3]= m parts= action_part[1:].split('.', 3) if len(parts)!=3: raise ValueError('Malformed control string %r' % action_part) if parts[0] not in Binding.METHODS: raise ValueError('Unknown method %r' % parts[0]) binding[4]= parts[0] binding[5]= int(parts[1], 16) binding[6]= int(parts[2]) else: raise ValueError('Expected string or Binding, not %r' % binding) # Override particular properties # if source is not None: binding[0]= source if channel is not None: binding[1]= channel if control is not None: binding[2]= control if mode is not None: binding[3]= mode if method is not None: binding[4]= method if target is not None: binding[5]= target if value is not None: binding[6]= value return tuple.__new__(cls, binding) def __str__(self): # Back to string # return '%s%x.%x:%s%s.%x.%d' % (self.source, self.channel, self.control, self.mode, self.method, self.target, self.value) def __repr__(self): return 'Binding(%r)' % str(self) @property def input_str(self): """Get user-facing representation of channel and control """ if self.source==Binding.SOURCE_KEYBOARD: return '%s%s' % (self.channel_str, self.control_str.title()) elif self.source==Binding.SOURCE_PITCHWHEEL: return self.channel_str else: return '%s: %s' % (self.channel_str, self.control_str) @property def channel_str(self): """Get user-facing representation of channel value (shifting for keys) """ if self.source==Binding.SOURCE_KEYBOARD: return Binding.modifier_to_str(self.channel) else: return str(self.channel) return '' @property def control_str(self): """Get user-facing representation of control value (key, note, ...) """ if self.source==Binding.SOURCE_KEYBOARD: return Binding.key_to_str(self.control) elif self.source==Binding.SOURCE_NOTE: return Binding.note_to_str(self.control) elif self.source==Binding.SOURCE_CONTROL: return str(self.control) return '' @property def action_str(self): """Get user-facing representation of action/mode/value """ return control_methods[self.method] @property def modifier_str(self): """Get user-facing representation of interaction type and value """ if self.mode==Binding.MODE_DIRECT: if self.value<0: return ' (-)' elif getattr(Controls, self.method).action_modes[0] != \ Binding.MODE_DIRECT: return ' (+)' elif self.mode==Binding.MODE_SET: return ' (%d)' % self.value elif self.mode==Binding.MODE_ALTER: if self.value>=0: return ' (+%d)' % self.value else: return ' (%d)' % self.value elif self.mode==Binding.MODE_PULSE: if self.value<0x40: return ' (1-)' return '' @property def target_str(self): """Get user-facing representation of the target for this method """ group= self.method[0] if group=='p': return control_targets_players[self.target] if group=='b': return control_targets_effects_bank[self.target] if group in control_targets: return '%s %d' % (control_targets[group], self.target+1) return '' # Display helpers used by the _str methods and also SpinButtons # Keys, with fallback names for unmapped keyvals # @staticmethod def key_to_str(k): name= gtk.gdk.keyval_name(k) if name is None: return '<%04X>' % k return name @staticmethod def str_to_key(s): s= s.strip() if s.startswith('<') and s.endswith('>') and len(s)==6: return int(s[1:-1], 16) # Try to find a name for a keyval using different case variants. # Unfortunately the case needed by keyval_from_name does not usually # match the case produced by keyval_name. Argh. # # Luckily it's not essential that this is completely right, as it's # only needed for bumping the 'key' spinbutton, which will rarely be # done. # if s.lower()=='backspace': # TC: The name of the backspace key. s= _('BackSpace') n= gtk.gdk.keyval_from_name(s) if n==0: n= gtk.gdk.keyval_from_name(s.lower()) if n==0: n= gtk.gdk.keyval_from_name(s.title()) if n==0: n= gtk.gdk.keyval_from_name(s[:1].upper()+s[1:].lower()) return n # Note names. Convert to/from MIDI note/octave format. # NOTES= u'C,C#,D,D#,E,F,F#,G,G#,A,A#,B'.replace(u'#', u'\u266F').split(',') @staticmethod def note_to_str(n): return '%s%d' % (Binding.NOTES[n%12], n//12-1) @staticmethod def str_to_note(s): m= re.match(u'^([A-G](?:\u266F?))(-1|\d)$', s.replace(' ', '').replace( u'#', u'\u266F').upper()) if m is None: raise ValueError('Invalid note') n= Binding.NOTES.index(m.group(1)) n+= int(m.group(2))*12+12 if not 0<=n<128: raise ValueError('Octave out of range') return n # Shifting keys. Convert to/from short textual forms, with symbols rather # than the verbose names that accelgroup_name uses. # # Also convert to/from an ordinal form where the bits are reordered to fit # a simple 0..127 range, for easy use in a SpinButton. # MODIFIERS= ( (gtk.gdk.SHIFT_MASK, u'\u21D1'), (gtk.gdk.CONTROL_MASK, u'^'), (gtk.gdk.MOD1_MASK, u'\u2020'), # alt/option (gtk.gdk.MOD5_MASK, u'\u2021'), # altgr/option (gtk.gdk.META_MASK, u'\u25C6'), (gtk.gdk.SUPER_MASK, u'\u2318'), # win/command (gtk.gdk.HYPER_MASK, u'\u25CF'), ) MODIFIERS_MASK= sum(m for m, c in MODIFIERS) @staticmethod def modifier_to_str(m): return ''.join(c for mask, c in Binding.MODIFIERS if m & mask != 0) @staticmethod def str_to_modifier(s): return sum(mask for mask, c in Binding.MODIFIERS if c in s) @staticmethod def modifier_to_ord(m): return sum(1 << i for i, (mask, c) in enumerate( Binding.MODIFIERS) if m & mask != 0) @staticmethod def ord_to_modifier(b): return sum(mask for i, (mask, c) in enumerate( Binding.MODIFIERS) if b & (1 <>sys.stderr, 'Warning: controls prefs file ' \ 'contained unreadable binding %r' % line fp.close() self.update_lookup() def update_lookup(self): """Bindings list has changed, rebuild input lookup """ self.lookup= {} for binding in self.bindings: self.lookup.setdefault( str(binding).split(':', 1)[0], []).append(binding) def input(self, input, iv): """Dispatch incoming input to all bindings associated with it """ # If a BindingEditor is open in learning mode, inform it of the input # instead of doing anything with it. # if self.learner is not None: self.learner.learn(input) return # Handle input value according to the action mode and pass value with # is-delta flag to action methods. # for binding in self.lookup.get(input, []): isd= False v= iv if binding.mode==Binding.MODE_DIRECT: if binding.value<0: v= 0x7F-v else: if binding.mode==Binding.MODE_PULSE: if v>=0x40: if binding in self.repeat_cache: continue else: self.repeat_cache.add(binding) else: self.repeat_cache.discard(binding) if binding.value<=0x40: v= (~v)&0x7F # Act upon release. if v<0x40: continue if binding.mode in (Binding.MODE_SET, Binding.MODE_ALTER): v= binding.value if binding.mode in (Binding.MODE_PULSE, Binding.MODE_ALTER): isd= True # Binding is to be highlighted in the user interface. self.highlights[binding]= (3, True) getattr(self, binding.method)(binding.target, v, isd) def input_key(self, event): """Convert incoming key events into input signals """ # Ignore modifier keypresses, suppress keyboard repeat, # and include only relevant modifier flags. # if not(0xFFE1<=event.keyval<0xFFEF or 0xFE01<=event.keyval<0xFE35): state= event.state&Binding.MODIFIERS_MASK v= 0x7F if event.type==gtk.gdk.KEY_PRESS else 0 self.input('k%x.%x' % (state, event.keyval), v) # Utility for p_ control methods # def _get_player(self, n): main = self.owner if n==3: if main.player_nb.get_current_page() == 1: if main.jingles.interlude.treeview.is_focus(): n = 2 else: return None elif main.player_left.treeview.is_focus(): n= 0 elif main.player_right.treeview.is_focus(): n=1 else: return None elif n==4: if main.crossfade.get_value()<50: n= 0 else: n= 1 return (main.player_left, main.player_right, main.jingles.interlude)[n] # Control implementations. The @action_method decorator records all control # methods in order, so the order they are defined in this code dictates the # order they'll appear in in the UI. # Miscellaneous # @action_method(Binding.MODE_PULSE, Binding.MODE_SET) def c_tips(self, n, v, isd): control= self.owner.prefs_window.enable_tooltips if isd: v= 0 if control.get_active() else 127 control.set_active(v>=64) @dbusify(in_signature='b') def set_enable_tooltips(self, enabled): self.owner.prefs_window.enable_tooltips.set_active(enabled) @dbusify(out_signature='b') def get_enable_tooltips(self): return self.owner.prefs_window.enable_tooltips.get_active() @action_method(Binding.MODE_PULSE, Binding.MODE_DIRECT) def c_sdjmix(self, n, v, isd): active= not self.owner.listen_dj.get_active() if isd else v>=0x40 if active: self.owner.listen_dj.set_active(True) else: self.owner.listen_stream.set_active(True) @dbusify() def set_listen_dj_mix(self): self.owner.listen_dj.set_active(True) @dbusify(out_signature='b') def get_listen_dj_mix(self): return self.owner.listen_dj.get_active() @dbusify() def set_listen_stream_mix(self): self.owner.listen_stream.set_active(True) @dbusify(out_signature='b') def get_listen_stream_mix(self): return self.owner.listen_stream.get_active() # Player # @action_method(Binding.MODE_PULSE, Binding.MODE_DIRECT) def p_pp(self, n, v, isd): player= self._get_player(n) if player is None: return is_playing= player.is_playing if not is_playing and (isd or v >= 0x40): player.play.set_active(True) if is_playing if isd else (player.is_paused == (v >= 0x40)): player.pause.set_active(not player.pause.get_active()) @dbusify(in_signature='ubb') def player_playpause(self, index, play, toggle): self.p_pp(index, 127 if play else 0, toggle) @action_method(Binding.MODE_PULSE) def p_stop(self, n, v, isd): player= self._get_player(n) if player is None: return player.stop.clicked() @dbusify(in_signature='u') def player_stop(self, index): self.p_stop(index, 0, 0) @action_method(Binding.MODE_PULSE) def p_advance(self, n, v, isd): player= self._get_player(n) if player is None: return player.advance() @dbusify(in_signature='u') def player_advance(self, index): self.p_advance(index, 0, 0) @action_method(Binding.MODE_PULSE) def p_prev(self, n, v, isd): player= self._get_player(n) if player is None: return player.prev.clicked() @dbusify(in_signature='u') def player_previous(self, index): self.p_prev(index, 0, 0) @action_method(Binding.MODE_PULSE) def p_next(self, n, v, isd): player= self._get_player(n) if player is None: return player.next.clicked() @dbusify(in_signature='u') def player_next(self, index): self.p_next(index, 0, 0) @action_method(Binding.MODE_PULSE) def p_sprev(self, n, v, isd): player= self._get_player(n) if player is None: return treeview_selectprevious(player.treeview) @dbusify(in_signature='u') def player_select_previous(self, index): self.p_sprev(index, 0, 0) @action_method(Binding.MODE_PULSE) def p_snext(self, n, v, isd): player= self._get_player(n) if player is None: return treeview_selectnext(player.treeview) @dbusify(in_signature='u') def player_select_next(self, index): self.p_snext(index, 0, 0) @action_method(Binding.MODE_PULSE) def p_sfire(self, n, v, isd): player= self._get_player(n) if player is None: return player.cb_doubleclick(player.treeview, None, None, None) @dbusify(in_signature='u') def player_play_selected(self, index): self.p_sfire(index, 0, 0) @action_method(Binding.MODE_PULSE, Binding.MODE_DIRECT, Binding.MODE_SET) def p_stream(self, n, v, isd): player= self._get_player(n) if player is None: return active= not player.stream.get_active() if isd else v>=0x40 player.stream.set_active(active) @dbusify(in_signature='ubb') def player_set_streammix(self, index, value, toggle): self.p_stream(index, 127 if value else 0, toggle) @action_method(Binding.MODE_PULSE, Binding.MODE_DIRECT, Binding.MODE_SET) def p_listen(self, n, v, isd): player= self._get_player(n) if player is None: return active= not player.listen.get_active() if isd else v>=0x40 player.listen.set_active(active) @dbusify(in_signature='ubb') def player_set_djmix(self, index, value, toggle): self.p_listen(index, 127 if value else 0, toggle) @action_method(Binding.MODE_PULSE, Binding.MODE_DIRECT, Binding.MODE_SET) def p_prep(self, n, v, isd): player= self._get_player(n) if player is None: return if player not in (self.owner.player_left, self.owner.player_right): print "player unsupported for this binding" return other= self.owner.player_left if player is self.owner.player_right \ else self.owner.player_right prep= player.stream.get_active() if isd else v>=0x40 player.stream.set_active(not prep) other.listen.set_active(not prep) if prep: player.listen.set_active(True) self.owner.listen_dj.set_active(True) else: # This is questionable. I like to listen to the Stream output not # DJ, so reset to Stream mode after pre-ing. This may not suit # everyone. Maybe there should be a different action for preview # without returning to stream listening. The alternative would be # to try to remember which output was being listened to previously, # but that would introduce invisible state not present in the # normal UI, making the behaviour unpredictable. # self.owner.listen_stream.set_active(True) @action_method(Binding.MODE_DIRECT, Binding.MODE_SET, Binding.MODE_ALTER) def p_vol(self, n, v, isd): player= self._get_player(n) if player is None: return if player.playername in ("left", "right"): deckadj= self.owner.deck2adj if player is self.owner.player_right \ else self.owner.deckadj elif player.playername == "interlude": deckadj = self.owner.jingles.ivol_adj cross= deckadj.get_value()+v if isd else v deckadj.set_value(cross) @dbusify(in_signature='uib') def player_set_volume(self, index, value, delta): self.p_vol(index, value, delta) #@action_method(Binding.MODE_DIRECT, Binding.MODE_SET, Binding.MODE_ALTER) #def p_gain(self, n, v, isd): # player= self._get_player(n) # if player is None: return # pass # XXX #@action_method(Binding.MODE_DIRECT, Binding.MODE_SET, Binding.MODE_ALTER) #def p_pan(self, n, v, isd): # player= self._get_player(n) # if player is None: return # pass # XXX @action_method(Binding.MODE_DIRECT, Binding.MODE_SET, Binding.MODE_ALTER) def p_pitch(self, n, v, isd): player= self._get_player(n) if player is None: return speed= player.pbspeedbar.get_value()+v if isd else v player.pbspeedbar.set_value(speed) @dbusify(in_signature='uib') def player_set_pitch(self, index, value, delta): self.p_pitch(index, value, delta) # Playlist methods, to reproduce previous idjcmedia shortcuts # @action_method(Binding.MODE_PULSE) def p_tag(self, n, v, isd): #t player= self._get_player(n) if player is None: return player.menu_model, player.menu_iter= \ player.treeview.get_selection().get_selected() player.menuitem_response(None, 'MetaTag') @action_method(Binding.MODE_PULSE) def p_istop(self, n, v, isd): #s player= self._get_player(n) if player is None: return player.menu_model, player.menu_iter= \ player.treeview.get_selection().get_selected() player.menuitem_response(None, 'Stop Control') @dbusify(in_signature='u') def playlist_insert_stop_control(self, index): self.p_istop(index, 0, 0) @action_method(Binding.MODE_PULSE) def p_istop2(self, n, v, isd): #s player= self._get_player(n) if player is None: return player.menu_model, player.menu_iter= \ player.treeview.get_selection().get_selected() player.menuitem_response(None, 'Stop Control 2') @dbusify(in_signature='u') def playlist_insert_stop_control_2(self, index): self.p_istop2(index, 0, 0) @action_method(Binding.MODE_PULSE) def p_ianno(self, n, v, isd): #u player= self._get_player(n) if player is None: return player.menu_model, player.menu_iter= \ player.treeview.get_selection().get_selected() player.menuitem_response(None, 'Announcement Control') @action_method(Binding.MODE_PULSE) def p_itrans(self, n, v, isd): #a player= self._get_player(n) if player is None: return player.menu_model, player.menu_iter= \ player.treeview.get_selection().get_selected() player.menuitem_response(None, 'Transfer Control') @dbusify(in_signature='u') def playlist_insert_transfer_control(self, index): self.p_itrans(index, 0, 0) @action_method(Binding.MODE_PULSE) def p_ifade(self, n, v, isd): #f player= self._get_player(n) if player is None: return player.menu_model, player.menu_iter= \ player.treeview.get_selection().get_selected() player.menuitem_response(None, 'Crossfade Control') @dbusify(in_signature='u') def playlist_insert_crossfade_control(self, index): self.p_ifade(index, 0, 0) @action_method(Binding.MODE_PULSE) def p_ipitch(self, n, v, isd): #n player= self._get_player(n) if player is None: return player.menu_model, player.menu_iter= \ player.treeview.get_selection().get_selected() player.menuitem_response(None, 'Normal Speed Control') @dbusify(in_signature='u') def playlist_insert_normal_speed_control(self, index): self.p_ipitch(index, 0, 0) @action_method(Binding.MODE_PULSE) def p_igotop(self, n, v, isd): player= self._get_player(n) if player is None: return player.menu_model, player.menu_iter= \ player.treeview.get_selection().get_selected() player.menuitem_response(None, 'Jump To Top Control') @dbusify(in_signature='u') def playlist_insert_jump_to_top_control(self, index): self.p_igotop(index, 0, 0) @dbusify(in_signature='us') def playlist_insert_pathname(self, index, pathname): player = self._get_player(index) if player is None: return model, iter = player.treeview.get_selection().get_selected() row = player.get_media_metadata(pathname) if row: model.insert_after(iter, row) self.player_select_next(index) @dbusify() def playlist_clear(self, index): player = self._get_player(index) if player is None: return player.liststore.clear() # Both players # @action_method(Binding.MODE_DIRECT, Binding.MODE_SET, Binding.MODE_ALTER) def x_fade(self, n, v, isd): v= v/127.0*100 cross= self.owner.crossadj.get_value()+v if isd else v self.owner.crossadj.set_value(cross) @dbusify(in_signature='ib') def crossfade_set(self, value, delta): self.x_fade(0, value, delta) @action_method(Binding.MODE_PULSE) def x_pass(self, n, v, isd): self.owner.passbutton.clicked() @dbusify() def crossfade_pass(self): self.x_pass(0, 0, 0) @action_method(Binding.MODE_PULSE, Binding.MODE_DIRECT, Binding.MODE_SET) def x_pitch(self, n, v, isd): checkbox= self.owner.prefs_window.speed_variance checkbox.set_active(not checkbox.get_active() if isd else v>=0x40) @dbusify(in_signature='bb') def pitch_enable(self, value, toggle): self.x_pitch(0, 127 if value else 0, toggle) @action_method(Binding.MODE_PULSE, Binding.MODE_DIRECT, Binding.MODE_SET) def x_focus(self, n, v, isd): if isd: if self.owner.player_left.treeview.is_focus(): player = self.owner.player_right else: player = self.owner.player_left else: player= self.owner.player_right if v>=0x40 else \ self.owner.player_left player.treeview.grab_focus() @dbusify(in_signature='ub') def main_player_focus(self, index, toggle): self.x_focus(0, 127 if index else 0, toggle) # Channel # @action_method(Binding.MODE_PULSE, Binding.MODE_DIRECT, Binding.MODE_SET) def m_on(self, n, v, isd): button = self.owner.mic_opener.get_opener_button(n) if button is not None: s = not button.get_active() if isd else v>=0x40 button.set_active(s) @dbusify(in_signature='ubb') def channel_open(self, index, value, toggle): self.m_on(index, 127 if value else 0, toggle) @action_method(Binding.MODE_DIRECT, Binding.MODE_SET, Binding.MODE_ALTER) def m_vol(self, n, v, isd): agc = getattr(self.owner.prefs_window, 'mic_control_%d'%n) vol = agc.valuesdict[agc.commandname+'_gain'].get_adjustment() if isd: v += vol.props.value else: v = v / 127.0 * (vol.props.upper - vol.props.lower) + vol.props.lower vol.set_value(v) @dbusify(in_signature='uib') def channel_gain(self, index, value, delta): self.m_vol(index, value, delta) #@action_method(Binding.MODE_DIRECT, Binding.MODE_SET, Binding.MODE_ALTER) #def m_gain(self, n, v, isd): # pass # XXX @action_method(Binding.MODE_DIRECT, Binding.MODE_SET, Binding.MODE_ALTER) def m_pan(self, n, v, isd): agc= getattr(self.owner.prefs_window, 'mic_control_%d'%n) pan= agc.valuesdict[agc.commandname+'_pan'] v= v/127.0*100 v= pan.get_value()+v if isd else v pan.set_value(v) @dbusify(in_signature='uib') def channel_pan(self, index, value, delta): self.m_pan(index, value, delta) # VoIP # @action_method(Binding.MODE_PULSE, Binding.MODE_DIRECT, Binding.MODE_SET) def v_on(self, n, v, isd): phone= self.owner.greenphone s= not phone.get_active() if isd else v>=0x40 phone.set_active(s) @dbusify(in_signature='bb') def voip_mode_public(self, value, toggle): self.v_on(0, 127 if value else 0, toggle) @action_method(Binding.MODE_PULSE, Binding.MODE_DIRECT, Binding.MODE_SET) def v_prep(self, n, v, isd): phone= self.owner.redphone s= not phone.get_active() if isd else v>=0x40 phone.set_active(s) @dbusify(in_signature='bb') def voip_mode_private(self, value, toggle): self.v_prep(0, 127 if value else 0, toggle) @action_method(Binding.MODE_DIRECT, Binding.MODE_SET, Binding.MODE_ALTER) def v_vol(self, n, v, isd): vol = self.owner.voipgainadj.get_value() + v if isd else v self.owner.voipgainadj.set_value(vol) @dbusify(in_signature='ib') def voip_set_gain(self, value, delta): self.v_vol(0, value, delta) @action_method(Binding.MODE_DIRECT, Binding.MODE_SET, Binding.MODE_ALTER) def v_mixback(self, n, v, isd): vol = self.owner.mixbackadj.get_value() + v if isd else v self.owner.mixbackadj.set_value(vol) @dbusify(in_signature='ib') def voip_set_mixback_level(self, value, delta): self.v_mixback(0, value, delta) #@action_method(Binding.MODE_DIRECT, Binding.MODE_SET, Binding.MODE_ALTER) #def v_gain(self, n, v, isd): # pass # XXX #@action_method(Binding.MODE_DIRECT, Binding.MODE_SET, Binding.MODE_ALTER) #def v_pan(self, n, v, isd): # pass # XXX # One jingle # @action_method(Binding.MODE_PULSE) def k_fire(self, n, v, isd): self.owner.jingles.all_effects[n].trigger.clicked() @dbusify(in_signature='u') def effect_trigger(self, index): self.k_fire(index, 0, 0) # Jingles player in general # @action_method(Binding.MODE_PULSE) def b_stop(self, n, v, isd): if n < 2: self.owner.jingles.effect_banks[n].stop() else: banks = self.owner.jingles.effect_banks banks[0].stop() if len(banks) > 1: banks[1].stop() @dbusify(in_signature='bb') def effect_bank_stop(self, first, second): if first or second: self.b_stop(2 if first and second else (0, 1)[second], 0, 0) @action_method(Binding.MODE_DIRECT, Binding.MODE_SET, Binding.MODE_ALTER) def b_vol1(self, n, v, isd): if n < 2: fader= self.owner.jingles.jvol_adj[n] vol= fader.get_value()+v if isd else v fader.set_value(vol) else: self.b_vol1(0, v, isd) self.b_vol1(1, v, isd) @dbusify(in_signature='uib') def effect_bank_gain(self, index, value, delta): self.b_vol1(index, value, delta) @action_method(Binding.MODE_DIRECT, Binding.MODE_SET, Binding.MODE_ALTER) def b_vol2(self, n, v, isd): if n < 2: fader= self.owner.jingles.jmute_adj[n] vol= fader.get_value()+v if isd else v fader.set_value(vol) else: self.b_vol2(0, v, isd) self.b_vol2(1, v, isd) @dbusify(in_signature='uib') def effect_bank_headroom(self, index, value, delta): self.b_vol2(index, value, delta) # Stream connection # @action_method(Binding.MODE_PULSE, Binding.MODE_DIRECT, Binding.MODE_SET) def s_on(self, n, v, isd): connect= self.owner.server_window.streamtabframe.tabs[n].server_connect s= not connect.get_active() if isd else v>=0x40 connect.set_active(s) @dbusify(in_signature='ubb') def stream_set_connected(self, index, value, toggle): self.s_on(index, 127 if value else 0, toggle) # Recorder # @action_method(Binding.MODE_PULSE, Binding.MODE_DIRECT, Binding.MODE_SET) def r_on(self, n, v, isd): buttons= self.owner.server_window.recordtabframe.tabs[n].record_buttons s= not buttons.record_button.get_active() if isd else v>=0x40 if s: buttons.record_button.set_active(s) else: buttons.stop_button.clicked() @dbusify(in_signature='ubb') def recorder_set_recording(self, index, value, toggle): self.r_on(index, 127 if value else 0, toggle) # Generic GTK utilities ______________________________________________________ # TreeView move selection up/down with wrapping # def treeview_selectprevious(treeview): selection= treeview.get_selection() model, siter= selection.get_selected() iter= model.get_iter_first() if iter is not None: while True: niter= model.iter_next(iter) if niter is None or siter is not None and \ model.get_path(niter)==model.get_path(siter): break iter= niter selection.select_iter(iter) treeview.scroll_to_cell(model.get_path(iter), None, False) def treeview_selectnext(treeview): selection= treeview.get_selection() model, siter= selection.get_selected() iter= model.get_iter_first() if iter is not None: if siter is not None: siter= model.iter_next(siter) if siter is not None: iter= siter selection.select_iter(iter) treeview.scroll_to_cell(model.get_path(iter), None, False) # Simple value+text-based combo box with optional icon # class LookupComboBox(gtk.ComboBox): def __init__(self, values, texts, icons= None): self._values = values if icons is not None: model = gtk.ListStore(str, bool, gtk.gdk.Pixbuf) else: model = gtk.ListStore(str, bool) for valuei, value in enumerate(values): if icons is not None: model.append((texts[value], True, icons[value])) else: model.append((texts[value], True)) gtk.ComboBox.__init__(self, model) if icons is not None: cricon= gtk.CellRendererPixbuf() self.pack_start(cricon, False) self.set_attributes(cricon, pixbuf= 2) crtext= gtk.CellRendererText() self.pack_start(crtext, False) self.set_attributes(crtext, text= 0, sensitive= 1) def get_value(self): active = self.get_active() if active==-1: active= 0 return self._values[active] def set_value(self, value): self.set_active(self._values.index(value)) # Combo box with simple 1-level grouping and insensitive group headings # class GroupedComboBox(gtk.ComboBox): def __init__(self, groups, groupnames, values, valuenames, valuegroups): self._values= values self._lookup= {} model= gtk.TreeStore(int, str, bool) group_rows= {} for group in groups: group_rows[group]= model.append( None, [-1, groupnames[group], False]) for i in range(len(values)): iter= model.append(group_rows[valuegroups[i]], [i, valuenames[values[i]], True]) self._lookup[values[i]]= model.get_path(iter) gtk.ComboBox.__init__(self, model) cr= gtk.CellRendererText() self.pack_start(cr, True) self.set_attributes(cr, text= 1, sensitive= 2) def get_value(self): iter= self.get_active_iter() if iter is None: return self._values[0] i= self.get_model().get_value(iter, 0) if i==-1: return self._values[0] return self._values[i] def set_value(self, value): self.set_active_iter(self.get_model().get_iter(self._lookup[value])) # Horrible hack to make the text of a SpinButton customisable. If the # adjustment property is set to a subclass of CustomAdjustment, the display # text will be customisable through the read_input and write_output method # of that Adjustment. (With a plain Adjustment, works like normal SpinButton.) # # Normally customisation is impossible because the 'input' signal needs an # output written to its gpointer argument, which is not accessible via PyGTK. # Try to do the pointer write using ctypes, if available. Otherwise fall back # to working like a standard ComboBox. # try: import ctypes except ImportError: ctypes= None class CustomSpinButton(gtk.SpinButton): def __init__(self, adjustment, climb_rate= 0.0, digits= 0): gtk.SpinButton.__init__(self, adjustment, climb_rate, digits) self._value = adjustment.get_value() self._iscustom = ctypes is not None if self._iscustom: self.connect('input', self._on_input) self.connect('output', self._on_output) def _on_input(self, _, ptr): if not repr(ptr).startswith('=64) self.value_field_pulse_inverted.set_active(binding.value<64) def get_binding(self): mode= self.mode_field.get_value() if mode==Binding.MODE_DIRECT: value= -127 if self.value_field_invert.get_active() else 127 elif mode==Binding.MODE_PULSE: value= 127 if self.value_field_pulse_noinvert.get_active() else 0 else: value= int(self.value_field_scale.get_value()) return Binding( source= self.source_field.get_value(), channel= int(self.channel_field.get_value()), control= int(self.control_field.get_value()), mode= mode, method= self.method_field.get_value(), target= int(self.target_field.get_value()), value= value ) def on_delete(self, *args): self.on_close() return True def on_close(self, *args): self.learn_button.set_active(False) def on_key(self, _, event): if self.learn_button.get_active(): self.owner.owner.input_key(event) return True return False # Learn mode, take inputs and set the input fields from them # def on_learn_toggled(self, *args): if self.learn_button.get_active(): self.learn_button.set_label(_('Listening for input')) self.owner.owner.learner= self else: # TC: Button text. If pressed triggers 'Listening for input' mode. self.learn_button.set_label(_('Listen for input...')) self.owner.owner.learner= None def learn(self, input): binding= Binding(input+':dp_pp.0.0') self.source_field.set_value(binding.source) self.channel_field.set_value(binding.channel) self.control_field.set_value(binding.control) self.learn_button.set_active(False) # Update dependent controls # def on_source_changed(self, *args): s= self.source_field.get_value() if s==Binding.SOURCE_KEYBOARD: # TC: Refers to key modifiers including Ctrl, Alt, Shift, .... self.channel_label.set_text(_('Shifting')) self.channel_field.set_adjustment(ModifierAdjustment()) else: # TC: Specifically, the numerical midi channel. self.channel_label.set_text(_('Channel')) self.channel_field.set_adjustment(ChannelAdjustment()) self.control_label.set_text(self.binding_controls[s]) if s==Binding.SOURCE_KEYBOARD: self.control_field.set_adjustment(KeyAdjustment()) elif s==Binding.SOURCE_NOTE: self.control_field.set_adjustment(NoteAdjustment()) else: self.control_field.set_adjustment(gtk.Adjustment(0, 0, 127, 1)) self.control_label.set_sensitive(s!=Binding.SOURCE_PITCHWHEEL) self.control_field.set_sensitive(s!=Binding.SOURCE_PITCHWHEEL) def on_method_changed(self, *args): method= self.method_field.get_value() modes= getattr(Controls, method).action_modes model= self.mode_field.get_model() iter= model.get_iter_first() i= 0 while iter is not None: model.set_value(iter, 1, Binding.MODES[i] in modes) iter= model.iter_next(iter) i+= 1 self.mode_field.set_value(modes[0]) group= method[:1] if group=='p': self.target_field.set_adjustment(PlayerAdjustment()) elif group=='b': self.target_field.set_adjustment(EffectsBankAdjustment()) elif group in 'mksr': self.target_field.set_adjustment(TargetAdjustment(group)) else: self.target_field.set_adjustment(SingularAdjustment()) self.target_field.update() # Snap state may need altering. self.snap_needed = 'p' in modes and 'a' not in modes if bool(self.value_field_scale.snap) != self.snap_needed: self.mode_field.emit("changed") def on_mode_changed(self, *args): mode= self.mode_field.get_value() self.value_label.set_text(self.binding_values[mode]) self.value_field_pulsebox.hide() self.value_field_scale.hide() self.value_field_invert.hide() if mode==Binding.MODE_DIRECT: self.value_field_invert.set_active(False) self.value_field_invert.show() elif mode==Binding.MODE_PULSE: self.value_field_pulsebox.show() else: # Find the adjustment limits. if mode==Binding.MODE_SET: min, max = 0, 127 else: min, max = -127, 127 val= min + (max - min + 1) // 2 snap= val if self.snap_needed else None self.value_field_scale.set_range(val, min, max, snap) self.value_field_scale.show() # A Compound HScale widget that supports snapping. # class ValueSnapHScale(gtk.HBox): can_mark= all(hasattr(gtk.Scale, x) for x in ('add_mark', 'clear_marks')) def __init__(self, *args, **kwds): gtk.HBox.__init__(self) self.set_spacing(2) self.label= gtk.Label() self.label.set_width_chars(4) self.label.set_alignment(1.0, 0.5) self.pack_start(self.label, False) self.hscale= gtk.HScale() self.hscale.connect('change-value', self.on_change_value) self.hscale.connect('value-changed', self.on_value_changed) # We draw our own value so we can control the alignment. self.hscale.set_draw_value(False) self.pack_start(self.hscale) self.foreach(gtk.Widget.show) if args: self.set_range(*args, **kwds) else: self.label.set_text("0") self.snap= None def set_range(self, val, lower, upper, snap=None): # Here snap also doubles as the boundary value. self.snap= snap if snap is not None: policy= gtk.UPDATE_DISCONTINUOUS adj= gtk.Adjustment( val, lower, upper + snap - 1, snap * 2, snap * 2, snap-1) adj.connect('notify::value', self.on_value_do_snap, lower, upper) else: policy= gtk.UPDATE_CONTINUOUS adj= gtk.Adjustment(val, lower, upper, 1, 6) if self.can_mark: self.hscale.clear_marks() if not self.snap: mark= lower + (upper - lower + 1) // 2 self.hscale.add_mark(mark, gtk.POS_BOTTOM, None) self.hscale.set_adjustment(adj) self.hscale.set_update_policy(policy) adj.props.value= val self.hscale.emit('value-changed') def on_change_value(self, range, scroll, _val): if self.snap: props= range.get_adjustment().props value= props.upper - props.page_size if \ range.get_value() >= self.snap else props.lower self.label.set_text(str(int(value))) def on_value_changed(self, range): self.label.set_text(str(int(range.get_value()))) def on_value_do_snap(self, adj, _val, lower, upper): val= upper if adj.props.value >= self.snap else lower if adj.props.value != val: adj.props.value= val if val==lower: self.snap= lower + (upper - lower) // 4 else: self.snap= lower + (upper - lower) * 3 // 4 def __getattr__(self, name): return getattr(self.hscale, name) # Extended adjustments for custom SpinButtons # class ChannelAdjustment(CustomAdjustment): def __init__(self, value= 0): CustomAdjustment.__init__(self, value, 0, 15, 1) def read_input(self, text): return int(text)-1 def write_output(self, value): return str(int(value+1)) class ModifierAdjustment(CustomAdjustment): def __init__(self, value= 0): CustomAdjustment.__init__(self, value, 0, 127, 1) def read_input(self, text): return Binding.modifier_to_ord(Binding.str_to_modifier(text)) def write_output(self, value): return Binding.modifier_to_str(Binding.ord_to_modifier(int(value))) class NoteAdjustment(CustomAdjustment): def __init__(self, value= 0): CustomAdjustment.__init__(self, value, 0, 127, 1) def read_input(self, text): return Binding.str_to_note(text) def write_output(self, value): return Binding.note_to_str(int(value)) class KeyAdjustment(CustomAdjustment): def __init__(self, value= 0): CustomAdjustment.__init__(self, value, 0, 0xFFFF, 1) def read_input(self, text): return Binding.str_to_key(text) def write_output(self, value): return Binding.key_to_str(int(value)) class PlayerAdjustment(CustomAdjustment): def __init__(self, value= 0): CustomAdjustment.__init__(self, value, 0, 4, 1) def read_input(self, text): return control_targets_players.index(text) def write_output(self, value): return control_targets_players[max(min(int(value), 4), 0)] class EffectsBankAdjustment(CustomAdjustment): def __init__(self, value= 0): CustomAdjustment.__init__(self, value, 0, 2, 1) def read_input(self, text): return control_targets_effects_bank.index(text) def write_output(self, value): return control_targets_effects_bank[max(min(int(value), 2), 0)] class TargetAdjustment(CustomAdjustment): def __init__(self, group, value= 0): CustomAdjustment.__init__(self, value, 0, { 'p': 3, 'm': 11, 'k': 23, 's': 8, 'r': 3}[group], 1) self._group= group def read_input(self, text): return int(text.rsplit(' ', 1)[-1])-1 def write_output(self, value): return '%s %d' % (control_targets[self._group], value+1) class SingularAdjustment(CustomAdjustment): def __init__(self, value= 0): CustomAdjustment.__init__(self) def read_input(self, text): return 0.0 def write_output(self, value): return _('Singular control') # SpinButton that can translate its underlying adjustment values to GTK shift # key modifier flags, when a ModifierAdjustment is used. # class ModifierSpinButton(CustomSpinButton): def get_value(self): value= CustomSpinButton.get_value(self) if isinstance(self.get_adjustment(), ModifierAdjustment): value= Binding.ord_to_modifier(int(value)) return value def set_value(self, value): if isinstance(self.get_adjustment(), ModifierAdjustment): value= Binding.modifier_to_ord(int(value)) CustomSpinButton.set_value(self, value) # Main UI binding list tab ___________________________________________________ class ControlsUI(gtk.VBox): """Controls main config interface, displayed in a tab by IDJCmixprefs """ tooltip_coords = (0, 0) def __init__(self, owner): gtk.VBox.__init__(self, spacing= 4) self.owner= owner self.source_icons= {} for ct in Binding.SOURCES: self.source_icons[ct]= gtk.gdk.pixbuf_new_from_file( FGlobs.pkgdatadir / ('control_' + ct + ".png")) self.editor= BindingEditor(self) self.editor.connect('response', self.on_editor_response) self.editing= None # Control list # # TC: Tree column heading for Inputs e.g. Backspace, F1, S. column_input= gtk.TreeViewColumn(_('Input')) column_input.set_expand(True) cricon= gtk.CellRendererPixbuf() crtext= gtk.CellRendererText() crtext.props.ellipsize= pango.ELLIPSIZE_END column_input.pack_start(cricon, False) column_input.pack_start(crtext, True) column_input.set_attributes(cricon, pixbuf= 3, cell_background= 8) column_input.set_attributes(crtext, text= 4) column_input.set_sort_column_id(0) craction= gtk.CellRendererText() crmodifier= gtk.CellRendererText() crmodifier.props.xalign= 1.0 # TC: Tree column heading for actions e.g. Player stop. column_action= gtk.TreeViewColumn(_('Action')) column_action.pack_start(craction, True) column_action.pack_start(crmodifier, False) column_action.set_attributes(craction, text= 5) column_action.set_attributes(crmodifier, text= 6) column_action.set_sort_column_id(1) column_action.set_sizing(gtk.TREE_VIEW_COLUMN_AUTOSIZE) # TC: Tree column heading for targets e.g. Channel 1, Stream 2 column_target= gtk.TreeViewColumn( _('Target'), gtk.CellRendererText(), text= 7) column_target.set_sort_column_id(2) model= BindingListModel(self) model_sort= gtk.TreeModelSort(model) model_sort.set_sort_column_id(2, gtk.SORT_ASCENDING) self.tree= gtk.TreeView(model_sort) self.tree.connect('realize', model.on_realize, column_input, model_sort) self.tree.connect('cursor-changed', self.on_cursor_changed) self.tree.connect('key-press-event', self.on_tree_key) self.tree.connect('query-tooltip', self.on_tooltip_query) model.connect('row-deleted', self.on_cursor_changed) self.tree.append_column(column_input) self.tree.append_column(column_action) self.tree.append_column(column_target) self.tree.set_headers_visible(True) self.tree.set_rules_hint(True) self.tree.set_enable_search(False) self.tree.set_has_tooltip(True) # New/Edit/Remove buttons # # TC: User to create a new input binding. self.new_button= gtk.Button(stock=gtk.STOCK_NEW) # TC: User to remove an input binding. self.remove_button= gtk.Button(stock=gtk.STOCK_DELETE) # TC: User to modify an existing input binding. self.edit_button= gtk.Button(stock=gtk.STOCK_EDIT) self.new_button.connect('clicked', self.on_new) self.remove_button.connect('clicked', self.on_remove) self.edit_button.connect('clicked', self.on_edit) self.tree.connect('row-activated', self.on_edit) # Layout # buttons= gtk.HButtonBox() buttons.set_spacing(8) buttons.set_layout(gtk.BUTTONBOX_END) buttons.pack_start(self.edit_button, False, False) buttons.pack_start(self.remove_button, False, False) buttons.pack_start(self.new_button, False, False) buttons.show_all() self.on_cursor_changed() self.set_border_width(4) scroll= gtk.ScrolledWindow() scroll.set_policy(gtk.POLICY_NEVER, gtk.POLICY_AUTOMATIC) scroll.add(self.tree) self.pack_start(scroll, True, True) self.pack_start(buttons, False, False) self.show_all() # Dynamic tooltip generation # def on_tooltip_query(self, tv, x, y, kb_mode, tooltip): if (x, y) != self.tooltip_coords: self.tooltip_coords = (x, y) elif None not in (x, y) and \ self.owner.owner.prefs_window.enable_tooltips.get_active(): path = tv.get_path_at_pos( *tv.convert_widget_to_bin_window_coords(x, y)) if path is not None: row = tv.get_model()[path[0]] hbox = gtk.HBox() hbox.set_spacing(3) hbox.pack_start(gtk.image_new_from_pixbuf(row[3].copy()), False) hbox.pack_start(gtk.Label(row[4]), False) hbox.pack_start(gtk.Label(" " + row[5] + row[6]), False) if row[7]: hbox.pack_start(gtk.Label(" " + row[7]), False) hbox.show_all() tooltip.set_custom(hbox) return True # Tree interaction # def on_cursor_changed(self, *args): isselected= self.tree.get_selection().count_selected_rows()!=0 self.edit_button.set_sensitive(isselected) self.remove_button.set_sensitive(isselected) def on_tree_key(self, tree, event, *args): if event.keyval==0xFFFF: # GDK_Delete self.on_remove() # Button presses # def on_remove(self, *args): model_sort, iter_sort= self.tree.get_selection().get_selected() model= model_sort.get_model() if iter_sort is None: return iter= model_sort.convert_iter_to_child_iter(None, iter_sort) binding= self.owner.bindings[model.get_path(iter)[0]] if binding is self.editing: self.editor.learnbutton.set_active(False) self.editor.hide() self.editing= None niter= model.iter_next(iter) if niter is None: treeview_selectprevious(self.tree) else: treeview_selectnext(self.tree) model.remove(iter) self.on_cursor_changed() def on_new(self, *args): model_sort, iter_sort= self.tree.get_selection().get_selected() model= model_sort.get_model() if iter_sort is not None: iter= model_sort.convert_iter_to_child_iter(None, iter_sort) binding= self.owner.bindings[model.get_path(iter)[0]] else: binding= Binding() self.editing= None self.editor.set_binding(binding) self.editor.show() def on_edit(self, *args): model_sort, iter_sort= self.tree.get_selection().get_selected() if iter_sort is None: return model= model_sort.get_model() iter= model_sort.convert_iter_to_child_iter(None, iter_sort) self.editing= iter self.editor.set_binding(self.owner.bindings[model.get_path(iter)[0]]) self.editor.show() def on_editor_response(self, _, response): if response==gtk.RESPONSE_OK: model= self.tree.get_model().get_model() binding= self.editor.get_binding() if self.editing==None: path= model.append(binding) else: path= model.replace(self.editing, binding) path_sort= self.tree.get_model().convert_child_path_to_path(path) self.tree.get_selection().select_path(path_sort) self.tree.scroll_to_cell(path_sort, None, False) self.on_cursor_changed() self.editor.hide() class BindingListModel(gtk.GenericTreeModel): """TreeModel mapping the list of Bindings in Controls to a TreeView """ def __init__(self, owner): gtk.GenericTreeModel.__init__(self) self.owner= owner self.bindings= owner.owner.bindings self.highlights= owner.owner.highlights def on_realize(self, tree, column0, model_sort): source= gobject.timeout_add( 100, self.cb_highlights, tree, column0, model_sort) tree.connect_object('destroy', gobject.source_remove, source) @threadslock def cb_highlights(self, tree, column0, model_sort): d= self.highlights if d: for rowref, (count, is_new) in d.items(): # Highlights counter is reduced. if count < 1: del d[rowref] else: d[rowref]= (count - 1, False) # TreeView area invalidation to trigger a redraw. if is_new or rowref not in d: try: path= self.on_get_path(rowref) except ValueError: # User craftily deleted the entry during highlighting. pass else: path= model_sort.convert_child_path_to_path(path) area= tree.get_background_area(path, column0) tree.get_bin_window().invalidate_rect(area, False) return True def on_get_flags(self): return gtk.TREE_MODEL_LIST_ONLY|gtk.TREE_MODEL_ITERS_PERSIST def on_get_n_columns(self): return len(BindingListModel.column_types) def on_get_column_type(self, index): return BindingListModel.column_types[index] def has_default_sort_func(self): return False # Pure-list iteration # def on_get_iter(self, path): return self.bindings[path[0]] if self.bindings else None def on_get_path(self, rowref): return (self.bindings.index(rowref),) def on_iter_next(self, rowref): i= self.bindings.index(rowref)+1 if i>=len(self.bindings): return None return self.bindings[i] def on_iter_children(self, rowref): if rowref is None and len(self.bindings)>=1: return self.bindings[0] return None def on_iter_has_child(self, rowref): return False def on_iter_n_children(self, rowref): if rowref is None: return len(self.bindings) return 0 def on_iter_nth_child(self, rowref, i): if rowref is None and i. import os import gettext import ctypes import pygtk pygtk.require("2.0") import glib from .utils import FixedAttributes from .utils import PolicedAttributes from .utils import PathStr def lib_probe(at_runtime, names): if at_runtime: for name in names.split(): try: ctypes.CDLL(name) except Exception: continue else: return True, name else: return False, "" else: return True, "" class FGlobs(object): """Namespace class of variables which cannot be altered. These are set by the build process. """ __metaclass__ = FixedAttributes datarootdir = PathStr("""@datarootdir@""") libdir = PathStr("""@libdir@""") pkgdatadir = PathStr("""${pkgdatadir}""") localedir = PathStr("""@localedir@""") bindir = PathStr("""@bindir@""") avformat = @HAVE_AVFORMAT@ avcodec = @HAVE_AVCODEC@ flacenabled = @HAVE_FLAC@ oggflacenabled = @HAVE_OGGFLAC@ opusenabled = @HAVE_OPUS@ speexenabled = @HAVE_SPEEX@ twolameenabled = @HAVE_TWOLAME@ have_libmp3lame, libmp3lame_filename = lib_probe(@DYN_LAME@, "libmp3lame.so.0 liblame.so.0 libmp3lame.dylib liblame.dylib") have_libmpg123, libmpg123_filename = lib_probe(@DYN_MPG123@, "libmpg123.so.0 libmpg123.dylib") package_name = """@PACKAGE_NAME@""" package_version = """@PACKAGE_VERSION@""" backend = PathStr("""@libdir@""") / """@PACKAGE_NAME@.so.0""" _ = gettext.translation(FGlobs.package_name, FGlobs.localedir, fallback=True).gettext class PGlobs(object): """Values which cannot be changed once they have been read.""" __metaclass__ = PolicedAttributes config_dir = PathStr(glib.get_user_config_dir()) / FGlobs.package_name #config_dir = PathStr(os.path.expanduser("~")) / ("." + FGlobs.package_name) profile_dir = config_dir / "profiles" dbus_bus_basename = "net.sf." + FGlobs.package_name dbus_objects_basename = "/net/sf/" + FGlobs.package_name app_shortform = "IDJC" app_longform = "Internet DJ Console" default_icon = FGlobs.pkgdatadir / "icon.png" autoload_profile_pathname = config_dir / "autoload-profile" copyright = _("Copyright 2005-2013 Stephen Fairchild and others.") license = _("Released under the GNU General Public License V2.0 or later.") num_micpairs = 2 num_streamers = 6 num_encoders = 6 num_recorders = 2 num_effects = 24 def main(): """Package execution entry point.""" from .prelims import ProfileManager # pylint: disable=W0404 ProfileManager() from . import maingui # pylint: disable=W0404 exit(maingui.main()) idjc-0.8.9/python/prelims/0000755000175000017500000000000012142736727012451 500000000000000idjc-0.8.9/python/prelims/profiledialog.py0000644000175000017500000004741412113174301015553 00000000000000"""The profile management dialog.""" # Copyright (C) 2011 Stephen Fairchild (s-fairchild@users.sourceforge.net) # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . __all__ = ["ProfileDialog"] import atexit # This is and needs to remain the initial gtk import point. import glib import gobject import gtk import pango from idjc import PGlobs, FGlobs from idjc.prelims import MAX_PROFILE_LENGTH, profile_name_valid, default from ..utils import Singleton gtk.gdk.threads_init() gtk.gdk.threads_enter() atexit.register(gtk.gdk.threads_leave) from ..gtkstuff import ConfirmationDialog from ..gtkstuff import ErrorMessageDialog from ..gtkstuff import CellRendererLED from ..gtkstuff import CellRendererTime from ..gtkstuff import threadslock from ..gtkstuff import IconChooserButton from ..gtkstuff import IconPreviewFileChooserDialog import gettext t = gettext.translation(FGlobs.package_name, FGlobs.localedir, fallback=True) _ = t.gettext gtk.window_set_default_icon_from_file(PGlobs.default_icon) class ProfileEntry(gtk.Entry): _allowed = (65056, 65361, 65363, 65365, 65288, 65289, 65535) def __init__(self): gtk.Entry.__init__(self) self.set_max_length(MAX_PROFILE_LENGTH) self.connect("key-press-event", self._cb_kp) self.connect("button-press-event", self._cb_button) def _cb_kp(self, widget, event): if not event.keyval in self._allowed and not \ profile_name_valid(event.string): return True def _cb_button(self, widget, event): if event.button != 1: return True class NewProfileDialog(gtk.Dialog): _icon_dialog = IconPreviewFileChooserDialog("Choose An Icon", buttons = (gtk.STOCK_CLEAR, gtk.RESPONSE_NONE, gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL, gtk.STOCK_OK, gtk.RESPONSE_OK)) def __init__(self, row, filter_function=None, title_extra = "", edit=False): gtk.Dialog.__init__(self) self.set_border_width(6) self.get_child().set_spacing(12) self.set_modal(True) self.set_destroy_with_parent(True) self._icon_dialog.set_transient_for(self) if row is not None: if edit: # TC: data entry dialog window title text. %s = profile name title = _("Edit profile %s") else: # TC: data entry dialog window title text. %s = profile name title = _("New profile based upon %s") title %= row[1] else: # TC: data entry dialog window title text. title = _("New profile details") self.set_title(title + title_extra) hbox = gtk.HBox() hbox.set_border_width(6) hbox.set_spacing(12) if edit: icon = gtk.STOCK_EDIT else: icon = gtk.STOCK_COPY if row else gtk.STOCK_NEW self.image = gtk.image_new_from_stock(icon, gtk.ICON_SIZE_DIALOG) self.image.set_alignment(0.0, 0.0) hbox.pack_start(self.image, False) table = gtk.Table(2, 4) table.set_row_spacings(6) table.set_col_spacing(0, 6) hbox.pack_start(table) labels = ( # TC: data entry dialog label text. "Profile name", # TC: data entry dialog label text. "Icon", # TC: data entry dialog label text. "Nickname", # TC: data entry dialog label text. "Description") names = ("profile_entry", "icon_button", "nickname_entry", "description_entry") widgets = (ProfileEntry(), IconChooserButton(self._icon_dialog), gtk.Entry(), gtk.Entry()) for i, (label, name, widget) in enumerate(zip(labels, names, widgets)): label = gtk.Label(label) label.set_alignment(1.0, 0.5) table.attach(label, 0, 1, i, i + 1, gtk.SHRINK | gtk.FILL) table.attach(widget, 1, 2, i, i + 1, yoptions=gtk.SHRINK) setattr(self, name, widget) self.profile_entry.set_width_chars(30) self.get_content_area().add(hbox) bb = self.get_action_area() bb.set_spacing(6) if row is not None: profile = row[1] if edit else "" revert = gtk.Button(stock=gtk.STOCK_REFRESH) revert.connect("clicked", self._revert, row, edit) revert.clicked() bb.add(revert) bb.set_child_secondary(revert, True) else: self.icon_button.set_filename(PGlobs.default_icon) if edit: if self.profile_entry.get_text() == default: self.profile_entry.set_sensitive(False) self.delete = gtk.Button(stock=gtk.STOCK_DELETE) self.delete.connect_after("clicked", lambda w: self.destroy()) bb.add(self.delete) cancel = gtk.Button(stock=gtk.STOCK_CANCEL) cancel.connect("clicked", lambda w: self.destroy()) bb.add(cancel) self.ok = gtk.Button(stock=gtk.STOCK_OK) bb.add(self.ok) def _revert(self, widget, row, edit): profile_text = row[1] if edit else "" self.profile_entry.set_text(profile_text) self.icon_button.set_filename(row[4]) self.nickname_entry.set_text(row[5]) self.description_entry.set_text(row[2]) self.profile_entry.grab_focus() @classmethod def append_dialog_title(cls, text): cls._icon_dialog.set_title(cls._icon_dialog.get_title() + text) class ProfileSingleton(Singleton, type(gtk.Dialog)): def __call__(cls, *args, **kwds): return super(ProfileSingleton, cls).__call__(*args, **kwds) class ProfileDialog(gtk.Dialog): __metaclass__ = ProfileSingleton __gproperties__ = { "selection-active" : (gobject.TYPE_BOOLEAN, "selection active", "selected profile is active", 0, gobject.PARAM_READABLE), "selection": (str, "profile selection", "profile selected in profile manager", "", MAX_PROFILE_LENGTH) } _signal_names = "choose", "delete", "auto" _new_profile_dialog_signal_names = "new", "clone", "edit" __gsignals__ = { "selection-active-changed" : ( gobject.SIGNAL_RUN_FIRST, gobject.TYPE_NONE, (str, gobject.TYPE_BOOLEAN,)), "selection-changed" : ( gobject.SIGNAL_RUN_FIRST, gobject.TYPE_NONE, (str,)) } __gsignals__.update(dict( (x, (gobject.SIGNAL_RUN_FIRST, gobject.TYPE_NONE, (gobject.TYPE_STRING,))) for x in (_signal_names))) __gsignals__.update(dict( (x, (gobject.SIGNAL_RUN_FIRST, gobject.TYPE_NONE, (gobject.TYPE_STRING,) * 5)) for x in (_new_profile_dialog_signal_names))) @property def profile(self): return self._profile def __init__(self, default, data_function=None): self._default = default self._profile = self._highlighted = None self._selection_active = False self._olddata = () self._title_extra = "" # TC: profile dialog window title text. gtk.Dialog.__init__(self, _("IDJC Profile Manager")) self.set_size_request(600, 300) self.set_border_width(6) w = gtk.ScrolledWindow() w.set_border_width(6) w.set_shadow_type(gtk.SHADOW_ETCHED_OUT) w.set_policy(gtk.POLICY_NEVER, gtk.POLICY_AUTOMATIC) self.get_content_area().add(w) self.store = gtk.ListStore( gtk.gdk.Pixbuf, str, str, int, str, str, int, int) self.sorted = gtk.TreeModelSort(self.store) self.sorted.set_sort_func(1, self._sort_func) self.sorted.set_sort_column_id(1, gtk.SORT_ASCENDING) self.treeview = gtk.TreeView(self.sorted) self.treeview.set_headers_visible(True) self.treeview.set_rules_hint(True) w.add(self.treeview) autorend = gtk.CellRendererPixbuf() autorend.props.width = 16 autorend.props.stock_id = gtk.STOCK_APPLY autorend.props.stock_size = gtk.ICON_SIZE_MENU pbrend = gtk.CellRendererPixbuf() pbrend.props.width = 16 strrend = gtk.CellRendererText() ledrend = CellRendererLED() time_rend = CellRendererTime() strrend_ellip = gtk.CellRendererText() strrend_ellip.props.ellipsize = pango.ELLIPSIZE_END # TC: column heading. The available profile names appears below. c0 = gtk.TreeViewColumn(None, autorend, visible=7) image = gtk.image_new_from_stock(gtk.STOCK_OPEN, gtk.ICON_SIZE_MENU) c0.set_widget(image) image.show() self.treeview.append_column(c0) c1 = gtk.TreeViewColumn(_("Profile")) c1.pack_start(pbrend, expand=False) c1.pack_start(strrend) c1.add_attribute(pbrend, "pixbuf", 0) c1.add_attribute(strrend, "text", 1) c1.set_spacing(2) self.treeview.append_column(c1) # TC: column heading. The profile nicknames. c2 = gtk.TreeViewColumn(_("Nickname"), strrend, text=5) self.treeview.append_column(c2) # TC: column heading. c3 = gtk.TreeViewColumn(_("Description"), strrend_ellip, text=2) c3.set_expand(True) self.treeview.append_column(c3) # TC: column heading. The time a particular profile has been running. c4 = gtk.TreeViewColumn(_("Up-time")) c4.pack_start(ledrend) c4.pack_start(time_rend) c4.add_attribute(ledrend, "active", 3) c4.add_attribute(time_rend, "time", 6) c4.set_spacing(2) self.treeview.append_column(c4) self.selection = self.treeview.get_selection() self.selection.connect("changed", self._cb_selection) box = self.get_action_area() box.set_spacing(6) for attr, label, sec, stock in zip( ("new", "clone", "edit", "delete", "auto", "cancel", "choose"), (gtk.STOCK_NEW, gtk.STOCK_COPY, gtk.STOCK_EDIT, gtk.STOCK_DELETE, _("_Auto"), gtk.STOCK_QUIT, gtk.STOCK_OPEN), (True,) * 4 + (False,) * 3, (True,) * 4 + (False,) + (True,) * 2): w = gtk.Button(label) w.set_use_stock(stock) box.add(w) box.set_child_secondary(w, sec) setattr(self, attr, w) self.delete.set_no_show_all(True) self.cancel.connect("clicked", self._cb_cancel) self.set_data_function(data_function) self.connect("notify::visible", self._cb_visible) for each in self._signal_names: getattr(self, each).connect("clicked", self._cb_click, each) for each in self._new_profile_dialog_signal_names: getattr(self, each).connect("clicked", self._cb_new_profile_dialog, each) def display_error(self, message, transient_parent=None, markup=False): error_dialog = ErrorMessageDialog("", message, markup=markup) error_dialog.set_transient_for(transient_parent or self) error_dialog.show_all() def destroy_new_profile_dialog(self): self._new_profile_dialog.destroy() del self._new_profile_dialog def get_new_profile_dialog(self): return self._new_profile_dialog def do_get_property(self, prop): if prop.name == "selection-active": return self._selection_active elif prop.name == "selection": return self._highlighted else: raise AttributeError("unknown property: %s" % prop.name) def do_selection_active_changed(self, profile, state): state = not state self.choose.set_sensitive(state) self.edit.set_sensitive(state) self.clone.set_sensitive(state) def _cb_click(self, widget, signal): if self._highlighted is not None: def commands(): self.emit(signal, self._highlighted) self._update_data() if signal == "delete": if self._highlighted == self._default: message = _("Delete the" " data of profile '%s'?\n\nThe profile will" " remain available with initial settings.") else: message = _("Delete " "profile '%s' and all its data?\n\nThe" " data of deleted profiles cannot be recovered.") conf = ConfirmationDialog("", message % self._highlighted, markup=True) conf.set_transient_for(self) conf.ok.connect("clicked", lambda w: commands()) conf.show_all() else: commands() def _cb_new_profile_dialog(self, widget, action): if action in ("clone", "edit"): if self._highlighted is None: return row = self._get_row_for_profile(self._highlighted) template = row[1] else: row = None template = None np_dialog = self._new_profile_dialog = NewProfileDialog(row, title_extra = self._title_extra, edit=action=="edit") np_dialog.set_transient_for(self) def sub_ok(widget): profile = np_dialog.profile_entry.get_text() icon = np_dialog.icon_button.get_filename() description = np_dialog.description_entry.get_text().strip() nickname = np_dialog.nickname_entry.get_text().strip() self.emit(action, profile, template, icon, nickname, description) self._update_data() self.highlight_profile(profile) np_dialog.ok.connect("clicked", sub_ok) if action == "edit": np_dialog.delete.connect("clicked", lambda w: self.delete.clicked()) np_dialog.show_all() def _cb_cancel(self, widget): if self._profile is None: self.response(0) else: self.hide() def _cb_delete_event(self, widget, event): self.hide() return True def _cb_visible(self, *args): self._update_data() if self.props.visible: gobject.timeout_add(200, self._protected_update_data) def _cb_selection(self, ts): model, iter = ts.get_selected() if iter is not None: highlighted = model.get_value(iter, 1) active = model.get_value(iter, 3) else: highlighted = None active = False if highlighted != self._highlighted: self._highlighted = highlighted self.emit("selection-changed", self._highlighted) if active != self._selection_active: self._selection_active = active self.emit("selection-active-changed", self._highlighted, active) def highlight_profile(self, target, scroll=True): i = self._get_index_for_profile(target) if i is not None: self.selection.select_path(i) if scroll: self.selection.get_tree_view().scroll_to_cell(i) def _get_index_for_profile(self, target): for i, data in enumerate(self.sorted): if data[1] == target: return i return None def _get_row_for_profile(self, target): path = self._get_index_for_profile(target) if path is not None: return list(self.sorted[path]) else: return None def _sort_func(self, model, *iters): vals = tuple(model.get_value(x, 1) for x in iters) try: return vals.index(self._default) except ValueError: return cmp(*vals) def set_data_function(self, f): self._data_function = f self._update_data() if f is not None: self.highlight_profile(self._default) def _auto_data_function(self, col, cell, model, iter): val = model.get_value(iter, 7) cell.set_visible(val) if val: cell.props.stock_id = gtk.STOCK_APPLY cell.props.stock_size = gtk.ICON_SIZE_MENU def _update_data(self): if self._data_function is not None: data = tuple(self._data_function()) if self._olddata != data: self._olddata = data h = self._highlighted self.selection.handler_block_by_func(self._cb_selection) self.store.clear() for d in data: if d["icon"] is not None: i = d["icon"] else: if d["profile"] == self._default: i = PGlobs.default_icon else: i = None if i is not None: try: pb = gtk.gdk.pixbuf_new_from_file_at_size(i, 16, 16) except glib.GError: pb = i = None else: pb = None desc = d["description"] or "" active = d["active"] nick = d["nickname"] or "" uptime = d["uptime"] auto = d["auto"] self.store.append((pb, d["profile"], desc, active, i or "", nick, uptime, auto)) self.selection.handler_unblock_by_func(self._cb_selection) self.highlight_profile(h, scroll=False) return self.props.visible _protected_update_data = threadslock(_update_data) def set_profile(self, newprofile, title_extra, iconpathname): assert self._profile is None self.hide() self._profile = newprofile self.highlight_profile(newprofile, scroll=True) self.set_title(self.get_title() + title_extra) NewProfileDialog.append_dialog_title(title_extra) self._title_extra = title_extra try: self.set_icon_from_file(iconpathname) except glib.GError: print "Profile icon image file not found:", iconpathname else: gtk.window_set_default_icon_from_file(iconpathname) self.cancel.set_label(gtk.STOCK_CLOSE) self.connect("delete-event", self._cb_delete_event) self.response(0) def run(self): if self._profile is None: self.show_all() gtk.Dialog.run(self) else: self.show() def present(self): self.show_all() idjc-0.8.9/python/prelims/__init__.py0000644000175000017500000011464612122127611014476 00000000000000"""Preliminary initialisation stuff.""" # Copyright (C) 2011, 2013 Stephen Fairchild (s-fairchild@users.sourceforge.net) # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . __all__ = ["ArgumentParserImplementation", "ProfileManager"] import os import sys import argparse import shutil import tempfile import time import math import fcntl import re import glob import uuid import datetime import subprocess from functools import partial from collections import defaultdict import dbus import dbus.service from dbus.mainloop.glib import DBusGMainLoop DBusGMainLoop(set_as_default=True) import glib from idjc import FGlobs from idjc import PGlobs from ..utils import Singleton from ..utils import PathStr import gettext t = gettext.translation(FGlobs.package_name, FGlobs.localedir, fallback=True) _ = t.gettext # The name of the default profile. default = "default" # Regular expressions of files to copy when cloning a profile. config_files = ("config", "controls", "left_session", "main_session", "main_session_files_played", "playerdefaults", "right_session", "interlude_session", "effects[12]_session", "s_data", "ports-.+-.+") class ArgumentParserError(Exception): pass class ArgumentParser(argparse.ArgumentParser): def error(self, text): raise ArgumentParserError(text) def exit_with_message(self, text): """This is just error on the superclass.""" super(ArgumentParser, self).error(text) class ArgumentParserImplementation(object): """To parse the command line arguments, if any.""" __metaclass__ = Singleton def __init__(self, args=None, description=None, epilog=None): if args is None: args = sys.argv[1:] self._args = list(args) if description is None: description = PGlobs.app_longform ap = self._ap = ArgumentParser(description=description, epilog=epilog, add_help=False) ap.add_argument("-h", "--help", action="help", help=_('show this help ' 'message and exit -- additional help is available on each of the ' 'sub-commands for example: "%(prog)s run --help" shows the help ' 'for the run command')) ap.add_argument("-v", "--version", action='version', version=FGlobs.package_name + " " + FGlobs.package_version, # TC: a command line option help string. help=_("show the version number and exit")) sp = self._sp = ap.add_subparsers() # TC: a command line option help string. sp_run = sp.add_parser("run", add_help=False, help=_("run the main " "idjc application -- this is the default when no command line options" " are specified"), # TC: do not translate run. description=description + " " + _("-- sub-command: run -- launch " "the idjc application"), epilog=epilog) # TC: a command line option help string. sp_new = sp.add_parser("new", add_help=False, help=_("make a new profile"), # TC: do not translate the word new. description=description + " " + _("-- sub-command: new -- " "make a new profile"), epilog=epilog) # TC: a command line option help string. sp_rm = sp.add_parser("rm", add_help=False, help=_("remove profile(s)"), # TC: do not translate the word rm. description=description + " " + _("-- sub-command: rm -- remove " "profile(s)"), epilog=epilog) # TC: a command line option help string. sp_auto = sp.add_parser("auto", add_help=False, help=_("select which " "profile is to automatically launch"), # TC: do not translate the word auto. description=description + " " + _("-- sub-command: auto -- mark a" " profile for auto-launch"), epilog=epilog) # TC: a command line option help string. sp_noauto = sp.add_parser("noauto", add_help=False, help=_("remove auto-launch"), description=description + " " + _("-- sub-command: noauto -- " "remove auto-launch"), epilog=epilog) # TC: a command line option help string. sp_ls = sp.add_parser("ls", add_help=False, help=_("list available profiles"), # TC: do not translate the word ls. description=description + " " + _("-- sub-command: ls -- list " "available profiles"), epilog=epilog) sp_run.add_argument("-h", "--help", action="help", help=_('show this help message and exit')) sp_run.add_argument("-d", "--dialog", dest="dialog", nargs=1, choices=("true", "false"), help=_("""force the appearance or non-appearance of the profile chooser dialog -- when used with the -p option the chosen profile is preselected""")) # TC: command line help placeholder. sp_run.add_argument("-p", "--profile", dest="profile", nargs=1, metavar=_("profile_choice"), help=_("""the profile to use -- overrides the user interface preferences "show profile dialog" option""")) sp_run.add_argument("-j", "--jackserver", dest="jackserver", nargs=1, # TC: command line help placeholder. metavar=_("server_name"), help=_("the named jack sound-server " "to connect with")) sp_run.add_argument("-S", "--session", dest="session", nargs=1, # TC: command line help placeholder. metavar=_("session_details"), help=_("e.g. 'L1:name' for a named Ladish [L1] session called " "'name' -- refer to the idjc man page for more details")) sp_run.add_argument("--no-jack-connections", dest="no_jack_connections", action="store_true", help=_('At start-up do not make any JACK connections. This ' 'option delegates all control over restored connections to ' 'the session handler.')) sp_run.add_argument("-C", "--no-default-jack-connections", dest="no_default_jack_connections", action="store_true", help=_('No JACK ports will be connected except those listed in' ' the session file.')) group = sp_run.add_argument_group(_("user interface settings")) group.add_argument("-c", "--channels", dest="channels", nargs="+", metavar="c", help=_("the audio channels to have open at startup")) group.add_argument("-V", "--voip", dest="voip", nargs=1, choices= ("off", "private", "public"), help=_("the voip mode at startup")) group.add_argument("-P", "--players", dest="players", nargs="+", metavar="p", help="the players to start among values {1,2,3}") group.add_argument("-s", "--servers", dest="servers", nargs="+", metavar="s", help=_("attempt connection with the specified servers")) group.add_argument("-k", "--kicksources", dest="kicksources", nargs="+", metavar="k", help=_("""kick sources on servers -- note that this will be done before any server connection attempts are made""")) group.add_argument("-x", "--crossfader", dest="crossfader", choices=("1", "2"), help=_("position the crossfader for the specified player")) sp_new.add_argument("-h", "--help", action="help", help=_('show this help message and exit')) # TC: command line help placeholder. sp_new.add_argument("newprofile", metavar=_("profile_name"), help=_("""new profile name -- will form part of the dbus bus/object/interface name and the JACK client ID -- restrictions therefore apply""")) # TC: command line help placeholder. sp_new.add_argument("-t", "--template", dest="template", metavar=_("template_profile"), help=_("an existing profile to use as a template")) # TC: command line help placeholder. sp_new.add_argument("-i", "--icon", dest="icon", metavar=_("icon_pathname"), help=_("pathname to an icon -- defaults to idjc logo")) # TC: Command line help placeholder for the profile's nickname. # TC: Profile names are very restricted in what characters can be used. sp_new.add_argument("-n", "--nickname", dest="nickname", metavar=_("nickname"), help=_("the alternate profile name to appear in window title" " bars")) sp_new.add_argument("-d", "--description", dest="description", metavar=_("description_text"), help=_("a description of the profile")) sp_rm.add_argument("-h", "--help", action="help", help=_('show this help message and exit')) sp_rm.add_argument("rmprofile", metavar=_("profile_name"), nargs="+", help=_('the profile(s) to remove')) sp_auto.add_argument("-h", "--help", action="help", help=_('show this help message and exit')) sp_auto.add_argument("autoprofile", metavar="profile_name", help=_('the profile to make automatic')) sp_noauto.add_argument("-h", "--help", action="help", help=_('show this help message and exit')) sp_noauto.add_argument("--dummyarg", dest="noauto", help=argparse.SUPPRESS) sp_ls.add_argument("-h", "--help", action="help", help=_('show this help message and exit')) sp_ls.add_argument("--dummyarg", dest="ls", help=argparse.SUPPRESS) def parse_args(self): try: return self._ap.parse_args(self._args) except ArgumentParserError as e: try: for cmd in self._sp.choices.iterkeys(): if cmd in self._args: raise return self._ap.parse_args(self._args + ["run"]) except ArgumentParserError: self._ap.exit_with_message(str(e)) def error(self, text): self._ap.exit_with_message(text) def exit(self, status=0, message=None): self._ap.exit(status, message) class DBusUptimeReporter(dbus.service.Object): """Supply uptime to other idjc instances.""" interface_name = PGlobs.dbus_bus_basename + ".profile" obj_path = PGlobs.dbus_objects_basename + "/uptime" def __init__(self): self._uptime_cache = defaultdict(float) self._interface_cache = {} # Defer base class initialisation. @dbus.service.method(interface_name, out_signature="d") def get_uptime(self): """Broadcast uptime from the current profile.""" return self._get_uptime() def activate_for_profile(self, bus_name, get_uptime): self._get_uptime = get_uptime dbus.service.Object.__init__(self, bus_name, self.obj_path) def get_uptime_for_profile(self, profile): """Ask and return the uptime of an active profile. Step 1, Issue an async request for new data. Step 2, Return immediately with the cached value. Note: On error the cache is purged. Supports synchronous mode in the absence of an event loop. """ def rh(retval): self._uptime_cache[profile] = retval def eh(exception): try: del self._uptime_cache[profile] except KeyError: pass try: del self._interface_cache[profile] except KeyError: pass try: interface = self._interface_cache[profile] except KeyError: try: p = dbus.SessionBus().get_object(PGlobs.dbus_bus_basename + \ "." + profile, self.obj_path) interface = dbus.Interface(p, self.interface_name) except dbus.exceptions.DBusException as e: eh(e) return self._uptime_cache.default_factory() self._interface_cache[profile] = interface if glib.main_depth(): # asynchronous: more CPU efficient but requires event loop interface.get_uptime(reply_handler=rh, error_handler=eh) return self._uptime_cache[profile] else: # synchronous return interface.get_uptime() # Profile length limited for practical reasons. For more descriptive # purposes the nickname parameter was created. MAX_PROFILE_LENGTH = 18 def profile_name_valid(p): try: dbus.validate_bus_name("com." + p) dbus.validate_object_path("/" + p) except (TypeError, ValueError): return False return len(p) <= MAX_PROFILE_LENGTH class ProfileError(Exception): """General purpose exception used within the ProfileManager class. Takes two strings so that one can be used for command line messages and the other for displaying in dialog boxes.""" def __init__(self, str1, str2=None): Exception.__init__(self, str1) self.gui_text = str2 def profileclosure(cmd, name): """A factory function of sorts.""" busbase = PGlobs.dbus_bus_basename def inner(profname): return cmd(".".join((busbase, profname))) inner.__name__ = name return staticmethod(inner) class ProfileManager(object): """The profile gives each application instance a unique identity. This identity extends to the config file directory if present, to the JACK application ID, to the DBus bus name. """ __metaclass__ = Singleton _profile = _dbus_bus_name = _profile_dialog = _init_time = None _iconpathname = PGlobs.default_icon _textoptionals = ("nickname", "description") _optionals = ("icon",) + _textoptionals def __init__(self): ap = ArgumentParserImplementation() args = ap.parse_args() try: if not os.path.isdir(PGlobs.profile_dir / default): self._generate_default_profile() if "newprofile" in args: self._generate_profile(**vars(args)) ap.exit(0) except ProfileError as e: ap.error(_("failed to create profile: %s") % str(e)) try: if "rmprofile" in args: self._delete_profile(None, args.rmprofile) ap.exit(0) except ProfileError as e: ap.error(_("failed to delete profile: %s") % str(e)) try: if "autoprofile" in args: self._auto(None, args.autoprofile) ap.exit(0) except ProfileError as e: ap.error(_("auto failed: %s") % str(e)) try: if "noauto" in args: self._noauto() ap.exit(0) except EnvironmentError as e: ap.error(_("noauto failed: %s") % e) self._uprep = DBusUptimeReporter() try: if "ls" in args: self._ls() ap.exit(0) except EnvironmentError as e: ap.error(_("ls failed: %s") % e) self._session_type, self._session_dir, self._session_name, \ self._session_uuid = self._parse_session(ap, args) if self._session_dir is None: # Not in session mode so do the profile init stuff. profile = self.autoloadprofilename if profile is None: profile = default dialog_selects = True else: dialog_selects = False if args.profile is not None: profile = args.profile[0] dialog_selects = False if not profile_name_valid(profile): ap.error(_("the specified profile name is not valid")) if args.dialog is not None: dialog_selects = args.dialog[0] == "true" if not dialog_selects and profile: if not profile_name_valid(profile): ap.error(_('profile name is bad')) if profile not in os.walk(PGlobs.profile_dir).next()[1]: ap.error(_('profile %s does not exist') % profile) if self._profile_has_owner(profile): ap.error(_('profile %s is already running') % profile) self._profile_dialog = self._get_profile_dialog() self._profile_dialog.connect("delete", self._delete_profile) self._profile_dialog.connect("choose", self._choose_profile) def new_profile(dialog, profile, template, icon, nickname, description): try: self._generate_profile(profile, template, icon=icon, nickname=nickname, description=description) dialog.destroy_new_profile_dialog() except ProfileError as e: dialog.display_error(_("" "Error while creating new profile.\n\n%s") % e.gui_text, transient_parent=dialog.get_new_profile_dialog(), markup=True) self._profile_dialog.connect("new", new_profile) self._profile_dialog.connect("clone", new_profile) self._profile_dialog.connect("edit", self._cb_edit_profile) self._profile_dialog.connect("auto", self._auto) self._profile_dialog.highlight_profile(profile, scroll=True) if dialog_selects: self._profile_dialog.run() self._profile_dialog.hide() else: self._choose_profile(self._profile_dialog, profile, verbose=True) if self._profile is None: ap.error(_("no profile is set")) else: claim = "session." + self._session_name try: self._dbus_bus_name = self._grab_bus_name_for_profile(claim) except Exception: ap.error(_("failed to grab bus name -- " "another session by the same name appears to be running")) @property def profile(self): return self._profile @property def iconpathname(self): return self._iconpathname @property def dbus_bus_name(self): return self._dbus_bus_name @property def basedir(self): """The root save directory.""" if self._session_dir is not None: return self._session_dir else: return PGlobs.profile_dir / self.profile @property def session_type(self): """Session mode: L0 for none, L1 for Ladish L1 mode.""" return self._session_type @property def session_name(self): """The name of the session.""" return self._session_name @property def session_uuid(self): """When session is JACK this will be set to something.""" return self._session_uuid @property def ports_pathname(self): """Where to save jack session to and load it from.""" return self.basedir / ("ports-%s-%s" % ( self.session_type, self.session_name)) @property def title_extra(self): """Window title text indicating which profile is in use.""" if self.profile is not None: n = self._nickname if n: return " (%s:%s)" % ((self.profile, n)) else: if self.profile == default: return "" return " (%s)" % self.profile else: # TC: text appears in the title bar when in session mode. return " (%s)" % _('session={type}:{name}').format( type=self.session_type, name=self.session_name) @property def autoloadprofilename(self): """Which profile would automatically load if given the chance?""" al_profile = self._autoloadprofilename() if al_profile is None: return None try: profiledirs = os.walk(PGlobs.profile_dir).next()[1] except (EnvironmentError, StopIteration): return None return al_profile if al_profile in profiledirs else None @property def profile_dialog(self): return self._profile_dialog def get_uptime(self): if self._init_time is not None: return time.time() - self._init_time else: return 0.0 @staticmethod def _parse_session(ap, args): """User supplied session details are parsed and checked for validity.""" def profile_check(): if not profile_name_valid(args.profile[0]): ap.error( _('specified profile is not valid %s') % args.profile[0]) if not os.path.isdir(PGlobs.profile_dir / args.profile[0]): ap.error(_('specified profile does not exist: %s') % \ args.profile[0]) if args.session is None: # The None parameter below indicates profile mode is on and the # profile will determine the save directory, otherwise we return # the save directory instead. # L0 relates to Ladish [L0] mode which is an unmanaged session. # The final return value is the save location of the JACK port # connections file. # Since it's not a pathname it goes in the standard save directory. return "L0", None, "default", None if ":" in args.session[0]: session_type, rest = args.session[0].split(":", 1) if ":" in rest: session_name, session_dir = rest.split(":", 1) else: session_name = rest session_dir = None else: session_type = args.session[0] session_name = "default" session_dir = None # Check validity of session_type and normalize it. supported_sessions = {"l0": "L0", "l1": "L1", "jack": "JACK"} try: session_type = supported_sessions[session_type.lower()] except KeyError: ap.error(_("unknown session type: %s: must be one of %s") % (session_type, str(supported_sessions.values()))) # The backend when started needs to know what session type we are using. os.environ["session_type"] = session_type if re.match("^[a-zA-Z0-9_]+$", session_name) is None: ap.error("session name must match [a-zA-Z0-9_]+") if session_dir is not None: session_dir = os.path.realpath(os.path.expanduser(session_dir)) if not os.path.isdir(session_dir): ap.error(_('directory does not exist: %s') % session_dir) # Use a subdir for the actual save path based on the mode and name. session_dir = os.path.join(session_dir, "idjc-%s-%s" % ( session_type, session_name)) if args.profile is not None: profile_check() if os.path.isdir(session_dir): # Session directory was created earlier so use that. pass else: if session_type == "JACK": ap.error("session directory has no data") else: # Perform copy of profile data. try: shutil.copytree(PGlobs.profile_dir / args.profile[0], session_dir) except EnvironmentError as e: if e.errno != 17: ap.error("failed to copy data from the" " profile directory: %s" % e) elif session_type != "JACK": # Just make the empty session directory. try: os.makedirs(session_dir) except EnvironmentError as e: if e.errno != 17: ap.error( _('problem with specified session directory: %s') % e) if session_type == "JACK": if session_dir is None and args.profile is not None: profile_check() session_dir = PGlobs.profile_dir / args.profile[0] try: session_uuid = uuid.UUID(args.jackserver[0]) except TypeError: if args.jackserver is not None: ap.error("supplied parameter to -j is not a UUID") session_uuid = uuid.uuid4() print "creating random UUID for JACK session = {%s}" % \ session_uuid else: session_uuid = None return session_type, PathStr(session_dir), session_name, \ None if session_uuid is None else str(session_uuid) def _autoloadprofilename(self): """Just the file contents without checking.""" try: with open(PGlobs.autoload_profile_pathname) as f: fcntl.flock(f, fcntl.LOCK_EX) al_profile = f.readline().strip() except IOError: return None return al_profile def _auto(self, dialog, profile): if dialog is None and profile != default and not \ os.path.isdir(PGlobs.profile_dir / profile): raise ProfileError(_('profile %s does not exist') % profile, None) try: if not os.path.exists(PGlobs.autoload_profile_pathname): with open(PGlobs.autoload_profile_pathname, "w"): pass with open(PGlobs.autoload_profile_pathname, "r+") as f: fcntl.flock(f, fcntl.LOCK_EX) al_profile = f.readline().strip() f.seek(0) if profile != al_profile or dialog is None: f.write(profile) f.truncate() except IOError as e: if dialog is None: raise ProfileError(str(e), None) def _noauto(self): try: with open(PGlobs.autoload_profile_pathname, "r+") as f: fcntl.flock(f, fcntl.LOCK_EX) f.truncate() except IOError: pass def _cb_edit_profile(self, dialog, newprofile, oldprofile, *opts): busses = [] try: try: busses.append(self._grab_bus_name_for_profile(oldprofile)) if newprofile != oldprofile: busses.append(self._grab_bus_name_for_profile(newprofile)) except dbus.DBusException: raise ProfileError(None, _("Profile %s is active.") % (oldprofile, newprofile)[len(busses)]) if newprofile != oldprofile: try: shutil.copytree(PGlobs.profile_dir / oldprofile, PGlobs.profile_dir / newprofile) except EnvironmentError as e: if e.errno == 17: raise ProfileError(None, _("Cannot rename profile {0} to {1}, {1} currently " "exists.").format(oldprofile, newprofile)) else: raise ProfileError(None, _("Error during attempt to rename {0} to {1}." ).format(oldprofile, newprofile)) shutil.rmtree(PGlobs.profile_dir / oldprofile) for name, data in zip(self._optionals, opts): with open(PGlobs.profile_dir / newprofile / name, "w") as f: f.write(data or "") except ProfileError, e: text = _("Error while editing " "profile: {0}.\n\n{1}").format(oldprofile, e.gui_text) dialog.display_error(text, markup=True, transient_parent=dialog.get_new_profile_dialog()) else: dialog.destroy_new_profile_dialog() def _delete_profile(self, dialog, profiles): if isinstance(profiles, str): profiles = [profiles] if dialog is None or profiles[0] is not dialog.profile: busnames = [] # Lock all specified profiles before deleting any. for profile in profiles: try: busnames.append(self._grab_bus_name_for_profile(profile)) except (dbus.DBusException, ValueError) as e: if dialog is None: raise ProfileError(_("could not get a lock on profile" " {0}: {1}").format(profile, str(e)), None) # Check all directories exist beforehand. if not any(os.path.isdir(PGlobs.profile_dir / x) for x in profiles): raise ProfileError(_('profile does not exist')) for profile in profiles: try: shutil.rmtree(PGlobs.profile_dir / profile) except OSError as e: if dialog is None: raise ProfileError(e, None) del busnames if profile == default: self._generate_default_profile() def _choose_profile(self, dialog, profile, verbose=False): if dialog.profile is None: try: self._dbus_bus_name = self._grab_bus_name_for_profile(profile) except dbus.DBusException: if verbose: print _("the profile '%s' is in use") % profile else: self._init_time = time.time() self._profile = profile self._nickname = self._grab_profile_filetext( profile, "nickname") or "" self._iconpathname = self._grab_profile_filetext( profile, "icon") or PGlobs.default_icon dialog.set_profile( profile, self.title_extra, self._iconpathname) self._uprep.activate_for_profile( self._dbus_bus_name, self.get_uptime) else: print "%s run -p %s" % (FGlobs.bindir / FGlobs.package_name, profile) subprocess.Popen([FGlobs.bindir / FGlobs.package_name, "run", "-p", profile], close_fds=True) def _generate_profile(self, newprofile, template=None, **kwds): if PGlobs.profile_dir is not None: if len(newprofile) > MAX_PROFILE_LENGTH: raise ProfileError(_("the profile length is too long " "(max %d characters)") % MAX_PROFILE_LENGTH, _("The profile length is too long (max %d characters).") % MAX_PROFILE_LENGTH) if not profile_name_valid(newprofile): raise ProfileError(_("the new profile name is not valid"), _("The new profile name is not valid.")) try: busname = self._grab_bus_name_for_profile(newprofile) except dbus.DBusException: raise ProfileError(_("the chosen profile is currently running"), _("The chosen profile is currently running.")) try: tmp = PathStr(tempfile.mkdtemp()) except EnvironmentError: raise ProfileError(_("temporary directory creation failed"), _("Temporary directory creation failed.")) try: if template is not None: if not profile_name_valid(template): raise ProfileError( _("the specified template '%s' is not valid") % template, _("The specified template '%s' is not valid.") % template) tdir = PGlobs.profile_dir / template if os.path.isdir(tdir): for top, dirs, files in os.walk(tdir): for filename in files: for expr in self._optionals + config_files: if re.match(expr + "$", filename): try: shutil.copyfile(tdir / filename, tmp / filename) except EnvironmentError as e: print e try: shutil.copytree(tdir / "links", tmp / "links") except EnvironmentError: # Links directory might not exist. pass else: raise ProfileError( _("the template profile '%s' does not exist") % template, _("The template profile '%s' does not exist.") % template) for fname in self._optionals: if kwds.get(fname): try: with open(tmp / fname, "w") as f: f.write(kwds[fname]) except EnvironmentError: raise ProfileError( _("could not write file %s") + fname, _("Could not write file %s.") % fname) dest = PGlobs.profile_dir / newprofile try: shutil.copytree(tmp, dest) except EnvironmentError as e: if e.errno == 17 and os.path.isdir(dest): msg1 = _("the profile directory '%s' already" \ " exists") % dest msg2 = _("The profile directory '%s' already" \ " exists.") % dest else: msg1 = _("a non directory path exists at: '%s'") % dest msg2 = _("A Non directory path exists at: '%s'.") % dest raise ProfileError(msg1, msg2) finally: # Failure to clean up is not a critical error. try: shutil.rmtree(tmp) except EnvironmentError: pass def _generate_default_profile(self): self._generate_profile(default, description=_("The default profile")) def _profile_data(self): a = self._autoloadprofilename() d = PGlobs.profile_dir try: profdirs = os.walk(d).next()[1] except (EnvironmentError, StopIteration): return for profname in profdirs: if profile_name_valid(profname): files = os.walk(d / profname).next()[2] rslt = {"profile": profname} for each in self._optionals: try: with open(d / profname / each) as f: rslt[each] = f.read() except EnvironmentError: rslt[each] = None rslt["active"] = self._profile_has_owner(profname) rslt["uptime"] = math.floor(self._uprep.get_uptime_for_profile( profname)) rslt["auto"] = (1 if a == profname else 0) yield rslt def _ls(self): table = [] for pd in self._profile_data(): row = [] row.append(pd["profile"]) row.append("*" if pd["auto"] else " ") row.append(str(datetime.timedelta(seconds=pd["uptime"]))) for each in self._textoptionals: row.append(self._grab_profile_filetext(pd["profile"], each) or "\b") table.append(row) for row in sorted(table): print "{1} {0:{5}} {2:>16} {3} {4}".format(*(tuple(row) + (MAX_PROFILE_LENGTH,))) _profile_has_owner = profileclosure(dbus.SessionBus().name_has_owner, "_profile_has_owner") _grab_bus_name_for_profile = profileclosure(partial( dbus.service.BusName, do_not_queue=True), "_grab_bus_name_for_profile") @staticmethod def _grab_profile_filetext(profile, filename): try: with open(PGlobs.profile_dir / profile / filename) as f: return f.readline().strip() except EnvironmentError: return None def _get_profile_dialog(self): from .profiledialog import ProfileDialog return ProfileDialog(default=default, data_function=self._profile_data) idjc-0.8.9/python/prelims/Makefile.in0000644000175000017500000003777212142730017014440 00000000000000# Makefile.in generated by automake 1.12.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2012 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__make_dryrun = \ { \ am__dry=no; \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ *) \ for am__flg in $$MAKEFLAGS; do \ case $$am__flg in \ *=*|--*) ;; \ *n*) am__dry=yes; break;; \ esac; \ done;; \ esac; \ test $$am__dry = yes; \ } pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = python/prelims DIST_COMMON = $(prelimspython_PYTHON) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(top_srcdir)/py-compile ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__py_compile = PYTHON=$(PYTHON) $(SHELL) $(py_compile) am__installdirs = "$(DESTDIR)$(prelimspythondir)" am__pep3147_tweak = \ sed -e 's|\.py$$||' -e 's|[^/]*$$|__pycache__/&.*.py|' py_compile = $(top_srcdir)/py-compile DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ COPYRIGHT_YEAR = @COPYRIGHT_YEAR@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ DYN_LAME = @DYN_LAME@ DYN_LDFLAGS = @DYN_LDFLAGS@ DYN_LIBS = @DYN_LIBS@ DYN_MPG123 = @DYN_MPG123@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ EXT = @EXT@ FGREP = @FGREP@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ HAVE_AVCODEC = @HAVE_AVCODEC@ HAVE_AVFORMAT = @HAVE_AVFORMAT@ HAVE_AVUTIL = @HAVE_AVUTIL@ HAVE_FLAC = @HAVE_FLAC@ HAVE_OGGFLAC = @HAVE_OGGFLAC@ HAVE_OPUS = @HAVE_OPUS@ HAVE_SPEEX = @HAVE_SPEEX@ HAVE_TWOLAME = @HAVE_TWOLAME@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBAVCODEC_CFLAGS = @LIBAVCODEC_CFLAGS@ LIBAVCODEC_LIBS = @LIBAVCODEC_LIBS@ LIBAVFORMAT_CFLAGS = @LIBAVFORMAT_CFLAGS@ LIBAVFORMAT_LIBS = @LIBAVFORMAT_LIBS@ LIBAVUTIL_CFLAGS = @LIBAVUTIL_CFLAGS@ LIBAVUTIL_LIBS = @LIBAVUTIL_LIBS@ LIBFLAC_CFLAGS = @LIBFLAC_CFLAGS@ LIBFLAC_LIBS = @LIBFLAC_LIBS@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBJACK_CFLAGS = @LIBJACK_CFLAGS@ LIBJACK_LIBS = @LIBJACK_LIBS@ LIBM = @LIBM@ LIBMP3LAME = @LIBMP3LAME@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSAMPLERATE_CFLAGS = @LIBSAMPLERATE_CFLAGS@ LIBSAMPLERATE_LIBS = @LIBSAMPLERATE_LIBS@ LIBSNDFILE_CFLAGS = @LIBSNDFILE_CFLAGS@ LIBSNDFILE_LIBS = @LIBSNDFILE_LIBS@ LIBSPEEX_CFLAGS = @LIBSPEEX_CFLAGS@ LIBSPEEX_LIBS = @LIBSPEEX_LIBS@ LIBTOOL = @LIBTOOL@ LIBVORBISENC_CFLAGS = @LIBVORBISENC_CFLAGS@ LIBVORBISENC_LIBS = @LIBVORBISENC_LIBS@ LIBVORBIS_CFLAGS = @LIBVORBIS_CFLAGS@ LIBVORBIS_LIBS = @LIBVORBIS_LIBS@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MPG123 = @MPG123@ MPG123_CFLAGS = @MPG123_CFLAGS@ MPG123_LIBS = @MPG123_LIBS@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OPUS_CFLAGS = @OPUS_CFLAGS@ OPUS_LIBS = @OPUS_LIBS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ PYGTK_CFLAGS = @PYGTK_CFLAGS@ PYGTK_LIBS = @PYGTK_LIBS@ PYTHON = @PYTHON@ PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ PYTHON_PLATFORM = @PYTHON_PLATFORM@ PYTHON_PREFIX = @PYTHON_PREFIX@ PYTHON_VERSION = @PYTHON_VERSION@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SHOUTIDJC_CFLAGS = @SHOUTIDJC_CFLAGS@ SHOUTIDJC_LIBS = @SHOUTIDJC_LIBS@ STRIP = @STRIP@ TWOLAME_CFLAGS = @TWOLAME_CFLAGS@ TWOLAME_LIBS = @TWOLAME_LIBS@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ pkgpyexecdir = @pkgpyexecdir@ pkgpythondir = @pkgpythondir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ pyexecdir = @pyexecdir@ pythondir = @pythondir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ prelimspython_PYTHON = __init__.py profiledialog.py prelimspythondir = ${pkgpythondir}/prelims .PHONY = $prelimspython_PYTHON all: all-am .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu python/prelims/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu python/prelims/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-prelimspythonPYTHON: $(prelimspython_PYTHON) @$(NORMAL_INSTALL) @list='$(prelimspython_PYTHON)'; dlist=; list2=; test -n "$(prelimspythondir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(prelimspythondir)'"; \ $(MKDIR_P) "$(DESTDIR)$(prelimspythondir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \ if test -f $$b$$p; then \ $(am__strip_dir) \ dlist="$$dlist $$f"; \ list2="$$list2 $$b$$p"; \ else :; fi; \ done; \ for file in $$list2; do echo $$file; done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(prelimspythondir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(prelimspythondir)" || exit $$?; \ done || exit $$?; \ if test -n "$$dlist"; then \ $(am__py_compile) --destdir "$(DESTDIR)" \ --basedir "$(prelimspythondir)" $$dlist; \ else :; fi uninstall-prelimspythonPYTHON: @$(NORMAL_UNINSTALL) @list='$(prelimspython_PYTHON)'; test -n "$(prelimspythondir)" || list=; \ py_files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ test -n "$$py_files" || exit 0; \ dir='$(DESTDIR)$(prelimspythondir)'; \ pyc_files=`echo "$$py_files" | sed 's|$$|c|'`; \ pyo_files=`echo "$$py_files" | sed 's|$$|o|'`; \ py_files_pep3147=`echo "$$py_files" | $(am__pep3147_tweak)`; \ echo "$$py_files_pep3147";\ pyc_files_pep3147=`echo "$$py_files_pep3147" | sed 's|$$|c|'`; \ pyo_files_pep3147=`echo "$$py_files_pep3147" | sed 's|$$|o|'`; \ st=0; \ for files in \ "$$py_files" \ "$$pyc_files" \ "$$pyo_files" \ "$$pyc_files_pep3147" \ "$$pyo_files_pep3147" \ ; do \ $(am__uninstall_files_from_dir) || st=$$?; \ done; \ exit $$st tags: TAGS TAGS: ctags: CTAGS CTAGS: cscope cscopelist: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile installdirs: for dir in "$(DESTDIR)$(prelimspythondir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-prelimspythonPYTHON install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-prelimspythonPYTHON .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ distclean distclean-generic distclean-libtool distdir dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-pdf \ install-pdf-am install-prelimspythonPYTHON install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ ps ps-am uninstall uninstall-am uninstall-prelimspythonPYTHON # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: idjc-0.8.9/python/prelims/Makefile.am0000644000175000017500000000017712113174301014410 00000000000000prelimspython_PYTHON = __init__.py profiledialog.py prelimspythondir = ${pkgpythondir}/prelims .PHONY = $prelimspython_PYTHON idjc-0.8.9/python/Makefile.am0000644000175000017500000000122712114637001012734 00000000000000SUBDIRS = prelims am__py_compile = $(top_srcdir)/py-compile pkgpython_PYTHON = dialogs.py gtkstuff.py irc.py jingles.py licence_window.py \ maingui.py midicontrols.py mutagentagger.py songdb.py playergui.py \ popupwindow.py preferences.py sourceclientgui.py tooltips.py utils.py \ format.py nodist_pkgpython_PYTHON = __init__.py dist_noinst_PYTHON = __init__.py.in.in __init__.py: __init__.py.in @sed -e 's|$${pkgdatadir}|${pkgdatadir}|g' \ -e 's|$${exec_prefix}|${exec_prefix}|g' \ -e 's|$${prefix}|${prefix}|g' \ -e 's|$${datarootdir}|${datarootdir}|g' $? >$@ clean-local: rm -f __init__.py .PHONY: __init__.py $pkgpython_PYTHON idjc-0.8.9/python/songdb.py0000644000175000017500000014623312115214106012533 00000000000000"""Music database connectivity and display.""" # Copyright (C) 2012 Stephen Fairchild (s-fairchild@users.sourceforge.net) # (C) 2012 Brian Millham (bmillham@users.sourceforge.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . import os import time import types import gettext import threading from functools import partial, wraps from collections import deque from urllib import quote import glib import gobject import pango import gtk try: import MySQLdb as sql except ImportError: have_songdb = False else: have_songdb = True from idjc import FGlobs from .tooltips import set_tip from .gtkstuff import threadslock, DefaultEntry, NotebookSR __all__ = ['MediaPane', 'have_songdb'] AMPACHE = "Ampache" PROKYON_3 = "Prokyon 3" FUZZY, CLEAN, WHERE, DIRTY = xrange(4) t = gettext.translation(FGlobs.package_name, FGlobs.localedir, fallback=True) _ = t.gettext def thread_only(func): """Guard a method from being called from outside the thread context.""" @wraps(func) def inner(self, *args, **kwargs): assert threading.current_thread() == self func(self, *args, **kwargs) return inner class DBAccessor(threading.Thread): """A class to hide the intricacies of database access. When the database connection is dropped due to timeout it will silently remake the connection and continue on with its work. """ def __init__(self, hostnameport, user, password, database, notify): """The notify function must lock gtk before accessing widgets.""" threading.Thread.__init__(self) try: hostname, port = hostnameport.rsplit(":", 1) port = int(port) except ValueError: hostname = hostnameport port = 3306 # MySQL uses this as the default port. self.hostname = hostname self.port = port self.user = user self.password = password self.database = database self.notify = notify self._handle = None # No connections made until there is a query. self._cursor = None self.jobs = deque() self.semaphore = threading.Semaphore() self.keepalive = True self.start() def request(self, sql_query, handler, failhandler=None): """Add a request to the job queue. The failhandler may "raise exception" to reconnect and try again or it may return... False, None: to run the handler True: to cancel the job """ self.jobs.append((sql_query, handler, failhandler)) self.semaphore.release() def close(self): """Clean up the worker thread prior to disposal.""" if self.is_alive(): self.keepalive = False self.semaphore.release() return def run(self): """This is the worker thread.""" notify = partial(glib.idle_add, threadslock(self.notify)) try: while self.keepalive: self.semaphore.acquire() if self.keepalive and self.jobs: query, handler, failhandler = self.jobs.popleft() trycount = 0 while trycount < 3: try: try: rows = self._cursor.execute(*query) except sql.Error as e: if failhandler is not None: if failhandler(e, notify): break rows = 0 else: raise e except (sql.Error, AttributeError) as e: if not self.keepalive: return if isinstance(e, sql.OperationalError): # Unhandled errors will be treated like # connection failures. try: self._cursor.close() except Exception: pass try: self._handle.close() except Exception: pass if not self.keepalive: return notify(_('Connecting')) trycount += 1 try: self._handle = sql.Connection( host=self.hostname, port=self.port, user=self.user, passwd=self.password, db=self.database, connect_timeout=6) self._cursor = self._handle.cursor() except sql.Error as e: notify(_("Connection failed (try %d)") % trycount) print e time.sleep(0.5) else: try: self._cursor.execute('set names utf8') self._cursor.execute( 'set character set utf8') self._cursor.execute( 'set character_set_connection=utf8') except sql.MySQLError: notify(_('Connected: utf-8 mode failed')) else: notify(_('Connected')) else: if not self.keepalive: return handler(self, self.request, self._cursor, notify, rows) break else: notify(_('Job dropped')) finally: try: self._cursor.close() except Exception: pass try: self._handle.close() except Exception: pass notify(_('Disconnected')) @thread_only def purge_job_queue(self, remain=0): while len(self.jobs) > remain: self.jobs.popleft() self.semaphore.acquire() @thread_only def disconnect(self): try: self._handle.close() except sql.Error: glib.idle_add(threadslock(self.notify), _('Problem dropping connection')) else: glib.idle_add(threadslock(self.notify), _('Connection dropped')) @thread_only def replace_cursor(self, cursor): """Handler may break off the cursor to pass along its data.""" assert cursor is self._cursor self._cursor = self._handle.cursor() class Settings(gtk.Table): def __init__(self, name): self._name = name gtk.Table.__init__(self, 5, 4) self.set_border_width(10) self.set_row_spacings(1) for col, spc in zip(xrange(3), (3, 10, 3)): self.set_col_spacing(col, spc) self._controls = [] self.textdict = {} # Attachment for labels. l_attach = partial(self.attach, xoptions=gtk.SHRINK | gtk.FILL) # Top row. hostportlabel, self.hostnameport = self._factory( _('Hostname[:Port]'), 'localhost', "hostnameport") l_attach(hostportlabel, 0, 1, 0, 1) self.attach(self.hostnameport, 1, 4, 0, 1) # Second row. hbox = gtk.HBox() hbox.set_spacing(3) fpmlabel, self.addchars = self._factory(_('File Path Modify'), None, "addchars") adj = gtk.Adjustment(0.0, 0.0, 999.0, 1.0, 1.0) self.delchars = gtk.SpinButton(adj, 0.0, 0) self._controls.append(self.delchars) self.valuesdict = {"songdb_delchars_" + name: self.delchars} set_tip(self.delchars, _('The number of characters to strip from ' 'the left hand side of media file paths.')) set_tip(self.addchars, _('The characters to prefix to the media file paths.')) l_attach(fpmlabel, 0, 1, 1, 2) minus = gtk.Label('-') hbox.pack_start(minus, False) hbox.pack_start(self.delchars, False) plus = gtk.Label('+') hbox.pack_start(plus, False) hbox.pack_start(self.addchars) self.attach(hbox, 1, 4, 1, 2) # Third row. userlabel, self.user = self._factory(_('User Name'), "admin", "user") l_attach(userlabel, 0, 1, 3, 4) self.attach(self.user, 1, 2, 3, 4) dblabel, self.database = self._factory(_('Database'), "ampache", "database") l_attach(dblabel, 2, 3, 3, 4) self.attach(self.database, 3, 4, 3, 4) # Fourth row. passlabel, self.password = self._factory(_('Password'), "", "password") self.password.set_visibility(False) l_attach(passlabel, 0, 1, 4, 5) self.attach(self.password, 1, 2, 4, 5) def get_conn_data(self): """Collate parameters for DBAccessor contructors.""" conn_data = {} for key in "hostnameport user password database".split(): conn_data[key] = getattr(self, key).get_text().strip() return conn_data def get_transformation_data(self): """Make a file path transformation function.""" from_ = self.delchars.get_value_as_int() + 1 prepend_str = self.addchars.get_text().strip() return from_, prepend_str def set_sensitive(self, sens): """Just specific contents of the table are made insensitive.""" for each in self._controls: each.set_sensitive(sens) def _factory(self, labeltext, entrytext, control_name): """Widget factory method.""" label = gtk.Label(labeltext) label.set_alignment(1.0, 0.5) if entrytext: entry = DefaultEntry(entrytext, True) else: entry = gtk.Entry() entry.set_size_request(10, -1) self._controls.append(entry) self.textdict["songdb_%s_%s" % (control_name, self._name)] = entry return label, entry class PrefsControls(gtk.Frame): """Database controls as visible in the preferences window.""" def __init__(self): gtk.Frame.__init__(self) self.set_border_width(3) label = gtk.Label(" %s " % _('Prokyon3 or Ampache (song title) Database')) set_tip(label, _('You can make certain media databases accessible in ' 'IDJC for easy drag and drop into the playlists.')) self.set_label_widget(label) vbox = gtk.VBox() vbox.set_border_width(6) vbox.set_spacing(2) self.add(vbox) self._notebook = NotebookSR() if have_songdb: vbox.pack_start(self._notebook, False) self._settings = [] for i in range(1, 5): settings = Settings(str(i)) self._settings.append(settings) label = gtk.Label(str(i)) self._notebook.append_page(settings, label) self.dbtoggle = gtk.ToggleButton(_('Music Database')) self.dbtoggle.connect("toggled", self._cb_dbtoggle) hbox = gtk.HBox() hbox.set_spacing(2) self._disconnect = gtk.Button() self._disconnect.set_sensitive(False) image = gtk.image_new_from_stock(gtk.STOCK_DISCONNECT, gtk.ICON_SIZE_MENU) self._disconnect.add(image) self._disconnect.connect("clicked", lambda w: self.dbtoggle.set_active(False)) hbox.pack_start(self._disconnect, False) self._connect = gtk.Button() image = gtk.image_new_from_stock(gtk.STOCK_CONNECT, gtk.ICON_SIZE_MENU) self._connect.add(image) self._connect.connect("clicked", lambda w: self.dbtoggle.set_active(True)) hbox.pack_start(self._connect, False) self._statusbar = gtk.Statusbar() self._statusbar.set_has_resize_grip(False) cid = self._statusbar.get_context_id("all output") self._statusbar.push(cid, _('Disconnected')) hbox.pack_start(self._statusbar) if have_songdb: vbox.pack_start(hbox, False) else: vbox.set_sensitive(False) label = gtk.Label(_('Module mysql-python (MySQLdb) required')) vbox.add(label) self.show_all() # Save and Restore. self.activedict = {"songdb_active": self.dbtoggle, "songdb_page": self._notebook} self.textdict = {} self.valuesdict = {} for each in self._settings: self.textdict.update(each.textdict) self.valuesdict.update(each.valuesdict) def disconnect(self): self.dbtoggle.set_active(False) def bind(self, callback): """Connect with the activate method of the view pane.""" self.dbtoggle.connect("toggled", self._cb_bind, callback) def _cb_bind(self, widget, callback): """This runs when the database is toggled on and off.""" if widget.get_active(): settings = self._notebook.get_nth_page( self._notebook.get_current_page()) conn_data = settings.get_conn_data() conn_data["notify"] = self._notify trans_data = settings.get_transformation_data() else: conn_data = trans_data = None callback(conn_data, trans_data) def _cb_dbtoggle(self, widget): """Parameter widgets to be made insensitive when db is active.""" if widget.get_active(): self._connect.set_sensitive(False) self._disconnect.set_sensitive(True) settings = self._notebook.get_nth_page( self._notebook.get_current_page()) for settings_page in self._settings: if settings_page is settings: settings_page.set_sensitive(False) else: settings_page.hide() else: self._connect.set_sensitive(True) self._disconnect.set_sensitive(False) for settings_page in self._settings: settings_page.set_sensitive(True) settings_page.show() def _notify(self, message): """Display status messages beneath the prefs settings.""" print "Song title database:", message cid = self._statusbar.get_context_id("all output") self._statusbar.pop(cid) self._statusbar.push(cid, message) # To ensure readability of long messages also set the tooltip. self._statusbar.set_tooltip_text(message) class PageCommon(gtk.VBox): """Base class for TreePage and FlatPage.""" def __init__(self, notebook, label_text, controls): gtk.VBox.__init__(self) self.set_spacing(2) self.scrolled_window = gtk.ScrolledWindow() self.scrolled_window.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_ALWAYS) self.pack_start(self.scrolled_window) self.tree_view = gtk.TreeView() self.tree_view.set_enable_search(False) self.tree_selection = self.tree_view.get_selection() self.scrolled_window.add(self.tree_view) self.pack_start(controls, False) label = gtk.Label(label_text) notebook.append_page(self, label) self.tree_view.enable_model_drag_source(gtk.gdk.BUTTON1_MASK, self._sourcetargets, gtk.gdk.ACTION_DEFAULT | gtk.gdk.ACTION_COPY) self.tree_view.connect_after("drag-begin", self._cb_drag_begin) self.tree_view.connect("drag-data-get", self._cb_drag_data_get) self._update_id = deque() self._acc = None @property def db_type(self): return self._db_type @property def trans_from(self): return self._trans_data[0] @property def trans_prepend(self): return self._trans_data[1] def get_col_widths(self): pass def get_col_widths(self): return ",".join([str(x.get_width() or x.get_fixed_width()) for x in self.tree_cols]) def set_col_widths(self, data): """Restore column width values.""" c = self.tree_cols.__iter__() for w in data.split(","): if w != "0": c.next().set_fixed_width(int(w)) else: c.next() def activate(self, accessor, db_type, trans_data): self._db_type = db_type self._acc = accessor self._trans_data = trans_data def deactivate(self): while self._update_id: context, namespace = self._update_id.popleft() namespace[0] = True glib.source_remove(context) self._acc = None model = self.tree_view.get_model() self.tree_view.set_model(None) if model is not None: model.clear() def repair_focusability(self): self.tree_view.set_flags(gtk.CAN_FOCUS) _sourcetargets = ( # Drag and drop source target specs. ('text/plain', 0, 1), ('TEXT', 0, 2), ('STRING', 0, 3)) def _cb_drag_begin(self, widget, context): """Set icon for drag and drop operation.""" context.set_icon_stock(gtk.STOCK_CDROM, -5, -5) def _cb_drag_data_get(self, tree_view, context, selection, target, etime): model, paths = self.tree_selection.get_selected_rows() data = ("file://%s" % row for row in self._drag_data(model, paths)) selection.set(selection.target, 8, "\n".join(data)) @staticmethod def _make_tv_columns(tree_view, parameters): """Build a TreeViewColumn list from a table of data.""" list_ = [] for label, data_index, data_function, mw, el in parameters: renderer = gtk.CellRendererText() renderer.props.ellipsize = el column = gtk.TreeViewColumn(label, renderer) if mw != -1: column.set_resizable(True) column.set_sizing(gtk.TREE_VIEW_COLUMN_FIXED) column.set_min_width(mw) column.set_fixed_width(mw + 50) tree_view.append_column(column) list_.append(column) if data_function is not None: column.set_cell_data_func(renderer, data_function, data_index) else: column.add_attribute(renderer, 'text', data_index) return list_ def _cond_cell_secs_to_h_m_s(self, column, renderer, model, iter, cell): if model.get_value(iter, 0) >= 0: return self._cell_secs_to_h_m_s(column, renderer, model, iter, cell) else: renderer.set_property("text", "") def _cell_k(self, column, renderer, model, iter, cell): bitrate = model.get_value(iter, cell) if bitrate == 0: renderer.set_property("text", "") elif self._db_type == "P3": renderer.set_property("text", "%dk" % bitrate) elif bitrate > 9999 and self._db_type == AMPACHE: renderer.set_property("text", "%dk" % (bitrate // 1000)) renderer.set_property("xalign", 1.0) @staticmethod def _cell_show_unknown(column, renderer, model, iter, cell): text = model.get_value(iter, cell) or _('') renderer.props.text = text def inner(column, renderer, model, iter, cell, which_bit): text = model.get_value(iter, cell) if text: renderer.props.text = which_bit(text) else: renderer.props.text = "" _cell_path = staticmethod(partial(inner, which_bit=os.path.dirname)) _cell_filename = staticmethod(partial(inner, which_bit=os.path.basename)) del inner @staticmethod def _cell_secs_to_h_m_s(column, renderer, model, iter, cell): v_in = model.get_value(iter, cell) m, s = divmod(v_in, 60) h, m = divmod(m, 60) d, h = divmod(h, 24) if d: v_out = "%dd:%02d:%02d" % (d, h, m) else: if h: v_out = "%d:%02d:%02d" % (h, m, s) else: v_out = "%d:%02d" % (m, s) renderer.set_property("xalign", 1.0) renderer.set_property("text", v_out) @staticmethod def _cell_ralign(column, renderer, model, iter, cell): val = model.get_value(iter, cell) if val: renderer.set_property("xalign", 1.0) renderer.set_property("text", val) else: renderer.set_property("text", "") def _handler(self, acc, request, cursor, notify, rows): # Lock against the very start of the update functions. gtk.gdk.threads_enter() while self._update_id: context, namespace = self._update_id.popleft() glib.source_remove(context) # Idle functions to receive the following and know to clean-up. namespace[0] = True gtk.gdk.threads_leave() try: self._old_cursor.close() except sql.Error as e: print str(e) except AttributeError: pass self._old_cursor = cursor acc.replace_cursor(cursor) # Scrap intermediate jobs whose output would merely slow down the # user interface responsiveness. namespace = [False, ()] context = glib.idle_add(self._update_1, acc, cursor, rows, namespace) self._update_id.append((context, namespace)) class ExpandAllButton(gtk.Button): def __init__(self, expanded, tooltip=None): expander = gtk.Expander() expander.set_expanded(expanded) expander.show_all() gtk.Button.__init__(self) self.add(expander) if tooltip is not None: set_tip(self, tooltip) class TreePage(PageCommon): """Browsable UI with tree structure.""" # *depth*, *treecol*, album, album_prefix, year, disk, album_id, # tracknumber, title, artist, artist_prefix, pathname, bitrate, length # The order chosen negates the need for a custom sort comparison function. DATA_SIGNATURE = int, str, str, str, int, int, int, int, str, str, str, str, int, int BLANK_ROW = tuple(x() for x in DATA_SIGNATURE[2:]) def __init__(self, notebook): self.controls = gtk.HBox() layout_store = gtk.ListStore(str, gtk.TreeStore, gobject.TYPE_PYOBJECT) self.layout_combo = gtk.ComboBox(layout_store) cell_text = gtk.CellRendererText() self.layout_combo.pack_start(cell_text) self.layout_combo.add_attribute(cell_text, "text", 0) self.controls.pack_start(self.layout_combo, False) self.right_controls = gtk.HBox() self.right_controls.set_spacing(1) self.tree_rebuild = gtk.Button() set_tip(self.tree_rebuild, _('Reload the database.')) image = gtk.image_new_from_stock(gtk.STOCK_REFRESH, gtk.ICON_SIZE_MENU) self.tree_rebuild.add(image) self.tree_rebuild.connect("clicked", self._cb_tree_rebuild) self.tree_rebuild.set_use_stock(True) tree_expand = ExpandAllButton(True, _('Expand entire tree.')) tree_collapse = ExpandAllButton(False, _('Collapse tree.')) sg = gtk.SizeGroup(gtk.SIZE_GROUP_HORIZONTAL) for each in (self.tree_rebuild, tree_expand, tree_collapse): self.right_controls.pack_start(each, False) sg.add_widget(each) self.controls.pack_end(self.right_controls, False) PageCommon.__init__(self, notebook, _('Browse'), self.controls) self.tree_view.set_enable_tree_lines(True) tree_expand.connect_object("clicked", gtk.TreeView.expand_all, self.tree_view) tree_collapse.connect_object("clicked", gtk.TreeView.collapse_all, self.tree_view) self.tree_cols = self._make_tv_columns(self.tree_view, ( ("", 1, self._cell_show_unknown, 180, pango.ELLIPSIZE_END), # TC: Track artist. (_('Artist'), (10, 9), self._data_merge, 100, pango.ELLIPSIZE_END), # TC: The disk number of the album track. (_('Disk'), 5, self._cell_ralign, -1, pango.ELLIPSIZE_NONE), # TC: The album track number. (_('Track'), 7, self._cell_ralign, -1, pango.ELLIPSIZE_NONE), # TC: Track playback time. (_('Duration'), 13, self._cond_cell_secs_to_h_m_s, -1, pango.ELLIPSIZE_NONE), (_('Bitrate'), 12, self._cell_k, -1, pango.ELLIPSIZE_NONE), (_('Filename'), 11, self._cell_filename, 100, pango.ELLIPSIZE_END), # TC: Directory path to a file. (_('Path'), 11, self._cell_path, -1, pango.ELLIPSIZE_NONE), )) self.artist_store = gtk.TreeStore(*self.DATA_SIGNATURE) self.album_store = gtk.TreeStore(*self.DATA_SIGNATURE) layout_store.append((_('Artist - Album - Title'), self.artist_store, (1, ))) layout_store.append((_('Album - [Disk] - Title'), self.album_store, (2, ))) self.layout_combo.set_active(0) self.layout_combo.connect("changed", self._cb_layout_combo) self.loading_vbox = gtk.VBox() self.loading_vbox.set_border_width(20) self.loading_vbox.set_spacing(20) # TC: The database tree view is being built (populated). self.loading_label = gtk.Label() self.loading_vbox.pack_start(self.loading_label, False) self.progress_bar = gtk.ProgressBar() self.loading_vbox.pack_start(self.progress_bar, False) self.pack_start(self.loading_vbox) self._pulse_id = deque() self.show_all() def set_loading_view(self, loading): if loading: self.progress_bar.set_fraction(0.0) self.loading_label.set_text(_('Fetching')) self.controls.hide() self.scrolled_window.hide() self.loading_vbox.show() else: self.layout_combo.emit("changed") self.loading_vbox.hide() self.scrolled_window.show() self.controls.show() def activate(self, *args, **kwargs): PageCommon.activate(self, *args, **kwargs) glib.idle_add(threadslock(self.tree_rebuild.clicked)) def deactivate(self): while self._pulse_id: glib.source_remove(self._pulse_id.popleft()) self.progress_bar.set_fraction(0.0) PageCommon.deactivate(self) def _cb_layout_combo(self, widget): iter = widget.get_active_iter() store, hide = widget.get_model().get(iter, 1, 2) self.tree_view.set_model(store) for i, col in enumerate(self.tree_cols): col.set_visible(i not in hide) def _cb_tree_rebuild(self, widget): """(Re)load the tree with info from the database.""" self.set_loading_view(True) if self._db_type == PROKYON_3: query = """SELECT album, "" as alb_prefix, IFNULL(albums.year, 0) as year, 0 as disk, IFNULL(albums.id, 0) as album_id, tracknumber, title, tracks.artist as artist, "" as art_prefix, CONCAT(%s,MID(CONCAT_WS('/',path,filename),%s)) as file, bitrate, length FROM tracks LEFT JOIN albums on tracks.album = albums.name ORDER BY tracks.artist, album, tracknumber, title""" elif self._db_type == AMPACHE: query = """SELECT album.name as album, album.prefix as alb_prefix, album.year as year, album.disk as disk, song.album as album_id, track as tracknumber, title, artist.name as artist, artist.prefix as art_prefix, CONCAT(%s,MID(file,%s)) as file, bitrate, time as length FROM song LEFT JOIN artist ON song.artist = artist.id LEFT JOIN album ON song.album = album.id ORDER BY artist.name, album, disk, tracknumber, title""" else: print "unsupported database type:", self._db_type return self._pulse_id.append(glib.timeout_add(1000, self._progress_pulse)) self._acc.request((query, (self.trans_prepend, self.trans_from)), self._handler, self._failhandler) def _drag_data(self, model, path): iter = model.get_iter(path[0]) for each in self._more_drag_data(model, iter): yield each def _more_drag_data(self, model, iter): depth, pathname = model.get(iter, 0, 11) if depth == 0: yield pathname else: iter = model.iter_children(iter) while iter is not None: for pathname in self._more_drag_data(model, iter): yield pathname iter = model.iter_next(iter) @threadslock def _progress_pulse(self): self.progress_bar.pulse() return True def _data_merge(self, column, renderer, model, iter, elements): renderer.props.text = self._join(*model.get(iter, *elements)) @staticmethod def _join(prefix, name): if prefix and name: return prefix + " " + name return prefix or name or "" ########################################################################### def _handler(self, acc, request, cursor, notify, rows): PageCommon._handler(self, acc, request, cursor, notify, rows) acc.disconnect() def _failhandler(self, exception, notify): if isinstance(exception, sql.InterfaceError): raise exception # Recover. print exception notify(_('Tree fetch failed')) glib.idle_add(threadslock(self.loading_label.set_text), _('Fetch Failed!')) while self._pulse_id: glib.source_remove(self._pulse_id.popleft()) return True # Drop job. Don't run handler. ########################################################################### @threadslock def _update_1(self, acc, cursor, rows, namespace): if namespace[0]: return False self.loading_label.set_text(_('Populating')) # Turn off progress bar pulser. while self._pulse_id: glib.source_remove(self._pulse_id.popleft()) # Clean away old data. self.tree_view.set_model(None) self.artist_store.clear() self.album_store.clear() namespace = [False, (0.0, None, None, None, None, None, None)] do_max = min(max(30, rows / 100), 200) # Data size to process. total = 2.0 * rows context = glib.idle_add(self._update_2, acc, cursor, total, do_max, [], namespace) self._update_id.append((context, namespace)) return False @threadslock def _update_2(self, acc, cursor, total, do_max, store, namespace): kill, (done, iter_1, iter_2, artist, album, art_prefix, alb_prefix) = namespace if kill: return False r_append = self.artist_store.append l_append = store.append BLANK_ROW = self.BLANK_ROW rows = cursor.fetchmany(do_max) if not rows: store.sort() namespace = [False, (done, ) + (None, ) * 9] context = glib.idle_add(self._update_3, acc, total, do_max, store, namespace) self._update_id.append((context, namespace)) return False for row in rows: if acc.keepalive == False: return False l_append(row) if album == row[0] and artist == row[7] and \ alb_prefix == row[1] and art_prefix == row[8]: r_append(iter_2, (0, row[6]) + row) continue else: if artist != row[7] or art_prefix != row[8]: artist = row[7] art_prefix = row[8] iter_1 = r_append(None, (-1, self._join(art_prefix, artist)) + BLANK_ROW) album = None if album != row[0] or alb_prefix != row[1]: album = row[0] alb_prefix = row[1] year = row[2] if year: albumtext = "%s (%d)" % (self._join(alb_prefix, album), year) else: albumtext = album iter_2 = r_append(iter_1, (-2, albumtext) + BLANK_ROW) r_append(iter_2, (0, row[6]) + row) done += do_max self.progress_bar.set_fraction(done / total) namespace[1] = done, iter_1, iter_2, artist, album, art_prefix, alb_prefix return True @threadslock def _update_3(self, acc, total, do_max, store, namespace): kill, (done, iter_1, iter_2, artist, album, art_prefix, alb_prefix, year, disk, album_id) = namespace if kill: return False append = self.album_store.append pop = store.pop BLANK_ROW = self.BLANK_ROW for each in xrange(do_max): if acc.keepalive == False: return False try: row = pop(0) except IndexError: self.set_loading_view(False) return False if album_id == row[4]: append(iter_2, (0, row[6]) + row) continue else: if album != row[0] or year != row[2] or alb_prefix != row[1]: album = row[0] alb_prefix = row[1] year = row[2] disk = None if year: albumtext = "%s (%d)" % (self._join(alb_prefix, album), year) else: albumtext = album iter_1 = append(None, (-1, albumtext) + BLANK_ROW) if disk != row[3]: disk = row[3] if disk == 0: iter_2 = iter_1 else: iter_2 = append(iter_1, (-2, _('Disk %d') % disk) + BLANK_ROW) append(iter_2, (0, row[6]) + row) done += do_max self.progress_bar.set_fraction(min(done / total, 1.0)) namespace[1] = done, iter_1, iter_2, artist, album, art_prefix, alb_prefix, year, disk, album_id return True class FlatPage(PageCommon): """Flat list based user interface with a search facility.""" def __init__(self, notebook): # Base class overwrites these values. self.scrolled_window = self.tree_view = self.tree_selection = None self.transfrom = self.db_accessor = None # TC: User specified search filter entry box title text. self.controls = gtk.Frame(" %s " % _('Filters')) self.controls.set_shadow_type(gtk.SHADOW_OUT) self.controls.set_border_width(1) self.controls.set_label_align(0.5, 0.5) filter_vbox = gtk.VBox() filter_vbox.set_border_width(3) filter_vbox.set_spacing(1) self.controls.add(filter_vbox) fuzzy_hbox = gtk.HBox() filter_vbox.pack_start(fuzzy_hbox, False) # TC: A type of search on any data field matching paritial strings. fuzzy_label = gtk.Label(_('Fuzzy Search')) fuzzy_hbox.pack_start(fuzzy_label, False) self.fuzzy_entry = gtk.Entry() self.fuzzy_entry.connect("changed", self._cb_fuzzysearch_changed) fuzzy_hbox.pack_start(self.fuzzy_entry, True, True, 0) where_hbox = gtk.HBox() filter_vbox.pack_start(where_hbox, False) # TC: WHERE is an SQL keyword. where_label = gtk.Label(_('WHERE')) where_hbox.pack_start(where_label, False) self.where_entry = gtk.Entry() self.where_entry.connect("activate", self._cb_update) where_hbox.pack_start(self.where_entry) image = gtk.image_new_from_stock(gtk.STOCK_EXECUTE, gtk.ICON_SIZE_BUTTON) self.update_button = gtk.Button() self.update_button.connect("clicked", self._cb_update) self.update_button.set_image(image) image.show where_hbox.pack_start(self.update_button, False) PageCommon.__init__(self, notebook, _("Search"), self.controls) # Row data specification: # index, ARTIST, ALBUM, TRACKNUM, TITLE, DURATION, BITRATE, # pathname, disk self.list_store = gtk.ListStore( int, str, str, int, str, int, int, str, int) self.tree_cols = self._make_tv_columns(self.tree_view, ( ("(0)", 0, self._cell_ralign, -1, pango.ELLIPSIZE_NONE), (_('Artist'), 1, self._cell_show_unknown, 100, pango.ELLIPSIZE_END), (_('Album'), 2, self._cell_show_unknown, 100, pango.ELLIPSIZE_END), (_('Disk'), 8, self._cell_ralign, -1, pango.ELLIPSIZE_NONE), (_('Track'), 3, self._cell_ralign, -1, pango.ELLIPSIZE_NONE), (_('Title'), 4, self._cell_show_unknown, 100, pango.ELLIPSIZE_END), (_('Duration'), 5, self._cell_secs_to_h_m_s, -1, pango.ELLIPSIZE_NONE), (_('Bitrate'), 6, self._cell_k, -1, pango.ELLIPSIZE_NONE), (_('Filename'), 7, self._cell_filename, 100, pango.ELLIPSIZE_END), (_('Path'), 7, self._cell_path, -1, pango.ELLIPSIZE_NONE), )) self.tree_view.set_rules_hint(True) self.tree_view.set_rubber_banding(True) self.tree_selection.set_mode(gtk.SELECTION_MULTIPLE) def deactivate(self): self.fuzzy_entry.set_text("") self.where_entry.set_text("") PageCommon.deactivate(self) def repair_focusability(self): PageCommon.repair_focusability(self) self.fuzzy_entry.set_flags(gtk.CAN_FOCUS) self.where_entry.set_flags(gtk.CAN_FOCUS) _queries_table = { PROKYON_3: {FUZZY: (CLEAN, """ SELECT artist,album,tracknumber,title,length,bitrate, CONCAT(%s,MID(CONCAT_WS('/',path,filename),%s)) as file, 0 as disk FROM tracks WHERE MATCH (artist,album,title,filename) AGAINST (%s) """), WHERE: (DIRTY, """ SELECT artist,album,tracknumber,title,length,bitrate, CONCAT("%s",MID(CONCAT_WS('/',path,filename),%s)) as file, 0 as disk FROM tracks WHERE (%s) ORDER BY artist,album,path,tracknumber,title """)}, AMPACHE: {FUZZY: (CLEAN, """ SELECT concat_ws(" ",artist.prefix,artist.name), concat_ws(" ",album.prefix,album.name), track as tracknumber, title, time as length,bitrate, CONCAT(%s,MID(file,%s)) as file, album.disk as disk FROM song LEFT JOIN artist ON artist.id = song.artist LEFT JOIN album ON album.id = song.album WHERE (MATCH(album.name) against(%s) OR MATCH(artist.name) against(%s) OR MATCH(title) against(%s)) """), WHERE: (DIRTY, """ SELECT concat_ws(" ", artist.prefix, artist.name) as artist, concat_ws(" ", album.prefix, album.name) as albumname, track as tracknumber, title,time as length, bitrate, CONCAT("%s",MID(file,%s)) as file, album.disk as disk FROM song LEFT JOIN album on album.id = song.album LEFT JOIN artist on artist.id = song.artist WHERE (%s) ORDER BY artist.name, album.name, file, album.disk, track, title """)} } def _cb_update(self, widget): try: table = self._queries_table[self._db_type] except KeyError: print "unsupported database type" return user_text = self.fuzzy_entry.get_text().strip() if user_text: access_mode, query = table[FUZZY] else: access_mode, query = table[WHERE] user_text = self.where_entry.get_text().strip() if not user_text: self.where_entry.set_text("") while self._update_id: context, namespace = self._update_id.popleft() glib.source_remove(context) namespace[0] = True self.list_store.clear() return qty = query.count("(%s)") if access_mode == CLEAN: query = (query, (self.trans_prepend, self.trans_from, ) + (user_text, ) * qty) elif access_mode == DIRTY: # Accepting of SQL code in user data. query = (query % ((self.trans_prepend, self.trans_from, ) + (user_text, ) * qty), ) else: print "unknown database access mode", access_mode return self._acc.request(query, self._handler, self._failhandler) return @staticmethod def _drag_data(model, paths): """Generate tuples of (path, filename) for the given paths.""" for path in paths: row = model[path] yield row[7] def _cb_fuzzysearch_changed(self, widget): if widget.get_text().strip(): self.where_entry.set_sensitive(False) self.where_entry.set_text("") else: self.where_entry.set_sensitive(True) self.update_button.clicked() ########################################################################### def _handler(self, acc, *args, **kwargs): PageCommon._handler(self, acc, *args, **kwargs) acc.purge_job_queue(1) def _failhandler(self, exception, notify): notify(str(exception)) if exception[0] == 2006: raise glib.idle_add(self.tree_view.set_model, None) glib.idle_add(self.list_store.clear) ########################################################################### @threadslock def _update_1(self, acc, cursor, rows, namespace): if not namespace[0]: self.tree_view.set_model(None) self.list_store.clear() namespace[1] = (0, ) # found = 0 context = glib.idle_add(self._update_2, acc, cursor, namespace) self._update_id.append((context, namespace)) return False @threadslock def _update_2(self, acc, cursor, namespace): kill, (found, ) = namespace if kill: return False next_row = cursor.fetchone append = self.list_store.append for i in xrange(100): if acc.keepalive == False: return False try: row = next_row() except sql.Error: return False if row: found += 1 append((found, ) + row) else: if found: self.tree_cols[0].set_title("(%s)" % found) self.tree_view.set_model(self.list_store) return False namespace[1] = (found, ) return True class MediaPane(gtk.VBox): """Database song details are displayed in this widget.""" def __init__(self): gtk.VBox.__init__(self) self.notebook = gtk.Notebook() self.pack_start(self.notebook) self._tree_page = TreePage(self.notebook) self._flat_page = FlatPage(self.notebook) self.prefs_controls = PrefsControls() if have_songdb: self.prefs_controls.bind(self._dbtoggle) spc = gtk.VBox() spc.set_border_width(2) self.pack_start(spc, False) spc.show() self.notebook.show_all() def repair_focusability(self): self._tree_page.repair_focusability() self._flat_page.repair_focusability() def get_col_widths(self, keyval): """Grab column widths as textual data.""" try: target = getattr(self, keyval) except AttributeError: return "" else: return target.get_col_widths() def set_col_widths(self, keyval, data): """Column widths are to be restored on application restart.""" if data: try: target = getattr(self, keyval) except AttributeError: return else: target.set_col_widths(data) def _dbtoggle(self, conn_data, trans_data): if conn_data: # Connect and discover the database type. self._acc1 = DBAccessor(**conn_data) self._acc2 = DBAccessor(**conn_data) self._trans_data = trans_data self._acc1.request(('SHOW tables',), self._stage_1, self._fail_1) else: try: self._acc1.close() self._acc2.close() except AttributeError: pass else: self._tree_page.deactivate() self._flat_page.deactivate() self.hide() @staticmethod def schema_test(string, data): data = frozenset(x[0] for x in data) return frozenset(string.split()).issubset(data) ########################################################################### def _safe_disconnect(self): glib.idle_add(threadslock(self.prefs_controls.disconnect)) def _hand_over(self, database_name): self._tree_page.activate(self._acc1, database_name, self._trans_data) self._flat_page.activate(self._acc2, database_name, self._trans_data) glib.idle_add(threadslock(self.show)) def _fail_1(self, exception, notify): # Give up. self._safe_disconnect() return True def _fail_2(self, exception, notify): try: code = exception.args[0] except IndexError: raise if code != 1061: notify(_('Failed to create FULLTEXT index')) print exception raise notify(_('Found existing FULLTEXT index')) def _stage_1(self, acc, request, cursor, notify, rows): """Running under the accessor worker thread! Step 1 Identifying database type. """ data = cursor.fetchall() if self.schema_test("tracks", data): request(('DESCRIBE tracks',), self._stage_2, self._fail_1) elif self.schema_test("album artist song", data): request(('DESCRIBE song',), self._stage_4, self._fail_1) else: notify(_('Unrecognised database')) self._safe_disconnect() def _stage_2(self, acc, request, cursor, notify, rows): """Confirm it's a Prokyon 3 database.""" if self.schema_test("artist title album tracknumber bitrate " "path filename", cursor.fetchall()): notify(_('Found Prokyon 3 schema')) # Try to add a FULLTEXT database. request(("""ALTER TABLE tracks ADD FULLTEXT artist (artist,title, album,filename)""",), self._stage_2a, self._fail_2) else: notify(_('Unrecognised database')) self._safe_disconnect() def _stage_2a(self, acc, request, cursor, notify, rows): request(("ALTER TABLE albums ADD INDEX idjc (name)",), self._stage_3, self._fail_2) def _stage_3(self, acc, request, cursor, notify, rows): self._hand_over(PROKYON_3) def _stage_4(self, acc, request, cursor, notify, rows): """Test for Ampache database.""" if self.schema_test("artist title album track bitrate file", cursor.fetchall()): request(('DESCRIBE artist',), self._stage_5, self._fail_1) else: notify('Unrecognised database') self._safe_disconnect() def _stage_5(self, acc, request, cursor, notify, rows): if self.schema_test("name prefix", cursor.fetchall()): request(('DESCRIBE artist',), self._stage_6, self._fail_1) else: notify('Unrecognised database') self._safe_disconnect() def _stage_6(self, acc, request, cursor, notify, rows): if self.schema_test("name prefix", cursor.fetchall()): notify('Found Ampache schema') request(("ALTER TABLE album ADD FULLTEXT idjc (name)",), self._stage_7, self._fail_2) else: notify('Unrecognised database') self._safe_disconnect() def _stage_7(self, acc, request, cursor, notify, rows): request(("ALTER TABLE artist ADD FULLTEXT idjc (name)",), self._stage_8, self._fail_2) def _stage_8(self, acc, request, cursor, notify, rows): request(("ALTER TABLE song ADD FULLTEXT idjc (title)",), self._stage_9, self._fail_2) def _stage_9(self, acc, request, cursor, notify, rows): self._hand_over(AMPACHE) idjc-0.8.9/config.h.in0000644000175000017500000001154112142730016011403 00000000000000/* config.h.in. Generated from configure.ac by autoheader. */ /* LAME to be linked dynamically */ #undef DYN_LAME /* MPG123 to be linked dynamically */ #undef DYN_MPG123 /* Define to 1 if translation of program messages to the user's native language is requested. */ #undef ENABLE_NLS /* Set if libavcodec was found */ #undef HAVE_AVCODEC /* Set if libavformat was found */ #undef HAVE_AVFORMAT /* Set if libavutil was found */ #undef HAVE_AVUTIL /* Define to 1 if you have the `canonicalize_file_name' function. */ #undef HAVE_CANONICALIZE_FILE_NAME /* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework. */ #undef HAVE_CFLOCALECOPYCURRENT /* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework. */ #undef HAVE_CFPREFERENCESCOPYAPPVALUE /* Define if the GNU dcgettext() function is already present or preinstalled. */ #undef HAVE_DCGETTEXT /* Define to 1 if you have the header file. */ #undef HAVE_DLFCN_H /* Define to 1 if you have the `dlopen' function. */ #undef HAVE_DLOPEN /* Define to 1 if you have the header file. */ #undef HAVE_FCNTL_H /* Set if libflac >= 1.1.3 was found */ #undef HAVE_FLAC /* Define to 1 if you have the `getline' function. */ #undef HAVE_GETLINE /* Define if the GNU gettext() function is already present or preinstalled. */ #undef HAVE_GETTEXT /* Define if you have the iconv() function and it works. */ #undef HAVE_ICONV /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_JACK_JACK_H /* Define to 1 if you have the header file. */ #undef HAVE_JACK_TRANSPORT_H /* Define to 1 if you have the header file. */ #undef HAVE_LAME_LAME_H /* Define to 1 if your system has a GNU libc compatible `malloc' function, and to 0 otherwise. */ #undef HAVE_MALLOC /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H /* Define to 1 if you have the `memset' function. */ #undef HAVE_MEMSET /* Define to 1 if you have the header file. */ #undef HAVE_MPG123_H /* Set if libFLAC has oggflac support */ #undef HAVE_OGGFLAC /* Set if libopus was found */ #undef HAVE_OPUS /* Define to 1 if you have the `pow' function. */ #undef HAVE_POW /* Define to 1 if you have the header file. */ #undef HAVE_PTHREAD_H /* Define to 1 if you have the header file. */ #undef HAVE_SHOUTIDJC_SHOUT_H /* Set if libspeex was found */ #undef HAVE_SPEEX /* Define to 1 if you have the `sqrt' function. */ #undef HAVE_SQRT /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H /* Define to 1 if you have the `strchr' function. */ #undef HAVE_STRCHR /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H /* Define to 1 if you have the `strndup' function. */ #undef HAVE_STRNDUP /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H /* Set if libtwolame was found */ #undef HAVE_TWOLAME /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H /* Define to the sub-directory in which libtool stores uninstalled libraries. */ #undef LT_OBJDIR /* Define to 1 if your C compiler doesn't accept -c and -o together. */ #undef NO_MINUS_C_MINUS_O /* Name of package */ #undef PACKAGE /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT /* Define to the full name of this package. */ #undef PACKAGE_NAME /* Define to the full name and version of this package. */ #undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the home page for this package. */ #undef PACKAGE_URL /* Define to the version of this package. */ #undef PACKAGE_VERSION /* Define as the return type of signal handlers (`int' or `void'). */ #undef RETSIGTYPE /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS /* Set if GNU extensions need to be replicated */ #undef USE_BSD_COMPAT /* Version number of package */ #undef VERSION /* Define to empty if `const' does not conform to ANSI C. */ #undef const /* Define to `__inline__' or `__inline' if that's what the C compiler calls it, or to nothing if 'inline' is not supported under any name. */ #ifndef __cplusplus #undef inline #endif /* Define to rpl_malloc if the replacement function should be used. */ #undef malloc /* Define to `int' if does not define. */ #undef pid_t /* Define to `unsigned int' if does not define. */ #undef size_t idjc-0.8.9/Makefile.am0000644000175000017500000000230712113174301011411 00000000000000SUBDIRS = po c python artwork man doc EXTRA_SCRIPTS= nodist_bin_SCRIPTS=${PACKAGE_NAME} dist_noinst_SCRIPTS=idjc.in.in bootstrap nodist_doc_DATA=AUTHORS.gz NEWS.gz README.gz ChangeLog.gz docdir=${prefix}/share/doc/${PACKAGE_NAME}-${PACKAGE_VERSION} dist_noinst_DATA=idjc.desktop.in.in nodist_appmenu_DATA=${PACKAGE_NAME}.desktop appmenudir=${prefix}/share/applications ${PACKAGE_NAME}: idjc.in @sed -e 's|$${prefix}|${prefix}|g' $? >$@ ${PACKAGE_NAME}.desktop: idjc.desktop.in @sed -e 's|$${prefix}|${prefix}|g' -e 's|$${exec_prefix}|${exec_prefix}|g' $? >$@ AUTHORS.gz: AUTHORS @ gzip -c $? >$@ NEWS.gz: NEWS @ gzip -c $? >$@ README.gz: README @ gzip -c $? >$@ ChangeLog.gz: ChangeLog @ gzip -c $? >$@ clean-local: rm -f ChangeLog.gz README.gz NEWS.gz AUTHORS.gz ${PACKAGE_NAME}.desktop idjcctrl ${PACKAGE_NAME} dtdist: make dist mv ${PACKAGE_TARNAME}-${PACKAGE_VERSION}.tar.gz ${HOME}/Desktop sfpublish: make dist curl --retry 3 --connect-timeout 10 -T ${PACKAGE_TARNAME}-${PACKAGE_VERSION}.tar.gz -n sftp://frs.sourceforge.net/home/frs/project/i/id/idjc/idjc/0.8/ .PHONY: dtdist sfpublish ${PACKAGE_NAME} ${PACKAGE_NAME}.desktop ACLOCAL_AMFLAGS = -I m4 EXTRA_DIST = config.rpath m4/ChangeLog idjc-0.8.9/NEWS0000644000175000017500000000203411440027455010062 000000000000007th September 2006: Project files for version 0.6.6 added to sourceforge.net and screenshot updated. Hopefully this will guarantee the continued availability of idjc since prior to this I was hosting this project solely on my ISP provided webspace. 24th March 2006: Ogg streaming of song titles is up and running (and you can't have it yet :P). This has prompted the imminent version bump to 0.6.0 which should also accompany an increase in quality -- thank-you beta testers. 24th March 2006: IDJC is one year old today. :) 23rd February 2006: After a long break a new version with some nasty bugs caught 0.5.8. 21st December 2005: Version 0.5.7 goes live. 3rd December 2005: Released version 0.5.6 28th November 2005: Autoconf w00t!! New build system installed and working. The software components go in the correct directories rather than getting stuffed in /usr/lib/idjc. 28th November 2005: I have a NEWS file so I guess I may as well make it my personal journal. The news is I am off work this week so I plan on doing a lot of coding. idjc-0.8.9/depcomp0000755000175000017500000005654612133312012010743 00000000000000#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2012-07-12.20; # UTC # Copyright (C) 1999-2012 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Alexandre Oliva . case $1 in '') echo "$0: No command. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: depcomp [--help] [--version] PROGRAM [ARGS] Run PROGRAMS ARGS to compile a file, generating dependencies as side-effects. Environment variables: depmode Dependency tracking mode. source Source file read by 'PROGRAMS ARGS'. object Object file output by 'PROGRAMS ARGS'. DEPDIR directory where to store dependencies. depfile Dependency file to output. tmpdepfile Temporary file to use when outputting dependencies. libtool Whether libtool is used (yes/no). Report bugs to . EOF exit $? ;; -v | --v*) echo "depcomp $scriptversion" exit $? ;; esac # A tabulation character. tab=' ' # A newline character. nl=' ' if test -z "$depmode" || test -z "$source" || test -z "$object"; then echo "depcomp: Variables source, object and depmode must be set" 1>&2 exit 1 fi # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. depfile=${depfile-`echo "$object" | sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} rm -f "$tmpdepfile" # Avoid interferences from the environment. gccflag= dashmflag= # Some modes work just like other modes, but use different flags. We # parameterize here, but still list the modes in the big case below, # to make depend.m4 easier to write. Note that we *cannot* use a case # here, because this file can only contain one case statement. if test "$depmode" = hp; then # HP compiler uses -M and no extra arg. gccflag=-M depmode=gcc fi if test "$depmode" = dashXmstdout; then # This is just like dashmstdout with a different argument. dashmflag=-xM depmode=dashmstdout fi cygpath_u="cygpath -u -f -" if test "$depmode" = msvcmsys; then # This is just like msvisualcpp but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u='sed s,\\\\,/,g' depmode=msvisualcpp fi if test "$depmode" = msvc7msys; then # This is just like msvc7 but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u='sed s,\\\\,/,g' depmode=msvc7 fi if test "$depmode" = xlc; then # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information. gccflag=-qmakedep=gcc,-MF depmode=gcc fi case "$depmode" in gcc3) ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. ## Unfortunately, FreeBSD c89 acceptance of flags depends upon ## the command line argument order; so add the flags where they ## appear in depend2.am. Note that the slowdown incurred here ## affects only configure: in makefiles, %FASTDEP% shortcuts this. for arg do case $arg in -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; *) set fnord "$@" "$arg" ;; esac shift # fnord shift # $arg done "$@" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi mv "$tmpdepfile" "$depfile" ;; gcc) ## Note that this doesn't just cater to obsosete pre-3.x GCC compilers. ## but also to in-use compilers like IMB xlc/xlC and the HP C compiler. ## (see the conditional assignment to $gccflag above). ## There are various ways to get dependency output from gcc. Here's ## why we pick this rather obscure method: ## - Don't want to use -MD because we'd like the dependencies to end ## up in a subdir. Having to rename by hand is ugly. ## (We might end up doing this anyway to support other compilers.) ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like ## -MM, not -M (despite what the docs say). Also, it might not be ## supported by the other compilers which use the 'gcc' depmode. ## - Using -M directly means running the compiler twice (even worse ## than renaming). if test -z "$gccflag"; then gccflag=-MD, fi "$@" -Wp,"$gccflag$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ## The second -e expression handles DOS-style file names with drive letters. sed -e 's/^[^:]*: / /' \ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" ## This next piece of magic avoids the "deleted header file" problem. ## The problem is that when a header file which appears in a .P file ## is deleted, the dependency causes make to die (because there is ## typically no way to rebuild the header). We avoid this by adding ## dummy dependencies for each header file. Too bad gcc doesn't do ## this for us directly. tr ' ' "$nl" < "$tmpdepfile" | ## Some versions of gcc put a space before the ':'. On the theory ## that the space means something, we add a space to the output as ## well. hp depmode also adds that space, but also prefixes the VPATH ## to the object. Take care to not repeat it in the output. ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; sgi) if test "$libtool" = yes; then "$@" "-Wp,-MDupdate,$tmpdepfile" else "$@" -MDupdate "$tmpdepfile" fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files echo "$object : \\" > "$depfile" # Clip off the initial element (the dependent). Don't try to be # clever and replace this with sed code, as IRIX sed won't handle # lines with more than a fixed number of characters (4096 in # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; # the IRIX cc adds comments like '#:fec' to the end of the # dependency line. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ tr "$nl" ' ' >> "$depfile" echo >> "$depfile" # The second pass generates a dummy entry for each header file. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ >> "$depfile" else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile # "include basename.Plo" scheme. echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; xlc) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; aix) # The C for AIX Compiler uses -M and outputs the dependencies # in a .u file. In older versions, this file always lives in the # current directory. Also, the AIX compiler puts '$object:' at the # start of each line; $object doesn't have directory information. # Version 6 uses the directory in both cases. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then tmpdepfile1=$dir$base.u tmpdepfile2=$base.u tmpdepfile3=$dir.libs/$base.u "$@" -Wc,-M else tmpdepfile1=$dir$base.u tmpdepfile2=$dir$base.u tmpdepfile3=$dir$base.u "$@" -M fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then # Each line is of the form 'foo.o: dependent.h'. # Do two passes, one to just change these to # '$object: dependent.h' and one to simply 'dependent.h:'. sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile # "include basename.Plo" scheme. echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; icc) # Intel's C compiler anf tcc (Tiny C Compiler) understand '-MD -MF file'. # However on # $CC -MD -MF foo.d -c -o sub/foo.o sub/foo.c # ICC 7.0 will fill foo.d with something like # foo.o: sub/foo.c # foo.o: sub/foo.h # which is wrong. We want # sub/foo.o: sub/foo.c # sub/foo.o: sub/foo.h # sub/foo.c: # sub/foo.h: # ICC 7.1 will output # foo.o: sub/foo.c sub/foo.h # and will wrap long lines using '\': # foo.o: sub/foo.c ... \ # sub/foo.h ... \ # ... # tcc 0.9.26 (FIXME still under development at the moment of writing) # will emit a similar output, but also prepend the continuation lines # with horizontal tabulation characters. "$@" -MD -MF "$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each line is of the form 'foo.o: dependent.h', # or 'foo.o: dep1.h dep2.h \', or ' dep3.h dep4.h \'. # Do two passes, one to just change these to # '$object: dependent.h' and one to simply 'dependent.h:'. sed -e "s/^[ $tab][ $tab]*/ /" -e "s,^[^:]*:,$object :," \ < "$tmpdepfile" > "$depfile" sed ' s/[ '"$tab"'][ '"$tab"']*/ /g s/^ *// s/ *\\*$// s/^[^:]*: *// /^$/d /:$/d s/$/ :/ ' < "$tmpdepfile" >> "$depfile" rm -f "$tmpdepfile" ;; ## The order of this option in the case statement is important, since the ## shell code in configure will try each of these formats in the order ## listed in this file. A plain '-MD' option would be understood by many ## compilers, so we must ensure this comes after the gcc and icc options. pgcc) # Portland's C compiler understands '-MD'. # Will always output deps to 'file.d' where file is the root name of the # source file under compilation, even if file resides in a subdirectory. # The object file name does not affect the name of the '.d' file. # pgcc 10.2 will output # foo.o: sub/foo.c sub/foo.h # and will wrap long lines using '\' : # foo.o: sub/foo.c ... \ # sub/foo.h ... \ # ... dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= # Use the source, not the object, to determine the base name, since # that's sadly what pgcc will do too. base=`echo "$source" | sed -e 's|^.*/||' -e 's/\.[-_a-zA-Z0-9]*$//'` tmpdepfile="$base.d" # For projects that build the same source file twice into different object # files, the pgcc approach of using the *source* file root name can cause # problems in parallel builds. Use a locking strategy to avoid stomping on # the same $tmpdepfile. lockdir="$base.d-lock" trap "echo '$0: caught signal, cleaning up...' >&2; rm -rf $lockdir" 1 2 13 15 numtries=100 i=$numtries while test $i -gt 0 ; do # mkdir is a portable test-and-set. if mkdir $lockdir 2>/dev/null; then # This process acquired the lock. "$@" -MD stat=$? # Release the lock. rm -rf $lockdir break else ## the lock is being held by a different process, ## wait until the winning process is done or we timeout while test -d $lockdir && test $i -gt 0; do sleep 1 i=`expr $i - 1` done fi i=`expr $i - 1` done trap - 1 2 13 15 if test $i -le 0; then echo "$0: failed to acquire lock after $numtries attempts" >&2 echo "$0: check lockdir '$lockdir'" >&2 exit 1 fi if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each line is of the form `foo.o: dependent.h', # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this invocation # correctly. Breaking it into two sed invocations is a workaround. sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp2) # The "hp" stanza above does not work with aCC (C++) and HP's ia64 # compilers, which have integrated preprocessors. The correct option # to use with these is +Maked; it writes dependencies to a file named # 'foo.d', which lands next to the object file, wherever that # happens to be. # Much of this is similar to the tru64 case; see comments there. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then tmpdepfile1=$dir$base.d tmpdepfile2=$dir.libs/$base.d "$@" -Wc,+Maked else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d "$@" +Maked fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" # Add 'dependent.h:' lines. sed -ne '2,${ s/^ *// s/ \\*$// s/$/:/ p }' "$tmpdepfile" >> "$depfile" else echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" "$tmpdepfile2" ;; tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'. # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put # dependencies in 'foo.d' instead, so we check for that too. # Subdirectories are respected. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then # With Tru64 cc, shared objects can also be used to make a # static library. This mechanism is used in libtool 1.4 series to # handle both shared and static libraries in a single compilation. # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. # # With libtool 1.5 this exception was removed, and libtool now # generates 2 separate objects for the 2 libraries. These two # compilations output dependencies in $dir.libs/$base.o.d and # in $dir$base.o.d. We have to check for both files, because # one of the two compilations can be disabled. We should prefer # $dir$base.o.d over $dir.libs/$base.o.d because the latter is # automatically cleaned when .libs/ is deleted, while ignoring # the former would cause a distcleancheck panic. tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4 tmpdepfile2=$dir$base.o.d # libtool 1.5 tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 "$@" -Wc,-MD else tmpdepfile1=$dir$base.o.d tmpdepfile2=$dir$base.d tmpdepfile3=$dir$base.d tmpdepfile4=$dir$base.d "$@" -MD fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" else echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; msvc7) if test "$libtool" = yes; then showIncludes=-Wc,-showIncludes else showIncludes=-showIncludes fi "$@" $showIncludes > "$tmpdepfile" stat=$? grep -v '^Note: including file: ' "$tmpdepfile" if test "$stat" = 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" # The first sed program below extracts the file names and escapes # backslashes for cygpath. The second sed program outputs the file # name when reading, but also accumulates all include files in the # hold buffer in order to output them again at the end. This only # works with sed implementations that can handle large buffers. sed < "$tmpdepfile" -n ' /^Note: including file: *\(.*\)/ { s//\1/ s/\\/\\\\/g p }' | $cygpath_u | sort -u | sed -n ' s/ /\\ /g s/\(.*\)/'"$tab"'\1 \\/p s/.\(.*\) \\/\1:/ H $ { s/.*/'"$tab"'/ G p }' >> "$depfile" rm -f "$tmpdepfile" ;; msvc7msys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; #nosideeffect) # This comment above is used by automake to tell side-effect # dependency tracking mechanisms from slower ones. dashmstdout) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove '-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done test -z "$dashmflag" && dashmflag=-M # Require at least two characters before searching for ':' # in the target name. This is to cope with DOS-style filenames: # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise. "$@" $dashmflag | sed 's:^['"$tab"' ]*[^:'"$tab"' ][^:][^:]*\:['"$tab"' ]*:'"$object"'\: :' > "$tmpdepfile" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" tr ' ' "$nl" < "$tmpdepfile" | \ ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; dashXmstdout) # This case only exists to satisfy depend.m4. It is never actually # run, as this mode is specially recognized in the preamble. exit 1 ;; makedepend) "$@" || exit $? # Remove any Libtool call if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # X makedepend shift cleared=no eat=no for arg do case $cleared in no) set ""; shift cleared=yes ;; esac if test $eat = yes; then eat=no continue fi case "$arg" in -D*|-I*) set fnord "$@" "$arg"; shift ;; # Strip any option that makedepend may not understand. Remove # the object too, otherwise makedepend will parse it as a source file. -arch) eat=yes ;; -*|$object) ;; *) set fnord "$@" "$arg"; shift ;; esac done obj_suffix=`echo "$object" | sed 's/^.*\././'` touch "$tmpdepfile" ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" rm -f "$depfile" # makedepend may prepend the VPATH from the source file name to the object. # No need to regex-escape $object, excess matching of '.' is harmless. sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile" sed '1,2d' "$tmpdepfile" | tr ' ' "$nl" | \ ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" "$tmpdepfile".bak ;; cpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove '-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done "$@" -E | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | sed '$ s: \\$::' > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" cat < "$tmpdepfile" >> "$depfile" sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; msvisualcpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi IFS=" " for arg do case "$arg" in -o) shift ;; $object) shift ;; "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") set fnord "$@" shift shift ;; *) set fnord "$@" "$arg" shift shift ;; esac done "$@" -E 2>/dev/null | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile" echo "$tab" >> "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" rm -f "$tmpdepfile" ;; msvcmsys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; none) exec "$@" ;; *) echo "Unknown depmode $depmode" 1>&2 exit 1 ;; esac exit 0 # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: idjc-0.8.9/ltmain.sh0000755000175000017500000105017112073312170011206 00000000000000 # libtool (GNU libtool) 2.4 # Written by Gordon Matzigkeit , 1996 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # GNU Libtool is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # As a special exception to the GNU General Public License, # if you distribute this file as part of a program or library that # is built using GNU Libtool, you may include this file under the # same distribution terms that you use for the rest of that program. # # GNU Libtool is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with GNU Libtool; see the file COPYING. If not, a copy # can be downloaded from http://www.gnu.org/licenses/gpl.html, # or obtained by writing to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # Usage: $progname [OPTION]... [MODE-ARG]... # # Provide generalized library-building support services. # # --config show all configuration variables # --debug enable verbose shell tracing # -n, --dry-run display commands without modifying any files # --features display basic configuration information and exit # --mode=MODE use operation mode MODE # --preserve-dup-deps don't remove duplicate dependency libraries # --quiet, --silent don't print informational messages # --no-quiet, --no-silent # print informational messages (default) # --tag=TAG use configuration variables from tag TAG # -v, --verbose print more informational messages than default # --no-verbose don't print the extra informational messages # --version print version information # -h, --help, --help-all print short, long, or detailed help message # # MODE must be one of the following: # # clean remove files from the build directory # compile compile a source file into a libtool object # execute automatically set library path, then run a program # finish complete the installation of libtool libraries # install install libraries or executables # link create a library or an executable # uninstall remove libraries from an installed directory # # MODE-ARGS vary depending on the MODE. When passed as first option, # `--mode=MODE' may be abbreviated as `MODE' or a unique abbreviation of that. # Try `$progname --help --mode=MODE' for a more detailed description of MODE. # # When reporting a bug, please describe a test case to reproduce it and # include the following information: # # host-triplet: $host # shell: $SHELL # compiler: $LTCC # compiler flags: $LTCFLAGS # linker: $LD (gnu? $with_gnu_ld) # $progname: (GNU libtool) 2.4 # automake: $automake_version # autoconf: $autoconf_version # # Report bugs to . # GNU libtool home page: . # General help using GNU software: . PROGRAM=libtool PACKAGE=libtool VERSION=2.4 TIMESTAMP="" package_revision=1.3293 # Be Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac fi BIN_SH=xpg4; export BIN_SH # for Tru64 DUALCASE=1; export DUALCASE # for MKS sh # A function that is used when there is no print builtin or printf. func_fallback_echo () { eval 'cat <<_LTECHO_EOF $1 _LTECHO_EOF' } # NLS nuisances: We save the old values to restore during execute mode. lt_user_locale= lt_safe_locale= for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES do eval "if test \"\${$lt_var+set}\" = set; then save_$lt_var=\$$lt_var $lt_var=C export $lt_var lt_user_locale=\"$lt_var=\\\$save_\$lt_var; \$lt_user_locale\" lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\" fi" done LC_ALL=C LANGUAGE=C export LANGUAGE LC_ALL $lt_unset CDPATH # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh # is ksh but when the shell is invoked as "sh" and the current value of # the _XPG environment variable is not equal to 1 (one), the special # positional parameter $0, within a function call, is the name of the # function. progpath="$0" : ${CP="cp -f"} test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'} : ${EGREP="grep -E"} : ${FGREP="grep -F"} : ${GREP="grep"} : ${LN_S="ln -s"} : ${MAKE="make"} : ${MKDIR="mkdir"} : ${MV="mv -f"} : ${RM="rm -f"} : ${SED="sed"} : ${SHELL="${CONFIG_SHELL-/bin/sh}"} : ${Xsed="$SED -e 1s/^X//"} # Global variables: EXIT_SUCCESS=0 EXIT_FAILURE=1 EXIT_MISMATCH=63 # $? = 63 is used to indicate version mismatch to missing. EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake. exit_status=$EXIT_SUCCESS # Make sure IFS has a sensible default lt_nl=' ' IFS=" $lt_nl" dirname="s,/[^/]*$,," basename="s,^.*/,," # func_dirname file append nondir_replacement # Compute the dirname of FILE. If nonempty, add APPEND to the result, # otherwise set result to NONDIR_REPLACEMENT. func_dirname () { func_dirname_result=`$ECHO "${1}" | $SED "$dirname"` if test "X$func_dirname_result" = "X${1}"; then func_dirname_result="${3}" else func_dirname_result="$func_dirname_result${2}" fi } # func_dirname may be replaced by extended shell implementation # func_basename file func_basename () { func_basename_result=`$ECHO "${1}" | $SED "$basename"` } # func_basename may be replaced by extended shell implementation # func_dirname_and_basename file append nondir_replacement # perform func_basename and func_dirname in a single function # call: # dirname: Compute the dirname of FILE. If nonempty, # add APPEND to the result, otherwise set result # to NONDIR_REPLACEMENT. # value returned in "$func_dirname_result" # basename: Compute filename of FILE. # value retuned in "$func_basename_result" # Implementation must be kept synchronized with func_dirname # and func_basename. For efficiency, we do not delegate to # those functions but instead duplicate the functionality here. func_dirname_and_basename () { # Extract subdirectory from the argument. func_dirname_result=`$ECHO "${1}" | $SED -e "$dirname"` if test "X$func_dirname_result" = "X${1}"; then func_dirname_result="${3}" else func_dirname_result="$func_dirname_result${2}" fi func_basename_result=`$ECHO "${1}" | $SED -e "$basename"` } # func_dirname_and_basename may be replaced by extended shell implementation # func_stripname prefix suffix name # strip PREFIX and SUFFIX off of NAME. # PREFIX and SUFFIX must not contain globbing or regex special # characters, hashes, percent signs, but SUFFIX may contain a leading # dot (in which case that matches only a dot). # func_strip_suffix prefix name func_stripname () { case ${2} in .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; esac } # func_stripname may be replaced by extended shell implementation # These SED scripts presuppose an absolute path with a trailing slash. pathcar='s,^/\([^/]*\).*$,\1,' pathcdr='s,^/[^/]*,,' removedotparts=':dotsl s@/\./@/@g t dotsl s,/\.$,/,' collapseslashes='s@/\{1,\}@/@g' finalslash='s,/*$,/,' # func_normal_abspath PATH # Remove doubled-up and trailing slashes, "." path components, # and cancel out any ".." path components in PATH after making # it an absolute path. # value returned in "$func_normal_abspath_result" func_normal_abspath () { # Start from root dir and reassemble the path. func_normal_abspath_result= func_normal_abspath_tpath=$1 func_normal_abspath_altnamespace= case $func_normal_abspath_tpath in "") # Empty path, that just means $cwd. func_stripname '' '/' "`pwd`" func_normal_abspath_result=$func_stripname_result return ;; # The next three entries are used to spot a run of precisely # two leading slashes without using negated character classes; # we take advantage of case's first-match behaviour. ///*) # Unusual form of absolute path, do nothing. ;; //*) # Not necessarily an ordinary path; POSIX reserves leading '//' # and for example Cygwin uses it to access remote file shares # over CIFS/SMB, so we conserve a leading double slash if found. func_normal_abspath_altnamespace=/ ;; /*) # Absolute path, do nothing. ;; *) # Relative path, prepend $cwd. func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath ;; esac # Cancel out all the simple stuff to save iterations. We also want # the path to end with a slash for ease of parsing, so make sure # there is one (and only one) here. func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ -e "$removedotparts" -e "$collapseslashes" -e "$finalslash"` while :; do # Processed it all yet? if test "$func_normal_abspath_tpath" = / ; then # If we ascended to the root using ".." the result may be empty now. if test -z "$func_normal_abspath_result" ; then func_normal_abspath_result=/ fi break fi func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \ -e "$pathcar"` func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ -e "$pathcdr"` # Figure out what to do with it case $func_normal_abspath_tcomponent in "") # Trailing empty path component, ignore it. ;; ..) # Parent dir; strip last assembled component from result. func_dirname "$func_normal_abspath_result" func_normal_abspath_result=$func_dirname_result ;; *) # Actual path component, append it. func_normal_abspath_result=$func_normal_abspath_result/$func_normal_abspath_tcomponent ;; esac done # Restore leading double-slash if one was found on entry. func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result } # func_relative_path SRCDIR DSTDIR # generates a relative path from SRCDIR to DSTDIR, with a trailing # slash if non-empty, suitable for immediately appending a filename # without needing to append a separator. # value returned in "$func_relative_path_result" func_relative_path () { func_relative_path_result= func_normal_abspath "$1" func_relative_path_tlibdir=$func_normal_abspath_result func_normal_abspath "$2" func_relative_path_tbindir=$func_normal_abspath_result # Ascend the tree starting from libdir while :; do # check if we have found a prefix of bindir case $func_relative_path_tbindir in $func_relative_path_tlibdir) # found an exact match func_relative_path_tcancelled= break ;; $func_relative_path_tlibdir*) # found a matching prefix func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir" func_relative_path_tcancelled=$func_stripname_result if test -z "$func_relative_path_result"; then func_relative_path_result=. fi break ;; *) func_dirname $func_relative_path_tlibdir func_relative_path_tlibdir=${func_dirname_result} if test "x$func_relative_path_tlibdir" = x ; then # Have to descend all the way to the root! func_relative_path_result=../$func_relative_path_result func_relative_path_tcancelled=$func_relative_path_tbindir break fi func_relative_path_result=../$func_relative_path_result ;; esac done # Now calculate path; take care to avoid doubling-up slashes. func_stripname '' '/' "$func_relative_path_result" func_relative_path_result=$func_stripname_result func_stripname '/' '/' "$func_relative_path_tcancelled" if test "x$func_stripname_result" != x ; then func_relative_path_result=${func_relative_path_result}/${func_stripname_result} fi # Normalisation. If bindir is libdir, return empty string, # else relative path ending with a slash; either way, target # file name can be directly appended. if test ! -z "$func_relative_path_result"; then func_stripname './' '' "$func_relative_path_result/" func_relative_path_result=$func_stripname_result fi } # The name of this program: func_dirname_and_basename "$progpath" progname=$func_basename_result # Make sure we have an absolute path for reexecution: case $progpath in [\\/]*|[A-Za-z]:\\*) ;; *[\\/]*) progdir=$func_dirname_result progdir=`cd "$progdir" && pwd` progpath="$progdir/$progname" ;; *) save_IFS="$IFS" IFS=: for progdir in $PATH; do IFS="$save_IFS" test -x "$progdir/$progname" && break done IFS="$save_IFS" test -n "$progdir" || progdir=`pwd` progpath="$progdir/$progname" ;; esac # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. Xsed="${SED}"' -e 1s/^X//' sed_quote_subst='s/\([`"$\\]\)/\\\1/g' # Same as above, but do not quote variable references. double_quote_subst='s/\(["`\\]\)/\\\1/g' # Sed substitution that turns a string into a regex matching for the # string literally. sed_make_literal_regex='s,[].[^$\\*\/],\\&,g' # Sed substitution that converts a w32 file name or path # which contains forward slashes, into one that contains # (escaped) backslashes. A very naive implementation. lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' # Re-`\' parameter expansions in output of double_quote_subst that were # `\'-ed in input to the same. If an odd number of `\' preceded a '$' # in input to double_quote_subst, that '$' was protected from expansion. # Since each input `\' is now two `\'s, look for any number of runs of # four `\'s followed by two `\'s and then a '$'. `\' that '$'. bs='\\' bs2='\\\\' bs4='\\\\\\\\' dollar='\$' sed_double_backslash="\ s/$bs4/&\\ /g s/^$bs2$dollar/$bs&/ s/\\([^$bs]\\)$bs2$dollar/\\1$bs2$bs$dollar/g s/\n//g" # Standard options: opt_dry_run=false opt_help=false opt_quiet=false opt_verbose=false opt_warning=: # func_echo arg... # Echo program name prefixed message, along with the current mode # name if it has been set yet. func_echo () { $ECHO "$progname: ${opt_mode+$opt_mode: }$*" } # func_verbose arg... # Echo program name prefixed message in verbose mode only. func_verbose () { $opt_verbose && func_echo ${1+"$@"} # A bug in bash halts the script if the last line of a function # fails when set -e is in force, so we need another command to # work around that: : } # func_echo_all arg... # Invoke $ECHO with all args, space-separated. func_echo_all () { $ECHO "$*" } # func_error arg... # Echo program name prefixed message to standard error. func_error () { $ECHO "$progname: ${opt_mode+$opt_mode: }"${1+"$@"} 1>&2 } # func_warning arg... # Echo program name prefixed warning message to standard error. func_warning () { $opt_warning && $ECHO "$progname: ${opt_mode+$opt_mode: }warning: "${1+"$@"} 1>&2 # bash bug again: : } # func_fatal_error arg... # Echo program name prefixed message to standard error, and exit. func_fatal_error () { func_error ${1+"$@"} exit $EXIT_FAILURE } # func_fatal_help arg... # Echo program name prefixed message to standard error, followed by # a help hint, and exit. func_fatal_help () { func_error ${1+"$@"} func_fatal_error "$help" } help="Try \`$progname --help' for more information." ## default # func_grep expression filename # Check whether EXPRESSION matches any line of FILENAME, without output. func_grep () { $GREP "$1" "$2" >/dev/null 2>&1 } # func_mkdir_p directory-path # Make sure the entire path to DIRECTORY-PATH is available. func_mkdir_p () { my_directory_path="$1" my_dir_list= if test -n "$my_directory_path" && test "$opt_dry_run" != ":"; then # Protect directory names starting with `-' case $my_directory_path in -*) my_directory_path="./$my_directory_path" ;; esac # While some portion of DIR does not yet exist... while test ! -d "$my_directory_path"; do # ...make a list in topmost first order. Use a colon delimited # list incase some portion of path contains whitespace. my_dir_list="$my_directory_path:$my_dir_list" # If the last portion added has no slash in it, the list is done case $my_directory_path in */*) ;; *) break ;; esac # ...otherwise throw away the child directory and loop my_directory_path=`$ECHO "$my_directory_path" | $SED -e "$dirname"` done my_dir_list=`$ECHO "$my_dir_list" | $SED 's,:*$,,'` save_mkdir_p_IFS="$IFS"; IFS=':' for my_dir in $my_dir_list; do IFS="$save_mkdir_p_IFS" # mkdir can fail with a `File exist' error if two processes # try to create one of the directories concurrently. Don't # stop in that case! $MKDIR "$my_dir" 2>/dev/null || : done IFS="$save_mkdir_p_IFS" # Bail out if we (or some other process) failed to create a directory. test -d "$my_directory_path" || \ func_fatal_error "Failed to create \`$1'" fi } # func_mktempdir [string] # Make a temporary directory that won't clash with other running # libtool processes, and avoids race conditions if possible. If # given, STRING is the basename for that directory. func_mktempdir () { my_template="${TMPDIR-/tmp}/${1-$progname}" if test "$opt_dry_run" = ":"; then # Return a directory name, but don't create it in dry-run mode my_tmpdir="${my_template}-$$" else # If mktemp works, use that first and foremost my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null` if test ! -d "$my_tmpdir"; then # Failing that, at least try and use $RANDOM to avoid a race my_tmpdir="${my_template}-${RANDOM-0}$$" save_mktempdir_umask=`umask` umask 0077 $MKDIR "$my_tmpdir" umask $save_mktempdir_umask fi # If we're not in dry-run mode, bomb out on failure test -d "$my_tmpdir" || \ func_fatal_error "cannot create temporary directory \`$my_tmpdir'" fi $ECHO "$my_tmpdir" } # func_quote_for_eval arg # Aesthetically quote ARG to be evaled later. # This function returns two values: FUNC_QUOTE_FOR_EVAL_RESULT # is double-quoted, suitable for a subsequent eval, whereas # FUNC_QUOTE_FOR_EVAL_UNQUOTED_RESULT has merely all characters # which are still active within double quotes backslashified. func_quote_for_eval () { case $1 in *[\\\`\"\$]*) func_quote_for_eval_unquoted_result=`$ECHO "$1" | $SED "$sed_quote_subst"` ;; *) func_quote_for_eval_unquoted_result="$1" ;; esac case $func_quote_for_eval_unquoted_result in # Double-quote args containing shell metacharacters to delay # word splitting, command substitution and and variable # expansion for a subsequent eval. # Many Bourne shells cannot handle close brackets correctly # in scan sets, so we specify it separately. *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") func_quote_for_eval_result="\"$func_quote_for_eval_unquoted_result\"" ;; *) func_quote_for_eval_result="$func_quote_for_eval_unquoted_result" esac } # func_quote_for_expand arg # Aesthetically quote ARG to be evaled later; same as above, # but do not quote variable references. func_quote_for_expand () { case $1 in *[\\\`\"]*) my_arg=`$ECHO "$1" | $SED \ -e "$double_quote_subst" -e "$sed_double_backslash"` ;; *) my_arg="$1" ;; esac case $my_arg in # Double-quote args containing shell metacharacters to delay # word splitting and command substitution for a subsequent eval. # Many Bourne shells cannot handle close brackets correctly # in scan sets, so we specify it separately. *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") my_arg="\"$my_arg\"" ;; esac func_quote_for_expand_result="$my_arg" } # func_show_eval cmd [fail_exp] # Unless opt_silent is true, then output CMD. Then, if opt_dryrun is # not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP # is given, then evaluate it. func_show_eval () { my_cmd="$1" my_fail_exp="${2-:}" ${opt_silent-false} || { func_quote_for_expand "$my_cmd" eval "func_echo $func_quote_for_expand_result" } if ${opt_dry_run-false}; then :; else eval "$my_cmd" my_status=$? if test "$my_status" -eq 0; then :; else eval "(exit $my_status); $my_fail_exp" fi fi } # func_show_eval_locale cmd [fail_exp] # Unless opt_silent is true, then output CMD. Then, if opt_dryrun is # not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP # is given, then evaluate it. Use the saved locale for evaluation. func_show_eval_locale () { my_cmd="$1" my_fail_exp="${2-:}" ${opt_silent-false} || { func_quote_for_expand "$my_cmd" eval "func_echo $func_quote_for_expand_result" } if ${opt_dry_run-false}; then :; else eval "$lt_user_locale $my_cmd" my_status=$? eval "$lt_safe_locale" if test "$my_status" -eq 0; then :; else eval "(exit $my_status); $my_fail_exp" fi fi } # func_tr_sh # Turn $1 into a string suitable for a shell variable name. # Result is stored in $func_tr_sh_result. All characters # not in the set a-zA-Z0-9_ are replaced with '_'. Further, # if $1 begins with a digit, a '_' is prepended as well. func_tr_sh () { case $1 in [0-9]* | *[!a-zA-Z0-9_]*) func_tr_sh_result=`$ECHO "$1" | $SED 's/^\([0-9]\)/_\1/; s/[^a-zA-Z0-9_]/_/g'` ;; * ) func_tr_sh_result=$1 ;; esac } # func_version # Echo version message to standard output and exit. func_version () { $opt_debug $SED -n '/(C)/!b go :more /\./!{ N s/\n# / / b more } :go /^# '$PROGRAM' (GNU /,/# warranty; / { s/^# // s/^# *$// s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/ p }' < "$progpath" exit $? } # func_usage # Echo short help message to standard output and exit. func_usage () { $opt_debug $SED -n '/^# Usage:/,/^# *.*--help/ { s/^# // s/^# *$// s/\$progname/'$progname'/ p }' < "$progpath" echo $ECHO "run \`$progname --help | more' for full usage" exit $? } # func_help [NOEXIT] # Echo long help message to standard output and exit, # unless 'noexit' is passed as argument. func_help () { $opt_debug $SED -n '/^# Usage:/,/# Report bugs to/ { :print s/^# // s/^# *$// s*\$progname*'$progname'* s*\$host*'"$host"'* s*\$SHELL*'"$SHELL"'* s*\$LTCC*'"$LTCC"'* s*\$LTCFLAGS*'"$LTCFLAGS"'* s*\$LD*'"$LD"'* s/\$with_gnu_ld/'"$with_gnu_ld"'/ s/\$automake_version/'"`(automake --version) 2>/dev/null |$SED 1q`"'/ s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/ p d } /^# .* home page:/b print /^# General help using/b print ' < "$progpath" ret=$? if test -z "$1"; then exit $ret fi } # func_missing_arg argname # Echo program name prefixed message to standard error and set global # exit_cmd. func_missing_arg () { $opt_debug func_error "missing argument for $1." exit_cmd=exit } # func_split_short_opt shortopt # Set func_split_short_opt_name and func_split_short_opt_arg shell # variables after splitting SHORTOPT after the 2nd character. func_split_short_opt () { my_sed_short_opt='1s/^\(..\).*$/\1/;q' my_sed_short_rest='1s/^..\(.*\)$/\1/;q' func_split_short_opt_name=`$ECHO "$1" | $SED "$my_sed_short_opt"` func_split_short_opt_arg=`$ECHO "$1" | $SED "$my_sed_short_rest"` } # func_split_short_opt may be replaced by extended shell implementation # func_split_long_opt longopt # Set func_split_long_opt_name and func_split_long_opt_arg shell # variables after splitting LONGOPT at the `=' sign. func_split_long_opt () { my_sed_long_opt='1s/^\(--[^=]*\)=.*/\1/;q' my_sed_long_arg='1s/^--[^=]*=//' func_split_long_opt_name=`$ECHO "$1" | $SED "$my_sed_long_opt"` func_split_long_opt_arg=`$ECHO "$1" | $SED "$my_sed_long_arg"` } # func_split_long_opt may be replaced by extended shell implementation exit_cmd=: magic="%%%MAGIC variable%%%" magic_exe="%%%MAGIC EXE variable%%%" # Global variables. nonopt= preserve_args= lo2o="s/\\.lo\$/.${objext}/" o2lo="s/\\.${objext}\$/.lo/" extracted_archives= extracted_serial=0 # If this variable is set in any of the actions, the command in it # will be execed at the end. This prevents here-documents from being # left over by shells. exec_cmd= # func_append var value # Append VALUE to the end of shell variable VAR. func_append () { eval "${1}=\$${1}\${2}" } # func_append may be replaced by extended shell implementation # func_append_quoted var value # Quote VALUE and append to the end of shell variable VAR, separated # by a space. func_append_quoted () { func_quote_for_eval "${2}" eval "${1}=\$${1}\\ \$func_quote_for_eval_result" } # func_append_quoted may be replaced by extended shell implementation # func_arith arithmetic-term... func_arith () { func_arith_result=`expr "${@}"` } # func_arith may be replaced by extended shell implementation # func_len string # STRING may not start with a hyphen. func_len () { func_len_result=`expr "${1}" : ".*" 2>/dev/null || echo $max_cmd_len` } # func_len may be replaced by extended shell implementation # func_lo2o object func_lo2o () { func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"` } # func_lo2o may be replaced by extended shell implementation # func_xform libobj-or-source func_xform () { func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'` } # func_xform may be replaced by extended shell implementation # func_fatal_configuration arg... # Echo program name prefixed message to standard error, followed by # a configuration failure hint, and exit. func_fatal_configuration () { func_error ${1+"$@"} func_error "See the $PACKAGE documentation for more information." func_fatal_error "Fatal configuration error." } # func_config # Display the configuration for all the tags in this script. func_config () { re_begincf='^# ### BEGIN LIBTOOL' re_endcf='^# ### END LIBTOOL' # Default configuration. $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath" # Now print the configurations for the tags. for tagname in $taglist; do $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath" done exit $? } # func_features # Display the features supported by this script. func_features () { echo "host: $host" if test "$build_libtool_libs" = yes; then echo "enable shared libraries" else echo "disable shared libraries" fi if test "$build_old_libs" = yes; then echo "enable static libraries" else echo "disable static libraries" fi exit $? } # func_enable_tag tagname # Verify that TAGNAME is valid, and either flag an error and exit, or # enable the TAGNAME tag. We also add TAGNAME to the global $taglist # variable here. func_enable_tag () { # Global variable: tagname="$1" re_begincf="^# ### BEGIN LIBTOOL TAG CONFIG: $tagname\$" re_endcf="^# ### END LIBTOOL TAG CONFIG: $tagname\$" sed_extractcf="/$re_begincf/,/$re_endcf/p" # Validate tagname. case $tagname in *[!-_A-Za-z0-9,/]*) func_fatal_error "invalid tag name: $tagname" ;; esac # Don't test for the "default" C tag, as we know it's # there but not specially marked. case $tagname in CC) ;; *) if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then taglist="$taglist $tagname" # Evaluate the configuration. Be careful to quote the path # and the sed script, to avoid splitting on whitespace, but # also don't use non-portable quotes within backquotes within # quotes we have to do it in 2 steps: extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"` eval "$extractedcf" else func_error "ignoring unknown tag $tagname" fi ;; esac } # func_check_version_match # Ensure that we are using m4 macros, and libtool script from the same # release of libtool. func_check_version_match () { if test "$package_revision" != "$macro_revision"; then if test "$VERSION" != "$macro_version"; then if test -z "$macro_version"; then cat >&2 <<_LT_EOF $progname: Version mismatch error. This is $PACKAGE $VERSION, but the $progname: definition of this LT_INIT comes from an older release. $progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION $progname: and run autoconf again. _LT_EOF else cat >&2 <<_LT_EOF $progname: Version mismatch error. This is $PACKAGE $VERSION, but the $progname: definition of this LT_INIT comes from $PACKAGE $macro_version. $progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION $progname: and run autoconf again. _LT_EOF fi else cat >&2 <<_LT_EOF $progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision, $progname: but the definition of this LT_INIT comes from revision $macro_revision. $progname: You should recreate aclocal.m4 with macros from revision $package_revision $progname: of $PACKAGE $VERSION and run autoconf again. _LT_EOF fi exit $EXIT_MISMATCH fi } # Shorthand for --mode=foo, only valid as the first argument case $1 in clean|clea|cle|cl) shift; set dummy --mode clean ${1+"$@"}; shift ;; compile|compil|compi|comp|com|co|c) shift; set dummy --mode compile ${1+"$@"}; shift ;; execute|execut|execu|exec|exe|ex|e) shift; set dummy --mode execute ${1+"$@"}; shift ;; finish|finis|fini|fin|fi|f) shift; set dummy --mode finish ${1+"$@"}; shift ;; install|instal|insta|inst|ins|in|i) shift; set dummy --mode install ${1+"$@"}; shift ;; link|lin|li|l) shift; set dummy --mode link ${1+"$@"}; shift ;; uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u) shift; set dummy --mode uninstall ${1+"$@"}; shift ;; esac # Option defaults: opt_debug=: opt_dry_run=false opt_config=false opt_preserve_dup_deps=false opt_features=false opt_finish=false opt_help=false opt_help_all=false opt_silent=: opt_verbose=: opt_silent=false opt_verbose=false # Parse options once, thoroughly. This comes as soon as possible in the # script to make things like `--version' happen as quickly as we can. { # this just eases exit handling while test $# -gt 0; do opt="$1" shift case $opt in --debug|-x) opt_debug='set -x' func_echo "enabling shell trace mode" $opt_debug ;; --dry-run|--dryrun|-n) opt_dry_run=: ;; --config) opt_config=: func_config ;; --dlopen|-dlopen) optarg="$1" opt_dlopen="${opt_dlopen+$opt_dlopen }$optarg" shift ;; --preserve-dup-deps) opt_preserve_dup_deps=: ;; --features) opt_features=: func_features ;; --finish) opt_finish=: set dummy --mode finish ${1+"$@"}; shift ;; --help) opt_help=: ;; --help-all) opt_help_all=: opt_help=': help-all' ;; --mode) test $# = 0 && func_missing_arg $opt && break optarg="$1" opt_mode="$optarg" case $optarg in # Valid mode arguments: clean|compile|execute|finish|install|link|relink|uninstall) ;; # Catch anything else as an error *) func_error "invalid argument for $opt" exit_cmd=exit break ;; esac shift ;; --no-silent|--no-quiet) opt_silent=false func_append preserve_args " $opt" ;; --no-verbose) opt_verbose=false func_append preserve_args " $opt" ;; --silent|--quiet) opt_silent=: func_append preserve_args " $opt" opt_verbose=false ;; --verbose|-v) opt_verbose=: func_append preserve_args " $opt" opt_silent=false ;; --tag) test $# = 0 && func_missing_arg $opt && break optarg="$1" opt_tag="$optarg" func_append preserve_args " $opt $optarg" func_enable_tag "$optarg" shift ;; -\?|-h) func_usage ;; --help) func_help ;; --version) func_version ;; # Separate optargs to long options: --*=*) func_split_long_opt "$opt" set dummy "$func_split_long_opt_name" "$func_split_long_opt_arg" ${1+"$@"} shift ;; # Separate non-argument short options: -\?*|-h*|-n*|-v*) func_split_short_opt "$opt" set dummy "$func_split_short_opt_name" "-$func_split_short_opt_arg" ${1+"$@"} shift ;; --) break ;; -*) func_fatal_help "unrecognized option \`$opt'" ;; *) set dummy "$opt" ${1+"$@"}; shift; break ;; esac done # Validate options: # save first non-option argument if test "$#" -gt 0; then nonopt="$opt" shift fi # preserve --debug test "$opt_debug" = : || func_append preserve_args " --debug" case $host in *cygwin* | *mingw* | *pw32* | *cegcc*) # don't eliminate duplications in $postdeps and $predeps opt_duplicate_compiler_generated_deps=: ;; *) opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps ;; esac $opt_help || { # Sanity checks first: func_check_version_match if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then func_fatal_configuration "not configured to build any kind of library" fi # Darwin sucks eval std_shrext=\"$shrext_cmds\" # Only execute mode is allowed to have -dlopen flags. if test -n "$opt_dlopen" && test "$opt_mode" != execute; then func_error "unrecognized option \`-dlopen'" $ECHO "$help" 1>&2 exit $EXIT_FAILURE fi # Change the help message to a mode-specific one. generic_help="$help" help="Try \`$progname --help --mode=$opt_mode' for more information." } # Bail if the options were screwed $exit_cmd $EXIT_FAILURE } ## ----------- ## ## Main. ## ## ----------- ## # func_lalib_p file # True iff FILE is a libtool `.la' library or `.lo' object file. # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_lalib_p () { test -f "$1" && $SED -e 4q "$1" 2>/dev/null \ | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1 } # func_lalib_unsafe_p file # True iff FILE is a libtool `.la' library or `.lo' object file. # This function implements the same check as func_lalib_p without # resorting to external programs. To this end, it redirects stdin and # closes it afterwards, without saving the original file descriptor. # As a safety measure, use it only where a negative result would be # fatal anyway. Works if `file' does not exist. func_lalib_unsafe_p () { lalib_p=no if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then for lalib_p_l in 1 2 3 4 do read lalib_p_line case "$lalib_p_line" in \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;; esac done exec 0<&5 5<&- fi test "$lalib_p" = yes } # func_ltwrapper_script_p file # True iff FILE is a libtool wrapper script # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_ltwrapper_script_p () { func_lalib_p "$1" } # func_ltwrapper_executable_p file # True iff FILE is a libtool wrapper executable # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_ltwrapper_executable_p () { func_ltwrapper_exec_suffix= case $1 in *.exe) ;; *) func_ltwrapper_exec_suffix=.exe ;; esac $GREP "$magic_exe" "$1$func_ltwrapper_exec_suffix" >/dev/null 2>&1 } # func_ltwrapper_scriptname file # Assumes file is an ltwrapper_executable # uses $file to determine the appropriate filename for a # temporary ltwrapper_script. func_ltwrapper_scriptname () { func_dirname_and_basename "$1" "" "." func_stripname '' '.exe' "$func_basename_result" func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper" } # func_ltwrapper_p file # True iff FILE is a libtool wrapper script or wrapper executable # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_ltwrapper_p () { func_ltwrapper_script_p "$1" || func_ltwrapper_executable_p "$1" } # func_execute_cmds commands fail_cmd # Execute tilde-delimited COMMANDS. # If FAIL_CMD is given, eval that upon failure. # FAIL_CMD may read-access the current command in variable CMD! func_execute_cmds () { $opt_debug save_ifs=$IFS; IFS='~' for cmd in $1; do IFS=$save_ifs eval cmd=\"$cmd\" func_show_eval "$cmd" "${2-:}" done IFS=$save_ifs } # func_source file # Source FILE, adding directory component if necessary. # Note that it is not necessary on cygwin/mingw to append a dot to # FILE even if both FILE and FILE.exe exist: automatic-append-.exe # behavior happens only for exec(3), not for open(2)! Also, sourcing # `FILE.' does not work on cygwin managed mounts. func_source () { $opt_debug case $1 in */* | *\\*) . "$1" ;; *) . "./$1" ;; esac } # func_resolve_sysroot PATH # Replace a leading = in PATH with a sysroot. Store the result into # func_resolve_sysroot_result func_resolve_sysroot () { func_resolve_sysroot_result=$1 case $func_resolve_sysroot_result in =*) func_stripname '=' '' "$func_resolve_sysroot_result" func_resolve_sysroot_result=$lt_sysroot$func_stripname_result ;; esac } # func_replace_sysroot PATH # If PATH begins with the sysroot, replace it with = and # store the result into func_replace_sysroot_result. func_replace_sysroot () { case "$lt_sysroot:$1" in ?*:"$lt_sysroot"*) func_stripname "$lt_sysroot" '' "$1" func_replace_sysroot_result="=$func_stripname_result" ;; *) # Including no sysroot. func_replace_sysroot_result=$1 ;; esac } # func_infer_tag arg # Infer tagged configuration to use if any are available and # if one wasn't chosen via the "--tag" command line option. # Only attempt this if the compiler in the base compile # command doesn't match the default compiler. # arg is usually of the form 'gcc ...' func_infer_tag () { $opt_debug if test -n "$available_tags" && test -z "$tagname"; then CC_quoted= for arg in $CC; do func_append_quoted CC_quoted "$arg" done CC_expanded=`func_echo_all $CC` CC_quoted_expanded=`func_echo_all $CC_quoted` case $@ in # Blanks in the command may have been stripped by the calling shell, # but not from the CC environment variable when configure was run. " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) ;; # Blanks at the start of $base_compile will cause this to fail # if we don't check for them as well. *) for z in $available_tags; do if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then # Evaluate the configuration. eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`" CC_quoted= for arg in $CC; do # Double-quote args containing other shell metacharacters. func_append_quoted CC_quoted "$arg" done CC_expanded=`func_echo_all $CC` CC_quoted_expanded=`func_echo_all $CC_quoted` case "$@ " in " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) # The compiler in the base compile command matches # the one in the tagged configuration. # Assume this is the tagged configuration we want. tagname=$z break ;; esac fi done # If $tagname still isn't set, then no tagged configuration # was found and let the user know that the "--tag" command # line option must be used. if test -z "$tagname"; then func_echo "unable to infer tagged configuration" func_fatal_error "specify a tag with \`--tag'" # else # func_verbose "using $tagname tagged configuration" fi ;; esac fi } # func_write_libtool_object output_name pic_name nonpic_name # Create a libtool object file (analogous to a ".la" file), # but don't create it if we're doing a dry run. func_write_libtool_object () { write_libobj=${1} if test "$build_libtool_libs" = yes; then write_lobj=\'${2}\' else write_lobj=none fi if test "$build_old_libs" = yes; then write_oldobj=\'${3}\' else write_oldobj=none fi $opt_dry_run || { cat >${write_libobj}T </dev/null` if test "$?" -eq 0 && test -n "${func_convert_core_file_wine_to_w32_tmp}"; then func_convert_core_file_wine_to_w32_result=`$ECHO "$func_convert_core_file_wine_to_w32_tmp" | $SED -e "$lt_sed_naive_backslashify"` else func_convert_core_file_wine_to_w32_result= fi fi } # end: func_convert_core_file_wine_to_w32 # func_convert_core_path_wine_to_w32 ARG # Helper function used by path conversion functions when $build is *nix, and # $host is mingw, cygwin, or some other w32 environment. Relies on a correctly # configured wine environment available, with the winepath program in $build's # $PATH. Assumes ARG has no leading or trailing path separator characters. # # ARG is path to be converted from $build format to win32. # Result is available in $func_convert_core_path_wine_to_w32_result. # Unconvertible file (directory) names in ARG are skipped; if no directory names # are convertible, then the result may be empty. func_convert_core_path_wine_to_w32 () { $opt_debug # unfortunately, winepath doesn't convert paths, only file names func_convert_core_path_wine_to_w32_result="" if test -n "$1"; then oldIFS=$IFS IFS=: for func_convert_core_path_wine_to_w32_f in $1; do IFS=$oldIFS func_convert_core_file_wine_to_w32 "$func_convert_core_path_wine_to_w32_f" if test -n "$func_convert_core_file_wine_to_w32_result" ; then if test -z "$func_convert_core_path_wine_to_w32_result"; then func_convert_core_path_wine_to_w32_result="$func_convert_core_file_wine_to_w32_result" else func_append func_convert_core_path_wine_to_w32_result ";$func_convert_core_file_wine_to_w32_result" fi fi done IFS=$oldIFS fi } # end: func_convert_core_path_wine_to_w32 # func_cygpath ARGS... # Wrapper around calling the cygpath program via LT_CYGPATH. This is used when # when (1) $build is *nix and Cygwin is hosted via a wine environment; or (2) # $build is MSYS and $host is Cygwin, or (3) $build is Cygwin. In case (1) or # (2), returns the Cygwin file name or path in func_cygpath_result (input # file name or path is assumed to be in w32 format, as previously converted # from $build's *nix or MSYS format). In case (3), returns the w32 file name # or path in func_cygpath_result (input file name or path is assumed to be in # Cygwin format). Returns an empty string on error. # # ARGS are passed to cygpath, with the last one being the file name or path to # be converted. # # Specify the absolute *nix (or w32) name to cygpath in the LT_CYGPATH # environment variable; do not put it in $PATH. func_cygpath () { $opt_debug if test -n "$LT_CYGPATH" && test -f "$LT_CYGPATH"; then func_cygpath_result=`$LT_CYGPATH "$@" 2>/dev/null` if test "$?" -ne 0; then # on failure, ensure result is empty func_cygpath_result= fi else func_cygpath_result= func_error "LT_CYGPATH is empty or specifies non-existent file: \`$LT_CYGPATH'" fi } #end: func_cygpath # func_convert_core_msys_to_w32 ARG # Convert file name or path ARG from MSYS format to w32 format. Return # result in func_convert_core_msys_to_w32_result. func_convert_core_msys_to_w32 () { $opt_debug # awkward: cmd appends spaces to result func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null | $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"` } #end: func_convert_core_msys_to_w32 # func_convert_file_check ARG1 ARG2 # Verify that ARG1 (a file name in $build format) was converted to $host # format in ARG2. Otherwise, emit an error message, but continue (resetting # func_to_host_file_result to ARG1). func_convert_file_check () { $opt_debug if test -z "$2" && test -n "$1" ; then func_error "Could not determine host file name corresponding to" func_error " \`$1'" func_error "Continuing, but uninstalled executables may not work." # Fallback: func_to_host_file_result="$1" fi } # end func_convert_file_check # func_convert_path_check FROM_PATHSEP TO_PATHSEP FROM_PATH TO_PATH # Verify that FROM_PATH (a path in $build format) was converted to $host # format in TO_PATH. Otherwise, emit an error message, but continue, resetting # func_to_host_file_result to a simplistic fallback value (see below). func_convert_path_check () { $opt_debug if test -z "$4" && test -n "$3"; then func_error "Could not determine the host path corresponding to" func_error " \`$3'" func_error "Continuing, but uninstalled executables may not work." # Fallback. This is a deliberately simplistic "conversion" and # should not be "improved". See libtool.info. if test "x$1" != "x$2"; then lt_replace_pathsep_chars="s|$1|$2|g" func_to_host_path_result=`echo "$3" | $SED -e "$lt_replace_pathsep_chars"` else func_to_host_path_result="$3" fi fi } # end func_convert_path_check # func_convert_path_front_back_pathsep FRONTPAT BACKPAT REPL ORIG # Modifies func_to_host_path_result by prepending REPL if ORIG matches FRONTPAT # and appending REPL if ORIG matches BACKPAT. func_convert_path_front_back_pathsep () { $opt_debug case $4 in $1 ) func_to_host_path_result="$3$func_to_host_path_result" ;; esac case $4 in $2 ) func_append func_to_host_path_result "$3" ;; esac } # end func_convert_path_front_back_pathsep ################################################## # $build to $host FILE NAME CONVERSION FUNCTIONS # ################################################## # invoked via `$to_host_file_cmd ARG' # # In each case, ARG is the path to be converted from $build to $host format. # Result will be available in $func_to_host_file_result. # func_to_host_file ARG # Converts the file name ARG from $build format to $host format. Return result # in func_to_host_file_result. func_to_host_file () { $opt_debug $to_host_file_cmd "$1" } # end func_to_host_file # func_to_tool_file ARG LAZY # converts the file name ARG from $build format to toolchain format. Return # result in func_to_tool_file_result. If the conversion in use is listed # in (the comma separated) LAZY, no conversion takes place. func_to_tool_file () { $opt_debug case ,$2, in *,"$to_tool_file_cmd",*) func_to_tool_file_result=$1 ;; *) $to_tool_file_cmd "$1" func_to_tool_file_result=$func_to_host_file_result ;; esac } # end func_to_tool_file # func_convert_file_noop ARG # Copy ARG to func_to_host_file_result. func_convert_file_noop () { func_to_host_file_result="$1" } # end func_convert_file_noop # func_convert_file_msys_to_w32 ARG # Convert file name ARG from (mingw) MSYS to (mingw) w32 format; automatic # conversion to w32 is not available inside the cwrapper. Returns result in # func_to_host_file_result. func_convert_file_msys_to_w32 () { $opt_debug func_to_host_file_result="$1" if test -n "$1"; then func_convert_core_msys_to_w32 "$1" func_to_host_file_result="$func_convert_core_msys_to_w32_result" fi func_convert_file_check "$1" "$func_to_host_file_result" } # end func_convert_file_msys_to_w32 # func_convert_file_cygwin_to_w32 ARG # Convert file name ARG from Cygwin to w32 format. Returns result in # func_to_host_file_result. func_convert_file_cygwin_to_w32 () { $opt_debug func_to_host_file_result="$1" if test -n "$1"; then # because $build is cygwin, we call "the" cygpath in $PATH; no need to use # LT_CYGPATH in this case. func_to_host_file_result=`cygpath -m "$1"` fi func_convert_file_check "$1" "$func_to_host_file_result" } # end func_convert_file_cygwin_to_w32 # func_convert_file_nix_to_w32 ARG # Convert file name ARG from *nix to w32 format. Requires a wine environment # and a working winepath. Returns result in func_to_host_file_result. func_convert_file_nix_to_w32 () { $opt_debug func_to_host_file_result="$1" if test -n "$1"; then func_convert_core_file_wine_to_w32 "$1" func_to_host_file_result="$func_convert_core_file_wine_to_w32_result" fi func_convert_file_check "$1" "$func_to_host_file_result" } # end func_convert_file_nix_to_w32 # func_convert_file_msys_to_cygwin ARG # Convert file name ARG from MSYS to Cygwin format. Requires LT_CYGPATH set. # Returns result in func_to_host_file_result. func_convert_file_msys_to_cygwin () { $opt_debug func_to_host_file_result="$1" if test -n "$1"; then func_convert_core_msys_to_w32 "$1" func_cygpath -u "$func_convert_core_msys_to_w32_result" func_to_host_file_result="$func_cygpath_result" fi func_convert_file_check "$1" "$func_to_host_file_result" } # end func_convert_file_msys_to_cygwin # func_convert_file_nix_to_cygwin ARG # Convert file name ARG from *nix to Cygwin format. Requires Cygwin installed # in a wine environment, working winepath, and LT_CYGPATH set. Returns result # in func_to_host_file_result. func_convert_file_nix_to_cygwin () { $opt_debug func_to_host_file_result="$1" if test -n "$1"; then # convert from *nix to w32, then use cygpath to convert from w32 to cygwin. func_convert_core_file_wine_to_w32 "$1" func_cygpath -u "$func_convert_core_file_wine_to_w32_result" func_to_host_file_result="$func_cygpath_result" fi func_convert_file_check "$1" "$func_to_host_file_result" } # end func_convert_file_nix_to_cygwin ############################################# # $build to $host PATH CONVERSION FUNCTIONS # ############################################# # invoked via `$to_host_path_cmd ARG' # # In each case, ARG is the path to be converted from $build to $host format. # The result will be available in $func_to_host_path_result. # # Path separators are also converted from $build format to $host format. If # ARG begins or ends with a path separator character, it is preserved (but # converted to $host format) on output. # # All path conversion functions are named using the following convention: # file name conversion function : func_convert_file_X_to_Y () # path conversion function : func_convert_path_X_to_Y () # where, for any given $build/$host combination the 'X_to_Y' value is the # same. If conversion functions are added for new $build/$host combinations, # the two new functions must follow this pattern, or func_init_to_host_path_cmd # will break. # func_init_to_host_path_cmd # Ensures that function "pointer" variable $to_host_path_cmd is set to the # appropriate value, based on the value of $to_host_file_cmd. to_host_path_cmd= func_init_to_host_path_cmd () { $opt_debug if test -z "$to_host_path_cmd"; then func_stripname 'func_convert_file_' '' "$to_host_file_cmd" to_host_path_cmd="func_convert_path_${func_stripname_result}" fi } # func_to_host_path ARG # Converts the path ARG from $build format to $host format. Return result # in func_to_host_path_result. func_to_host_path () { $opt_debug func_init_to_host_path_cmd $to_host_path_cmd "$1" } # end func_to_host_path # func_convert_path_noop ARG # Copy ARG to func_to_host_path_result. func_convert_path_noop () { func_to_host_path_result="$1" } # end func_convert_path_noop # func_convert_path_msys_to_w32 ARG # Convert path ARG from (mingw) MSYS to (mingw) w32 format; automatic # conversion to w32 is not available inside the cwrapper. Returns result in # func_to_host_path_result. func_convert_path_msys_to_w32 () { $opt_debug func_to_host_path_result="$1" if test -n "$1"; then # Remove leading and trailing path separator characters from ARG. MSYS # behavior is inconsistent here; cygpath turns them into '.;' and ';.'; # and winepath ignores them completely. func_stripname : : "$1" func_to_host_path_tmp1=$func_stripname_result func_convert_core_msys_to_w32 "$func_to_host_path_tmp1" func_to_host_path_result="$func_convert_core_msys_to_w32_result" func_convert_path_check : ";" \ "$func_to_host_path_tmp1" "$func_to_host_path_result" func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" fi } # end func_convert_path_msys_to_w32 # func_convert_path_cygwin_to_w32 ARG # Convert path ARG from Cygwin to w32 format. Returns result in # func_to_host_file_result. func_convert_path_cygwin_to_w32 () { $opt_debug func_to_host_path_result="$1" if test -n "$1"; then # See func_convert_path_msys_to_w32: func_stripname : : "$1" func_to_host_path_tmp1=$func_stripname_result func_to_host_path_result=`cygpath -m -p "$func_to_host_path_tmp1"` func_convert_path_check : ";" \ "$func_to_host_path_tmp1" "$func_to_host_path_result" func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" fi } # end func_convert_path_cygwin_to_w32 # func_convert_path_nix_to_w32 ARG # Convert path ARG from *nix to w32 format. Requires a wine environment and # a working winepath. Returns result in func_to_host_file_result. func_convert_path_nix_to_w32 () { $opt_debug func_to_host_path_result="$1" if test -n "$1"; then # See func_convert_path_msys_to_w32: func_stripname : : "$1" func_to_host_path_tmp1=$func_stripname_result func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1" func_to_host_path_result="$func_convert_core_path_wine_to_w32_result" func_convert_path_check : ";" \ "$func_to_host_path_tmp1" "$func_to_host_path_result" func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" fi } # end func_convert_path_nix_to_w32 # func_convert_path_msys_to_cygwin ARG # Convert path ARG from MSYS to Cygwin format. Requires LT_CYGPATH set. # Returns result in func_to_host_file_result. func_convert_path_msys_to_cygwin () { $opt_debug func_to_host_path_result="$1" if test -n "$1"; then # See func_convert_path_msys_to_w32: func_stripname : : "$1" func_to_host_path_tmp1=$func_stripname_result func_convert_core_msys_to_w32 "$func_to_host_path_tmp1" func_cygpath -u -p "$func_convert_core_msys_to_w32_result" func_to_host_path_result="$func_cygpath_result" func_convert_path_check : : \ "$func_to_host_path_tmp1" "$func_to_host_path_result" func_convert_path_front_back_pathsep ":*" "*:" : "$1" fi } # end func_convert_path_msys_to_cygwin # func_convert_path_nix_to_cygwin ARG # Convert path ARG from *nix to Cygwin format. Requires Cygwin installed in a # a wine environment, working winepath, and LT_CYGPATH set. Returns result in # func_to_host_file_result. func_convert_path_nix_to_cygwin () { $opt_debug func_to_host_path_result="$1" if test -n "$1"; then # Remove leading and trailing path separator characters from # ARG. msys behavior is inconsistent here, cygpath turns them # into '.;' and ';.', and winepath ignores them completely. func_stripname : : "$1" func_to_host_path_tmp1=$func_stripname_result func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1" func_cygpath -u -p "$func_convert_core_path_wine_to_w32_result" func_to_host_path_result="$func_cygpath_result" func_convert_path_check : : \ "$func_to_host_path_tmp1" "$func_to_host_path_result" func_convert_path_front_back_pathsep ":*" "*:" : "$1" fi } # end func_convert_path_nix_to_cygwin # func_mode_compile arg... func_mode_compile () { $opt_debug # Get the compilation command and the source file. base_compile= srcfile="$nonopt" # always keep a non-empty value in "srcfile" suppress_opt=yes suppress_output= arg_mode=normal libobj= later= pie_flag= for arg do case $arg_mode in arg ) # do not "continue". Instead, add this to base_compile lastarg="$arg" arg_mode=normal ;; target ) libobj="$arg" arg_mode=normal continue ;; normal ) # Accept any command-line options. case $arg in -o) test -n "$libobj" && \ func_fatal_error "you cannot specify \`-o' more than once" arg_mode=target continue ;; -pie | -fpie | -fPIE) func_append pie_flag " $arg" continue ;; -shared | -static | -prefer-pic | -prefer-non-pic) func_append later " $arg" continue ;; -no-suppress) suppress_opt=no continue ;; -Xcompiler) arg_mode=arg # the next one goes into the "base_compile" arg list continue # The current "srcfile" will either be retained or ;; # replaced later. I would guess that would be a bug. -Wc,*) func_stripname '-Wc,' '' "$arg" args=$func_stripname_result lastarg= save_ifs="$IFS"; IFS=',' for arg in $args; do IFS="$save_ifs" func_append_quoted lastarg "$arg" done IFS="$save_ifs" func_stripname ' ' '' "$lastarg" lastarg=$func_stripname_result # Add the arguments to base_compile. func_append base_compile " $lastarg" continue ;; *) # Accept the current argument as the source file. # The previous "srcfile" becomes the current argument. # lastarg="$srcfile" srcfile="$arg" ;; esac # case $arg ;; esac # case $arg_mode # Aesthetically quote the previous argument. func_append_quoted base_compile "$lastarg" done # for arg case $arg_mode in arg) func_fatal_error "you must specify an argument for -Xcompile" ;; target) func_fatal_error "you must specify a target with \`-o'" ;; *) # Get the name of the library object. test -z "$libobj" && { func_basename "$srcfile" libobj="$func_basename_result" } ;; esac # Recognize several different file suffixes. # If the user specifies -o file.o, it is replaced with file.lo case $libobj in *.[cCFSifmso] | \ *.ada | *.adb | *.ads | *.asm | \ *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \ *.[fF][09]? | *.for | *.java | *.obj | *.sx | *.cu | *.cup) func_xform "$libobj" libobj=$func_xform_result ;; esac case $libobj in *.lo) func_lo2o "$libobj"; obj=$func_lo2o_result ;; *) func_fatal_error "cannot determine name of library object from \`$libobj'" ;; esac func_infer_tag $base_compile for arg in $later; do case $arg in -shared) test "$build_libtool_libs" != yes && \ func_fatal_configuration "can not build a shared library" build_old_libs=no continue ;; -static) build_libtool_libs=no build_old_libs=yes continue ;; -prefer-pic) pic_mode=yes continue ;; -prefer-non-pic) pic_mode=no continue ;; esac done func_quote_for_eval "$libobj" test "X$libobj" != "X$func_quote_for_eval_result" \ && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"' &()|`$[]' \ && func_warning "libobj name \`$libobj' may not contain shell special characters." func_dirname_and_basename "$obj" "/" "" objname="$func_basename_result" xdir="$func_dirname_result" lobj=${xdir}$objdir/$objname test -z "$base_compile" && \ func_fatal_help "you must specify a compilation command" # Delete any leftover library objects. if test "$build_old_libs" = yes; then removelist="$obj $lobj $libobj ${libobj}T" else removelist="$lobj $libobj ${libobj}T" fi # On Cygwin there's no "real" PIC flag so we must build both object types case $host_os in cygwin* | mingw* | pw32* | os2* | cegcc*) pic_mode=default ;; esac if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then # non-PIC code in shared libraries is not supported pic_mode=default fi # Calculate the filename of the output object if compiler does # not support -o with -c if test "$compiler_c_o" = no; then output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.${objext} lockfile="$output_obj.lock" else output_obj= need_locks=no lockfile= fi # Lock this critical section if it is needed # We use this script file to make the link, it avoids creating a new file if test "$need_locks" = yes; then until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do func_echo "Waiting for $lockfile to be removed" sleep 2 done elif test "$need_locks" = warn; then if test -f "$lockfile"; then $ECHO "\ *** ERROR, $lockfile exists and contains: `cat $lockfile 2>/dev/null` This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $opt_dry_run || $RM $removelist exit $EXIT_FAILURE fi func_append removelist " $output_obj" $ECHO "$srcfile" > "$lockfile" fi $opt_dry_run || $RM $removelist func_append removelist " $lockfile" trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15 func_to_tool_file "$srcfile" func_convert_file_msys_to_w32 srcfile=$func_to_tool_file_result func_quote_for_eval "$srcfile" qsrcfile=$func_quote_for_eval_result # Only build a PIC object if we are building libtool libraries. if test "$build_libtool_libs" = yes; then # Without this assignment, base_compile gets emptied. fbsd_hideous_sh_bug=$base_compile if test "$pic_mode" != no; then command="$base_compile $qsrcfile $pic_flag" else # Don't build PIC code command="$base_compile $qsrcfile" fi func_mkdir_p "$xdir$objdir" if test -z "$output_obj"; then # Place PIC objects in $objdir func_append command " -o $lobj" fi func_show_eval_locale "$command" \ 'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE' if test "$need_locks" = warn && test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then $ECHO "\ *** ERROR, $lockfile contains: `cat $lockfile 2>/dev/null` but it should contain: $srcfile This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $opt_dry_run || $RM $removelist exit $EXIT_FAILURE fi # Just move the object if needed, then go on to compile the next one if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then func_show_eval '$MV "$output_obj" "$lobj"' \ 'error=$?; $opt_dry_run || $RM $removelist; exit $error' fi # Allow error messages only from the first compilation. if test "$suppress_opt" = yes; then suppress_output=' >/dev/null 2>&1' fi fi # Only build a position-dependent object if we build old libraries. if test "$build_old_libs" = yes; then if test "$pic_mode" != yes; then # Don't build PIC code command="$base_compile $qsrcfile$pie_flag" else command="$base_compile $qsrcfile $pic_flag" fi if test "$compiler_c_o" = yes; then func_append command " -o $obj" fi # Suppress compiler output if we already did a PIC compilation. func_append command "$suppress_output" func_show_eval_locale "$command" \ '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' if test "$need_locks" = warn && test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then $ECHO "\ *** ERROR, $lockfile contains: `cat $lockfile 2>/dev/null` but it should contain: $srcfile This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $opt_dry_run || $RM $removelist exit $EXIT_FAILURE fi # Just move the object if needed if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then func_show_eval '$MV "$output_obj" "$obj"' \ 'error=$?; $opt_dry_run || $RM $removelist; exit $error' fi fi $opt_dry_run || { func_write_libtool_object "$libobj" "$objdir/$objname" "$objname" # Unlock the critical section if it was locked if test "$need_locks" != no; then removelist=$lockfile $RM "$lockfile" fi } exit $EXIT_SUCCESS } $opt_help || { test "$opt_mode" = compile && func_mode_compile ${1+"$@"} } func_mode_help () { # We need to display help for each of the modes. case $opt_mode in "") # Generic help is extracted from the usage comments # at the start of this file. func_help ;; clean) $ECHO \ "Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE... Remove files from the build directory. RM is the name of the program to use to delete files associated with each FILE (typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed to RM. If FILE is a libtool library, object or program, all the files associated with it are deleted. Otherwise, only FILE itself is deleted using RM." ;; compile) $ECHO \ "Usage: $progname [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE Compile a source file into a libtool library object. This mode accepts the following additional options: -o OUTPUT-FILE set the output file name to OUTPUT-FILE -no-suppress do not suppress compiler output for multiple passes -prefer-pic try to build PIC objects only -prefer-non-pic try to build non-PIC objects only -shared do not build a \`.o' file suitable for static linking -static only build a \`.o' file suitable for static linking -Wc,FLAG pass FLAG directly to the compiler COMPILE-COMMAND is a command to be used in creating a \`standard' object file from the given SOURCEFILE. The output file name is determined by removing the directory component from SOURCEFILE, then substituting the C source code suffix \`.c' with the library object suffix, \`.lo'." ;; execute) $ECHO \ "Usage: $progname [OPTION]... --mode=execute COMMAND [ARGS]... Automatically set library path, then run a program. This mode accepts the following additional options: -dlopen FILE add the directory containing FILE to the library path This mode sets the library path environment variable according to \`-dlopen' flags. If any of the ARGS are libtool executable wrappers, then they are translated into their corresponding uninstalled binary, and any of their required library directories are added to the library path. Then, COMMAND is executed, with ARGS as arguments." ;; finish) $ECHO \ "Usage: $progname [OPTION]... --mode=finish [LIBDIR]... Complete the installation of libtool libraries. Each LIBDIR is a directory that contains libtool libraries. The commands that this mode executes may require superuser privileges. Use the \`--dry-run' option if you just want to see what would be executed." ;; install) $ECHO \ "Usage: $progname [OPTION]... --mode=install INSTALL-COMMAND... Install executables or libraries. INSTALL-COMMAND is the installation command. The first component should be either the \`install' or \`cp' program. The following components of INSTALL-COMMAND are treated specially: -inst-prefix-dir PREFIX-DIR Use PREFIX-DIR as a staging area for installation The rest of the components are interpreted as arguments to that command (only BSD-compatible install options are recognized)." ;; link) $ECHO \ "Usage: $progname [OPTION]... --mode=link LINK-COMMAND... Link object files or libraries together to form another library, or to create an executable program. LINK-COMMAND is a command using the C compiler that you would use to create a program from several object files. The following components of LINK-COMMAND are treated specially: -all-static do not do any dynamic linking at all -avoid-version do not add a version suffix if possible -bindir BINDIR specify path to binaries directory (for systems where libraries must be found in the PATH setting at runtime) -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) -export-symbols SYMFILE try to export only the symbols listed in SYMFILE -export-symbols-regex REGEX try to export only the symbols matching REGEX -LLIBDIR search LIBDIR for required installed libraries -lNAME OUTPUT-FILE requires the installed library libNAME -module build a library that can dlopened -no-fast-install disable the fast-install mode -no-install link a not-installable executable -no-undefined declare that a library does not refer to external symbols -o OUTPUT-FILE create OUTPUT-FILE from the specified objects -objectlist FILE Use a list of object files found in FILE to specify objects -precious-files-regex REGEX don't remove output files matching REGEX -release RELEASE specify package release information -rpath LIBDIR the created library will eventually be installed in LIBDIR -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries -shared only do dynamic linking of libtool libraries -shrext SUFFIX override the standard shared library file extension -static do not do any dynamic linking of uninstalled libtool libraries -static-libtool-libs do not do any dynamic linking of libtool libraries -version-info CURRENT[:REVISION[:AGE]] specify library version info [each variable defaults to 0] -weak LIBNAME declare that the target provides the LIBNAME interface -Wc,FLAG -Xcompiler FLAG pass linker-specific FLAG directly to the compiler -Wl,FLAG -Xlinker FLAG pass linker-specific FLAG directly to the linker -XCClinker FLAG pass link-specific FLAG to the compiler driver (CC) All other options (arguments beginning with \`-') are ignored. Every other argument is treated as a filename. Files ending in \`.la' are treated as uninstalled libtool libraries, other files are standard or library object files. If the OUTPUT-FILE ends in \`.la', then a libtool library is created, only library objects (\`.lo' files) may be specified, and \`-rpath' is required, except when creating a convenience library. If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created using \`ar' and \`ranlib', or on Windows using \`lib'. If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file is created, otherwise an executable program is created." ;; uninstall) $ECHO \ "Usage: $progname [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE... Remove libraries from an installation directory. RM is the name of the program to use to delete files associated with each FILE (typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed to RM. If FILE is a libtool library, all the files associated with it are deleted. Otherwise, only FILE itself is deleted using RM." ;; *) func_fatal_help "invalid operation mode \`$opt_mode'" ;; esac echo $ECHO "Try \`$progname --help' for more information about other modes." } # Now that we've collected a possible --mode arg, show help if necessary if $opt_help; then if test "$opt_help" = :; then func_mode_help else { func_help noexit for opt_mode in compile link execute install finish uninstall clean; do func_mode_help done } | sed -n '1p; 2,$s/^Usage:/ or: /p' { func_help noexit for opt_mode in compile link execute install finish uninstall clean; do echo func_mode_help done } | sed '1d /^When reporting/,/^Report/{ H d } $x /information about other modes/d /more detailed .*MODE/d s/^Usage:.*--mode=\([^ ]*\) .*/Description of \1 mode:/' fi exit $? fi # func_mode_execute arg... func_mode_execute () { $opt_debug # The first argument is the command name. cmd="$nonopt" test -z "$cmd" && \ func_fatal_help "you must specify a COMMAND" # Handle -dlopen flags immediately. for file in $opt_dlopen; do test -f "$file" \ || func_fatal_help "\`$file' is not a file" dir= case $file in *.la) func_resolve_sysroot "$file" file=$func_resolve_sysroot_result # Check to see that this really is a libtool archive. func_lalib_unsafe_p "$file" \ || func_fatal_help "\`$lib' is not a valid libtool archive" # Read the libtool library. dlname= library_names= func_source "$file" # Skip this library if it cannot be dlopened. if test -z "$dlname"; then # Warn if it was a shared library. test -n "$library_names" && \ func_warning "\`$file' was not linked with \`-export-dynamic'" continue fi func_dirname "$file" "" "." dir="$func_dirname_result" if test -f "$dir/$objdir/$dlname"; then func_append dir "/$objdir" else if test ! -f "$dir/$dlname"; then func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" fi fi ;; *.lo) # Just add the directory containing the .lo file. func_dirname "$file" "" "." dir="$func_dirname_result" ;; *) func_warning "\`-dlopen' is ignored for non-libtool libraries and objects" continue ;; esac # Get the absolute pathname. absdir=`cd "$dir" && pwd` test -n "$absdir" && dir="$absdir" # Now add the directory to shlibpath_var. if eval "test -z \"\$$shlibpath_var\""; then eval "$shlibpath_var=\"\$dir\"" else eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\"" fi done # This variable tells wrapper scripts just to set shlibpath_var # rather than running their programs. libtool_execute_magic="$magic" # Check if any of the arguments is a wrapper script. args= for file do case $file in -* | *.la | *.lo ) ;; *) # Do a test to see if this is really a libtool program. if func_ltwrapper_script_p "$file"; then func_source "$file" # Transform arg to wrapped name. file="$progdir/$program" elif func_ltwrapper_executable_p "$file"; then func_ltwrapper_scriptname "$file" func_source "$func_ltwrapper_scriptname_result" # Transform arg to wrapped name. file="$progdir/$program" fi ;; esac # Quote arguments (to preserve shell metacharacters). func_append_quoted args "$file" done if test "X$opt_dry_run" = Xfalse; then if test -n "$shlibpath_var"; then # Export the shlibpath_var. eval "export $shlibpath_var" fi # Restore saved environment variables for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES do eval "if test \"\${save_$lt_var+set}\" = set; then $lt_var=\$save_$lt_var; export $lt_var else $lt_unset $lt_var fi" done # Now prepare to actually exec the command. exec_cmd="\$cmd$args" else # Display what would be done. if test -n "$shlibpath_var"; then eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\"" echo "export $shlibpath_var" fi $ECHO "$cmd$args" exit $EXIT_SUCCESS fi } test "$opt_mode" = execute && func_mode_execute ${1+"$@"} # func_mode_finish arg... func_mode_finish () { $opt_debug libs= libdirs= admincmds= for opt in "$nonopt" ${1+"$@"} do if test -d "$opt"; then func_append libdirs " $opt" elif test -f "$opt"; then if func_lalib_unsafe_p "$opt"; then func_append libs " $opt" else func_warning "\`$opt' is not a valid libtool archive" fi else func_fatal_error "invalid argument \`$opt'" fi done if test -n "$libs"; then if test -n "$lt_sysroot"; then sysroot_regex=`$ECHO "$lt_sysroot" | $SED "$sed_make_literal_regex"` sysroot_cmd="s/\([ ']\)$sysroot_regex/\1/g;" else sysroot_cmd= fi # Remove sysroot references if $opt_dry_run; then for lib in $libs; do echo "removing references to $lt_sysroot and \`=' prefixes from $lib" done else tmpdir=`func_mktempdir` for lib in $libs; do sed -e "${sysroot_cmd} s/\([ ']-[LR]\)=/\1/g; s/\([ ']\)=/\1/g" $lib \ > $tmpdir/tmp-la mv -f $tmpdir/tmp-la $lib done ${RM}r "$tmpdir" fi fi if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then for libdir in $libdirs; do if test -n "$finish_cmds"; then # Do each command in the finish commands. func_execute_cmds "$finish_cmds" 'admincmds="$admincmds '"$cmd"'"' fi if test -n "$finish_eval"; then # Do the single finish_eval. eval cmds=\"$finish_eval\" $opt_dry_run || eval "$cmds" || func_append admincmds " $cmds" fi done fi # Exit here if they wanted silent mode. $opt_silent && exit $EXIT_SUCCESS if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then echo "----------------------------------------------------------------------" echo "Libraries have been installed in:" for libdir in $libdirs; do $ECHO " $libdir" done echo echo "If you ever happen to want to link against installed libraries" echo "in a given directory, LIBDIR, you must either use libtool, and" echo "specify the full pathname of the library, or use the \`-LLIBDIR'" echo "flag during linking and do at least one of the following:" if test -n "$shlibpath_var"; then echo " - add LIBDIR to the \`$shlibpath_var' environment variable" echo " during execution" fi if test -n "$runpath_var"; then echo " - add LIBDIR to the \`$runpath_var' environment variable" echo " during linking" fi if test -n "$hardcode_libdir_flag_spec"; then libdir=LIBDIR eval flag=\"$hardcode_libdir_flag_spec\" $ECHO " - use the \`$flag' linker flag" fi if test -n "$admincmds"; then $ECHO " - have your system administrator run these commands:$admincmds" fi if test -f /etc/ld.so.conf; then echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" fi echo echo "See any operating system documentation about shared libraries for" case $host in solaris2.[6789]|solaris2.1[0-9]) echo "more information, such as the ld(1), crle(1) and ld.so(8) manual" echo "pages." ;; *) echo "more information, such as the ld(1) and ld.so(8) manual pages." ;; esac echo "----------------------------------------------------------------------" fi exit $EXIT_SUCCESS } test "$opt_mode" = finish && func_mode_finish ${1+"$@"} # func_mode_install arg... func_mode_install () { $opt_debug # There may be an optional sh(1) argument at the beginning of # install_prog (especially on Windows NT). if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh || # Allow the use of GNU shtool's install command. case $nonopt in *shtool*) :;; *) false;; esac; then # Aesthetically quote it. func_quote_for_eval "$nonopt" install_prog="$func_quote_for_eval_result " arg=$1 shift else install_prog= arg=$nonopt fi # The real first argument should be the name of the installation program. # Aesthetically quote it. func_quote_for_eval "$arg" func_append install_prog "$func_quote_for_eval_result" install_shared_prog=$install_prog case " $install_prog " in *[\\\ /]cp\ *) install_cp=: ;; *) install_cp=false ;; esac # We need to accept at least all the BSD install flags. dest= files= opts= prev= install_type= isdir=no stripme= no_mode=: for arg do arg2= if test -n "$dest"; then func_append files " $dest" dest=$arg continue fi case $arg in -d) isdir=yes ;; -f) if $install_cp; then :; else prev=$arg fi ;; -g | -m | -o) prev=$arg ;; -s) stripme=" -s" continue ;; -*) ;; *) # If the previous option needed an argument, then skip it. if test -n "$prev"; then if test "x$prev" = x-m && test -n "$install_override_mode"; then arg2=$install_override_mode no_mode=false fi prev= else dest=$arg continue fi ;; esac # Aesthetically quote the argument. func_quote_for_eval "$arg" func_append install_prog " $func_quote_for_eval_result" if test -n "$arg2"; then func_quote_for_eval "$arg2" fi func_append install_shared_prog " $func_quote_for_eval_result" done test -z "$install_prog" && \ func_fatal_help "you must specify an install program" test -n "$prev" && \ func_fatal_help "the \`$prev' option requires an argument" if test -n "$install_override_mode" && $no_mode; then if $install_cp; then :; else func_quote_for_eval "$install_override_mode" func_append install_shared_prog " -m $func_quote_for_eval_result" fi fi if test -z "$files"; then if test -z "$dest"; then func_fatal_help "no file or destination specified" else func_fatal_help "you must specify a destination" fi fi # Strip any trailing slash from the destination. func_stripname '' '/' "$dest" dest=$func_stripname_result # Check to see that the destination is a directory. test -d "$dest" && isdir=yes if test "$isdir" = yes; then destdir="$dest" destname= else func_dirname_and_basename "$dest" "" "." destdir="$func_dirname_result" destname="$func_basename_result" # Not a directory, so check to see that there is only one file specified. set dummy $files; shift test "$#" -gt 1 && \ func_fatal_help "\`$dest' is not a directory" fi case $destdir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) for file in $files; do case $file in *.lo) ;; *) func_fatal_help "\`$destdir' must be an absolute directory name" ;; esac done ;; esac # This variable tells wrapper scripts just to set variables rather # than running their programs. libtool_install_magic="$magic" staticlibs= future_libdirs= current_libdirs= for file in $files; do # Do each installation. case $file in *.$libext) # Do the static libraries later. func_append staticlibs " $file" ;; *.la) func_resolve_sysroot "$file" file=$func_resolve_sysroot_result # Check to see that this really is a libtool archive. func_lalib_unsafe_p "$file" \ || func_fatal_help "\`$file' is not a valid libtool archive" library_names= old_library= relink_command= func_source "$file" # Add the libdir to current_libdirs if it is the destination. if test "X$destdir" = "X$libdir"; then case "$current_libdirs " in *" $libdir "*) ;; *) func_append current_libdirs " $libdir" ;; esac else # Note the libdir as a future libdir. case "$future_libdirs " in *" $libdir "*) ;; *) func_append future_libdirs " $libdir" ;; esac fi func_dirname "$file" "/" "" dir="$func_dirname_result" func_append dir "$objdir" if test -n "$relink_command"; then # Determine the prefix the user has applied to our future dir. inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"` # Don't allow the user to place us outside of our expected # location b/c this prevents finding dependent libraries that # are installed to the same prefix. # At present, this check doesn't affect windows .dll's that # are installed into $libdir/../bin (currently, that works fine) # but it's something to keep an eye on. test "$inst_prefix_dir" = "$destdir" && \ func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir" if test -n "$inst_prefix_dir"; then # Stick the inst_prefix_dir data into the link command. relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` else relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"` fi func_warning "relinking \`$file'" func_show_eval "$relink_command" \ 'func_fatal_error "error: relink \`$file'\'' with the above command before installing it"' fi # See the names of the shared library. set dummy $library_names; shift if test -n "$1"; then realname="$1" shift srcname="$realname" test -n "$relink_command" && srcname="$realname"T # Install the shared library and build the symlinks. func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \ 'exit $?' tstripme="$stripme" case $host_os in cygwin* | mingw* | pw32* | cegcc*) case $realname in *.dll.a) tstripme="" ;; esac ;; esac if test -n "$tstripme" && test -n "$striplib"; then func_show_eval "$striplib $destdir/$realname" 'exit $?' fi if test "$#" -gt 0; then # Delete the old symlinks, and create new ones. # Try `ln -sf' first, because the `ln' binary might depend on # the symlink we replace! Solaris /bin/ln does not understand -f, # so we also need to try rm && ln -s. for linkname do test "$linkname" != "$realname" \ && func_show_eval "(cd $destdir && { $LN_S -f $realname $linkname || { $RM $linkname && $LN_S $realname $linkname; }; })" done fi # Do each command in the postinstall commands. lib="$destdir/$realname" func_execute_cmds "$postinstall_cmds" 'exit $?' fi # Install the pseudo-library for information purposes. func_basename "$file" name="$func_basename_result" instname="$dir/$name"i func_show_eval "$install_prog $instname $destdir/$name" 'exit $?' # Maybe install the static library, too. test -n "$old_library" && func_append staticlibs " $dir/$old_library" ;; *.lo) # Install (i.e. copy) a libtool object. # Figure out destination file name, if it wasn't already specified. if test -n "$destname"; then destfile="$destdir/$destname" else func_basename "$file" destfile="$func_basename_result" destfile="$destdir/$destfile" fi # Deduce the name of the destination old-style object file. case $destfile in *.lo) func_lo2o "$destfile" staticdest=$func_lo2o_result ;; *.$objext) staticdest="$destfile" destfile= ;; *) func_fatal_help "cannot copy a libtool object to \`$destfile'" ;; esac # Install the libtool object if requested. test -n "$destfile" && \ func_show_eval "$install_prog $file $destfile" 'exit $?' # Install the old object if enabled. if test "$build_old_libs" = yes; then # Deduce the name of the old-style object file. func_lo2o "$file" staticobj=$func_lo2o_result func_show_eval "$install_prog \$staticobj \$staticdest" 'exit $?' fi exit $EXIT_SUCCESS ;; *) # Figure out destination file name, if it wasn't already specified. if test -n "$destname"; then destfile="$destdir/$destname" else func_basename "$file" destfile="$func_basename_result" destfile="$destdir/$destfile" fi # If the file is missing, and there is a .exe on the end, strip it # because it is most likely a libtool script we actually want to # install stripped_ext="" case $file in *.exe) if test ! -f "$file"; then func_stripname '' '.exe' "$file" file=$func_stripname_result stripped_ext=".exe" fi ;; esac # Do a test to see if this is really a libtool program. case $host in *cygwin* | *mingw*) if func_ltwrapper_executable_p "$file"; then func_ltwrapper_scriptname "$file" wrapper=$func_ltwrapper_scriptname_result else func_stripname '' '.exe' "$file" wrapper=$func_stripname_result fi ;; *) wrapper=$file ;; esac if func_ltwrapper_script_p "$wrapper"; then notinst_deplibs= relink_command= func_source "$wrapper" # Check the variables that should have been set. test -z "$generated_by_libtool_version" && \ func_fatal_error "invalid libtool wrapper script \`$wrapper'" finalize=yes for lib in $notinst_deplibs; do # Check to see that each library is installed. libdir= if test -f "$lib"; then func_source "$lib" fi libfile="$libdir/"`$ECHO "$lib" | $SED 's%^.*/%%g'` ### testsuite: skip nested quoting test if test -n "$libdir" && test ! -f "$libfile"; then func_warning "\`$lib' has not been installed in \`$libdir'" finalize=no fi done relink_command= func_source "$wrapper" outputname= if test "$fast_install" = no && test -n "$relink_command"; then $opt_dry_run || { if test "$finalize" = yes; then tmpdir=`func_mktempdir` func_basename "$file$stripped_ext" file="$func_basename_result" outputname="$tmpdir/$file" # Replace the output file specification. relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'` $opt_silent || { func_quote_for_expand "$relink_command" eval "func_echo $func_quote_for_expand_result" } if eval "$relink_command"; then : else func_error "error: relink \`$file' with the above command before installing it" $opt_dry_run || ${RM}r "$tmpdir" continue fi file="$outputname" else func_warning "cannot relink \`$file'" fi } else # Install the binary that we compiled earlier. file=`$ECHO "$file$stripped_ext" | $SED "s%\([^/]*\)$%$objdir/\1%"` fi fi # remove .exe since cygwin /usr/bin/install will append another # one anyway case $install_prog,$host in */usr/bin/install*,*cygwin*) case $file:$destfile in *.exe:*.exe) # this is ok ;; *.exe:*) destfile=$destfile.exe ;; *:*.exe) func_stripname '' '.exe' "$destfile" destfile=$func_stripname_result ;; esac ;; esac func_show_eval "$install_prog\$stripme \$file \$destfile" 'exit $?' $opt_dry_run || if test -n "$outputname"; then ${RM}r "$tmpdir" fi ;; esac done for file in $staticlibs; do func_basename "$file" name="$func_basename_result" # Set up the ranlib parameters. oldlib="$destdir/$name" func_show_eval "$install_prog \$file \$oldlib" 'exit $?' if test -n "$stripme" && test -n "$old_striplib"; then func_show_eval "$old_striplib $oldlib" 'exit $?' fi # Do each command in the postinstall commands. func_execute_cmds "$old_postinstall_cmds" 'exit $?' done test -n "$future_libdirs" && \ func_warning "remember to run \`$progname --finish$future_libdirs'" if test -n "$current_libdirs"; then # Maybe just do a dry run. $opt_dry_run && current_libdirs=" -n$current_libdirs" exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs' else exit $EXIT_SUCCESS fi } test "$opt_mode" = install && func_mode_install ${1+"$@"} # func_generate_dlsyms outputname originator pic_p # Extract symbols from dlprefiles and create ${outputname}S.o with # a dlpreopen symbol table. func_generate_dlsyms () { $opt_debug my_outputname="$1" my_originator="$2" my_pic_p="${3-no}" my_prefix=`$ECHO "$my_originator" | sed 's%[^a-zA-Z0-9]%_%g'` my_dlsyms= if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then if test -n "$NM" && test -n "$global_symbol_pipe"; then my_dlsyms="${my_outputname}S.c" else func_error "not configured to extract global symbols from dlpreopened files" fi fi if test -n "$my_dlsyms"; then case $my_dlsyms in "") ;; *.c) # Discover the nlist of each of the dlfiles. nlist="$output_objdir/${my_outputname}.nm" func_show_eval "$RM $nlist ${nlist}S ${nlist}T" # Parse the name list into a source file. func_verbose "creating $output_objdir/$my_dlsyms" $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\ /* $my_dlsyms - symbol resolution table for \`$my_outputname' dlsym emulation. */ /* Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION */ #ifdef __cplusplus extern \"C\" { #endif #if defined(__GNUC__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4)) #pragma GCC diagnostic ignored \"-Wstrict-prototypes\" #endif /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) /* DATA imports from DLLs on WIN32 con't be const, because runtime relocations are performed -- see ld's documentation on pseudo-relocs. */ # define LT_DLSYM_CONST #elif defined(__osf__) /* This system does not cope well with relocations in const data. */ # define LT_DLSYM_CONST #else # define LT_DLSYM_CONST const #endif /* External symbol declarations for the compiler. */\ " if test "$dlself" = yes; then func_verbose "generating symbol list for \`$output'" $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist" # Add our own program objects to the symbol list. progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP` for progfile in $progfiles; do func_to_tool_file "$progfile" func_convert_file_msys_to_w32 func_verbose "extracting global C symbols from \`$func_to_tool_file_result'" $opt_dry_run || eval "$NM $func_to_tool_file_result | $global_symbol_pipe >> '$nlist'" done if test -n "$exclude_expsyms"; then $opt_dry_run || { eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T' eval '$MV "$nlist"T "$nlist"' } fi if test -n "$export_symbols_regex"; then $opt_dry_run || { eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T' eval '$MV "$nlist"T "$nlist"' } fi # Prepare the list of exported symbols if test -z "$export_symbols"; then export_symbols="$output_objdir/$outputname.exp" $opt_dry_run || { $RM $export_symbols eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' case $host in *cygwin* | *mingw* | *cegcc* ) eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"' ;; esac } else $opt_dry_run || { eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"' eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' eval '$MV "$nlist"T "$nlist"' case $host in *cygwin* | *mingw* | *cegcc* ) eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' ;; esac } fi fi for dlprefile in $dlprefiles; do func_verbose "extracting global C symbols from \`$dlprefile'" func_basename "$dlprefile" name="$func_basename_result" case $host in *cygwin* | *mingw* | *cegcc* ) # if an import library, we need to obtain dlname if func_win32_import_lib_p "$dlprefile"; then func_tr_sh "$dlprefile" eval "curr_lafile=\$libfile_$func_tr_sh_result" dlprefile_dlbasename="" if test -n "$curr_lafile" && func_lalib_p "$curr_lafile"; then # Use subshell, to avoid clobbering current variable values dlprefile_dlname=`source "$curr_lafile" && echo "$dlname"` if test -n "$dlprefile_dlname" ; then func_basename "$dlprefile_dlname" dlprefile_dlbasename="$func_basename_result" else # no lafile. user explicitly requested -dlpreopen . $sharedlib_from_linklib_cmd "$dlprefile" dlprefile_dlbasename=$sharedlib_from_linklib_result fi fi $opt_dry_run || { if test -n "$dlprefile_dlbasename" ; then eval '$ECHO ": $dlprefile_dlbasename" >> "$nlist"' else func_warning "Could not compute DLL name from $name" eval '$ECHO ": $name " >> "$nlist"' fi func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe | $SED -e '/I __imp/d' -e 's/I __nm_/D /;s/_nm__//' >> '$nlist'" } else # not an import lib $opt_dry_run || { eval '$ECHO ": $name " >> "$nlist"' func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'" } fi ;; *) $opt_dry_run || { eval '$ECHO ": $name " >> "$nlist"' func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'" } ;; esac done $opt_dry_run || { # Make sure we have at least an empty file. test -f "$nlist" || : > "$nlist" if test -n "$exclude_expsyms"; then $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T $MV "$nlist"T "$nlist" fi # Try sorting and uniquifying the output. if $GREP -v "^: " < "$nlist" | if sort -k 3 /dev/null 2>&1; then sort -k 3 else sort +2 fi | uniq > "$nlist"S; then : else $GREP -v "^: " < "$nlist" > "$nlist"S fi if test -f "$nlist"S; then eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"' else echo '/* NONE */' >> "$output_objdir/$my_dlsyms" fi echo >> "$output_objdir/$my_dlsyms" "\ /* The mapping between symbol names and symbols. */ typedef struct { const char *name; void *address; } lt_dlsymlist; extern LT_DLSYM_CONST lt_dlsymlist lt_${my_prefix}_LTX_preloaded_symbols[]; LT_DLSYM_CONST lt_dlsymlist lt_${my_prefix}_LTX_preloaded_symbols[] = {\ { \"$my_originator\", (void *) 0 }," case $need_lib_prefix in no) eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$my_dlsyms" ;; *) eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms" ;; esac echo >> "$output_objdir/$my_dlsyms" "\ {0, (void *) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt_${my_prefix}_LTX_preloaded_symbols; } #endif #ifdef __cplusplus } #endif\ " } # !$opt_dry_run pic_flag_for_symtable= case "$compile_command " in *" -static "*) ;; *) case $host in # compiling the symbol table file with pic_flag works around # a FreeBSD bug that causes programs to crash when -lm is # linked before any other PIC object. But we must not use # pic_flag when linking with -static. The problem exists in # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;; *-*-hpux*) pic_flag_for_symtable=" $pic_flag" ;; *) if test "X$my_pic_p" != Xno; then pic_flag_for_symtable=" $pic_flag" fi ;; esac ;; esac symtab_cflags= for arg in $LTCFLAGS; do case $arg in -pie | -fpie | -fPIE) ;; *) func_append symtab_cflags " $arg" ;; esac done # Now compile the dynamic symbol file. func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?' # Clean up the generated files. func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T"' # Transform the symbol file into the correct name. symfileobj="$output_objdir/${my_outputname}S.$objext" case $host in *cygwin* | *mingw* | *cegcc* ) if test -f "$output_objdir/$my_outputname.def"; then compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` else compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"` fi ;; *) compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"` ;; esac ;; *) func_fatal_error "unknown suffix for \`$my_dlsyms'" ;; esac else # We keep going just in case the user didn't refer to # lt_preloaded_symbols. The linker will fail if global_symbol_pipe # really was required. # Nullify the symbol file. compile_command=`$ECHO "$compile_command" | $SED "s% @SYMFILE@%%"` finalize_command=`$ECHO "$finalize_command" | $SED "s% @SYMFILE@%%"` fi } # func_win32_libid arg # return the library type of file 'arg' # # Need a lot of goo to handle *both* DLLs and import libs # Has to be a shell function in order to 'eat' the argument # that is supplied when $file_magic_command is called. # Despite the name, also deal with 64 bit binaries. func_win32_libid () { $opt_debug win32_libid_type="unknown" win32_fileres=`file -L $1 2>/dev/null` case $win32_fileres in *ar\ archive\ import\ library*) # definitely import win32_libid_type="x86 archive import" ;; *ar\ archive*) # could be an import, or static # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD. if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then func_to_tool_file "$1" func_convert_file_msys_to_w32 win32_nmres=`eval $NM -f posix -A \"$func_to_tool_file_result\" | $SED -n -e ' 1,100{ / I /{ s,.*,import, p q } }'` case $win32_nmres in import*) win32_libid_type="x86 archive import";; *) win32_libid_type="x86 archive static";; esac fi ;; *DLL*) win32_libid_type="x86 DLL" ;; *executable*) # but shell scripts are "executable" too... case $win32_fileres in *MS\ Windows\ PE\ Intel*) win32_libid_type="x86 DLL" ;; esac ;; esac $ECHO "$win32_libid_type" } # func_cygming_dll_for_implib ARG # # Platform-specific function to extract the # name of the DLL associated with the specified # import library ARG. # Invoked by eval'ing the libtool variable # $sharedlib_from_linklib_cmd # Result is available in the variable # $sharedlib_from_linklib_result func_cygming_dll_for_implib () { $opt_debug sharedlib_from_linklib_result=`$DLLTOOL --identify-strict --identify "$1"` } # func_cygming_dll_for_implib_fallback_core SECTION_NAME LIBNAMEs # # The is the core of a fallback implementation of a # platform-specific function to extract the name of the # DLL associated with the specified import library LIBNAME. # # SECTION_NAME is either .idata$6 or .idata$7, depending # on the platform and compiler that created the implib. # # Echos the name of the DLL associated with the # specified import library. func_cygming_dll_for_implib_fallback_core () { $opt_debug match_literal=`$ECHO "$1" | $SED "$sed_make_literal_regex"` $OBJDUMP -s --section "$1" "$2" 2>/dev/null | $SED '/^Contents of section '"$match_literal"':/{ # Place marker at beginning of archive member dllname section s/.*/====MARK====/ p d } # These lines can sometimes be longer than 43 characters, but # are always uninteresting /:[ ]*file format pe[i]\{,1\}-/d /^In archive [^:]*:/d # Ensure marker is printed /^====MARK====/p # Remove all lines with less than 43 characters /^.\{43\}/!d # From remaining lines, remove first 43 characters s/^.\{43\}//' | $SED -n ' # Join marker and all lines until next marker into a single line /^====MARK====/ b para H $ b para b :para x s/\n//g # Remove the marker s/^====MARK====// # Remove trailing dots and whitespace s/[\. \t]*$// # Print /./p' | # we now have a list, one entry per line, of the stringified # contents of the appropriate section of all members of the # archive which possess that section. Heuristic: eliminate # all those which have a first or second character that is # a '.' (that is, objdump's representation of an unprintable # character.) This should work for all archives with less than # 0x302f exports -- but will fail for DLLs whose name actually # begins with a literal '.' or a single character followed by # a '.'. # # Of those that remain, print the first one. $SED -e '/^\./d;/^.\./d;q' } # func_cygming_gnu_implib_p ARG # This predicate returns with zero status (TRUE) if # ARG is a GNU/binutils-style import library. Returns # with nonzero status (FALSE) otherwise. func_cygming_gnu_implib_p () { $opt_debug func_to_tool_file "$1" func_convert_file_msys_to_w32 func_cygming_gnu_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $EGREP ' (_head_[A-Za-z0-9_]+_[ad]l*|[A-Za-z0-9_]+_[ad]l*_iname)$'` test -n "$func_cygming_gnu_implib_tmp" } # func_cygming_ms_implib_p ARG # This predicate returns with zero status (TRUE) if # ARG is an MS-style import library. Returns # with nonzero status (FALSE) otherwise. func_cygming_ms_implib_p () { $opt_debug func_to_tool_file "$1" func_convert_file_msys_to_w32 func_cygming_ms_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $GREP '_NULL_IMPORT_DESCRIPTOR'` test -n "$func_cygming_ms_implib_tmp" } # func_cygming_dll_for_implib_fallback ARG # Platform-specific function to extract the # name of the DLL associated with the specified # import library ARG. # # This fallback implementation is for use when $DLLTOOL # does not support the --identify-strict option. # Invoked by eval'ing the libtool variable # $sharedlib_from_linklib_cmd # Result is available in the variable # $sharedlib_from_linklib_result func_cygming_dll_for_implib_fallback () { $opt_debug if func_cygming_gnu_implib_p "$1" ; then # binutils import library sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$7' "$1"` elif func_cygming_ms_implib_p "$1" ; then # ms-generated import library sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$6' "$1"` else # unknown sharedlib_from_linklib_result="" fi } # func_extract_an_archive dir oldlib func_extract_an_archive () { $opt_debug f_ex_an_ar_dir="$1"; shift f_ex_an_ar_oldlib="$1" if test "$lock_old_archive_extraction" = yes; then lockfile=$f_ex_an_ar_oldlib.lock until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do func_echo "Waiting for $lockfile to be removed" sleep 2 done fi func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" \ 'stat=$?; rm -f "$lockfile"; exit $stat' if test "$lock_old_archive_extraction" = yes; then $opt_dry_run || rm -f "$lockfile" fi if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then : else func_fatal_error "object name conflicts in archive: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" fi } # func_extract_archives gentop oldlib ... func_extract_archives () { $opt_debug my_gentop="$1"; shift my_oldlibs=${1+"$@"} my_oldobjs="" my_xlib="" my_xabs="" my_xdir="" for my_xlib in $my_oldlibs; do # Extract the objects. case $my_xlib in [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;; *) my_xabs=`pwd`"/$my_xlib" ;; esac func_basename "$my_xlib" my_xlib="$func_basename_result" my_xlib_u=$my_xlib while :; do case " $extracted_archives " in *" $my_xlib_u "*) func_arith $extracted_serial + 1 extracted_serial=$func_arith_result my_xlib_u=lt$extracted_serial-$my_xlib ;; *) break ;; esac done extracted_archives="$extracted_archives $my_xlib_u" my_xdir="$my_gentop/$my_xlib_u" func_mkdir_p "$my_xdir" case $host in *-darwin*) func_verbose "Extracting $my_xabs" # Do not bother doing anything if just a dry run $opt_dry_run || { darwin_orig_dir=`pwd` cd $my_xdir || exit $? darwin_archive=$my_xabs darwin_curdir=`pwd` darwin_base_archive=`basename "$darwin_archive"` darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true` if test -n "$darwin_arches"; then darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'` darwin_arch= func_verbose "$darwin_base_archive has multiple architectures $darwin_arches" for darwin_arch in $darwin_arches ; do func_mkdir_p "unfat-$$/${darwin_base_archive}-${darwin_arch}" $LIPO -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}" cd "unfat-$$/${darwin_base_archive}-${darwin_arch}" func_extract_an_archive "`pwd`" "${darwin_base_archive}" cd "$darwin_curdir" $RM "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" done # $darwin_arches ## Okay now we've a bunch of thin objects, gotta fatten them up :) darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$basename" | sort -u` darwin_file= darwin_files= for darwin_file in $darwin_filelist; do darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP` $LIPO -create -output "$darwin_file" $darwin_files done # $darwin_filelist $RM -rf unfat-$$ cd "$darwin_orig_dir" else cd $darwin_orig_dir func_extract_an_archive "$my_xdir" "$my_xabs" fi # $darwin_arches } # !$opt_dry_run ;; *) func_extract_an_archive "$my_xdir" "$my_xabs" ;; esac my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP` done func_extract_archives_result="$my_oldobjs" } # func_emit_wrapper [arg=no] # # Emit a libtool wrapper script on stdout. # Don't directly open a file because we may want to # incorporate the script contents within a cygwin/mingw # wrapper executable. Must ONLY be called from within # func_mode_link because it depends on a number of variables # set therein. # # ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR # variable will take. If 'yes', then the emitted script # will assume that the directory in which it is stored is # the $objdir directory. This is a cygwin/mingw-specific # behavior. func_emit_wrapper () { func_emit_wrapper_arg1=${1-no} $ECHO "\ #! $SHELL # $output - temporary wrapper script for $objdir/$outputname # Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION # # The $output program cannot be directly executed until all the libtool # libraries that it depends on are installed. # # This wrapper script should never be moved out of the build directory. # If it is, it will not operate correctly. # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. sed_quote_subst='$sed_quote_subst' # Be Bourne compatible if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST else case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac fi BIN_SH=xpg4; export BIN_SH # for Tru64 DUALCASE=1; export DUALCASE # for MKS sh # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH relink_command=\"$relink_command\" # This environment variable determines our operation mode. if test \"\$libtool_install_magic\" = \"$magic\"; then # install mode needs the following variables: generated_by_libtool_version='$macro_version' notinst_deplibs='$notinst_deplibs' else # When we are sourced in execute mode, \$file and \$ECHO are already set. if test \"\$libtool_execute_magic\" != \"$magic\"; then file=\"\$0\"" qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"` $ECHO "\ # A function that is used when there is no print builtin or printf. func_fallback_echo () { eval 'cat <<_LTECHO_EOF \$1 _LTECHO_EOF' } ECHO=\"$qECHO\" fi # Very basic option parsing. These options are (a) specific to # the libtool wrapper, (b) are identical between the wrapper # /script/ and the wrapper /executable/ which is used only on # windows platforms, and (c) all begin with the string "--lt-" # (application programs are unlikely to have options which match # this pattern). # # There are only two supported options: --lt-debug and # --lt-dump-script. There is, deliberately, no --lt-help. # # The first argument to this parsing function should be the # script's $0 value, followed by "$@". lt_option_debug= func_parse_lt_options () { lt_script_arg0=\$0 shift for lt_opt do case \"\$lt_opt\" in --lt-debug) lt_option_debug=1 ;; --lt-dump-script) lt_dump_D=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%/[^/]*$%%'\` test \"X\$lt_dump_D\" = \"X\$lt_script_arg0\" && lt_dump_D=. lt_dump_F=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%^.*/%%'\` cat \"\$lt_dump_D/\$lt_dump_F\" exit 0 ;; --lt-*) \$ECHO \"Unrecognized --lt- option: '\$lt_opt'\" 1>&2 exit 1 ;; esac done # Print the debug banner immediately: if test -n \"\$lt_option_debug\"; then echo \"${outputname}:${output}:\${LINENO}: libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\" 1>&2 fi } # Used when --lt-debug. Prints its arguments to stdout # (redirection is the responsibility of the caller) func_lt_dump_args () { lt_dump_args_N=1; for lt_arg do \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[\$lt_dump_args_N]: \$lt_arg\" lt_dump_args_N=\`expr \$lt_dump_args_N + 1\` done } # Core function for launching the target application func_exec_program_core () { " case $host in # Backslashes separate directories on plain windows *-*-mingw | *-*-os2* | *-cegcc*) $ECHO "\ if test -n \"\$lt_option_debug\"; then \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir\\\\\$program\" 1>&2 func_lt_dump_args \${1+\"\$@\"} 1>&2 fi exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} " ;; *) $ECHO "\ if test -n \"\$lt_option_debug\"; then \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir/\$program\" 1>&2 func_lt_dump_args \${1+\"\$@\"} 1>&2 fi exec \"\$progdir/\$program\" \${1+\"\$@\"} " ;; esac $ECHO "\ \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2 exit 1 } # A function to encapsulate launching the target application # Strips options in the --lt-* namespace from \$@ and # launches target application with the remaining arguments. func_exec_program () { for lt_wr_arg do case \$lt_wr_arg in --lt-*) ;; *) set x \"\$@\" \"\$lt_wr_arg\"; shift;; esac shift done func_exec_program_core \${1+\"\$@\"} } # Parse options func_parse_lt_options \"\$0\" \${1+\"\$@\"} # Find the directory that this script lives in. thisdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*$%%'\` test \"x\$thisdir\" = \"x\$file\" && thisdir=. # Follow symbolic links until we get to the real thisdir. file=\`ls -ld \"\$file\" | $SED -n 's/.*-> //p'\` while test -n \"\$file\"; do destdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*\$%%'\` # If there was a directory component, then change thisdir. if test \"x\$destdir\" != \"x\$file\"; then case \"\$destdir\" in [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; *) thisdir=\"\$thisdir/\$destdir\" ;; esac fi file=\`\$ECHO \"\$file\" | $SED 's%^.*/%%'\` file=\`ls -ld \"\$thisdir/\$file\" | $SED -n 's/.*-> //p'\` done # Usually 'no', except on cygwin/mingw when embedded into # the cwrapper. WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1 if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then # special case for '.' if test \"\$thisdir\" = \".\"; then thisdir=\`pwd\` fi # remove .libs from thisdir case \"\$thisdir\" in *[\\\\/]$objdir ) thisdir=\`\$ECHO \"\$thisdir\" | $SED 's%[\\\\/][^\\\\/]*$%%'\` ;; $objdir ) thisdir=. ;; esac fi # Try to get the absolute directory name. absdir=\`cd \"\$thisdir\" && pwd\` test -n \"\$absdir\" && thisdir=\"\$absdir\" " if test "$fast_install" = yes; then $ECHO "\ program=lt-'$outputname'$exeext progdir=\"\$thisdir/$objdir\" if test ! -f \"\$progdir/\$program\" || { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\ test \"X\$file\" != \"X\$progdir/\$program\"; }; then file=\"\$\$-\$program\" if test ! -d \"\$progdir\"; then $MKDIR \"\$progdir\" else $RM \"\$progdir/\$file\" fi" $ECHO "\ # relink executable if necessary if test -n \"\$relink_command\"; then if relink_command_output=\`eval \$relink_command 2>&1\`; then : else $ECHO \"\$relink_command_output\" >&2 $RM \"\$progdir/\$file\" exit 1 fi fi $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || { $RM \"\$progdir/\$program\"; $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; } $RM \"\$progdir/\$file\" fi" else $ECHO "\ program='$outputname' progdir=\"\$thisdir/$objdir\" " fi $ECHO "\ if test -f \"\$progdir/\$program\"; then" # fixup the dll searchpath if we need to. # # Fix the DLL searchpath if we need to. Do this before prepending # to shlibpath, because on Windows, both are PATH and uninstalled # libraries must come first. if test -n "$dllsearchpath"; then $ECHO "\ # Add the dll search path components to the executable PATH PATH=$dllsearchpath:\$PATH " fi # Export our shlibpath_var if we have one. if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then $ECHO "\ # Add our own library path to $shlibpath_var $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" # Some systems cannot cope with colon-terminated $shlibpath_var # The second colon is a workaround for a bug in BeOS R4 sed $shlibpath_var=\`\$ECHO \"\$$shlibpath_var\" | $SED 's/::*\$//'\` export $shlibpath_var " fi $ECHO "\ if test \"\$libtool_execute_magic\" != \"$magic\"; then # Run the actual program with our arguments. func_exec_program \${1+\"\$@\"} fi else # The program doesn't exist. \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2 \$ECHO \"This script is just a wrapper for \$program.\" 1>&2 \$ECHO \"See the $PACKAGE documentation for more information.\" 1>&2 exit 1 fi fi\ " } # func_emit_cwrapperexe_src # emit the source code for a wrapper executable on stdout # Must ONLY be called from within func_mode_link because # it depends on a number of variable set therein. func_emit_cwrapperexe_src () { cat < #include #ifdef _MSC_VER # include # include # include #else # include # include # ifdef __CYGWIN__ # include # endif #endif #include #include #include #include #include #include #include #include /* declarations of non-ANSI functions */ #if defined(__MINGW32__) # ifdef __STRICT_ANSI__ int _putenv (const char *); # endif #elif defined(__CYGWIN__) # ifdef __STRICT_ANSI__ char *realpath (const char *, char *); int putenv (char *); int setenv (const char *, const char *, int); # endif /* #elif defined (other platforms) ... */ #endif /* portability defines, excluding path handling macros */ #if defined(_MSC_VER) # define setmode _setmode # define stat _stat # define chmod _chmod # define getcwd _getcwd # define putenv _putenv # define S_IXUSR _S_IEXEC # ifndef _INTPTR_T_DEFINED # define _INTPTR_T_DEFINED # define intptr_t int # endif #elif defined(__MINGW32__) # define setmode _setmode # define stat _stat # define chmod _chmod # define getcwd _getcwd # define putenv _putenv #elif defined(__CYGWIN__) # define HAVE_SETENV # define FOPEN_WB "wb" /* #elif defined (other platforms) ... */ #endif #if defined(PATH_MAX) # define LT_PATHMAX PATH_MAX #elif defined(MAXPATHLEN) # define LT_PATHMAX MAXPATHLEN #else # define LT_PATHMAX 1024 #endif #ifndef S_IXOTH # define S_IXOTH 0 #endif #ifndef S_IXGRP # define S_IXGRP 0 #endif /* path handling portability macros */ #ifndef DIR_SEPARATOR # define DIR_SEPARATOR '/' # define PATH_SEPARATOR ':' #endif #if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \ defined (__OS2__) # define HAVE_DOS_BASED_FILE_SYSTEM # define FOPEN_WB "wb" # ifndef DIR_SEPARATOR_2 # define DIR_SEPARATOR_2 '\\' # endif # ifndef PATH_SEPARATOR_2 # define PATH_SEPARATOR_2 ';' # endif #endif #ifndef DIR_SEPARATOR_2 # define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) #else /* DIR_SEPARATOR_2 */ # define IS_DIR_SEPARATOR(ch) \ (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) #endif /* DIR_SEPARATOR_2 */ #ifndef PATH_SEPARATOR_2 # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR) #else /* PATH_SEPARATOR_2 */ # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2) #endif /* PATH_SEPARATOR_2 */ #ifndef FOPEN_WB # define FOPEN_WB "w" #endif #ifndef _O_BINARY # define _O_BINARY 0 #endif #define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type))) #define XFREE(stale) do { \ if (stale) { free ((void *) stale); stale = 0; } \ } while (0) #if defined(LT_DEBUGWRAPPER) static int lt_debug = 1; #else static int lt_debug = 0; #endif const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */ void *xmalloc (size_t num); char *xstrdup (const char *string); const char *base_name (const char *name); char *find_executable (const char *wrapper); char *chase_symlinks (const char *pathspec); int make_executable (const char *path); int check_executable (const char *path); char *strendzap (char *str, const char *pat); void lt_debugprintf (const char *file, int line, const char *fmt, ...); void lt_fatal (const char *file, int line, const char *message, ...); static const char *nonnull (const char *s); static const char *nonempty (const char *s); void lt_setenv (const char *name, const char *value); char *lt_extend_str (const char *orig_value, const char *add, int to_end); void lt_update_exe_path (const char *name, const char *value); void lt_update_lib_path (const char *name, const char *value); char **prepare_spawn (char **argv); void lt_dump_script (FILE *f); EOF cat <= 0) && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH))) return 1; else return 0; } int make_executable (const char *path) { int rval = 0; struct stat st; lt_debugprintf (__FILE__, __LINE__, "(make_executable): %s\n", nonempty (path)); if ((!path) || (!*path)) return 0; if (stat (path, &st) >= 0) { rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR); } return rval; } /* Searches for the full path of the wrapper. Returns newly allocated full path name if found, NULL otherwise Does not chase symlinks, even on platforms that support them. */ char * find_executable (const char *wrapper) { int has_slash = 0; const char *p; const char *p_next; /* static buffer for getcwd */ char tmp[LT_PATHMAX + 1]; int tmp_len; char *concat_name; lt_debugprintf (__FILE__, __LINE__, "(find_executable): %s\n", nonempty (wrapper)); if ((wrapper == NULL) || (*wrapper == '\0')) return NULL; /* Absolute path? */ #if defined (HAVE_DOS_BASED_FILE_SYSTEM) if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':') { concat_name = xstrdup (wrapper); if (check_executable (concat_name)) return concat_name; XFREE (concat_name); } else { #endif if (IS_DIR_SEPARATOR (wrapper[0])) { concat_name = xstrdup (wrapper); if (check_executable (concat_name)) return concat_name; XFREE (concat_name); } #if defined (HAVE_DOS_BASED_FILE_SYSTEM) } #endif for (p = wrapper; *p; p++) if (*p == '/') { has_slash = 1; break; } if (!has_slash) { /* no slashes; search PATH */ const char *path = getenv ("PATH"); if (path != NULL) { for (p = path; *p; p = p_next) { const char *q; size_t p_len; for (q = p; *q; q++) if (IS_PATH_SEPARATOR (*q)) break; p_len = q - p; p_next = (*q == '\0' ? q : q + 1); if (p_len == 0) { /* empty path: current directory */ if (getcwd (tmp, LT_PATHMAX) == NULL) lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", nonnull (strerror (errno))); tmp_len = strlen (tmp); concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); memcpy (concat_name, tmp, tmp_len); concat_name[tmp_len] = '/'; strcpy (concat_name + tmp_len + 1, wrapper); } else { concat_name = XMALLOC (char, p_len + 1 + strlen (wrapper) + 1); memcpy (concat_name, p, p_len); concat_name[p_len] = '/'; strcpy (concat_name + p_len + 1, wrapper); } if (check_executable (concat_name)) return concat_name; XFREE (concat_name); } } /* not found in PATH; assume curdir */ } /* Relative path | not found in path: prepend cwd */ if (getcwd (tmp, LT_PATHMAX) == NULL) lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", nonnull (strerror (errno))); tmp_len = strlen (tmp); concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); memcpy (concat_name, tmp, tmp_len); concat_name[tmp_len] = '/'; strcpy (concat_name + tmp_len + 1, wrapper); if (check_executable (concat_name)) return concat_name; XFREE (concat_name); return NULL; } char * chase_symlinks (const char *pathspec) { #ifndef S_ISLNK return xstrdup (pathspec); #else char buf[LT_PATHMAX]; struct stat s; char *tmp_pathspec = xstrdup (pathspec); char *p; int has_symlinks = 0; while (strlen (tmp_pathspec) && !has_symlinks) { lt_debugprintf (__FILE__, __LINE__, "checking path component for symlinks: %s\n", tmp_pathspec); if (lstat (tmp_pathspec, &s) == 0) { if (S_ISLNK (s.st_mode) != 0) { has_symlinks = 1; break; } /* search backwards for last DIR_SEPARATOR */ p = tmp_pathspec + strlen (tmp_pathspec) - 1; while ((p > tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) p--; if ((p == tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) { /* no more DIR_SEPARATORS left */ break; } *p = '\0'; } else { lt_fatal (__FILE__, __LINE__, "error accessing file \"%s\": %s", tmp_pathspec, nonnull (strerror (errno))); } } XFREE (tmp_pathspec); if (!has_symlinks) { return xstrdup (pathspec); } tmp_pathspec = realpath (pathspec, buf); if (tmp_pathspec == 0) { lt_fatal (__FILE__, __LINE__, "could not follow symlinks for %s", pathspec); } return xstrdup (tmp_pathspec); #endif } char * strendzap (char *str, const char *pat) { size_t len, patlen; assert (str != NULL); assert (pat != NULL); len = strlen (str); patlen = strlen (pat); if (patlen <= len) { str += len - patlen; if (strcmp (str, pat) == 0) *str = '\0'; } return str; } void lt_debugprintf (const char *file, int line, const char *fmt, ...) { va_list args; if (lt_debug) { (void) fprintf (stderr, "%s:%s:%d: ", program_name, file, line); va_start (args, fmt); (void) vfprintf (stderr, fmt, args); va_end (args); } } static void lt_error_core (int exit_status, const char *file, int line, const char *mode, const char *message, va_list ap) { fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode); vfprintf (stderr, message, ap); fprintf (stderr, ".\n"); if (exit_status >= 0) exit (exit_status); } void lt_fatal (const char *file, int line, const char *message, ...) { va_list ap; va_start (ap, message); lt_error_core (EXIT_FAILURE, file, line, "FATAL", message, ap); va_end (ap); } static const char * nonnull (const char *s) { return s ? s : "(null)"; } static const char * nonempty (const char *s) { return (s && !*s) ? "(empty)" : nonnull (s); } void lt_setenv (const char *name, const char *value) { lt_debugprintf (__FILE__, __LINE__, "(lt_setenv) setting '%s' to '%s'\n", nonnull (name), nonnull (value)); { #ifdef HAVE_SETENV /* always make a copy, for consistency with !HAVE_SETENV */ char *str = xstrdup (value); setenv (name, str, 1); #else int len = strlen (name) + 1 + strlen (value) + 1; char *str = XMALLOC (char, len); sprintf (str, "%s=%s", name, value); if (putenv (str) != EXIT_SUCCESS) { XFREE (str); } #endif } } char * lt_extend_str (const char *orig_value, const char *add, int to_end) { char *new_value; if (orig_value && *orig_value) { int orig_value_len = strlen (orig_value); int add_len = strlen (add); new_value = XMALLOC (char, add_len + orig_value_len + 1); if (to_end) { strcpy (new_value, orig_value); strcpy (new_value + orig_value_len, add); } else { strcpy (new_value, add); strcpy (new_value + add_len, orig_value); } } else { new_value = xstrdup (add); } return new_value; } void lt_update_exe_path (const char *name, const char *value) { lt_debugprintf (__FILE__, __LINE__, "(lt_update_exe_path) modifying '%s' by prepending '%s'\n", nonnull (name), nonnull (value)); if (name && *name && value && *value) { char *new_value = lt_extend_str (getenv (name), value, 0); /* some systems can't cope with a ':'-terminated path #' */ int len = strlen (new_value); while (((len = strlen (new_value)) > 0) && IS_PATH_SEPARATOR (new_value[len-1])) { new_value[len-1] = '\0'; } lt_setenv (name, new_value); XFREE (new_value); } } void lt_update_lib_path (const char *name, const char *value) { lt_debugprintf (__FILE__, __LINE__, "(lt_update_lib_path) modifying '%s' by prepending '%s'\n", nonnull (name), nonnull (value)); if (name && *name && value && *value) { char *new_value = lt_extend_str (getenv (name), value, 0); lt_setenv (name, new_value); XFREE (new_value); } } EOF case $host_os in mingw*) cat <<"EOF" /* Prepares an argument vector before calling spawn(). Note that spawn() does not by itself call the command interpreter (getenv ("COMSPEC") != NULL ? getenv ("COMSPEC") : ({ OSVERSIONINFO v; v.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); GetVersionEx(&v); v.dwPlatformId == VER_PLATFORM_WIN32_NT; }) ? "cmd.exe" : "command.com"). Instead it simply concatenates the arguments, separated by ' ', and calls CreateProcess(). We must quote the arguments since Win32 CreateProcess() interprets characters like ' ', '\t', '\\', '"' (but not '<' and '>') in a special way: - Space and tab are interpreted as delimiters. They are not treated as delimiters if they are surrounded by double quotes: "...". - Unescaped double quotes are removed from the input. Their only effect is that within double quotes, space and tab are treated like normal characters. - Backslashes not followed by double quotes are not special. - But 2*n+1 backslashes followed by a double quote become n backslashes followed by a double quote (n >= 0): \" -> " \\\" -> \" \\\\\" -> \\" */ #define SHELL_SPECIAL_CHARS "\"\\ \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037" #define SHELL_SPACE_CHARS " \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037" char ** prepare_spawn (char **argv) { size_t argc; char **new_argv; size_t i; /* Count number of arguments. */ for (argc = 0; argv[argc] != NULL; argc++) ; /* Allocate new argument vector. */ new_argv = XMALLOC (char *, argc + 1); /* Put quoted arguments into the new argument vector. */ for (i = 0; i < argc; i++) { const char *string = argv[i]; if (string[0] == '\0') new_argv[i] = xstrdup ("\"\""); else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL) { int quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL); size_t length; unsigned int backslashes; const char *s; char *quoted_string; char *p; length = 0; backslashes = 0; if (quote_around) length++; for (s = string; *s != '\0'; s++) { char c = *s; if (c == '"') length += backslashes + 1; length++; if (c == '\\') backslashes++; else backslashes = 0; } if (quote_around) length += backslashes + 1; quoted_string = XMALLOC (char, length + 1); p = quoted_string; backslashes = 0; if (quote_around) *p++ = '"'; for (s = string; *s != '\0'; s++) { char c = *s; if (c == '"') { unsigned int j; for (j = backslashes + 1; j > 0; j--) *p++ = '\\'; } *p++ = c; if (c == '\\') backslashes++; else backslashes = 0; } if (quote_around) { unsigned int j; for (j = backslashes; j > 0; j--) *p++ = '\\'; *p++ = '"'; } *p = '\0'; new_argv[i] = quoted_string; } else new_argv[i] = (char *) string; } new_argv[argc] = NULL; return new_argv; } EOF ;; esac cat <<"EOF" void lt_dump_script (FILE* f) { EOF func_emit_wrapper yes | $SED -e 's/\([\\"]\)/\\\1/g' \ -e 's/^/ fputs ("/' -e 's/$/\\n", f);/' cat <<"EOF" } EOF } # end: func_emit_cwrapperexe_src # func_win32_import_lib_p ARG # True if ARG is an import lib, as indicated by $file_magic_cmd func_win32_import_lib_p () { $opt_debug case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in *import*) : ;; *) false ;; esac } # func_mode_link arg... func_mode_link () { $opt_debug case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) # It is impossible to link a dll without this setting, and # we shouldn't force the makefile maintainer to figure out # which system we are compiling for in order to pass an extra # flag for every libtool invocation. # allow_undefined=no # FIXME: Unfortunately, there are problems with the above when trying # to make a dll which has undefined symbols, in which case not # even a static library is built. For now, we need to specify # -no-undefined on the libtool link line when we can be certain # that all symbols are satisfied, otherwise we get a static library. allow_undefined=yes ;; *) allow_undefined=yes ;; esac libtool_args=$nonopt base_compile="$nonopt $@" compile_command=$nonopt finalize_command=$nonopt compile_rpath= finalize_rpath= compile_shlibpath= finalize_shlibpath= convenience= old_convenience= deplibs= old_deplibs= compiler_flags= linker_flags= dllsearchpath= lib_search_path=`pwd` inst_prefix_dir= new_inherited_linker_flags= avoid_version=no bindir= dlfiles= dlprefiles= dlself=no export_dynamic=no export_symbols= export_symbols_regex= generated= libobjs= ltlibs= module=no no_install=no objs= non_pic_objects= precious_files_regex= prefer_static_libs=no preload=no prev= prevarg= release= rpath= xrpath= perm_rpath= temp_rpath= thread_safe=no vinfo= vinfo_number=no weak_libs= single_module="${wl}-single_module" func_infer_tag $base_compile # We need to know -static, to get the right output filenames. for arg do case $arg in -shared) test "$build_libtool_libs" != yes && \ func_fatal_configuration "can not build a shared library" build_old_libs=no break ;; -all-static | -static | -static-libtool-libs) case $arg in -all-static) if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then func_warning "complete static linking is impossible in this configuration" fi if test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=yes ;; -static) if test -z "$pic_flag" && test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=built ;; -static-libtool-libs) if test -z "$pic_flag" && test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=yes ;; esac build_libtool_libs=no build_old_libs=yes break ;; esac done # See if our shared archives depend on static archives. test -n "$old_archive_from_new_cmds" && build_old_libs=yes # Go through the arguments, transforming them on the way. while test "$#" -gt 0; do arg="$1" shift func_quote_for_eval "$arg" qarg=$func_quote_for_eval_unquoted_result func_append libtool_args " $func_quote_for_eval_result" # If the previous option needs an argument, assign it. if test -n "$prev"; then case $prev in output) func_append compile_command " @OUTPUT@" func_append finalize_command " @OUTPUT@" ;; esac case $prev in bindir) bindir="$arg" prev= continue ;; dlfiles|dlprefiles) if test "$preload" = no; then # Add the symbol object into the linking commands. func_append compile_command " @SYMFILE@" func_append finalize_command " @SYMFILE@" preload=yes fi case $arg in *.la | *.lo) ;; # We handle these cases below. force) if test "$dlself" = no; then dlself=needless export_dynamic=yes fi prev= continue ;; self) if test "$prev" = dlprefiles; then dlself=yes elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then dlself=yes else dlself=needless export_dynamic=yes fi prev= continue ;; *) if test "$prev" = dlfiles; then func_append dlfiles " $arg" else func_append dlprefiles " $arg" fi prev= continue ;; esac ;; expsyms) export_symbols="$arg" test -f "$arg" \ || func_fatal_error "symbol file \`$arg' does not exist" prev= continue ;; expsyms_regex) export_symbols_regex="$arg" prev= continue ;; framework) case $host in *-*-darwin*) case "$deplibs " in *" $qarg.ltframework "*) ;; *) func_append deplibs " $qarg.ltframework" # this is fixed later ;; esac ;; esac prev= continue ;; inst_prefix) inst_prefix_dir="$arg" prev= continue ;; objectlist) if test -f "$arg"; then save_arg=$arg moreargs= for fil in `cat "$save_arg"` do # func_append moreargs " $fil" arg=$fil # A libtool-controlled object. # Check to see that this really is a libtool object. if func_lalib_unsafe_p "$arg"; then pic_object= non_pic_object= # Read the .lo file func_source "$arg" if test -z "$pic_object" || test -z "$non_pic_object" || test "$pic_object" = none && test "$non_pic_object" = none; then func_fatal_error "cannot find name of object for \`$arg'" fi # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir="$func_dirname_result" if test "$pic_object" != none; then # Prepend the subdirectory the object is found in. pic_object="$xdir$pic_object" if test "$prev" = dlfiles; then if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then func_append dlfiles " $pic_object" prev= continue else # If libtool objects are unsupported, then we need to preload. prev=dlprefiles fi fi # CHECK ME: I think I busted this. -Ossama if test "$prev" = dlprefiles; then # Preload the old-style object. func_append dlprefiles " $pic_object" prev= fi # A PIC object. func_append libobjs " $pic_object" arg="$pic_object" fi # Non-PIC object. if test "$non_pic_object" != none; then # Prepend the subdirectory the object is found in. non_pic_object="$xdir$non_pic_object" # A standard non-PIC object func_append non_pic_objects " $non_pic_object" if test -z "$pic_object" || test "$pic_object" = none ; then arg="$non_pic_object" fi else # If the PIC object exists, use it instead. # $xdir was prepended to $pic_object above. non_pic_object="$pic_object" func_append non_pic_objects " $non_pic_object" fi else # Only an error if not doing a dry-run. if $opt_dry_run; then # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir="$func_dirname_result" func_lo2o "$arg" pic_object=$xdir$objdir/$func_lo2o_result non_pic_object=$xdir$func_lo2o_result func_append libobjs " $pic_object" func_append non_pic_objects " $non_pic_object" else func_fatal_error "\`$arg' is not a valid libtool object" fi fi done else func_fatal_error "link input file \`$arg' does not exist" fi arg=$save_arg prev= continue ;; precious_regex) precious_files_regex="$arg" prev= continue ;; release) release="-$arg" prev= continue ;; rpath | xrpath) # We need an absolute path. case $arg in [\\/]* | [A-Za-z]:[\\/]*) ;; *) func_fatal_error "only absolute run-paths are allowed" ;; esac if test "$prev" = rpath; then case "$rpath " in *" $arg "*) ;; *) func_append rpath " $arg" ;; esac else case "$xrpath " in *" $arg "*) ;; *) func_append xrpath " $arg" ;; esac fi prev= continue ;; shrext) shrext_cmds="$arg" prev= continue ;; weak) func_append weak_libs " $arg" prev= continue ;; xcclinker) func_append linker_flags " $qarg" func_append compiler_flags " $qarg" prev= func_append compile_command " $qarg" func_append finalize_command " $qarg" continue ;; xcompiler) func_append compiler_flags " $qarg" prev= func_append compile_command " $qarg" func_append finalize_command " $qarg" continue ;; xlinker) func_append linker_flags " $qarg" func_append compiler_flags " $wl$qarg" prev= func_append compile_command " $wl$qarg" func_append finalize_command " $wl$qarg" continue ;; *) eval "$prev=\"\$arg\"" prev= continue ;; esac fi # test -n "$prev" prevarg="$arg" case $arg in -all-static) if test -n "$link_static_flag"; then # See comment for -static flag below, for more details. func_append compile_command " $link_static_flag" func_append finalize_command " $link_static_flag" fi continue ;; -allow-undefined) # FIXME: remove this flag sometime in the future. func_fatal_error "\`-allow-undefined' must not be used because it is the default" ;; -avoid-version) avoid_version=yes continue ;; -bindir) prev=bindir continue ;; -dlopen) prev=dlfiles continue ;; -dlpreopen) prev=dlprefiles continue ;; -export-dynamic) export_dynamic=yes continue ;; -export-symbols | -export-symbols-regex) if test -n "$export_symbols" || test -n "$export_symbols_regex"; then func_fatal_error "more than one -exported-symbols argument is not allowed" fi if test "X$arg" = "X-export-symbols"; then prev=expsyms else prev=expsyms_regex fi continue ;; -framework) prev=framework continue ;; -inst-prefix-dir) prev=inst_prefix continue ;; # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* # so, if we see these flags be careful not to treat them like -L -L[A-Z][A-Z]*:*) case $with_gcc/$host in no/*-*-irix* | /*-*-irix*) func_append compile_command " $arg" func_append finalize_command " $arg" ;; esac continue ;; -L*) func_stripname "-L" '' "$arg" if test -z "$func_stripname_result"; then if test "$#" -gt 0; then func_fatal_error "require no space between \`-L' and \`$1'" else func_fatal_error "need path for \`-L' option" fi fi func_resolve_sysroot "$func_stripname_result" dir=$func_resolve_sysroot_result # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) absdir=`cd "$dir" && pwd` test -z "$absdir" && \ func_fatal_error "cannot determine absolute directory name of \`$dir'" dir="$absdir" ;; esac case "$deplibs " in *" -L$dir "* | *" $arg "*) # Will only happen for absolute or sysroot arguments ;; *) # Preserve sysroot, but never include relative directories case $dir in [\\/]* | [A-Za-z]:[\\/]* | =*) func_append deplibs " $arg" ;; *) func_append deplibs " -L$dir" ;; esac func_append lib_search_path " $dir" ;; esac case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'` case :$dllsearchpath: in *":$dir:"*) ;; ::) dllsearchpath=$dir;; *) func_append dllsearchpath ":$dir";; esac case :$dllsearchpath: in *":$testbindir:"*) ;; ::) dllsearchpath=$testbindir;; *) func_append dllsearchpath ":$testbindir";; esac ;; esac continue ;; -l*) if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*) # These systems don't actually have a C or math library (as such) continue ;; *-*-os2*) # These systems don't actually have a C library (as such) test "X$arg" = "X-lc" && continue ;; *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc due to us having libc/libc_r. test "X$arg" = "X-lc" && continue ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C and math libraries are in the System framework func_append deplibs " System.ltframework" continue ;; *-*-sco3.2v5* | *-*-sco5v6*) # Causes problems with __ctype test "X$arg" = "X-lc" && continue ;; *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) # Compiler inserts libc in the correct place for threads to work test "X$arg" = "X-lc" && continue ;; esac elif test "X$arg" = "X-lc_r"; then case $host in *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc_r directly, use -pthread flag. continue ;; esac fi func_append deplibs " $arg" continue ;; -module) module=yes continue ;; # Tru64 UNIX uses -model [arg] to determine the layout of C++ # classes, name mangling, and exception handling. # Darwin uses the -arch flag to determine output architecture. -model|-arch|-isysroot|--sysroot) func_append compiler_flags " $arg" func_append compile_command " $arg" func_append finalize_command " $arg" prev=xcompiler continue ;; -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) func_append compiler_flags " $arg" func_append compile_command " $arg" func_append finalize_command " $arg" case "$new_inherited_linker_flags " in *" $arg "*) ;; * ) func_append new_inherited_linker_flags " $arg" ;; esac continue ;; -multi_module) single_module="${wl}-multi_module" continue ;; -no-fast-install) fast_install=no continue ;; -no-install) case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*) # The PATH hackery in wrapper scripts is required on Windows # and Darwin in order for the loader to find any dlls it needs. func_warning "\`-no-install' is ignored for $host" func_warning "assuming \`-no-fast-install' instead" fast_install=no ;; *) no_install=yes ;; esac continue ;; -no-undefined) allow_undefined=no continue ;; -objectlist) prev=objectlist continue ;; -o) prev=output ;; -precious-files-regex) prev=precious_regex continue ;; -release) prev=release continue ;; -rpath) prev=rpath continue ;; -R) prev=xrpath continue ;; -R*) func_stripname '-R' '' "$arg" dir=$func_stripname_result # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; =*) func_stripname '=' '' "$dir" dir=$lt_sysroot$func_stripname_result ;; *) func_fatal_error "only absolute run-paths are allowed" ;; esac case "$xrpath " in *" $dir "*) ;; *) func_append xrpath " $dir" ;; esac continue ;; -shared) # The effects of -shared are defined in a previous loop. continue ;; -shrext) prev=shrext continue ;; -static | -static-libtool-libs) # The effects of -static are defined in a previous loop. # We used to do the same as -all-static on platforms that # didn't have a PIC flag, but the assumption that the effects # would be equivalent was wrong. It would break on at least # Digital Unix and AIX. continue ;; -thread-safe) thread_safe=yes continue ;; -version-info) prev=vinfo continue ;; -version-number) prev=vinfo vinfo_number=yes continue ;; -weak) prev=weak continue ;; -Wc,*) func_stripname '-Wc,' '' "$arg" args=$func_stripname_result arg= save_ifs="$IFS"; IFS=',' for flag in $args; do IFS="$save_ifs" func_quote_for_eval "$flag" func_append arg " $func_quote_for_eval_result" func_append compiler_flags " $func_quote_for_eval_result" done IFS="$save_ifs" func_stripname ' ' '' "$arg" arg=$func_stripname_result ;; -Wl,*) func_stripname '-Wl,' '' "$arg" args=$func_stripname_result arg= save_ifs="$IFS"; IFS=',' for flag in $args; do IFS="$save_ifs" func_quote_for_eval "$flag" func_append arg " $wl$func_quote_for_eval_result" func_append compiler_flags " $wl$func_quote_for_eval_result" func_append linker_flags " $func_quote_for_eval_result" done IFS="$save_ifs" func_stripname ' ' '' "$arg" arg=$func_stripname_result ;; -Xcompiler) prev=xcompiler continue ;; -Xlinker) prev=xlinker continue ;; -XCClinker) prev=xcclinker continue ;; # -msg_* for osf cc -msg_*) func_quote_for_eval "$arg" arg="$func_quote_for_eval_result" ;; # Flags to be passed through unchanged, with rationale: # -64, -mips[0-9] enable 64-bit mode for the SGI compiler # -r[0-9][0-9]* specify processor for the SGI compiler # -xarch=*, -xtarget=* enable 64-bit mode for the Sun compiler # +DA*, +DD* enable 64-bit mode for the HP compiler # -q* compiler args for the IBM compiler # -m*, -t[45]*, -txscale* architecture-specific flags for GCC # -F/path path to uninstalled frameworks, gcc on darwin # -p, -pg, --coverage, -fprofile-* profiling flags for GCC # @file GCC response files # -tp=* Portland pgcc target processor selection # --sysroot=* for sysroot support # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ -O*|-flto*|-fwhopr*|-fuse-linker-plugin) func_quote_for_eval "$arg" arg="$func_quote_for_eval_result" func_append compile_command " $arg" func_append finalize_command " $arg" func_append compiler_flags " $arg" continue ;; # Some other compiler flag. -* | +*) func_quote_for_eval "$arg" arg="$func_quote_for_eval_result" ;; *.$objext) # A standard object. func_append objs " $arg" ;; *.lo) # A libtool-controlled object. # Check to see that this really is a libtool object. if func_lalib_unsafe_p "$arg"; then pic_object= non_pic_object= # Read the .lo file func_source "$arg" if test -z "$pic_object" || test -z "$non_pic_object" || test "$pic_object" = none && test "$non_pic_object" = none; then func_fatal_error "cannot find name of object for \`$arg'" fi # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir="$func_dirname_result" if test "$pic_object" != none; then # Prepend the subdirectory the object is found in. pic_object="$xdir$pic_object" if test "$prev" = dlfiles; then if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then func_append dlfiles " $pic_object" prev= continue else # If libtool objects are unsupported, then we need to preload. prev=dlprefiles fi fi # CHECK ME: I think I busted this. -Ossama if test "$prev" = dlprefiles; then # Preload the old-style object. func_append dlprefiles " $pic_object" prev= fi # A PIC object. func_append libobjs " $pic_object" arg="$pic_object" fi # Non-PIC object. if test "$non_pic_object" != none; then # Prepend the subdirectory the object is found in. non_pic_object="$xdir$non_pic_object" # A standard non-PIC object func_append non_pic_objects " $non_pic_object" if test -z "$pic_object" || test "$pic_object" = none ; then arg="$non_pic_object" fi else # If the PIC object exists, use it instead. # $xdir was prepended to $pic_object above. non_pic_object="$pic_object" func_append non_pic_objects " $non_pic_object" fi else # Only an error if not doing a dry-run. if $opt_dry_run; then # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir="$func_dirname_result" func_lo2o "$arg" pic_object=$xdir$objdir/$func_lo2o_result non_pic_object=$xdir$func_lo2o_result func_append libobjs " $pic_object" func_append non_pic_objects " $non_pic_object" else func_fatal_error "\`$arg' is not a valid libtool object" fi fi ;; *.$libext) # An archive. func_append deplibs " $arg" func_append old_deplibs " $arg" continue ;; *.la) # A libtool-controlled library. func_resolve_sysroot "$arg" if test "$prev" = dlfiles; then # This library was specified with -dlopen. func_append dlfiles " $func_resolve_sysroot_result" prev= elif test "$prev" = dlprefiles; then # The library was specified with -dlpreopen. func_append dlprefiles " $func_resolve_sysroot_result" prev= else func_append deplibs " $func_resolve_sysroot_result" fi continue ;; # Some other compiler argument. *) # Unknown arguments in both finalize_command and compile_command need # to be aesthetically quoted because they are evaled later. func_quote_for_eval "$arg" arg="$func_quote_for_eval_result" ;; esac # arg # Now actually substitute the argument into the commands. if test -n "$arg"; then func_append compile_command " $arg" func_append finalize_command " $arg" fi done # argument parsing loop test -n "$prev" && \ func_fatal_help "the \`$prevarg' option requires an argument" if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then eval arg=\"$export_dynamic_flag_spec\" func_append compile_command " $arg" func_append finalize_command " $arg" fi oldlibs= # calculate the name of the file, without its directory func_basename "$output" outputname="$func_basename_result" libobjs_save="$libobjs" if test -n "$shlibpath_var"; then # get the directories listed in $shlibpath_var eval shlib_search_path=\`\$ECHO \"\${$shlibpath_var}\" \| \$SED \'s/:/ /g\'\` else shlib_search_path= fi eval sys_lib_search_path=\"$sys_lib_search_path_spec\" eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\" func_dirname "$output" "/" "" output_objdir="$func_dirname_result$objdir" func_to_tool_file "$output_objdir/" tool_output_objdir=$func_to_tool_file_result # Create the object directory. func_mkdir_p "$output_objdir" # Determine the type of output case $output in "") func_fatal_help "you must specify an output file" ;; *.$libext) linkmode=oldlib ;; *.lo | *.$objext) linkmode=obj ;; *.la) linkmode=lib ;; *) linkmode=prog ;; # Anything else should be a program. esac specialdeplibs= libs= # Find all interdependent deplibs by searching for libraries # that are linked more than once (e.g. -la -lb -la) for deplib in $deplibs; do if $opt_preserve_dup_deps ; then case "$libs " in *" $deplib "*) func_append specialdeplibs " $deplib" ;; esac fi func_append libs " $deplib" done if test "$linkmode" = lib; then libs="$predeps $libs $compiler_lib_search_path $postdeps" # Compute libraries that are listed more than once in $predeps # $postdeps and mark them as special (i.e., whose duplicates are # not to be eliminated). pre_post_deps= if $opt_duplicate_compiler_generated_deps; then for pre_post_dep in $predeps $postdeps; do case "$pre_post_deps " in *" $pre_post_dep "*) func_append specialdeplibs " $pre_post_deps" ;; esac func_append pre_post_deps " $pre_post_dep" done fi pre_post_deps= fi deplibs= newdependency_libs= newlib_search_path= need_relink=no # whether we're linking any uninstalled libtool libraries notinst_deplibs= # not-installed libtool libraries notinst_path= # paths that contain not-installed libtool libraries case $linkmode in lib) passes="conv dlpreopen link" for file in $dlfiles $dlprefiles; do case $file in *.la) ;; *) func_fatal_help "libraries can \`-dlopen' only libtool libraries: $file" ;; esac done ;; prog) compile_deplibs= finalize_deplibs= alldeplibs=no newdlfiles= newdlprefiles= passes="conv scan dlopen dlpreopen link" ;; *) passes="conv" ;; esac for pass in $passes; do # The preopen pass in lib mode reverses $deplibs; put it back here # so that -L comes before libs that need it for instance... if test "$linkmode,$pass" = "lib,link"; then ## FIXME: Find the place where the list is rebuilt in the wrong ## order, and fix it there properly tmp_deplibs= for deplib in $deplibs; do tmp_deplibs="$deplib $tmp_deplibs" done deplibs="$tmp_deplibs" fi if test "$linkmode,$pass" = "lib,link" || test "$linkmode,$pass" = "prog,scan"; then libs="$deplibs" deplibs= fi if test "$linkmode" = prog; then case $pass in dlopen) libs="$dlfiles" ;; dlpreopen) libs="$dlprefiles" ;; link) libs="$deplibs %DEPLIBS% $dependency_libs" ;; esac fi if test "$linkmode,$pass" = "lib,dlpreopen"; then # Collect and forward deplibs of preopened libtool libs for lib in $dlprefiles; do # Ignore non-libtool-libs dependency_libs= func_resolve_sysroot "$lib" case $lib in *.la) func_source "$func_resolve_sysroot_result" ;; esac # Collect preopened libtool deplibs, except any this library # has declared as weak libs for deplib in $dependency_libs; do func_basename "$deplib" deplib_base=$func_basename_result case " $weak_libs " in *" $deplib_base "*) ;; *) func_append deplibs " $deplib" ;; esac done done libs="$dlprefiles" fi if test "$pass" = dlopen; then # Collect dlpreopened libraries save_deplibs="$deplibs" deplibs= fi for deplib in $libs; do lib= found=no case $deplib in -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else func_append compiler_flags " $deplib" if test "$linkmode" = lib ; then case "$new_inherited_linker_flags " in *" $deplib "*) ;; * ) func_append new_inherited_linker_flags " $deplib" ;; esac fi fi continue ;; -l*) if test "$linkmode" != lib && test "$linkmode" != prog; then func_warning "\`-l' is ignored for archives/objects" continue fi func_stripname '-l' '' "$deplib" name=$func_stripname_result if test "$linkmode" = lib; then searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path" else searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path" fi for searchdir in $searchdirs; do for search_ext in .la $std_shrext .so .a; do # Search the libtool library lib="$searchdir/lib${name}${search_ext}" if test -f "$lib"; then if test "$search_ext" = ".la"; then found=yes else found=no fi break 2 fi done done if test "$found" != yes; then # deplib doesn't seem to be a libtool library if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" fi continue else # deplib is a libtool library # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib, # We need to do some special things here, and not later. if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $deplib "*) if func_lalib_p "$lib"; then library_names= old_library= func_source "$lib" for l in $old_library $library_names; do ll="$l" done if test "X$ll" = "X$old_library" ; then # only static version available found=no func_dirname "$lib" "" "." ladir="$func_dirname_result" lib=$ladir/$old_library if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" fi continue fi fi ;; *) ;; esac fi fi ;; # -l *.ltframework) if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" if test "$linkmode" = lib ; then case "$new_inherited_linker_flags " in *" $deplib "*) ;; * ) func_append new_inherited_linker_flags " $deplib" ;; esac fi fi continue ;; -L*) case $linkmode in lib) deplibs="$deplib $deplibs" test "$pass" = conv && continue newdependency_libs="$deplib $newdependency_libs" func_stripname '-L' '' "$deplib" func_resolve_sysroot "$func_stripname_result" func_append newlib_search_path " $func_resolve_sysroot_result" ;; prog) if test "$pass" = conv; then deplibs="$deplib $deplibs" continue fi if test "$pass" = scan; then deplibs="$deplib $deplibs" else compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" fi func_stripname '-L' '' "$deplib" func_resolve_sysroot "$func_stripname_result" func_append newlib_search_path " $func_resolve_sysroot_result" ;; *) func_warning "\`-L' is ignored for archives/objects" ;; esac # linkmode continue ;; # -L -R*) if test "$pass" = link; then func_stripname '-R' '' "$deplib" func_resolve_sysroot "$func_stripname_result" dir=$func_resolve_sysroot_result # Make sure the xrpath contains only unique directories. case "$xrpath " in *" $dir "*) ;; *) func_append xrpath " $dir" ;; esac fi deplibs="$deplib $deplibs" continue ;; *.la) func_resolve_sysroot "$deplib" lib=$func_resolve_sysroot_result ;; *.$libext) if test "$pass" = conv; then deplibs="$deplib $deplibs" continue fi case $linkmode in lib) # Linking convenience modules into shared libraries is allowed, # but linking other static libraries is non-portable. case " $dlpreconveniencelibs " in *" $deplib "*) ;; *) valid_a_lib=no case $deplibs_check_method in match_pattern*) set dummy $deplibs_check_method; shift match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \ | $EGREP "$match_pattern_regex" > /dev/null; then valid_a_lib=yes fi ;; pass_all) valid_a_lib=yes ;; esac if test "$valid_a_lib" != yes; then echo $ECHO "*** Warning: Trying to link with static lib archive $deplib." echo "*** I have the capability to make that library automatically link in when" echo "*** you link to this library. But I can only do this if you have a" echo "*** shared version of the library, which you do not appear to have" echo "*** because the file extensions .$libext of this argument makes me believe" echo "*** that it is just a static archive that I should not use here." else echo $ECHO "*** Warning: Linking the shared library $output against the" $ECHO "*** static library $deplib is not portable!" deplibs="$deplib $deplibs" fi ;; esac continue ;; prog) if test "$pass" != link; then deplibs="$deplib $deplibs" else compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" fi continue ;; esac # linkmode ;; # *.$libext *.lo | *.$objext) if test "$pass" = conv; then deplibs="$deplib $deplibs" elif test "$linkmode" = prog; then if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then # If there is no dlopen support or we're linking statically, # we need to preload. func_append newdlprefiles " $deplib" compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else func_append newdlfiles " $deplib" fi fi continue ;; %DEPLIBS%) alldeplibs=yes continue ;; esac # case $deplib if test "$found" = yes || test -f "$lib"; then : else func_fatal_error "cannot find the library \`$lib' or unhandled argument \`$deplib'" fi # Check to see that this really is a libtool archive. func_lalib_unsafe_p "$lib" \ || func_fatal_error "\`$lib' is not a valid libtool archive" func_dirname "$lib" "" "." ladir="$func_dirname_result" dlname= dlopen= dlpreopen= libdir= library_names= old_library= inherited_linker_flags= # If the library was installed with an old release of libtool, # it will not redefine variables installed, or shouldnotlink installed=yes shouldnotlink=no avoidtemprpath= # Read the .la file func_source "$lib" # Convert "-framework foo" to "foo.ltframework" if test -n "$inherited_linker_flags"; then tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'` for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do case " $new_inherited_linker_flags " in *" $tmp_inherited_linker_flag "*) ;; *) func_append new_inherited_linker_flags " $tmp_inherited_linker_flag";; esac done fi dependency_libs=`$ECHO " $dependency_libs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` if test "$linkmode,$pass" = "lib,link" || test "$linkmode,$pass" = "prog,scan" || { test "$linkmode" != prog && test "$linkmode" != lib; }; then test -n "$dlopen" && func_append dlfiles " $dlopen" test -n "$dlpreopen" && func_append dlprefiles " $dlpreopen" fi if test "$pass" = conv; then # Only check for convenience libraries deplibs="$lib $deplibs" if test -z "$libdir"; then if test -z "$old_library"; then func_fatal_error "cannot find name of link library for \`$lib'" fi # It is a libtool convenience library, so add in its objects. func_append convenience " $ladir/$objdir/$old_library" func_append old_convenience " $ladir/$objdir/$old_library" elif test "$linkmode" != prog && test "$linkmode" != lib; then func_fatal_error "\`$lib' is not a convenience library" fi tmp_libs= for deplib in $dependency_libs; do deplibs="$deplib $deplibs" if $opt_preserve_dup_deps ; then case "$tmp_libs " in *" $deplib "*) func_append specialdeplibs " $deplib" ;; esac fi func_append tmp_libs " $deplib" done continue fi # $pass = conv # Get the name of the library we link against. linklib= if test -n "$old_library" && { test "$prefer_static_libs" = yes || test "$prefer_static_libs,$installed" = "built,no"; }; then linklib=$old_library else for l in $old_library $library_names; do linklib="$l" done fi if test -z "$linklib"; then func_fatal_error "cannot find name of link library for \`$lib'" fi # This library was specified with -dlopen. if test "$pass" = dlopen; then if test -z "$libdir"; then func_fatal_error "cannot -dlopen a convenience library: \`$lib'" fi if test -z "$dlname" || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then # If there is no dlname, no dlopen support or we're linking # statically, we need to preload. We also need to preload any # dependent libraries so libltdl's deplib preloader doesn't # bomb out in the load deplibs phase. func_append dlprefiles " $lib $dependency_libs" else func_append newdlfiles " $lib" fi continue fi # $pass = dlopen # We need an absolute path. case $ladir in [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;; *) abs_ladir=`cd "$ladir" && pwd` if test -z "$abs_ladir"; then func_warning "cannot determine absolute directory name of \`$ladir'" func_warning "passing it literally to the linker, although it might fail" abs_ladir="$ladir" fi ;; esac func_basename "$lib" laname="$func_basename_result" # Find the relevant object directory and library name. if test "X$installed" = Xyes; then if test ! -f "$lt_sysroot$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then func_warning "library \`$lib' was moved." dir="$ladir" absdir="$abs_ladir" libdir="$abs_ladir" else dir="$lt_sysroot$libdir" absdir="$lt_sysroot$libdir" fi test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes else if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then dir="$ladir" absdir="$abs_ladir" # Remove this search path later func_append notinst_path " $abs_ladir" else dir="$ladir/$objdir" absdir="$abs_ladir/$objdir" # Remove this search path later func_append notinst_path " $abs_ladir" fi fi # $installed = yes func_stripname 'lib' '.la' "$laname" name=$func_stripname_result # This library was specified with -dlpreopen. if test "$pass" = dlpreopen; then if test -z "$libdir" && test "$linkmode" = prog; then func_fatal_error "only libraries may -dlpreopen a convenience library: \`$lib'" fi case "$host" in # special handling for platforms with PE-DLLs. *cygwin* | *mingw* | *cegcc* ) # Linker will automatically link against shared library if both # static and shared are present. Therefore, ensure we extract # symbols from the import library if a shared library is present # (otherwise, the dlopen module name will be incorrect). We do # this by putting the import library name into $newdlprefiles. # We recover the dlopen module name by 'saving' the la file # name in a special purpose variable, and (later) extracting the # dlname from the la file. if test -n "$dlname"; then func_tr_sh "$dir/$linklib" eval "libfile_$func_tr_sh_result=\$abs_ladir/\$laname" func_append newdlprefiles " $dir/$linklib" else func_append newdlprefiles " $dir/$old_library" # Keep a list of preopened convenience libraries to check # that they are being used correctly in the link pass. test -z "$libdir" && \ func_append dlpreconveniencelibs " $dir/$old_library" fi ;; * ) # Prefer using a static library (so that no silly _DYNAMIC symbols # are required to link). if test -n "$old_library"; then func_append newdlprefiles " $dir/$old_library" # Keep a list of preopened convenience libraries to check # that they are being used correctly in the link pass. test -z "$libdir" && \ func_append dlpreconveniencelibs " $dir/$old_library" # Otherwise, use the dlname, so that lt_dlopen finds it. elif test -n "$dlname"; then func_append newdlprefiles " $dir/$dlname" else func_append newdlprefiles " $dir/$linklib" fi ;; esac fi # $pass = dlpreopen if test -z "$libdir"; then # Link the convenience library if test "$linkmode" = lib; then deplibs="$dir/$old_library $deplibs" elif test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$dir/$old_library $compile_deplibs" finalize_deplibs="$dir/$old_library $finalize_deplibs" else deplibs="$lib $deplibs" # used for prog,scan pass fi continue fi if test "$linkmode" = prog && test "$pass" != link; then func_append newlib_search_path " $ladir" deplibs="$lib $deplibs" linkalldeplibs=no if test "$link_all_deplibs" != no || test -z "$library_names" || test "$build_libtool_libs" = no; then linkalldeplibs=yes fi tmp_libs= for deplib in $dependency_libs; do case $deplib in -L*) func_stripname '-L' '' "$deplib" func_resolve_sysroot "$func_stripname_result" func_append newlib_search_path " $func_resolve_sysroot_result" ;; esac # Need to link against all dependency_libs? if test "$linkalldeplibs" = yes; then deplibs="$deplib $deplibs" else # Need to hardcode shared library paths # or/and link against static libraries newdependency_libs="$deplib $newdependency_libs" fi if $opt_preserve_dup_deps ; then case "$tmp_libs " in *" $deplib "*) func_append specialdeplibs " $deplib" ;; esac fi func_append tmp_libs " $deplib" done # for deplib continue fi # $linkmode = prog... if test "$linkmode,$pass" = "prog,link"; then if test -n "$library_names" && { { test "$prefer_static_libs" = no || test "$prefer_static_libs,$installed" = "built,yes"; } || test -z "$old_library"; }; then # We need to hardcode the library path if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then # Make sure the rpath contains only unique directories. case "$temp_rpath:" in *"$absdir:"*) ;; *) func_append temp_rpath "$absdir:" ;; esac fi # Hardcode the library path. # Skip directories that are in the system default run-time # search path. case " $sys_lib_dlsearch_path " in *" $absdir "*) ;; *) case "$compile_rpath " in *" $absdir "*) ;; *) func_append compile_rpath " $absdir" ;; esac ;; esac case " $sys_lib_dlsearch_path " in *" $libdir "*) ;; *) case "$finalize_rpath " in *" $libdir "*) ;; *) func_append finalize_rpath " $libdir" ;; esac ;; esac fi # $linkmode,$pass = prog,link... if test "$alldeplibs" = yes && { test "$deplibs_check_method" = pass_all || { test "$build_libtool_libs" = yes && test -n "$library_names"; }; }; then # We only need to search for static libraries continue fi fi link_static=no # Whether the deplib will be linked statically use_static_libs=$prefer_static_libs if test "$use_static_libs" = built && test "$installed" = yes; then use_static_libs=no fi if test -n "$library_names" && { test "$use_static_libs" = no || test -z "$old_library"; }; then case $host in *cygwin* | *mingw* | *cegcc*) # No point in relinking DLLs because paths are not encoded func_append notinst_deplibs " $lib" need_relink=no ;; *) if test "$installed" = no; then func_append notinst_deplibs " $lib" need_relink=yes fi ;; esac # This is a shared library # Warn about portability, can't link against -module's on some # systems (darwin). Don't bleat about dlopened modules though! dlopenmodule="" for dlpremoduletest in $dlprefiles; do if test "X$dlpremoduletest" = "X$lib"; then dlopenmodule="$dlpremoduletest" break fi done if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then echo if test "$linkmode" = prog; then $ECHO "*** Warning: Linking the executable $output against the loadable module" else $ECHO "*** Warning: Linking the shared library $output against the loadable module" fi $ECHO "*** $linklib is not portable!" fi if test "$linkmode" = lib && test "$hardcode_into_libs" = yes; then # Hardcode the library path. # Skip directories that are in the system default run-time # search path. case " $sys_lib_dlsearch_path " in *" $absdir "*) ;; *) case "$compile_rpath " in *" $absdir "*) ;; *) func_append compile_rpath " $absdir" ;; esac ;; esac case " $sys_lib_dlsearch_path " in *" $libdir "*) ;; *) case "$finalize_rpath " in *" $libdir "*) ;; *) func_append finalize_rpath " $libdir" ;; esac ;; esac fi if test -n "$old_archive_from_expsyms_cmds"; then # figure out the soname set dummy $library_names shift realname="$1" shift libname=`eval "\\$ECHO \"$libname_spec\""` # use dlname if we got it. it's perfectly good, no? if test -n "$dlname"; then soname="$dlname" elif test -n "$soname_spec"; then # bleh windows case $host in *cygwin* | mingw* | *cegcc*) func_arith $current - $age major=$func_arith_result versuffix="-$major" ;; esac eval soname=\"$soname_spec\" else soname="$realname" fi # Make a new name for the extract_expsyms_cmds to use soroot="$soname" func_basename "$soroot" soname="$func_basename_result" func_stripname 'lib' '.dll' "$soname" newlib=libimp-$func_stripname_result.a # If the library has no export list, then create one now if test -f "$output_objdir/$soname-def"; then : else func_verbose "extracting exported symbol list from \`$soname'" func_execute_cmds "$extract_expsyms_cmds" 'exit $?' fi # Create $newlib if test -f "$output_objdir/$newlib"; then :; else func_verbose "generating import library for \`$soname'" func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?' fi # make sure the library variables are pointing to the new library dir=$output_objdir linklib=$newlib fi # test -n "$old_archive_from_expsyms_cmds" if test "$linkmode" = prog || test "$opt_mode" != relink; then add_shlibpath= add_dir= add= lib_linked=yes case $hardcode_action in immediate | unsupported) if test "$hardcode_direct" = no; then add="$dir/$linklib" case $host in *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;; *-*-sysv4*uw2*) add_dir="-L$dir" ;; *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \ *-*-unixware7*) add_dir="-L$dir" ;; *-*-darwin* ) # if the lib is a (non-dlopened) module then we can not # link against it, someone is ignoring the earlier warnings if /usr/bin/file -L $add 2> /dev/null | $GREP ": [^:]* bundle" >/dev/null ; then if test "X$dlopenmodule" != "X$lib"; then $ECHO "*** Warning: lib $linklib is a module, not a shared library" if test -z "$old_library" ; then echo echo "*** And there doesn't seem to be a static archive available" echo "*** The link will probably fail, sorry" else add="$dir/$old_library" fi elif test -n "$old_library"; then add="$dir/$old_library" fi fi esac elif test "$hardcode_minus_L" = no; then case $host in *-*-sunos*) add_shlibpath="$dir" ;; esac add_dir="-L$dir" add="-l$name" elif test "$hardcode_shlibpath_var" = no; then add_shlibpath="$dir" add="-l$name" else lib_linked=no fi ;; relink) if test "$hardcode_direct" = yes && test "$hardcode_direct_absolute" = no; then add="$dir/$linklib" elif test "$hardcode_minus_L" = yes; then add_dir="-L$dir" # Try looking first in the location we're being installed to. if test -n "$inst_prefix_dir"; then case $libdir in [\\/]*) func_append add_dir " -L$inst_prefix_dir$libdir" ;; esac fi add="-l$name" elif test "$hardcode_shlibpath_var" = yes; then add_shlibpath="$dir" add="-l$name" else lib_linked=no fi ;; *) lib_linked=no ;; esac if test "$lib_linked" != yes; then func_fatal_configuration "unsupported hardcode properties" fi if test -n "$add_shlibpath"; then case :$compile_shlibpath: in *":$add_shlibpath:"*) ;; *) func_append compile_shlibpath "$add_shlibpath:" ;; esac fi if test "$linkmode" = prog; then test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" test -n "$add" && compile_deplibs="$add $compile_deplibs" else test -n "$add_dir" && deplibs="$add_dir $deplibs" test -n "$add" && deplibs="$add $deplibs" if test "$hardcode_direct" != yes && test "$hardcode_minus_L" != yes && test "$hardcode_shlibpath_var" = yes; then case :$finalize_shlibpath: in *":$libdir:"*) ;; *) func_append finalize_shlibpath "$libdir:" ;; esac fi fi fi if test "$linkmode" = prog || test "$opt_mode" = relink; then add_shlibpath= add_dir= add= # Finalize command for both is simple: just hardcode it. if test "$hardcode_direct" = yes && test "$hardcode_direct_absolute" = no; then add="$libdir/$linklib" elif test "$hardcode_minus_L" = yes; then add_dir="-L$libdir" add="-l$name" elif test "$hardcode_shlibpath_var" = yes; then case :$finalize_shlibpath: in *":$libdir:"*) ;; *) func_append finalize_shlibpath "$libdir:" ;; esac add="-l$name" elif test "$hardcode_automatic" = yes; then if test -n "$inst_prefix_dir" && test -f "$inst_prefix_dir$libdir/$linklib" ; then add="$inst_prefix_dir$libdir/$linklib" else add="$libdir/$linklib" fi else # We cannot seem to hardcode it, guess we'll fake it. add_dir="-L$libdir" # Try looking first in the location we're being installed to. if test -n "$inst_prefix_dir"; then case $libdir in [\\/]*) func_append add_dir " -L$inst_prefix_dir$libdir" ;; esac fi add="-l$name" fi if test "$linkmode" = prog; then test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" test -n "$add" && finalize_deplibs="$add $finalize_deplibs" else test -n "$add_dir" && deplibs="$add_dir $deplibs" test -n "$add" && deplibs="$add $deplibs" fi fi elif test "$linkmode" = prog; then # Here we assume that one of hardcode_direct or hardcode_minus_L # is not unsupported. This is valid on all known static and # shared platforms. if test "$hardcode_direct" != unsupported; then test -n "$old_library" && linklib="$old_library" compile_deplibs="$dir/$linklib $compile_deplibs" finalize_deplibs="$dir/$linklib $finalize_deplibs" else compile_deplibs="-l$name -L$dir $compile_deplibs" finalize_deplibs="-l$name -L$dir $finalize_deplibs" fi elif test "$build_libtool_libs" = yes; then # Not a shared library if test "$deplibs_check_method" != pass_all; then # We're trying link a shared library against a static one # but the system doesn't support it. # Just print a warning and add the library to dependency_libs so # that the program can be linked against the static library. echo $ECHO "*** Warning: This system can not link to static lib archive $lib." echo "*** I have the capability to make that library automatically link in when" echo "*** you link to this library. But I can only do this if you have a" echo "*** shared version of the library, which you do not appear to have." if test "$module" = yes; then echo "*** But as you try to build a module library, libtool will still create " echo "*** a static module, that should work as long as the dlopening application" echo "*** is linked with the -dlopen flag to resolve symbols at runtime." if test -z "$global_symbol_pipe"; then echo echo "*** However, this would only work if libtool was able to extract symbol" echo "*** lists from a program, using \`nm' or equivalent, but libtool could" echo "*** not find such a program. So, this module is probably useless." echo "*** \`nm' from GNU binutils and a full rebuild may help." fi if test "$build_old_libs" = no; then build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi fi else deplibs="$dir/$old_library $deplibs" link_static=yes fi fi # link shared/static library? if test "$linkmode" = lib; then if test -n "$dependency_libs" && { test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes || test "$link_static" = yes; }; then # Extract -R from dependency_libs temp_deplibs= for libdir in $dependency_libs; do case $libdir in -R*) func_stripname '-R' '' "$libdir" temp_xrpath=$func_stripname_result case " $xrpath " in *" $temp_xrpath "*) ;; *) func_append xrpath " $temp_xrpath";; esac;; *) func_append temp_deplibs " $libdir";; esac done dependency_libs="$temp_deplibs" fi func_append newlib_search_path " $absdir" # Link against this library test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs" # ... and its dependency_libs tmp_libs= for deplib in $dependency_libs; do newdependency_libs="$deplib $newdependency_libs" case $deplib in -L*) func_stripname '-L' '' "$deplib" func_resolve_sysroot "$func_stripname_result";; *) func_resolve_sysroot "$deplib" ;; esac if $opt_preserve_dup_deps ; then case "$tmp_libs " in *" $func_resolve_sysroot_result "*) func_append specialdeplibs " $func_resolve_sysroot_result" ;; esac fi func_append tmp_libs " $func_resolve_sysroot_result" done if test "$link_all_deplibs" != no; then # Add the search paths of all dependency libraries for deplib in $dependency_libs; do path= case $deplib in -L*) path="$deplib" ;; *.la) func_resolve_sysroot "$deplib" deplib=$func_resolve_sysroot_result func_dirname "$deplib" "" "." dir=$func_dirname_result # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;; *) absdir=`cd "$dir" && pwd` if test -z "$absdir"; then func_warning "cannot determine absolute directory name of \`$dir'" absdir="$dir" fi ;; esac if $GREP "^installed=no" $deplib > /dev/null; then case $host in *-*-darwin*) depdepl= eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib` if test -n "$deplibrary_names" ; then for tmp in $deplibrary_names ; do depdepl=$tmp done if test -f "$absdir/$objdir/$depdepl" ; then depdepl="$absdir/$objdir/$depdepl" darwin_install_name=`${OTOOL} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` if test -z "$darwin_install_name"; then darwin_install_name=`${OTOOL64} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` fi func_append compiler_flags " ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}" func_append linker_flags " -dylib_file ${darwin_install_name}:${depdepl}" path= fi fi ;; *) path="-L$absdir/$objdir" ;; esac else eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` test -z "$libdir" && \ func_fatal_error "\`$deplib' is not a valid libtool archive" test "$absdir" != "$libdir" && \ func_warning "\`$deplib' seems to be moved" path="-L$absdir" fi ;; esac case " $deplibs " in *" $path "*) ;; *) deplibs="$path $deplibs" ;; esac done fi # link_all_deplibs != no fi # linkmode = lib done # for deplib in $libs if test "$pass" = link; then if test "$linkmode" = "prog"; then compile_deplibs="$new_inherited_linker_flags $compile_deplibs" finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs" else compiler_flags="$compiler_flags "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` fi fi dependency_libs="$newdependency_libs" if test "$pass" = dlpreopen; then # Link the dlpreopened libraries before other libraries for deplib in $save_deplibs; do deplibs="$deplib $deplibs" done fi if test "$pass" != dlopen; then if test "$pass" != conv; then # Make sure lib_search_path contains only unique directories. lib_search_path= for dir in $newlib_search_path; do case "$lib_search_path " in *" $dir "*) ;; *) func_append lib_search_path " $dir" ;; esac done newlib_search_path= fi if test "$linkmode,$pass" != "prog,link"; then vars="deplibs" else vars="compile_deplibs finalize_deplibs" fi for var in $vars dependency_libs; do # Add libraries to $var in reverse order eval tmp_libs=\"\$$var\" new_libs= for deplib in $tmp_libs; do # FIXME: Pedantically, this is the right thing to do, so # that some nasty dependency loop isn't accidentally # broken: #new_libs="$deplib $new_libs" # Pragmatically, this seems to cause very few problems in # practice: case $deplib in -L*) new_libs="$deplib $new_libs" ;; -R*) ;; *) # And here is the reason: when a library appears more # than once as an explicit dependence of a library, or # is implicitly linked in more than once by the # compiler, it is considered special, and multiple # occurrences thereof are not removed. Compare this # with having the same library being listed as a # dependency of multiple other libraries: in this case, # we know (pedantically, we assume) the library does not # need to be listed more than once, so we keep only the # last copy. This is not always right, but it is rare # enough that we require users that really mean to play # such unportable linking tricks to link the library # using -Wl,-lname, so that libtool does not consider it # for duplicate removal. case " $specialdeplibs " in *" $deplib "*) new_libs="$deplib $new_libs" ;; *) case " $new_libs " in *" $deplib "*) ;; *) new_libs="$deplib $new_libs" ;; esac ;; esac ;; esac done tmp_libs= for deplib in $new_libs; do case $deplib in -L*) case " $tmp_libs " in *" $deplib "*) ;; *) func_append tmp_libs " $deplib" ;; esac ;; *) func_append tmp_libs " $deplib" ;; esac done eval $var=\"$tmp_libs\" done # for var fi # Last step: remove runtime libs from dependency_libs # (they stay in deplibs) tmp_libs= for i in $dependency_libs ; do case " $predeps $postdeps $compiler_lib_search_path " in *" $i "*) i="" ;; esac if test -n "$i" ; then func_append tmp_libs " $i" fi done dependency_libs=$tmp_libs done # for pass if test "$linkmode" = prog; then dlfiles="$newdlfiles" fi if test "$linkmode" = prog || test "$linkmode" = lib; then dlprefiles="$newdlprefiles" fi case $linkmode in oldlib) if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then func_warning "\`-dlopen' is ignored for archives" fi case " $deplibs" in *\ -l* | *\ -L*) func_warning "\`-l' and \`-L' are ignored for archives" ;; esac test -n "$rpath" && \ func_warning "\`-rpath' is ignored for archives" test -n "$xrpath" && \ func_warning "\`-R' is ignored for archives" test -n "$vinfo" && \ func_warning "\`-version-info/-version-number' is ignored for archives" test -n "$release" && \ func_warning "\`-release' is ignored for archives" test -n "$export_symbols$export_symbols_regex" && \ func_warning "\`-export-symbols' is ignored for archives" # Now set the variables for building old libraries. build_libtool_libs=no oldlibs="$output" func_append objs "$old_deplibs" ;; lib) # Make sure we only generate libraries of the form `libNAME.la'. case $outputname in lib*) func_stripname 'lib' '.la' "$outputname" name=$func_stripname_result eval shared_ext=\"$shrext_cmds\" eval libname=\"$libname_spec\" ;; *) test "$module" = no && \ func_fatal_help "libtool library \`$output' must begin with \`lib'" if test "$need_lib_prefix" != no; then # Add the "lib" prefix for modules if required func_stripname '' '.la' "$outputname" name=$func_stripname_result eval shared_ext=\"$shrext_cmds\" eval libname=\"$libname_spec\" else func_stripname '' '.la' "$outputname" libname=$func_stripname_result fi ;; esac if test -n "$objs"; then if test "$deplibs_check_method" != pass_all; then func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs" else echo $ECHO "*** Warning: Linking the shared library $output against the non-libtool" $ECHO "*** objects $objs is not portable!" func_append libobjs " $objs" fi fi test "$dlself" != no && \ func_warning "\`-dlopen self' is ignored for libtool libraries" set dummy $rpath shift test "$#" -gt 1 && \ func_warning "ignoring multiple \`-rpath's for a libtool library" install_libdir="$1" oldlibs= if test -z "$rpath"; then if test "$build_libtool_libs" = yes; then # Building a libtool convenience library. # Some compilers have problems with a `.al' extension so # convenience libraries should have the same extension an # archive normally would. oldlibs="$output_objdir/$libname.$libext $oldlibs" build_libtool_libs=convenience build_old_libs=yes fi test -n "$vinfo" && \ func_warning "\`-version-info/-version-number' is ignored for convenience libraries" test -n "$release" && \ func_warning "\`-release' is ignored for convenience libraries" else # Parse the version information argument. save_ifs="$IFS"; IFS=':' set dummy $vinfo 0 0 0 shift IFS="$save_ifs" test -n "$7" && \ func_fatal_help "too many parameters to \`-version-info'" # convert absolute version numbers to libtool ages # this retains compatibility with .la files and attempts # to make the code below a bit more comprehensible case $vinfo_number in yes) number_major="$1" number_minor="$2" number_revision="$3" # # There are really only two kinds -- those that # use the current revision as the major version # and those that subtract age and use age as # a minor version. But, then there is irix # which has an extra 1 added just for fun # case $version_type in darwin|linux|osf|windows|none) func_arith $number_major + $number_minor current=$func_arith_result age="$number_minor" revision="$number_revision" ;; freebsd-aout|freebsd-elf|qnx|sunos) current="$number_major" revision="$number_minor" age="0" ;; irix|nonstopux) func_arith $number_major + $number_minor current=$func_arith_result age="$number_minor" revision="$number_minor" lt_irix_increment=no ;; esac ;; no) current="$1" revision="$2" age="$3" ;; esac # Check that each of the things are valid numbers. case $current in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) func_error "CURRENT \`$current' must be a nonnegative integer" func_fatal_error "\`$vinfo' is not valid version information" ;; esac case $revision in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) func_error "REVISION \`$revision' must be a nonnegative integer" func_fatal_error "\`$vinfo' is not valid version information" ;; esac case $age in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) func_error "AGE \`$age' must be a nonnegative integer" func_fatal_error "\`$vinfo' is not valid version information" ;; esac if test "$age" -gt "$current"; then func_error "AGE \`$age' is greater than the current interface number \`$current'" func_fatal_error "\`$vinfo' is not valid version information" fi # Calculate the version variables. major= versuffix= verstring= case $version_type in none) ;; darwin) # Like Linux, but with the current version available in # verstring for coding it into the library header func_arith $current - $age major=.$func_arith_result versuffix="$major.$age.$revision" # Darwin ld doesn't like 0 for these options... func_arith $current + 1 minor_current=$func_arith_result xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision" verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" ;; freebsd-aout) major=".$current" versuffix=".$current.$revision"; ;; freebsd-elf) major=".$current" versuffix=".$current" ;; irix | nonstopux) if test "X$lt_irix_increment" = "Xno"; then func_arith $current - $age else func_arith $current - $age + 1 fi major=$func_arith_result case $version_type in nonstopux) verstring_prefix=nonstopux ;; *) verstring_prefix=sgi ;; esac verstring="$verstring_prefix$major.$revision" # Add in all the interfaces that we are compatible with. loop=$revision while test "$loop" -ne 0; do func_arith $revision - $loop iface=$func_arith_result func_arith $loop - 1 loop=$func_arith_result verstring="$verstring_prefix$major.$iface:$verstring" done # Before this point, $major must not contain `.'. major=.$major versuffix="$major.$revision" ;; linux) func_arith $current - $age major=.$func_arith_result versuffix="$major.$age.$revision" ;; osf) func_arith $current - $age major=.$func_arith_result versuffix=".$current.$age.$revision" verstring="$current.$age.$revision" # Add in all the interfaces that we are compatible with. loop=$age while test "$loop" -ne 0; do func_arith $current - $loop iface=$func_arith_result func_arith $loop - 1 loop=$func_arith_result verstring="$verstring:${iface}.0" done # Make executables depend on our current version. func_append verstring ":${current}.0" ;; qnx) major=".$current" versuffix=".$current" ;; sunos) major=".$current" versuffix=".$current.$revision" ;; windows) # Use '-' rather than '.', since we only want one # extension on DOS 8.3 filesystems. func_arith $current - $age major=$func_arith_result versuffix="-$major" ;; *) func_fatal_configuration "unknown library version type \`$version_type'" ;; esac # Clear the version info if we defaulted, and they specified a release. if test -z "$vinfo" && test -n "$release"; then major= case $version_type in darwin) # we can't check for "0.0" in archive_cmds due to quoting # problems, so we reset it completely verstring= ;; *) verstring="0.0" ;; esac if test "$need_version" = no; then versuffix= else versuffix=".0.0" fi fi # Remove version info from name if versioning should be avoided if test "$avoid_version" = yes && test "$need_version" = no; then major= versuffix= verstring="" fi # Check to see if the archive will have undefined symbols. if test "$allow_undefined" = yes; then if test "$allow_undefined_flag" = unsupported; then func_warning "undefined symbols not allowed in $host shared libraries" build_libtool_libs=no build_old_libs=yes fi else # Don't allow undefined symbols. allow_undefined_flag="$no_undefined_flag" fi fi func_generate_dlsyms "$libname" "$libname" "yes" func_append libobjs " $symfileobj" test "X$libobjs" = "X " && libobjs= if test "$opt_mode" != relink; then # Remove our outputs, but don't remove object files since they # may have been created when compiling PIC objects. removelist= tempremovelist=`$ECHO "$output_objdir/*"` for p in $tempremovelist; do case $p in *.$objext | *.gcno) ;; $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*) if test "X$precious_files_regex" != "X"; then if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1 then continue fi fi func_append removelist " $p" ;; *) ;; esac done test -n "$removelist" && \ func_show_eval "${RM}r \$removelist" fi # Now set the variables for building old libraries. if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then func_append oldlibs " $output_objdir/$libname.$libext" # Transform .lo files to .o files. oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; $lo2o" | $NL2SP` fi # Eliminate all temporary directories. #for path in $notinst_path; do # lib_search_path=`$ECHO "$lib_search_path " | $SED "s% $path % %g"` # deplibs=`$ECHO "$deplibs " | $SED "s% -L$path % %g"` # dependency_libs=`$ECHO "$dependency_libs " | $SED "s% -L$path % %g"` #done if test -n "$xrpath"; then # If the user specified any rpath flags, then add them. temp_xrpath= for libdir in $xrpath; do func_replace_sysroot "$libdir" func_append temp_xrpath " -R$func_replace_sysroot_result" case "$finalize_rpath " in *" $libdir "*) ;; *) func_append finalize_rpath " $libdir" ;; esac done if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then dependency_libs="$temp_xrpath $dependency_libs" fi fi # Make sure dlfiles contains only unique files that won't be dlpreopened old_dlfiles="$dlfiles" dlfiles= for lib in $old_dlfiles; do case " $dlprefiles $dlfiles " in *" $lib "*) ;; *) func_append dlfiles " $lib" ;; esac done # Make sure dlprefiles contains only unique files old_dlprefiles="$dlprefiles" dlprefiles= for lib in $old_dlprefiles; do case "$dlprefiles " in *" $lib "*) ;; *) func_append dlprefiles " $lib" ;; esac done if test "$build_libtool_libs" = yes; then if test -n "$rpath"; then case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*) # these systems don't actually have a c library (as such)! ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C library is in the System framework func_append deplibs " System.ltframework" ;; *-*-netbsd*) # Don't link with libc until the a.out ld.so is fixed. ;; *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc due to us having libc/libc_r. ;; *-*-sco3.2v5* | *-*-sco5v6*) # Causes problems with __ctype ;; *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) # Compiler inserts libc in the correct place for threads to work ;; *) # Add libc to deplibs on all other systems if necessary. if test "$build_libtool_need_lc" = "yes"; then func_append deplibs " -lc" fi ;; esac fi # Transform deplibs into only deplibs that can be linked in shared. name_save=$name libname_save=$libname release_save=$release versuffix_save=$versuffix major_save=$major # I'm not sure if I'm treating the release correctly. I think # release should show up in the -l (ie -lgmp5) so we don't want to # add it in twice. Is that correct? release="" versuffix="" major="" newdeplibs= droppeddeps=no case $deplibs_check_method in pass_all) # Don't check for shared/static. Everything works. # This might be a little naive. We might want to check # whether the library exists or not. But this is on # osf3 & osf4 and I'm not really sure... Just # implementing what was already the behavior. newdeplibs=$deplibs ;; test_compile) # This code stresses the "libraries are programs" paradigm to its # limits. Maybe even breaks it. We compile a program, linking it # against the deplibs as a proxy for the library. Then we can check # whether they linked in statically or dynamically with ldd. $opt_dry_run || $RM conftest.c cat > conftest.c </dev/null` $nocaseglob else potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null` fi for potent_lib in $potential_libs; do # Follow soft links. if ls -lLd "$potent_lib" 2>/dev/null | $GREP " -> " >/dev/null; then continue fi # The statement above tries to avoid entering an # endless loop below, in case of cyclic links. # We might still enter an endless loop, since a link # loop can be closed while we follow links, # but so what? potlib="$potent_lib" while test -h "$potlib" 2>/dev/null; do potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'` case $potliblink in [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";; *) potlib=`$ECHO "$potlib" | $SED 's,[^/]*$,,'`"$potliblink";; esac done if eval $file_magic_cmd \"\$potlib\" 2>/dev/null | $SED -e 10q | $EGREP "$file_magic_regex" > /dev/null; then func_append newdeplibs " $a_deplib" a_deplib="" break 2 fi done done fi if test -n "$a_deplib" ; then droppeddeps=yes echo $ECHO "*** Warning: linker path does not have real file for library $a_deplib." echo "*** I have the capability to make that library automatically link in when" echo "*** you link to this library. But I can only do this if you have a" echo "*** shared version of the library, which you do not appear to have" echo "*** because I did check the linker path looking for a file starting" if test -z "$potlib" ; then $ECHO "*** with $libname but no candidates were found. (...for file magic test)" else $ECHO "*** with $libname and none of the candidates passed a file format test" $ECHO "*** using a file magic. Last file checked: $potlib" fi fi ;; *) # Add a -L argument. func_append newdeplibs " $a_deplib" ;; esac done # Gone through all deplibs. ;; match_pattern*) set dummy $deplibs_check_method; shift match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` for a_deplib in $deplibs; do case $a_deplib in -l*) func_stripname -l '' "$a_deplib" name=$func_stripname_result if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $a_deplib "*) func_append newdeplibs " $a_deplib" a_deplib="" ;; esac fi if test -n "$a_deplib" ; then libname=`eval "\\$ECHO \"$libname_spec\""` for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do potential_libs=`ls $i/$libname[.-]* 2>/dev/null` for potent_lib in $potential_libs; do potlib="$potent_lib" # see symlink-check above in file_magic test if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \ $EGREP "$match_pattern_regex" > /dev/null; then func_append newdeplibs " $a_deplib" a_deplib="" break 2 fi done done fi if test -n "$a_deplib" ; then droppeddeps=yes echo $ECHO "*** Warning: linker path does not have real file for library $a_deplib." echo "*** I have the capability to make that library automatically link in when" echo "*** you link to this library. But I can only do this if you have a" echo "*** shared version of the library, which you do not appear to have" echo "*** because I did check the linker path looking for a file starting" if test -z "$potlib" ; then $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)" else $ECHO "*** with $libname and none of the candidates passed a file format test" $ECHO "*** using a regex pattern. Last file checked: $potlib" fi fi ;; *) # Add a -L argument. func_append newdeplibs " $a_deplib" ;; esac done # Gone through all deplibs. ;; none | unknown | *) newdeplibs="" tmp_deplibs=`$ECHO " $deplibs" | $SED 's/ -lc$//; s/ -[LR][^ ]*//g'` if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then for i in $predeps $postdeps ; do # can't use Xsed below, because $i might contain '/' tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s,$i,,"` done fi case $tmp_deplibs in *[!\ \ ]*) echo if test "X$deplibs_check_method" = "Xnone"; then echo "*** Warning: inter-library dependencies are not supported in this platform." else echo "*** Warning: inter-library dependencies are not known to be supported." fi echo "*** All declared inter-library dependencies are being dropped." droppeddeps=yes ;; esac ;; esac versuffix=$versuffix_save major=$major_save release=$release_save libname=$libname_save name=$name_save case $host in *-*-rhapsody* | *-*-darwin1.[012]) # On Rhapsody replace the C library with the System framework newdeplibs=`$ECHO " $newdeplibs" | $SED 's/ -lc / System.ltframework /'` ;; esac if test "$droppeddeps" = yes; then if test "$module" = yes; then echo echo "*** Warning: libtool could not satisfy all declared inter-library" $ECHO "*** dependencies of module $libname. Therefore, libtool will create" echo "*** a static module, that should work as long as the dlopening" echo "*** application is linked with the -dlopen flag." if test -z "$global_symbol_pipe"; then echo echo "*** However, this would only work if libtool was able to extract symbol" echo "*** lists from a program, using \`nm' or equivalent, but libtool could" echo "*** not find such a program. So, this module is probably useless." echo "*** \`nm' from GNU binutils and a full rebuild may help." fi if test "$build_old_libs" = no; then oldlibs="$output_objdir/$libname.$libext" build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi else echo "*** The inter-library dependencies that have been dropped here will be" echo "*** automatically added whenever a program is linked with this library" echo "*** or is declared to -dlopen it." if test "$allow_undefined" = no; then echo echo "*** Since this library must not contain undefined symbols," echo "*** because either the platform does not support them or" echo "*** it was explicitly requested with -no-undefined," echo "*** libtool will only create a static version of it." if test "$build_old_libs" = no; then oldlibs="$output_objdir/$libname.$libext" build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi fi fi fi # Done checking deplibs! deplibs=$newdeplibs fi # Time to change all our "foo.ltframework" stuff back to "-framework foo" case $host in *-*-darwin*) newdeplibs=`$ECHO " $newdeplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` new_inherited_linker_flags=`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` deplibs=`$ECHO " $deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` ;; esac # move library search paths that coincide with paths to not yet # installed libraries to the beginning of the library search list new_libs= for path in $notinst_path; do case " $new_libs " in *" -L$path/$objdir "*) ;; *) case " $deplibs " in *" -L$path/$objdir "*) func_append new_libs " -L$path/$objdir" ;; esac ;; esac done for deplib in $deplibs; do case $deplib in -L*) case " $new_libs " in *" $deplib "*) ;; *) func_append new_libs " $deplib" ;; esac ;; *) func_append new_libs " $deplib" ;; esac done deplibs="$new_libs" # All the library-specific variables (install_libdir is set above). library_names= old_library= dlname= # Test again, we may have decided not to build it any more if test "$build_libtool_libs" = yes; then if test "$hardcode_into_libs" = yes; then # Hardcode the library paths hardcode_libdirs= dep_rpath= rpath="$finalize_rpath" test "$opt_mode" != relink && rpath="$compile_rpath$rpath" for libdir in $rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then func_replace_sysroot "$libdir" libdir=$func_replace_sysroot_result if test -z "$hardcode_libdirs"; then hardcode_libdirs="$libdir" else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" func_append dep_rpath " $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; *) func_apped perm_rpath " $libdir" ;; esac fi done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" if test -n "$hardcode_libdir_flag_spec_ld"; then eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" else eval dep_rpath=\"$hardcode_libdir_flag_spec\" fi fi if test -n "$runpath_var" && test -n "$perm_rpath"; then # We should set the runpath_var. rpath= for dir in $perm_rpath; do func_append rpath "$dir:" done eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var" fi test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs" fi shlibpath="$finalize_shlibpath" test "$opt_mode" != relink && shlibpath="$compile_shlibpath$shlibpath" if test -n "$shlibpath"; then eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" fi # Get the real and link names of the library. eval shared_ext=\"$shrext_cmds\" eval library_names=\"$library_names_spec\" set dummy $library_names shift realname="$1" shift if test -n "$soname_spec"; then eval soname=\"$soname_spec\" else soname="$realname" fi if test -z "$dlname"; then dlname=$soname fi lib="$output_objdir/$realname" linknames= for link do func_append linknames " $link" done # Use standard objects if they are pic test -z "$pic_flag" && libobjs=`$ECHO "$libobjs" | $SP2NL | $SED "$lo2o" | $NL2SP` test "X$libobjs" = "X " && libobjs= delfiles= if test -n "$export_symbols" && test -n "$include_expsyms"; then $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp" export_symbols="$output_objdir/$libname.uexp" func_append delfiles " $export_symbols" fi orig_export_symbols= case $host_os in cygwin* | mingw* | cegcc*) if test -n "$export_symbols" && test -z "$export_symbols_regex"; then # exporting using user supplied symfile if test "x`$SED 1q $export_symbols`" != xEXPORTS; then # and it's NOT already a .def file. Must figure out # which of the given symbols are data symbols and tag # them as such. So, trigger use of export_symbols_cmds. # export_symbols gets reassigned inside the "prepare # the list of exported symbols" if statement, so the # include_expsyms logic still works. orig_export_symbols="$export_symbols" export_symbols= always_export_symbols=yes fi fi ;; esac # Prepare the list of exported symbols if test -z "$export_symbols"; then if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then func_verbose "generating symbol list for \`$libname.la'" export_symbols="$output_objdir/$libname.exp" $opt_dry_run || $RM $export_symbols cmds=$export_symbols_cmds save_ifs="$IFS"; IFS='~' for cmd1 in $cmds; do IFS="$save_ifs" # Take the normal branch if the nm_file_list_spec branch # doesn't work or if tool conversion is not needed. case $nm_file_list_spec~$to_tool_file_cmd in *~func_convert_file_noop | *~func_convert_file_msys_to_w32 | ~*) try_normal_branch=yes eval cmd=\"$cmd1\" func_len " $cmd" len=$func_len_result ;; *) try_normal_branch=no ;; esac if test "$try_normal_branch" = yes \ && { test "$len" -lt "$max_cmd_len" \ || test "$max_cmd_len" -le -1; } then func_show_eval "$cmd" 'exit $?' skipped_export=false elif test -n "$nm_file_list_spec"; then func_basename "$output" output_la=$func_basename_result save_libobjs=$libobjs save_output=$output output=${output_objdir}/${output_la}.nm func_to_tool_file "$output" libobjs=$nm_file_list_spec$func_to_tool_file_result func_append delfiles " $output" func_verbose "creating $NM input file list: $output" for obj in $save_libobjs; do func_to_tool_file "$obj" $ECHO "$func_to_tool_file_result" done > "$output" eval cmd=\"$cmd1\" func_show_eval "$cmd" 'exit $?' output=$save_output libobjs=$save_libobjs skipped_export=false else # The command line is too long to execute in one step. func_verbose "using reloadable object file for export list..." skipped_export=: # Break out early, otherwise skipped_export may be # set to false by a later but shorter cmd. break fi done IFS="$save_ifs" if test -n "$export_symbols_regex" && test "X$skipped_export" != "X:"; then func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' func_show_eval '$MV "${export_symbols}T" "$export_symbols"' fi fi fi if test -n "$export_symbols" && test -n "$include_expsyms"; then tmp_export_symbols="$export_symbols" test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols" $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' fi if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then # The given exports_symbols file has to be filtered, so filter it. func_verbose "filter symbol list for \`$libname.la' to tag DATA exports" # FIXME: $output_objdir/$libname.filter potentially contains lots of # 's' commands which not all seds can handle. GNU sed should be fine # though. Also, the filter scales superlinearly with the number of # global variables. join(1) would be nice here, but unfortunately # isn't a blessed tool. $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter func_append delfiles " $export_symbols $output_objdir/$libname.filter" export_symbols=$output_objdir/$libname.def $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols fi tmp_deplibs= for test_deplib in $deplibs; do case " $convenience " in *" $test_deplib "*) ;; *) func_append tmp_deplibs " $test_deplib" ;; esac done deplibs="$tmp_deplibs" if test -n "$convenience"; then if test -n "$whole_archive_flag_spec" && test "$compiler_needs_object" = yes && test -z "$libobjs"; then # extract the archives, so we have objects to list. # TODO: could optimize this to just extract one archive. whole_archive_flag_spec= fi if test -n "$whole_archive_flag_spec"; then save_libobjs=$libobjs eval libobjs=\"\$libobjs $whole_archive_flag_spec\" test "X$libobjs" = "X " && libobjs= else gentop="$output_objdir/${outputname}x" func_append generated " $gentop" func_extract_archives $gentop $convenience func_append libobjs " $func_extract_archives_result" test "X$libobjs" = "X " && libobjs= fi fi if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then eval flag=\"$thread_safe_flag_spec\" func_append linker_flags " $flag" fi # Make a backup of the uninstalled library when relinking if test "$opt_mode" = relink; then $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $? fi # Do each of the archive commands. if test "$module" = yes && test -n "$module_cmds" ; then if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then eval test_cmds=\"$module_expsym_cmds\" cmds=$module_expsym_cmds else eval test_cmds=\"$module_cmds\" cmds=$module_cmds fi else if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then eval test_cmds=\"$archive_expsym_cmds\" cmds=$archive_expsym_cmds else eval test_cmds=\"$archive_cmds\" cmds=$archive_cmds fi fi if test "X$skipped_export" != "X:" && func_len " $test_cmds" && len=$func_len_result && test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then : else # The command line is too long to link in one step, link piecewise # or, if using GNU ld and skipped_export is not :, use a linker # script. # Save the value of $output and $libobjs because we want to # use them later. If we have whole_archive_flag_spec, we # want to use save_libobjs as it was before # whole_archive_flag_spec was expanded, because we can't # assume the linker understands whole_archive_flag_spec. # This may have to be revisited, in case too many # convenience libraries get linked in and end up exceeding # the spec. if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then save_libobjs=$libobjs fi save_output=$output func_basename "$output" output_la=$func_basename_result # Clear the reloadable object creation command queue and # initialize k to one. test_cmds= concat_cmds= objlist= last_robj= k=1 if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then output=${output_objdir}/${output_la}.lnkscript func_verbose "creating GNU ld script: $output" echo 'INPUT (' > $output for obj in $save_libobjs do func_to_tool_file "$obj" $ECHO "$func_to_tool_file_result" >> $output done echo ')' >> $output func_append delfiles " $output" func_to_tool_file "$output" output=$func_to_tool_file_result elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then output=${output_objdir}/${output_la}.lnk func_verbose "creating linker input file list: $output" : > $output set x $save_libobjs shift firstobj= if test "$compiler_needs_object" = yes; then firstobj="$1 " shift fi for obj do func_to_tool_file "$obj" $ECHO "$func_to_tool_file_result" >> $output done func_append delfiles " $output" func_to_tool_file "$output" output=$firstobj\"$file_list_spec$func_to_tool_file_result\" else if test -n "$save_libobjs"; then func_verbose "creating reloadable object files..." output=$output_objdir/$output_la-${k}.$objext eval test_cmds=\"$reload_cmds\" func_len " $test_cmds" len0=$func_len_result len=$len0 # Loop over the list of objects to be linked. for obj in $save_libobjs do func_len " $obj" func_arith $len + $func_len_result len=$func_arith_result if test "X$objlist" = X || test "$len" -lt "$max_cmd_len"; then func_append objlist " $obj" else # The command $test_cmds is almost too long, add a # command to the queue. if test "$k" -eq 1 ; then # The first file doesn't have a previous command to add. reload_objs=$objlist eval concat_cmds=\"$reload_cmds\" else # All subsequent reloadable object files will link in # the last one created. reload_objs="$objlist $last_robj" eval concat_cmds=\"\$concat_cmds~$reload_cmds~\$RM $last_robj\" fi last_robj=$output_objdir/$output_la-${k}.$objext func_arith $k + 1 k=$func_arith_result output=$output_objdir/$output_la-${k}.$objext objlist=" $obj" func_len " $last_robj" func_arith $len0 + $func_len_result len=$func_arith_result fi done # Handle the remaining objects by creating one last # reloadable object file. All subsequent reloadable object # files will link in the last one created. test -z "$concat_cmds" || concat_cmds=$concat_cmds~ reload_objs="$objlist $last_robj" eval concat_cmds=\"\${concat_cmds}$reload_cmds\" if test -n "$last_robj"; then eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\" fi func_append delfiles " $output" else output= fi if ${skipped_export-false}; then func_verbose "generating symbol list for \`$libname.la'" export_symbols="$output_objdir/$libname.exp" $opt_dry_run || $RM $export_symbols libobjs=$output # Append the command to create the export file. test -z "$concat_cmds" || concat_cmds=$concat_cmds~ eval concat_cmds=\"\$concat_cmds$export_symbols_cmds\" if test -n "$last_robj"; then eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\" fi fi test -n "$save_libobjs" && func_verbose "creating a temporary reloadable object file: $output" # Loop through the commands generated above and execute them. save_ifs="$IFS"; IFS='~' for cmd in $concat_cmds; do IFS="$save_ifs" $opt_silent || { func_quote_for_expand "$cmd" eval "func_echo $func_quote_for_expand_result" } $opt_dry_run || eval "$cmd" || { lt_exit=$? # Restore the uninstalled library and exit if test "$opt_mode" = relink; then ( cd "$output_objdir" && \ $RM "${realname}T" && \ $MV "${realname}U" "$realname" ) fi exit $lt_exit } done IFS="$save_ifs" if test -n "$export_symbols_regex" && ${skipped_export-false}; then func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' func_show_eval '$MV "${export_symbols}T" "$export_symbols"' fi fi if ${skipped_export-false}; then if test -n "$export_symbols" && test -n "$include_expsyms"; then tmp_export_symbols="$export_symbols" test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols" $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' fi if test -n "$orig_export_symbols"; then # The given exports_symbols file has to be filtered, so filter it. func_verbose "filter symbol list for \`$libname.la' to tag DATA exports" # FIXME: $output_objdir/$libname.filter potentially contains lots of # 's' commands which not all seds can handle. GNU sed should be fine # though. Also, the filter scales superlinearly with the number of # global variables. join(1) would be nice here, but unfortunately # isn't a blessed tool. $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter func_append delfiles " $export_symbols $output_objdir/$libname.filter" export_symbols=$output_objdir/$libname.def $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols fi fi libobjs=$output # Restore the value of output. output=$save_output if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then eval libobjs=\"\$libobjs $whole_archive_flag_spec\" test "X$libobjs" = "X " && libobjs= fi # Expand the library linking commands again to reset the # value of $libobjs for piecewise linking. # Do each of the archive commands. if test "$module" = yes && test -n "$module_cmds" ; then if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then cmds=$module_expsym_cmds else cmds=$module_cmds fi else if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then cmds=$archive_expsym_cmds else cmds=$archive_cmds fi fi fi if test -n "$delfiles"; then # Append the command to remove temporary files to $cmds. eval cmds=\"\$cmds~\$RM $delfiles\" fi # Add any objects from preloaded convenience libraries if test -n "$dlprefiles"; then gentop="$output_objdir/${outputname}x" func_append generated " $gentop" func_extract_archives $gentop $dlprefiles func_append libobjs " $func_extract_archives_result" test "X$libobjs" = "X " && libobjs= fi save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $opt_silent || { func_quote_for_expand "$cmd" eval "func_echo $func_quote_for_expand_result" } $opt_dry_run || eval "$cmd" || { lt_exit=$? # Restore the uninstalled library and exit if test "$opt_mode" = relink; then ( cd "$output_objdir" && \ $RM "${realname}T" && \ $MV "${realname}U" "$realname" ) fi exit $lt_exit } done IFS="$save_ifs" # Restore the uninstalled library and exit if test "$opt_mode" = relink; then $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $? if test -n "$convenience"; then if test -z "$whole_archive_flag_spec"; then func_show_eval '${RM}r "$gentop"' fi fi exit $EXIT_SUCCESS fi # Create links to the real library. for linkname in $linknames; do if test "$realname" != "$linkname"; then func_show_eval '(cd "$output_objdir" && $RM "$linkname" && $LN_S "$realname" "$linkname")' 'exit $?' fi done # If -module or -export-dynamic was specified, set the dlname. if test "$module" = yes || test "$export_dynamic" = yes; then # On all known operating systems, these are identical. dlname="$soname" fi fi ;; obj) if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then func_warning "\`-dlopen' is ignored for objects" fi case " $deplibs" in *\ -l* | *\ -L*) func_warning "\`-l' and \`-L' are ignored for objects" ;; esac test -n "$rpath" && \ func_warning "\`-rpath' is ignored for objects" test -n "$xrpath" && \ func_warning "\`-R' is ignored for objects" test -n "$vinfo" && \ func_warning "\`-version-info' is ignored for objects" test -n "$release" && \ func_warning "\`-release' is ignored for objects" case $output in *.lo) test -n "$objs$old_deplibs" && \ func_fatal_error "cannot build library object \`$output' from non-libtool objects" libobj=$output func_lo2o "$libobj" obj=$func_lo2o_result ;; *) libobj= obj="$output" ;; esac # Delete the old objects. $opt_dry_run || $RM $obj $libobj # Objects from convenience libraries. This assumes # single-version convenience libraries. Whenever we create # different ones for PIC/non-PIC, this we'll have to duplicate # the extraction. reload_conv_objs= gentop= # reload_cmds runs $LD directly, so let us get rid of # -Wl from whole_archive_flag_spec and hope we can get by with # turning comma into space.. wl= if test -n "$convenience"; then if test -n "$whole_archive_flag_spec"; then eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\" reload_conv_objs=$reload_objs\ `$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'` else gentop="$output_objdir/${obj}x" func_append generated " $gentop" func_extract_archives $gentop $convenience reload_conv_objs="$reload_objs $func_extract_archives_result" fi fi # If we're not building shared, we need to use non_pic_objs test "$build_libtool_libs" != yes && libobjs="$non_pic_objects" # Create the old-style object. reload_objs="$objs$old_deplibs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; /\.lib$/d; $lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test output="$obj" func_execute_cmds "$reload_cmds" 'exit $?' # Exit if we aren't doing a library object file. if test -z "$libobj"; then if test -n "$gentop"; then func_show_eval '${RM}r "$gentop"' fi exit $EXIT_SUCCESS fi if test "$build_libtool_libs" != yes; then if test -n "$gentop"; then func_show_eval '${RM}r "$gentop"' fi # Create an invalid libtool object if no PIC, so that we don't # accidentally link it into a program. # $show "echo timestamp > $libobj" # $opt_dry_run || eval "echo timestamp > $libobj" || exit $? exit $EXIT_SUCCESS fi if test -n "$pic_flag" || test "$pic_mode" != default; then # Only do commands if we really have different PIC objects. reload_objs="$libobjs $reload_conv_objs" output="$libobj" func_execute_cmds "$reload_cmds" 'exit $?' fi if test -n "$gentop"; then func_show_eval '${RM}r "$gentop"' fi exit $EXIT_SUCCESS ;; prog) case $host in *cygwin*) func_stripname '' '.exe' "$output" output=$func_stripname_result.exe;; esac test -n "$vinfo" && \ func_warning "\`-version-info' is ignored for programs" test -n "$release" && \ func_warning "\`-release' is ignored for programs" test "$preload" = yes \ && test "$dlopen_support" = unknown \ && test "$dlopen_self" = unknown \ && test "$dlopen_self_static" = unknown && \ func_warning "\`LT_INIT([dlopen])' not used. Assuming no dlopen support." case $host in *-*-rhapsody* | *-*-darwin1.[012]) # On Rhapsody replace the C library is the System framework compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's/ -lc / System.ltframework /'` finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's/ -lc / System.ltframework /'` ;; esac case $host in *-*-darwin*) # Don't allow lazy linking, it breaks C++ global constructors # But is supposedly fixed on 10.4 or later (yay!). if test "$tagname" = CXX ; then case ${MACOSX_DEPLOYMENT_TARGET-10.0} in 10.[0123]) func_append compile_command " ${wl}-bind_at_load" func_append finalize_command " ${wl}-bind_at_load" ;; esac fi # Time to change all our "foo.ltframework" stuff back to "-framework foo" compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` ;; esac # move library search paths that coincide with paths to not yet # installed libraries to the beginning of the library search list new_libs= for path in $notinst_path; do case " $new_libs " in *" -L$path/$objdir "*) ;; *) case " $compile_deplibs " in *" -L$path/$objdir "*) func_append new_libs " -L$path/$objdir" ;; esac ;; esac done for deplib in $compile_deplibs; do case $deplib in -L*) case " $new_libs " in *" $deplib "*) ;; *) func_append new_libs " $deplib" ;; esac ;; *) func_append new_libs " $deplib" ;; esac done compile_deplibs="$new_libs" func_append compile_command " $compile_deplibs" func_append finalize_command " $finalize_deplibs" if test -n "$rpath$xrpath"; then # If the user specified any rpath flags, then add them. for libdir in $rpath $xrpath; do # This is the magic to use -rpath. case "$finalize_rpath " in *" $libdir "*) ;; *) func_append finalize_rpath " $libdir" ;; esac done fi # Now hardcode the library paths rpath= hardcode_libdirs= for libdir in $compile_rpath $finalize_rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs="$libdir" else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" func_append rpath " $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; *) func_append perm_rpath " $libdir" ;; esac fi case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) testbindir=`${ECHO} "$libdir" | ${SED} -e 's*/lib$*/bin*'` case :$dllsearchpath: in *":$libdir:"*) ;; ::) dllsearchpath=$libdir;; *) func_append dllsearchpath ":$libdir";; esac case :$dllsearchpath: in *":$testbindir:"*) ;; ::) dllsearchpath=$testbindir;; *) func_append dllsearchpath ":$testbindir";; esac ;; esac done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" eval rpath=\" $hardcode_libdir_flag_spec\" fi compile_rpath="$rpath" rpath= hardcode_libdirs= for libdir in $finalize_rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs="$libdir" else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" func_append rpath " $flag" fi elif test -n "$runpath_var"; then case "$finalize_perm_rpath " in *" $libdir "*) ;; *) func_append finalize_perm_rpath " $libdir" ;; esac fi done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" eval rpath=\" $hardcode_libdir_flag_spec\" fi finalize_rpath="$rpath" if test -n "$libobjs" && test "$build_old_libs" = yes; then # Transform all the library objects into standard objects. compile_command=`$ECHO "$compile_command" | $SP2NL | $SED "$lo2o" | $NL2SP` finalize_command=`$ECHO "$finalize_command" | $SP2NL | $SED "$lo2o" | $NL2SP` fi func_generate_dlsyms "$outputname" "@PROGRAM@" "no" # template prelinking step if test -n "$prelink_cmds"; then func_execute_cmds "$prelink_cmds" 'exit $?' fi wrappers_required=yes case $host in *cegcc* | *mingw32ce*) # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway. wrappers_required=no ;; *cygwin* | *mingw* ) if test "$build_libtool_libs" != yes; then wrappers_required=no fi ;; *) if test "$need_relink" = no || test "$build_libtool_libs" != yes; then wrappers_required=no fi ;; esac if test "$wrappers_required" = no; then # Replace the output file specification. compile_command=`$ECHO "$compile_command" | $SED 's%@OUTPUT@%'"$output"'%g'` link_command="$compile_command$compile_rpath" # We have no uninstalled library dependencies, so finalize right now. exit_status=0 func_show_eval "$link_command" 'exit_status=$?' if test -n "$postlink_cmds"; then func_to_tool_file "$output" postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` func_execute_cmds "$postlink_cmds" 'exit $?' fi # Delete the generated files. if test -f "$output_objdir/${outputname}S.${objext}"; then func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"' fi exit $exit_status fi if test -n "$compile_shlibpath$finalize_shlibpath"; then compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command" fi if test -n "$finalize_shlibpath"; then finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command" fi compile_var= finalize_var= if test -n "$runpath_var"; then if test -n "$perm_rpath"; then # We should set the runpath_var. rpath= for dir in $perm_rpath; do func_append rpath "$dir:" done compile_var="$runpath_var=\"$rpath\$$runpath_var\" " fi if test -n "$finalize_perm_rpath"; then # We should set the runpath_var. rpath= for dir in $finalize_perm_rpath; do func_append rpath "$dir:" done finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " fi fi if test "$no_install" = yes; then # We don't need to create a wrapper script. link_command="$compile_var$compile_command$compile_rpath" # Replace the output file specification. link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output"'%g'` # Delete the old output file. $opt_dry_run || $RM $output # Link the executable and exit func_show_eval "$link_command" 'exit $?' if test -n "$postlink_cmds"; then func_to_tool_file "$output" postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` func_execute_cmds "$postlink_cmds" 'exit $?' fi exit $EXIT_SUCCESS fi if test "$hardcode_action" = relink; then # Fast installation is not supported link_command="$compile_var$compile_command$compile_rpath" relink_command="$finalize_var$finalize_command$finalize_rpath" func_warning "this platform does not like uninstalled shared libraries" func_warning "\`$output' will be relinked during installation" else if test "$fast_install" != no; then link_command="$finalize_var$compile_command$finalize_rpath" if test "$fast_install" = yes; then relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'` else # fast_install is set to needless relink_command= fi else link_command="$compile_var$compile_command$compile_rpath" relink_command="$finalize_var$finalize_command$finalize_rpath" fi fi # Replace the output file specification. link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` # Delete the old output files. $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname func_show_eval "$link_command" 'exit $?' if test -n "$postlink_cmds"; then func_to_tool_file "$output_objdir/$outputname" postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` func_execute_cmds "$postlink_cmds" 'exit $?' fi # Now create the wrapper script. func_verbose "creating $output" # Quote the relink command for shipping. if test -n "$relink_command"; then # Preserve any variables that may affect compiler behavior for var in $variables_saved_for_relink; do if eval test -z \"\${$var+set}\"; then relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" elif eval var_value=\$$var; test -z "$var_value"; then relink_command="$var=; export $var; $relink_command" else func_quote_for_eval "$var_value" relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" fi done relink_command="(cd `pwd`; $relink_command)" relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` fi # Only actually do things if not in dry run mode. $opt_dry_run || { # win32 will think the script is a binary if it has # a .exe suffix, so we strip it off here. case $output in *.exe) func_stripname '' '.exe' "$output" output=$func_stripname_result ;; esac # test for cygwin because mv fails w/o .exe extensions case $host in *cygwin*) exeext=.exe func_stripname '' '.exe' "$outputname" outputname=$func_stripname_result ;; *) exeext= ;; esac case $host in *cygwin* | *mingw* ) func_dirname_and_basename "$output" "" "." output_name=$func_basename_result output_path=$func_dirname_result cwrappersource="$output_path/$objdir/lt-$output_name.c" cwrapper="$output_path/$output_name.exe" $RM $cwrappersource $cwrapper trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15 func_emit_cwrapperexe_src > $cwrappersource # The wrapper executable is built using the $host compiler, # because it contains $host paths and files. If cross- # compiling, it, like the target executable, must be # executed on the $host or under an emulation environment. $opt_dry_run || { $LTCC $LTCFLAGS -o $cwrapper $cwrappersource $STRIP $cwrapper } # Now, create the wrapper script for func_source use: func_ltwrapper_scriptname $cwrapper $RM $func_ltwrapper_scriptname_result trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15 $opt_dry_run || { # note: this script will not be executed, so do not chmod. if test "x$build" = "x$host" ; then $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result else func_emit_wrapper no > $func_ltwrapper_scriptname_result fi } ;; * ) $RM $output trap "$RM $output; exit $EXIT_FAILURE" 1 2 15 func_emit_wrapper no > $output chmod +x $output ;; esac } exit $EXIT_SUCCESS ;; esac # See if we need to build an old-fashioned archive. for oldlib in $oldlibs; do if test "$build_libtool_libs" = convenience; then oldobjs="$libobjs_save $symfileobj" addlibs="$convenience" build_libtool_libs=no else if test "$build_libtool_libs" = module; then oldobjs="$libobjs_save" build_libtool_libs=no else oldobjs="$old_deplibs $non_pic_objects" if test "$preload" = yes && test -f "$symfileobj"; then func_append oldobjs " $symfileobj" fi fi addlibs="$old_convenience" fi if test -n "$addlibs"; then gentop="$output_objdir/${outputname}x" func_append generated " $gentop" func_extract_archives $gentop $addlibs func_append oldobjs " $func_extract_archives_result" fi # Do each command in the archive commands. if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then cmds=$old_archive_from_new_cmds else # Add any objects from preloaded convenience libraries if test -n "$dlprefiles"; then gentop="$output_objdir/${outputname}x" func_append generated " $gentop" func_extract_archives $gentop $dlprefiles func_append oldobjs " $func_extract_archives_result" fi # POSIX demands no paths to be encoded in archives. We have # to avoid creating archives with duplicate basenames if we # might have to extract them afterwards, e.g., when creating a # static archive out of a convenience library, or when linking # the entirety of a libtool archive into another (currently # not supported by libtool). if (for obj in $oldobjs do func_basename "$obj" $ECHO "$func_basename_result" done | sort | sort -uc >/dev/null 2>&1); then : else echo "copying selected object files to avoid basename conflicts..." gentop="$output_objdir/${outputname}x" func_append generated " $gentop" func_mkdir_p "$gentop" save_oldobjs=$oldobjs oldobjs= counter=1 for obj in $save_oldobjs do func_basename "$obj" objbase="$func_basename_result" case " $oldobjs " in " ") oldobjs=$obj ;; *[\ /]"$objbase "*) while :; do # Make sure we don't pick an alternate name that also # overlaps. newobj=lt$counter-$objbase func_arith $counter + 1 counter=$func_arith_result case " $oldobjs " in *[\ /]"$newobj "*) ;; *) if test ! -f "$gentop/$newobj"; then break; fi ;; esac done func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj" func_append oldobjs " $gentop/$newobj" ;; *) func_append oldobjs " $obj" ;; esac done fi eval cmds=\"$old_archive_cmds\" func_len " $cmds" len=$func_len_result if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then cmds=$old_archive_cmds elif test -n "$archiver_list_spec"; then func_verbose "using command file archive linking..." for obj in $oldobjs do func_to_tool_file "$obj" $ECHO "$func_to_tool_file_result" done > $output_objdir/$libname.libcmd func_to_tool_file "$output_objdir/$libname.libcmd" oldobjs=" $archiver_list_spec$func_to_tool_file_result" cmds=$old_archive_cmds else # the command line is too long to link in one step, link in parts func_verbose "using piecewise archive linking..." save_RANLIB=$RANLIB RANLIB=: objlist= concat_cmds= save_oldobjs=$oldobjs oldobjs= # Is there a better way of finding the last object in the list? for obj in $save_oldobjs do last_oldobj=$obj done eval test_cmds=\"$old_archive_cmds\" func_len " $test_cmds" len0=$func_len_result len=$len0 for obj in $save_oldobjs do func_len " $obj" func_arith $len + $func_len_result len=$func_arith_result func_append objlist " $obj" if test "$len" -lt "$max_cmd_len"; then : else # the above command should be used before it gets too long oldobjs=$objlist if test "$obj" = "$last_oldobj" ; then RANLIB=$save_RANLIB fi test -z "$concat_cmds" || concat_cmds=$concat_cmds~ eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\" objlist= len=$len0 fi done RANLIB=$save_RANLIB oldobjs=$objlist if test "X$oldobjs" = "X" ; then eval cmds=\"\$concat_cmds\" else eval cmds=\"\$concat_cmds~\$old_archive_cmds\" fi fi fi func_execute_cmds "$cmds" 'exit $?' done test -n "$generated" && \ func_show_eval "${RM}r$generated" # Now create the libtool archive. case $output in *.la) old_library= test "$build_old_libs" = yes && old_library="$libname.$libext" func_verbose "creating $output" # Preserve any variables that may affect compiler behavior for var in $variables_saved_for_relink; do if eval test -z \"\${$var+set}\"; then relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" elif eval var_value=\$$var; test -z "$var_value"; then relink_command="$var=; export $var; $relink_command" else func_quote_for_eval "$var_value" relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" fi done # Quote the link command for shipping. relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` if test "$hardcode_automatic" = yes ; then relink_command= fi # Only create the output if not a dry run. $opt_dry_run || { for installed in no yes; do if test "$installed" = yes; then if test -z "$install_libdir"; then break fi output="$output_objdir/$outputname"i # Replace all uninstalled libtool libraries with the installed ones newdependency_libs= for deplib in $dependency_libs; do case $deplib in *.la) func_basename "$deplib" name="$func_basename_result" eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` test -z "$libdir" && \ func_fatal_error "\`$deplib' is not a valid libtool archive" func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name" ;; -L*) func_stripname -L '' "$deplib" func_replace_sysroot "$func_stripname_result" func_append newdependency_libs " -L$func_replace_sysroot_result" ;; -R*) func_stripname -R '' "$deplib" func_replace_sysroot "$func_stripname_result" func_append newdependency_libs " -R$func_replace_sysroot_result" ;; *) func_append newdependency_libs " $deplib" ;; esac done dependency_libs="$newdependency_libs" newdlfiles= for lib in $dlfiles; do case $lib in *.la) func_basename "$lib" name="$func_basename_result" eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` test -z "$libdir" && \ func_fatal_error "\`$lib' is not a valid libtool archive" func_append newdlfiles " ${lt_sysroot:+=}$libdir/$name" ;; *) func_append newdlfiles " $lib" ;; esac done dlfiles="$newdlfiles" newdlprefiles= for lib in $dlprefiles; do case $lib in *.la) # Only pass preopened files to the pseudo-archive (for # eventual linking with the app. that links it) if we # didn't already link the preopened objects directly into # the library: func_basename "$lib" name="$func_basename_result" eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` test -z "$libdir" && \ func_fatal_error "\`$lib' is not a valid libtool archive" func_append newdlprefiles " ${lt_sysroot:+=}$libdir/$name" ;; esac done dlprefiles="$newdlprefiles" else newdlfiles= for lib in $dlfiles; do case $lib in [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; *) abs=`pwd`"/$lib" ;; esac func_append newdlfiles " $abs" done dlfiles="$newdlfiles" newdlprefiles= for lib in $dlprefiles; do case $lib in [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; *) abs=`pwd`"/$lib" ;; esac func_append newdlprefiles " $abs" done dlprefiles="$newdlprefiles" fi $RM $output # place dlname in correct position for cygwin # In fact, it would be nice if we could use this code for all target # systems that can't hard-code library paths into their executables # and that have no shared library path variable independent of PATH, # but it turns out we can't easily determine that from inspecting # libtool variables, so we have to hard-code the OSs to which it # applies here; at the moment, that means platforms that use the PE # object format with DLL files. See the long comment at the top of # tests/bindir.at for full details. tdlname=$dlname case $host,$output,$installed,$module,$dlname in *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) # If a -bindir argument was supplied, place the dll there. if test "x$bindir" != x ; then func_relative_path "$install_libdir" "$bindir" tdlname=$func_relative_path_result$dlname else # Otherwise fall back on heuristic. tdlname=../bin/$dlname fi ;; esac $ECHO > $output "\ # $outputname - a libtool library file # Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION # # Please DO NOT delete this file! # It is necessary for linking the library. # The name that we can dlopen(3). dlname='$tdlname' # Names of this library. library_names='$library_names' # The name of the static archive. old_library='$old_library' # Linker flags that can not go in dependency_libs. inherited_linker_flags='$new_inherited_linker_flags' # Libraries that this one depends upon. dependency_libs='$dependency_libs' # Names of additional weak libraries provided by this library weak_library_names='$weak_libs' # Version information for $libname. current=$current age=$age revision=$revision # Is this an already installed library? installed=$installed # Should we warn about portability when linking against -modules? shouldnotlink=$module # Files to dlopen/dlpreopen dlopen='$dlfiles' dlpreopen='$dlprefiles' # Directory that this library needs to be installed in: libdir='$install_libdir'" if test "$installed" = no && test "$need_relink" = yes; then $ECHO >> $output "\ relink_command=\"$relink_command\"" fi done } # Do a symbolic link so that the libtool archive can be found in # LD_LIBRARY_PATH before the program is installed. func_show_eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )' 'exit $?' ;; esac exit $EXIT_SUCCESS } { test "$opt_mode" = link || test "$opt_mode" = relink; } && func_mode_link ${1+"$@"} # func_mode_uninstall arg... func_mode_uninstall () { $opt_debug RM="$nonopt" files= rmforce= exit_status=0 # This variable tells wrapper scripts just to set variables rather # than running their programs. libtool_install_magic="$magic" for arg do case $arg in -f) func_append RM " $arg"; rmforce=yes ;; -*) func_append RM " $arg" ;; *) func_append files " $arg" ;; esac done test -z "$RM" && \ func_fatal_help "you must specify an RM program" rmdirs= for file in $files; do func_dirname "$file" "" "." dir="$func_dirname_result" if test "X$dir" = X.; then odir="$objdir" else odir="$dir/$objdir" fi func_basename "$file" name="$func_basename_result" test "$opt_mode" = uninstall && odir="$dir" # Remember odir for removal later, being careful to avoid duplicates if test "$opt_mode" = clean; then case " $rmdirs " in *" $odir "*) ;; *) func_append rmdirs " $odir" ;; esac fi # Don't error if the file doesn't exist and rm -f was used. if { test -L "$file"; } >/dev/null 2>&1 || { test -h "$file"; } >/dev/null 2>&1 || test -f "$file"; then : elif test -d "$file"; then exit_status=1 continue elif test "$rmforce" = yes; then continue fi rmfiles="$file" case $name in *.la) # Possibly a libtool archive, so verify it. if func_lalib_p "$file"; then func_source $dir/$name # Delete the libtool libraries and symlinks. for n in $library_names; do func_append rmfiles " $odir/$n" done test -n "$old_library" && func_append rmfiles " $odir/$old_library" case "$opt_mode" in clean) case " $library_names " in *" $dlname "*) ;; *) test -n "$dlname" && func_append rmfiles " $odir/$dlname" ;; esac test -n "$libdir" && func_append rmfiles " $odir/$name $odir/${name}i" ;; uninstall) if test -n "$library_names"; then # Do each command in the postuninstall commands. func_execute_cmds "$postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1' fi if test -n "$old_library"; then # Do each command in the old_postuninstall commands. func_execute_cmds "$old_postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1' fi # FIXME: should reinstall the best remaining shared library. ;; esac fi ;; *.lo) # Possibly a libtool object, so verify it. if func_lalib_p "$file"; then # Read the .lo file func_source $dir/$name # Add PIC object to the list of files to remove. if test -n "$pic_object" && test "$pic_object" != none; then func_append rmfiles " $dir/$pic_object" fi # Add non-PIC object to the list of files to remove. if test -n "$non_pic_object" && test "$non_pic_object" != none; then func_append rmfiles " $dir/$non_pic_object" fi fi ;; *) if test "$opt_mode" = clean ; then noexename=$name case $file in *.exe) func_stripname '' '.exe' "$file" file=$func_stripname_result func_stripname '' '.exe' "$name" noexename=$func_stripname_result # $file with .exe has already been added to rmfiles, # add $file without .exe func_append rmfiles " $file" ;; esac # Do a test to see if this is a libtool program. if func_ltwrapper_p "$file"; then if func_ltwrapper_executable_p "$file"; then func_ltwrapper_scriptname "$file" relink_command= func_source $func_ltwrapper_scriptname_result func_append rmfiles " $func_ltwrapper_scriptname_result" else relink_command= func_source $dir/$noexename fi # note $name still contains .exe if it was in $file originally # as does the version of $file that was added into $rmfiles func_append rmfiles " $odir/$name $odir/${name}S.${objext}" if test "$fast_install" = yes && test -n "$relink_command"; then func_append rmfiles " $odir/lt-$name" fi if test "X$noexename" != "X$name" ; then func_append rmfiles " $odir/lt-${noexename}.c" fi fi fi ;; esac func_show_eval "$RM $rmfiles" 'exit_status=1' done # Try to remove the ${objdir}s in the directories where we deleted files for dir in $rmdirs; do if test -d "$dir"; then func_show_eval "rmdir $dir >/dev/null 2>&1" fi done exit $exit_status } { test "$opt_mode" = uninstall || test "$opt_mode" = clean; } && func_mode_uninstall ${1+"$@"} test -z "$opt_mode" && { help="$generic_help" func_fatal_help "you must specify a MODE" } test -z "$exec_cmd" && \ func_fatal_help "invalid operation mode \`$opt_mode'" if test -n "$exec_cmd"; then eval exec "$exec_cmd" exit $EXIT_FAILURE fi exit $exit_status # The TAGs below are defined such that we never get into a situation # in which we disable both kinds of libraries. Given conflicting # choices, we go for a static library, that is the most portable, # since we can't tell whether shared libraries were disabled because # the user asked for that or because the platform doesn't support # them. This is particularly important on AIX, because we don't # support having both static and shared libraries enabled at the same # time on that platform, so we default to a shared-only configuration. # If a disable-shared tag is given, we'll fallback to a static-only # configuration. But we'll never go from static-only to shared-only. # ### BEGIN LIBTOOL TAG CONFIG: disable-shared build_libtool_libs=no build_old_libs=yes # ### END LIBTOOL TAG CONFIG: disable-shared # ### BEGIN LIBTOOL TAG CONFIG: disable-static build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac` # ### END LIBTOOL TAG CONFIG: disable-static # Local Variables: # mode:shell-script # sh-indentation:2 # End: # vi:sw=2 idjc-0.8.9/config.guess0000755000175000017500000013030712074047627011717 00000000000000#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, # 2011, 2012 Free Software Foundation, Inc. timestamp='2012-09-25' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, see . # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Per Bothner. Please send patches (context # diff format) to and include a ChangeLog # entry. # # This script attempts to guess a canonical system name similar to # config.sub. If it succeeds, it prints the system name on stdout, and # exits with 0. Otherwise, it exits with 1. # # You can get the latest version of this script from: # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] Output the configuration name of the system \`$me' is run on. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" >&2 exit 1 ;; * ) break ;; esac done if test $# != 0; then echo "$me: too many arguments$help" >&2 exit 1 fi trap 'exit 1' 1 2 15 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a # compiler to aid in system detection is discouraged as it requires # temporary files to be created and, as you can see below, it is a # headache to deal with in a portable fashion. # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still # use `HOST_CC' if defined, but it is deprecated. # Portable tmp directory creation inspired by the Autoconf team. set_cc_for_build=' trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; : ${TMPDIR=/tmp} ; { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; dummy=$tmp/dummy ; tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; case $CC_FOR_BUILD,$HOST_CC,$CC in ,,) echo "int x;" > $dummy.c ; for c in cc gcc c89 c99 ; do if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then CC_FOR_BUILD="$c"; break ; fi ; done ; if test x"$CC_FOR_BUILD" = x ; then CC_FOR_BUILD=no_compiler_found ; fi ;; ,,*) CC_FOR_BUILD=$CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;; esac ; set_cc_for_build= ;' # This is needed to find uname on a Pyramid OSx when run in the BSD universe. # (ghazi@noc.rutgers.edu 1994-08-24) if (test -f /.attbin/uname) >/dev/null 2>&1 ; then PATH=$PATH:/.attbin ; export PATH fi UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown case "${UNAME_SYSTEM}" in Linux|GNU/*) eval $set_cc_for_build cat <<-EOF > $dummy.c #include #ifdef __UCLIBC__ # ifdef __UCLIBC_CONFIG_VERSION__ LIBC=uclibc __UCLIBC_CONFIG_VERSION__ # else LIBC=uclibc # endif #else # ifdef __dietlibc__ LIBC=dietlibc # else LIBC=gnu # endif #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` ;; esac # Note: order is significant - the case branches are not exclusive. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in *:NetBSD:*:*) # NetBSD (nbsd) targets should (where applicable) match one or # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently # switched to ELF, *-*-netbsd* would select the old # object file format. This provides both forward # compatibility and a consistent mechanism for selecting the # object file format. # # Note: NetBSD doesn't particularly care about the vendor # portion of the name. We always set it to "unknown". sysctl="sysctl -n hw.machine_arch" UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ /usr/sbin/$sysctl 2>/dev/null || echo unknown)` case "${UNAME_MACHINE_ARCH}" in armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; sh3eb) machine=sh-unknown ;; sh5el) machine=sh5le-unknown ;; *) machine=${UNAME_MACHINE_ARCH}-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently, or will in the future. case "${UNAME_MACHINE_ARCH}" in arm*|i386|m68k|ns32k|sh3*|sparc|vax) eval $set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ELF__ then # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). # Return netbsd for either. FIX? os=netbsd else os=netbsdelf fi ;; *) os=netbsd ;; esac # The OS release # Debian GNU/NetBSD machines have a different userland, and # thus, need a distinct triplet. However, they do not need # kernel version information, so it can be replaced with a # suitable tag, in the style of linux-gnu. case "${UNAME_VERSION}" in Debian*) release='-gnu' ;; *) release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` ;; esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "${machine}-${os}${release}" exit ;; *:Bitrig:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE} exit ;; *:OpenBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} exit ;; *:ekkoBSD:*:*) echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} exit ;; *:SolidBSD:*:*) echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} exit ;; macppc:MirBSD:*:*) echo powerpc-unknown-mirbsd${UNAME_RELEASE} exit ;; *:MirBSD:*:*) echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} exit ;; alpha:OSF1:*:*) case $UNAME_RELEASE in *4.0) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` ;; *5.*) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` ;; esac # According to Compaq, /usr/sbin/psrinfo has been available on # OSF/1 and Tru64 systems produced since 1995. I hope that # covers most systems running today. This code pipes the CPU # types through head -n 1, so we only detect the type of CPU 0. ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` case "$ALPHA_CPU_TYPE" in "EV4 (21064)") UNAME_MACHINE="alpha" ;; "EV4.5 (21064)") UNAME_MACHINE="alpha" ;; "LCA4 (21066/21068)") UNAME_MACHINE="alpha" ;; "EV5 (21164)") UNAME_MACHINE="alphaev5" ;; "EV5.6 (21164A)") UNAME_MACHINE="alphaev56" ;; "EV5.6 (21164PC)") UNAME_MACHINE="alphapca56" ;; "EV5.7 (21164PC)") UNAME_MACHINE="alphapca57" ;; "EV6 (21264)") UNAME_MACHINE="alphaev6" ;; "EV6.7 (21264A)") UNAME_MACHINE="alphaev67" ;; "EV6.8CB (21264C)") UNAME_MACHINE="alphaev68" ;; "EV6.8AL (21264B)") UNAME_MACHINE="alphaev68" ;; "EV6.8CX (21264D)") UNAME_MACHINE="alphaev68" ;; "EV6.9A (21264/EV69A)") UNAME_MACHINE="alphaev69" ;; "EV7 (21364)") UNAME_MACHINE="alphaev7" ;; "EV7.9 (21364A)") UNAME_MACHINE="alphaev79" ;; esac # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` # Reset EXIT trap before exiting to avoid spurious non-zero exit code. exitcode=$? trap '' 0 exit $exitcode ;; Alpha\ *:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # Should we change UNAME_MACHINE based on the output of uname instead # of the specific Alpha model? echo alpha-pc-interix exit ;; 21064:Windows_NT:50:3) echo alpha-dec-winnt3.5 exit ;; Amiga*:UNIX_System_V:4.0:*) echo m68k-unknown-sysv4 exit ;; *:[Aa]miga[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-amigaos exit ;; *:[Mm]orph[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-morphos exit ;; *:OS/390:*:*) echo i370-ibm-openedition exit ;; *:z/VM:*:*) echo s390-ibm-zvmoe exit ;; *:OS400:*:*) echo powerpc-ibm-os400 exit ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit ;; arm*:riscos:*:*|arm*:RISCOS:*:*) echo arm-unknown-riscos exit ;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) echo hppa1.1-hitachi-hiuxmpp exit ;; Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. if test "`(/bin/universe) 2>/dev/null`" = att ; then echo pyramid-pyramid-sysv3 else echo pyramid-pyramid-bsd fi exit ;; NILE*:*:*:dcosx) echo pyramid-pyramid-svr4 exit ;; DRS?6000:unix:4.0:6*) echo sparc-icl-nx6 exit ;; DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) case `/usr/bin/uname -p` in sparc) echo sparc-icl-nx7; exit ;; esac ;; s390x:SunOS:*:*) echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) echo i386-pc-auroraux${UNAME_RELEASE} exit ;; i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) eval $set_cc_for_build SUN_ARCH="i386" # If there is a compiler, see if it is configured for 64-bit objects. # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. # This test works for both compilers. if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then SUN_ARCH="x86_64" fi fi echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize # SunOS6. Hard to guess exactly what SunOS6 will be like, but # it's likely to be more like Solaris than SunOS4. echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:*:*) case "`/usr/bin/arch -k`" in Series*|S4*) UNAME_RELEASE=`uname -v` ;; esac # Japanese Language versions have a version number like `4.1.3-JL'. echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` exit ;; sun3*:SunOS:*:*) echo m68k-sun-sunos${UNAME_RELEASE} exit ;; sun*:*:4.2BSD:*) UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 case "`/bin/arch`" in sun3) echo m68k-sun-sunos${UNAME_RELEASE} ;; sun4) echo sparc-sun-sunos${UNAME_RELEASE} ;; esac exit ;; aushp:SunOS:*:*) echo sparc-auspex-sunos${UNAME_RELEASE} exit ;; # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not # "atarist" or "atariste" at least should have a processor # > m68000). The system name ranges from "MiNT" over "FreeMiNT" # to the lowercase version "mint" (or "freemint"). Finally # the system name "TOS" denotes a system which is actually not # MiNT. But MiNT is downward compatible to TOS, so this should # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) echo m68k-milan-mint${UNAME_RELEASE} exit ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) echo m68k-hades-mint${UNAME_RELEASE} exit ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) echo m68k-unknown-mint${UNAME_RELEASE} exit ;; m68k:machten:*:*) echo m68k-apple-machten${UNAME_RELEASE} exit ;; powerpc:machten:*:*) echo powerpc-apple-machten${UNAME_RELEASE} exit ;; RISC*:Mach:*:*) echo mips-dec-mach_bsd4.3 exit ;; RISC*:ULTRIX:*:*) echo mips-dec-ultrix${UNAME_RELEASE} exit ;; VAX*:ULTRIX*:*:*) echo vax-dec-ultrix${UNAME_RELEASE} exit ;; 2020:CLIX:*:* | 2430:CLIX:*:*) echo clipper-intergraph-clix${UNAME_RELEASE} exit ;; mips:*:*:UMIPS | mips:*:*:RISCos) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #ifdef __cplusplus #include /* for printf() prototype */ int main (int argc, char *argv[]) { #else int main (argc, argv) int argc; char *argv[]; { #endif #if defined (host_mips) && defined (MIPSEB) #if defined (SYSTYPE_SYSV) printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_SVR4) printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); #endif #endif exit (-1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && SYSTEM_NAME=`$dummy $dummyarg` && { echo "$SYSTEM_NAME"; exit; } echo mips-mips-riscos${UNAME_RELEASE} exit ;; Motorola:PowerMAX_OS:*:*) echo powerpc-motorola-powermax exit ;; Motorola:*:4.3:PL8-*) echo powerpc-harris-powermax exit ;; Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) echo powerpc-harris-powermax exit ;; Night_Hawk:Power_UNIX:*:*) echo powerpc-harris-powerunix exit ;; m88k:CX/UX:7*:*) echo m88k-harris-cxux7 exit ;; m88k:*:4*:R4*) echo m88k-motorola-sysv4 exit ;; m88k:*:3*:R3*) echo m88k-motorola-sysv3 exit ;; AViiON:dgux:*:*) # DG/UX returns AViiON for all architectures UNAME_PROCESSOR=`/usr/bin/uname -p` if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] then if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ [ ${TARGET_BINARY_INTERFACE}x = x ] then echo m88k-dg-dgux${UNAME_RELEASE} else echo m88k-dg-dguxbcs${UNAME_RELEASE} fi else echo i586-dg-dgux${UNAME_RELEASE} fi exit ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) echo m88k-dolphin-sysv3 exit ;; M88*:*:R3*:*) # Delta 88k system running SVR3 echo m88k-motorola-sysv3 exit ;; XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) echo m88k-tektronix-sysv3 exit ;; Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) echo m68k-tektronix-bsd exit ;; *:IRIX*:*:*) echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` exit ;; ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' i*86:AIX:*:*) echo i386-ibm-aix exit ;; ia64:AIX:*:*) if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} exit ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include main() { if (!__power_pc()) exit(1); puts("powerpc-ibm-aix3.2.5"); exit(0); } EOF if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` then echo "$SYSTEM_NAME" else echo rs6000-ibm-aix3.2.5 fi elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then echo rs6000-ibm-aix3.2.4 else echo rs6000-ibm-aix3.2 fi exit ;; *:AIX:*:[4567]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 else IBM_ARCH=powerpc fi if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${IBM_ARCH}-ibm-aix${IBM_REV} exit ;; *:AIX:*:*) echo rs6000-ibm-aix exit ;; ibmrt:4.4BSD:*|romp-ibm:BSD:*) echo romp-ibm-bsd4.4 exit ;; ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to exit ;; # report: romp-ibm BSD 4.3 *:BOSX:*:*) echo rs6000-bull-bosx exit ;; DPX/2?00:B.O.S.:*:*) echo m68k-bull-sysv3 exit ;; 9000/[34]??:4.3bsd:1.*:*) echo m68k-hp-bsd exit ;; hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) echo m68k-hp-bsd4.4 exit ;; 9000/[34678]??:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` case "${UNAME_MACHINE}" in 9000/31? ) HP_ARCH=m68000 ;; 9000/[34]?? ) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) if [ -x /usr/bin/getconf ]; then sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` case "${sc_cpu_version}" in 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 532) # CPU_PA_RISC2_0 case "${sc_kernel_bits}" in 32) HP_ARCH="hppa2.0n" ;; 64) HP_ARCH="hppa2.0w" ;; '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 esac ;; esac fi if [ "${HP_ARCH}" = "" ]; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #define _HPUX_SOURCE #include #include int main () { #if defined(_SC_KERNEL_BITS) long bits = sysconf(_SC_KERNEL_BITS); #endif long cpu = sysconf (_SC_CPU_VERSION); switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0"); break; case CPU_PA_RISC1_1: puts ("hppa1.1"); break; case CPU_PA_RISC2_0: #if defined(_SC_KERNEL_BITS) switch (bits) { case 64: puts ("hppa2.0w"); break; case 32: puts ("hppa2.0n"); break; default: puts ("hppa2.0"); break; } break; #else /* !defined(_SC_KERNEL_BITS) */ puts ("hppa2.0"); break; #endif default: puts ("hppa1.0"); break; } exit (0); } EOF (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` test -z "$HP_ARCH" && HP_ARCH=hppa fi ;; esac if [ ${HP_ARCH} = "hppa2.0w" ] then eval $set_cc_for_build # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler # generating 64-bit code. GNU and HP use different nomenclature: # # $ CC_FOR_BUILD=cc ./config.guess # => hppa2.0w-hp-hpux11.23 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess # => hppa64-hp-hpux11.23 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | grep -q __LP64__ then HP_ARCH="hppa2.0w" else HP_ARCH="hppa64" fi fi echo ${HP_ARCH}-hp-hpux${HPUX_REV} exit ;; ia64:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` echo ia64-hp-hpux${HPUX_REV} exit ;; 3050*:HI-UX:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include int main () { long cpu = sysconf (_SC_CPU_VERSION); /* The order matters, because CPU_IS_HP_MC68K erroneously returns true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct results, however. */ if (CPU_IS_PA_RISC (cpu)) { switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; default: puts ("hppa-hitachi-hiuxwe2"); break; } } else if (CPU_IS_HP_MC68K (cpu)) puts ("m68k-hitachi-hiuxwe2"); else puts ("unknown-hitachi-hiuxwe2"); exit (0); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } echo unknown-hitachi-hiuxwe2 exit ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) echo hppa1.1-hp-bsd exit ;; 9000/8??:4.3bsd:*:*) echo hppa1.0-hp-bsd exit ;; *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) echo hppa1.0-hp-mpeix exit ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) echo hppa1.1-hp-osf exit ;; hp8??:OSF1:*:*) echo hppa1.0-hp-osf exit ;; i*86:OSF1:*:*) if [ -x /usr/sbin/sysversion ] ; then echo ${UNAME_MACHINE}-unknown-osf1mk else echo ${UNAME_MACHINE}-unknown-osf1 fi exit ;; parisc*:Lites*:*:*) echo hppa1.1-hp-lites exit ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd exit ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd exit ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd exit ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd exit ;; CRAY*Y-MP:*:*:*) echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*[A-Z]90:*:*:*) echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ -e 's/\.[^.]*$/.X/' exit ;; CRAY*TS:*:*:*) echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*T3E:*:*:*) echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*SV1:*:*:*) echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; *:UNICOS/mp:*:*) echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; 5000:UNIX_System_V:4.*:*) FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} exit ;; sparc*:BSD/OS:*:*) echo sparc-unknown-bsdi${UNAME_RELEASE} exit ;; *:BSD/OS:*:*) echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit ;; *:FreeBSD:*:*) UNAME_PROCESSOR=`/usr/bin/uname -p` case ${UNAME_PROCESSOR} in amd64) echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; *) echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; esac exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin exit ;; *:MINGW64*:*) echo ${UNAME_MACHINE}-pc-mingw64 exit ;; *:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit ;; i*:MSYS*:*) echo ${UNAME_MACHINE}-pc-msys exit ;; i*:windows32*:*) # uname -m includes "-pc" on this system. echo ${UNAME_MACHINE}-mingw32 exit ;; i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; *:Interix*:*) case ${UNAME_MACHINE} in x86) echo i586-pc-interix${UNAME_RELEASE} exit ;; authenticamd | genuineintel | EM64T) echo x86_64-unknown-interix${UNAME_RELEASE} exit ;; IA64) echo ia64-unknown-interix${UNAME_RELEASE} exit ;; esac ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks exit ;; 8664:Windows_NT:*) echo x86_64-pc-mks exit ;; i*:Windows_NT*:* | Pentium*:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we # UNAME_MACHINE based on the output of uname instead of i386? echo i586-pc-interix exit ;; i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin exit ;; amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) echo x86_64-unknown-cygwin exit ;; p*:CYGWIN*:*) echo powerpcle-unknown-cygwin exit ;; prep*:SunOS:5.*:*) echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; *:GNU:*:*) # the GNU system echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit ;; *:GNU/*:*:*) # other systems with GNU libc and userland echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC} exit ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix exit ;; aarch64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; aarch64_be:Linux:*:*) UNAME_MACHINE=aarch64_be echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in EV5) UNAME_MACHINE=alphaev5 ;; EV56) UNAME_MACHINE=alphaev56 ;; PCA56) UNAME_MACHINE=alphapca56 ;; PCA57) UNAME_MACHINE=alphapca56 ;; EV6) UNAME_MACHINE=alphaev6 ;; EV67) UNAME_MACHINE=alphaev67 ;; EV68*) UNAME_MACHINE=alphaev68 ;; esac objdump --private-headers /bin/sh | grep -q ld.so.1 if test "$?" = 0 ; then LIBC="gnulibc1" ; fi echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; arm*:Linux:*:*) eval $set_cc_for_build if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_EABI__ then echo ${UNAME_MACHINE}-unknown-linux-${LIBC} else if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_PCS_VFP then echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi else echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf fi fi exit ;; avr32*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; cris:Linux:*:*) echo ${UNAME_MACHINE}-axis-linux-${LIBC} exit ;; crisv32:Linux:*:*) echo ${UNAME_MACHINE}-axis-linux-${LIBC} exit ;; frv:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; hexagon:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; i*86:Linux:*:*) echo ${UNAME_MACHINE}-pc-linux-${LIBC} exit ;; ia64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; m32r*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; m68*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; mips:Linux:*:* | mips64:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef ${UNAME_MACHINE} #undef ${UNAME_MACHINE}el #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=${UNAME_MACHINE}el #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=${UNAME_MACHINE} #else CPU= #endif #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } ;; or32:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; padre:Linux:*:*) echo sparc-unknown-linux-${LIBC} exit ;; parisc64:Linux:*:* | hppa64:Linux:*:*) echo hppa64-unknown-linux-${LIBC} exit ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in PA7*) echo hppa1.1-unknown-linux-${LIBC} ;; PA8*) echo hppa2.0-unknown-linux-${LIBC} ;; *) echo hppa-unknown-linux-${LIBC} ;; esac exit ;; ppc64:Linux:*:*) echo powerpc64-unknown-linux-${LIBC} exit ;; ppc:Linux:*:*) echo powerpc-unknown-linux-${LIBC} exit ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux exit ;; sh64*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; sh*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; tile*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; vax:Linux:*:*) echo ${UNAME_MACHINE}-dec-linux-${LIBC} exit ;; x86_64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; xtensa*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. # earlier versions are messed up and put the nodename in both # sysname and nodename. echo i386-sequent-sysv4 exit ;; i*86:UNIX_SV:4.2MP:2.*) # Unixware is an offshoot of SVR4, but it has its own version # number series starting with 2... # I am not positive that other SVR4 systems won't match this, # I just have to hope. -- rms. # Use sysv4.2uw... so that sysv4* matches it. echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} exit ;; i*86:OS/2:*:*) # If we were able to find `uname', then EMX Unix compatibility # is probably installed. echo ${UNAME_MACHINE}-pc-os2-emx exit ;; i*86:XTS-300:*:STOP) echo ${UNAME_MACHINE}-unknown-stop exit ;; i*86:atheos:*:*) echo ${UNAME_MACHINE}-unknown-atheos exit ;; i*86:syllable:*:*) echo ${UNAME_MACHINE}-pc-syllable exit ;; i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) echo i386-unknown-lynxos${UNAME_RELEASE} exit ;; i*86:*DOS:*:*) echo ${UNAME_MACHINE}-pc-msdosdjgpp exit ;; i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} else echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} fi exit ;; i*86:*:5:[678]*) # UnixWare 7.x, OpenUNIX and OpenServer 6. case `/bin/uname -X | grep "^Machine"` in *486*) UNAME_MACHINE=i486 ;; *Pentium) UNAME_MACHINE=i586 ;; *Pent*|*Celeron) UNAME_MACHINE=i686 ;; esac echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} exit ;; i*86:*:3.2:*) if test -f /usr/options/cb.name; then UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ && UNAME_MACHINE=i586 (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ && UNAME_MACHINE=i686 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ && UNAME_MACHINE=i686 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL else echo ${UNAME_MACHINE}-pc-sysv32 fi exit ;; pc:*:*:*) # Left here for compatibility: # uname -m prints for DJGPP always 'pc', but it prints nothing about # the processor, so we play safe by assuming i586. # Note: whatever this is, it MUST be the same as what config.sub # prints for the "djgpp" host, or else GDB configury will decide that # this is a cross-build. echo i586-pc-msdosdjgpp exit ;; Intel:Mach:3*:*) echo i386-pc-mach3 exit ;; paragon:*:*:*) echo i860-intel-osf1 exit ;; i860:*:4.*:*) # i860-SVR4 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 else # Add other i860-SVR4 vendors below as they are discovered. echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 fi exit ;; mini*:CTIX:SYS*5:*) # "miniframe" echo m68010-convergent-sysv exit ;; mc68k:UNIX:SYSTEM5:3.51m) echo m68k-convergent-sysv exit ;; M680?0:D-NIX:5.3:*) echo m68k-diab-dnix exit ;; M68*:*:R3V[5678]*:*) test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4; exit; } ;; NCR*:*:4.2:* | MPRAS*:*:4.2:*) OS_REL='.3' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) echo m68k-unknown-lynxos${UNAME_RELEASE} exit ;; mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 exit ;; TSUNAMI:LynxOS:2.*:*) echo sparc-unknown-lynxos${UNAME_RELEASE} exit ;; rs6000:LynxOS:2.*:*) echo rs6000-unknown-lynxos${UNAME_RELEASE} exit ;; PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) echo powerpc-unknown-lynxos${UNAME_RELEASE} exit ;; SM[BE]S:UNIX_SV:*:*) echo mips-dde-sysv${UNAME_RELEASE} exit ;; RM*:ReliantUNIX-*:*:*) echo mips-sni-sysv4 exit ;; RM*:SINIX-*:*:*) echo mips-sni-sysv4 exit ;; *:SINIX-*:*:*) if uname -p 2>/dev/null >/dev/null ; then UNAME_MACHINE=`(uname -p) 2>/dev/null` echo ${UNAME_MACHINE}-sni-sysv4 else echo ns32k-sni-sysv fi exit ;; PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort # says echo i586-unisys-sysv4 exit ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm echo hppa1.1-stratus-sysv4 exit ;; *:*:*:FTX*) # From seanf@swdc.stratus.com. echo i860-stratus-sysv4 exit ;; i*86:VOS:*:*) # From Paul.Green@stratus.com. echo ${UNAME_MACHINE}-stratus-vos exit ;; *:VOS:*:*) # From Paul.Green@stratus.com. echo hppa1.1-stratus-vos exit ;; mc68*:A/UX:*:*) echo m68k-apple-aux${UNAME_RELEASE} exit ;; news*:NEWS-OS:6*:*) echo mips-sony-newsos6 exit ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) if [ -d /usr/nec ]; then echo mips-nec-sysv${UNAME_RELEASE} else echo mips-unknown-sysv${UNAME_RELEASE} fi exit ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. echo powerpc-be-beos exit ;; BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. echo powerpc-apple-beos exit ;; BePC:BeOS:*:*) # BeOS running on Intel PC compatible. echo i586-pc-beos exit ;; BePC:Haiku:*:*) # Haiku running on Intel PC compatible. echo i586-pc-haiku exit ;; x86_64:Haiku:*:*) echo x86_64-unknown-haiku exit ;; SX-4:SUPER-UX:*:*) echo sx4-nec-superux${UNAME_RELEASE} exit ;; SX-5:SUPER-UX:*:*) echo sx5-nec-superux${UNAME_RELEASE} exit ;; SX-6:SUPER-UX:*:*) echo sx6-nec-superux${UNAME_RELEASE} exit ;; SX-7:SUPER-UX:*:*) echo sx7-nec-superux${UNAME_RELEASE} exit ;; SX-8:SUPER-UX:*:*) echo sx8-nec-superux${UNAME_RELEASE} exit ;; SX-8R:SUPER-UX:*:*) echo sx8r-nec-superux${UNAME_RELEASE} exit ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} exit ;; *:Rhapsody:*:*) echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} exit ;; *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown case $UNAME_PROCESSOR in i386) eval $set_cc_for_build if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then UNAME_PROCESSOR="x86_64" fi fi ;; unknown) UNAME_PROCESSOR=powerpc ;; esac echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} exit ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) UNAME_PROCESSOR=`uname -p` if test "$UNAME_PROCESSOR" = "x86"; then UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} exit ;; *:QNX:*:4*) echo i386-pc-qnx exit ;; NEO-?:NONSTOP_KERNEL:*:*) echo neo-tandem-nsk${UNAME_RELEASE} exit ;; NSE-*:NONSTOP_KERNEL:*:*) echo nse-tandem-nsk${UNAME_RELEASE} exit ;; NSR-?:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk${UNAME_RELEASE} exit ;; *:NonStop-UX:*:*) echo mips-compaq-nonstopux exit ;; BS2000:POSIX*:*:*) echo bs2000-siemens-sysv exit ;; DS/*:UNIX_System_V:*:*) echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} exit ;; *:Plan9:*:*) # "uname -m" is not consistent, so use $cputype instead. 386 # is converted to i386 for consistency with other x86 # operating systems. if test "$cputype" = "386"; then UNAME_MACHINE=i386 else UNAME_MACHINE="$cputype" fi echo ${UNAME_MACHINE}-unknown-plan9 exit ;; *:TOPS-10:*:*) echo pdp10-unknown-tops10 exit ;; *:TENEX:*:*) echo pdp10-unknown-tenex exit ;; KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) echo pdp10-dec-tops20 exit ;; XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) echo pdp10-xkl-tops20 exit ;; *:TOPS-20:*:*) echo pdp10-unknown-tops20 exit ;; *:ITS:*:*) echo pdp10-unknown-its exit ;; SEI:*:*:SEIUX) echo mips-sei-seiux${UNAME_RELEASE} exit ;; *:DragonFly:*:*) echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit ;; *:*VMS:*:*) UNAME_MACHINE=`(uname -p) 2>/dev/null` case "${UNAME_MACHINE}" in A*) echo alpha-dec-vms ; exit ;; I*) echo ia64-dec-vms ; exit ;; V*) echo vax-dec-vms ; exit ;; esac ;; *:XENIX:*:SysV) echo i386-pc-xenix exit ;; i*86:skyos:*:*) echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' exit ;; i*86:rdos:*:*) echo ${UNAME_MACHINE}-pc-rdos exit ;; i*86:AROS:*:*) echo ${UNAME_MACHINE}-pc-aros exit ;; x86_64:VMkernel:*:*) echo ${UNAME_MACHINE}-unknown-esx exit ;; esac eval $set_cc_for_build cat >$dummy.c < # include #endif main () { #if defined (sony) #if defined (MIPSEB) /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, I don't know.... */ printf ("mips-sony-bsd\n"); exit (0); #else #include printf ("m68k-sony-newsos%s\n", #ifdef NEWSOS4 "4" #else "" #endif ); exit (0); #endif #endif #if defined (__arm) && defined (__acorn) && defined (__unix) printf ("arm-acorn-riscix\n"); exit (0); #endif #if defined (hp300) && !defined (hpux) printf ("m68k-hp-bsd\n"); exit (0); #endif #if defined (NeXT) #if !defined (__ARCHITECTURE__) #define __ARCHITECTURE__ "m68k" #endif int version; version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; if (version < 4) printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); else printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); exit (0); #endif #if defined (MULTIMAX) || defined (n16) #if defined (UMAXV) printf ("ns32k-encore-sysv\n"); exit (0); #else #if defined (CMU) printf ("ns32k-encore-mach\n"); exit (0); #else printf ("ns32k-encore-bsd\n"); exit (0); #endif #endif #endif #if defined (__386BSD__) printf ("i386-pc-bsd\n"); exit (0); #endif #if defined (sequent) #if defined (i386) printf ("i386-sequent-dynix\n"); exit (0); #endif #if defined (ns32000) printf ("ns32k-sequent-dynix\n"); exit (0); #endif #endif #if defined (_SEQUENT_) struct utsname un; uname(&un); if (strncmp(un.version, "V2", 2) == 0) { printf ("i386-sequent-ptx2\n"); exit (0); } if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ printf ("i386-sequent-ptx1\n"); exit (0); } printf ("i386-sequent-ptx\n"); exit (0); #endif #if defined (vax) # if !defined (ultrix) # include # if defined (BSD) # if BSD == 43 printf ("vax-dec-bsd4.3\n"); exit (0); # else # if BSD == 199006 printf ("vax-dec-bsd4.3reno\n"); exit (0); # else printf ("vax-dec-bsd\n"); exit (0); # endif # endif # else printf ("vax-dec-bsd\n"); exit (0); # endif # else printf ("vax-dec-ultrix\n"); exit (0); # endif #endif #if defined (alliant) && defined (i860) printf ("i860-alliant-bsd\n"); exit (0); #endif exit (1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } # Apollos put the system type in the environment. test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } # Convex versions that predate uname can use getsysinfo(1) if [ -x /usr/convex/getsysinfo ] then case `getsysinfo -f cpu_type` in c1*) echo c1-convex-bsd exit ;; c2*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; c34*) echo c34-convex-bsd exit ;; c38*) echo c38-convex-bsd exit ;; c4*) echo c4-convex-bsd exit ;; esac fi cat >&2 < in order to provide the needed information to handle your system. config.guess timestamp = $timestamp uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` /bin/uname -X = `(/bin/uname -X) 2>/dev/null` hostinfo = `(hostinfo) 2>/dev/null` /bin/universe = `(/bin/universe) 2>/dev/null` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` /bin/arch = `(/bin/arch) 2>/dev/null` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` UNAME_MACHINE = ${UNAME_MACHINE} UNAME_RELEASE = ${UNAME_RELEASE} UNAME_SYSTEM = ${UNAME_SYSTEM} UNAME_VERSION = ${UNAME_VERSION} EOF exit 1 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: idjc-0.8.9/idjc.in.in0000644000175000017500000000224612142720544011235 00000000000000#! @PYTHON@ """idjc(.in.in): Application launcher of IDJC""" # Copyright (C) 2011-2013 Stephen Fairchild (s-fairchild@users.sourceforge.net) # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in the file entitled COPYING. # If not, see . import locale locale.setlocale(locale.LC_ALL, "") import sys sys.path.insert(0, """@pythondir@""") try: import idjc except ImportError: print "failed to import the idjc module" print "python interpreter version is %s, installation went to %s" % ( sys.version[:3], """@PYTHON_VERSION@""") else: exit(idjc.main()) idjc-0.8.9/artwork/0000755000175000017500000000000012142736727011146 500000000000000idjc-0.8.9/artwork/volume2.png0000644000175000017500000000032711440027455013156 00000000000000PNG  IHDR bKGD pHYs  tIMEhdIDAT8ӻ P^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r'7ζjcme~w _^#۴\h'. ƮPr< 0ږJZ0U[Eu2dTd06jpm 72 YWvyY|2 ǟM̱FPVgHֺwk2n%&@~ ` ]]vfo Y`\rxcl=UWr1M 2X. ѧ74d5hcRmddF@FN;qd{db ;2h]?u8dQ IENDB`idjc-0.8.9/artwork/play2.png0000644000175000017500000000075611440027455012622 00000000000000PNG  IHDRddpTbKGD pHYs  tIME cd{IDATxݻu1 EAζի0;qȩ/y%p~<_|>%7(((((((((((((((((f4F#@6H0GL2 ='LQ2ZƂ 345 ì¬mmZ;Hr$tKBXR}}b3ign@@lw$ݭo@@e|4xIENDB`idjc-0.8.9/artwork/mk2_cross.png0000644000175000017500000000070311440027455013465 00000000000000PNG  IHDRbKGDtIME4 g#pn%XPM3M M^eyj;S! i\pDGҒyWO=ϫܑ"n䆤}}jn-/nL'L$'(] cOZsDM2&f d,"훠ATI.iHfA5+!9Հ)=TgIhX9 fYוK0sD$57Ƙߌb ]=։=91:oq~;P,(y([kGrN0H^Zs`i}IENDB`idjc-0.8.9/artwork/jack2.png0000644000175000017500000001172311440027455012561 00000000000000PNG  IHDRd;bKGD pHYs  tIME*<`IDATx]o\]jcIZ  ~!BVHUBK+P@}-I+ZJL@8HDq\r̜={{3xfVdf$}kod}E[ k?ARCŘ&.Y]F4MLMM|\.A"(L&˲fBnܸAvzoH uEjYr,˂<Z mhl"ɀVd`& @V4M)VUUQQ9&(, |I,zꩧhx'p4M癦 M@pFFR UUa<,FGG (򭕵\\.cvvN(@TBTB>ض;w\.Z<躎|>RJ%~ReK.Qp-l޼ϟ4fffe PTP8a0x/hY7$fHJʀ!֭[ÇcvvsssxwpaPJ9:\y.eA4AzΙ*nYb]|u4 h\.B18i\~ld0P,Q*P(`&Ecrd@Y.\@]ER(, B\iGytz-`tts.f6:0~0NLMMQqPA)i( |}uEر333ᅬ'|BP4&,i=7ޠjBUU `xxbqeܹsZ 6m}J)&''177RAh|^y{CCCظq#<!p]z fH6l؀ׯ_۷ocB#MHL rzQl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Axd1L r+KV[sto~A%,YzܲlS.IENDB`idjc-0.8.9/artwork/mic_unshown.png0000644000175000017500000000525411561610270014117 00000000000000PNG  IHDRE!fesRGBbKGD pHYs  tIME 1\!iTXtCommentCreated with The GIMPm IDAThCݚ{pT?}&M60$ B@uՊ:uZ>Ԫ!uZmnoѪAA@$K Ɇd7d޻j`O}{^ Eq A|[Qj5L*5JS8@`D1O, >܋Cq{~əIpC$v h֓Mg8=ƳT=ߊ6Xo,U)wsa2ЛGAC*H ~h=v _'ω\ӧxu}:뗴훅4@v _~6J|)17}Q2(= V UԮ~y 2MF|irE\!J*#xT[ҁཱྀ e"[&R{377( b}o ˄J^86>V7:'W<gl!o](i;"  % g.4u}6hMW|;27xObb6KɲZdxά%dY l! 4T,pe1y]T[Qo[OuH&6#cQf0Uјv` I- vᩊOG!%B0ӅAf쵈)!B) MԄsX:aMxb3;o҃hz"l4ś̩Og8P3|n=;բ欃`-?wc2*3s+l'«X\9}ፒ)gII6P(`zn2?@x?W 5ߥqcB+<׌Mw6gt8j8[xqSrk_Z'T*,4ugnsni*/p z#li ? <9(I+y*X(O&GoaR!8Xa#v"w9HAg:o2Bاxy$G]dh MJ:7߁PDp 3V%J !Eam8''PBxBG P%/oKK*65↖9Ȏ5ʇ0U@BHi:H<.?2 ,#S!0 AK1M!.%~E-%F5WoO)4)Rly5Ji"+GRj TzH-1aD> N1Qїa`;P'%z]gB牗ׅ/U+yays\z`Z:FRLJ^J]UtF A$p`T#nvt8chE2΢Q62{7b,|&29i앒@γq~ig}yVV`tWPpT{ 'z$^$8ݲ D{-&%cvB+b\j%zCd8p)}"LFFJ6*[z?eIie3ȱ1ZE?+;)>/qtq'ۏZ #h \= t 8y4@@Uu8NYq*"kQnHʱt.eJben%`3@ VX"t5By3@IJJI4ܖH7%^=ˎ70a`2kjL*/ T tbFElX.IENDB`idjc-0.8.9/artwork/Makefile.in0000644000175000017500000004076212142730017013126 00000000000000# Makefile.in generated by automake 1.12.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2012 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__make_dryrun = \ { \ am__dry=no; \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ *) \ for am__flg in $$MAKEFLAGS; do \ case $$am__flg in \ *=*|--*) ;; \ *n*) am__dry=yes; break;; \ esac; \ done;; \ esac; \ test $$am__dry = yes; \ } pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = artwork DIST_COMMON = $(dist_pkgdata_DATA) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(pixmapsdir)" DATA = $(dist_pkgdata_DATA) $(nodist_pixmaps_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ COPYRIGHT_YEAR = @COPYRIGHT_YEAR@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ DYN_LAME = @DYN_LAME@ DYN_LDFLAGS = @DYN_LDFLAGS@ DYN_LIBS = @DYN_LIBS@ DYN_MPG123 = @DYN_MPG123@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ EXT = @EXT@ FGREP = @FGREP@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ HAVE_AVCODEC = @HAVE_AVCODEC@ HAVE_AVFORMAT = @HAVE_AVFORMAT@ HAVE_AVUTIL = @HAVE_AVUTIL@ HAVE_FLAC = @HAVE_FLAC@ HAVE_OGGFLAC = @HAVE_OGGFLAC@ HAVE_OPUS = @HAVE_OPUS@ HAVE_SPEEX = @HAVE_SPEEX@ HAVE_TWOLAME = @HAVE_TWOLAME@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBAVCODEC_CFLAGS = @LIBAVCODEC_CFLAGS@ LIBAVCODEC_LIBS = @LIBAVCODEC_LIBS@ LIBAVFORMAT_CFLAGS = @LIBAVFORMAT_CFLAGS@ LIBAVFORMAT_LIBS = @LIBAVFORMAT_LIBS@ LIBAVUTIL_CFLAGS = @LIBAVUTIL_CFLAGS@ LIBAVUTIL_LIBS = @LIBAVUTIL_LIBS@ LIBFLAC_CFLAGS = @LIBFLAC_CFLAGS@ LIBFLAC_LIBS = @LIBFLAC_LIBS@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBJACK_CFLAGS = @LIBJACK_CFLAGS@ LIBJACK_LIBS = @LIBJACK_LIBS@ LIBM = @LIBM@ LIBMP3LAME = @LIBMP3LAME@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSAMPLERATE_CFLAGS = @LIBSAMPLERATE_CFLAGS@ LIBSAMPLERATE_LIBS = @LIBSAMPLERATE_LIBS@ LIBSNDFILE_CFLAGS = @LIBSNDFILE_CFLAGS@ LIBSNDFILE_LIBS = @LIBSNDFILE_LIBS@ LIBSPEEX_CFLAGS = @LIBSPEEX_CFLAGS@ LIBSPEEX_LIBS = @LIBSPEEX_LIBS@ LIBTOOL = @LIBTOOL@ LIBVORBISENC_CFLAGS = @LIBVORBISENC_CFLAGS@ LIBVORBISENC_LIBS = @LIBVORBISENC_LIBS@ LIBVORBIS_CFLAGS = @LIBVORBIS_CFLAGS@ LIBVORBIS_LIBS = @LIBVORBIS_LIBS@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MPG123 = @MPG123@ MPG123_CFLAGS = @MPG123_CFLAGS@ MPG123_LIBS = @MPG123_LIBS@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OPUS_CFLAGS = @OPUS_CFLAGS@ OPUS_LIBS = @OPUS_LIBS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ PYGTK_CFLAGS = @PYGTK_CFLAGS@ PYGTK_LIBS = @PYGTK_LIBS@ PYTHON = @PYTHON@ PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ PYTHON_PLATFORM = @PYTHON_PLATFORM@ PYTHON_PREFIX = @PYTHON_PREFIX@ PYTHON_VERSION = @PYTHON_VERSION@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SHOUTIDJC_CFLAGS = @SHOUTIDJC_CFLAGS@ SHOUTIDJC_LIBS = @SHOUTIDJC_LIBS@ STRIP = @STRIP@ TWOLAME_CFLAGS = @TWOLAME_CFLAGS@ TWOLAME_LIBS = @TWOLAME_LIBS@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ pkgpyexecdir = @pkgpyexecdir@ pkgpythondir = @pkgpythondir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ pyexecdir = @pyexecdir@ pythondir = @pythondir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ dist_pkgdata_DATA = add3.png advance.png control_c.png control_k.png control_n.png control_p.png greenphone.png interlude2.png jack2.png led_lit_amber_black_border_64x64.png led_lit_green_black_border_64x64.png led_lit_red_black_border_64x64.png led_unlit_clear_border_64x64.png next.png note.png pass.png pause.png pbphone.png play2.png play3.png prev.png rec.png redphone.png stop.png volume2.png logo.png icon.png speedicon.png crossout.png classic_cross.png mk2_cross.png listenerphones.png mic_on.png mic_off.png mic_unshown.png mic4.png pat3.png headroom.png repeat.png nodist_pixmaps_DATA = ${PACKAGE_NAME}.png pixmapsdir = ${prefix}/share/pixmaps all: all-am .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu artwork/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu artwork/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-dist_pkgdataDATA: $(dist_pkgdata_DATA) @$(NORMAL_INSTALL) @list='$(dist_pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(pkgdatadir)'"; \ $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgdatadir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgdatadir)" || exit $$?; \ done uninstall-dist_pkgdataDATA: @$(NORMAL_UNINSTALL) @list='$(dist_pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(pkgdatadir)'; $(am__uninstall_files_from_dir) install-nodist_pixmapsDATA: $(nodist_pixmaps_DATA) @$(NORMAL_INSTALL) @list='$(nodist_pixmaps_DATA)'; test -n "$(pixmapsdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(pixmapsdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(pixmapsdir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pixmapsdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(pixmapsdir)" || exit $$?; \ done uninstall-nodist_pixmapsDATA: @$(NORMAL_UNINSTALL) @list='$(nodist_pixmaps_DATA)'; test -n "$(pixmapsdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(pixmapsdir)'; $(am__uninstall_files_from_dir) tags: TAGS TAGS: ctags: CTAGS CTAGS: cscope cscopelist: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: for dir in "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(pixmapsdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool clean-local mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dist_pkgdataDATA install-nodist_pixmapsDATA install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-dist_pkgdataDATA uninstall-nodist_pixmapsDATA .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ clean-local distclean distclean-generic distclean-libtool \ distdir dvi dvi-am html html-am info info-am install \ install-am install-data install-data-am \ install-dist_pkgdataDATA install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man \ install-nodist_pixmapsDATA install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \ uninstall-dist_pkgdataDATA uninstall-nodist_pixmapsDATA ${PACKAGE_NAME}.png: icon.png @cp $? $@ clean-local: rm -f ${PACKAGE_NAME}.png # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: idjc-0.8.9/artwork/listenerphones.png0000644000175000017500000000155211440027455014630 00000000000000PNG  IHDR* dX=sRGBbKGD pHYs  tIME $tEXtCommentCreated with GIMPWIDATXKHTar'C!̙ AHD`YX"A`-)UX{(U2pЃ @ݤIyj"bL3S΄=~;\X*W",3uUZP\TZ/)]l\h3पK*"u bSq9l@8b#Тϗ TD̓qU}Wdlm@ 8% pݪx9nപ^ɶޝcn,$ @,"+{ݵiGDqXUog ͳ Uq *"~R'sUkZ )ģgm<焍-n>JQZ>{ Z?ũ7Mpj~-MVZӚ,Q7jjj#0T__? *t_ٚ9gt]8UeQrPSSz`w**[L&ڑL&bq&ºI+~١r}o˫x< cccmP(Wv 5_DG"[y¤l>Zx0v𨲲2<77ӽhW"@ T8Чl:ep8ܙJ<p^ZJIm/IENDB`idjc-0.8.9/artwork/play3.png0000644000175000017500000000076311440027455012621 00000000000000PNG  IHDRddpTbKGD pHYs  tIME4󹰅IDATxݻu1 EA65e؉GN} +C>_O>!7(((((((((((((((((f4F#@6H0GL2 9'LQ2ZƂ 345 ì¬imZ;Hr$tKBXR}}b3ign@@lw$ݭo@@e|^hUIENDB`idjc-0.8.9/artwork/add3.png0000644000175000017500000000073411440027455012402 00000000000000PNG  IHDRddpTbKGD pHYs  tIME:MiIDATxA0@2L`0yCGaᲮm a r1J !őm[%Q7uk#_SB3D!f5u-,1CZAHb[Dž%fH: QBqXJҪD!m /uϩB3d:i%9#+u8C7rwr;yH" @!e7UvA QG]!*QHM_BQOJRfD V:QBo QG~!*QHMD!"D% I )jB:W D% #;,!$WҭP!*QHaA !s!* u&;@! Bi,8IENDB`idjc-0.8.9/artwork/led_lit_red_black_border_64x64.png0000644000175000017500000000632511440027455017403 00000000000000PNG  IHDR@@iqbKGD pHYsaa?itIME+htEXtCommentCreated with The GIMPd%n 9IDATx[]lWǻon$KjuېBI_.qxiA" x HP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HDR5~bKGD pHYs  tIME!IYIDAT8R9 a:ƳRF*)L20yeFTU95&_5-jy19pEKZq“< ҳ2 IENDB`idjc-0.8.9/artwork/headroom.png0000644000175000017500000000037112113174301013351 00000000000000PNG  IHDR-sRGBbKGD"y pHYs  tIME 6*U7iTXtCommentCreated with GIMPd.eTIDAT(c@`b`2Ft#3RR[L;8ӄ3YncD2vcDXlbU!rL0b*"2N@ҚIENDB`idjc-0.8.9/artwork/led_lit_green_black_border_64x64.png0000644000175000017500000000642111440027455017726 00000000000000PNG  IHDR@@iqbKGD pHYsaa?itIME. )tEXtCommentCreated with The GIMPd%n uIDATx[]Wgmgn7iv[mh /& /-PTCSUBT<>A<O%)@H-OTjv)6̈́:fͺx~.s̙뙱ws5؞;9sh[:mۧgv!p@-pi۶?2Hm2m{ja8a)ۨͰ]p4>j; ɭE8uXZ3;΀VU&OظsOv\E m?#H7 ts_pouOB 8@VL1۶׷ * `T-FpݻS4fpZFB N?48Հ8 h)?c+X Z͏DC &ۍ 4ӄkk[AжO{ K!u&6@$@T,oշߖe>玞7"HFkдd5k1S8`z _~v$p84r{|0+k`B`f@5]6~AAI A= {-9= T]8ݳ3mGF$c@(B0""2D}.VqL3/(/_H7סc0YM=%R Q3feOtpl? 2Q=^(^Bu)0``1SɦAb giig^٫hi˲.83 r/E6OO05mHpҰ%R f??PDCb]e,RqN`Y<;=xKO- {zI{D,$ ]3dwT4Mh:zUTW1<* TDhυ'&%PF9>tN7ÙbŒta8?<ɀVuu+zDy3M}4 _P2`Ґ )5!՞b ]^(-:8βʀ' =+`K+Xj2w$+$a-Oj\ /C@IJ,XA@؀r n B)}־M}GZ.+mv6MߏC,ҡsPH§?FpS־]mqA"  |ƒA|!L1;(:hA4 b L]-0O MxV?s8C$ͫ1J$*`v ?w|&zzo9rX߷>+im^DLJ/fC~ #HĂAA}B3l!OT5"4I.0>iJ1PJ:tOݛ'I*3S; @5 Ғӝajea@e~>!-@p|"?jf uR:yy=7WGpPJD2-5OKG3XU^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pQ `\Ep `i=(R$QBN!:;WMo~ӷ%w$ʹ+HQ [F`̷6`43tBCaaXp8,Ά=N䦲z yo=].ٸ֋>VkrG&ܫf!-8CQf@@ Ag[p:;uWAnBjM*U^jST:*fN3wЩrTKPp('܉gQN[vEwwe>$#}-N`(C-6C/۟[s繠DMK_ɓE%|Vյ"XO򋪨;aPV;_=|_,M7 տl$.{ûd̵2f2YJ^bLQUX7FKJP00tIENDB`idjc-0.8.9/artwork/pat3.png0000644000175000017500000000111111561610270012421 00000000000000PNG  IHDRbKGDIDATH哿kA8ۙ7{{6P`@,1  APANlCP%*F%'GB!Kmf>>ɛQ$I$0Ɯ')$qPɏ$Z{X îR1䘠{ x`a>\n3sGzƘ${GNgZZ{ {Rzq@XnZJ%?ӻT[ϐ\ZF 9?&!yp߼Jr+ -h4vqq۷f[k/Z^ko>0-E_e=]ֳ8&"]$"g 8$"p?;+[ iQՌZ4MV)l$Ij )}j,\YZ97`BJ#295 $i;`'βs{shYJ"9ZWQ76:nU~ԂJbIENDB`idjc-0.8.9/artwork/crossout.png0000644000175000017500000000103711440027455013445 00000000000000PNG  IHDR((mbKGD3'| pHYs  tIME mKtEXtCommentCreated with The GIMPd%nIDATX헽n0D'`D:VE %6J"bS*3EͽobHJJJJ:[5/$k0˕Zc)7>cc*Rba 0Nlܲ$J(lE 2Ԫ[@&h~pA/{Fpz< \[n@ap:/,8;yHv> X7H#@.bKNlLEWsn0 9go|oU8SWhǃ,^x Y~(P%@I?! (W]í[DoiDž>GBN%R(ń@P DХƕ+ڧ>N~Zb͛$D(h!r"r:AJ "R nEQ=n " ;6ߧ(98D(@D0Z )z1B@9&r(P8ZO|~I`49k4юۭx1 AEȲ A8=uD}ZkY7׶·cye^i( 'fiq^yAkN5$AN~^GGGֺ>|G$hb &>1 J|W$_Rfxv Tc q҉))4ϢW@_?[?bdQk&y4i uF\EʲDQQA)4M!D "cWPJ!I:#,`8R X+j^JI|KcßT$IgYn&˲DYzAQ s}o(G#a^w $ h_J(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ŒHלp2184F_>HWͶfu+ccp 18V![lX28cp cp 1818GL6 oYnUSYs8#dp:Yf 'fI 9)$y.c1Sc1kj(~siSLNOӶbϘf8ok+7s /69S+{|ÂZT>)@xqk.P,e71EIENDB`idjc-0.8.9/artwork/pbphone.png0000644000175000017500000000171211440027455013217 00000000000000PNG  IHDRdO`bKGD pHYs  tIMEBYWIDATx훿n1ǖ m((U(#6JgHDַYJwc{}e7A$>mvs#$b M`yrp熈( oBj DCO~^_}Pk 3 imOws4#\& fuM3Ib;qNл4z\,tC}k(oRҏ锾ftyp@K}n;=:d]OVy\ $mPoWJ>үɄ>%v3Թ~u8!6\=m4C Jj)yn 1C:mbhشO6f<ϪNaYTs|ܜUGYqj?=Oe.t23>y*BAR)\+' $6p Zvpm;ٴ*Z$6e}Bdk Fvǯ^TӚ^Ujs^76*҄.ʒ^'>ymȊ aZ[:*zwG Vػ[h\N1Ap M}OP}á #'"f> Ñ1yl mmS)@0]YQI®?c+.,-pS:1tC1vo(ʇ#H@v.ߡKqsĦɶ) Eem&kllI.0R ]Q@b,+R&0xI/T&\RjR) @ry&CW 646ccDpW  rȘr4|!o!@ ! @  @.rкIENDB`idjc-0.8.9/artwork/Makefile.am0000644000175000017500000000134312114637001013103 00000000000000dist_pkgdata_DATA = add3.png advance.png control_c.png control_k.png control_n.png control_p.png greenphone.png interlude2.png jack2.png led_lit_amber_black_border_64x64.png led_lit_green_black_border_64x64.png led_lit_red_black_border_64x64.png led_unlit_clear_border_64x64.png next.png note.png pass.png pause.png pbphone.png play2.png play3.png prev.png rec.png redphone.png stop.png volume2.png logo.png icon.png speedicon.png crossout.png classic_cross.png mk2_cross.png listenerphones.png mic_on.png mic_off.png mic_unshown.png mic4.png pat3.png headroom.png repeat.png nodist_pixmaps_DATA = ${PACKAGE_NAME}.png pixmapsdir = ${prefix}/share/pixmaps ${PACKAGE_NAME}.png: icon.png @cp $? $@ clean-local: rm -f ${PACKAGE_NAME}.png idjc-0.8.9/artwork/prev.png0000644000175000017500000000030411440027455012534 00000000000000PNG  IHDRH-bKGD pHYs  tIMEUrQIDAT(ϝA ߋsvפZ(v|F 3 ^E+CوWQSοVޢ0B-TIENDB`idjc-0.8.9/artwork/speedicon.png0000644000175000017500000000461411440027455013541 00000000000000PNG  IHDR=$ pHYs  tIME35UtEXtCommentCreated with The GIMPd%n IDATx]E۝$ $bBP!$&{UCkKD+Z55- `M1*j[V[jѶw0k<}vgvg}H)Fg=Zp")aS(Rmux:Ap/"^L}M ?hi.}?"^cjk4/}a>+Xr F!!ĝ+VmZzX91 ȅC/jOa8Xؾ|YizۛQ x 3Z8*k+8j!@ ]9AVz7sbd9Sxw|aWq3"rrNV,+zs>n=fy{✟4:vNVrΟXV.<"+ f5D|8AcD| D^[.+/Fą#[~?s~=!*-z.h;^vy>nDEщ B+KN3ƶ A4fw9\'^N'GD6kQ!چva˲ ++j_O Zrd0eٴR{Z5RJetG`TxTV>":uR*/#$/.)yjv.S9sNu mN1_ !8duf? !"ђU!>Ùkv, ~\\'o4ro=V9!W16iIEkP|Nw1690#"..xUm\Q߽~[?R}mfsmBVn^[[y&׉#97V!7VaUƨryͬ2_f? }B#&vi]jcd| |Z'l`%dC؍86NنTd0-LNn[^u)G86Dt:1Riӹ!IŞQ$GR˥;r4cRUaDoZ#쫘βl}[JsdGzU1ږϕRudq(mZ(0[xJ4MJ)blTi~6IսM<ٔRie[R+-qon;Y.qov1Wx,˲kN1d3{Rk֫-HY[[5lO6&JwK)O"[eh&)1[vݶYiv"e$$IʓM)EYImR_Yԥ,ѥN68Ph%fd⳦P+v{}YEydh&"TlDtVJ"[qn3}#XRC%Gkw$pw$blzv;*3,-e7ɲqRv$y'vZR mH.NlERN&#*Cu&zS[h $RJ_R y2rxZ7Hefd"[kLJ1JnғX7֩ąd5Q RJԔzU-ֺJ^6;li=+7Ud#ORˆydcN*k(7fSOr)&r Sbc,˲CY]^td3..upq N#F&radqnfSOפs0ջyAr!یoTgQ}܅Cdc.nDwaP&٘dhnw$ÅCecn"/FS.(M qf~!?x9eIENDB`idjc-0.8.9/artwork/control_n.png0000644000175000017500000000057411561610270013563 00000000000000PNG  IHDRa pHYsod.IDATxj@(6I.UH'} L@1TybHC;,hVfgs{9gaA(n$Im~,+K:R%hPenTM x p]A=M ߞ=:Cл? 0CM[@7GS5d$i?nELz0`YK,`B#A <&B몪m Ŭ(ƿ,F4Y\a@MaƮav纍D屟~#;oIENDB`idjc-0.8.9/artwork/stop.png0000644000175000017500000000021611440027455012547 00000000000000PNG  IHDRH-bKGD pHYs  tIMEm4FIDAT(c@`b j8T4~ҭj\IENDB`idjc-0.8.9/artwork/classic_cross.png0000644000175000017500000000126411440027455014420 00000000000000PNG  IHDRbKGDtIME2 gTVIDATHkAǿo7&5t3o'=6؋XPgzOыR^LIJMIݘ/ ,3~潙7Q."T~ gDHDjleYMyGDh7f%ɨd2yQD "2GDc&׽֧1E)Q:@HV-*AT*_2 |ҁFGGu*/"׉(ZxvJ<;uݫm/(1消?BDK|\(4MLR>9l68`jq=Z1f `) lyK)55(0"o( k*&{ؽEևt7Ҥ ^'a}J0gf\orbcMG-"f#"9i5_d(H8IENDB`idjc-0.8.9/artwork/control_p.png0000644000175000017500000000064311561610270013562 00000000000000PNG  IHDRa pHYsodUIDATxc`3JJJGFF\\\YXXځr|4 lٲO}}l!o'((x@|6(Q~IENDB`idjc-0.8.9/artwork/note.png0000644000175000017500000000060311440027455012527 00000000000000PNG  IHDRGHbKGD pHYs  tIME [IDATx 0 Pe.gKB <iRUz\dWF*psj7Xa봕 YrGC 8pG8pQp6"o@V>1#ʎ5Y&9q"%NPu(Hk(OҲokń$'Cjz}_GD!#kZ{P3dIINdzeFU#@YOr \oq^Y|DVIENDB`idjc-0.8.9/artwork/control_k.png0000644000175000017500000000047011561610270013553 00000000000000PNG  IHDRa pHYsodIDATx= 0'{zO x/ Y/vl=6;MG&`a^d Dyy0x2 cx&qGD"MS4MS{A dѓnfY,-t Bay;pSut& qm^@uq|P.uMӠeY8ϳ"/^#o%\ @)<ϵ(96 6ۑ^ض}nL_4{ +IENDB`